@tak-ps/cloudtak 12.107.0 → 12.109.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;
@@ -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;
@@ -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.107.0",
4
+ "version": "12.109.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",
@@ -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",
@@ -111,4 +110,4 @@
111
110
  "> 1%",
112
111
  "last 2 versions"
113
112
  ]
114
- }
113
+ }