Further cleanup to API and models

improved-downloads-management
Isaac Abadi 4 years ago
parent 1514952fd1
commit a2db8ba0fe

@ -2164,7 +2164,6 @@ components:
type: boolean
result:
allOf:
- $ref: '#/components/schemas/file'
- type: object
properties:
formats:
@ -2556,28 +2555,6 @@ components:
type: string
passhash:
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:
type: array
items:

@ -2,11 +2,9 @@
/* tslint:disable */
/* eslint-disable */
import type { file } from './file';
export type GetFileFormatsResponse = {
success: boolean;
result: (file & {
result: {
formats?: Array<any>;
});
};
};

@ -2,7 +2,6 @@
/* tslint:disable */
/* eslint-disable */
import type { file } from './file';
import type { Subscription } from './Subscription';
import type { UserPermission } from './UserPermission';
@ -10,14 +9,6 @@ export type User = {
uid?: string;
name?: string;
passhash?: string;
files?: {
audio?: Array<file>;
video?: Array<file>;
};
playlists?: {
audio?: Array<file>;
video?: Array<file>;
};
subscriptions?: Array<Subscription>;
created?: number;
role?: string;

Loading…
Cancel
Save