Skip to content

Commit 7313af3

Browse files
feat: add Permissions type to projects API for enhanced access control
1 parent 86d7c53 commit 7313af3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/types/api/projects.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ type ShareLinks = {
55
viewer: string;
66
};
77

8+
type Permissions = {
9+
can_read: boolean;
10+
can_update: boolean;
11+
can_destroy: boolean;
12+
can_leave: boolean;
13+
};
14+
815
export type Project = {
916
id: number;
1017
name: string;

0 commit comments

Comments
 (0)