contentful-management
Version:
Client for Contentful's Content Management API
10 lines (9 loc) • 603 B
TypeScript
import type { RestEndpoint } from '../types';
export declare const get: RestEndpoint<'ContentType', 'get'>;
export declare const getMany: RestEndpoint<'ContentType', 'getMany'>;
export declare const create: RestEndpoint<'ContentType', 'create'>;
export declare const createWithId: RestEndpoint<'ContentType', 'createWithId'>;
export declare const update: RestEndpoint<'ContentType', 'update'>;
export declare const del: RestEndpoint<'ContentType', 'delete'>;
export declare const publish: RestEndpoint<'ContentType', 'publish'>;
export declare const unpublish: RestEndpoint<'ContentType', 'unpublish'>;