@tak-ps/cloudtak 13.101.0 → 13.102.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 { COTUpdate } from './cot/types.ts';
|
|
2
|
-
import type { Feature, Subscription } from '../types.ts';
|
|
2
|
+
import type { Feature, FeaturePropertyCreator, Subscription } from '../types.ts';
|
|
3
3
|
import type { BBox as GeoJSONBBox, Feature as GeoJSONFeature, Geometry as GeoJSONGeometry } from 'geojson';
|
|
4
4
|
export interface Origin {
|
|
5
5
|
mode: OriginMode;
|
|
@@ -81,6 +81,11 @@ export default class COT {
|
|
|
81
81
|
*/
|
|
82
82
|
save(): Promise<void>;
|
|
83
83
|
get is_skittle(): boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Author of the feature - the creator detail when present, otherwise
|
|
86
|
+
* derived from the `p-p` (parent-producer) link TAK clients attach
|
|
87
|
+
*/
|
|
88
|
+
get creator(): FeaturePropertyCreator | undefined;
|
|
84
89
|
get is_self(): boolean;
|
|
85
90
|
get is_route(): boolean;
|
|
86
91
|
get is_archivable(): boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { CoreEntityMission } from '../../../types.ts';
|
|
1
2
|
type __VLS_Props = {
|
|
2
|
-
/**
|
|
3
|
-
modelValue:
|
|
3
|
+
/** TAK Server Missions the Event is associated with */
|
|
4
|
+
modelValue: Array<CoreEntityMission>;
|
|
4
5
|
edit?: boolean;
|
|
5
6
|
/** Event name - becomes the name of a new Mission */
|
|
6
7
|
eventName?: string;
|
|
@@ -10,9 +11,15 @@ type __VLS_Props = {
|
|
|
10
11
|
channels?: Array<number>;
|
|
11
12
|
};
|
|
12
13
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
13
|
-
"update:modelValue": (value:
|
|
14
|
+
"update:modelValue": (value: {
|
|
15
|
+
name: string;
|
|
16
|
+
guid: string;
|
|
17
|
+
}[]) => any;
|
|
14
18
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
-
"onUpdate:modelValue"?: ((value:
|
|
19
|
+
"onUpdate:modelValue"?: ((value: {
|
|
20
|
+
name: string;
|
|
21
|
+
guid: string;
|
|
22
|
+
}[]) => any) | undefined;
|
|
16
23
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
24
|
declare const _default: typeof __VLS_export;
|
|
18
25
|
export default _default;
|
|
@@ -27,7 +27,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
27
27
|
url: string;
|
|
28
28
|
}[];
|
|
29
29
|
id: string;
|
|
30
|
-
|
|
30
|
+
missions: {
|
|
31
|
+
name: string;
|
|
32
|
+
guid: string;
|
|
33
|
+
}[];
|
|
31
34
|
created: string;
|
|
32
35
|
updated: string;
|
|
33
36
|
ended: null | string;
|
|
@@ -77,7 +80,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
77
80
|
url: string;
|
|
78
81
|
}[];
|
|
79
82
|
id: string;
|
|
80
|
-
|
|
83
|
+
missions: {
|
|
84
|
+
name: string;
|
|
85
|
+
guid: string;
|
|
86
|
+
}[];
|
|
81
87
|
created: string;
|
|
82
88
|
updated: string;
|
|
83
89
|
ended: null | string;
|
|
@@ -48,6 +48,7 @@ export type CoreEntity = paths["/api/core/event/{:event}"]["get"]["responses"]["
|
|
|
48
48
|
export type CoreEntityList = paths["/api/core/event"]["get"]["responses"]["200"]["content"]["application/json"];
|
|
49
49
|
export type CoreEntityLink = CoreEntity["links"][0];
|
|
50
50
|
export type CoreEntityStyle = CoreEntity["style"];
|
|
51
|
+
export type CoreEntityMission = CoreEntity["missions"][0];
|
|
51
52
|
export type CoreEntityBoardSummary = CoreEntity["boards"][0];
|
|
52
53
|
export type CoreEntityBoardColumnSummary = CoreEntityBoardSummary["columns"][0];
|
|
53
54
|
export type CoreEntityBoardList = paths["/api/board"]["get"]["responses"]["200"]["content"]["application/json"];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tak-ps/cloudtak",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "13.
|
|
4
|
+
"version": "13.102.0",
|
|
5
5
|
"types": "dist/types/plugin.d.ts",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist/types"
|
|
@@ -16,14 +16,15 @@
|
|
|
16
16
|
},
|
|
17
17
|
"scripts": {
|
|
18
18
|
"serve": "DEV=true vite serve --port 8080",
|
|
19
|
-
"typegen": "npm run typegen
|
|
19
|
+
"typegen": "npm run typegen --prefix ../api",
|
|
20
20
|
"check": "vue-tsc",
|
|
21
21
|
"build:types": "vue-tsc -p tsconfig.build.json",
|
|
22
22
|
"doc": "typedoc --options typedoc.json",
|
|
23
23
|
"build": "vite build",
|
|
24
24
|
"lint": "eslint --config eslint.config.js ./src/ ./public/ ./plugins/",
|
|
25
25
|
"test": "vitest run",
|
|
26
|
-
"coverage": "vitest run --coverage"
|
|
26
|
+
"coverage": "vitest run --coverage",
|
|
27
|
+
"postinstall": "patch-package"
|
|
27
28
|
},
|
|
28
29
|
"repository": {
|
|
29
30
|
"type": "git",
|
|
@@ -109,7 +110,9 @@
|
|
|
109
110
|
"yaml": "^2.8.2"
|
|
110
111
|
},
|
|
111
112
|
"devDependencies": {
|
|
113
|
+
"@capacitor/android": "^8.5.2",
|
|
112
114
|
"@capacitor/cli": "^8.3.1",
|
|
115
|
+
"@capacitor/ios": "^8.5.2",
|
|
113
116
|
"@eslint/js": "^10.0.0",
|
|
114
117
|
"@testing-library/vue": "^8.1.0",
|
|
115
118
|
"@types/mapbox__tile-cover": "^3.0.4",
|
|
@@ -126,13 +129,14 @@
|
|
|
126
129
|
"globals": "^17.3.0",
|
|
127
130
|
"happy-dom": "^20.0.0",
|
|
128
131
|
"jsdom": "^30.0.0",
|
|
132
|
+
"patch-package": "^8.0.1",
|
|
129
133
|
"sass-embedded": "^1.86.0",
|
|
130
134
|
"typedoc": "^0.28.1",
|
|
131
135
|
"typescript": "^6.0.0",
|
|
132
136
|
"typescript-eslint": "^8.20.0",
|
|
133
137
|
"vite": "^8.0.0",
|
|
134
138
|
"vitest": "^5.0.0",
|
|
135
|
-
"vue-tsc": "
|
|
139
|
+
"vue-tsc": "3.3.11"
|
|
136
140
|
},
|
|
137
141
|
"browserslist": [
|
|
138
142
|
"> 1%",
|