@tak-ps/cloudtak 13.58.0 → 13.59.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/capacitor.d.ts +1 -0
- package/dist/types/src/base/cot.d.ts +6 -0
- package/dist/types/src/components/CloudTAK/CoreEventView.vue.d.ts +3 -0
- package/dist/types/src/components/CloudTAK/Property/PropertyCoreEventChannels.vue.d.ts +12 -0
- package/dist/types/src/components/CloudTAK/Property/PropertyCoreEventExternalId.vue.d.ts +12 -0
- package/dist/types/src/components/CloudTAK/Property/PropertyCoreEventLinks.vue.d.ts +19 -0
- package/dist/types/src/components/CloudTAK/Property/PropertyCoreEventLocation.vue.d.ts +12 -0
- package/dist/types/src/components/CloudTAK/Property/PropertyCoreEventMetadata.vue.d.ts +12 -0
- package/dist/types/src/components/CloudTAK/Property/PropertyCoreEventMission.vue.d.ts +18 -0
- package/dist/types/src/components/CloudTAK/Property/PropertyCoreEventPriority.vue.d.ts +17 -0
- package/dist/types/src/components/CloudTAK/Property/PropertyCoreEventTimes.vue.d.ts +8 -0
- package/dist/types/src/components/CloudTAK/Property/PropertyMission.vue.d.ts +12 -0
- package/dist/types/src/components/CloudTAK/Query/Reverse.vue.d.ts +13 -1
- package/dist/types/src/components/CloudTAK/util/CoreEventType.vue.d.ts +19 -0
- package/dist/types/src/components/CloudTAK/util/CreateCoreEvent.vue.d.ts +7 -3
- package/dist/types/src/types.d.ts +2 -0
- package/dist/types/src/workers/atlas-database.d.ts +5 -0
- package/package.json +1 -1
|
@@ -56,6 +56,12 @@ export default class COT {
|
|
|
56
56
|
get is_self(): boolean;
|
|
57
57
|
get is_route(): boolean;
|
|
58
58
|
get is_archivable(): boolean;
|
|
59
|
+
/**
|
|
60
|
+
* A machine generated feature this client didn't author (eg a Core Event
|
|
61
|
+
* CoT, reposted every cycle so local edits are silently overwritten).
|
|
62
|
+
* Excludes locally created features (creator entry) and Routes
|
|
63
|
+
*/
|
|
64
|
+
get is_machine_generated(): boolean;
|
|
59
65
|
/**
|
|
60
66
|
* Determines if the COT type allows editing
|
|
61
67
|
* But does not determine if a COT is part of a Misison Sync, if the mission allows editing
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** TAK Server Channel bitpositions the Event is shared with */
|
|
3
|
+
modelValue: Array<number>;
|
|
4
|
+
edit?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
|
+
"update:modelValue": (value: number[]) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
"onUpdate:modelValue"?: ((value: number[]) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** ID of the Event in an external system */
|
|
3
|
+
modelValue: string;
|
|
4
|
+
edit?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
|
+
"update:modelValue": (value: string) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { CoreEventLink } from '../../../types.ts';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** Named URLs associated with the Event */
|
|
4
|
+
modelValue: Array<CoreEventLink>;
|
|
5
|
+
edit?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
8
|
+
"update:modelValue": (value: {
|
|
9
|
+
name: string;
|
|
10
|
+
url: string;
|
|
11
|
+
}[]) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
"onUpdate:modelValue"?: ((value: {
|
|
14
|
+
name: string;
|
|
15
|
+
url: string;
|
|
16
|
+
}[]) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** Human readable location of the Event - ie: an address */
|
|
3
|
+
modelValue: string;
|
|
4
|
+
edit?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
|
+
"update:modelValue": (value: string) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** User defined key/value Event metadata */
|
|
3
|
+
modelValue: Record<string, unknown>;
|
|
4
|
+
edit?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
|
+
"update:modelValue": (value: Record<string, unknown>) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
"onUpdate:modelValue"?: ((value: Record<string, unknown>) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** GUID of the TAK Server Mission the Event is associated with */
|
|
3
|
+
modelValue: string | null;
|
|
4
|
+
edit?: boolean;
|
|
5
|
+
/** Event name - becomes the name of a new Mission */
|
|
6
|
+
eventName?: string;
|
|
7
|
+
/** Event remarks - become the description of a new Mission */
|
|
8
|
+
remarks?: string;
|
|
9
|
+
/** Event Channel bitpositions - become the Channels of a new Mission */
|
|
10
|
+
channels?: Array<number>;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
13
|
+
"update:modelValue": (value: string | null) => any;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue: string;
|
|
3
|
+
/** Whether the Event is currently Active */
|
|
4
|
+
active: boolean;
|
|
5
|
+
/** Time at which the Event ended */
|
|
6
|
+
ended: string | null;
|
|
7
|
+
edit?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
10
|
+
"update:modelValue": (value: string) => any;
|
|
11
|
+
"update:active": (value: boolean) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
14
|
+
"onUpdate:active"?: ((value: boolean) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
created: string;
|
|
3
|
+
updated: string;
|
|
4
|
+
ended: string | null;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** GUID of the TAK Server Mission the CoT or Event is associated with */
|
|
3
|
+
guid: string;
|
|
4
|
+
edit?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
|
+
remove: () => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onRemove?: (() => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
@@ -2,6 +2,18 @@ type __VLS_Props = {
|
|
|
2
2
|
longitude: number;
|
|
3
3
|
latitude: number;
|
|
4
4
|
};
|
|
5
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
6
|
+
reverse: (reverse: {
|
|
7
|
+
LongLabel: string;
|
|
8
|
+
ShortLabel: string;
|
|
9
|
+
Addr_type: string;
|
|
10
|
+
} | null) => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
onReverse?: ((reverse: {
|
|
13
|
+
LongLabel: string;
|
|
14
|
+
ShortLabel: string;
|
|
15
|
+
Addr_type: string;
|
|
16
|
+
} | null) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
18
|
declare const _default: typeof __VLS_export;
|
|
7
19
|
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (...args: any[]) => void;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
modelValue: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
}>> & Readonly<{
|
|
14
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
modelValue: string;
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
coordinates?: number[];
|
|
3
|
+
location?: string;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
6
|
close: (...args: any[]) => void;
|
|
3
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
4
8
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
5
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
10
|
declare const _default: typeof __VLS_export;
|
|
7
11
|
export default _default;
|
|
@@ -32,6 +32,8 @@ export type ErrorReport = paths["/api/error/{:errorid}"]["get"]["responses"]["20
|
|
|
32
32
|
export type ErrorReportList = paths["/api/error"]["get"]["responses"]["200"]["content"]["application/json"];
|
|
33
33
|
export type CoreEvent = paths["/api/core/event/{:event}"]["get"]["responses"]["200"]["content"]["application/json"];
|
|
34
34
|
export type CoreEventList = paths["/api/core/event"]["get"]["responses"]["200"]["content"]["application/json"];
|
|
35
|
+
export type CoreEventLink = CoreEvent["links"][0];
|
|
36
|
+
export type CoreEventStyle = CoreEvent["style"];
|
|
35
37
|
export type Contact = paths["/api/marti/api/contacts/all"]["get"]["responses"]["200"]["content"]["application/json"][0];
|
|
36
38
|
export type ContactList = paths["/api/marti/api/contacts/all"]["get"]["responses"]["200"]["content"]["application/json"];
|
|
37
39
|
export type Content = paths["/api/marti/package"]["put"]["responses"]["200"]["content"]["application/json"];
|
|
@@ -143,6 +143,11 @@ export default class AtlasDatabase {
|
|
|
143
143
|
skipDatabase?: boolean;
|
|
144
144
|
skipMissionLookup?: boolean;
|
|
145
145
|
}): Promise<COT | void>;
|
|
146
|
+
/**
|
|
147
|
+
* PATCH a locally moved Core Event marker back to the Event API - a
|
|
148
|
+
* failure is reverted on clients by the next Event rebroadcast
|
|
149
|
+
*/
|
|
150
|
+
private syncCoreEventGeometry;
|
|
146
151
|
/**
|
|
147
152
|
* Batch variant of add() for importing many features at once (eg. a GeoJSON
|
|
148
153
|
* or lasso import). Runs the entire loop inside the worker so the caller
|