Further cleanup to API and models

This commit is contained in:
Isaac Abadi
2022-05-11 23:53:10 -04:00
parent 1514952fd1
commit a2db8ba0fe
3 changed files with 2 additions and 36 deletions

View File

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

View File

@@ -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;