@tak-ps/cloudtak 13.65.2 → 13.66.0
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.
|
@@ -3,8 +3,7 @@ import type { DevicePermissionContext } from './types.ts';
|
|
|
3
3
|
export declare class GeolocationPermission {
|
|
4
4
|
private readonly context;
|
|
5
5
|
constructor(context: DevicePermissionContext);
|
|
6
|
-
private
|
|
7
|
-
private backgroundWatchActive;
|
|
6
|
+
private watchActive;
|
|
8
7
|
private locationCallback;
|
|
9
8
|
static supportsLocationRequests(): boolean;
|
|
10
9
|
refreshStatus(): Promise<void>;
|
|
@@ -12,7 +11,6 @@ export declare class GeolocationPermission {
|
|
|
12
11
|
initializeSubscription(onGranted?: () => void): Promise<void>;
|
|
13
12
|
startWatch(onLocation: (position: Position) => void): Promise<void>;
|
|
14
13
|
stopWatch(): Promise<void>;
|
|
15
|
-
private startForegroundWatch;
|
|
16
14
|
private startBackgroundWatch;
|
|
17
15
|
private static backgroundLocationToPosition;
|
|
18
16
|
}
|
|
@@ -31,6 +31,7 @@ export declare const useMapStore: import("pinia").StoreDefinition<"cloudtak", {
|
|
|
31
31
|
_cotResync?: Promise<void>;
|
|
32
32
|
_removeBackgroundStateListener?: () => void;
|
|
33
33
|
_removePushTokenListener?: () => void;
|
|
34
|
+
_lastLocationHttpSubmit?: number;
|
|
34
35
|
channel: BroadcastChannel;
|
|
35
36
|
toImport: Feature[];
|
|
36
37
|
locked: Array<string>;
|
|
@@ -201,6 +201,8 @@ export type ETLRawTaskList = {
|
|
|
201
201
|
items: Record<string, string[]>;
|
|
202
202
|
};
|
|
203
203
|
export type ETLTaskVersions = paths["/api/task/raw/{:task}"]["get"]["responses"]["200"]["content"]["application/json"];
|
|
204
|
+
export type ETLTaskVersion = paths["/api/task/raw/{:task}/version/{:version}"]["get"]["responses"]["200"]["content"]["application/json"];
|
|
205
|
+
export type ETLTaskCapabilities = Exclude<ETLTaskVersion["capabilities"], null>;
|
|
204
206
|
export type AdminLayerUpdate = {
|
|
205
207
|
id: number;
|
|
206
208
|
name: string;
|