UNPKG

api-core

Version:

Model-based dynamic multi-level APIs for any provider, plus multiple consumption channels

24 lines (23 loc) 534 B
import { ApiRequestType } from "../request/ApiRequest"; export interface ApiEdgeMetadata { name: string; pluralName: string; idField: string; fields: string[]; methods: { name: string; type: ApiRequestType; parameters: string[]; }[]; typings?: { [key: string]: any; }; allowGet: boolean; allowList: boolean; allowCreate: boolean; allowUpdate: boolean; allowPatch: boolean; allowRemove: boolean; allowExists: boolean; external: boolean; }