mirror of
https://github.com/umami-software/umami.git
synced 2026-02-06 21:57:16 +01:00
Fixed uuid references in schemas.
Some checks are pending
Node.js CI / build (postgresql, 18.18) (push) Waiting to run
Some checks are pending
Node.js CI / build (postgresql, 18.18) (push) Waiting to run
This commit is contained in:
parent
f40e1b44f3
commit
303947fe9b
16 changed files with 36 additions and 27 deletions
|
|
@ -27,9 +27,9 @@ const schema = z.object({
|
|||
type: z.enum(['event', 'identify']),
|
||||
payload: z
|
||||
.object({
|
||||
website: z.string().uuid().optional(),
|
||||
link: z.string().uuid().optional(),
|
||||
pixel: z.string().uuid().optional(),
|
||||
website: z.uuid().optional(),
|
||||
link: z.uuid().optional(),
|
||||
pixel: z.uuid().optional(),
|
||||
data: anyObjectParam.optional(),
|
||||
hostname: z.string().max(100).optional(),
|
||||
language: z.string().max(35).optional(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue