chore: open api

This commit is contained in:
Jason Rasmussen
2023-08-11 21:58:29 -04:00
parent 6e2624da7c
commit ea6bc8fb10
23 changed files with 531 additions and 5 deletions
+73 -1
View File
@@ -252,6 +252,12 @@ export interface AlbumResponseDto {
* @memberof AlbumResponseDto
*/
'ownerId': string;
/**
*
* @type {Array<RuleResponseDto>}
* @memberof AlbumResponseDto
*/
'rules': Array<RuleResponseDto>;
/**
*
* @type {boolean}
@@ -325,6 +331,12 @@ export interface AllJobStatusResponseDto {
* @memberof AllJobStatusResponseDto
*/
'sidecar': JobStatusDto;
/**
*
* @type {JobStatusDto}
* @memberof AllJobStatusResponseDto
*/
'smartAlbum': JobStatusDto;
/**
*
* @type {JobStatusDto}
@@ -1453,7 +1465,8 @@ export const JobName = {
BackgroundTask: 'backgroundTask',
StorageTemplateMigration: 'storageTemplateMigration',
Search: 'search',
Sidecar: 'sidecar'
Sidecar: 'sidecar',
SmartAlbum: 'smartAlbum'
} as const;
export type JobName = typeof JobName[keyof typeof JobName];
@@ -1848,6 +1861,59 @@ export interface QueueStatusDto {
*/
'isPaused': boolean;
}
/**
*
* @export
* @enum {string}
*/
export const RuleKey = {
Person: 'person',
TakenAfter: 'taken-after',
City: 'city',
State: 'state',
Country: 'country',
Make: 'make',
Model: 'model',
Location: 'location'
} as const;
export type RuleKey = typeof RuleKey[keyof typeof RuleKey];
/**
*
* @export
* @interface RuleResponseDto
*/
export interface RuleResponseDto {
/**
*
* @type {string}
* @memberof RuleResponseDto
*/
'id': string;
/**
*
* @type {RuleKey}
* @memberof RuleResponseDto
*/
'key': RuleKey;
/**
*
* @type {string}
* @memberof RuleResponseDto
*/
'ownerId': string;
/**
*
* @type {object}
* @memberof RuleResponseDto
*/
'value': object;
}
/**
*
* @export
@@ -2579,6 +2645,12 @@ export interface SystemConfigJobDto {
* @memberof SystemConfigJobDto
*/
'sidecar': JobSettingsDto;
/**
*
* @type {JobSettingsDto}
* @memberof SystemConfigJobDto
*/
'smartAlbum': JobSettingsDto;
/**
*
* @type {JobSettingsDto}