@tak-ps/cloudtak 13.46.0 → 13.47.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.
- package/dist/types/src/base/subscription.d.ts +5 -1
- package/dist/types/src/components/CloudTAK/Menu/Basemaps/EditModal.vue.d.ts +1 -0
- package/dist/types/src/components/CloudTAK/util/Contact.vue.d.ts +3 -1
- package/dist/types/src/components/CloudTAK/util/InlineExpiration.vue.d.ts +1 -1
- package/dist/types/src/components/CloudTAK/util/InlineKeywords.vue.d.ts +1 -1
- package/dist/types/src/types.d.ts +1 -0
- package/package.json +3 -3
|
@@ -4,7 +4,7 @@ import SubscriptionContents from './subscription-contents.ts';
|
|
|
4
4
|
import SubscriptionFeature from './subscription-feature.ts';
|
|
5
5
|
import SubscriptionLayer from './subscription-layer.ts';
|
|
6
6
|
import SubscriptionChat from './subscription-chat.ts';
|
|
7
|
-
import type { Mission, MissionRole, MissionList, MissionSubscriptions, MissionInvite } from '../types.ts';
|
|
7
|
+
import type { Mission, MissionRole, MissionRoleType, MissionList, MissionSubscriptions, MissionInvite } from '../types.ts';
|
|
8
8
|
export declare enum SubscriptionEventType {
|
|
9
9
|
CREATE = "subscription::create",
|
|
10
10
|
UPDATE = "subscription::update",
|
|
@@ -99,6 +99,10 @@ export default class Subscription {
|
|
|
99
99
|
}): Promise<MissionList>;
|
|
100
100
|
static headers(token?: string): Record<string, string>;
|
|
101
101
|
invite(invitee: string, role?: string): Promise<void>;
|
|
102
|
+
changeRole(sub: {
|
|
103
|
+
clientUid: string;
|
|
104
|
+
username: string;
|
|
105
|
+
}, role: MissionRoleType): Promise<void>;
|
|
102
106
|
invites(): Promise<MissionInvite[]>;
|
|
103
107
|
deleteInvite(invite: {
|
|
104
108
|
type: string;
|
|
@@ -11,6 +11,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
11
11
|
id: number;
|
|
12
12
|
created: string;
|
|
13
13
|
updated: string;
|
|
14
|
+
parent: null | number;
|
|
14
15
|
name: string;
|
|
15
16
|
url: string;
|
|
16
17
|
protocol: "zxy" | "mapserver" | "imageserver" | "featureserver" | "hosted";
|
|
@@ -7,9 +7,11 @@ type __VLS_Props = {
|
|
|
7
7
|
hover?: boolean;
|
|
8
8
|
compact?: boolean;
|
|
9
9
|
};
|
|
10
|
-
declare var __VLS_27: {};
|
|
10
|
+
declare var __VLS_27: {}, __VLS_29: {};
|
|
11
11
|
type __VLS_Slots = {} & {
|
|
12
12
|
actions?: (props: typeof __VLS_27) => any;
|
|
13
|
+
} & {
|
|
14
|
+
expanded?: (props: typeof __VLS_29) => any;
|
|
13
15
|
};
|
|
14
16
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
17
|
chat: (contact: {
|
|
@@ -44,8 +44,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
44
44
|
background: string;
|
|
45
45
|
shadow: boolean;
|
|
46
46
|
fillHeight: boolean;
|
|
47
|
-
interactive: boolean;
|
|
48
47
|
editable: boolean;
|
|
48
|
+
interactive: boolean;
|
|
49
49
|
editTitle: string;
|
|
50
50
|
containerClass: string;
|
|
51
51
|
borderClass: string;
|
|
@@ -36,8 +36,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
36
36
|
background: string;
|
|
37
37
|
shadow: boolean;
|
|
38
38
|
fillHeight: boolean;
|
|
39
|
-
tone: "muted" | "accent";
|
|
40
39
|
editable: boolean;
|
|
40
|
+
tone: "muted" | "accent";
|
|
41
41
|
editTitle: string;
|
|
42
42
|
containerClass: string;
|
|
43
43
|
borderClass: string;
|
|
@@ -40,6 +40,7 @@ export type Mission_Create = paths["/api/marti/mission"]["post"]["requestBody"][
|
|
|
40
40
|
export type MissionList = paths["/api/marti/mission"]["get"]["responses"]["200"]["content"]["application/json"];
|
|
41
41
|
export type MissionInvite = paths["/api/marti/mission"]["get"]["responses"]["200"]["content"]["application/json"]["invites"][0];
|
|
42
42
|
export type MissionRole = paths["/api/marti/missions/{:name}/role"]["get"]["responses"]["200"]["content"]["application/json"];
|
|
43
|
+
export type MissionRoleType = MissionRole["type"];
|
|
43
44
|
export type MissionLog = paths["/api/marti/missions/{:name}/log/{:logid}"]["patch"]["responses"]["200"]["content"]["application/json"]["data"];
|
|
44
45
|
export type MissionLogList = paths["/api/marti/missions/{:name}/log"]["get"]["responses"]["200"]["content"]["application/json"];
|
|
45
46
|
export type MissionLayer = paths["/api/marti/missions/{:name}/layer/{:layerid}"]["get"]["responses"]["200"]["content"]["application/json"]["data"];
|
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.47.0",
|
|
5
5
|
"types": "dist/types/plugin.d.ts",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist/types"
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@simplewebauthn/browser": "^13.3.0",
|
|
51
51
|
"@tabler/core": "^1.4.0",
|
|
52
52
|
"@tabler/icons-vue": "^3.0.0",
|
|
53
|
-
"@tak-ps/node-cot": "^14.
|
|
53
|
+
"@tak-ps/node-cot": "^14.45.0",
|
|
54
54
|
"@tak-ps/node-p12": "^1.0.3",
|
|
55
55
|
"@tak-ps/vue-tabler": "^4.29.3",
|
|
56
56
|
"@turf/area": "^7.2.0",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"hls.js": "^1.6.5",
|
|
85
85
|
"imask": "^6.0.0",
|
|
86
86
|
"jsonata": "^2.0.4",
|
|
87
|
-
"maplibre-gl": "v6.0.0-
|
|
87
|
+
"maplibre-gl": "v6.0.0-22",
|
|
88
88
|
"milsymbol": "^3.0.2",
|
|
89
89
|
"openapi-fetch": "^0.17.0",
|
|
90
90
|
"phone": "^3.1.59",
|