Interface CreateItemInput

interface CreateItemInput {
    asset?: {
        filename?: string;
        url?: string;
    };
    link?: {
        href: string;
        loadUrlInApps: boolean;
    };
    metadata: {
        [key: string]: unknown;
    };
    pages?: number;
    parentId: string;
    settings?: {
        documentControls?: {
            hideFullscreen: boolean;
            hideNavigationArrows: boolean;
            hidePagePicker: boolean;
            hideZoomAndFit: boolean;
        };
        isSearchFolder?: boolean;
        isTemplate?: boolean;
        term?: string;
    };
    thumbnail?: {
        url: undefined | string;
    };
    title?: string;
    type: "folder" | "file" | "url";
}

Properties

asset?: {
    filename?: string;
    url?: string;
}
link?: {
    href: string;
    loadUrlInApps: boolean;
}
metadata: {
    [key: string]: unknown;
}
pages?: number
parentId: string
settings?: {
    documentControls?: {
        hideFullscreen: boolean;
        hideNavigationArrows: boolean;
        hidePagePicker: boolean;
        hideZoomAndFit: boolean;
    };
    isSearchFolder?: boolean;
    isTemplate?: boolean;
    term?: string;
}
thumbnail?: {
    url: undefined | string;
}
title?: string
type: "folder" | "file" | "url"