From 2bb2c61a1e2de9b001dc3dc3623fc646f1c0774e Mon Sep 17 00:00:00 2001 From: alphaeusmote <41258468-alphaeusmote@users.noreply.replit.com> Date: Thu, 10 Apr 2025 12:33:42 +0000 Subject: [PATCH] Add group management features 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/e5c91a82-64b7-41fc-8e9c-eb3ecde469e1.jpg --- server/storage.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/server/storage.ts b/server/storage.ts index 7c7fa5d..86d4095 100644 --- a/server/storage.ts +++ b/server/storage.ts @@ -8,7 +8,10 @@ import { type DnsHistory, type Webhook, type InsertWebhook, type WebhookDeliveryLog, type InsertWebhookDeliveryLog, - type DnsMetric, type InsertDnsMetric + type DnsMetric, type InsertDnsMetric, + type Group, type InsertGroup, + type GroupMember, type InsertGroupMember, + type MemberType } from "@shared/schema"; import session from "express-session"; import { DatabaseStorage } from "./database-storage"; @@ -285,8 +288,9 @@ export class MemStorage implements IStorage { id: numId.toString(), name: group.name, description: group.description || null, - organizationId: group.organizationId, isActive: group.isActive ?? true, + createdBy: group.createdBy, + parentGroupId: group.parentGroupId || null, createdAt }; this.groupsMap.set(numId, newGroup);