Interface ProjectCardProps

interface ProjectCardProps {
    collaborators: string[];
    createdAt: string;
    id: string;
    lastModified: string;
    name: string;
    numberOfImages: string;
    numberOfStructures: string;
    onAddCollaborator: (email: string) => void;
    onChangeType: (id: string, newType: ProjectAccessType) => Promise<void>;
    onDelete: (id: string) => Promise<void>;
    onRename: (id: string, newName: string) => Promise<void>;
    owner: string;
    type: ProjectAccessType;
}

Properties

collaborators: string[]
createdAt: string
id: string
lastModified: string
name: string
numberOfImages: string
numberOfStructures: string
onAddCollaborator: (email: string) => void
onChangeType: (id: string, newType: ProjectAccessType) => Promise<void>
onDelete: (id: string) => Promise<void>
onRename: (id: string, newName: string) => Promise<void>
owner: string