@futo-org/backups-orchestrator-api 0.1.71
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/LICENSE +41 -0
- package/dist/backends/backend.d.ts +23 -0
- package/dist/backends/backend.js +31 -0
- package/dist/backends/backend.js.map +1 -0
- package/dist/backends/local.backend.d.ts +24 -0
- package/dist/backends/local.backend.js +92 -0
- package/dist/backends/local.backend.js.map +1 -0
- package/dist/backends/s3.backend.d.ts +24 -0
- package/dist/backends/s3.backend.js +47 -0
- package/dist/backends/s3.backend.js.map +1 -0
- package/dist/backends/yucca.backend.d.ts +27 -0
- package/dist/backends/yucca.backend.js +63 -0
- package/dist/backends/yucca.backend.js.map +1 -0
- package/dist/const.d.ts +2 -0
- package/dist/const.js +6 -0
- package/dist/const.js.map +1 -0
- package/dist/controllers/auth.controller.d.ts +7 -0
- package/dist/controllers/auth.controller.js +38 -0
- package/dist/controllers/auth.controller.js.map +1 -0
- package/dist/controllers/backend.controller.d.ts +8 -0
- package/dist/controllers/backend.controller.js +52 -0
- package/dist/controllers/backend.controller.js.map +1 -0
- package/dist/controllers/development.controller.d.ts +6 -0
- package/dist/controllers/development.controller.js +35 -0
- package/dist/controllers/development.controller.js.map +1 -0
- package/dist/controllers/filesystem.controller.d.ts +7 -0
- package/dist/controllers/filesystem.controller.js +43 -0
- package/dist/controllers/filesystem.controller.js.map +1 -0
- package/dist/controllers/integrations.controller.d.ts +8 -0
- package/dist/controllers/integrations.controller.js +51 -0
- package/dist/controllers/integrations.controller.js.map +1 -0
- package/dist/controllers/onboarding.controller.d.ts +11 -0
- package/dist/controllers/onboarding.controller.js +80 -0
- package/dist/controllers/onboarding.controller.js.map +1 -0
- package/dist/controllers/repository.controller.d.ts +22 -0
- package/dist/controllers/repository.controller.js +227 -0
- package/dist/controllers/repository.controller.js.map +1 -0
- package/dist/controllers/runHistory.controller.d.ts +9 -0
- package/dist/controllers/runHistory.controller.js +55 -0
- package/dist/controllers/runHistory.controller.js.map +1 -0
- package/dist/controllers/runningTasks.controller.d.ts +8 -0
- package/dist/controllers/runningTasks.controller.js +52 -0
- package/dist/controllers/runningTasks.controller.js.map +1 -0
- package/dist/controllers/schedule.controller.d.ts +10 -0
- package/dist/controllers/schedule.controller.js +76 -0
- package/dist/controllers/schedule.controller.js.map +1 -0
- package/dist/dto/auth.dto.d.ts +4 -0
- package/dist/dto/auth.dto.js +27 -0
- package/dist/dto/auth.dto.js.map +1 -0
- package/dist/dto/backend.dto.d.ts +16 -0
- package/dist/dto/backend.dto.js +64 -0
- package/dist/dto/backend.dto.js.map +1 -0
- package/dist/dto/filesystem.dto.d.ts +12 -0
- package/dist/dto/filesystem.dto.js +56 -0
- package/dist/dto/filesystem.dto.js.map +1 -0
- package/dist/dto/integrations.dto.d.ts +35 -0
- package/dist/dto/integrations.dto.js +163 -0
- package/dist/dto/integrations.dto.js.map +1 -0
- package/dist/dto/onboarding.dto.d.ts +13 -0
- package/dist/dto/onboarding.dto.js +60 -0
- package/dist/dto/onboarding.dto.js.map +1 -0
- package/dist/dto/repository.dto.d.ts +113 -0
- package/dist/dto/repository.dto.js +421 -0
- package/dist/dto/repository.dto.js.map +1 -0
- package/dist/dto/runningTasks.dto.d.ts +14 -0
- package/dist/dto/runningTasks.dto.js +59 -0
- package/dist/dto/runningTasks.dto.js.map +1 -0
- package/dist/dto/schedule.dto.d.ts +29 -0
- package/dist/dto/schedule.dto.js +149 -0
- package/dist/dto/schedule.dto.js.map +1 -0
- package/dist/enum.d.ts +32 -0
- package/dist/enum.js +42 -0
- package/dist/enum.js.map +1 -0
- package/dist/events/events.gateway.d.ts +73 -0
- package/dist/events/events.gateway.js +79 -0
- package/dist/events/events.gateway.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +24 -0
- package/dist/index.js.map +1 -0
- package/dist/moduleConfig.d.ts +20 -0
- package/dist/moduleConfig.js +5 -0
- package/dist/moduleConfig.js.map +1 -0
- package/dist/orchestrationApi.module.d.ts +5 -0
- package/dist/orchestrationApi.module.js +134 -0
- package/dist/orchestrationApi.module.js.map +1 -0
- package/dist/repositories/backend.repository.d.ts +19 -0
- package/dist/repositories/backend.repository.js +60 -0
- package/dist/repositories/backend.repository.js.map +1 -0
- package/dist/repositories/config.repository.d.ts +18 -0
- package/dist/repositories/config.repository.js +93 -0
- package/dist/repositories/config.repository.js.map +1 -0
- package/dist/repositories/database.repository.d.ts +11 -0
- package/dist/repositories/database.repository.js +85 -0
- package/dist/repositories/database.repository.js.map +1 -0
- package/dist/repositories/moduleConfig.repository.d.ts +12 -0
- package/dist/repositories/moduleConfig.repository.js +48 -0
- package/dist/repositories/moduleConfig.repository.js.map +1 -0
- package/dist/repositories/repository.repository.d.ts +18 -0
- package/dist/repositories/repository.repository.js +81 -0
- package/dist/repositories/repository.repository.js.map +1 -0
- package/dist/repositories/repositoryIntegrationImmich.repository.d.ts +14 -0
- package/dist/repositories/repositoryIntegrationImmich.repository.js +57 -0
- package/dist/repositories/repositoryIntegrationImmich.repository.js.map +1 -0
- package/dist/repositories/repositoryLocalMetrics.repository.d.ts +23 -0
- package/dist/repositories/repositoryLocalMetrics.repository.js +55 -0
- package/dist/repositories/repositoryLocalMetrics.repository.js.map +1 -0
- package/dist/repositories/repositoryPath.repository.d.ts +17 -0
- package/dist/repositories/repositoryPath.repository.js +48 -0
- package/dist/repositories/repositoryPath.repository.js.map +1 -0
- package/dist/repositories/restic.repository.d.ts +207 -0
- package/dist/repositories/restic.repository.js +96 -0
- package/dist/repositories/restic.repository.js.map +1 -0
- package/dist/repositories/runHistory.repository.d.ts +44 -0
- package/dist/repositories/runHistory.repository.js +191 -0
- package/dist/repositories/runHistory.repository.js.map +1 -0
- package/dist/repositories/runningTasks.repository.d.ts +14 -0
- package/dist/repositories/runningTasks.repository.js +77 -0
- package/dist/repositories/runningTasks.repository.js.map +1 -0
- package/dist/repositories/schedule.repository.d.ts +47 -0
- package/dist/repositories/schedule.repository.js +99 -0
- package/dist/repositories/schedule.repository.js.map +1 -0
- package/dist/repositories/storage.repository.d.ts +9 -0
- package/dist/repositories/storage.repository.js +39 -0
- package/dist/repositories/storage.repository.js.map +1 -0
- package/dist/schema/index.d.ts +20 -0
- package/dist/schema/index.js +3 -0
- package/dist/schema/index.js.map +1 -0
- package/dist/schema/migrations/20260218105210-InitialMigration.d.ts +3 -0
- package/dist/schema/migrations/20260218105210-InitialMigration.js +15 -0
- package/dist/schema/migrations/20260218105210-InitialMigration.js.map +1 -0
- package/dist/schema/migrations/20260218122600-AddRepositories.d.ts +3 -0
- package/dist/schema/migrations/20260218122600-AddRepositories.js +21 -0
- package/dist/schema/migrations/20260218122600-AddRepositories.js.map +1 -0
- package/dist/schema/migrations/20260224112323-RepositoryPathTable.d.ts +3 -0
- package/dist/schema/migrations/20260224112323-RepositoryPathTable.js +16 -0
- package/dist/schema/migrations/20260224112323-RepositoryPathTable.js.map +1 -0
- package/dist/schema/migrations/20260224123344-RunHistoryTable.d.ts +3 -0
- package/dist/schema/migrations/20260224123344-RunHistoryTable.js +20 -0
- package/dist/schema/migrations/20260224123344-RunHistoryTable.js.map +1 -0
- package/dist/schema/migrations/20260224125102-RepositoryMetricsTable.d.ts +3 -0
- package/dist/schema/migrations/20260224125102-RepositoryMetricsTable.js +16 -0
- package/dist/schema/migrations/20260224125102-RepositoryMetricsTable.js.map +1 -0
- package/dist/schema/migrations/20260304162353-ScheduleTable.d.ts +3 -0
- package/dist/schema/migrations/20260304162353-ScheduleTable.js +27 -0
- package/dist/schema/migrations/20260304162353-ScheduleTable.js.map +1 -0
- package/dist/schema/migrations/20260313222211-AddMetricsColumns.d.ts +3 -0
- package/dist/schema/migrations/20260313222211-AddMetricsColumns.js +13 -0
- package/dist/schema/migrations/20260313222211-AddMetricsColumns.js.map +1 -0
- package/dist/schema/migrations/20260330120000-RepositoryIntegrationImmichTable.d.ts +3 -0
- package/dist/schema/migrations/20260330120000-RepositoryIntegrationImmichTable.js +15 -0
- package/dist/schema/migrations/20260330120000-RepositoryIntegrationImmichTable.js.map +1 -0
- package/dist/schema/migrations/20260330130000-AddScheduleIdToImmichIntegration.d.ts +3 -0
- package/dist/schema/migrations/20260330130000-AddScheduleIdToImmichIntegration.js +14 -0
- package/dist/schema/migrations/20260330130000-AddScheduleIdToImmichIntegration.js.map +1 -0
- package/dist/schema/migrations/20260507120000-AddRunHistoryType.d.ts +3 -0
- package/dist/schema/migrations/20260507120000-AddRunHistoryType.js +18 -0
- package/dist/schema/migrations/20260507120000-AddRunHistoryType.js.map +1 -0
- package/dist/schema/migrations/20260512120000-AddRepositoryRetentionPolicy.d.ts +3 -0
- package/dist/schema/migrations/20260512120000-AddRepositoryRetentionPolicy.js +11 -0
- package/dist/schema/migrations/20260512120000-AddRepositoryRetentionPolicy.js.map +1 -0
- package/dist/schema/migrations/20260512120000-AddRepositoryRetentionPreset.d.ts +3 -0
- package/dist/schema/migrations/20260512120000-AddRepositoryRetentionPreset.js +18 -0
- package/dist/schema/migrations/20260512120000-AddRepositoryRetentionPreset.js.map +1 -0
- package/dist/schema/migrations/20260512130000-AllowForgetRunHistoryType.d.ts +3 -0
- package/dist/schema/migrations/20260512130000-AllowForgetRunHistoryType.js +47 -0
- package/dist/schema/migrations/20260512130000-AllowForgetRunHistoryType.js.map +1 -0
- package/dist/schema/tables/backend.table.d.ts +20 -0
- package/dist/schema/tables/backend.table.js +9 -0
- package/dist/schema/tables/backend.table.js.map +1 -0
- package/dist/schema/tables/config.table.d.ts +4 -0
- package/dist/schema/tables/config.table.js +9 -0
- package/dist/schema/tables/config.table.js.map +1 -0
- package/dist/schema/tables/repository.table.d.ts +5 -0
- package/dist/schema/tables/repository.table.js +10 -0
- package/dist/schema/tables/repository.table.js.map +1 -0
- package/dist/schema/tables/repositoryIntegrationImmich.table.d.ts +10 -0
- package/dist/schema/tables/repositoryIntegrationImmich.table.js +10 -0
- package/dist/schema/tables/repositoryIntegrationImmich.table.js.map +1 -0
- package/dist/schema/tables/repositoryLocalMetrics.table.d.ts +7 -0
- package/dist/schema/tables/repositoryLocalMetrics.table.js +12 -0
- package/dist/schema/tables/repositoryLocalMetrics.table.js.map +1 -0
- package/dist/schema/tables/repositoryPath.table.d.ts +4 -0
- package/dist/schema/tables/repositoryPath.table.js +9 -0
- package/dist/schema/tables/repositoryPath.table.js.map +1 -0
- package/dist/schema/tables/repositorySchedule.table.d.ts +4 -0
- package/dist/schema/tables/repositorySchedule.table.js +9 -0
- package/dist/schema/tables/repositorySchedule.table.js.map +1 -0
- package/dist/schema/tables/runHistory.table.d.ts +11 -0
- package/dist/schema/tables/runHistory.table.js +14 -0
- package/dist/schema/tables/runHistory.table.js.map +1 -0
- package/dist/schema/tables/schedule.table.d.ts +9 -0
- package/dist/schema/tables/schedule.table.js +14 -0
- package/dist/schema/tables/schedule.table.js.map +1 -0
- package/dist/services/auth.service.d.ts +16 -0
- package/dist/services/auth.service.js +85 -0
- package/dist/services/auth.service.js.map +1 -0
- package/dist/services/backend.service.d.ts +12 -0
- package/dist/services/backend.service.js +68 -0
- package/dist/services/backend.service.js.map +1 -0
- package/dist/services/bootstrap.service.d.ts +13 -0
- package/dist/services/bootstrap.service.js +44 -0
- package/dist/services/bootstrap.service.js.map +1 -0
- package/dist/services/database.service.d.ts +11 -0
- package/dist/services/database.service.js +39 -0
- package/dist/services/database.service.js.map +1 -0
- package/dist/services/development.service.d.ts +11 -0
- package/dist/services/development.service.js +59 -0
- package/dist/services/development.service.js.map +1 -0
- package/dist/services/filesystem.service.d.ts +7 -0
- package/dist/services/filesystem.service.js +43 -0
- package/dist/services/filesystem.service.js.map +1 -0
- package/dist/services/integrations.service.d.ts +22 -0
- package/dist/services/integrations.service.js +158 -0
- package/dist/services/integrations.service.js.map +1 -0
- package/dist/services/onboarding.service.d.ts +17 -0
- package/dist/services/onboarding.service.js +65 -0
- package/dist/services/onboarding.service.js.map +1 -0
- package/dist/services/repository.service.d.ts +65 -0
- package/dist/services/repository.service.js +623 -0
- package/dist/services/repository.service.js.map +1 -0
- package/dist/services/runHistory.service.d.ts +7 -0
- package/dist/services/runHistory.service.js +29 -0
- package/dist/services/runHistory.service.js.map +1 -0
- package/dist/services/runningTasks.service.d.ts +8 -0
- package/dist/services/runningTasks.service.js +34 -0
- package/dist/services/runningTasks.service.js.map +1 -0
- package/dist/services/schedule.service.d.ts +27 -0
- package/dist/services/schedule.service.js +197 -0
- package/dist/services/schedule.service.js.map +1 -0
- package/dist/utils/restic.d.ts +17 -0
- package/dist/utils/restic.js +26 -0
- package/dist/utils/restic.js.map +1 -0
- package/package.json +79 -0
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { BackendType, TaskStatus } from '../enum';
|
|
2
|
+
import type { RunType } from '../schema/tables/runHistory.table';
|
|
3
|
+
export declare class RetentionPolicyDto {
|
|
4
|
+
keepLast?: number;
|
|
5
|
+
keepWithin?: string;
|
|
6
|
+
keepWithinHourly?: string;
|
|
7
|
+
keepWithinDaily?: string;
|
|
8
|
+
keepWithinWeekly?: string;
|
|
9
|
+
keepWithinMonthly?: string;
|
|
10
|
+
keepWithinYearly?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare class RepositoryDto {
|
|
13
|
+
id: string;
|
|
14
|
+
worm: boolean;
|
|
15
|
+
name: string;
|
|
16
|
+
}
|
|
17
|
+
export declare class RepositoryMetricsDto {
|
|
18
|
+
lastBackup?: string;
|
|
19
|
+
lastSuccessfulBackup?: string;
|
|
20
|
+
lastBackupDuration?: number;
|
|
21
|
+
sizeBytes: number;
|
|
22
|
+
}
|
|
23
|
+
export declare class RepositoryWithMetricsDto extends RepositoryDto {
|
|
24
|
+
metrics: RepositoryMetricsDto;
|
|
25
|
+
}
|
|
26
|
+
export declare class RepositoryBackendDto {
|
|
27
|
+
id: string;
|
|
28
|
+
type: BackendType;
|
|
29
|
+
online: boolean;
|
|
30
|
+
}
|
|
31
|
+
export declare class RepositoryBackendsDto {
|
|
32
|
+
primary: RepositoryBackendDto;
|
|
33
|
+
secondary: RepositoryBackendDto[];
|
|
34
|
+
}
|
|
35
|
+
export declare class RepositoryConfigurationDto {
|
|
36
|
+
paths: string[];
|
|
37
|
+
retentionPolicy: RetentionPolicyDto | null;
|
|
38
|
+
}
|
|
39
|
+
export declare class LocalRepositoryDto extends RepositoryWithMetricsDto {
|
|
40
|
+
backends?: RepositoryBackendsDto;
|
|
41
|
+
configuration?: RepositoryConfigurationDto;
|
|
42
|
+
}
|
|
43
|
+
export declare class RepositoryCreateRequestDto {
|
|
44
|
+
name: string;
|
|
45
|
+
worm: boolean;
|
|
46
|
+
paths?: string[];
|
|
47
|
+
}
|
|
48
|
+
export declare class RepositoryCreateResponseDto {
|
|
49
|
+
repository: LocalRepositoryDto;
|
|
50
|
+
}
|
|
51
|
+
export declare class RepositoryUpdateRequestDto {
|
|
52
|
+
name?: string;
|
|
53
|
+
paths?: string[];
|
|
54
|
+
retentionPolicy?: RetentionPolicyDto | null;
|
|
55
|
+
}
|
|
56
|
+
export declare class RepositoryUpdateResponseDto {
|
|
57
|
+
repository: LocalRepositoryDto;
|
|
58
|
+
}
|
|
59
|
+
export declare class RepositoryListResponseDto {
|
|
60
|
+
repositories: LocalRepositoryDto[];
|
|
61
|
+
}
|
|
62
|
+
export declare class RepositoryCheckImportResponseDto {
|
|
63
|
+
readable: boolean;
|
|
64
|
+
}
|
|
65
|
+
export declare class RunDto {
|
|
66
|
+
id: string;
|
|
67
|
+
repositoryId: string;
|
|
68
|
+
start: string;
|
|
69
|
+
end?: string;
|
|
70
|
+
logFilePath: string;
|
|
71
|
+
status: TaskStatus;
|
|
72
|
+
type: RunType;
|
|
73
|
+
}
|
|
74
|
+
export declare class RunHistoryResponseDto {
|
|
75
|
+
runs: RunDto[];
|
|
76
|
+
}
|
|
77
|
+
export declare class RunResponseDto {
|
|
78
|
+
run: RunDto;
|
|
79
|
+
}
|
|
80
|
+
export declare class SnapshotSummaryDto {
|
|
81
|
+
filesNew: number;
|
|
82
|
+
filesChanged: number;
|
|
83
|
+
filesUnmodified: number;
|
|
84
|
+
totalFiles: number;
|
|
85
|
+
totalBytes: number;
|
|
86
|
+
dataAdded: number;
|
|
87
|
+
}
|
|
88
|
+
export declare class SnapshotDto {
|
|
89
|
+
id: string;
|
|
90
|
+
time: string;
|
|
91
|
+
paths: string[];
|
|
92
|
+
summary?: SnapshotSummaryDto;
|
|
93
|
+
}
|
|
94
|
+
export declare class ListSnapshotsResponseDto {
|
|
95
|
+
snapshots: SnapshotDto[];
|
|
96
|
+
}
|
|
97
|
+
export declare class RepositorySnapshotRestoreRequestDto {
|
|
98
|
+
target?: string;
|
|
99
|
+
include?: string[];
|
|
100
|
+
}
|
|
101
|
+
export declare class RepositorySnapshotRestoreFromPointRequestDto {
|
|
102
|
+
yuccaConfig?: string;
|
|
103
|
+
include?: string[];
|
|
104
|
+
}
|
|
105
|
+
export declare class LogResponseDto {
|
|
106
|
+
logId: string;
|
|
107
|
+
}
|
|
108
|
+
export declare class InspectedLocalRepositoryDto extends LocalRepositoryDto {
|
|
109
|
+
snapshots?: SnapshotDto[];
|
|
110
|
+
}
|
|
111
|
+
export declare class RepositoryInspectResponseDto {
|
|
112
|
+
repositories: InspectedLocalRepositoryDto[];
|
|
113
|
+
}
|
|
@@ -0,0 +1,421 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
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;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.RepositoryInspectResponseDto = exports.InspectedLocalRepositoryDto = exports.LogResponseDto = exports.RepositorySnapshotRestoreFromPointRequestDto = exports.RepositorySnapshotRestoreRequestDto = exports.ListSnapshotsResponseDto = exports.SnapshotDto = exports.SnapshotSummaryDto = exports.RunResponseDto = exports.RunHistoryResponseDto = exports.RunDto = exports.RepositoryCheckImportResponseDto = exports.RepositoryListResponseDto = exports.RepositoryUpdateResponseDto = exports.RepositoryUpdateRequestDto = exports.RepositoryCreateResponseDto = exports.RepositoryCreateRequestDto = exports.LocalRepositoryDto = exports.RepositoryConfigurationDto = exports.RepositoryBackendsDto = exports.RepositoryBackendDto = exports.RepositoryWithMetricsDto = exports.RepositoryMetricsDto = exports.RepositoryDto = exports.RetentionPolicyDto = void 0;
|
|
13
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const enum_1 = require("../enum");
|
|
16
|
+
class RetentionPolicyDto {
|
|
17
|
+
keepLast;
|
|
18
|
+
keepWithin;
|
|
19
|
+
keepWithinHourly;
|
|
20
|
+
keepWithinDaily;
|
|
21
|
+
keepWithinWeekly;
|
|
22
|
+
keepWithinMonthly;
|
|
23
|
+
keepWithinYearly;
|
|
24
|
+
}
|
|
25
|
+
exports.RetentionPolicyDto = RetentionPolicyDto;
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, swagger_1.ApiProperty)({ type: Number, required: false }),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], RetentionPolicyDto.prototype, "keepLast", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, swagger_1.ApiProperty)({ type: String, required: false }),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], RetentionPolicyDto.prototype, "keepWithin", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, swagger_1.ApiProperty)({ type: String, required: false }),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], RetentionPolicyDto.prototype, "keepWithinHourly", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, swagger_1.ApiProperty)({ type: String, required: false }),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], RetentionPolicyDto.prototype, "keepWithinDaily", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, swagger_1.ApiProperty)({ type: String, required: false }),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], RetentionPolicyDto.prototype, "keepWithinWeekly", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, swagger_1.ApiProperty)({ type: String, required: false }),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], RetentionPolicyDto.prototype, "keepWithinMonthly", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, swagger_1.ApiProperty)({ type: String, required: false }),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], RetentionPolicyDto.prototype, "keepWithinYearly", void 0);
|
|
54
|
+
class RepositoryDto {
|
|
55
|
+
id;
|
|
56
|
+
worm;
|
|
57
|
+
name;
|
|
58
|
+
}
|
|
59
|
+
exports.RepositoryDto = RepositoryDto;
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, swagger_1.ApiProperty)({ type: String }),
|
|
62
|
+
__metadata("design:type", String)
|
|
63
|
+
], RepositoryDto.prototype, "id", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, swagger_1.ApiProperty)({ type: Boolean }),
|
|
66
|
+
__metadata("design:type", Boolean)
|
|
67
|
+
], RepositoryDto.prototype, "worm", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, swagger_1.ApiProperty)({ type: String }),
|
|
70
|
+
__metadata("design:type", String)
|
|
71
|
+
], RepositoryDto.prototype, "name", void 0);
|
|
72
|
+
class RepositoryMetricsDto {
|
|
73
|
+
lastBackup;
|
|
74
|
+
lastSuccessfulBackup;
|
|
75
|
+
lastBackupDuration;
|
|
76
|
+
sizeBytes;
|
|
77
|
+
}
|
|
78
|
+
exports.RepositoryMetricsDto = RepositoryMetricsDto;
|
|
79
|
+
__decorate([
|
|
80
|
+
(0, swagger_1.ApiProperty)({ type: String, required: false }),
|
|
81
|
+
__metadata("design:type", String)
|
|
82
|
+
], RepositoryMetricsDto.prototype, "lastBackup", void 0);
|
|
83
|
+
__decorate([
|
|
84
|
+
(0, swagger_1.ApiProperty)({ type: String, required: false }),
|
|
85
|
+
__metadata("design:type", String)
|
|
86
|
+
], RepositoryMetricsDto.prototype, "lastSuccessfulBackup", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
(0, swagger_1.ApiProperty)({ type: Number, required: false }),
|
|
89
|
+
__metadata("design:type", Number)
|
|
90
|
+
], RepositoryMetricsDto.prototype, "lastBackupDuration", void 0);
|
|
91
|
+
__decorate([
|
|
92
|
+
(0, swagger_1.ApiProperty)({ type: Number }),
|
|
93
|
+
__metadata("design:type", Number)
|
|
94
|
+
], RepositoryMetricsDto.prototype, "sizeBytes", void 0);
|
|
95
|
+
class RepositoryWithMetricsDto extends RepositoryDto {
|
|
96
|
+
metrics;
|
|
97
|
+
}
|
|
98
|
+
exports.RepositoryWithMetricsDto = RepositoryWithMetricsDto;
|
|
99
|
+
__decorate([
|
|
100
|
+
(0, swagger_1.ApiProperty)({ type: RepositoryMetricsDto }),
|
|
101
|
+
__metadata("design:type", RepositoryMetricsDto)
|
|
102
|
+
], RepositoryWithMetricsDto.prototype, "metrics", void 0);
|
|
103
|
+
class RepositoryBackendDto {
|
|
104
|
+
id;
|
|
105
|
+
type;
|
|
106
|
+
online;
|
|
107
|
+
}
|
|
108
|
+
exports.RepositoryBackendDto = RepositoryBackendDto;
|
|
109
|
+
__decorate([
|
|
110
|
+
(0, swagger_1.ApiProperty)({ type: String }),
|
|
111
|
+
__metadata("design:type", String)
|
|
112
|
+
], RepositoryBackendDto.prototype, "id", void 0);
|
|
113
|
+
__decorate([
|
|
114
|
+
(0, swagger_1.ApiProperty)({ enumName: 'BackendType', enum: enum_1.BackendType }),
|
|
115
|
+
__metadata("design:type", String)
|
|
116
|
+
], RepositoryBackendDto.prototype, "type", void 0);
|
|
117
|
+
__decorate([
|
|
118
|
+
(0, swagger_1.ApiProperty)({ type: Boolean }),
|
|
119
|
+
__metadata("design:type", Boolean)
|
|
120
|
+
], RepositoryBackendDto.prototype, "online", void 0);
|
|
121
|
+
class RepositoryBackendsDto {
|
|
122
|
+
primary;
|
|
123
|
+
secondary;
|
|
124
|
+
}
|
|
125
|
+
exports.RepositoryBackendsDto = RepositoryBackendsDto;
|
|
126
|
+
__decorate([
|
|
127
|
+
(0, swagger_1.ApiProperty)({ type: RepositoryBackendDto }),
|
|
128
|
+
__metadata("design:type", RepositoryBackendDto)
|
|
129
|
+
], RepositoryBackendsDto.prototype, "primary", void 0);
|
|
130
|
+
__decorate([
|
|
131
|
+
(0, swagger_1.ApiProperty)({ type: [RepositoryBackendDto] }),
|
|
132
|
+
__metadata("design:type", Array)
|
|
133
|
+
], RepositoryBackendsDto.prototype, "secondary", void 0);
|
|
134
|
+
class RepositoryConfigurationDto {
|
|
135
|
+
paths;
|
|
136
|
+
retentionPolicy;
|
|
137
|
+
}
|
|
138
|
+
exports.RepositoryConfigurationDto = RepositoryConfigurationDto;
|
|
139
|
+
__decorate([
|
|
140
|
+
(0, swagger_1.ApiProperty)({ type: [String] }),
|
|
141
|
+
__metadata("design:type", Array)
|
|
142
|
+
], RepositoryConfigurationDto.prototype, "paths", void 0);
|
|
143
|
+
__decorate([
|
|
144
|
+
(0, swagger_1.ApiProperty)({ type: RetentionPolicyDto, required: false, nullable: true }),
|
|
145
|
+
__metadata("design:type", Object)
|
|
146
|
+
], RepositoryConfigurationDto.prototype, "retentionPolicy", void 0);
|
|
147
|
+
class LocalRepositoryDto extends RepositoryWithMetricsDto {
|
|
148
|
+
backends;
|
|
149
|
+
configuration;
|
|
150
|
+
}
|
|
151
|
+
exports.LocalRepositoryDto = LocalRepositoryDto;
|
|
152
|
+
__decorate([
|
|
153
|
+
(0, swagger_1.ApiProperty)({ type: RepositoryBackendsDto, required: false }),
|
|
154
|
+
__metadata("design:type", RepositoryBackendsDto)
|
|
155
|
+
], LocalRepositoryDto.prototype, "backends", void 0);
|
|
156
|
+
__decorate([
|
|
157
|
+
(0, swagger_1.ApiProperty)({
|
|
158
|
+
type: RepositoryConfigurationDto,
|
|
159
|
+
required: false,
|
|
160
|
+
}),
|
|
161
|
+
__metadata("design:type", RepositoryConfigurationDto)
|
|
162
|
+
], LocalRepositoryDto.prototype, "configuration", void 0);
|
|
163
|
+
class RepositoryCreateRequestDto {
|
|
164
|
+
name;
|
|
165
|
+
worm;
|
|
166
|
+
paths;
|
|
167
|
+
}
|
|
168
|
+
exports.RepositoryCreateRequestDto = RepositoryCreateRequestDto;
|
|
169
|
+
__decorate([
|
|
170
|
+
(0, swagger_1.ApiProperty)({ type: String }),
|
|
171
|
+
(0, class_validator_1.IsString)(),
|
|
172
|
+
__metadata("design:type", String)
|
|
173
|
+
], RepositoryCreateRequestDto.prototype, "name", void 0);
|
|
174
|
+
__decorate([
|
|
175
|
+
(0, swagger_1.ApiProperty)({ type: Boolean }),
|
|
176
|
+
(0, class_validator_1.IsBoolean)(),
|
|
177
|
+
__metadata("design:type", Boolean)
|
|
178
|
+
], RepositoryCreateRequestDto.prototype, "worm", void 0);
|
|
179
|
+
__decorate([
|
|
180
|
+
(0, swagger_1.ApiProperty)({ type: [String], required: false }),
|
|
181
|
+
(0, class_validator_1.IsOptional)(),
|
|
182
|
+
(0, class_validator_1.IsArray)(),
|
|
183
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
184
|
+
__metadata("design:type", Array)
|
|
185
|
+
], RepositoryCreateRequestDto.prototype, "paths", void 0);
|
|
186
|
+
class RepositoryCreateResponseDto {
|
|
187
|
+
repository;
|
|
188
|
+
}
|
|
189
|
+
exports.RepositoryCreateResponseDto = RepositoryCreateResponseDto;
|
|
190
|
+
__decorate([
|
|
191
|
+
(0, swagger_1.ApiProperty)({ type: LocalRepositoryDto }),
|
|
192
|
+
__metadata("design:type", LocalRepositoryDto)
|
|
193
|
+
], RepositoryCreateResponseDto.prototype, "repository", void 0);
|
|
194
|
+
class RepositoryUpdateRequestDto {
|
|
195
|
+
name;
|
|
196
|
+
paths;
|
|
197
|
+
retentionPolicy;
|
|
198
|
+
}
|
|
199
|
+
exports.RepositoryUpdateRequestDto = RepositoryUpdateRequestDto;
|
|
200
|
+
__decorate([
|
|
201
|
+
(0, swagger_1.ApiProperty)({ type: String, required: false }),
|
|
202
|
+
(0, class_validator_1.IsOptional)(),
|
|
203
|
+
(0, class_validator_1.IsString)(),
|
|
204
|
+
__metadata("design:type", String)
|
|
205
|
+
], RepositoryUpdateRequestDto.prototype, "name", void 0);
|
|
206
|
+
__decorate([
|
|
207
|
+
(0, swagger_1.ApiProperty)({ type: [String], required: false }),
|
|
208
|
+
(0, class_validator_1.IsOptional)(),
|
|
209
|
+
(0, class_validator_1.IsArray)(),
|
|
210
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
211
|
+
__metadata("design:type", Array)
|
|
212
|
+
], RepositoryUpdateRequestDto.prototype, "paths", void 0);
|
|
213
|
+
__decorate([
|
|
214
|
+
(0, swagger_1.ApiProperty)({ type: RetentionPolicyDto, required: false, nullable: true }),
|
|
215
|
+
(0, class_validator_1.IsOptional)(),
|
|
216
|
+
(0, class_validator_1.IsObject)(),
|
|
217
|
+
__metadata("design:type", Object)
|
|
218
|
+
], RepositoryUpdateRequestDto.prototype, "retentionPolicy", void 0);
|
|
219
|
+
class RepositoryUpdateResponseDto {
|
|
220
|
+
repository;
|
|
221
|
+
}
|
|
222
|
+
exports.RepositoryUpdateResponseDto = RepositoryUpdateResponseDto;
|
|
223
|
+
__decorate([
|
|
224
|
+
(0, swagger_1.ApiProperty)(),
|
|
225
|
+
__metadata("design:type", LocalRepositoryDto)
|
|
226
|
+
], RepositoryUpdateResponseDto.prototype, "repository", void 0);
|
|
227
|
+
class RepositoryListResponseDto {
|
|
228
|
+
repositories;
|
|
229
|
+
}
|
|
230
|
+
exports.RepositoryListResponseDto = RepositoryListResponseDto;
|
|
231
|
+
__decorate([
|
|
232
|
+
(0, swagger_1.ApiProperty)({ type: [LocalRepositoryDto] }),
|
|
233
|
+
__metadata("design:type", Array)
|
|
234
|
+
], RepositoryListResponseDto.prototype, "repositories", void 0);
|
|
235
|
+
class RepositoryCheckImportResponseDto {
|
|
236
|
+
readable;
|
|
237
|
+
}
|
|
238
|
+
exports.RepositoryCheckImportResponseDto = RepositoryCheckImportResponseDto;
|
|
239
|
+
__decorate([
|
|
240
|
+
(0, swagger_1.ApiProperty)({ type: Boolean }),
|
|
241
|
+
__metadata("design:type", Boolean)
|
|
242
|
+
], RepositoryCheckImportResponseDto.prototype, "readable", void 0);
|
|
243
|
+
class RunDto {
|
|
244
|
+
id;
|
|
245
|
+
repositoryId;
|
|
246
|
+
start;
|
|
247
|
+
end;
|
|
248
|
+
logFilePath;
|
|
249
|
+
status;
|
|
250
|
+
type;
|
|
251
|
+
}
|
|
252
|
+
exports.RunDto = RunDto;
|
|
253
|
+
__decorate([
|
|
254
|
+
(0, swagger_1.ApiProperty)({ type: String }),
|
|
255
|
+
__metadata("design:type", String)
|
|
256
|
+
], RunDto.prototype, "id", void 0);
|
|
257
|
+
__decorate([
|
|
258
|
+
(0, swagger_1.ApiProperty)({ type: String }),
|
|
259
|
+
__metadata("design:type", String)
|
|
260
|
+
], RunDto.prototype, "repositoryId", void 0);
|
|
261
|
+
__decorate([
|
|
262
|
+
(0, swagger_1.ApiProperty)({ type: String }),
|
|
263
|
+
__metadata("design:type", String)
|
|
264
|
+
], RunDto.prototype, "start", void 0);
|
|
265
|
+
__decorate([
|
|
266
|
+
(0, swagger_1.ApiProperty)({ type: String }),
|
|
267
|
+
__metadata("design:type", String)
|
|
268
|
+
], RunDto.prototype, "end", void 0);
|
|
269
|
+
__decorate([
|
|
270
|
+
(0, swagger_1.ApiProperty)({ type: String }),
|
|
271
|
+
__metadata("design:type", String)
|
|
272
|
+
], RunDto.prototype, "logFilePath", void 0);
|
|
273
|
+
__decorate([
|
|
274
|
+
(0, swagger_1.ApiProperty)({ enumName: 'RunStatus', enum: enum_1.TaskStatus }),
|
|
275
|
+
__metadata("design:type", String)
|
|
276
|
+
], RunDto.prototype, "status", void 0);
|
|
277
|
+
__decorate([
|
|
278
|
+
(0, swagger_1.ApiProperty)({ enumName: 'RunType', enum: enum_1.TaskType }),
|
|
279
|
+
__metadata("design:type", String)
|
|
280
|
+
], RunDto.prototype, "type", void 0);
|
|
281
|
+
class RunHistoryResponseDto {
|
|
282
|
+
runs;
|
|
283
|
+
}
|
|
284
|
+
exports.RunHistoryResponseDto = RunHistoryResponseDto;
|
|
285
|
+
__decorate([
|
|
286
|
+
(0, swagger_1.ApiProperty)({ type: [RunDto] }),
|
|
287
|
+
__metadata("design:type", Array)
|
|
288
|
+
], RunHistoryResponseDto.prototype, "runs", void 0);
|
|
289
|
+
class RunResponseDto {
|
|
290
|
+
run;
|
|
291
|
+
}
|
|
292
|
+
exports.RunResponseDto = RunResponseDto;
|
|
293
|
+
__decorate([
|
|
294
|
+
(0, swagger_1.ApiProperty)({ type: RunDto }),
|
|
295
|
+
__metadata("design:type", RunDto)
|
|
296
|
+
], RunResponseDto.prototype, "run", void 0);
|
|
297
|
+
class SnapshotSummaryDto {
|
|
298
|
+
filesNew;
|
|
299
|
+
filesChanged;
|
|
300
|
+
filesUnmodified;
|
|
301
|
+
totalFiles;
|
|
302
|
+
totalBytes;
|
|
303
|
+
dataAdded;
|
|
304
|
+
}
|
|
305
|
+
exports.SnapshotSummaryDto = SnapshotSummaryDto;
|
|
306
|
+
__decorate([
|
|
307
|
+
(0, swagger_1.ApiProperty)({ type: Number }),
|
|
308
|
+
__metadata("design:type", Number)
|
|
309
|
+
], SnapshotSummaryDto.prototype, "filesNew", void 0);
|
|
310
|
+
__decorate([
|
|
311
|
+
(0, swagger_1.ApiProperty)({ type: Number }),
|
|
312
|
+
__metadata("design:type", Number)
|
|
313
|
+
], SnapshotSummaryDto.prototype, "filesChanged", void 0);
|
|
314
|
+
__decorate([
|
|
315
|
+
(0, swagger_1.ApiProperty)({ type: Number }),
|
|
316
|
+
__metadata("design:type", Number)
|
|
317
|
+
], SnapshotSummaryDto.prototype, "filesUnmodified", void 0);
|
|
318
|
+
__decorate([
|
|
319
|
+
(0, swagger_1.ApiProperty)({ type: Number }),
|
|
320
|
+
__metadata("design:type", Number)
|
|
321
|
+
], SnapshotSummaryDto.prototype, "totalFiles", void 0);
|
|
322
|
+
__decorate([
|
|
323
|
+
(0, swagger_1.ApiProperty)({ type: Number }),
|
|
324
|
+
__metadata("design:type", Number)
|
|
325
|
+
], SnapshotSummaryDto.prototype, "totalBytes", void 0);
|
|
326
|
+
__decorate([
|
|
327
|
+
(0, swagger_1.ApiProperty)({ type: Number }),
|
|
328
|
+
__metadata("design:type", Number)
|
|
329
|
+
], SnapshotSummaryDto.prototype, "dataAdded", void 0);
|
|
330
|
+
class SnapshotDto {
|
|
331
|
+
id;
|
|
332
|
+
time;
|
|
333
|
+
paths;
|
|
334
|
+
summary;
|
|
335
|
+
}
|
|
336
|
+
exports.SnapshotDto = SnapshotDto;
|
|
337
|
+
__decorate([
|
|
338
|
+
(0, swagger_1.ApiProperty)({ type: String }),
|
|
339
|
+
__metadata("design:type", String)
|
|
340
|
+
], SnapshotDto.prototype, "id", void 0);
|
|
341
|
+
__decorate([
|
|
342
|
+
(0, swagger_1.ApiProperty)({ type: String }),
|
|
343
|
+
__metadata("design:type", String)
|
|
344
|
+
], SnapshotDto.prototype, "time", void 0);
|
|
345
|
+
__decorate([
|
|
346
|
+
(0, swagger_1.ApiProperty)({ type: [String] }),
|
|
347
|
+
__metadata("design:type", Array)
|
|
348
|
+
], SnapshotDto.prototype, "paths", void 0);
|
|
349
|
+
__decorate([
|
|
350
|
+
(0, swagger_1.ApiProperty)({ type: SnapshotSummaryDto, required: false }),
|
|
351
|
+
__metadata("design:type", SnapshotSummaryDto)
|
|
352
|
+
], SnapshotDto.prototype, "summary", void 0);
|
|
353
|
+
class ListSnapshotsResponseDto {
|
|
354
|
+
snapshots;
|
|
355
|
+
}
|
|
356
|
+
exports.ListSnapshotsResponseDto = ListSnapshotsResponseDto;
|
|
357
|
+
__decorate([
|
|
358
|
+
(0, swagger_1.ApiProperty)({ type: [SnapshotDto] }),
|
|
359
|
+
__metadata("design:type", Array)
|
|
360
|
+
], ListSnapshotsResponseDto.prototype, "snapshots", void 0);
|
|
361
|
+
class RepositorySnapshotRestoreRequestDto {
|
|
362
|
+
target;
|
|
363
|
+
include;
|
|
364
|
+
}
|
|
365
|
+
exports.RepositorySnapshotRestoreRequestDto = RepositorySnapshotRestoreRequestDto;
|
|
366
|
+
__decorate([
|
|
367
|
+
(0, swagger_1.ApiProperty)({ required: false }),
|
|
368
|
+
(0, class_validator_1.IsOptional)(),
|
|
369
|
+
(0, class_validator_1.IsString)(),
|
|
370
|
+
__metadata("design:type", String)
|
|
371
|
+
], RepositorySnapshotRestoreRequestDto.prototype, "target", void 0);
|
|
372
|
+
__decorate([
|
|
373
|
+
(0, swagger_1.ApiProperty)({ required: false }),
|
|
374
|
+
(0, class_validator_1.IsOptional)(),
|
|
375
|
+
(0, class_validator_1.IsArray)(),
|
|
376
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
377
|
+
__metadata("design:type", Array)
|
|
378
|
+
], RepositorySnapshotRestoreRequestDto.prototype, "include", void 0);
|
|
379
|
+
class RepositorySnapshotRestoreFromPointRequestDto {
|
|
380
|
+
yuccaConfig;
|
|
381
|
+
include;
|
|
382
|
+
}
|
|
383
|
+
exports.RepositorySnapshotRestoreFromPointRequestDto = RepositorySnapshotRestoreFromPointRequestDto;
|
|
384
|
+
__decorate([
|
|
385
|
+
(0, swagger_1.ApiProperty)({ required: false }),
|
|
386
|
+
(0, class_validator_1.IsOptional)(),
|
|
387
|
+
(0, class_validator_1.IsString)(),
|
|
388
|
+
__metadata("design:type", String)
|
|
389
|
+
], RepositorySnapshotRestoreFromPointRequestDto.prototype, "yuccaConfig", void 0);
|
|
390
|
+
__decorate([
|
|
391
|
+
(0, swagger_1.ApiProperty)({ required: false }),
|
|
392
|
+
(0, class_validator_1.IsOptional)(),
|
|
393
|
+
(0, class_validator_1.IsArray)(),
|
|
394
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
395
|
+
__metadata("design:type", Array)
|
|
396
|
+
], RepositorySnapshotRestoreFromPointRequestDto.prototype, "include", void 0);
|
|
397
|
+
class LogResponseDto {
|
|
398
|
+
logId;
|
|
399
|
+
}
|
|
400
|
+
exports.LogResponseDto = LogResponseDto;
|
|
401
|
+
__decorate([
|
|
402
|
+
(0, swagger_1.ApiProperty)({ type: String }),
|
|
403
|
+
__metadata("design:type", String)
|
|
404
|
+
], LogResponseDto.prototype, "logId", void 0);
|
|
405
|
+
class InspectedLocalRepositoryDto extends LocalRepositoryDto {
|
|
406
|
+
snapshots;
|
|
407
|
+
}
|
|
408
|
+
exports.InspectedLocalRepositoryDto = InspectedLocalRepositoryDto;
|
|
409
|
+
__decorate([
|
|
410
|
+
(0, swagger_1.ApiProperty)({ type: [SnapshotDto] }),
|
|
411
|
+
__metadata("design:type", Array)
|
|
412
|
+
], InspectedLocalRepositoryDto.prototype, "snapshots", void 0);
|
|
413
|
+
class RepositoryInspectResponseDto {
|
|
414
|
+
repositories;
|
|
415
|
+
}
|
|
416
|
+
exports.RepositoryInspectResponseDto = RepositoryInspectResponseDto;
|
|
417
|
+
__decorate([
|
|
418
|
+
(0, swagger_1.ApiProperty)({ type: [InspectedLocalRepositoryDto] }),
|
|
419
|
+
__metadata("design:type", Array)
|
|
420
|
+
], RepositoryInspectResponseDto.prototype, "repositories", void 0);
|
|
421
|
+
//# sourceMappingURL=repository.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"repository.dto.js","sourceRoot":"","sources":["../../src/dto/repository.dto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MhB;IAJC,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;oEACN;AAGrB,MAAa,4CAA4C;IAIvD,WAAW,CAAU;IAMrB,OAAO,CAAY;CACpB;AAXD,oGAWC;AAPC;IAHC,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iFACU;AAMrB;IAJC,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;6EACN;AAGrB,MAAa,cAAc;IAEzB,KAAK,CAAU;CAChB;AAHD,wCAGC;AADC;IADC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;6CACf;AAGjB,MAAa,2BAA4B,SAAQ,kBAAkB;IAEjE,SAAS,CAAiB;CAC3B;AAHD,kEAGC;AADC;IADC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC;;8DACX;AAG5B,MAAa,4BAA4B;IAEvC,YAAY,CAAiC;CAC9C;AAHD,oEAGC;AADC;IADC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,CAAC,2BAA2B,CAAC,EAAE,CAAC;;kEACR"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { TaskStatus, TaskType } from '../enum';
|
|
2
|
+
export declare class ActiveScheduleItemDto {
|
|
3
|
+
repositoryId: string;
|
|
4
|
+
status: TaskStatus;
|
|
5
|
+
}
|
|
6
|
+
export declare class RunningTaskDto {
|
|
7
|
+
parentId: string;
|
|
8
|
+
type: TaskType;
|
|
9
|
+
logId?: string;
|
|
10
|
+
scheduleStatus?: ActiveScheduleItemDto[];
|
|
11
|
+
}
|
|
12
|
+
export declare class RunningTaskListResponse {
|
|
13
|
+
tasks: RunningTaskDto[];
|
|
14
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
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;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.RunningTaskListResponse = exports.RunningTaskDto = exports.ActiveScheduleItemDto = void 0;
|
|
13
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
+
const enum_1 = require("../enum");
|
|
15
|
+
class ActiveScheduleItemDto {
|
|
16
|
+
repositoryId;
|
|
17
|
+
status;
|
|
18
|
+
}
|
|
19
|
+
exports.ActiveScheduleItemDto = ActiveScheduleItemDto;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, swagger_1.ApiProperty)({ type: String }),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], ActiveScheduleItemDto.prototype, "repositoryId", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, swagger_1.ApiProperty)({ enumName: 'TaskStatus', enum: enum_1.TaskStatus }),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], ActiveScheduleItemDto.prototype, "status", void 0);
|
|
28
|
+
class RunningTaskDto {
|
|
29
|
+
parentId;
|
|
30
|
+
type;
|
|
31
|
+
logId;
|
|
32
|
+
scheduleStatus;
|
|
33
|
+
}
|
|
34
|
+
exports.RunningTaskDto = RunningTaskDto;
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, swagger_1.ApiProperty)({ type: String }),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], RunningTaskDto.prototype, "parentId", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, swagger_1.ApiProperty)({ enumName: 'TaskType', enum: enum_1.TaskType }),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], RunningTaskDto.prototype, "type", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, swagger_1.ApiProperty)({ type: String, required: false }),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], RunningTaskDto.prototype, "logId", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, swagger_1.ApiProperty)({ type: [ActiveScheduleItemDto], required: false }),
|
|
49
|
+
__metadata("design:type", Array)
|
|
50
|
+
], RunningTaskDto.prototype, "scheduleStatus", void 0);
|
|
51
|
+
class RunningTaskListResponse {
|
|
52
|
+
tasks;
|
|
53
|
+
}
|
|
54
|
+
exports.RunningTaskListResponse = RunningTaskListResponse;
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, swagger_1.ApiProperty)({ type: [RunningTaskDto] }),
|
|
57
|
+
__metadata("design:type", Array)
|
|
58
|
+
], RunningTaskListResponse.prototype, "tasks", void 0);
|
|
59
|
+
//# sourceMappingURL=runningTasks.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runningTasks.dto.js","sourceRoot":"","sources":["../../src/dto/runningTasks.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,kCAA+C;AAE/C,MAAa,qBAAqB;IAEhC,YAAY,CAAU;IAGtB,MAAM,CAAc;CACrB;AAND,sDAMC;AAJC;IADC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;2DACR;AAGtB;IADC,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,YAAY,EAAE,IAAI,EAAE,iBAAU,EAAE,CAAC;;qDACtC;AAGtB,MAAa,cAAc;IAEzB,QAAQ,CAAU;IAGlB,IAAI,CAAY;IAGhB,KAAK,CAAU;IAGf,cAAc,CAA2B;CAC1C;AAZD,wCAYC;AAVC;IADC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;gDACZ;AAGlB;IADC,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE,eAAQ,EAAE,CAAC;;4CACtC;AAGhB;IADC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;6CAChC;AAGf;IADC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,CAAC,qBAAqB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;sDACvB;AAG3C,MAAa,uBAAuB;IAElC,KAAK,CAAoB;CAC1B;AAHD,0DAGC;AADC;IADC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,CAAC,cAAc,CAAC,EAAE,CAAC;;sDACf"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare class ScheduleDto {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
paused: boolean;
|
|
5
|
+
cron: string;
|
|
6
|
+
repositories: string[];
|
|
7
|
+
lastRun?: string;
|
|
8
|
+
lastFinished?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare class ScheduleCreateRequestDto {
|
|
11
|
+
name: string;
|
|
12
|
+
cron: string;
|
|
13
|
+
repositories: string[];
|
|
14
|
+
}
|
|
15
|
+
export declare class ScheduleCreateResponseDto {
|
|
16
|
+
schedule: ScheduleDto;
|
|
17
|
+
}
|
|
18
|
+
export declare class ScheduleUpdateRequestDto {
|
|
19
|
+
name?: string;
|
|
20
|
+
paused?: boolean;
|
|
21
|
+
cron?: string;
|
|
22
|
+
repositories?: string[];
|
|
23
|
+
}
|
|
24
|
+
export declare class ScheduleUpdateResponseDto {
|
|
25
|
+
schedule: ScheduleDto;
|
|
26
|
+
}
|
|
27
|
+
export declare class ScheduleListResponseDto {
|
|
28
|
+
schedules: ScheduleDto[];
|
|
29
|
+
}
|