UNPKG

dc-management-sdk-js

Version:
41 lines (40 loc) 1.11 kB
import { HalResource } from '../hal/models/HalResource'; import { Page } from './Page'; /** * Class representing the [EditionSlot](https://amplience.com/docs/api/dynamic-content/management/#tag/Slots) resource. * EditionSlots model what content will go into a particular Slot for a specific Edition. */ export declare class EditionSlot extends HalResource { /** * Unique id generated on creation */ id?: string; /** * Id of the slot content item */ slotId?: string; /** * JSON body of the slot as it will be when the Edition is published */ content: any; /** * Whether the slot is empty or not */ empty?: boolean; /** * Resources and actions related to a Slot */ readonly related: { /** * Updates this slot with new content * @param content New content to update with */ content: (content: any, lastModifiedDate?: string) => Promise<EditionSlot>; }; } /** * @hidden */ export declare class EditionSlotsPage extends Page<EditionSlot> { constructor(data?: any); }