@zpg6-test-pkgs/better-auth
Version:
The most comprehensive authentication library for TypeScript.
45 lines (39 loc) • 789 B
JavaScript
;
const z = require('zod/v4');
function _interopNamespaceCompat(e) {
if (e && typeof e === 'object' && 'default' in e) return e;
const n = Object.create(null);
if (e) {
for (const k in e) {
n[k] = e[k];
}
}
n.default = e;
return n;
}
const z__namespace = /*#__PURE__*/_interopNamespaceCompat(z);
const schema = {
jwks: {
fields: {
publicKey: {
type: "string",
required: true
},
privateKey: {
type: "string",
required: true
},
createdAt: {
type: "date",
required: true
}
}
}
};
z__namespace.object({
id: z__namespace.string(),
publicKey: z__namespace.string(),
privateKey: z__namespace.string(),
createdAt: z__namespace.date()
});
exports.schema = schema;