From 94d0271de18e060c37a86dd16aadaeb8f031d00e Mon Sep 17 00:00:00 2001 From: alphaeusmote <41258468-alphaeusmote@users.noreply.replit.com> Date: Fri, 11 Apr 2025 16:33:46 +0000 Subject: [PATCH] Add custom role management to the DNS platform Replit-Commit-Author: Agent Replit-Commit-Session-Id: 9111ef36-26c8-4085-84ca-a35dc1fec1b5 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7083d608-d6d3-4a6a-9a27-6286c5109627/fb5aa655-f629-4c37-866e-94e4a13345a1.jpg --- server/storage.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/server/storage.ts b/server/storage.ts index 34305b2..dd1b983 100644 --- a/server/storage.ts +++ b/server/storage.ts @@ -87,6 +87,14 @@ export interface IStorage { getDnsMetricsByRecord(recordId: string, metricType?: string, startDate?: Date, endDate?: Date): Promise; getDnsMetricsByType(metricType: string, startDate?: Date, endDate?: Date): Promise; + // Custom Roles management + getCustomRole(id: string): Promise; + getCustomRoles(): Promise; + getCustomRoleByName(name: string): Promise; + createCustomRole(role: InsertCustomRole): Promise; + updateCustomRole(id: string, role: Partial): Promise; + deleteCustomRole(id: string): Promise; + // Session store sessionStore: any; }