(feat): add first release
This commit is contained in:
parent
fc0a1a982d
commit
2ba049f576
19 changed files with 1819 additions and 0 deletions
23
dist/schema.d.ts
vendored
Normal file
23
dist/schema.d.ts
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import z, { ZodObject } from "zod";
|
||||
export declare function createSchema(appData: ZodObject): {
|
||||
identification: {
|
||||
request: z.ZodObject<{
|
||||
app_identifier: z.ZodString;
|
||||
app_session_id: z.ZodNumber;
|
||||
app_public_key: z.ZodString;
|
||||
user_id: z.ZodNumber;
|
||||
}, z.core.$strip>;
|
||||
response: z.ZodObject<{
|
||||
challenge: z.ZodBase64;
|
||||
public_key: z.ZodBase64;
|
||||
}, z.core.$strip>;
|
||||
};
|
||||
challenge_response: {
|
||||
request: z.ZodObject<{
|
||||
challenge: z.ZodBase64;
|
||||
}, z.core.$strip>;
|
||||
response: z.ZodObject<{
|
||||
app_data: z.ZodObject<z.core.$ZodLooseShape, z.core.$strip>;
|
||||
}, z.core.$strip>;
|
||||
};
|
||||
};
|
||||
Loading…
Reference in a new issue