fix: check for create permissions

This commit is contained in:
joshuafhiggins committed 2026-01-12 21:09:30 -05:00
1 parent 66eb67ad49
commit 8d42dde9b2
5 files changed
+265 -239

No files matched your search

+14
View File
@@ -20,6 +20,20 @@ export interface AuthResponse {
record: User;
}
export interface PermissionResponse {
id: string;
collectionId: string;
collectionName: string;
user: User;
create: boolean;
read: Device[];
update: Device[];
delete: Device[];
power: Device[];
created: string;
updated: string;
}
export interface User {
id: string;
collectionId: string;