UNPKG

@vertigis/viewer-spec

Version:

VertiGIS Viewer Specification

26 lines (25 loc) 835 B
import type { ModelProperties } from "../common/ModelProperties.js"; /** * Represent sources of portal items. */ export type Source = "my-content" | "my-groups" | "my-favorites" | "organization" | "public"; /** * Properties that are used for the Portal service. */ export interface PortalModelProperties extends ModelProperties { /** * Tags by which the Choose Layer modal will filter out the displayed * layers. */ layerFilterTags?: string[]; /** * Optionally specify the source that will be initially selected in the * Choose Layer modal. If not specified we default to "organization". */ initialSource?: Source; /** * The sources that we want to expose by default in the Choose Layer modal. * If not specified we include all sources. */ sources?: Source[]; }