@awarevue/api-types 2.0.152 → 2.0.153
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/api/agent-protocol/protocol.d.ts +6 -0
- package/dist/api/rest/trackables.d.ts +36 -0
- package/dist/api/ws/trackables.d.ts +12 -0
- package/dist/objects/trackable-retention-policy.d.ts +6 -0
- package/dist/objects/trackable.d.ts +12 -0
- package/dist/objects/trackable.js +7 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
|
@@ -525,6 +525,12 @@ export declare const sPushTrackableUpdate: z.ZodObject<{
|
|
|
525
525
|
"base-station": "base-station";
|
|
526
526
|
"aid-to-navigation": "aid-to-navigation";
|
|
527
527
|
"sar-aircraft": "sar-aircraft";
|
|
528
|
+
aircraft: "aircraft";
|
|
529
|
+
helicopter: "helicopter";
|
|
530
|
+
glider: "glider";
|
|
531
|
+
balloon: "balloon";
|
|
532
|
+
drone: "drone";
|
|
533
|
+
"ground-vehicle": "ground-vehicle";
|
|
528
534
|
}>>;
|
|
529
535
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
530
536
|
longitude: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6,6 +6,12 @@ export declare const sTrackableProfileSnapshot: z.ZodObject<{
|
|
|
6
6
|
"base-station": "base-station";
|
|
7
7
|
"aid-to-navigation": "aid-to-navigation";
|
|
8
8
|
"sar-aircraft": "sar-aircraft";
|
|
9
|
+
aircraft: "aircraft";
|
|
10
|
+
helicopter: "helicopter";
|
|
11
|
+
glider: "glider";
|
|
12
|
+
balloon: "balloon";
|
|
13
|
+
drone: "drone";
|
|
14
|
+
"ground-vehicle": "ground-vehicle";
|
|
9
15
|
}>>;
|
|
10
16
|
}, z.core.$strip>;
|
|
11
17
|
export declare const sSetTrackableFavoriteRequest: z.ZodObject<{
|
|
@@ -15,6 +21,12 @@ export declare const sSetTrackableFavoriteRequest: z.ZodObject<{
|
|
|
15
21
|
"base-station": "base-station";
|
|
16
22
|
"aid-to-navigation": "aid-to-navigation";
|
|
17
23
|
"sar-aircraft": "sar-aircraft";
|
|
24
|
+
aircraft: "aircraft";
|
|
25
|
+
helicopter: "helicopter";
|
|
26
|
+
glider: "glider";
|
|
27
|
+
balloon: "balloon";
|
|
28
|
+
drone: "drone";
|
|
29
|
+
"ground-vehicle": "ground-vehicle";
|
|
18
30
|
}>>;
|
|
19
31
|
}, z.core.$strip>;
|
|
20
32
|
export type SetTrackableFavoriteRequest = z.infer<typeof sSetTrackableFavoriteRequest>;
|
|
@@ -25,6 +37,12 @@ export declare const sCreateTrackableRequest: z.ZodObject<{
|
|
|
25
37
|
"base-station": "base-station";
|
|
26
38
|
"aid-to-navigation": "aid-to-navigation";
|
|
27
39
|
"sar-aircraft": "sar-aircraft";
|
|
40
|
+
aircraft: "aircraft";
|
|
41
|
+
helicopter: "helicopter";
|
|
42
|
+
glider: "glider";
|
|
43
|
+
balloon: "balloon";
|
|
44
|
+
drone: "drone";
|
|
45
|
+
"ground-vehicle": "ground-vehicle";
|
|
28
46
|
}>>;
|
|
29
47
|
objectId: z.ZodString;
|
|
30
48
|
}, z.core.$strip>;
|
|
@@ -36,6 +54,12 @@ export declare const sUpdateTrackableRequest: z.ZodObject<{
|
|
|
36
54
|
"base-station": "base-station";
|
|
37
55
|
"aid-to-navigation": "aid-to-navigation";
|
|
38
56
|
"sar-aircraft": "sar-aircraft";
|
|
57
|
+
aircraft: "aircraft";
|
|
58
|
+
helicopter: "helicopter";
|
|
59
|
+
glider: "glider";
|
|
60
|
+
balloon: "balloon";
|
|
61
|
+
drone: "drone";
|
|
62
|
+
"ground-vehicle": "ground-vehicle";
|
|
39
63
|
}>>;
|
|
40
64
|
}, z.core.$strip>;
|
|
41
65
|
export type UpdateTrackableRequest = z.infer<typeof sUpdateTrackableRequest>;
|
|
@@ -46,6 +70,12 @@ export declare const sAttachTrackableImageRequest: z.ZodObject<{
|
|
|
46
70
|
"base-station": "base-station";
|
|
47
71
|
"aid-to-navigation": "aid-to-navigation";
|
|
48
72
|
"sar-aircraft": "sar-aircraft";
|
|
73
|
+
aircraft: "aircraft";
|
|
74
|
+
helicopter: "helicopter";
|
|
75
|
+
glider: "glider";
|
|
76
|
+
balloon: "balloon";
|
|
77
|
+
drone: "drone";
|
|
78
|
+
"ground-vehicle": "ground-vehicle";
|
|
49
79
|
}>>;
|
|
50
80
|
imageId: z.ZodUUID;
|
|
51
81
|
reviewed: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -63,6 +93,12 @@ export declare const sCreateTrackableRetentionPolicyRequest: z.ZodObject<{
|
|
|
63
93
|
"base-station": "base-station";
|
|
64
94
|
"aid-to-navigation": "aid-to-navigation";
|
|
65
95
|
"sar-aircraft": "sar-aircraft";
|
|
96
|
+
aircraft: "aircraft";
|
|
97
|
+
helicopter: "helicopter";
|
|
98
|
+
glider: "glider";
|
|
99
|
+
balloon: "balloon";
|
|
100
|
+
drone: "drone";
|
|
101
|
+
"ground-vehicle": "ground-vehicle";
|
|
66
102
|
}>;
|
|
67
103
|
}, z.core.$strip>;
|
|
68
104
|
export type CreateTrackableRetentionPolicyRequest = z.infer<typeof sCreateTrackableRetentionPolicyRequest>;
|
|
@@ -9,6 +9,12 @@ export declare const sTrackableUpdate: z.ZodObject<{
|
|
|
9
9
|
"base-station": "base-station";
|
|
10
10
|
"aid-to-navigation": "aid-to-navigation";
|
|
11
11
|
"sar-aircraft": "sar-aircraft";
|
|
12
|
+
aircraft: "aircraft";
|
|
13
|
+
helicopter: "helicopter";
|
|
14
|
+
glider: "glider";
|
|
15
|
+
balloon: "balloon";
|
|
16
|
+
drone: "drone";
|
|
17
|
+
"ground-vehicle": "ground-vehicle";
|
|
12
18
|
}>>;
|
|
13
19
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
14
20
|
longitude: z.ZodOptional<z.ZodNumber>;
|
|
@@ -36,6 +42,12 @@ export declare const sTrackableUpdatePayload: z.ZodObject<{
|
|
|
36
42
|
"base-station": "base-station";
|
|
37
43
|
"aid-to-navigation": "aid-to-navigation";
|
|
38
44
|
"sar-aircraft": "sar-aircraft";
|
|
45
|
+
aircraft: "aircraft";
|
|
46
|
+
helicopter: "helicopter";
|
|
47
|
+
glider: "glider";
|
|
48
|
+
balloon: "balloon";
|
|
49
|
+
drone: "drone";
|
|
50
|
+
"ground-vehicle": "ground-vehicle";
|
|
39
51
|
}>>;
|
|
40
52
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
41
53
|
longitude: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6,6 +6,12 @@ export declare const sTrackableRetentionPolicyDto: z.ZodObject<{
|
|
|
6
6
|
"base-station": "base-station";
|
|
7
7
|
"aid-to-navigation": "aid-to-navigation";
|
|
8
8
|
"sar-aircraft": "sar-aircraft";
|
|
9
|
+
aircraft: "aircraft";
|
|
10
|
+
helicopter: "helicopter";
|
|
11
|
+
glider: "glider";
|
|
12
|
+
balloon: "balloon";
|
|
13
|
+
drone: "drone";
|
|
14
|
+
"ground-vehicle": "ground-vehicle";
|
|
9
15
|
}>>;
|
|
10
16
|
ttlSeconds: z.ZodNumber;
|
|
11
17
|
outOfDateSeconds: z.ZodNumber;
|
|
@@ -4,6 +4,12 @@ export declare const sTrackableKind: z.ZodEnum<{
|
|
|
4
4
|
"base-station": "base-station";
|
|
5
5
|
"aid-to-navigation": "aid-to-navigation";
|
|
6
6
|
"sar-aircraft": "sar-aircraft";
|
|
7
|
+
aircraft: "aircraft";
|
|
8
|
+
helicopter: "helicopter";
|
|
9
|
+
glider: "glider";
|
|
10
|
+
balloon: "balloon";
|
|
11
|
+
drone: "drone";
|
|
12
|
+
"ground-vehicle": "ground-vehicle";
|
|
7
13
|
}>;
|
|
8
14
|
export type TrackableKind = z.infer<typeof sTrackableKind>;
|
|
9
15
|
export declare const sTrackableImageDto: z.ZodObject<{
|
|
@@ -22,6 +28,12 @@ export declare const sTrackableProfileDto: z.ZodObject<{
|
|
|
22
28
|
"base-station": "base-station";
|
|
23
29
|
"aid-to-navigation": "aid-to-navigation";
|
|
24
30
|
"sar-aircraft": "sar-aircraft";
|
|
31
|
+
aircraft: "aircraft";
|
|
32
|
+
helicopter: "helicopter";
|
|
33
|
+
glider: "glider";
|
|
34
|
+
balloon: "balloon";
|
|
35
|
+
drone: "drone";
|
|
36
|
+
"ground-vehicle": "ground-vehicle";
|
|
25
37
|
}>>;
|
|
26
38
|
isUserFavorite: z.ZodBoolean;
|
|
27
39
|
isGlobalFavorite: z.ZodBoolean;
|
|
@@ -8,6 +8,13 @@ exports.sTrackableKind = zod_1.z.enum([
|
|
|
8
8
|
'base-station',
|
|
9
9
|
'aid-to-navigation',
|
|
10
10
|
'sar-aircraft',
|
|
11
|
+
//ADS-B
|
|
12
|
+
'aircraft',
|
|
13
|
+
'helicopter',
|
|
14
|
+
'glider',
|
|
15
|
+
'balloon',
|
|
16
|
+
'drone',
|
|
17
|
+
'ground-vehicle',
|
|
11
18
|
]);
|
|
12
19
|
exports.sTrackableImageDto = zod_1.z.object({
|
|
13
20
|
imageId: zod_1.z.uuid(),
|
package/dist/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "git",
|
|
5
5
|
"url": "git+https://github.com/Linc-Security-Systems/aware-essentials.git"
|
|
6
6
|
},
|
|
7
|
-
"version": "2.0.
|
|
7
|
+
"version": "2.0.153",
|
|
8
8
|
"description": "Common types between backend, agent(s) and frontend(s)",
|
|
9
9
|
"main": "dist/index.js",
|
|
10
10
|
"types": "dist/index.d.ts",
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "git",
|
|
5
5
|
"url": "git+https://github.com/Linc-Security-Systems/aware-essentials.git"
|
|
6
6
|
},
|
|
7
|
-
"version": "2.0.
|
|
7
|
+
"version": "2.0.153",
|
|
8
8
|
"description": "Common types between backend, agent(s) and frontend(s)",
|
|
9
9
|
"main": "dist/index.js",
|
|
10
10
|
"types": "dist/index.d.ts",
|