@layer-drone/protocol 0.0.13 → 0.0.14
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/index.d.mts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
- package/src/event/types.gen.ts +1 -0
package/dist/index.d.mts
CHANGED
|
@@ -857,17 +857,21 @@ declare const Event: z.ZodUnion<[z.ZodObject<{
|
|
|
857
857
|
flightId: z.ZodNumber;
|
|
858
858
|
pilotAddress: z.ZodString;
|
|
859
859
|
flightManifestUri: z.ZodString;
|
|
860
|
+
missionId: z.ZodNumber;
|
|
860
861
|
}, "strict", z.ZodTypeAny, {
|
|
862
|
+
missionId: number;
|
|
861
863
|
pilotAddress: string;
|
|
862
864
|
flightId: number;
|
|
863
865
|
flightManifestUri: string;
|
|
864
866
|
}, {
|
|
867
|
+
missionId: number;
|
|
865
868
|
pilotAddress: string;
|
|
866
869
|
flightId: number;
|
|
867
870
|
flightManifestUri: string;
|
|
868
871
|
}>;
|
|
869
872
|
}, "strict", z.ZodTypeAny, {
|
|
870
873
|
data: {
|
|
874
|
+
missionId: number;
|
|
871
875
|
pilotAddress: string;
|
|
872
876
|
flightId: number;
|
|
873
877
|
flightManifestUri: string;
|
|
@@ -877,6 +881,7 @@ declare const Event: z.ZodUnion<[z.ZodObject<{
|
|
|
877
881
|
timestamp?: any;
|
|
878
882
|
}, {
|
|
879
883
|
data: {
|
|
884
|
+
missionId: number;
|
|
880
885
|
pilotAddress: string;
|
|
881
886
|
flightId: number;
|
|
882
887
|
flightManifestUri: string;
|
|
@@ -1051,6 +1056,7 @@ declare function parseWebhookEvent(req: Request$1, webhookSecret: string): {
|
|
|
1051
1056
|
timestamp: string;
|
|
1052
1057
|
} | {
|
|
1053
1058
|
data: {
|
|
1059
|
+
missionId: number;
|
|
1054
1060
|
pilotAddress: string;
|
|
1055
1061
|
flightId: number;
|
|
1056
1062
|
flightManifestUri: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -857,17 +857,21 @@ declare const Event: z.ZodUnion<[z.ZodObject<{
|
|
|
857
857
|
flightId: z.ZodNumber;
|
|
858
858
|
pilotAddress: z.ZodString;
|
|
859
859
|
flightManifestUri: z.ZodString;
|
|
860
|
+
missionId: z.ZodNumber;
|
|
860
861
|
}, "strict", z.ZodTypeAny, {
|
|
862
|
+
missionId: number;
|
|
861
863
|
pilotAddress: string;
|
|
862
864
|
flightId: number;
|
|
863
865
|
flightManifestUri: string;
|
|
864
866
|
}, {
|
|
867
|
+
missionId: number;
|
|
865
868
|
pilotAddress: string;
|
|
866
869
|
flightId: number;
|
|
867
870
|
flightManifestUri: string;
|
|
868
871
|
}>;
|
|
869
872
|
}, "strict", z.ZodTypeAny, {
|
|
870
873
|
data: {
|
|
874
|
+
missionId: number;
|
|
871
875
|
pilotAddress: string;
|
|
872
876
|
flightId: number;
|
|
873
877
|
flightManifestUri: string;
|
|
@@ -877,6 +881,7 @@ declare const Event: z.ZodUnion<[z.ZodObject<{
|
|
|
877
881
|
timestamp?: any;
|
|
878
882
|
}, {
|
|
879
883
|
data: {
|
|
884
|
+
missionId: number;
|
|
880
885
|
pilotAddress: string;
|
|
881
886
|
flightId: number;
|
|
882
887
|
flightManifestUri: string;
|
|
@@ -1051,6 +1056,7 @@ declare function parseWebhookEvent(req: Request$1, webhookSecret: string): {
|
|
|
1051
1056
|
timestamp: string;
|
|
1052
1057
|
} | {
|
|
1053
1058
|
data: {
|
|
1059
|
+
missionId: number;
|
|
1054
1060
|
pilotAddress: string;
|
|
1055
1061
|
flightId: number;
|
|
1056
1062
|
flightManifestUri: string;
|
package/dist/index.js
CHANGED
|
@@ -1122,7 +1122,8 @@ var Event = import_zod.z.union([
|
|
|
1122
1122
|
data: import_zod.z.object({
|
|
1123
1123
|
flightId: import_zod.z.number(),
|
|
1124
1124
|
pilotAddress: import_zod.z.string(),
|
|
1125
|
-
flightManifestUri: import_zod.z.string()
|
|
1125
|
+
flightManifestUri: import_zod.z.string(),
|
|
1126
|
+
missionId: import_zod.z.number()
|
|
1126
1127
|
}).strict()
|
|
1127
1128
|
}).strict(),
|
|
1128
1129
|
import_zod.z.object({
|
package/dist/index.mjs
CHANGED
|
@@ -1063,7 +1063,8 @@ var Event = z.union([
|
|
|
1063
1063
|
data: z.object({
|
|
1064
1064
|
flightId: z.number(),
|
|
1065
1065
|
pilotAddress: z.string(),
|
|
1066
|
-
flightManifestUri: z.string()
|
|
1066
|
+
flightManifestUri: z.string(),
|
|
1067
|
+
missionId: z.number()
|
|
1067
1068
|
}).strict()
|
|
1068
1069
|
}).strict(),
|
|
1069
1070
|
z.object({
|
package/package.json
CHANGED