@futo-org/backups-orchestrator-api 1.12.0 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/controllers/job.controller.d.ts +5 -4
- package/dist/controllers/job.controller.js +13 -12
- package/dist/controllers/job.controller.js.map +1 -1
- package/dist/controllers/onboarding.controller.d.ts +2 -1
- package/dist/controllers/onboarding.controller.js +16 -1
- package/dist/controllers/onboarding.controller.js.map +1 -1
- package/dist/controllers/schedule.controller.d.ts +3 -2
- package/dist/controllers/schedule.controller.js +8 -6
- package/dist/controllers/schedule.controller.js.map +1 -1
- package/dist/dto/onboarding.dto.d.ts +6 -0
- package/dist/dto/onboarding.dto.js +6 -0
- package/dist/dto/onboarding.dto.js.map +1 -1
- package/dist/dto/param.dto.d.ts +7 -0
- package/dist/dto/param.dto.js +6 -0
- package/dist/dto/param.dto.js.map +1 -0
- package/dist/enum.d.ts +3 -6
- package/dist/enum.js +2 -6
- package/dist/enum.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/jobs/repositoryBackup.job.js +25 -26
- package/dist/jobs/repositoryBackup.job.js.map +1 -1
- package/dist/jobs/repositoryRestoreFromPoint.job.d.ts +5 -3
- package/dist/jobs/repositoryRestoreFromPoint.job.js +23 -7
- package/dist/jobs/repositoryRestoreFromPoint.job.js.map +1 -1
- package/dist/legacy-sqlite/legacySqlite.d.ts +3 -0
- package/dist/legacy-sqlite/legacySqlite.js +38 -0
- package/dist/legacy-sqlite/legacySqlite.js.map +1 -0
- package/dist/legacy-sqlite/legacyState.repository.d.ts +9 -0
- package/dist/legacy-sqlite/legacyState.repository.js +221 -0
- package/dist/legacy-sqlite/legacyState.repository.js.map +1 -0
- package/dist/legacy-sqlite/migrations/20260218105210-InitialMigration.js.map +1 -0
- package/dist/legacy-sqlite/migrations/20260218122600-AddRepositories.js.map +1 -0
- package/dist/legacy-sqlite/migrations/20260224112323-RepositoryPathTable.js.map +1 -0
- package/dist/legacy-sqlite/migrations/20260224123344-RunHistoryTable.js.map +1 -0
- package/dist/legacy-sqlite/migrations/20260224125102-RepositoryMetricsTable.js.map +1 -0
- package/dist/legacy-sqlite/migrations/20260304162353-ScheduleTable.js.map +1 -0
- package/dist/legacy-sqlite/migrations/20260313222211-AddMetricsColumns.js.map +1 -0
- package/dist/legacy-sqlite/migrations/20260330120000-RepositoryIntegrationImmichTable.js.map +1 -0
- package/dist/legacy-sqlite/migrations/20260330130000-AddScheduleIdToImmichIntegration.js.map +1 -0
- package/dist/legacy-sqlite/migrations/20260507120000-AddRunHistoryType.js.map +1 -0
- package/dist/legacy-sqlite/migrations/20260512120000-AddRepositoryRetentionPolicy.js.map +1 -0
- package/dist/legacy-sqlite/migrations/20260512130000-AllowForgetRunHistoryType.js.map +1 -0
- package/dist/legacy-sqlite/migrations/20260603120000-AddRepositoryRemoteId.js.map +1 -0
- package/dist/legacy-sqlite/migrations/20260729130000-AddRepositoryPlacement.js.map +1 -0
- package/dist/legacy-sqlite/migrations/20260814120000-AllowWarnRunHistoryStatus.js.map +1 -0
- package/dist/legacy-sqlite/migrations/20260814120100-AddLastBackupStatus.js.map +1 -0
- package/dist/legacy-sqlite/migrations/20260917120000-AllowCancelledStatus.js.map +1 -0
- package/dist/legacy-sqlite/migrations/20261013120000-AddJobs.js.map +1 -0
- package/dist/legacy-sqlite/migrations/20261015120000-MigrateRunHistoryToJobs.js.map +1 -0
- package/dist/legacy-sqlite/migrations/20261015120100-DropRunHistory.js.map +1 -0
- package/dist/legacy-sqlite/schema.d.ts +60 -0
- package/dist/legacy-sqlite/schema.js +2 -0
- package/dist/legacy-sqlite/schema.js.map +1 -0
- package/dist/moduleConfig.d.ts +10 -2
- package/dist/moduleConfig.js.map +1 -1
- package/dist/orchestrationApi.module.d.ts +6 -5
- package/dist/orchestrationApi.module.js +3 -18
- package/dist/orchestrationApi.module.js.map +1 -1
- package/dist/pglite.d.ts +5 -0
- package/dist/pglite.js +59 -0
- package/dist/pglite.js.map +1 -0
- package/dist/repositories/backend.repository.d.ts +2 -2
- package/dist/repositories/backend.repository.js +11 -22
- package/dist/repositories/backend.repository.js.map +1 -1
- package/dist/repositories/config.repository.d.ts +8 -2
- package/dist/repositories/config.repository.js +64 -54
- package/dist/repositories/config.repository.js.map +1 -1
- package/dist/repositories/database.repository.d.ts +4 -2
- package/dist/repositories/database.repository.js +24 -40
- package/dist/repositories/database.repository.js.map +1 -1
- package/dist/repositories/job.repository.d.ts +57 -11
- package/dist/repositories/job.repository.js +148 -66
- package/dist/repositories/job.repository.js.map +1 -1
- package/dist/repositories/repository.repository.d.ts +27 -15
- package/dist/repositories/repository.repository.js +11 -51
- package/dist/repositories/repository.repository.js.map +1 -1
- package/dist/repositories/repositoryIntegrationImmich.repository.d.ts +2 -6
- package/dist/repositories/repositoryIntegrationImmich.repository.js +16 -14
- package/dist/repositories/repositoryIntegrationImmich.repository.js.map +1 -1
- package/dist/repositories/repositoryLocalMetrics.repository.d.ts +8 -10
- package/dist/repositories/repositoryLocalMetrics.repository.js +23 -17
- package/dist/repositories/repositoryLocalMetrics.repository.js.map +1 -1
- package/dist/repositories/repositoryPath.repository.d.ts +4 -4
- package/dist/repositories/repositoryPath.repository.js +11 -7
- package/dist/repositories/repositoryPath.repository.js.map +1 -1
- package/dist/repositories/schedule.repository.d.ts +19 -18
- package/dist/repositories/schedule.repository.js +45 -44
- package/dist/repositories/schedule.repository.js.map +1 -1
- package/dist/schema/enums.d.ts +4 -0
- package/dist/schema/enums.js +19 -0
- package/dist/schema/enums.js.map +1 -0
- package/dist/schema/index.d.ts +14 -10
- package/dist/schema/index.js +35 -1
- package/dist/schema/index.js.map +1 -1
- package/dist/schema/migrations/1793295581871-InitialMigration.d.ts +3 -0
- package/dist/schema/migrations/1793295581871-InitialMigration.js +106 -0
- package/dist/schema/migrations/1793295581871-InitialMigration.js.map +1 -0
- package/dist/schema/tables/backend.table.d.ts +2 -2
- package/dist/schema/tables/backend.table.js +24 -2
- package/dist/schema/tables/backend.table.js.map +1 -1
- package/dist/schema/tables/config.table.d.ts +38 -3
- package/dist/schema/tables/config.table.js +26 -2
- package/dist/schema/tables/config.table.js.map +1 -1
- package/dist/schema/tables/job.table.d.ts +10 -6
- package/dist/schema/tables/job.table.js +75 -2
- package/dist/schema/tables/job.table.js.map +1 -1
- package/dist/schema/tables/repository.table.d.ts +4 -2
- package/dist/schema/tables/repository.table.js +41 -2
- package/dist/schema/tables/repository.table.js.map +1 -1
- package/dist/schema/tables/repositoryIntegrationImmich.table.d.ts +2 -2
- package/dist/schema/tables/repositoryIntegrationImmich.table.js +31 -3
- package/dist/schema/tables/repositoryIntegrationImmich.table.js.map +1 -1
- package/dist/schema/tables/repositoryLocalMetrics.table.d.ts +6 -5
- package/dist/schema/tables/repositoryLocalMetrics.table.js +39 -3
- package/dist/schema/tables/repositoryLocalMetrics.table.js.map +1 -1
- package/dist/schema/tables/repositoryPath.table.d.ts +1 -1
- package/dist/schema/tables/repositoryPath.table.js +26 -3
- package/dist/schema/tables/repositoryPath.table.js.map +1 -1
- package/dist/schema/tables/repositorySchedule.table.d.ts +2 -2
- package/dist/schema/tables/repositorySchedule.table.js +28 -4
- package/dist/schema/tables/repositorySchedule.table.js.map +1 -1
- package/dist/schema/tables/schedule.table.d.ts +6 -5
- package/dist/schema/tables/schedule.table.js +44 -2
- package/dist/schema/tables/schedule.table.js.map +1 -1
- package/dist/services/bootstrap.service.d.ts +5 -1
- package/dist/services/bootstrap.service.js +18 -2
- package/dist/services/bootstrap.service.js.map +1 -1
- package/dist/services/development.service.d.ts +3 -4
- package/dist/services/development.service.js +6 -18
- package/dist/services/development.service.js.map +1 -1
- package/dist/services/integrations.service.d.ts +5 -3
- package/dist/services/integrations.service.js +23 -12
- package/dist/services/integrations.service.js.map +1 -1
- package/dist/services/onboarding.service.d.ts +6 -2
- package/dist/services/onboarding.service.js +27 -2
- package/dist/services/onboarding.service.js.map +1 -1
- package/dist/services/repository.service.d.ts +1 -1
- package/dist/services/repository.service.js +17 -15
- package/dist/services/repository.service.js.map +1 -1
- package/dist/services/schedule.service.js +13 -14
- package/dist/services/schedule.service.js.map +1 -1
- package/dist/services/yucca.service.d.ts +26 -7
- package/dist/services/yucca.service.js +6 -7
- package/dist/services/yucca.service.js.map +1 -1
- package/dist/utils/restic.d.ts +2 -0
- package/dist/utils/restic.js +1 -0
- package/dist/utils/restic.js.map +1 -1
- package/package.json +28 -4
- package/dist/schema/migrations/20260218105210-InitialMigration.js.map +0 -1
- package/dist/schema/migrations/20260218122600-AddRepositories.js.map +0 -1
- package/dist/schema/migrations/20260224112323-RepositoryPathTable.js.map +0 -1
- package/dist/schema/migrations/20260224123344-RunHistoryTable.js.map +0 -1
- package/dist/schema/migrations/20260224125102-RepositoryMetricsTable.js.map +0 -1
- package/dist/schema/migrations/20260304162353-ScheduleTable.js.map +0 -1
- package/dist/schema/migrations/20260313222211-AddMetricsColumns.js.map +0 -1
- package/dist/schema/migrations/20260330120000-RepositoryIntegrationImmichTable.js.map +0 -1
- package/dist/schema/migrations/20260330130000-AddScheduleIdToImmichIntegration.js.map +0 -1
- package/dist/schema/migrations/20260507120000-AddRunHistoryType.js.map +0 -1
- package/dist/schema/migrations/20260512120000-AddRepositoryRetentionPolicy.js.map +0 -1
- package/dist/schema/migrations/20260512130000-AllowForgetRunHistoryType.js.map +0 -1
- package/dist/schema/migrations/20260603120000-AddRepositoryRemoteId.js.map +0 -1
- package/dist/schema/migrations/20260729130000-AddRepositoryPlacement.js.map +0 -1
- package/dist/schema/migrations/20260814120000-AllowWarnRunHistoryStatus.js.map +0 -1
- package/dist/schema/migrations/20260814120100-AddLastBackupStatus.js.map +0 -1
- package/dist/schema/migrations/20260917120000-AllowCancelledStatus.js.map +0 -1
- package/dist/schema/migrations/20261013120000-AddJobs.js.map +0 -1
- package/dist/schema/migrations/20261015120000-MigrateRunHistoryToJobs.js.map +0 -1
- package/dist/schema/migrations/20261015120100-DropRunHistory.js.map +0 -1
- /package/dist/{schema → legacy-sqlite}/migrations/20260218105210-InitialMigration.d.ts +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20260218105210-InitialMigration.js +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20260218122600-AddRepositories.d.ts +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20260218122600-AddRepositories.js +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20260224112323-RepositoryPathTable.d.ts +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20260224112323-RepositoryPathTable.js +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20260224123344-RunHistoryTable.d.ts +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20260224123344-RunHistoryTable.js +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20260224125102-RepositoryMetricsTable.d.ts +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20260224125102-RepositoryMetricsTable.js +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20260304162353-ScheduleTable.d.ts +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20260304162353-ScheduleTable.js +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20260313222211-AddMetricsColumns.d.ts +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20260313222211-AddMetricsColumns.js +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20260330120000-RepositoryIntegrationImmichTable.d.ts +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20260330120000-RepositoryIntegrationImmichTable.js +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20260330130000-AddScheduleIdToImmichIntegration.d.ts +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20260330130000-AddScheduleIdToImmichIntegration.js +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20260507120000-AddRunHistoryType.d.ts +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20260507120000-AddRunHistoryType.js +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20260512120000-AddRepositoryRetentionPolicy.d.ts +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20260512120000-AddRepositoryRetentionPolicy.js +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20260512130000-AllowForgetRunHistoryType.d.ts +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20260512130000-AllowForgetRunHistoryType.js +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20260603120000-AddRepositoryRemoteId.d.ts +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20260603120000-AddRepositoryRemoteId.js +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20260729130000-AddRepositoryPlacement.d.ts +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20260729130000-AddRepositoryPlacement.js +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20260814120000-AllowWarnRunHistoryStatus.d.ts +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20260814120000-AllowWarnRunHistoryStatus.js +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20260814120100-AddLastBackupStatus.d.ts +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20260814120100-AddLastBackupStatus.js +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20260917120000-AllowCancelledStatus.d.ts +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20260917120000-AllowCancelledStatus.js +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20261013120000-AddJobs.d.ts +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20261013120000-AddJobs.js +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20261015120000-MigrateRunHistoryToJobs.d.ts +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20261015120000-MigrateRunHistoryToJobs.js +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20261015120100-DropRunHistory.d.ts +0 -0
- /package/dist/{schema → legacy-sqlite}/migrations/20261015120100-DropRunHistory.js +0 -0
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { type Generated } from '@immich/sql-tools';
|
|
2
|
+
import type { RetentionPolicy } from '../../utils/restic.js';
|
|
1
3
|
export declare class RepositoryTable {
|
|
2
|
-
id: string
|
|
4
|
+
id: Generated<string>;
|
|
3
5
|
remoteId: string;
|
|
4
6
|
backendId: string;
|
|
5
|
-
retentionPolicy:
|
|
7
|
+
retentionPolicy: RetentionPolicy | null;
|
|
6
8
|
siteCode: string | null;
|
|
7
9
|
storageClusterCode: string | null;
|
|
8
10
|
}
|
|
@@ -1,9 +1,48 @@
|
|
|
1
|
-
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { Column, ForeignKeyColumn, PrimaryColumn, Table } from '@immich/sql-tools';
|
|
11
|
+
import { BackendTable } from './backend.table.js';
|
|
12
|
+
let RepositoryTable = class RepositoryTable {
|
|
2
13
|
id;
|
|
3
14
|
remoteId;
|
|
4
15
|
backendId;
|
|
5
16
|
retentionPolicy;
|
|
6
17
|
siteCode;
|
|
7
18
|
storageClusterCode;
|
|
8
|
-
}
|
|
19
|
+
};
|
|
20
|
+
__decorate([
|
|
21
|
+
PrimaryColumn({ type: 'uuid', default: () => 'gen_random_uuid()' }),
|
|
22
|
+
__metadata("design:type", Object)
|
|
23
|
+
], RepositoryTable.prototype, "id", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
Column({ type: 'text' }),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], RepositoryTable.prototype, "remoteId", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
ForeignKeyColumn(() => BackendTable, { onDelete: 'RESTRICT', onUpdate: 'CASCADE' }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], RepositoryTable.prototype, "backendId", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
Column({ type: 'jsonb', nullable: true }),
|
|
34
|
+
__metadata("design:type", Object)
|
|
35
|
+
], RepositoryTable.prototype, "retentionPolicy", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
Column({ type: 'text', nullable: true }),
|
|
38
|
+
__metadata("design:type", Object)
|
|
39
|
+
], RepositoryTable.prototype, "siteCode", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
Column({ type: 'text', nullable: true }),
|
|
42
|
+
__metadata("design:type", Object)
|
|
43
|
+
], RepositoryTable.prototype, "storageClusterCode", void 0);
|
|
44
|
+
RepositoryTable = __decorate([
|
|
45
|
+
Table({ name: 'futo_backups_repositories' })
|
|
46
|
+
], RepositoryTable);
|
|
47
|
+
export { RepositoryTable };
|
|
9
48
|
//# sourceMappingURL=repository.table.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repository.table.js","sourceRoot":"","sources":["../../../src/schema/tables/repository.table.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,eAAe;
|
|
1
|
+
{"version":3,"file":"repository.table.js","sourceRoot":"","sources":["../../../src/schema/tables/repository.table.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAkB,aAAa,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAEnG,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAG3C,IAAM,eAAe,GAArB,MAAM,eAAe;IAE1B,EAAE,CAAqB;IAGvB,QAAQ,CAAU;IAGlB,SAAS,CAAU;IAGnB,eAAe,CAA0B;IAGzC,QAAQ,CAAiB;IAGzB,kBAAkB,CAAiB;CACpC,CAAA;AAhBC;IADC,aAAa,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB,EAAE,CAAC;;2CAC7C;AAGvB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;iDACP;AAGlB;IADC,gBAAgB,CAAC,GAAG,EAAE,CAAC,YAAY,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;;kDACjE;AAGnB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wDACD;AAGzC;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDAChB;AAGzB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DACN;AAjBxB,eAAe;IAD3B,KAAK,CAAC,EAAE,IAAI,EAAE,2BAA2B,EAAE,CAAC;GAChC,eAAe,CAkB3B"}
|
|
@@ -1,6 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { Column, ForeignKeyColumn, Table } from '@immich/sql-tools';
|
|
11
|
+
import { RepositoryTable } from './repository.table.js';
|
|
12
|
+
import { ScheduleTable } from './schedule.table.js';
|
|
13
|
+
let RepositoryIntegrationImmichTable = class RepositoryIntegrationImmichTable {
|
|
14
|
+
repositoryId;
|
|
3
15
|
scheduleId;
|
|
4
16
|
configuration;
|
|
5
|
-
}
|
|
17
|
+
};
|
|
18
|
+
__decorate([
|
|
19
|
+
ForeignKeyColumn(() => RepositoryTable, { primary: true, onDelete: 'CASCADE', onUpdate: 'CASCADE' }),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], RepositoryIntegrationImmichTable.prototype, "repositoryId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
ForeignKeyColumn(() => ScheduleTable, { onDelete: 'RESTRICT', onUpdate: 'CASCADE' }),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], RepositoryIntegrationImmichTable.prototype, "scheduleId", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
Column({ type: 'jsonb' }),
|
|
28
|
+
__metadata("design:type", Object)
|
|
29
|
+
], RepositoryIntegrationImmichTable.prototype, "configuration", void 0);
|
|
30
|
+
RepositoryIntegrationImmichTable = __decorate([
|
|
31
|
+
Table({ name: 'futo_backups_integrations_immich_config' })
|
|
32
|
+
], RepositoryIntegrationImmichTable);
|
|
33
|
+
export { RepositoryIntegrationImmichTable };
|
|
6
34
|
//# sourceMappingURL=repositoryIntegrationImmich.table.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryIntegrationImmich.table.js","sourceRoot":"","sources":["../../../src/schema/tables/repositoryIntegrationImmich.table.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"repositoryIntegrationImmich.table.js","sourceRoot":"","sources":["../../../src/schema/tables/repositoryIntegrationImmich.table.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAS7C,IAAM,gCAAgC,GAAtC,MAAM,gCAAgC;IAE3C,YAAY,CAAU;IAGtB,UAAU,CAAU;IAGpB,aAAa,CAA0B;CACxC,CAAA;AAPC;IADC,gBAAgB,CAAC,GAAG,EAAE,CAAC,eAAe,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;;sEAC/E;AAGtB;IADC,gBAAgB,CAAC,GAAG,EAAE,CAAC,aAAa,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;;oEACjE;AAGpB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;;uEACa;AAR5B,gCAAgC;IAD5C,KAAK,CAAC,EAAE,IAAI,EAAE,yCAAyC,EAAE,CAAC;GAC9C,gCAAgC,CAS5C"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { type Generated, type Int8, type Timestamp } from '@immich/sql-tools';
|
|
1
2
|
import { TaskStatus } from '../../enum.js';
|
|
2
3
|
export declare class RepositoryLocalMetricsTable {
|
|
3
|
-
|
|
4
|
-
sizeBytes:
|
|
5
|
-
lastBackup
|
|
6
|
-
lastBackupStatus
|
|
7
|
-
lastBackupDuration
|
|
4
|
+
repositoryId: string;
|
|
5
|
+
sizeBytes: Generated<Int8>;
|
|
6
|
+
lastBackup: Timestamp | null;
|
|
7
|
+
lastBackupStatus: TaskStatus | null;
|
|
8
|
+
lastBackupDuration: number | null;
|
|
8
9
|
}
|
|
@@ -1,8 +1,44 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { Column, ForeignKeyColumn, Table } from '@immich/sql-tools';
|
|
11
|
+
import { last_backup_status_enum } from '../enums.js';
|
|
12
|
+
import { RepositoryTable } from './repository.table.js';
|
|
13
|
+
let RepositoryLocalMetricsTable = class RepositoryLocalMetricsTable {
|
|
14
|
+
repositoryId;
|
|
3
15
|
sizeBytes;
|
|
4
16
|
lastBackup;
|
|
5
17
|
lastBackupStatus;
|
|
6
18
|
lastBackupDuration;
|
|
7
|
-
}
|
|
19
|
+
};
|
|
20
|
+
__decorate([
|
|
21
|
+
ForeignKeyColumn(() => RepositoryTable, { primary: true, onDelete: 'CASCADE', onUpdate: 'CASCADE' }),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], RepositoryLocalMetricsTable.prototype, "repositoryId", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
Column({ type: 'bigint', default: 0 }),
|
|
26
|
+
__metadata("design:type", Object)
|
|
27
|
+
], RepositoryLocalMetricsTable.prototype, "sizeBytes", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
Column({ type: 'timestamp with time zone', nullable: true }),
|
|
30
|
+
__metadata("design:type", Object)
|
|
31
|
+
], RepositoryLocalMetricsTable.prototype, "lastBackup", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
Column({ type: 'enum', enum: last_backup_status_enum, nullable: true }),
|
|
34
|
+
__metadata("design:type", Object)
|
|
35
|
+
], RepositoryLocalMetricsTable.prototype, "lastBackupStatus", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
Column({ type: 'integer', nullable: true }),
|
|
38
|
+
__metadata("design:type", Object)
|
|
39
|
+
], RepositoryLocalMetricsTable.prototype, "lastBackupDuration", void 0);
|
|
40
|
+
RepositoryLocalMetricsTable = __decorate([
|
|
41
|
+
Table({ name: 'futo_backups_local_metrics' })
|
|
42
|
+
], RepositoryLocalMetricsTable);
|
|
43
|
+
export { RepositoryLocalMetricsTable };
|
|
8
44
|
//# sourceMappingURL=repositoryLocalMetrics.table.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryLocalMetrics.table.js","sourceRoot":"","sources":["../../../src/schema/tables/repositoryLocalMetrics.table.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"repositoryLocalMetrics.table.js","sourceRoot":"","sources":["../../../src/schema/tables/repositoryLocalMetrics.table.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAA6B,KAAK,EAAkB,MAAM,mBAAmB,CAAC;AAE/G,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAGjD,IAAM,2BAA2B,GAAjC,MAAM,2BAA2B;IAEtC,YAAY,CAAU;IAGtB,SAAS,CAAmB;IAG5B,UAAU,CAAoB;IAG9B,gBAAgB,CAAqB;IAGrC,kBAAkB,CAAiB;CACpC,CAAA;AAbC;IADC,gBAAgB,CAAC,GAAG,EAAE,CAAC,eAAe,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;;iEAC/E;AAGtB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;8DACX;AAG5B;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,0BAA0B,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+DAC/B;AAG9B;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,uBAAuB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qEACnC;AAGrC;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uEACT;AAdxB,2BAA2B;IADvC,KAAK,CAAC,EAAE,IAAI,EAAE,4BAA4B,EAAE,CAAC;GACjC,2BAA2B,CAevC"}
|
|
@@ -1,5 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { ForeignKeyColumn, PrimaryColumn, Table } from '@immich/sql-tools';
|
|
11
|
+
import { RepositoryTable } from './repository.table.js';
|
|
12
|
+
let RepositoryPathTable = class RepositoryPathTable {
|
|
13
|
+
repositoryId;
|
|
3
14
|
path;
|
|
4
|
-
}
|
|
15
|
+
};
|
|
16
|
+
__decorate([
|
|
17
|
+
ForeignKeyColumn(() => RepositoryTable, { primary: true, onDelete: 'CASCADE', onUpdate: 'CASCADE' }),
|
|
18
|
+
__metadata("design:type", String)
|
|
19
|
+
], RepositoryPathTable.prototype, "repositoryId", void 0);
|
|
20
|
+
__decorate([
|
|
21
|
+
PrimaryColumn({ type: 'text' }),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], RepositoryPathTable.prototype, "path", void 0);
|
|
24
|
+
RepositoryPathTable = __decorate([
|
|
25
|
+
Table({ name: 'futo_backups_repository_path' })
|
|
26
|
+
], RepositoryPathTable);
|
|
27
|
+
export { RepositoryPathTable };
|
|
5
28
|
//# sourceMappingURL=repositoryPath.table.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryPath.table.js","sourceRoot":"","sources":["../../../src/schema/tables/repositoryPath.table.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,mBAAmB;
|
|
1
|
+
{"version":3,"file":"repositoryPath.table.js","sourceRoot":"","sources":["../../../src/schema/tables/repositoryPath.table.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAGjD,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAE9B,YAAY,CAAU;IAGtB,IAAI,CAAU;CACf,CAAA;AAJC;IADC,gBAAgB,CAAC,GAAG,EAAE,CAAC,eAAe,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;;yDAC/E;AAGtB;IADC,aAAa,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;iDAClB;AALH,mBAAmB;IAD/B,KAAK,CAAC,EAAE,IAAI,EAAE,8BAA8B,EAAE,CAAC;GACnC,mBAAmB,CAM/B"}
|
|
@@ -1,5 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { ForeignKeyColumn, Table } from '@immich/sql-tools';
|
|
11
|
+
import { RepositoryTable } from './repository.table.js';
|
|
12
|
+
import { ScheduleTable } from './schedule.table.js';
|
|
13
|
+
let RepositoryScheduleTable = class RepositoryScheduleTable {
|
|
14
|
+
scheduleId;
|
|
15
|
+
repositoryId;
|
|
16
|
+
};
|
|
17
|
+
__decorate([
|
|
18
|
+
ForeignKeyColumn(() => ScheduleTable, { primary: true, onDelete: 'CASCADE', onUpdate: 'CASCADE' }),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], RepositoryScheduleTable.prototype, "scheduleId", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
ForeignKeyColumn(() => RepositoryTable, { primary: true, onDelete: 'CASCADE', onUpdate: 'CASCADE' }),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], RepositoryScheduleTable.prototype, "repositoryId", void 0);
|
|
25
|
+
RepositoryScheduleTable = __decorate([
|
|
26
|
+
Table({ name: 'futo_backups_repository_schedule' })
|
|
27
|
+
], RepositoryScheduleTable);
|
|
28
|
+
export { RepositoryScheduleTable };
|
|
5
29
|
//# sourceMappingURL=repositorySchedule.table.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositorySchedule.table.js","sourceRoot":"","sources":["../../../src/schema/tables/repositorySchedule.table.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,uBAAuB;
|
|
1
|
+
{"version":3,"file":"repositorySchedule.table.js","sourceRoot":"","sources":["../../../src/schema/tables/repositorySchedule.table.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAG7C,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;IAElC,UAAU,CAAU;IAGpB,YAAY,CAAU;CACvB,CAAA;AAJC;IADC,gBAAgB,CAAC,GAAG,EAAE,CAAC,aAAa,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;;2DAC/E;AAGpB;IADC,gBAAgB,CAAC,GAAG,EAAE,CAAC,eAAe,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;;6DAC/E;AALX,uBAAuB;IADnC,KAAK,CAAC,EAAE,IAAI,EAAE,kCAAkC,EAAE,CAAC;GACvC,uBAAuB,CAMnC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { type Generated, type Timestamp } from '@immich/sql-tools';
|
|
1
2
|
export declare class ScheduleTable {
|
|
2
|
-
id: string
|
|
3
|
+
id: Generated<string>;
|
|
3
4
|
name: string;
|
|
4
|
-
paused:
|
|
5
|
+
paused: Generated<boolean>;
|
|
5
6
|
cron: string;
|
|
6
|
-
ordering: string
|
|
7
|
-
lastRun
|
|
8
|
-
lastFinished
|
|
7
|
+
ordering: Generated<string[]>;
|
|
8
|
+
lastRun: Timestamp | null;
|
|
9
|
+
lastFinished: Timestamp | null;
|
|
9
10
|
}
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { Column, PrimaryColumn, Table } from '@immich/sql-tools';
|
|
11
|
+
let ScheduleTable = class ScheduleTable {
|
|
2
12
|
id;
|
|
3
13
|
name;
|
|
4
14
|
paused;
|
|
@@ -6,5 +16,37 @@ export class ScheduleTable {
|
|
|
6
16
|
ordering;
|
|
7
17
|
lastRun;
|
|
8
18
|
lastFinished;
|
|
9
|
-
}
|
|
19
|
+
};
|
|
20
|
+
__decorate([
|
|
21
|
+
PrimaryColumn({ type: 'uuid', default: () => 'gen_random_uuid()' }),
|
|
22
|
+
__metadata("design:type", Object)
|
|
23
|
+
], ScheduleTable.prototype, "id", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
Column({ type: 'text' }),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], ScheduleTable.prototype, "name", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
Column({ type: 'boolean', default: false }),
|
|
30
|
+
__metadata("design:type", Object)
|
|
31
|
+
], ScheduleTable.prototype, "paused", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
Column({ type: 'text' }),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], ScheduleTable.prototype, "cron", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
Column({ type: 'uuid', array: true, default: () => "'{}'::uuid[]" }),
|
|
38
|
+
__metadata("design:type", Object)
|
|
39
|
+
], ScheduleTable.prototype, "ordering", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
Column({ type: 'timestamp with time zone', nullable: true }),
|
|
42
|
+
__metadata("design:type", Object)
|
|
43
|
+
], ScheduleTable.prototype, "lastRun", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
Column({ type: 'timestamp with time zone', nullable: true }),
|
|
46
|
+
__metadata("design:type", Object)
|
|
47
|
+
], ScheduleTable.prototype, "lastFinished", void 0);
|
|
48
|
+
ScheduleTable = __decorate([
|
|
49
|
+
Table({ name: 'futo_backups_schedule' })
|
|
50
|
+
], ScheduleTable);
|
|
51
|
+
export { ScheduleTable };
|
|
10
52
|
//# sourceMappingURL=schedule.table.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schedule.table.js","sourceRoot":"","sources":["../../../src/schema/tables/schedule.table.ts"],"names":[],"mappings":"AAAA,MAAM,
|
|
1
|
+
{"version":3,"file":"schedule.table.js","sourceRoot":"","sources":["../../../src/schema/tables/schedule.table.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAkB,aAAa,EAAE,KAAK,EAAkB,MAAM,mBAAmB,CAAC;AAG1F,IAAM,aAAa,GAAnB,MAAM,aAAa;IAExB,EAAE,CAAqB;IAGvB,IAAI,CAAU;IAGd,MAAM,CAAsB;IAG5B,IAAI,CAAU;IAGd,QAAQ,CAAuB;IAG/B,OAAO,CAAoB;IAG3B,YAAY,CAAoB;CACjC,CAAA;AAnBC;IADC,aAAa,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB,EAAE,CAAC;;yCAC7C;AAGvB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;2CACX;AAGd;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;6CAChB;AAG5B;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;2CACX;AAGd;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,cAAc,EAAE,CAAC;;+CACtC;AAG/B;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,0BAA0B,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CAClC;AAG3B;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,0BAA0B,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDAC7B;AApBrB,aAAa;IADzB,KAAK,CAAC,EAAE,IAAI,EAAE,uBAAuB,EAAE,CAAC;GAC5B,aAAa,CAqBzB"}
|
|
@@ -1,21 +1,25 @@
|
|
|
1
1
|
import { OnApplicationBootstrap } from '@nestjs/common';
|
|
2
|
+
import { LegacyStateRepository } from '../legacy-sqlite/legacyState.repository.js';
|
|
2
3
|
import { BootstrapRepository } from '../repositories/bootstrap.repository.js';
|
|
3
4
|
import { ConfigRepository } from '../repositories/config.repository.js';
|
|
4
5
|
import { DatabaseRepository } from '../repositories/database.repository.js';
|
|
5
6
|
import { LoggingRepository } from '../repositories/logging.repository.js';
|
|
6
7
|
import { ModuleConfigRepository } from '../repositories/moduleConfig.repository.js';
|
|
7
8
|
import { ConfigService } from './config.service.js';
|
|
9
|
+
import { IntegrationsService } from './integrations.service.js';
|
|
8
10
|
import { JobService } from './job.service.js';
|
|
9
11
|
import { ScheduleService } from './schedule.service.js';
|
|
10
12
|
export declare class BootstrapService implements OnApplicationBootstrap {
|
|
11
13
|
private readonly logger;
|
|
12
14
|
private readonly database;
|
|
15
|
+
private readonly legacyState;
|
|
13
16
|
private readonly jobService;
|
|
14
17
|
private readonly config;
|
|
15
18
|
private readonly configService;
|
|
16
19
|
private readonly schedule;
|
|
17
20
|
private readonly bootstrap;
|
|
18
21
|
private readonly moduleConfig;
|
|
19
|
-
|
|
22
|
+
private readonly integrations;
|
|
23
|
+
constructor(logger: LoggingRepository, database: DatabaseRepository, legacyState: LegacyStateRepository, jobService: JobService, config: ConfigRepository, configService: ConfigService, schedule: ScheduleService, bootstrap: BootstrapRepository, moduleConfig: ModuleConfigRepository, integrations: IntegrationsService);
|
|
20
24
|
onApplicationBootstrap(): Promise<void>;
|
|
21
25
|
}
|
|
@@ -9,6 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
};
|
|
10
10
|
var BootstrapService_1;
|
|
11
11
|
import { Injectable } from '@nestjs/common';
|
|
12
|
+
import { LegacyStateRepository } from '../legacy-sqlite/legacyState.repository.js';
|
|
12
13
|
import { BootstrapRepository } from '../repositories/bootstrap.repository.js';
|
|
13
14
|
import { ConfigRepository } from '../repositories/config.repository.js';
|
|
14
15
|
import { DatabaseRepository } from '../repositories/database.repository.js';
|
|
@@ -16,38 +17,51 @@ import { LoggingRepository } from '../repositories/logging.repository.js';
|
|
|
16
17
|
import { ModuleConfigRepository } from '../repositories/moduleConfig.repository.js';
|
|
17
18
|
import { discardStateCacheDirectory } from '../utils/cache.js';
|
|
18
19
|
import { ConfigService } from './config.service.js';
|
|
20
|
+
import { IntegrationsService } from './integrations.service.js';
|
|
19
21
|
import { JobService } from './job.service.js';
|
|
20
22
|
import { ScheduleService } from './schedule.service.js';
|
|
21
23
|
let BootstrapService = BootstrapService_1 = class BootstrapService {
|
|
22
24
|
logger;
|
|
23
25
|
database;
|
|
26
|
+
legacyState;
|
|
24
27
|
jobService;
|
|
25
28
|
config;
|
|
26
29
|
configService;
|
|
27
30
|
schedule;
|
|
28
31
|
bootstrap;
|
|
29
32
|
moduleConfig;
|
|
30
|
-
|
|
33
|
+
integrations;
|
|
34
|
+
constructor(logger, database, legacyState, jobService, config, configService, schedule, bootstrap, moduleConfig, integrations) {
|
|
31
35
|
this.logger = logger;
|
|
32
36
|
this.database = database;
|
|
37
|
+
this.legacyState = legacyState;
|
|
33
38
|
this.jobService = jobService;
|
|
34
39
|
this.config = config;
|
|
35
40
|
this.configService = configService;
|
|
36
41
|
this.schedule = schedule;
|
|
37
42
|
this.bootstrap = bootstrap;
|
|
38
43
|
this.moduleConfig = moduleConfig;
|
|
44
|
+
this.integrations = integrations;
|
|
39
45
|
this.logger.setContext(BootstrapService_1.name);
|
|
40
46
|
}
|
|
41
47
|
async onApplicationBootstrap() {
|
|
42
48
|
try {
|
|
49
|
+
if (this.moduleConfig.get().requireLock && !this.moduleConfig.hasLock()) {
|
|
50
|
+
const locked = await this.database.tryLock('futo_backups_module_config');
|
|
51
|
+
if (locked) {
|
|
52
|
+
this.moduleConfig.acquireLock();
|
|
53
|
+
}
|
|
54
|
+
}
|
|
43
55
|
if (this.moduleConfig.hasLock()) {
|
|
44
56
|
await discardStateCacheDirectory(this.moduleConfig.get());
|
|
45
57
|
}
|
|
46
58
|
await this.database.runMigrations();
|
|
59
|
+
await this.legacyState.importFrom(this.moduleConfig.get().statePath);
|
|
47
60
|
await this.config.bootstrap();
|
|
48
61
|
await this.configService.bootstrap();
|
|
49
62
|
await this.schedule.bootstrap();
|
|
50
63
|
await this.jobService.bootstrap();
|
|
64
|
+
await this.integrations.bootstrap();
|
|
51
65
|
const { backends, repositories, activeSchedules } = await this.config.getStateSummary();
|
|
52
66
|
this.logger.log('Successfully finished FUTO Backups bootstrap.');
|
|
53
67
|
this.logger.log(`Found ${backends} ${backends === 1 ? 'backend' : 'backends'}, ${repositories} ${repositories === 1 ? 'repository' : 'repositories'}, and ${activeSchedules} active ${activeSchedules === 1 ? 'schedule' : 'schedules'}.`);
|
|
@@ -63,12 +77,14 @@ BootstrapService = BootstrapService_1 = __decorate([
|
|
|
63
77
|
Injectable(),
|
|
64
78
|
__metadata("design:paramtypes", [LoggingRepository,
|
|
65
79
|
DatabaseRepository,
|
|
80
|
+
LegacyStateRepository,
|
|
66
81
|
JobService,
|
|
67
82
|
ConfigRepository,
|
|
68
83
|
ConfigService,
|
|
69
84
|
ScheduleService,
|
|
70
85
|
BootstrapRepository,
|
|
71
|
-
ModuleConfigRepository
|
|
86
|
+
ModuleConfigRepository,
|
|
87
|
+
IntegrationsService])
|
|
72
88
|
], BootstrapService);
|
|
73
89
|
export { BootstrapService };
|
|
74
90
|
//# sourceMappingURL=bootstrap.service.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bootstrap.service.js","sourceRoot":"","sources":["../../src/services/bootstrap.service.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAA0B,MAAM,gBAAgB,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACpF,OAAO,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAGjD,IAAM,gBAAgB,wBAAtB,MAAM,gBAAgB;IAER;IACA;IACA;IACA;IACA;IACA;IACA;IACA;
|
|
1
|
+
{"version":3,"file":"bootstrap.service.js","sourceRoot":"","sources":["../../src/services/bootstrap.service.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DatabaseRepository } from '../repositories/database.repository.js';
|
|
2
2
|
import { ModuleConfigRepository } from '../repositories/moduleConfig.repository.js';
|
|
3
|
-
import { DB } from '../schema/index.js';
|
|
4
3
|
import { BootstrapService } from './bootstrap.service.js';
|
|
5
4
|
export declare class DevelopmentService {
|
|
6
|
-
private readonly
|
|
5
|
+
private readonly database;
|
|
7
6
|
private readonly moduleConfig;
|
|
8
7
|
private readonly bootstrap;
|
|
9
|
-
constructor(
|
|
8
|
+
constructor(database: DatabaseRepository, moduleConfig: ModuleConfigRepository, bootstrap: BootstrapService);
|
|
10
9
|
resetOrchestrator(): Promise<void>;
|
|
11
10
|
}
|
|
@@ -7,20 +7,16 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
11
|
-
return function (target, key) { decorator(target, key, paramIndex); }
|
|
12
|
-
};
|
|
13
10
|
import { BadRequestException, Injectable, Post } from '@nestjs/common';
|
|
14
|
-
import {
|
|
15
|
-
import { InjectKysely } from 'nestjs-kysely';
|
|
11
|
+
import { DatabaseRepository } from '../repositories/database.repository.js';
|
|
16
12
|
import { ModuleConfigRepository } from '../repositories/moduleConfig.repository.js';
|
|
17
13
|
import { BootstrapService } from './bootstrap.service.js';
|
|
18
14
|
let DevelopmentService = class DevelopmentService {
|
|
19
|
-
|
|
15
|
+
database;
|
|
20
16
|
moduleConfig;
|
|
21
17
|
bootstrap;
|
|
22
|
-
constructor(
|
|
23
|
-
this.
|
|
18
|
+
constructor(database, moduleConfig, bootstrap) {
|
|
19
|
+
this.database = database;
|
|
24
20
|
this.moduleConfig = moduleConfig;
|
|
25
21
|
this.bootstrap = bootstrap;
|
|
26
22
|
}
|
|
@@ -28,14 +24,7 @@ let DevelopmentService = class DevelopmentService {
|
|
|
28
24
|
if (!this.moduleConfig.get().developmentMode) {
|
|
29
25
|
throw new BadRequestException('Not in development mode');
|
|
30
26
|
}
|
|
31
|
-
await
|
|
32
|
-
const tables = await sql `
|
|
33
|
-
SELECT name FROM sqlite_master WHERE type = 'table' AND name NOT LIKE 'sqlite_%'
|
|
34
|
-
`.execute(this.db);
|
|
35
|
-
for (const { name } of tables.rows) {
|
|
36
|
-
await sql `DROP TABLE IF EXISTS ${sql.ref(name)}`.execute(this.db);
|
|
37
|
-
}
|
|
38
|
-
await sql `PRAGMA foreign_keys = ON`.execute(this.db);
|
|
27
|
+
await this.database.resetMigrations();
|
|
39
28
|
await this.bootstrap.onApplicationBootstrap();
|
|
40
29
|
}
|
|
41
30
|
};
|
|
@@ -47,8 +36,7 @@ __decorate([
|
|
|
47
36
|
], DevelopmentService.prototype, "resetOrchestrator", null);
|
|
48
37
|
DevelopmentService = __decorate([
|
|
49
38
|
Injectable(),
|
|
50
|
-
|
|
51
|
-
__metadata("design:paramtypes", [Kysely,
|
|
39
|
+
__metadata("design:paramtypes", [DatabaseRepository,
|
|
52
40
|
ModuleConfigRepository,
|
|
53
41
|
BootstrapService])
|
|
54
42
|
], DevelopmentService);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"development.service.js","sourceRoot":"","sources":["../../src/services/development.service.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"development.service.js","sourceRoot":"","sources":["../../src/services/development.service.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,mBAAmB,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACpF,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAGnD,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;IAEV;IACA;IACA;IAHnB,YACmB,QAA4B,EAC5B,YAAoC,EACpC,SAA2B;QAF3B,aAAQ,GAAR,QAAQ,CAAoB;QAC5B,iBAAY,GAAZ,YAAY,CAAwB;QACpC,cAAS,GAAT,SAAS,CAAkB;IAC3C,CAAC;IAGE,AAAN,KAAK,CAAC,iBAAiB;QACrB,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC,eAAe,EAAE,CAAC;YAC7C,MAAM,IAAI,mBAAmB,CAAC,yBAAyB,CAAC,CAAC;QAC3D,CAAC;QAED,MAAM,IAAI,CAAC,QAAQ,CAAC,eAAe,EAAE,CAAC;QAEtC,MAAM,IAAI,CAAC,SAAS,CAAC,sBAAsB,EAAE,CAAC;IAChD,CAAC;CACF,CAAA;AATO;IADL,IAAI,CAAC,OAAO,CAAC;;;;2DASb;AAhBU,kBAAkB;IAD9B,UAAU,EAAE;qCAGkB,kBAAkB;QACd,sBAAsB;QACzB,gBAAgB;GAJnC,kBAAkB,CAiB9B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ConfigureImmichDatabaseDumpRequestDto, ConfigureImmichIntegrationRequestDto, ImmichBackupStatusDto, ImmichRollbackRequestDto, IntegrationsResponseDto } from '../dto/integrations.dto.js';
|
|
2
2
|
import { EventsGateway } from '../events/events.gateway.js';
|
|
3
|
-
import
|
|
3
|
+
import { BootstrapRepository } from '../repositories/bootstrap.repository.js';
|
|
4
4
|
import { ConfigRepository } from '../repositories/config.repository.js';
|
|
5
5
|
import { JobRepository } from '../repositories/job.repository.js';
|
|
6
6
|
import { LockRepository } from '../repositories/lock.repository.js';
|
|
@@ -27,8 +27,10 @@ export declare class IntegrationsService {
|
|
|
27
27
|
private readonly scheduleService;
|
|
28
28
|
private readonly telemetry;
|
|
29
29
|
private readonly lock;
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
private readonly bootstrapRepository;
|
|
31
|
+
constructor(backendService: BackendService, events: EventsGateway, moduleConfig: ModuleConfigRepository, config: ConfigRepository, repositoryIntegrationImmich: RepositoryIntegrationImmichRepository, repositoryPath: RepositoryPathRepository, repositoryService: RepositoryService, jobs: JobRepository, repository: RepositoryRepository, schedule: ScheduleRepository, scheduleService: ScheduleService, telemetry: TelemetryService, lock: LockRepository, bootstrapRepository: BootstrapRepository);
|
|
32
|
+
onModuleConfigUpdate(): Promise<void>;
|
|
33
|
+
bootstrap(): Promise<void>;
|
|
32
34
|
getIntegrationsConfig(): Promise<IntegrationsResponseDto>;
|
|
33
35
|
getImmichBackupStatus(): Promise<ImmichBackupStatusDto>;
|
|
34
36
|
private static ImmichIntegrationConfig;
|