/** @packageDocumentation * @module PresentationRules */ import { ContentSpecificationBase, ContentSpecificationTypes } from "./ContentSpecification"; /** * Creates content for current selection. * * **Note:** No data is returned for selected custom nodes. * * @see [More details]($docs/learning/presentation/Content/SelectedNodeInstances.md) * @public */ export interface SelectedNodeInstancesSpecification extends ContentSpecificationBase { /** Used for serializing to JSON. */ specType: ContentSpecificationTypes.SelectedNodeInstances; /** * Filter selected nodes by specified schema name. All schemas are * accepted if not specified. * * @pattern ^[\w\d]+$ */ acceptableSchemaName?: string; /** * Filter selected nodes by specified class names. All classes are * accepted if not specified. */ acceptableClassNames?: string[]; /** * Should [[acceptableClassNames]] property be checked polymorphically. If true, all derived * classes are accepted as well. */ acceptablePolymorphically?: boolean; /** * Identifies whether we should ignore this specification if there is already an existing specification * with higher `priority` that already provides content. */ onlyIfNotHandled?: boolean; } //# sourceMappingURL=SelectedNodeInstancesSpecification.d.ts.map