UNPKG

kentico-cloud-delivery

Version:

Official Kentico Cloud Delivery SDK

30 lines (29 loc) 990 B
import { IElementContract, IElementOptionContract } from './shared/elements.interface'; import { IPaginationContract } from './shared/ipagination.interface'; export declare namespace TypeContracts { interface IContentTypeSystemAttributesContract { id: string; name: string; codename: string; last_modified: Date; } interface IContentTypeContract { system: IContentTypeSystemAttributesContract; elements: IElementContract[]; } interface ITypesResponseContract { types: IContentTypeContract[]; pagination: IPaginationContract; } interface ITypeResponseContract { system: IContentTypeSystemAttributesContract; elements: IContentTypeElementContract[]; } interface IContentTypeElementContract { codename: string; type: string; name: string; taxonomy_group?: string; options?: IElementOptionContract[]; } }