mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-19 04:21:28 +03:00
Cleaned up dependencies, routes, and API models
This commit is contained in:
@@ -841,17 +841,10 @@ paths:
|
|||||||
- Auth query parameter: []
|
- Auth query parameter: []
|
||||||
tags:
|
tags:
|
||||||
- downloader
|
- downloader
|
||||||
/api/clearFinishedDownloads:
|
/api/clearDownloads:
|
||||||
post:
|
post:
|
||||||
tags:
|
summary: Clear multiple downloads
|
||||||
- downloader
|
operationId: post-api-clear-downloads
|
||||||
summary: Clear finished downloads
|
|
||||||
operationId: post-api-clear-finished-downloads
|
|
||||||
requestBody:
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
type: object
|
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
description: OK
|
description: OK
|
||||||
@@ -859,8 +852,17 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/SuccessObject'
|
$ref: '#/components/schemas/SuccessObject'
|
||||||
|
requestBody:
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: '#/components/schemas/ClearDownloadsRequest'
|
||||||
|
description: ''
|
||||||
|
description: "Clears multiple downloads based on a given filter."
|
||||||
security:
|
security:
|
||||||
- Auth query parameter: []
|
- Auth query parameter: []
|
||||||
|
tags:
|
||||||
|
- downloader
|
||||||
/api/getTask:
|
/api/getTask:
|
||||||
post:
|
post:
|
||||||
summary: Get info for one task
|
summary: Get info for one task
|
||||||
@@ -1607,6 +1609,15 @@ components:
|
|||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: '#/components/schemas/Download'
|
$ref: '#/components/schemas/Download'
|
||||||
|
ClearDownloadsRequest:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
clear_finished:
|
||||||
|
type: boolean
|
||||||
|
clear_paused:
|
||||||
|
type: boolean
|
||||||
|
clear_errors:
|
||||||
|
type: boolean
|
||||||
GetTaskRequest:
|
GetTaskRequest:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
|||||||
59
package-lock.json
generated
59
package-lock.json
generated
@@ -3295,65 +3295,12 @@
|
|||||||
"safer-buffer": "~2.1.0"
|
"safer-buffer": "~2.1.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"asn1.js": {
|
|
||||||
"version": "5.4.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz",
|
|
||||||
"integrity": "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"bn.js": "^4.0.0",
|
|
||||||
"inherits": "^2.0.1",
|
|
||||||
"minimalistic-assert": "^1.0.0",
|
|
||||||
"safer-buffer": "^2.1.0"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"bn.js": {
|
|
||||||
"version": "4.11.9",
|
|
||||||
"resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz",
|
|
||||||
"integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==",
|
|
||||||
"dev": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"assert": {
|
|
||||||
"version": "1.5.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/assert/-/assert-1.5.0.tgz",
|
|
||||||
"integrity": "sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"object-assign": "^4.1.1",
|
|
||||||
"util": "0.10.3"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"inherits": {
|
|
||||||
"version": "2.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz",
|
|
||||||
"integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"util": {
|
|
||||||
"version": "0.10.3",
|
|
||||||
"resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz",
|
|
||||||
"integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"inherits": "2.0.1"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"assert-plus": {
|
"assert-plus": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
|
||||||
"integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=",
|
"integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"assign-symbols": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz",
|
|
||||||
"integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"ast-types-flow": {
|
"ast-types-flow": {
|
||||||
"version": "0.0.7",
|
"version": "0.0.7",
|
||||||
"resolved": "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.7.tgz",
|
"resolved": "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.7.tgz",
|
||||||
@@ -3367,9 +3314,9 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"async": {
|
"async": {
|
||||||
"version": "2.6.3",
|
"version": "2.6.4",
|
||||||
"resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz",
|
"resolved": "https://registry.npmjs.org/async/-/async-2.6.4.tgz",
|
||||||
"integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==",
|
"integrity": "sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"lodash": "^4.17.14"
|
"lodash": "^4.17.14"
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
export type { AddFileToPlaylistRequest } from './models/AddFileToPlaylistRequest';
|
export type { AddFileToPlaylistRequest } from './models/AddFileToPlaylistRequest';
|
||||||
export type { BaseChangePermissionsRequest } from './models/BaseChangePermissionsRequest';
|
export type { BaseChangePermissionsRequest } from './models/BaseChangePermissionsRequest';
|
||||||
|
export type { binary } from './models/binary';
|
||||||
export type { body_19 } from './models/body_19';
|
export type { body_19 } from './models/body_19';
|
||||||
export type { body_20 } from './models/body_20';
|
export type { body_20 } from './models/body_20';
|
||||||
export type { Category } from './models/Category';
|
export type { Category } from './models/Category';
|
||||||
@@ -12,6 +13,7 @@ export type { ChangeRolePermissionsRequest } from './models/ChangeRolePermission
|
|||||||
export type { ChangeUserPermissionsRequest } from './models/ChangeUserPermissionsRequest';
|
export type { ChangeUserPermissionsRequest } from './models/ChangeUserPermissionsRequest';
|
||||||
export type { CheckConcurrentStreamRequest } from './models/CheckConcurrentStreamRequest';
|
export type { CheckConcurrentStreamRequest } from './models/CheckConcurrentStreamRequest';
|
||||||
export type { CheckConcurrentStreamResponse } from './models/CheckConcurrentStreamResponse';
|
export type { CheckConcurrentStreamResponse } from './models/CheckConcurrentStreamResponse';
|
||||||
|
export type { ClearDownloadsRequest } from './models/ClearDownloadsRequest';
|
||||||
export type { ConcurrentStream } from './models/ConcurrentStream';
|
export type { ConcurrentStream } from './models/ConcurrentStream';
|
||||||
export type { Config } from './models/Config';
|
export type { Config } from './models/Config';
|
||||||
export type { ConfigResponse } from './models/ConfigResponse';
|
export type { ConfigResponse } from './models/ConfigResponse';
|
||||||
@@ -23,6 +25,7 @@ export type { CropFileSettings } from './models/CropFileSettings';
|
|||||||
export type { DatabaseFile } from './models/DatabaseFile';
|
export type { DatabaseFile } from './models/DatabaseFile';
|
||||||
export { DBBackup } from './models/DBBackup';
|
export { DBBackup } from './models/DBBackup';
|
||||||
export type { DBInfoResponse } from './models/DBInfoResponse';
|
export type { DBInfoResponse } from './models/DBInfoResponse';
|
||||||
|
export type { DeleteAllFilesResponse } from './models/DeleteAllFilesResponse';
|
||||||
export type { DeleteCategoryRequest } from './models/DeleteCategoryRequest';
|
export type { DeleteCategoryRequest } from './models/DeleteCategoryRequest';
|
||||||
export type { DeleteMp3Mp4Request } from './models/DeleteMp3Mp4Request';
|
export type { DeleteMp3Mp4Request } from './models/DeleteMp3Mp4Request';
|
||||||
export type { DeletePlaylistRequest } from './models/DeletePlaylistRequest';
|
export type { DeletePlaylistRequest } from './models/DeletePlaylistRequest';
|
||||||
@@ -36,7 +39,6 @@ export type { DownloadResponse } from './models/DownloadResponse';
|
|||||||
export type { DownloadTwitchChatByVODIDRequest } from './models/DownloadTwitchChatByVODIDRequest';
|
export type { DownloadTwitchChatByVODIDRequest } from './models/DownloadTwitchChatByVODIDRequest';
|
||||||
export type { DownloadTwitchChatByVODIDResponse } from './models/DownloadTwitchChatByVODIDResponse';
|
export type { DownloadTwitchChatByVODIDResponse } from './models/DownloadTwitchChatByVODIDResponse';
|
||||||
export type { DownloadVideosForSubscriptionRequest } from './models/DownloadVideosForSubscriptionRequest';
|
export type { DownloadVideosForSubscriptionRequest } from './models/DownloadVideosForSubscriptionRequest';
|
||||||
export type { File } from './models/File';
|
|
||||||
export { FileType } from './models/FileType';
|
export { FileType } from './models/FileType';
|
||||||
export type { GenerateArgsResponse } from './models/GenerateArgsResponse';
|
export type { GenerateArgsResponse } from './models/GenerateArgsResponse';
|
||||||
export type { GenerateNewApiKeyResponse } from './models/GenerateNewApiKeyResponse';
|
export type { GenerateNewApiKeyResponse } from './models/GenerateNewApiKeyResponse';
|
||||||
|
|||||||
@@ -2,8 +2,7 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type AddFileToPlaylistRequest = {
|
||||||
export interface AddFileToPlaylistRequest {
|
|
||||||
file_uid: string;
|
file_uid: string;
|
||||||
playlist_id: string;
|
playlist_id: string;
|
||||||
}
|
};
|
||||||
@@ -2,10 +2,10 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { UserPermission } from './UserPermission';
|
import type { UserPermission } from './UserPermission';
|
||||||
import { YesNo } from './YesNo';
|
import type { YesNo } from './YesNo';
|
||||||
|
|
||||||
export interface BaseChangePermissionsRequest {
|
export type BaseChangePermissionsRequest = {
|
||||||
permission: UserPermission;
|
permission: UserPermission;
|
||||||
new_value: YesNo;
|
new_value: YesNo;
|
||||||
}
|
};
|
||||||
@@ -2,9 +2,9 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { CategoryRule } from './CategoryRule';
|
import type { CategoryRule } from './CategoryRule';
|
||||||
|
|
||||||
export interface Category {
|
export type Category = {
|
||||||
name?: string;
|
name?: string;
|
||||||
uid?: string;
|
uid?: string;
|
||||||
rules?: Array<CategoryRule>;
|
rules?: Array<CategoryRule>;
|
||||||
@@ -12,4 +12,4 @@ export interface Category {
|
|||||||
* Overrides file output for downloaded files in category
|
* Overrides file output for downloaded files in category
|
||||||
*/
|
*/
|
||||||
custom_output?: string;
|
custom_output?: string;
|
||||||
}
|
};
|
||||||
@@ -2,11 +2,10 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type CategoryRule = {
|
||||||
export interface CategoryRule {
|
|
||||||
preceding_operator?: CategoryRule.preceding_operator;
|
preceding_operator?: CategoryRule.preceding_operator;
|
||||||
comparator?: CategoryRule.comparator;
|
comparator?: CategoryRule.comparator;
|
||||||
}
|
};
|
||||||
|
|
||||||
export namespace CategoryRule {
|
export namespace CategoryRule {
|
||||||
|
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { BaseChangePermissionsRequest } from './BaseChangePermissionsRequest';
|
import type { BaseChangePermissionsRequest } from './BaseChangePermissionsRequest';
|
||||||
|
|
||||||
export interface ChangeRolePermissionsRequest extends BaseChangePermissionsRequest {
|
export type ChangeRolePermissionsRequest = (BaseChangePermissionsRequest & {
|
||||||
role: string;
|
role: string;
|
||||||
}
|
});
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { BaseChangePermissionsRequest } from './BaseChangePermissionsRequest';
|
import type { BaseChangePermissionsRequest } from './BaseChangePermissionsRequest';
|
||||||
|
|
||||||
export interface ChangeUserPermissionsRequest extends BaseChangePermissionsRequest {
|
export type ChangeUserPermissionsRequest = (BaseChangePermissionsRequest & {
|
||||||
user_uid: string;
|
user_uid: string;
|
||||||
}
|
});
|
||||||
@@ -2,10 +2,9 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type CheckConcurrentStreamRequest = {
|
||||||
export interface CheckConcurrentStreamRequest {
|
|
||||||
/**
|
/**
|
||||||
* UID of the concurrent stream
|
* UID of the concurrent stream
|
||||||
*/
|
*/
|
||||||
uid: string;
|
uid: string;
|
||||||
}
|
};
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { ConcurrentStream } from './ConcurrentStream';
|
import type { ConcurrentStream } from './ConcurrentStream';
|
||||||
|
|
||||||
export interface CheckConcurrentStreamResponse {
|
export type CheckConcurrentStreamResponse = {
|
||||||
stream: ConcurrentStream;
|
stream: ConcurrentStream;
|
||||||
}
|
};
|
||||||
9
src/api-types/models/ClearDownloadsRequest.ts
Normal file
9
src/api-types/models/ClearDownloadsRequest.ts
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
/* istanbul ignore file */
|
||||||
|
/* tslint:disable */
|
||||||
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type ClearDownloadsRequest = {
|
||||||
|
clear_finished?: boolean;
|
||||||
|
clear_paused?: boolean;
|
||||||
|
clear_errors?: boolean;
|
||||||
|
};
|
||||||
@@ -2,9 +2,8 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type ConcurrentStream = {
|
||||||
export interface ConcurrentStream {
|
|
||||||
playback_timestamp?: number;
|
playback_timestamp?: number;
|
||||||
unix_timestamp?: number;
|
unix_timestamp?: number;
|
||||||
playing?: boolean;
|
playing?: boolean;
|
||||||
}
|
};
|
||||||
@@ -2,7 +2,6 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type Config = {
|
||||||
export interface Config {
|
|
||||||
YoutubeDLMaterial: any;
|
YoutubeDLMaterial: any;
|
||||||
}
|
};
|
||||||
@@ -2,9 +2,9 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { Config } from './Config';
|
import type { Config } from './Config';
|
||||||
|
|
||||||
export interface ConfigResponse {
|
export type ConfigResponse = {
|
||||||
config_file: Config;
|
config_file: Config;
|
||||||
success: boolean;
|
success: boolean;
|
||||||
}
|
};
|
||||||
@@ -2,7 +2,6 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type CreateCategoryRequest = {
|
||||||
export interface CreateCategoryRequest {
|
|
||||||
name: string;
|
name: string;
|
||||||
}
|
};
|
||||||
@@ -2,9 +2,9 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { Category } from './Category';
|
import type { Category } from './Category';
|
||||||
|
|
||||||
export interface CreateCategoryResponse {
|
export type CreateCategoryResponse = {
|
||||||
new_category?: Category;
|
new_category?: Category;
|
||||||
success?: boolean;
|
success?: boolean;
|
||||||
}
|
};
|
||||||
@@ -2,11 +2,11 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { FileType } from './FileType';
|
import type { FileType } from './FileType';
|
||||||
|
|
||||||
export interface CreatePlaylistRequest {
|
export type CreatePlaylistRequest = {
|
||||||
playlistName: string;
|
playlistName: string;
|
||||||
uids: Array<string>;
|
uids: Array<string>;
|
||||||
type: FileType;
|
type: FileType;
|
||||||
thumbnailURL: string;
|
thumbnailURL: string;
|
||||||
}
|
};
|
||||||
@@ -2,9 +2,9 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { Playlist } from './Playlist';
|
import type { Playlist } from './Playlist';
|
||||||
|
|
||||||
export interface CreatePlaylistResponse {
|
export type CreatePlaylistResponse = {
|
||||||
new_playlist: Playlist;
|
new_playlist: Playlist;
|
||||||
success: boolean;
|
success: boolean;
|
||||||
}
|
};
|
||||||
@@ -2,8 +2,7 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type CropFileSettings = {
|
||||||
export interface CropFileSettings {
|
|
||||||
cropFileStart: number;
|
cropFileStart: number;
|
||||||
cropFileEnd: number;
|
cropFileEnd: number;
|
||||||
}
|
};
|
||||||
@@ -2,13 +2,12 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type DBBackup = {
|
||||||
export interface DBBackup {
|
|
||||||
name: string;
|
name: string;
|
||||||
timestamp: number;
|
timestamp: number;
|
||||||
size: number;
|
size: number;
|
||||||
source: DBBackup.source;
|
source: DBBackup.source;
|
||||||
}
|
};
|
||||||
|
|
||||||
export namespace DBBackup {
|
export namespace DBBackup {
|
||||||
|
|
||||||
|
|||||||
@@ -2,17 +2,17 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { TableInfo } from './TableInfo';
|
import type { TableInfo } from './TableInfo';
|
||||||
|
|
||||||
export interface DBInfoResponse {
|
export type DBInfoResponse = {
|
||||||
using_local_db?: boolean;
|
using_local_db?: boolean;
|
||||||
stats_by_table?: {
|
stats_by_table?: {
|
||||||
files?: TableInfo,
|
files?: TableInfo;
|
||||||
playlists?: TableInfo,
|
playlists?: TableInfo;
|
||||||
categories?: TableInfo,
|
categories?: TableInfo;
|
||||||
subscriptions?: TableInfo,
|
subscriptions?: TableInfo;
|
||||||
users?: TableInfo,
|
users?: TableInfo;
|
||||||
roles?: TableInfo,
|
roles?: TableInfo;
|
||||||
download_queue?: TableInfo,
|
download_queue?: TableInfo;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
|
||||||
@@ -2,8 +2,7 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type DatabaseFile = {
|
||||||
export interface DatabaseFile {
|
|
||||||
id: string;
|
id: string;
|
||||||
title: string;
|
title: string;
|
||||||
thumbnailURL: string;
|
thumbnailURL: string;
|
||||||
@@ -19,4 +18,4 @@ export interface DatabaseFile {
|
|||||||
upload_date: string;
|
upload_date: string;
|
||||||
uid: string;
|
uid: string;
|
||||||
sharingEnabled?: boolean;
|
sharingEnabled?: boolean;
|
||||||
}
|
};
|
||||||
14
src/api-types/models/DeleteAllFilesResponse.ts
Normal file
14
src/api-types/models/DeleteAllFilesResponse.ts
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
/* istanbul ignore file */
|
||||||
|
/* tslint:disable */
|
||||||
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type DeleteAllFilesResponse = {
|
||||||
|
/**
|
||||||
|
* Number of files found matching search parameters
|
||||||
|
*/
|
||||||
|
file_count?: number;
|
||||||
|
/**
|
||||||
|
* Number of files removed
|
||||||
|
*/
|
||||||
|
delete_count?: number;
|
||||||
|
};
|
||||||
@@ -2,7 +2,6 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type DeleteCategoryRequest = {
|
||||||
export interface DeleteCategoryRequest {
|
|
||||||
category_uid: string;
|
category_uid: string;
|
||||||
}
|
};
|
||||||
@@ -2,8 +2,7 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type DeleteMp3Mp4Request = {
|
||||||
export interface DeleteMp3Mp4Request {
|
|
||||||
uid: string;
|
uid: string;
|
||||||
blacklistMode?: boolean;
|
blacklistMode?: boolean;
|
||||||
}
|
};
|
||||||
@@ -2,9 +2,9 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { FileType } from './FileType';
|
import type { FileType } from './FileType';
|
||||||
|
|
||||||
export interface DeletePlaylistRequest {
|
export type DeletePlaylistRequest = {
|
||||||
playlist_id: string;
|
playlist_id: string;
|
||||||
type: FileType;
|
type: FileType;
|
||||||
}
|
};
|
||||||
@@ -2,9 +2,9 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { SubscriptionRequestData } from './SubscriptionRequestData';
|
import type { SubscriptionRequestData } from './SubscriptionRequestData';
|
||||||
|
|
||||||
export interface DeleteSubscriptionFileRequest {
|
export type DeleteSubscriptionFileRequest = {
|
||||||
file: string;
|
file: string;
|
||||||
file_uid?: string;
|
file_uid?: string;
|
||||||
sub: SubscriptionRequestData;
|
sub: SubscriptionRequestData;
|
||||||
@@ -12,4 +12,4 @@ export interface DeleteSubscriptionFileRequest {
|
|||||||
* If true, does not remove id from archive. Only valid if youtube-dl archive is enabled in settings.
|
* If true, does not remove id from archive. Only valid if youtube-dl archive is enabled in settings.
|
||||||
*/
|
*/
|
||||||
deleteForever?: boolean;
|
deleteForever?: boolean;
|
||||||
}
|
};
|
||||||
@@ -2,7 +2,6 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type DeleteUserRequest = {
|
||||||
export interface DeleteUserRequest {
|
|
||||||
uid: string;
|
uid: string;
|
||||||
}
|
};
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
/* istanbul ignore file */
|
|
||||||
/* tslint:disable */
|
|
||||||
/* eslint-disable */
|
|
||||||
|
|
||||||
export type Dictionary<T> = {
|
|
||||||
[key: string]: T;
|
|
||||||
}
|
|
||||||
@@ -2,8 +2,7 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type Download = {
|
||||||
export interface Download {
|
|
||||||
uid: string;
|
uid: string;
|
||||||
ui_uid?: string;
|
ui_uid?: string;
|
||||||
running: boolean;
|
running: boolean;
|
||||||
@@ -23,4 +22,4 @@ export interface Download {
|
|||||||
user_uid?: string;
|
user_uid?: string;
|
||||||
sub_id?: string;
|
sub_id?: string;
|
||||||
sub_name?: string;
|
sub_name?: string;
|
||||||
}
|
};
|
||||||
@@ -2,9 +2,8 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type DownloadArchiveRequest = {
|
||||||
export interface DownloadArchiveRequest {
|
|
||||||
sub: {
|
sub: {
|
||||||
archive_dir: string,
|
archive_dir: string;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
|
||||||
@@ -2,13 +2,13 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { FileType } from './FileType';
|
import type { FileType } from './FileType';
|
||||||
|
|
||||||
export interface DownloadFileRequest {
|
export type DownloadFileRequest = {
|
||||||
uid?: string;
|
uid?: string;
|
||||||
uuid?: string;
|
uuid?: string;
|
||||||
sub_id?: string;
|
sub_id?: string;
|
||||||
playlist_id?: string;
|
playlist_id?: string;
|
||||||
url?: string;
|
url?: string;
|
||||||
type?: FileType;
|
type?: FileType;
|
||||||
}
|
};
|
||||||
@@ -2,10 +2,10 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { CropFileSettings } from './CropFileSettings';
|
import type { CropFileSettings } from './CropFileSettings';
|
||||||
import { FileType } from './FileType';
|
import type { FileType } from './FileType';
|
||||||
|
|
||||||
export interface DownloadRequest {
|
export type DownloadRequest = {
|
||||||
url: string;
|
url: string;
|
||||||
/**
|
/**
|
||||||
* Video format code. Overrides other quality options.
|
* Video format code. Overrides other quality options.
|
||||||
@@ -41,4 +41,4 @@ export interface DownloadRequest {
|
|||||||
maxBitrate?: string;
|
maxBitrate?: string;
|
||||||
type?: FileType;
|
type?: FileType;
|
||||||
cropFileSettings?: CropFileSettings;
|
cropFileSettings?: CropFileSettings;
|
||||||
}
|
};
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { Download } from './Download';
|
import type { Download } from './Download';
|
||||||
|
|
||||||
export interface DownloadResponse {
|
export type DownloadResponse = {
|
||||||
download?: Download;
|
download?: Download;
|
||||||
}
|
};
|
||||||
@@ -2,10 +2,10 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { FileType } from './FileType';
|
import type { FileType } from './FileType';
|
||||||
import { Subscription } from './Subscription';
|
import type { Subscription } from './Subscription';
|
||||||
|
|
||||||
export interface DownloadTwitchChatByVODIDRequest {
|
export type DownloadTwitchChatByVODIDRequest = {
|
||||||
/**
|
/**
|
||||||
* File ID
|
* File ID
|
||||||
*/
|
*/
|
||||||
@@ -20,4 +20,4 @@ export interface DownloadTwitchChatByVODIDRequest {
|
|||||||
*/
|
*/
|
||||||
uuid?: string;
|
uuid?: string;
|
||||||
sub?: Subscription;
|
sub?: Subscription;
|
||||||
}
|
};
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { TwitchChatMessage } from './TwitchChatMessage';
|
import type { TwitchChatMessage } from './TwitchChatMessage';
|
||||||
|
|
||||||
export interface DownloadTwitchChatByVODIDResponse {
|
export type DownloadTwitchChatByVODIDResponse = {
|
||||||
chat: Array<TwitchChatMessage>;
|
chat: Array<TwitchChatMessage>;
|
||||||
}
|
};
|
||||||
@@ -2,7 +2,6 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type DownloadVideosForSubscriptionRequest = {
|
||||||
export interface DownloadVideosForSubscriptionRequest {
|
|
||||||
subID: string;
|
subID: string;
|
||||||
}
|
};
|
||||||
@@ -2,7 +2,6 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
|
||||||
export enum FileType {
|
export enum FileType {
|
||||||
AUDIO = 'audio',
|
AUDIO = 'audio',
|
||||||
VIDEO = 'video',
|
VIDEO = 'video',
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type GenerateArgsResponse = {
|
||||||
export interface GenerateArgsResponse {
|
|
||||||
args?: Array<string>;
|
args?: Array<string>;
|
||||||
}
|
};
|
||||||
@@ -2,7 +2,6 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type GenerateNewApiKeyResponse = {
|
||||||
export interface GenerateNewApiKeyResponse {
|
|
||||||
new_api_key: string;
|
new_api_key: string;
|
||||||
}
|
};
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { Category } from './Category';
|
import type { Category } from './Category';
|
||||||
|
|
||||||
export interface GetAllCategoriesResponse {
|
export type GetAllCategoriesResponse = {
|
||||||
categories: Array<Category>;
|
categories: Array<Category>;
|
||||||
}
|
};
|
||||||
@@ -2,10 +2,9 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type GetAllDownloadsRequest = {
|
||||||
export interface GetAllDownloadsRequest {
|
|
||||||
/**
|
/**
|
||||||
* Filters downloads with the array
|
* Filters downloads with the array
|
||||||
*/
|
*/
|
||||||
uids?: Array<string> | null;
|
uids?: Array<string> | null;
|
||||||
}
|
};
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { Download } from './Download';
|
import type { Download } from './Download';
|
||||||
|
|
||||||
export interface GetAllDownloadsResponse {
|
export type GetAllDownloadsResponse = {
|
||||||
downloads?: Array<Download>;
|
downloads?: Array<Download>;
|
||||||
}
|
};
|
||||||
@@ -2,13 +2,13 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { DatabaseFile } from './DatabaseFile';
|
import type { DatabaseFile } from './DatabaseFile';
|
||||||
import { Playlist } from './Playlist';
|
import type { Playlist } from './Playlist';
|
||||||
|
|
||||||
export interface GetAllFilesResponse {
|
export type GetAllFilesResponse = {
|
||||||
files: Array<DatabaseFile>;
|
files: Array<DatabaseFile>;
|
||||||
/**
|
/**
|
||||||
* All video playlists
|
* All video playlists
|
||||||
*/
|
*/
|
||||||
playlists: Array<Playlist>;
|
playlists: Array<Playlist>;
|
||||||
}
|
};
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { Subscription } from './Subscription';
|
import type { Subscription } from './Subscription';
|
||||||
|
|
||||||
export interface GetAllSubscriptionsResponse {
|
export type GetAllSubscriptionsResponse = {
|
||||||
subscriptions: Array<Subscription>;
|
subscriptions: Array<Subscription>;
|
||||||
}
|
};
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { Task } from './Task';
|
import type { Task } from './Task';
|
||||||
|
|
||||||
export interface GetAllTasksResponse {
|
export type GetAllTasksResponse = {
|
||||||
tasks?: Array<Task>;
|
tasks?: Array<Task>;
|
||||||
}
|
};
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { DBBackup } from './DBBackup';
|
import type { DBBackup } from './DBBackup';
|
||||||
|
|
||||||
export interface GetDBBackupsResponse {
|
export type GetDBBackupsResponse = {
|
||||||
tasks?: Array<DBBackup>;
|
tasks?: Array<DBBackup>;
|
||||||
}
|
};
|
||||||
@@ -2,7 +2,6 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type GetDownloadRequest = {
|
||||||
export interface GetDownloadRequest {
|
|
||||||
download_uid: string;
|
download_uid: string;
|
||||||
}
|
};
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { Download } from './Download';
|
import type { Download } from './Download';
|
||||||
|
|
||||||
export interface GetDownloadResponse {
|
export type GetDownloadResponse = {
|
||||||
download?: Download;
|
download?: Download;
|
||||||
}
|
};
|
||||||
@@ -2,7 +2,6 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type GetFileFormatsRequest = {
|
||||||
export interface GetFileFormatsRequest {
|
|
||||||
url?: string;
|
url?: string;
|
||||||
}
|
};
|
||||||
@@ -2,11 +2,11 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { File } from './File';
|
import type { file } from './file';
|
||||||
|
|
||||||
export interface GetFileFormatsResponse {
|
export type GetFileFormatsResponse = {
|
||||||
success: boolean;
|
success: boolean;
|
||||||
result: {
|
result: (file & {
|
||||||
formats?: Array<any>,
|
formats?: Array<any>;
|
||||||
|
});
|
||||||
};
|
};
|
||||||
}
|
|
||||||
@@ -2,9 +2,9 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { FileType } from './FileType';
|
import type { FileType } from './FileType';
|
||||||
|
|
||||||
export interface GetFileRequest {
|
export type GetFileRequest = {
|
||||||
/**
|
/**
|
||||||
* Video UID
|
* Video UID
|
||||||
*/
|
*/
|
||||||
@@ -14,4 +14,4 @@ export interface GetFileRequest {
|
|||||||
* User UID
|
* User UID
|
||||||
*/
|
*/
|
||||||
uuid?: string;
|
uuid?: string;
|
||||||
}
|
};
|
||||||
@@ -2,9 +2,9 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { DatabaseFile } from './DatabaseFile';
|
import type { DatabaseFile } from './DatabaseFile';
|
||||||
|
|
||||||
export interface GetFileResponse {
|
export type GetFileResponse = {
|
||||||
success: boolean;
|
success: boolean;
|
||||||
file?: DatabaseFile;
|
file?: DatabaseFile;
|
||||||
}
|
};
|
||||||
@@ -2,10 +2,10 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { FileType } from './FileType';
|
import type { FileType } from './FileType';
|
||||||
import { Subscription } from './Subscription';
|
import type { Subscription } from './Subscription';
|
||||||
|
|
||||||
export interface GetFullTwitchChatRequest {
|
export type GetFullTwitchChatRequest = {
|
||||||
/**
|
/**
|
||||||
* File ID
|
* File ID
|
||||||
*/
|
*/
|
||||||
@@ -16,4 +16,4 @@ export interface GetFullTwitchChatRequest {
|
|||||||
*/
|
*/
|
||||||
uuid?: string;
|
uuid?: string;
|
||||||
sub?: Subscription;
|
sub?: Subscription;
|
||||||
}
|
};
|
||||||
@@ -2,8 +2,7 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type GetFullTwitchChatResponse = {
|
||||||
export interface GetFullTwitchChatResponse {
|
|
||||||
success: boolean;
|
success: boolean;
|
||||||
error?: string;
|
error?: string;
|
||||||
}
|
};
|
||||||
@@ -2,7 +2,6 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type GetLogsRequest = {
|
||||||
export interface GetLogsRequest {
|
|
||||||
lines?: number;
|
lines?: number;
|
||||||
}
|
};
|
||||||
@@ -2,11 +2,10 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type GetLogsResponse = {
|
||||||
export interface GetLogsResponse {
|
|
||||||
/**
|
/**
|
||||||
* Number of lines to retrieve from the bottom
|
* Number of lines to retrieve from the bottom
|
||||||
*/
|
*/
|
||||||
logs?: string;
|
logs?: string;
|
||||||
success?: boolean;
|
success?: boolean;
|
||||||
}
|
};
|
||||||
@@ -2,13 +2,13 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { DatabaseFile } from './DatabaseFile';
|
import type { DatabaseFile } from './DatabaseFile';
|
||||||
import { Playlist } from './Playlist';
|
import type { Playlist } from './Playlist';
|
||||||
|
|
||||||
export interface GetMp3sResponse {
|
export type GetMp3sResponse = {
|
||||||
mp3s: Array<DatabaseFile>;
|
mp3s: Array<DatabaseFile>;
|
||||||
/**
|
/**
|
||||||
* All audio playlists
|
* All audio playlists
|
||||||
*/
|
*/
|
||||||
playlists: Array<Playlist>;
|
playlists: Array<Playlist>;
|
||||||
}
|
};
|
||||||
@@ -2,13 +2,13 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { DatabaseFile } from './DatabaseFile';
|
import type { DatabaseFile } from './DatabaseFile';
|
||||||
import { Playlist } from './Playlist';
|
import type { Playlist } from './Playlist';
|
||||||
|
|
||||||
export interface GetMp4sResponse {
|
export type GetMp4sResponse = {
|
||||||
mp4s: Array<DatabaseFile>;
|
mp4s: Array<DatabaseFile>;
|
||||||
/**
|
/**
|
||||||
* All video playlists
|
* All video playlists
|
||||||
*/
|
*/
|
||||||
playlists: Array<Playlist>;
|
playlists: Array<Playlist>;
|
||||||
}
|
};
|
||||||
@@ -2,11 +2,11 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { FileType } from './FileType';
|
import type { FileType } from './FileType';
|
||||||
|
|
||||||
export interface GetPlaylistRequest {
|
export type GetPlaylistRequest = {
|
||||||
playlist_id: string;
|
playlist_id: string;
|
||||||
type?: FileType;
|
type?: FileType;
|
||||||
uuid?: string;
|
uuid?: string;
|
||||||
include_file_metadata?: boolean;
|
include_file_metadata?: boolean;
|
||||||
}
|
};
|
||||||
@@ -2,11 +2,11 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { FileType } from './FileType';
|
import type { FileType } from './FileType';
|
||||||
import { Playlist } from './Playlist';
|
import type { Playlist } from './Playlist';
|
||||||
|
|
||||||
export interface GetPlaylistResponse {
|
export type GetPlaylistResponse = {
|
||||||
playlist: Playlist;
|
playlist: Playlist;
|
||||||
type: FileType;
|
type: FileType;
|
||||||
success: boolean;
|
success: boolean;
|
||||||
}
|
};
|
||||||
@@ -2,7 +2,6 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type GetPlaylistsRequest = {
|
||||||
export interface GetPlaylistsRequest {
|
|
||||||
include_categories?: boolean;
|
include_categories?: boolean;
|
||||||
}
|
};
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { Playlist } from './Playlist';
|
import type { Playlist } from './Playlist';
|
||||||
|
|
||||||
export interface GetPlaylistsResponse {
|
export type GetPlaylistsResponse = {
|
||||||
playlists: Array<Playlist>;
|
playlists: Array<Playlist>;
|
||||||
}
|
};
|
||||||
@@ -2,15 +2,15 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { UserPermission } from './UserPermission';
|
import type { UserPermission } from './UserPermission';
|
||||||
|
|
||||||
export interface GetRolesResponse {
|
export type GetRolesResponse = {
|
||||||
roles: {
|
roles: {
|
||||||
admin?: {
|
admin?: {
|
||||||
permissions?: Array<UserPermission>,
|
permissions?: Array<UserPermission>;
|
||||||
},
|
};
|
||||||
user?: {
|
user?: {
|
||||||
permissions?: Array<UserPermission>,
|
permissions?: Array<UserPermission>;
|
||||||
},
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
|
||||||
@@ -2,8 +2,7 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type GetSubscriptionRequest = {
|
||||||
export interface GetSubscriptionRequest {
|
|
||||||
/**
|
/**
|
||||||
* Subscription ID
|
* Subscription ID
|
||||||
*/
|
*/
|
||||||
@@ -12,4 +11,4 @@ export interface GetSubscriptionRequest {
|
|||||||
* Subscription name
|
* Subscription name
|
||||||
*/
|
*/
|
||||||
name?: string;
|
name?: string;
|
||||||
}
|
};
|
||||||
@@ -2,9 +2,9 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { Subscription } from './Subscription';
|
import type { Subscription } from './Subscription';
|
||||||
|
|
||||||
export interface GetSubscriptionResponse {
|
export type GetSubscriptionResponse = {
|
||||||
subscription: Subscription;
|
subscription: Subscription;
|
||||||
files: Array<any>;
|
files: Array<any>;
|
||||||
}
|
};
|
||||||
@@ -2,7 +2,6 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type GetTaskRequest = {
|
||||||
export interface GetTaskRequest {
|
|
||||||
task_key: string;
|
task_key: string;
|
||||||
}
|
};
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { Task } from './Task';
|
import type { Task } from './Task';
|
||||||
|
|
||||||
export interface GetTaskResponse {
|
export type GetTaskResponse = {
|
||||||
task?: Task;
|
task?: Task;
|
||||||
}
|
};
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { User } from './User';
|
import type { User } from './User';
|
||||||
|
|
||||||
export interface GetUsersResponse {
|
export type GetUsersResponse = {
|
||||||
users: Array<User>;
|
users: Array<User>;
|
||||||
}
|
};
|
||||||
@@ -2,12 +2,11 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type IncrementViewCountRequest = {
|
||||||
export interface IncrementViewCountRequest {
|
|
||||||
file_uid: string;
|
file_uid: string;
|
||||||
sub_id?: string;
|
sub_id?: string;
|
||||||
/**
|
/**
|
||||||
* User UID
|
* User UID
|
||||||
*/
|
*/
|
||||||
uuid?: string;
|
uuid?: string;
|
||||||
}
|
};
|
||||||
@@ -2,8 +2,7 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type LoginRequest = {
|
||||||
export interface LoginRequest {
|
|
||||||
username: string;
|
username: string;
|
||||||
password: string;
|
password: string;
|
||||||
}
|
};
|
||||||
@@ -2,12 +2,12 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { User } from './User';
|
import type { User } from './User';
|
||||||
import { UserPermission } from './UserPermission';
|
import type { UserPermission } from './UserPermission';
|
||||||
|
|
||||||
export interface LoginResponse {
|
export type LoginResponse = {
|
||||||
user?: User;
|
user?: User;
|
||||||
token?: string;
|
token?: string;
|
||||||
permissions?: Array<UserPermission>;
|
permissions?: Array<UserPermission>;
|
||||||
available_permissions?: Array<UserPermission>;
|
available_permissions?: Array<UserPermission>;
|
||||||
}
|
};
|
||||||
@@ -2,9 +2,9 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { FileType } from './FileType';
|
import type { FileType } from './FileType';
|
||||||
|
|
||||||
export interface Playlist {
|
export type Playlist = {
|
||||||
name: string;
|
name: string;
|
||||||
uids: Array<string>;
|
uids: Array<string>;
|
||||||
id: string;
|
id: string;
|
||||||
@@ -13,4 +13,4 @@ export interface Playlist {
|
|||||||
registered: number;
|
registered: number;
|
||||||
duration: number;
|
duration: number;
|
||||||
user_uid?: string;
|
user_uid?: string;
|
||||||
}
|
};
|
||||||
@@ -2,9 +2,8 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type RegisterRequest = {
|
||||||
export interface RegisterRequest {
|
|
||||||
userid: string;
|
userid: string;
|
||||||
username: string;
|
username: string;
|
||||||
password: string;
|
password: string;
|
||||||
}
|
};
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { User } from './User';
|
import type { User } from './User';
|
||||||
|
|
||||||
export interface RegisterResponse {
|
export type RegisterResponse = {
|
||||||
user?: User;
|
user?: User;
|
||||||
}
|
};
|
||||||
@@ -2,7 +2,6 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type RestoreDBBackupRequest = {
|
||||||
export interface RestoreDBBackupRequest {
|
|
||||||
file_name: string;
|
file_name: string;
|
||||||
}
|
};
|
||||||
@@ -2,16 +2,15 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type Schedule = {
|
||||||
export interface Schedule {
|
|
||||||
type: Schedule.type;
|
type: Schedule.type;
|
||||||
data: {
|
data: {
|
||||||
dayOfWeek?: Array<number>,
|
dayOfWeek?: Array<number>;
|
||||||
hour?: number,
|
hour?: number;
|
||||||
minute?: number,
|
minute?: number;
|
||||||
timestamp?: number,
|
timestamp?: number;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
|
||||||
|
|
||||||
export namespace Schedule {
|
export namespace Schedule {
|
||||||
|
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { Config } from './Config';
|
import type { Config } from './Config';
|
||||||
|
|
||||||
export interface SetConfigRequest {
|
export type SetConfigRequest = {
|
||||||
new_config_file: Config;
|
new_config_file: Config;
|
||||||
}
|
};
|
||||||
@@ -2,8 +2,7 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type SharingToggle = {
|
||||||
export interface SharingToggle {
|
|
||||||
uid: string;
|
uid: string;
|
||||||
is_playlist?: boolean;
|
is_playlist?: boolean;
|
||||||
}
|
};
|
||||||
@@ -2,8 +2,7 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type SubscribeRequest = {
|
||||||
export interface SubscribeRequest {
|
|
||||||
name: string;
|
name: string;
|
||||||
url: string;
|
url: string;
|
||||||
timerange?: string;
|
timerange?: string;
|
||||||
@@ -11,4 +10,4 @@ export interface SubscribeRequest {
|
|||||||
customArgs?: string;
|
customArgs?: string;
|
||||||
customFileOutput?: string;
|
customFileOutput?: string;
|
||||||
maxQuality?: string;
|
maxQuality?: string;
|
||||||
}
|
};
|
||||||
@@ -2,9 +2,9 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { Subscription } from './Subscription';
|
import type { Subscription } from './Subscription';
|
||||||
|
|
||||||
export interface SubscribeResponse {
|
export type SubscribeResponse = {
|
||||||
new_sub: Subscription;
|
new_sub: Subscription;
|
||||||
error?: string;
|
error?: string;
|
||||||
}
|
};
|
||||||
@@ -2,9 +2,9 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { FileType } from './FileType';
|
import type { FileType } from './FileType';
|
||||||
|
|
||||||
export interface Subscription {
|
export type Subscription = {
|
||||||
name: string;
|
name: string;
|
||||||
url: string;
|
url: string;
|
||||||
id: string;
|
id: string;
|
||||||
@@ -17,4 +17,4 @@ export interface Subscription {
|
|||||||
custom_args?: string;
|
custom_args?: string;
|
||||||
custom_output?: string;
|
custom_output?: string;
|
||||||
videos: Array<any>;
|
videos: Array<any>;
|
||||||
}
|
};
|
||||||
@@ -2,12 +2,12 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { FileType } from './FileType';
|
import type { FileType } from './FileType';
|
||||||
|
|
||||||
export interface SubscriptionRequestData {
|
export type SubscriptionRequestData = {
|
||||||
name: string;
|
name: string;
|
||||||
id: string;
|
id: string;
|
||||||
type?: FileType;
|
type?: FileType;
|
||||||
isPlaylist?: boolean;
|
isPlaylist?: boolean;
|
||||||
archive?: string;
|
archive?: string;
|
||||||
}
|
};
|
||||||
@@ -2,7 +2,6 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type SuccessObject = {
|
||||||
export interface SuccessObject {
|
|
||||||
success: boolean;
|
success: boolean;
|
||||||
}
|
};
|
||||||
@@ -2,7 +2,6 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type TableInfo = {
|
||||||
export interface TableInfo {
|
|
||||||
records_count?: number;
|
records_count?: number;
|
||||||
}
|
};
|
||||||
@@ -2,8 +2,7 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type Task = {
|
||||||
export interface Task {
|
|
||||||
key: string;
|
key: string;
|
||||||
last_ran: number;
|
last_ran: number;
|
||||||
last_confirmed: number;
|
last_confirmed: number;
|
||||||
@@ -12,4 +11,4 @@ export interface Task {
|
|||||||
data: any;
|
data: any;
|
||||||
error: string;
|
error: string;
|
||||||
schedule: any;
|
schedule: any;
|
||||||
}
|
};
|
||||||
@@ -2,10 +2,9 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type TestConnectionStringRequest = {
|
||||||
export interface TestConnectionStringRequest {
|
|
||||||
/**
|
/**
|
||||||
* MongoDB connection string
|
* MongoDB connection string
|
||||||
*/
|
*/
|
||||||
connection_string: string;
|
connection_string: string;
|
||||||
}
|
};
|
||||||
@@ -2,8 +2,7 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type TestConnectionStringResponse = {
|
||||||
export interface TestConnectionStringResponse {
|
|
||||||
success: boolean;
|
success: boolean;
|
||||||
error?: string;
|
error?: string;
|
||||||
}
|
};
|
||||||
@@ -2,10 +2,9 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type TransferDBRequest = {
|
||||||
export interface TransferDBRequest {
|
|
||||||
/**
|
/**
|
||||||
* True if transfering DB from Local to MongoDB, false if transferring DB from MongoDB to Local
|
* True if transfering DB from Local to MongoDB, false if transferring DB from MongoDB to Local
|
||||||
*/
|
*/
|
||||||
local_to_remote: boolean;
|
local_to_remote: boolean;
|
||||||
}
|
};
|
||||||
@@ -2,8 +2,7 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type TransferDBResponse = {
|
||||||
export interface TransferDBResponse {
|
|
||||||
success: boolean;
|
success: boolean;
|
||||||
error?: string;
|
error?: string;
|
||||||
}
|
};
|
||||||
@@ -2,17 +2,16 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type TwitchChatMessage = {
|
||||||
export interface TwitchChatMessage {
|
|
||||||
created_at?: string;
|
created_at?: string;
|
||||||
content_offset_seconds?: number;
|
content_offset_seconds?: number;
|
||||||
commenter?: {
|
commenter?: {
|
||||||
name?: string,
|
name?: string;
|
||||||
_id?: string,
|
_id?: string;
|
||||||
created_at?: string,
|
created_at?: string;
|
||||||
};
|
};
|
||||||
message?: {
|
message?: {
|
||||||
body?: string,
|
body?: string;
|
||||||
user_color?: string,
|
user_color?: string;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
|
||||||
@@ -2,12 +2,12 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { SubscriptionRequestData } from './SubscriptionRequestData';
|
import type { SubscriptionRequestData } from './SubscriptionRequestData';
|
||||||
|
|
||||||
export interface UnsubscribeRequest {
|
export type UnsubscribeRequest = {
|
||||||
sub: SubscriptionRequestData;
|
sub: SubscriptionRequestData;
|
||||||
/**
|
/**
|
||||||
* Defaults to false
|
* Defaults to false
|
||||||
*/
|
*/
|
||||||
deleteMode?: boolean;
|
deleteMode?: boolean;
|
||||||
}
|
};
|
||||||
@@ -2,8 +2,7 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type UnsubscribeResponse = {
|
||||||
export interface UnsubscribeResponse {
|
|
||||||
success: boolean;
|
success: boolean;
|
||||||
error?: string;
|
error?: string;
|
||||||
}
|
};
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { Category } from './Category';
|
import type { Category } from './Category';
|
||||||
|
|
||||||
export interface UpdateCategoriesRequest {
|
export type UpdateCategoriesRequest = {
|
||||||
categories: Array<Category>;
|
categories: Array<Category>;
|
||||||
}
|
};
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { Category } from './Category';
|
import type { Category } from './Category';
|
||||||
|
|
||||||
export interface UpdateCategoryRequest {
|
export type UpdateCategoryRequest = {
|
||||||
category: Category;
|
category: Category;
|
||||||
}
|
};
|
||||||
@@ -2,11 +2,11 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { ConcurrentStream } from './ConcurrentStream';
|
import type { ConcurrentStream } from './ConcurrentStream';
|
||||||
|
|
||||||
export interface UpdateConcurrentStreamRequest extends ConcurrentStream {
|
export type UpdateConcurrentStreamRequest = (ConcurrentStream & {
|
||||||
/**
|
/**
|
||||||
* Concurrent stream UID
|
* Concurrent stream UID
|
||||||
*/
|
*/
|
||||||
uid: string;
|
uid: string;
|
||||||
}
|
});
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { ConcurrentStream } from './ConcurrentStream';
|
import type { ConcurrentStream } from './ConcurrentStream';
|
||||||
|
|
||||||
export interface UpdateConcurrentStreamResponse {
|
export type UpdateConcurrentStreamResponse = {
|
||||||
stream: ConcurrentStream;
|
stream: ConcurrentStream;
|
||||||
}
|
};
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import { Playlist } from './Playlist';
|
import type { Playlist } from './Playlist';
|
||||||
|
|
||||||
export interface UpdatePlaylistRequest {
|
export type UpdatePlaylistRequest = {
|
||||||
playlist: Playlist;
|
playlist: Playlist;
|
||||||
}
|
};
|
||||||
@@ -2,7 +2,6 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
export type UpdateServerRequest = {
|
||||||
export interface UpdateServerRequest {
|
|
||||||
tag: string;
|
tag: string;
|
||||||
}
|
};
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user