mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-20 19:50:58 +03:00
Updated API
Removed unused component
This commit is contained in:
@@ -3,8 +3,6 @@
|
||||
/* eslint-disable */
|
||||
|
||||
export type { BaseChangePermissionsRequest } from './models/BaseChangePermissionsRequest';
|
||||
export type { BaseDownloadRequest } from './models/BaseDownloadRequest';
|
||||
export type { BaseDownloadResponse } from './models/BaseDownloadResponse';
|
||||
export type { body_19 } from './models/body_19';
|
||||
export type { body_20 } from './models/body_20';
|
||||
export type { ChangeRolePermissionsRequest } from './models/ChangeRolePermissionsRequest';
|
||||
@@ -13,8 +11,8 @@ export type { Config } from './models/Config';
|
||||
export type { ConfigResponse } from './models/ConfigResponse';
|
||||
export type { CreatePlaylistRequest } from './models/CreatePlaylistRequest';
|
||||
export type { CreatePlaylistResponse } from './models/CreatePlaylistResponse';
|
||||
export type { CropFileSettings } from './models/CropFileSettings';
|
||||
export type { DatabaseFile } from './models/DatabaseFile';
|
||||
export type { DeleteFileRequest } from './models/DeleteFileRequest';
|
||||
export type { DeleteMp3Mp4Request } from './models/DeleteMp3Mp4Request';
|
||||
export type { DeletePlaylistRequest } from './models/DeletePlaylistRequest';
|
||||
export type { DeleteSubscriptionFileRequest } from './models/DeleteSubscriptionFileRequest';
|
||||
@@ -22,6 +20,8 @@ export type { DeleteUserRequest } from './models/DeleteUserRequest';
|
||||
export type { Download } from './models/Download';
|
||||
export type { DownloadArchiveRequest } from './models/DownloadArchiveRequest';
|
||||
export type { DownloadFileRequest } from './models/DownloadFileRequest';
|
||||
export type { DownloadRequest } from './models/DownloadRequest';
|
||||
export type { DownloadResponse } from './models/DownloadResponse';
|
||||
export type { DownloadVideosForSubscriptionRequest } from './models/DownloadVideosForSubscriptionRequest';
|
||||
export type { File } from './models/File';
|
||||
export { FileType } from './models/FileType';
|
||||
@@ -37,6 +37,8 @@ export type { GetMp3sResponse } from './models/GetMp3sResponse';
|
||||
export type { GetMp4sResponse } from './models/GetMp4sResponse';
|
||||
export type { GetPlaylistRequest } from './models/GetPlaylistRequest';
|
||||
export type { GetPlaylistResponse } from './models/GetPlaylistResponse';
|
||||
export type { GetPlaylistsRequest } from './models/GetPlaylistsRequest';
|
||||
export type { GetPlaylistsResponse } from './models/GetPlaylistsResponse';
|
||||
export type { GetRolesResponse } from './models/GetRolesResponse';
|
||||
export type { GetSubscriptionRequest } from './models/GetSubscriptionRequest';
|
||||
export type { GetSubscriptionResponse } from './models/GetSubscriptionResponse';
|
||||
@@ -44,10 +46,6 @@ export type { GetUsersResponse } from './models/GetUsersResponse';
|
||||
export type { inline_response_200_15 } from './models/inline_response_200_15';
|
||||
export type { LoginRequest } from './models/LoginRequest';
|
||||
export type { LoginResponse } from './models/LoginResponse';
|
||||
export type { Mp3DownloadRequest } from './models/Mp3DownloadRequest';
|
||||
export type { Mp3DownloadResponse } from './models/Mp3DownloadResponse';
|
||||
export type { Mp4DownloadRequest } from './models/Mp4DownloadRequest';
|
||||
export type { Mp4DownloadResponse } from './models/Mp4DownloadResponse';
|
||||
export type { Playlist } from './models/Playlist';
|
||||
export type { RegisterRequest } from './models/RegisterRequest';
|
||||
export type { RegisterResponse } from './models/RegisterResponse';
|
||||
@@ -60,7 +58,6 @@ export type { SubscriptionRequestData } from './models/SubscriptionRequestData';
|
||||
export type { SuccessObject } from './models/SuccessObject';
|
||||
export type { UnsubscribeRequest } from './models/UnsubscribeRequest';
|
||||
export type { UnsubscribeResponse } from './models/UnsubscribeResponse';
|
||||
export type { UpdatePlaylistFilesRequest } from './models/UpdatePlaylistFilesRequest';
|
||||
export type { UpdatePlaylistRequest } from './models/UpdatePlaylistRequest';
|
||||
export type { UpdaterStatus } from './models/UpdaterStatus';
|
||||
export type { UpdateServerRequest } from './models/UpdateServerRequest';
|
||||
|
||||
@@ -8,4 +8,4 @@ import { YesNo } from './YesNo';
|
||||
export interface BaseChangePermissionsRequest {
|
||||
permission: UserPermission;
|
||||
new_value: YesNo;
|
||||
}
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
|
||||
export interface BaseDownloadRequest {
|
||||
url: string;
|
||||
/**
|
||||
* Video format code. Overrides other quality options.
|
||||
*/
|
||||
customQualityConfiguration?: string;
|
||||
/**
|
||||
* Custom command-line arguments for youtubedl. Overrides all other options, except url.
|
||||
*/
|
||||
customArgs?: string;
|
||||
/**
|
||||
* Custom output filename template.
|
||||
*/
|
||||
customOutput?: string;
|
||||
/**
|
||||
* Login with this account ID
|
||||
*/
|
||||
youtubeUsername?: string;
|
||||
/**
|
||||
* Account password
|
||||
*/
|
||||
youtubePassword?: string;
|
||||
ui_uid?: string | null;
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
|
||||
export interface BaseDownloadResponse {
|
||||
uid: string;
|
||||
file_names?: Array<string> | null;
|
||||
}
|
||||
@@ -6,4 +6,4 @@ import { BaseChangePermissionsRequest } from './BaseChangePermissionsRequest';
|
||||
|
||||
export interface ChangeRolePermissionsRequest extends BaseChangePermissionsRequest {
|
||||
role: string;
|
||||
}
|
||||
}
|
||||
@@ -6,4 +6,4 @@ import { BaseChangePermissionsRequest } from './BaseChangePermissionsRequest';
|
||||
|
||||
export interface ChangeUserPermissionsRequest extends BaseChangePermissionsRequest {
|
||||
user_uid: string;
|
||||
}
|
||||
}
|
||||
@@ -5,4 +5,4 @@
|
||||
|
||||
export interface Config {
|
||||
YoutubeDLMaterial: any;
|
||||
}
|
||||
}
|
||||
@@ -7,4 +7,4 @@ import { Config } from './Config';
|
||||
export interface ConfigResponse {
|
||||
config_file: Config;
|
||||
success: boolean;
|
||||
}
|
||||
}
|
||||
@@ -6,8 +6,7 @@ import { FileType } from './FileType';
|
||||
|
||||
export interface CreatePlaylistRequest {
|
||||
playlistName: string;
|
||||
fileNames: Array<string>;
|
||||
uids: Array<string>;
|
||||
type: FileType;
|
||||
thumbnailURL: string;
|
||||
duration: number;
|
||||
}
|
||||
}
|
||||
@@ -7,4 +7,4 @@ import { Playlist } from './Playlist';
|
||||
export interface CreatePlaylistResponse {
|
||||
new_playlist: Playlist;
|
||||
success: boolean;
|
||||
}
|
||||
}
|
||||
9
src/api-types/models/CropFileSettings.ts
Normal file
9
src/api-types/models/CropFileSettings.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
|
||||
export interface CropFileSettings {
|
||||
cropFileStart: number;
|
||||
cropFileEnd: number;
|
||||
}
|
||||
@@ -19,4 +19,4 @@ export interface DatabaseFile {
|
||||
upload_date: string;
|
||||
uid: string;
|
||||
sharingEnabled?: boolean;
|
||||
}
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import { FileType } from './FileType';
|
||||
|
||||
export interface DeleteFileRequest {
|
||||
fileName: string;
|
||||
type: FileType;
|
||||
}
|
||||
@@ -6,4 +6,4 @@
|
||||
export interface DeleteMp3Mp4Request {
|
||||
uid: string;
|
||||
blacklistMode?: boolean;
|
||||
}
|
||||
}
|
||||
@@ -5,6 +5,6 @@
|
||||
import { FileType } from './FileType';
|
||||
|
||||
export interface DeletePlaylistRequest {
|
||||
playlistID: string;
|
||||
playlist_id: string;
|
||||
type: FileType;
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -5,4 +5,4 @@
|
||||
|
||||
export interface DeleteUserRequest {
|
||||
uid: string;
|
||||
}
|
||||
}
|
||||
@@ -5,19 +5,22 @@
|
||||
|
||||
export interface Download {
|
||||
uid: string;
|
||||
ui_uid: string;
|
||||
downloading: boolean;
|
||||
complete: boolean;
|
||||
ui_uid?: string;
|
||||
running: boolean;
|
||||
finished: boolean;
|
||||
paused: boolean;
|
||||
finished_step: boolean;
|
||||
url: string;
|
||||
type: string;
|
||||
title: string;
|
||||
step_index: number;
|
||||
percent_complete: number;
|
||||
is_playlist: boolean;
|
||||
timestamp_start: number;
|
||||
timestamp_end?: number;
|
||||
filesize?: number | null;
|
||||
/**
|
||||
* Error text, set if download fails.
|
||||
*/
|
||||
error?: string;
|
||||
fileNames?: Array<string>;
|
||||
}
|
||||
error?: string | null;
|
||||
user_uid?: string;
|
||||
sub_id?: string;
|
||||
sub_name?: string;
|
||||
}
|
||||
@@ -5,6 +5,6 @@
|
||||
|
||||
export interface DownloadArchiveRequest {
|
||||
sub: {
|
||||
archive_dir: string,
|
||||
};
|
||||
}
|
||||
archive_dir: string,
|
||||
};
|
||||
}
|
||||
@@ -2,23 +2,13 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import { FileType } from './FileType';
|
||||
|
||||
export interface DownloadFileRequest {
|
||||
fileNames: ;
|
||||
zip_mode?: boolean;
|
||||
type: FileType;
|
||||
outputName?: string;
|
||||
fullPathProvided?: boolean;
|
||||
uid: string;
|
||||
uuid?: string;
|
||||
uid?: string;
|
||||
id?: string;
|
||||
sub_id?: string;
|
||||
/**
|
||||
* Only used for subscriptions
|
||||
*/
|
||||
subscriptionName?: string;
|
||||
/**
|
||||
* Only used for subscriptions
|
||||
*/
|
||||
subPlaylist?: boolean;
|
||||
}
|
||||
is_playlist?: boolean;
|
||||
}
|
||||
44
src/api-types/models/DownloadRequest.ts
Normal file
44
src/api-types/models/DownloadRequest.ts
Normal file
@@ -0,0 +1,44 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import { CropFileSettings } from './CropFileSettings';
|
||||
import { FileType } from './FileType';
|
||||
|
||||
export interface DownloadRequest {
|
||||
url: string;
|
||||
/**
|
||||
* Video format code. Overrides other quality options.
|
||||
*/
|
||||
customQualityConfiguration?: string;
|
||||
/**
|
||||
* Custom command-line arguments for youtube-dl. Overrides all other options, except url.
|
||||
*/
|
||||
customArgs?: string;
|
||||
/**
|
||||
* Additional command-line arguments for youtube-dl. Added to whatever args would normally be used.
|
||||
*/
|
||||
additionalArgs?: string;
|
||||
/**
|
||||
* Custom output filename template.
|
||||
*/
|
||||
customOutput?: string;
|
||||
/**
|
||||
* Login with this account ID
|
||||
*/
|
||||
youtubeUsername?: string;
|
||||
/**
|
||||
* Account password
|
||||
*/
|
||||
youtubePassword?: string;
|
||||
/**
|
||||
* Height of the video, if known
|
||||
*/
|
||||
selectedHeight?: string;
|
||||
/**
|
||||
* Specify ffmpeg/avconv audio quality
|
||||
*/
|
||||
maxBitrate?: string;
|
||||
type?: FileType;
|
||||
cropFileSettings?: CropFileSettings;
|
||||
}
|
||||
9
src/api-types/models/DownloadResponse.ts
Normal file
9
src/api-types/models/DownloadResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import { Download } from './Download';
|
||||
|
||||
export interface DownloadResponse {
|
||||
download?: Download | null;
|
||||
}
|
||||
@@ -5,4 +5,4 @@
|
||||
|
||||
export interface DownloadVideosForSubscriptionRequest {
|
||||
subID: string;
|
||||
}
|
||||
}
|
||||
@@ -5,4 +5,4 @@
|
||||
|
||||
export interface File {
|
||||
id?: string;
|
||||
}
|
||||
}
|
||||
@@ -5,4 +5,4 @@
|
||||
|
||||
export interface GenerateNewApiKeyResponse {
|
||||
new_api_key: string;
|
||||
}
|
||||
}
|
||||
@@ -2,12 +2,8 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import { Dictionary } from './Dictionary';
|
||||
import { Download } from './Download';
|
||||
|
||||
export interface GetAllDownloadsResponse {
|
||||
/**
|
||||
* Map of Session ID to inner map
|
||||
*/
|
||||
downloads?: Dictionary<Dictionary<Download>>;
|
||||
}
|
||||
downloads?: Array<Download>;
|
||||
}
|
||||
@@ -11,4 +11,4 @@ export interface GetAllFilesResponse {
|
||||
* All video playlists
|
||||
*/
|
||||
playlists: Array<Playlist>;
|
||||
}
|
||||
}
|
||||
@@ -6,4 +6,4 @@ import { Subscription } from './Subscription';
|
||||
|
||||
export interface GetAllSubscriptionsResponse {
|
||||
subscriptions: Array<Subscription>;
|
||||
}
|
||||
}
|
||||
@@ -4,6 +4,5 @@
|
||||
|
||||
|
||||
export interface GetDownloadRequest {
|
||||
session_id: string;
|
||||
download_id: string;
|
||||
}
|
||||
download_uid: string;
|
||||
}
|
||||
@@ -6,4 +6,4 @@ import { Download } from './Download';
|
||||
|
||||
export interface GetDownloadResponse {
|
||||
download?: Download | null;
|
||||
}
|
||||
}
|
||||
@@ -14,4 +14,4 @@ export interface GetFileRequest {
|
||||
* User UID
|
||||
*/
|
||||
uuid?: string;
|
||||
}
|
||||
}
|
||||
@@ -7,4 +7,4 @@ import { DatabaseFile } from './DatabaseFile';
|
||||
export interface GetFileResponse {
|
||||
success: boolean;
|
||||
file?: DatabaseFile;
|
||||
}
|
||||
}
|
||||
@@ -11,4 +11,4 @@ export interface GetMp3sResponse {
|
||||
* All audio playlists
|
||||
*/
|
||||
playlists: Array<Playlist>;
|
||||
}
|
||||
}
|
||||
@@ -11,4 +11,4 @@ export interface GetMp4sResponse {
|
||||
* All video playlists
|
||||
*/
|
||||
playlists: Array<Playlist>;
|
||||
}
|
||||
}
|
||||
@@ -5,7 +5,8 @@
|
||||
import { FileType } from './FileType';
|
||||
|
||||
export interface GetPlaylistRequest {
|
||||
playlistID: string;
|
||||
playlist_id: string;
|
||||
type?: FileType;
|
||||
uuid?: string;
|
||||
}
|
||||
include_file_metadata?: boolean;
|
||||
}
|
||||
@@ -9,4 +9,4 @@ export interface GetPlaylistResponse {
|
||||
playlist: Playlist;
|
||||
type: FileType;
|
||||
success: boolean;
|
||||
}
|
||||
}
|
||||
8
src/api-types/models/GetPlaylistsRequest.ts
Normal file
8
src/api-types/models/GetPlaylistsRequest.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
|
||||
export interface GetPlaylistsRequest {
|
||||
include_categories?: boolean;
|
||||
}
|
||||
9
src/api-types/models/GetPlaylistsResponse.ts
Normal file
9
src/api-types/models/GetPlaylistsResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import { Playlist } from './Playlist';
|
||||
|
||||
export interface GetPlaylistsResponse {
|
||||
playlists: Array<Playlist>;
|
||||
}
|
||||
@@ -6,11 +6,11 @@ import { UserPermission } from './UserPermission';
|
||||
|
||||
export interface GetRolesResponse {
|
||||
roles: {
|
||||
admin?: {
|
||||
permissions?: Array<UserPermission>,
|
||||
},
|
||||
user?: {
|
||||
permissions?: Array<UserPermission>,
|
||||
},
|
||||
};
|
||||
}
|
||||
admin?: {
|
||||
permissions?: Array<UserPermission>,
|
||||
},
|
||||
user?: {
|
||||
permissions?: Array<UserPermission>,
|
||||
},
|
||||
};
|
||||
}
|
||||
@@ -8,4 +8,8 @@ export interface GetSubscriptionRequest {
|
||||
* Subscription ID
|
||||
*/
|
||||
id: string;
|
||||
}
|
||||
/**
|
||||
* Subscription name
|
||||
*/
|
||||
name?: string;
|
||||
}
|
||||
@@ -7,4 +7,4 @@ import { Subscription } from './Subscription';
|
||||
export interface GetSubscriptionResponse {
|
||||
subscription: Subscription;
|
||||
files: Array<any>;
|
||||
}
|
||||
}
|
||||
@@ -6,4 +6,4 @@ import { User } from './User';
|
||||
|
||||
export interface GetUsersResponse {
|
||||
users: Array<User>;
|
||||
}
|
||||
}
|
||||
@@ -6,4 +6,4 @@
|
||||
export interface LoginRequest {
|
||||
username: string;
|
||||
password: string;
|
||||
}
|
||||
}
|
||||
@@ -10,4 +10,4 @@ export interface LoginResponse {
|
||||
token?: string;
|
||||
permissions?: Array<UserPermission>;
|
||||
available_permissions?: Array<UserPermission>;
|
||||
}
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import { BaseDownloadRequest } from './BaseDownloadRequest';
|
||||
|
||||
export interface Mp3DownloadRequest extends BaseDownloadRequest {
|
||||
/**
|
||||
* Specify ffmpeg/avconv audio quality
|
||||
*/
|
||||
maxBitrate?: string;
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import { BaseDownloadResponse } from './BaseDownloadResponse';
|
||||
|
||||
export interface Mp3DownloadResponse extends BaseDownloadResponse {
|
||||
audiopathEncoded: string;
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import { BaseDownloadRequest } from './BaseDownloadRequest';
|
||||
|
||||
export interface Mp4DownloadRequest extends BaseDownloadRequest {
|
||||
/**
|
||||
* Height of the video, if known
|
||||
*/
|
||||
selectedHeight?: string;
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import { BaseDownloadResponse } from './BaseDownloadResponse';
|
||||
|
||||
export interface Mp4DownloadResponse extends BaseDownloadResponse {
|
||||
videopathEncoded: string;
|
||||
}
|
||||
@@ -6,10 +6,11 @@ import { FileType } from './FileType';
|
||||
|
||||
export interface Playlist {
|
||||
name: string;
|
||||
fileNames: Array<string>;
|
||||
uids: Array<string>;
|
||||
id: string;
|
||||
thumbnailURL: string;
|
||||
type: FileType;
|
||||
registered: number;
|
||||
duration: number;
|
||||
}
|
||||
user_uid?: string;
|
||||
}
|
||||
@@ -7,4 +7,4 @@ export interface RegisterRequest {
|
||||
userid: string;
|
||||
username: string;
|
||||
password: string;
|
||||
}
|
||||
}
|
||||
@@ -6,4 +6,4 @@ import { User } from './User';
|
||||
|
||||
export interface RegisterResponse {
|
||||
user?: User;
|
||||
}
|
||||
}
|
||||
@@ -6,4 +6,4 @@ import { Config } from './Config';
|
||||
|
||||
export interface SetConfigRequest {
|
||||
new_config_file: Config;
|
||||
}
|
||||
}
|
||||
@@ -2,10 +2,8 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import { FileType } from './FileType';
|
||||
|
||||
export interface SharingToggle {
|
||||
uid: string;
|
||||
type: FileType;
|
||||
is_playlist?: boolean;
|
||||
}
|
||||
}
|
||||
@@ -7,8 +7,8 @@ export interface SubscribeRequest {
|
||||
name: string;
|
||||
url: string;
|
||||
timerange?: string;
|
||||
streamingOnly: boolean;
|
||||
audioOnly?: boolean;
|
||||
customArgs?: string;
|
||||
customFileOutput?: string;
|
||||
}
|
||||
maxQuality?: string;
|
||||
}
|
||||
@@ -7,4 +7,4 @@ import { Subscription } from './Subscription';
|
||||
export interface SubscribeResponse {
|
||||
new_sub: Subscription;
|
||||
error?: string;
|
||||
}
|
||||
}
|
||||
@@ -17,4 +17,4 @@ export interface Subscription {
|
||||
custom_args?: string;
|
||||
custom_output?: string;
|
||||
videos: Array<any>;
|
||||
}
|
||||
}
|
||||
@@ -10,4 +10,4 @@ export interface SubscriptionRequestData {
|
||||
type?: FileType;
|
||||
isPlaylist?: boolean;
|
||||
archive?: string;
|
||||
}
|
||||
}
|
||||
@@ -5,4 +5,4 @@
|
||||
|
||||
export interface SuccessObject {
|
||||
success: boolean;
|
||||
}
|
||||
}
|
||||
@@ -10,4 +10,4 @@ export interface UnsubscribeRequest {
|
||||
* Defaults to false
|
||||
*/
|
||||
deleteMode?: boolean;
|
||||
}
|
||||
}
|
||||
@@ -6,4 +6,4 @@
|
||||
export interface UnsubscribeResponse {
|
||||
success: boolean;
|
||||
error?: string;
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import { FileType } from './FileType';
|
||||
|
||||
export interface UpdatePlaylistFilesRequest {
|
||||
playlistID: string;
|
||||
fileNames: Array<string>;
|
||||
type: FileType;
|
||||
}
|
||||
@@ -6,4 +6,4 @@ import { Playlist } from './Playlist';
|
||||
|
||||
export interface UpdatePlaylistRequest {
|
||||
playlist: Playlist;
|
||||
}
|
||||
}
|
||||
@@ -5,4 +5,4 @@
|
||||
|
||||
export interface UpdateServerRequest {
|
||||
tag: string;
|
||||
}
|
||||
}
|
||||
@@ -5,8 +5,8 @@
|
||||
|
||||
export interface UpdateUserRequest {
|
||||
change_object: {
|
||||
uid: string,
|
||||
name?: string,
|
||||
role?: string,
|
||||
};
|
||||
}
|
||||
uid: string,
|
||||
name?: string,
|
||||
role?: string,
|
||||
};
|
||||
}
|
||||
@@ -7,4 +7,4 @@ export interface UpdaterStatus {
|
||||
updating: boolean;
|
||||
details: string;
|
||||
error?: boolean;
|
||||
}
|
||||
}
|
||||
@@ -10,16 +10,16 @@ export interface User {
|
||||
name?: string;
|
||||
passhash?: string;
|
||||
files?: {
|
||||
audio?: Array<File>,
|
||||
video?: Array<File>,
|
||||
};
|
||||
audio?: Array<File>,
|
||||
video?: Array<File>,
|
||||
};
|
||||
playlists?: {
|
||||
audio?: Array<File>,
|
||||
video?: Array<File>,
|
||||
};
|
||||
audio?: Array<File>,
|
||||
video?: Array<File>,
|
||||
};
|
||||
subscriptions?: Array<Subscription>;
|
||||
created?: number;
|
||||
role?: string;
|
||||
permissions?: Array<UserPermission>;
|
||||
permission_overrides?: Array<UserPermission>;
|
||||
}
|
||||
}
|
||||
@@ -5,4 +5,4 @@
|
||||
|
||||
export interface body_19 {
|
||||
input_pin: string;
|
||||
}
|
||||
}
|
||||
@@ -5,4 +5,4 @@
|
||||
|
||||
export interface body_20 {
|
||||
unhashed_pin: string;
|
||||
}
|
||||
}
|
||||
@@ -5,4 +5,4 @@
|
||||
|
||||
export interface inline_response_200_15 {
|
||||
is_set: boolean;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user