import { AccessLevel } from "../api/file-manager";


export interface Permission {
  id: number;
  userId: number;
  documentId: string;
  accessLevel: AccessLevel;
  expiresAt?: Date;
  createdAt: Date;
}

export interface PermissionUpdateRequest {
  userId: number;
  accessLevel: AccessLevel;
  expiresAt?: Date;
  email?: string;
}