contentful-management
Version:
Client for Contentful's Content Management API
6 lines (5 loc) • 342 B
TypeScript
import type { GetContentTypeParams, MakeRequest } from '../common-types';
import type { ContentTypeProps } from '../entities/content-type';
export declare const omitAndDeleteField: (makeRequest: MakeRequest, { fieldId, ...params }: {
fieldId: string;
} & GetContentTypeParams, contentType: ContentTypeProps) => Promise<ContentTypeProps>;