Some ignored filles was missing
This commit is contained in:
parent
7db22245e2
commit
fd5ab6bc0d
268 changed files with 31970 additions and 4 deletions
29
wwwroot/js/utils/URLManager.d.ts
vendored
Normal file
29
wwwroot/js/utils/URLManager.d.ts
vendored
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
import { IEventBus } from '../types/CalendarTypes';
|
||||
/**
|
||||
* URLManager handles URL query parameter parsing and deep linking functionality
|
||||
* Follows event-driven architecture with no global state
|
||||
*/
|
||||
export declare class URLManager {
|
||||
private eventBus;
|
||||
constructor(eventBus: IEventBus);
|
||||
/**
|
||||
* Parse eventId from URL query parameters
|
||||
* @returns eventId string or null if not found
|
||||
*/
|
||||
parseEventIdFromURL(): string | null;
|
||||
/**
|
||||
* Get all query parameters as an object
|
||||
* @returns object with all query parameters
|
||||
*/
|
||||
getAllQueryParams(): Record<string, string>;
|
||||
/**
|
||||
* Update URL without page reload (for future use)
|
||||
* @param params object with parameters to update
|
||||
*/
|
||||
updateURL(params: Record<string, string | null>): void;
|
||||
/**
|
||||
* Check if current URL has any query parameters
|
||||
* @returns true if URL has query parameters
|
||||
*/
|
||||
hasQueryParams(): boolean;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue