/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.d.mts (3259B)
import * as z from "zod"; //#region src/plugins/oidc-provider/schema.d.ts declare const oAuthApplicationSchema: z.ZodObject<{ clientId: z.ZodString; clientSecret: z.ZodOptional; type: z.ZodEnum<{ public: "public"; web: "web"; native: "native"; "user-agent-based": "user-agent-based"; }>; name: z.ZodString; icon: z.ZodOptional; metadata: z.ZodOptional; disabled: z.ZodDefault>; redirectUrls: z.ZodString; userId: z.ZodOptional; createdAt: z.ZodDate; updatedAt: z.ZodDate; }, z.core.$strip>; type OAuthApplication = z.infer; declare const schema: { oauthApplication: { modelName: string; 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: string; field: string; onDelete: "cascade"; }; index: true; }; createdAt: { type: "date"; }; updatedAt: { type: "date"; }; }; }; oauthAccessToken: { modelName: string; fields: { accessToken: { type: "string"; unique: true; }; refreshToken: { type: "string"; unique: true; }; accessTokenExpiresAt: { type: "date"; }; refreshTokenExpiresAt: { type: "date"; }; clientId: { type: "string"; references: { model: string; field: string; onDelete: "cascade"; }; index: true; }; userId: { type: "string"; required: false; references: { model: string; field: string; onDelete: "cascade"; }; index: true; }; scopes: { type: "string"; }; createdAt: { type: "date"; }; updatedAt: { type: "date"; }; }; }; oauthConsent: { modelName: string; fields: { clientId: { type: "string"; references: { model: string; field: string; onDelete: "cascade"; }; index: true; }; userId: { type: "string"; references: { model: string; field: string; onDelete: "cascade"; }; index: true; }; scopes: { type: "string"; }; createdAt: { type: "date"; }; updatedAt: { type: "date"; }; consentGiven: { type: "boolean"; }; }; }; }; //#endregion export { OAuthApplication, schema }; //# sourceMappingURL=schema.d.mts.map