mirror of
https://github.com/immich-app/immich.git
synced 2026-09-30 13:23:21 +08:00
chore: transition to nullable user.oauthId (#31560)
This commit is contained in:
@@ -3594,6 +3594,33 @@ export type SyncAuthUserV1 = {
|
||||
/** User storage label */
|
||||
storageLabel: string | null;
|
||||
};
|
||||
export type SyncAuthUserV2 = {
|
||||
avatarColor?: (UserAvatarColor) | null;
|
||||
/** User deleted at */
|
||||
deletedAt: string | null;
|
||||
/** User email */
|
||||
email: string;
|
||||
/** User has profile image */
|
||||
hasProfileImage: boolean;
|
||||
/** User ID */
|
||||
id: string;
|
||||
/** User is admin */
|
||||
isAdmin: boolean;
|
||||
/** User name */
|
||||
name: string;
|
||||
/** User OAuth ID */
|
||||
oauthId: string | null;
|
||||
/** User pin code */
|
||||
pinCode: string | null;
|
||||
/** User profile changed at */
|
||||
profileChangedAt: string;
|
||||
/** Quota size in bytes */
|
||||
quotaSizeInBytes: number | null;
|
||||
/** Quota usage in bytes */
|
||||
quotaUsageInBytes: number;
|
||||
/** User storage label */
|
||||
storageLabel: string | null;
|
||||
};
|
||||
export type SyncCompleteV1 = {};
|
||||
export type SyncMemoryAssetDeleteV1 = {
|
||||
/** Asset ID */
|
||||
@@ -8306,6 +8333,7 @@ export enum AssetIdErrorReason {
|
||||
}
|
||||
export enum SyncEntityType {
|
||||
AuthUserV1 = "AuthUserV1",
|
||||
AuthUserV2 = "AuthUserV2",
|
||||
UserV1 = "UserV1",
|
||||
UserDeleteV1 = "UserDeleteV1",
|
||||
AssetV1 = "AssetV1",
|
||||
@@ -8380,6 +8408,7 @@ export enum SyncRequestType {
|
||||
AssetMetadataV1 = "AssetMetadataV1",
|
||||
AssetOcrV1 = "AssetOcrV1",
|
||||
AuthUsersV1 = "AuthUsersV1",
|
||||
AuthUsersV2 = "AuthUsersV2",
|
||||
MemoriesV1 = "MemoriesV1",
|
||||
MemoryToAssetsV1 = "MemoryToAssetsV1",
|
||||
PartnersV1 = "PartnersV1",
|
||||
|
||||
Reference in New Issue
Block a user