UNPKG

contentful-management

Version:
34 lines (33 loc) 1.4 kB
import type { DefaultElements, Link, MakeRequest } from '../common-types'; export type ContentSemanticsIndexStatus = 'ACTIVE' | 'PENDING' | 'DELETING'; export type ContentSemanticsIndexProps = { sys: { id: string; type: 'ContentSemanticsIndex'; status: ContentSemanticsIndexStatus; localeCode: string; createdAt: string; updatedAt: string; createdBy: Link<'User'> | null; locale: Link<'Locale'>; environment: Link<'Environment'>; space: Link<'Space'>; organization: Link<'Organization'>; }; }; export type ContentSemanticsIndexCollectionProps = { sys: { type: 'Array'; }; items: ContentSemanticsIndexProps[]; }; export type CreateContentSemanticsIndexProps = { spaceId: string; locale: string; }; export interface ContentSemanticsIndex extends ContentSemanticsIndexProps, DefaultElements<ContentSemanticsIndexProps> { } export interface ContentSemanticsIndexCollection extends ContentSemanticsIndexCollectionProps, DefaultElements<ContentSemanticsIndexCollectionProps> { } export declare function wrapContentSemanticsIndex(_makeRequest: MakeRequest, data: ContentSemanticsIndexProps): ContentSemanticsIndex; export declare function wrapContentSemanticsIndexCollection(_makeRequest: MakeRequest, data: ContentSemanticsIndexCollectionProps): ContentSemanticsIndexCollection;