odata-v4-server
Version:
OData V4 Server
22 lines (21 loc) • 532 B
TypeScript
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;
}