mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
feat: pending sync reset flag (#19861)
This commit is contained in:
parent
34f0f6c813
commit
4b3a4725c6
28 changed files with 499 additions and 27 deletions
|
|
@ -201,6 +201,7 @@ export type Album = Selectable<AlbumTable> & {
|
|||
|
||||
export type AuthSession = {
|
||||
id: string;
|
||||
isPendingSyncReset: boolean;
|
||||
hasElevatedPermission: boolean;
|
||||
};
|
||||
|
||||
|
|
@ -238,6 +239,7 @@ export type Session = {
|
|||
deviceOS: string;
|
||||
deviceType: string;
|
||||
pinExpiresAt: Date | null;
|
||||
isPendingSyncReset: boolean;
|
||||
};
|
||||
|
||||
export type Exif = Omit<Selectable<ExifTable>, 'updatedAt' | 'updateId'>;
|
||||
|
|
@ -311,7 +313,7 @@ export const columns = {
|
|||
'users.quotaSizeInBytes',
|
||||
],
|
||||
authApiKey: ['api_keys.id', 'api_keys.permissions'],
|
||||
authSession: ['sessions.id', 'sessions.updatedAt', 'sessions.pinExpiresAt'],
|
||||
authSession: ['sessions.id', 'sessions.isPendingSyncReset', 'sessions.updatedAt', 'sessions.pinExpiresAt'],
|
||||
authSharedLink: [
|
||||
'shared_links.id',
|
||||
'shared_links.userId',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue