import { IRequestOptions, IResponse } from '@datx/jsonapi'; import { View } from '@datx/core'; import { Observable } from 'rxjs'; import { IJsonapiModel } from './IJsonapiModel'; import { Response } from '../Response'; export interface IJsonapiView extends View { sync(body?: IResponse): T | Array | null; getOne(id: string, options?: IRequestOptions): Observable>; getMany(options?: IRequestOptions): Observable>; }