(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
12
dist/schema.js
vendored
12
dist/schema.js
vendored
|
|
@ -17,9 +17,19 @@ export function createSchema(appData) {
|
|||
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