contensis-delivery-api
Version:
Client for retrieving content using the read-only Contensis Delivery API
14 lines (11 loc) • 448 B
text/typescript
import { Entry } from './Entry';
import { NodeDefaultOptions } from './NodeDefaultOptions';
import { NodeDefaultWithDepthOptions } from './NodeDefaultWithDepthOptions';
export interface NodeGetByEntryOptions extends NodeDefaultOptions {
entryId?: string;
entry?: Entry;
canonicalOnly?: boolean;
}
export interface NodeGetCanonicalByEntryOptions extends NodeGetByEntryOptions, NodeDefaultWithDepthOptions {
canonicalOnly: true;
}