collab
This commit is contained in:
@@ -16,14 +16,27 @@ export interface UserListItem {
|
||||
updatedAt: string;
|
||||
}
|
||||
|
||||
export type UserListAccessRole = 'owner' | 'collaborator';
|
||||
|
||||
export interface UserListCollaborator {
|
||||
id: string;
|
||||
name?: string;
|
||||
email: string;
|
||||
role: 'collaborator';
|
||||
}
|
||||
|
||||
export interface UserList {
|
||||
id: string;
|
||||
ownerId: string;
|
||||
ownerName?: string;
|
||||
ownerEmail?: string;
|
||||
accessRole: UserListAccessRole;
|
||||
sourceTemplateId?: string;
|
||||
name: string;
|
||||
description?: string;
|
||||
kind: ListTemplateKind;
|
||||
items: UserListItem[];
|
||||
collaborators: UserListCollaborator[];
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user