UNPKG

odata-v4-server

Version:
22 lines (21 loc) 532 B
import { ObjectID } from "mongodb"; import { Edm } from "../lib/index"; export declare class Product { _id: ObjectID; CategoryId: ObjectID; Category: Category; Discontinued: boolean; Name: string; QuantityPerUnit: string; UnitPrice: number; } export declare class Category { _id: ObjectID; Description: string; Name: string; Products: Product[]; echo(): string[]; } export declare class NorthwindTypes extends Edm.ContainerBase { ObjectID: typeof ObjectID; }