mirror of
https://github.com/freedbygrace/DynamoDNS.git
synced 2026-08-03 06:57:40 +00:00
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
This commit is contained in:
+6
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user