mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
feat: sync memories (#19579)
This commit is contained in:
parent
97aabe466e
commit
6feca56da8
31 changed files with 1482 additions and 203 deletions
16
server/src/db.d.ts
vendored
16
server/src/db.d.ts
vendored
|
|
@ -19,8 +19,11 @@ import {
|
|||
SourceType,
|
||||
SyncEntityType,
|
||||
} from 'src/enum';
|
||||
import { MemoryAssetAuditTable } from 'src/schema/tables/memory-asset-audit.table';
|
||||
import { MemoryAssetTable } from 'src/schema/tables/memory-asset.table';
|
||||
import { MemoryAuditTable } from 'src/schema/tables/memory-audit.table';
|
||||
import { UserTable } from 'src/schema/tables/user.table';
|
||||
import { OnThisDayData, UserMetadataItem } from 'src/types';
|
||||
import { UserMetadataItem } from 'src/types';
|
||||
|
||||
export type ArrayType<T> = ArrayTypeImpl<T> extends (infer U)[] ? U[] : ArrayTypeImpl<T>;
|
||||
|
||||
|
|
@ -278,7 +281,7 @@ export interface Libraries {
|
|||
|
||||
export interface Memories {
|
||||
createdAt: Generated<Timestamp>;
|
||||
data: OnThisDayData;
|
||||
data: object;
|
||||
deletedAt: Timestamp | null;
|
||||
hideAt: Timestamp | null;
|
||||
id: Generated<string>;
|
||||
|
|
@ -307,11 +310,6 @@ export interface Notifications {
|
|||
readAt: Timestamp | null;
|
||||
}
|
||||
|
||||
export interface MemoriesAssetsAssets {
|
||||
assetsId: string;
|
||||
memoriesId: string;
|
||||
}
|
||||
|
||||
export interface Migrations {
|
||||
id: Generated<number>;
|
||||
name: string;
|
||||
|
|
@ -512,7 +510,9 @@ export interface DB {
|
|||
geodata_places: GeodataPlaces;
|
||||
libraries: Libraries;
|
||||
memories: Memories;
|
||||
memories_assets_assets: MemoriesAssetsAssets;
|
||||
memories_audit: MemoryAuditTable;
|
||||
memories_assets_assets: MemoryAssetTable;
|
||||
memory_assets_audit: MemoryAssetAuditTable;
|
||||
migrations: Migrations;
|
||||
notifications: Notifications;
|
||||
move_history: MoveHistory;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue