chore: Rely more on services in auth middleware

This commit is contained in:
Dries Augustyns
2025-12-31 16:51:44 +01:00
parent be2eb57369
commit 519b131792
3 changed files with 61 additions and 83 deletions
+11
View File
@@ -84,4 +84,15 @@ export const Keys = {
return `membership:owner:${projectId}`;
},
},
Project: {
id(id: string): string {
return `project:id:${id}`;
},
secret(key: string): string {
return `project:secret:${key}`;
},
public(key: string): string {
return `project:public:${key}`;
},
},
} as const;