/opt/canhelp/node_modules/better-auth/dist/plugins/oidc-provider
NameSizeModeActions
utils/-0755rm
authorize.mjs81420644editdlrm
authorize.mjs.map168740644editdlrm
client.d.mts4890644editdlrm
client.mjs2080644editdlrm
client.mjs.map5920644editdlrm
error.mjs6820644editdlrm
error.mjs.map10140644editdlrm
index.d.mts224530644editdlrm
index.mjs419950644editdlrm
index.mjs.map844260644editdlrm
schema.d.mts32590644editdlrm
schema.mjs24790644editdlrm
schema.mjs.map59650644editdlrm
types.d.mts165920644editdlrm
utils.mjs5140644editdlrm
utils.mjs.map7700644editdlrm
Edit: /opt/canhelp/node_modules/better-auth/dist/plugins/oidc-provider/schema.mjs (2479B)
import * as z from "zod"; //#region src/plugins/oidc-provider/schema.ts z.object({ clientId: z.string(), clientSecret: z.string().optional(), type: z.enum([ "web", "native", "user-agent-based", "public" ]), name: z.string(), icon: z.string().optional(), metadata: z.string().optional(), disabled: z.boolean().optional().default(false), redirectUrls: z.string(), userId: z.string().optional(), createdAt: z.date(), updatedAt: z.date() }); const schema = { oauthApplication: { modelName: "oauthApplication", fields: { name: { type: "string" }, icon: { type: "string", required: false }, metadata: { type: "string", required: false }, clientId: { type: "string", unique: true }, clientSecret: { type: "string", required: false }, redirectUrls: { type: "string" }, type: { type: "string" }, disabled: { type: "boolean", required: false, defaultValue: false }, userId: { type: "string", required: false, references: { model: "user", field: "id", onDelete: "cascade" }, index: true }, createdAt: { type: "date" }, updatedAt: { type: "date" } } }, oauthAccessToken: { modelName: "oauthAccessToken", fields: { accessToken: { type: "string", unique: true }, refreshToken: { type: "string", unique: true }, accessTokenExpiresAt: { type: "date" }, refreshTokenExpiresAt: { type: "date" }, clientId: { type: "string", references: { model: "oauthApplication", field: "clientId", onDelete: "cascade" }, index: true }, userId: { type: "string", required: false, references: { model: "user", field: "id", onDelete: "cascade" }, index: true }, scopes: { type: "string" }, createdAt: { type: "date" }, updatedAt: { type: "date" } } }, oauthConsent: { modelName: "oauthConsent", fields: { clientId: { type: "string", references: { model: "oauthApplication", field: "clientId", onDelete: "cascade" }, index: true }, userId: { type: "string", references: { model: "user", field: "id", onDelete: "cascade" }, index: true }, scopes: { type: "string" }, createdAt: { type: "date" }, updatedAt: { type: "date" }, consentGiven: { type: "boolean" } } } }; //#endregion export { schema }; //# sourceMappingURL=schema.mjs.map