@microcosmmoney/auth-react 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
export interface QueueListItem {
|
|
2
|
+
position: number;
|
|
3
|
+
display_name: string;
|
|
4
|
+
status: string;
|
|
5
|
+
joined_at: string;
|
|
6
|
+
is_me: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface TerritoryQueueData {
|
|
9
|
+
in_queue: boolean;
|
|
10
|
+
is_onboarded: boolean;
|
|
11
|
+
territory_id: string | null;
|
|
12
|
+
station_name: string | null;
|
|
13
|
+
user_type: string;
|
|
14
|
+
user_rank: number;
|
|
15
|
+
position?: number;
|
|
16
|
+
total_in_queue: number;
|
|
17
|
+
queue_list: QueueListItem[];
|
|
18
|
+
status?: string;
|
|
19
|
+
joined_at?: string;
|
|
20
|
+
}
|
|
1
21
|
export declare function useTerritoryQueue(options?: {
|
|
2
22
|
refetchInterval?: number;
|
|
3
|
-
}): import("./use-api-query").UseApiQueryResult<
|
|
23
|
+
}): import("./use-api-query").UseApiQueryResult<TerritoryQueueData>;
|
package/dist/index.d.ts
CHANGED
|
@@ -69,6 +69,7 @@ export { useStationQueue } from './hooks/use-station-queue';
|
|
|
69
69
|
export { useTerritoryJoin } from './hooks/use-territory-join';
|
|
70
70
|
export { useTerritoryLeave } from './hooks/use-territory-leave';
|
|
71
71
|
export { useTerritoryQueue } from './hooks/use-territory-queue';
|
|
72
|
+
export type { TerritoryQueueData, QueueListItem } from './hooks/use-territory-queue';
|
|
72
73
|
export { useTechTreeAction } from './hooks/use-tech-tree-action';
|
|
73
74
|
export { useTechTreeConfig } from './hooks/use-tech-tree-config';
|
|
74
75
|
export { useTechTreeBonus } from './hooks/use-tech-tree-bonus';
|