feat: modular domain driven boilerplate
This commit is contained in:
10
platform/cerbos/resources.ts
Normal file
10
platform/cerbos/resources.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { ResourceRegistry } from "@valkyr/auth";
|
||||
|
||||
export const resources = new ResourceRegistry([
|
||||
{
|
||||
kind: "identity",
|
||||
attr: {},
|
||||
},
|
||||
] as const);
|
||||
|
||||
export type Resource = typeof resources.$resource;
|
||||
Reference in New Issue
Block a user