import { Observable } from 'rxjs/Observable' ; import { SDKFetch } from '../../SDKFetch' ; import { FileSchema } from '../../schemas/File' ; export interface GetMyFilesQuery { page : number ; limit : number ; order : 'updatedAsc' | 'updatedDesc' | 'sizeAsc' | 'sizeDesc' | 'nameAsc' | 'nameDesc' ; } export function getMyCreateFilesFetch ( this , opt ) { return this . get ( 'works/me/create' , opt ) ; } export function getMyInvolveFilesFetch ( this , opt ? ) { return this . get ( 'works/me/involve' , opt ) ; } SDKFetch . prototype . getMyCreateFiles = getMyCreateFilesFetch ; SDKFetch . prototype . getMyInvolveFiles = getMyInvolveFilesFetch ; declare module '../../SDKFetch' { interface SDKFetch { getMyCreateFiles : typeof getMyCreateFilesFetch ; getMyInvolveFiles : typeof getMyInvolveFilesFetch ; } }