@tak-ps/cloudtak 12.106.1 → 12.108.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.
@@ -1,5 +1,5 @@
1
1
  import { type Subscription } from 'dexie';
2
- import type { paths } from '../derived-types.js';
2
+ import type { paths } from '@cloudtak/api-types';
3
3
  export type FullConfig = paths['/api/config']['get']['responses']['200']['content']['application/json'];
4
4
  export default class Config<K extends keyof FullConfig = keyof FullConfig> {
5
5
  key: K;
@@ -0,0 +1,14 @@
1
+ type __VLS_Props = {
2
+ modelValue?: string | null;
3
+ };
4
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ select: (value: string) => any;
6
+ "update:modelValue": (value: string) => any;
7
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
8
+ onSelect?: ((value: string) => any) | undefined;
9
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
10
+ }>, {
11
+ modelValue: string | null;
12
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
@@ -1,6 +1,6 @@
1
- declare var __VLS_23: {};
1
+ declare var __VLS_25: {};
2
2
  type __VLS_Slots = {} & {
3
- default?: (props: typeof __VLS_23) => any;
3
+ default?: (props: typeof __VLS_25) => any;
4
4
  };
5
5
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
6
  mode: {
@@ -1,4 +1,4 @@
1
- import type { paths } from './derived-types.js';
1
+ import type { paths } from '@cloudtak/api-types';
2
2
  import type { Router } from 'vue-router';
3
3
  export declare const server: import("openapi-fetch").Client<paths, `${string}/${string}`>;
4
4
  export declare function stdurl(url: string | URL): URL;
@@ -50,6 +50,7 @@ export declare const useMapStore: import("pinia").StoreDefinition<"cloudtak", {
50
50
  manualLocationMode: boolean;
51
51
  isMobileDetected: boolean;
52
52
  gpsWatchId: number | null;
53
+ tokenExpiry: number | null;
53
54
  toastOffset: {
54
55
  x: number;
55
56
  y: number;
@@ -3,7 +3,7 @@ import { TerraRoute } from 'terra-route';
3
3
  import { Routing } from 'terra-draw-route-snap-mode';
4
4
  import type { GeoJSONFeatureId } from 'maplibre-gl';
5
5
  import type COT from '../../base/cot.ts';
6
- import type { paths } from '../../derived-types.ts';
6
+ import type { paths } from '@cloudtak/api-types';
7
7
  type AugmentedBasemapResponse = paths['/api/basemap']['get']['responses']['200']['content']['application/json']['items'][0];
8
8
  import type { LineString, FeatureCollection as GeoJSONFeatureCollection } from 'geojson';
9
9
  import type { useMapStore } from '../map.ts';
@@ -1,4 +1,4 @@
1
- import type { paths } from './derived-types.js';
1
+ import type { paths } from '@cloudtak/api-types';
2
2
  import type { Origin } from './base/cot.ts';
3
3
  import type { Geometry } from 'geojson';
4
4
  export type APIError = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tak-ps/cloudtak",
3
3
  "type": "module",
4
- "version": "12.106.1",
4
+ "version": "12.108.0",
5
5
  "types": "dist/types/plugin.d.ts",
6
6
  "files": [
7
7
  "dist/types"
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "scripts": {
18
18
  "serve": "DEV=true vite serve --port 8080",
19
- "typegen": "openapi-typescript http://localhost:5001/api/swagger --output src/derived-types.d.ts",
19
+ "typegen": "npm run typegen -C ..",
20
20
  "check": "vue-tsc",
21
21
  "build:types": "vue-tsc -p tsconfig.build.json",
22
22
  "doc": "typedoc --options typedoc.json",
@@ -34,7 +34,7 @@
34
34
  "@tabler/core": "^1.4.0",
35
35
  "@tabler/icons-vue": "^3.0.0",
36
36
  "@tak-ps/node-cot": "^14.20.0",
37
- "@tak-ps/vue-tabler": "^4.8.0",
37
+ "@tak-ps/vue-tabler": "^4.10.0",
38
38
  "@turf/area": "^7.2.0",
39
39
  "@turf/bbox": "^7.1.0",
40
40
  "@turf/boolean-point-in-polygon": "^7.3.1",
@@ -98,7 +98,6 @@
98
98
  "globals": "^17.3.0",
99
99
  "happy-dom": "^20.0.0",
100
100
  "jsdom": "^29.0.0",
101
- "openapi-typescript": "^7.0.0",
102
101
  "sass-embedded": "^1.86.0",
103
102
  "typedoc": "^0.28.1",
104
103
  "typescript": "^5.7.0",