Skip to content

Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.

462 B
Raw Blame
import { GROUP_TYPE, GROUP_VISIBILITY } from '../constants/group.js'
import type { Group } from '../schemas/group.interface.js'

export interface AdminGroup extends Omit<Group, 'parentId' | 'type'> {
  id: number
  name: string
  type: GROUP_TYPE
  description: string | null
  permissions: string
  visibility: GROUP_VISIBILITY
  createdAt: Date
  modifiedAt: Date | null
  parent: (Pick<Group, 'id' | 'name'> & { description?: Group['description'] }) | null
}