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