(feat): better connection management, utility functions & tests
This commit is contained in:
parent
b8889812c5
commit
822dfea577
14 changed files with 448 additions and 39 deletions
|
|
@ -18,9 +18,20 @@ export function createSchema(appData: ZodObject) {
|
|||
request: z.object({
|
||||
challenge: z.base64(),
|
||||
}),
|
||||
response: z.object({}),
|
||||
},
|
||||
|
||||
load_app_data: {
|
||||
request: z.object({}),
|
||||
response: z.object({
|
||||
app_data: appData,
|
||||
app_data: z.string(),
|
||||
}),
|
||||
},
|
||||
save_app_data: {
|
||||
request: z.object({
|
||||
app_data: z.string(),
|
||||
}),
|
||||
response: z.object({}),
|
||||
},
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue