//#region src/contract/roles.d.ts /** * Supabase's three standard Postgres roles as a Prisma Next enum — the * single source of truth for the role vocabulary. Runtime-only: the shipped * contract declares the roles via PSL `role` blocks inside an explicit * `namespace unbound { }` block, not through this handle. The runtime * (`supabase-runtime.ts`, `supabase.ts`) derives its role type from * `SupabaseRole.values` and reads member values through `SupabaseRole.members` * instead of raw string literals. */ declare const SupabaseRole: import("@prisma-next/contract-authoring").EnumTypeHandle<"SupabaseRole", readonly ["anon", "authenticated", "service_role"], readonly ["Anon", "Authenticated", "ServiceRole"], { readonly Anon: "anon"; readonly Authenticated: "authenticated"; readonly ServiceRole: "service_role"; }>; type SupabaseRole = (typeof SupabaseRole)['values'][number]; /** * Supabase's runtime request roles as `role()` reference handles, for use in * a policy's `roles:` list (e.g. `policySelect(Profile, { roles: [anon], … })`). * These reference the same role identities `SupabaseRole` declares — Supabase * provisions them on every project; referencing one lowers to its bare name, * matching PSL's bare-identifier pass-through. */ declare const anon: import("@prisma-next/postgres/contract-builder").RlsRoleHandle<"anon">; declare const authenticated: import("@prisma-next/postgres/contract-builder").RlsRoleHandle<"authenticated">; //#endregion export { anon as n, authenticated as r, SupabaseRole as t }; //# sourceMappingURL=roles-DpvX2sYZ.d.mts.map