//#region ../../../3-extensions/supabase/dist/roles-B4kRmZCy.d.mts //#region src/contract/roles.d.ts /** * Supabase's three standard Postgres roles as a Prisma 8 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/orm-framework/contract-authoring").EnumTypeHandle<"SupabaseRole", readonly ["anon", "authenticated", "service_role"], readonly ["Anon", "Authenticated", "ServiceRole"], { readonly Anon: "anon"; readonly Authenticated: "authenticated"; readonly ServiceRole: "service_role"; }, "pg/text@1">; 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/orm-postgres/contract-builder").RlsRoleHandle<"anon">; declare const authenticated: import("@prisma/orm-postgres/contract-builder").RlsRoleHandle<"authenticated">; //#endregion export { anon as n, authenticated as r, SupabaseRole as t }; //# sourceMappingURL=roles-B4kRmZCy-CCes-zCM.d.mts.map