UNPKG

@rest-api/react-models

Version:

[![npm version](https://img.shields.io/npm/v/@rest-api/react-models)](https://www.npmjs.com/package/@rest-api/react-models) [![codecov](https://codecov.io/gh/hector7/rest-api-react-models/branch/master/graph/badge.svg)](https://codecov.io/gh/hector7/rest-

32 lines (31 loc) 821 B
import { Model, ModelType, PopulatedModelType, FullPopulatedModelType } from '../../..'; declare const librarySchema: import("../../..").SchemaClass<{ id: number; name: string; }, { id: number; name: string; }, { id: number; name: string; }>; export declare type LibraryType = ModelType<typeof librarySchema>; export declare type LibraryPopulatedType = PopulatedModelType<typeof librarySchema>; export declare type LibraryFullPopulatedType = FullPopulatedModelType<typeof librarySchema>; declare const _default: Model<import("../../..").SchemaClass<{ id: number; name: string; }, { id: number; name: string; }, { id: number; name: string; }>, "id", { count: number; results: { id: number; name: string; }[]; }, number>; export default _default;