Type Alias UiSelectContentRequest

UiSelectContentRequest: {
    allowed_asset_content_types?: FileContentTypeEnum[];
    allowed_content_types?: FileContentTypeEnum[];
    allowed_ids?: File["id"][];
    allowed_original_extensions?: string[];
    allowed_selector_types?: SelectorType[];
    content_type?: "file" | "slide" | "content";
    disable_no_sharable?: boolean;
    initial_metadata_filters?: Record<string, any>;
    max_selections?: number;
    min_selections?: Range<0, 999>;
    selections?: Selection[];
}

Type declaration

  • Optionalallowed_asset_content_types?: FileContentTypeEnum[]
  • Optionalallowed_content_types?: FileContentTypeEnum[]
  • Optionalallowed_ids?: File["id"][]
  • Optionalallowed_original_extensions?: string[]

    Array of file extensions to scope out list of the results (optional). Only files with these extensions will be shown.

  • Optionalallowed_selector_types?: SelectorType[]
  • Optionalcontent_type?: "file" | "slide" | "content"
  • Optionaldisable_no_sharable?: boolean

    Disables files from selection which are not sharable (optional).

  • Optionalinitial_metadata_filters?: Record<string, any>
  • Optionalmax_selections?: number
  • Optionalmin_selections?: Range<0, 999>
  • Optionalselections?: Selection[]

    Array of selections