From 6d28cf5d98306b58574ab6d7d40fd9e2102dfb33 Mon Sep 17 00:00:00 2001 From: Robert Serrano Kobylyansky Date: Mon, 20 Nov 2023 01:29:50 +0000 Subject: [PATCH 1/2] Add setAssetPath method to MCT type information --- openmct.js | 1 + 1 file changed, 1 insertion(+) diff --git a/openmct.js b/openmct.js index 521a423d2c0..29b58d6a2ae 100644 --- a/openmct.js +++ b/openmct.js @@ -67,6 +67,7 @@ if (document.currentScript) { * @property {import('./src/api/annotation/AnnotationAPI').default} annotation * @property {{(plugin: OpenMCTPlugin) => void}} install * @property {{() => string}} getAssetPath + * @property {{(assetPath: string) => void}} setAssetPath * @property {{(domElement: HTMLElement, isHeadlessMode: boolean) => void}} start * @property {{() => void}} startHeadless * @property {{() => void}} destroy From e31a3ee6ceb601986c6f8bb1740dad35e52f3bda Mon Sep 17 00:00:00 2001 From: Robert Serrano Kobylyansky Date: Fri, 24 Nov 2023 00:37:22 +0000 Subject: [PATCH 2/2] Add TypeRegistry to OpenMCT typedef --- openmct.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmct.js b/openmct.js index 29b58d6a2ae..d356db4d973 100644 --- a/openmct.js +++ b/openmct.js @@ -47,7 +47,7 @@ if (document.currentScript) { * @property {*} inspectorViews * @property {*} propertyEditors * @property {*} toolbars - * @property {*} types + * @property {import('./src/api/types/TypeRegistry').default} types * @property {import('./src/api/objects/ObjectAPI').default} objects * @property {import('./src/api/telemetry/TelemetryAPI').default} telemetry * @property {import('./src/api/indicators/IndicatorAPI').default} indicators