mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-16 23:21:29 +03:00
Further cleanup to API and models
This commit is contained in:
@@ -2164,7 +2164,6 @@ components:
|
|||||||
type: boolean
|
type: boolean
|
||||||
result:
|
result:
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: '#/components/schemas/file'
|
|
||||||
- type: object
|
- type: object
|
||||||
properties:
|
properties:
|
||||||
formats:
|
formats:
|
||||||
@@ -2556,28 +2555,6 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
passhash:
|
passhash:
|
||||||
type: string
|
type: string
|
||||||
files:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
audio:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/file'
|
|
||||||
video:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/file'
|
|
||||||
playlists:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
audio:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/file'
|
|
||||||
video:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/file'
|
|
||||||
subscriptions:
|
subscriptions:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
|
|||||||
@@ -2,11 +2,9 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { file } from './file';
|
|
||||||
|
|
||||||
export type GetFileFormatsResponse = {
|
export type GetFileFormatsResponse = {
|
||||||
success: boolean;
|
success: boolean;
|
||||||
result: (file & {
|
result: {
|
||||||
formats?: Array<any>;
|
formats?: Array<any>;
|
||||||
});
|
};
|
||||||
};
|
};
|
||||||
@@ -2,7 +2,6 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { file } from './file';
|
|
||||||
import type { Subscription } from './Subscription';
|
import type { Subscription } from './Subscription';
|
||||||
import type { UserPermission } from './UserPermission';
|
import type { UserPermission } from './UserPermission';
|
||||||
|
|
||||||
@@ -10,14 +9,6 @@ export type User = {
|
|||||||
uid?: string;
|
uid?: string;
|
||||||
name?: string;
|
name?: string;
|
||||||
passhash?: string;
|
passhash?: string;
|
||||||
files?: {
|
|
||||||
audio?: Array<file>;
|
|
||||||
video?: Array<file>;
|
|
||||||
};
|
|
||||||
playlists?: {
|
|
||||||
audio?: Array<file>;
|
|
||||||
video?: Array<file>;
|
|
||||||
};
|
|
||||||
subscriptions?: Array<Subscription>;
|
subscriptions?: Array<Subscription>;
|
||||||
created?: number;
|
created?: number;
|
||||||
role?: string;
|
role?: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user