UNPKG

kentico-cloud-delivery

Version:

Official Kentico Cloud Delivery SDK

36 lines (35 loc) 1.07 kB
import { IPaginationContract } from './shared/ipagination.interface'; export declare namespace ItemContracts { interface ILinkContract { itemId: string; codename: string; type: string; url_slug: string; } interface IModularContentContract { system: IContentItemSystemAttributesContract; elements: any; } interface IContentItemContract { system: IContentItemSystemAttributesContract; elements: any; } interface IContentItemSystemAttributesContract { id: string; name: string; codename: string; type: string; last_modified: Date; language: string; sitemap_locations: string[]; } interface IItemsResponseContract { items: IContentItemContract[]; modular_content: IModularContentContract[]; pagination: IPaginationContract; } interface IItemResponseContract { item: IContentItemContract; modular_content: IModularContentContract[]; } }