@zpg6-test-pkgs/better-auth
Version:
The most comprehensive authentication library for TypeScript.
29 lines (26 loc) • 438 B
JavaScript
import * as z from 'zod/v4';
const schema = {
jwks: {
fields: {
publicKey: {
type: "string",
required: true
},
privateKey: {
type: "string",
required: true
},
createdAt: {
type: "date",
required: true
}
}
}
};
z.object({
id: z.string(),
publicKey: z.string(),
privateKey: z.string(),
createdAt: z.date()
});
export { schema as s };