Skip to content

Commit d748a37

Browse files
authored
fix: add missing userAgentData fields to the validation schema (#474)
Closes #468
1 parent f85589a commit d748a37

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

packages/generator-networks-creator/src/record-schema.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,19 @@ export async function getRecordSchema() {
199199
),
200200
mobile: z.boolean(),
201201
platform: z.string(),
202+
architecture: z.string().optional(),
203+
bitness: z.string().optional(),
204+
model: z.string().optional(),
205+
platformVersion: z.string().optional(),
206+
uaFullVersion: z.string().optional(),
207+
fullVersionList: z
208+
.array(
209+
z.object({
210+
brand: z.string(),
211+
version: z.string(),
212+
}),
213+
)
214+
.optional(),
202215
})
203216
.optional()
204217
.nullable(),

0 commit comments

Comments
 (0)