mirror of
https://github.com/fosrl/pangolin.git
synced 2025-07-28 22:55:07 +02:00
Get new api endpoints working
This commit is contained in:
parent
6e1bfdac58
commit
b1f4971f25
13 changed files with 79 additions and 51 deletions
|
@ -37,10 +37,10 @@ const createClientSchema = z
|
|||
.object({
|
||||
name: z.string().min(1).max(255),
|
||||
siteId: z.number().int().positive(),
|
||||
pubKey: z.string(),
|
||||
subnet: z.string(),
|
||||
olmId: z.string(),
|
||||
secret: z.string(),
|
||||
pubKey: z.string().optional(),
|
||||
subnet: z.string().optional(),
|
||||
olmId: z.string().optional(),
|
||||
secret: z.string().optional(),
|
||||
type: z.enum(["olm"])
|
||||
})
|
||||
.strict();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue