mirror of
https://github.com/immich-app/immich.git
synced 2026-03-23 21:39:40 +03:00
feat: session permissions
This commit is contained in:
@@ -12219,6 +12219,12 @@
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"permissions": {
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/Permission"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"profileImagePath": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -12237,6 +12243,7 @@
|
||||
"isAdmin",
|
||||
"isOnboarded",
|
||||
"name",
|
||||
"permissions",
|
||||
"profileImagePath",
|
||||
"shouldChangePassword",
|
||||
"userEmail",
|
||||
@@ -14301,6 +14308,12 @@
|
||||
"isPendingSyncReset": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"permissions": {
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/Permission"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"token": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -14315,6 +14328,7 @@
|
||||
"deviceType",
|
||||
"id",
|
||||
"isPendingSyncReset",
|
||||
"permissions",
|
||||
"token",
|
||||
"updatedAt"
|
||||
],
|
||||
@@ -14343,6 +14357,12 @@
|
||||
"isPendingSyncReset": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"permissions": {
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/Permission"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"updatedAt": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -14354,6 +14374,7 @@
|
||||
"deviceType",
|
||||
"id",
|
||||
"isPendingSyncReset",
|
||||
"permissions",
|
||||
"updatedAt"
|
||||
],
|
||||
"type": "object"
|
||||
|
||||
@@ -556,6 +556,7 @@ export type LoginResponseDto = {
|
||||
isAdmin: boolean;
|
||||
isOnboarded: boolean;
|
||||
name: string;
|
||||
permissions: Permission[];
|
||||
profileImagePath: string;
|
||||
shouldChangePassword: boolean;
|
||||
userEmail: string;
|
||||
@@ -1194,6 +1195,7 @@ export type SessionResponseDto = {
|
||||
expiresAt?: string;
|
||||
id: string;
|
||||
isPendingSyncReset: boolean;
|
||||
permissions: Permission[];
|
||||
updatedAt: string;
|
||||
};
|
||||
export type SessionCreateDto = {
|
||||
@@ -1210,6 +1212,7 @@ export type SessionCreateResponseDto = {
|
||||
expiresAt?: string;
|
||||
id: string;
|
||||
isPendingSyncReset: boolean;
|
||||
permissions: Permission[];
|
||||
token: string;
|
||||
updatedAt: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user