{"version":3,"sources":["../../../packages/core/data/extension-broker/model/extension-search-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AAExF;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,WAAW,EAAE,MAAM,EAAE,CAAC;IAEtB;;OAEG;IACH,iBAAiB,EAAE;QACf;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QAEb;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;KAChB,EAAE,CAAC;IAEJ;;OAEG;IACH,kBAAkB,EAAE,OAAO,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B;;OAEG;IACH,cAAc,CAAC,EAAE,+BAA+B,EAAE,CAAC;IAEnD;;OAEG;IACH,SAAS,CAAC,EAAE,wBAAwB,CAAC;CACxC","file":"extension-search-options.d.ts","sourcesContent":["import { EnvironmentModuleEntryPointType } from '../../../manifest/environment-modules';\r\n\r\n/**\r\n * The condition to search to further narrowing done.\r\n */\r\nexport interface ExtensionSearchCondition {\r\n    /**\r\n     * The solution ID.\r\n     */\r\n    targetSolutionId: string;\r\n\r\n    /**\r\n     * The communication target names.\r\n     */\r\n    targetNames: string[];\r\n\r\n    /**\r\n     * The connections.\r\n     */\r\n    targetConnections: {\r\n        /**\r\n         * The identity of connection.\r\n         */\r\n        id: string;\r\n\r\n        /**\r\n         * The type of connection.\r\n         */\r\n        type: string;\r\n\r\n        /**\r\n         * The name of connection.\r\n         */\r\n        name: string;\r\n    }[];\r\n\r\n    /**\r\n     * Validate with the requirements on manifest.\r\n     */\r\n    validationRequired: boolean;\r\n}\r\n\r\n/**\r\n * The extension search options.\r\n */\r\nexport interface ExtensionSearchOptions {\r\n    /**\r\n     * The id of the extension entry point to find an instance of.\r\n     */\r\n    entryPointId?: string;\r\n\r\n    /**\r\n     * The id of the extension instance to find. If provided, takes priority over entryPointId\r\n     */\r\n    instanceId?: string;\r\n\r\n    /**\r\n     * indicates if the extension should be instantiated if it was not found\r\n     */\r\n    createIfNotFound?: boolean;\r\n\r\n    /**\r\n     * The type of extension to search for. Currently only worker is supported.\r\n     */\r\n    extensionTypes?: EnvironmentModuleEntryPointType[];\r\n\r\n    /**\r\n     * The condition of extension to search.\r\n     */\r\n    condition?: ExtensionSearchCondition;\r\n}\r\n"]}