UNPKG

@reliverse/rse

Version:

@reliverse/rse is your all-in-one companion for bootstrapping and improving any kind of projects (especially web apps built with frameworks like Next.js) — whether you're kicking off something new or upgrading an existing app. It is also a little AI-power

161 lines (160 loc) 5.2 kB
/** * Should only use any database that is core DBs, and supports the Better Auth CLI generate functionality. */ declare const supportedDatabases: readonly ["sqlite", "mysql", "mssql", "postgres", "drizzle:pg", "drizzle:mysql", "drizzle:sqlite", "prisma:postgresql", "prisma:mysql", "prisma:sqlite", "mongodb"]; export type SupportedDatabases = (typeof supportedDatabases)[number]; export declare const supportedPlugins: readonly [{ readonly id: "two-factor"; readonly name: "twoFactor"; readonly path: "better-auth/plugins"; readonly clientName: "twoFactorClient"; readonly clientPath: "better-auth/client/plugins"; }, { readonly id: "username"; readonly name: "username"; readonly clientName: "usernameClient"; readonly path: "better-auth/plugins"; readonly clientPath: "better-auth/client/plugins"; }, { readonly id: "anonymous"; readonly name: "anonymous"; readonly clientName: "anonymousClient"; readonly path: "better-auth/plugins"; readonly clientPath: "better-auth/client/plugins"; }, { readonly id: "phone-number"; readonly name: "phoneNumber"; readonly clientName: "phoneNumberClient"; readonly path: "better-auth/plugins"; readonly clientPath: "better-auth/client/plugins"; }, { readonly id: "magic-link"; readonly name: "magicLink"; readonly clientName: "magicLinkClient"; readonly clientPath: "better-auth/client/plugins"; readonly path: "better-auth/plugins"; }, { readonly id: "email-otp"; readonly name: "emailOTP"; readonly clientName: "emailOTPClient"; readonly path: "better-auth/plugins"; readonly clientPath: "better-auth/client/plugins"; }, { readonly id: "passkey"; readonly name: "passkey"; readonly clientName: "passkeyClient"; readonly path: "better-auth/plugins/passkey"; readonly clientPath: "better-auth/client/plugins"; }, { readonly id: "generic-oauth"; readonly name: "genericOAuth"; readonly clientName: "genericOAuthClient"; readonly path: "better-auth/plugins"; readonly clientPath: "better-auth/client/plugins"; }, { readonly id: "one-tap"; readonly name: "oneTap"; readonly clientName: "oneTapClient"; readonly path: "better-auth/plugins"; readonly clientPath: "better-auth/client/plugins"; }, { readonly id: "api-key"; readonly name: "apiKey"; readonly clientName: "apiKeyClient"; readonly path: "better-auth/plugins"; readonly clientPath: "better-auth/client/plugins"; }, { readonly id: "admin"; readonly name: "admin"; readonly clientName: "adminClient"; readonly path: "better-auth/plugins"; readonly clientPath: "better-auth/client/plugins"; }, { readonly id: "organization"; readonly name: "organization"; readonly clientName: "organizationClient"; readonly path: "better-auth/plugins"; readonly clientPath: "better-auth/client/plugins"; }, { readonly id: "oidc"; readonly name: "oidcProvider"; readonly clientName: "oidcClient"; readonly path: "better-auth/plugins"; readonly clientPath: "better-auth/client/plugins"; }, { readonly id: "sso"; readonly name: "sso"; readonly clientName: "ssoClient"; readonly path: "better-auth/plugins/sso"; readonly clientPath: "better-auth/client/plugins"; }, { readonly id: "bearer"; readonly name: "bearer"; readonly clientName: undefined; readonly path: "better-auth/plugins"; readonly clientPath: undefined; }, { readonly id: "multi-session"; readonly name: "multiSession"; readonly clientName: "multiSessionClient"; readonly path: "better-auth/plugins"; readonly clientPath: "better-auth/client/plugins"; }, { readonly id: "oauth-proxy"; readonly name: "oAuthProxy"; readonly clientName: undefined; readonly path: "better-auth/plugins"; readonly clientPath: undefined; }, { readonly id: "open-api"; readonly name: "openAPI"; readonly clientName: undefined; readonly path: "better-auth/plugins"; readonly clientPath: undefined; }, { readonly id: "jwt"; readonly name: "jwt"; readonly clientName: undefined; readonly clientPath: undefined; readonly path: "better-auth/plugins"; }, { readonly id: "next-cookies"; readonly name: "nextCookies"; readonly clientPath: undefined; readonly clientName: undefined; readonly path: "better-auth/next-js"; }]; export type SupportedPlugin = (typeof supportedPlugins)[number]; export declare const init: import("@reliverse/rempts").Command<{ cwd: { type: "string"; description: string; default: string; }; config: { type: "string"; description: string; optional: boolean; }; tsconfig: { type: "string"; description: string; optional: boolean; }; "skip-db": { type: "boolean"; description: string; optional: boolean; }; "skip-plugins": { type: "boolean"; description: string; optional: boolean; }; "package-manager": { type: "string"; description: string; optional: boolean; }; }>; export {};