@finos/legend-application-studio 28.21.45 → 28.21.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/__lib__/LegendStudioEvent.d.ts +63 -1
- package/lib/__lib__/LegendStudioEvent.d.ts.map +1 -1
- package/lib/__lib__/LegendStudioEvent.js +90 -0
- package/lib/__lib__/LegendStudioEvent.js.map +1 -1
- package/lib/__lib__/LegendStudioTelemetryHelper.d.ts +655 -1
- package/lib/__lib__/LegendStudioTelemetryHelper.d.ts.map +1 -1
- package/lib/__lib__/LegendStudioTelemetryHelper.js +709 -1
- package/lib/__lib__/LegendStudioTelemetryHelper.js.map +1 -1
- package/lib/components/editor/editor-group/LegendAISuggestTelemetryHooks.d.ts +30 -0
- package/lib/components/editor/editor-group/LegendAISuggestTelemetryHooks.d.ts.map +1 -0
- package/lib/components/editor/editor-group/LegendAISuggestTelemetryHooks.js +43 -0
- package/lib/components/editor/editor-group/LegendAISuggestTelemetryHooks.js.map +1 -0
- package/lib/components/editor/editor-group/RuntimeEditor.d.ts +4 -3
- package/lib/components/editor/editor-group/RuntimeEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/RuntimeEditor.js +90 -36
- package/lib/components/editor/editor-group/RuntimeEditor.js.map +1 -1
- package/lib/components/editor/editor-group/dataProduct/DataProductEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/dataProduct/DataProductEditor.js +154 -35
- package/lib/components/editor/editor-group/dataProduct/DataProductEditor.js.map +1 -1
- package/lib/components/editor/editor-group/dataProduct/DataProductQueryBuilderHelper.d.ts.map +1 -1
- package/lib/components/editor/editor-group/dataProduct/DataProductQueryBuilderHelper.js +4 -6
- package/lib/components/editor/editor-group/dataProduct/DataProductQueryBuilderHelper.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceEditor.js +31 -7
- package/lib/components/editor/editor-group/service-editor/ServiceEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.js +4 -8
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.js.map +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.js +15 -0
- package/lib/components/editor/side-bar/WorkflowManager.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/index.d.ts +3 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +3 -1
- package/lib/index.js.map +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/editor/EditorGraphState.d.ts.map +1 -1
- package/lib/stores/editor/EditorGraphState.js +17 -1
- package/lib/stores/editor/EditorGraphState.js.map +1 -1
- package/lib/stores/editor/EditorStore.d.ts +2 -0
- package/lib/stores/editor/EditorStore.d.ts.map +1 -1
- package/lib/stores/editor/EditorStore.js +12 -0
- package/lib/stores/editor/EditorStore.js.map +1 -1
- package/lib/stores/editor/EditorTabManagerState.d.ts +18 -1
- package/lib/stores/editor/EditorTabManagerState.d.ts.map +1 -1
- package/lib/stores/editor/EditorTabManagerState.js +90 -1
- package/lib/stores/editor/EditorTabManagerState.js.map +1 -1
- package/lib/stores/editor/EditorTabTelemetryHelper.d.ts +31 -0
- package/lib/stores/editor/EditorTabTelemetryHelper.d.ts.map +1 -0
- package/lib/stores/editor/EditorTabTelemetryHelper.js +55 -0
- package/lib/stores/editor/EditorTabTelemetryHelper.js.map +1 -0
- package/lib/stores/editor/GraphEditFormModeState.d.ts.map +1 -1
- package/lib/stores/editor/GraphEditFormModeState.js +22 -1
- package/lib/stores/editor/GraphEditFormModeState.js.map +1 -1
- package/lib/stores/editor/LegendAISuggestTelemetry.d.ts +143 -0
- package/lib/stores/editor/LegendAISuggestTelemetry.d.ts.map +1 -0
- package/lib/stores/editor/LegendAISuggestTelemetry.js +376 -0
- package/lib/stores/editor/LegendAISuggestTelemetry.js.map +1 -0
- package/lib/stores/editor/LegendSQLStudioPlaygroundState.js +3 -3
- package/lib/stores/editor/LegendSQLStudioPlaygroundState.js.map +1 -1
- package/lib/stores/editor/editor-state/GraphGenerationState.d.ts +14 -3
- package/lib/stores/editor/editor-state/GraphGenerationState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/GraphGenerationState.js +42 -5
- package/lib/stores/editor/editor-state/GraphGenerationState.js.map +1 -1
- package/lib/stores/editor/editor-state/ModelImporterState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/ModelImporterState.js +2 -1
- package/lib/stores/editor/editor-state/ModelImporterState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/ElementExternalFormatGenerationState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/ElementExternalFormatGenerationState.js +14 -0
- package/lib/stores/editor/editor-state/element-editor-state/ElementExternalFormatGenerationState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/RuntimeEditorState.d.ts +35 -6
- package/lib/stores/editor/editor-state/element-editor-state/RuntimeEditorState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/RuntimeEditorState.js +74 -29
- package/lib/stores/editor/editor-state/element-editor-state/RuntimeEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/availability/testable/AvailabilityTestableState.d.ts +5 -0
- package/lib/stores/editor/editor-state/element-editor-state/availability/testable/AvailabilityTestableState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/availability/testable/AvailabilityTestableState.js +13 -0
- package/lib/stores/editor/editor-state/element-editor-state/availability/testable/AvailabilityTestableState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.d.ts +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.js +5 -5
- package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/dataProduct/DataProductEditorState.d.ts +12 -0
- package/lib/stores/editor/editor-state/element-editor-state/dataProduct/DataProductEditorState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/dataProduct/DataProductEditorState.js +60 -14
- package/lib/stores/editor/editor-state/element-editor-state/dataProduct/DataProductEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/dataProduct/testable/DataProductTestableState.d.ts +5 -0
- package/lib/stores/editor/editor-state/element-editor-state/dataProduct/testable/DataProductTestableState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/dataProduct/testable/DataProductTestableState.js +13 -0
- package/lib/stores/editor/editor-state/element-editor-state/dataProduct/testable/DataProductTestableState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/function-activator/testable/FunctionTestableState.d.ts +7 -0
- package/lib/stores/editor/editor-state/element-editor-state/function-activator/testable/FunctionTestableState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/function-activator/testable/FunctionTestableState.js +21 -2
- package/lib/stores/editor/editor-state/element-editor-state/function-activator/testable/FunctionTestableState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/ingest/IngestTestableState.d.ts +5 -0
- package/lib/stores/editor/editor-state/element-editor-state/ingest/IngestTestableState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/ingest/IngestTestableState.js +13 -0
- package/lib/stores/editor/editor-state/element-editor-state/ingest/IngestTestableState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.d.ts +7 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.js +34 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.js +48 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.d.ts +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.js +5 -11
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestEditorState.d.ts +3 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestEditorState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js +7 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.js +46 -17
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.d.ts +7 -0
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.js +110 -16
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.d.ts +2 -1
- package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js +10 -4
- package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js.map +1 -1
- package/lib/stores/editor/sidebar-state/BulkServiceRegistrationState.d.ts.map +1 -1
- package/lib/stores/editor/sidebar-state/BulkServiceRegistrationState.js +40 -1
- package/lib/stores/editor/sidebar-state/BulkServiceRegistrationState.js.map +1 -1
- package/lib/stores/editor/sidebar-state/LocalChangesState.d.ts.map +1 -1
- package/lib/stores/editor/sidebar-state/LocalChangesState.js +1 -0
- package/lib/stores/editor/sidebar-state/LocalChangesState.js.map +1 -1
- package/lib/stores/editor/sidebar-state/ProjectOverviewState.d.ts.map +1 -1
- package/lib/stores/editor/sidebar-state/ProjectOverviewState.js +51 -0
- package/lib/stores/editor/sidebar-state/ProjectOverviewState.js.map +1 -1
- package/lib/stores/editor/sidebar-state/WorkflowManagerState.d.ts +14 -0
- package/lib/stores/editor/sidebar-state/WorkflowManagerState.d.ts.map +1 -1
- package/lib/stores/editor/sidebar-state/WorkflowManagerState.js +132 -27
- package/lib/stores/editor/sidebar-state/WorkflowManagerState.js.map +1 -1
- package/lib/stores/editor/sidebar-state/WorkspaceReviewState.d.ts.map +1 -1
- package/lib/stores/editor/sidebar-state/WorkspaceReviewState.js +41 -0
- package/lib/stores/editor/sidebar-state/WorkspaceReviewState.js.map +1 -1
- package/lib/stores/editor/sidebar-state/testable/GlobalTestRunnerState.d.ts.map +1 -1
- package/lib/stores/editor/sidebar-state/testable/GlobalTestRunnerState.js +71 -9
- package/lib/stores/editor/sidebar-state/testable/GlobalTestRunnerState.js.map +1 -1
- package/lib/stores/editor/utils/MockDataUtils.d.ts +12 -2
- package/lib/stores/editor/utils/MockDataUtils.d.ts.map +1 -1
- package/lib/stores/editor/utils/MockDataUtils.js +28 -28
- package/lib/stores/editor/utils/MockDataUtils.js.map +1 -1
- package/lib/stores/graph-modifier/DSL_DataProduct_GraphModifierHelper.d.ts +2 -0
- package/lib/stores/graph-modifier/DSL_DataProduct_GraphModifierHelper.d.ts.map +1 -1
- package/lib/stores/graph-modifier/DSL_DataProduct_GraphModifierHelper.js +13 -0
- package/lib/stores/graph-modifier/DSL_DataProduct_GraphModifierHelper.js.map +1 -1
- package/lib/stores/graph-modifier/DSL_LakehouseRuntime_GraphModifierHelper.d.ts +20 -2
- package/lib/stores/graph-modifier/DSL_LakehouseRuntime_GraphModifierHelper.d.ts.map +1 -1
- package/lib/stores/graph-modifier/DSL_LakehouseRuntime_GraphModifierHelper.js +38 -4
- package/lib/stores/graph-modifier/DSL_LakehouseRuntime_GraphModifierHelper.js.map +1 -1
- package/lib/stores/project-reviewer/ProjectReviewerStore.d.ts.map +1 -1
- package/lib/stores/project-reviewer/ProjectReviewerStore.js +45 -0
- package/lib/stores/project-reviewer/ProjectReviewerStore.js.map +1 -1
- package/lib/stores/workspace-setup/WorkspaceSetupStore.d.ts.map +1 -1
- package/lib/stores/workspace-setup/WorkspaceSetupStore.js +48 -4
- package/lib/stores/workspace-setup/WorkspaceSetupStore.js.map +1 -1
- package/package.json +9 -9
- package/src/__lib__/LegendStudioEvent.ts +102 -0
- package/src/__lib__/LegendStudioTelemetryHelper.ts +1769 -311
- package/src/components/editor/editor-group/LegendAISuggestTelemetryHooks.ts +57 -0
- package/src/components/editor/editor-group/RuntimeEditor.tsx +282 -132
- package/src/components/editor/editor-group/dataProduct/DataProductEditor.tsx +293 -106
- package/src/components/editor/editor-group/dataProduct/DataProductQueryBuilderHelper.ts +3 -13
- package/src/components/editor/editor-group/service-editor/ServiceEditor.tsx +41 -23
- package/src/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.tsx +5 -11
- package/src/components/editor/side-bar/WorkflowManager.tsx +24 -0
- package/src/index.ts +17 -1
- package/src/stores/editor/EditorGraphState.ts +30 -1
- package/src/stores/editor/EditorStore.ts +22 -0
- package/src/stores/editor/EditorTabManagerState.ts +128 -1
- package/src/stores/editor/EditorTabTelemetryHelper.ts +70 -0
- package/src/stores/editor/GraphEditFormModeState.ts +35 -1
- package/src/stores/editor/LegendAISuggestTelemetry.ts +592 -0
- package/src/stores/editor/LegendSQLStudioPlaygroundState.ts +3 -3
- package/src/stores/editor/editor-state/GraphGenerationState.ts +68 -9
- package/src/stores/editor/editor-state/ModelImporterState.ts +2 -0
- package/src/stores/editor/editor-state/element-editor-state/ElementExternalFormatGenerationState.ts +30 -0
- package/src/stores/editor/editor-state/element-editor-state/RuntimeEditorState.ts +92 -31
- package/src/stores/editor/editor-state/element-editor-state/availability/testable/AvailabilityTestableState.ts +17 -0
- package/src/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.ts +6 -6
- package/src/stores/editor/editor-state/element-editor-state/dataProduct/DataProductEditorState.ts +75 -17
- package/src/stores/editor/editor-state/element-editor-state/dataProduct/testable/DataProductTestableState.ts +17 -0
- package/src/stores/editor/editor-state/element-editor-state/function-activator/testable/FunctionTestableState.ts +27 -2
- package/src/stores/editor/editor-state/element-editor-state/ingest/IngestTestableState.ts +17 -0
- package/src/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.ts +57 -0
- package/src/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.ts +74 -0
- package/src/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts +22 -21
- package/src/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestEditorState.ts +9 -0
- package/src/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.ts +78 -21
- package/src/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.ts +205 -18
- package/src/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.ts +38 -3
- package/src/stores/editor/sidebar-state/BulkServiceRegistrationState.ts +71 -1
- package/src/stores/editor/sidebar-state/LocalChangesState.ts +4 -0
- package/src/stores/editor/sidebar-state/ProjectOverviewState.ts +114 -0
- package/src/stores/editor/sidebar-state/WorkflowManagerState.ts +250 -29
- package/src/stores/editor/sidebar-state/WorkspaceReviewState.ts +84 -0
- package/src/stores/editor/sidebar-state/testable/GlobalTestRunnerState.ts +124 -17
- package/src/stores/editor/utils/MockDataUtils.ts +33 -32
- package/src/stores/graph-modifier/DSL_DataProduct_GraphModifierHelper.ts +18 -0
- package/src/stores/graph-modifier/DSL_LakehouseRuntime_GraphModifierHelper.ts +62 -7
- package/src/stores/project-reviewer/ProjectReviewerStore.ts +97 -0
- package/src/stores/workspace-setup/WorkspaceSetupStore.ts +87 -4
- package/tsconfig.json +3 -0
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import { type GraphInitializationReport, type GraphManagerOperationReport } from '@finos/legend-graph';
|
|
16
|
+
import { type GraphInitializationReport, type GraphManagerOperationReport, type TestResult, type Testable } from '@finos/legend-graph';
|
|
17
17
|
import { type TelemetryService, type VirtualAssistantSearchResultAccessed_TelemetryData } from '@finos/legend-application';
|
|
18
18
|
import type { LegendSourceInfo } from '@finos/legend-storage';
|
|
19
19
|
/**
|
|
@@ -125,6 +125,475 @@ export declare enum GRAPH_EDITOR_MODE_LABEL {
|
|
|
125
125
|
TEXT = "text",
|
|
126
126
|
STRICT_TEXT = "strict-text"
|
|
127
127
|
}
|
|
128
|
+
export declare enum FORM_MODE_COMPILATION_ERROR_KIND {
|
|
129
|
+
COMPILATION = "compilation",
|
|
130
|
+
ENGINE = "engine",
|
|
131
|
+
/** Non-engine error (e.g. network) surfaced while compiling. */
|
|
132
|
+
OTHER = "other"
|
|
133
|
+
}
|
|
134
|
+
export declare enum GRAPH_INITIALIZATION_ERROR_KIND {
|
|
135
|
+
DEPENDENCY = "dependency",
|
|
136
|
+
DESERIALIZATION = "deserialization",
|
|
137
|
+
NETWORK = "network",
|
|
138
|
+
OTHER = "other"
|
|
139
|
+
}
|
|
140
|
+
export declare enum SERVICE_REGISTRATION_TRIGGER {
|
|
141
|
+
SINGLE = "single",
|
|
142
|
+
BULK = "bulk",
|
|
143
|
+
SERVICE_QUERY_EDITOR = "service-query-editor"
|
|
144
|
+
}
|
|
145
|
+
export type ServiceRegistrationCommonData = {
|
|
146
|
+
trigger: SERVICE_REGISTRATION_TRIGGER;
|
|
147
|
+
executionMode: string | undefined;
|
|
148
|
+
serviceCount: number;
|
|
149
|
+
activatePostRegistration: boolean;
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* Per-service outcome counts for a registration run. For `single` /
|
|
153
|
+
* `service-query-editor` runs these are always `1` / `0` on success (a
|
|
154
|
+
* failed registration throws and emits `.failure` instead); `bulk` runs
|
|
155
|
+
* report the per-service split returned by the engine.
|
|
156
|
+
*/
|
|
157
|
+
export type ServiceRegistrationOutcomeCounts = {
|
|
158
|
+
registeredCount: number;
|
|
159
|
+
failedCount: number;
|
|
160
|
+
/**
|
|
161
|
+
* Only set for `bulk` runs with `activatePostRegistration` — number of
|
|
162
|
+
* successfully registered services whose activation call rejected.
|
|
163
|
+
*/
|
|
164
|
+
activationFailedCount?: number | undefined;
|
|
165
|
+
};
|
|
166
|
+
export type ServiceRegistrationCheckCommonData = {
|
|
167
|
+
servicePath: string;
|
|
168
|
+
envCount: number;
|
|
169
|
+
};
|
|
170
|
+
/**
|
|
171
|
+
* Discriminates the entry-point of `editor.generation.*` events.
|
|
172
|
+
* - `global`: sidebar "Generate" action, spans the whole project's generation spec
|
|
173
|
+
* (models + artifacts).
|
|
174
|
+
* - `element-schema`: per-element external-format schema regeneration from an
|
|
175
|
+
* element editor's "Generate" button.
|
|
176
|
+
*/
|
|
177
|
+
export declare enum GENERATION_MODE {
|
|
178
|
+
GLOBAL = "global",
|
|
179
|
+
ELEMENT_SCHEMA = "element-schema"
|
|
180
|
+
}
|
|
181
|
+
export type GenerationCommonData = {
|
|
182
|
+
mode: GENERATION_MODE;
|
|
183
|
+
elementPath?: string | undefined;
|
|
184
|
+
generationType?: string | undefined;
|
|
185
|
+
/**
|
|
186
|
+
* Only meaningful for `global` runs — reflects whether artifact generation
|
|
187
|
+
* was enabled at the time the run was launched.
|
|
188
|
+
*/
|
|
189
|
+
enableArtifactGeneration?: boolean | undefined;
|
|
190
|
+
};
|
|
191
|
+
/**
|
|
192
|
+
* High-level bucket for a Studio tab so dashboards can slice tab activity
|
|
193
|
+
* across element editors vs. sidecar tabs (diff viewers, artifact viewers,
|
|
194
|
+
* model importer, etc.) without depending on the element metamodel.
|
|
195
|
+
*/
|
|
196
|
+
export declare enum EDITOR_TAB_KIND {
|
|
197
|
+
ELEMENT = "element",
|
|
198
|
+
ENTITY_DIFF = "entity-diff",
|
|
199
|
+
ARTIFACT_GENERATION = "artifact-generation",
|
|
200
|
+
MODEL_IMPORTER = "model-importer",
|
|
201
|
+
PROJECT_CONFIGURATION = "project-configuration",
|
|
202
|
+
END_TO_END_WORKFLOW = "end-to-end-workflow",
|
|
203
|
+
OTHER = "other"
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* Sub-bucket for `EDITOR_TAB_KIND.ELEMENT` tabs — carried as the raw
|
|
207
|
+
* `PACKAGEABLE_ELEMENT_TYPE` string (e.g. `'CLASS'`, `'MAPPING'`,
|
|
208
|
+
* `'SERVICE'`, `'BETA_DATA_PRODUCT'`) resolved by
|
|
209
|
+
* `EditorGraphState.getPackageableElementType`. That classifier is
|
|
210
|
+
* plugin-aware, so extension-provided element kinds (DataSpace, Diagram,
|
|
211
|
+
* DataQuality, ...) come through with their extension-declared labels
|
|
212
|
+
* rather than falling into a generic `other` bucket.
|
|
213
|
+
*/
|
|
214
|
+
export type EditorElementKind = string;
|
|
215
|
+
export declare enum EDITOR_TAB_OPEN_TRIGGER {
|
|
216
|
+
/** Default when the caller did not surface intent. */
|
|
217
|
+
PROGRAMMATIC = "programmatic",
|
|
218
|
+
/** Tab was recreated after graph rebuild via cachedTabs recovery. */
|
|
219
|
+
RESTORE = "restore"
|
|
220
|
+
}
|
|
221
|
+
export declare enum EDITOR_TAB_CLOSE_TRIGGER {
|
|
222
|
+
/** User clicked the "x" on the tab, or middle-clicked the tab strip. */
|
|
223
|
+
USER_CLOSE = "user-close",
|
|
224
|
+
/** User invoked "Close Others" from the tab context menu. */
|
|
225
|
+
CLOSE_OTHERS = "close-others",
|
|
226
|
+
/** User invoked "Close All" from the tab context menu. */
|
|
227
|
+
CLOSE_ALL = "close-all",
|
|
228
|
+
/** Tabs were flushed as part of a graph rebuild (cacheAndClose). */
|
|
229
|
+
NAVIGATE_AWAY = "navigate-away",
|
|
230
|
+
/** Programmatic close from a store method. */
|
|
231
|
+
PROGRAMMATIC = "programmatic"
|
|
232
|
+
}
|
|
233
|
+
export type EditorTabCommonData = {
|
|
234
|
+
tabKind: EDITOR_TAB_KIND;
|
|
235
|
+
elementKind?: EditorElementKind | undefined;
|
|
236
|
+
elementPath?: string | undefined;
|
|
237
|
+
};
|
|
238
|
+
export declare enum WORKFLOW_MANAGER_SCOPE {
|
|
239
|
+
WORKSPACE = "workspace",
|
|
240
|
+
PROJECT = "project",
|
|
241
|
+
PROJECT_VERSION = "project-version"
|
|
242
|
+
}
|
|
243
|
+
export declare enum WORKFLOW_MANAGER_JOB_ACTION {
|
|
244
|
+
RETRY = "retry",
|
|
245
|
+
CANCEL = "cancel",
|
|
246
|
+
RUN_MANUAL = "run-manual"
|
|
247
|
+
}
|
|
248
|
+
export type WorkflowManagerStatusBreakdown = Record<string, number>;
|
|
249
|
+
/**
|
|
250
|
+
* SDLC review actions. `create` only fires from the author side;
|
|
251
|
+
* `approve` / `reopen` fire only from the reviewer side; `commit` and
|
|
252
|
+
* `close` fire from both.
|
|
253
|
+
*/
|
|
254
|
+
export declare enum SDLC_REVIEW_ACTION {
|
|
255
|
+
CREATE = "create",
|
|
256
|
+
COMMIT = "commit",
|
|
257
|
+
CLOSE = "close",
|
|
258
|
+
REOPEN = "reopen",
|
|
259
|
+
APPROVE = "approve"
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* Which side of the review the event fires from — the workspace author
|
|
263
|
+
* committing/closing their own review, or a reviewer approving / committing
|
|
264
|
+
* / reopening / closing someone else's review.
|
|
265
|
+
*/
|
|
266
|
+
export declare enum SDLC_REVIEW_ROLE {
|
|
267
|
+
AUTHOR = "author",
|
|
268
|
+
REVIEWER = "reviewer"
|
|
269
|
+
}
|
|
270
|
+
type SdlcReviewIdentityData = {
|
|
271
|
+
action: SDLC_REVIEW_ACTION;
|
|
272
|
+
role: SDLC_REVIEW_ROLE;
|
|
273
|
+
projectId: string;
|
|
274
|
+
patchReleaseVersionId?: string | undefined;
|
|
275
|
+
};
|
|
276
|
+
export type SdlcReviewActionLaunchData = SdlcReviewIdentityData & {
|
|
277
|
+
reviewId?: string | undefined;
|
|
278
|
+
};
|
|
279
|
+
export type SdlcReviewActionSuccessData = SdlcReviewIdentityData & {
|
|
280
|
+
reviewId: string;
|
|
281
|
+
durationMs: number;
|
|
282
|
+
};
|
|
283
|
+
export type SdlcReviewActionFailureData = SdlcReviewIdentityData & {
|
|
284
|
+
reviewId?: string | undefined;
|
|
285
|
+
errorMessage: string;
|
|
286
|
+
};
|
|
287
|
+
/**
|
|
288
|
+
* Workspace setup screen actions — user-triggered writes from the setup /
|
|
289
|
+
* project picker route. Structured replacement for the
|
|
290
|
+
* WORKSPACE_SETUP_FAILURE bucket plus previously-unlogged create-project
|
|
291
|
+
* and import-project flows.
|
|
292
|
+
*/
|
|
293
|
+
export declare enum SETUP_ACTION {
|
|
294
|
+
CREATE_SANDBOX_PROJECT = "create-sandbox-project",
|
|
295
|
+
CREATE_PROJECT = "create-project",
|
|
296
|
+
IMPORT_PROJECT = "import-project",
|
|
297
|
+
CREATE_WORKSPACE = "create-workspace"
|
|
298
|
+
}
|
|
299
|
+
type SetupActionIdentityData = {
|
|
300
|
+
action: SETUP_ACTION;
|
|
301
|
+
projectId?: string | undefined;
|
|
302
|
+
workspaceType?: string | undefined;
|
|
303
|
+
hasPatchReleaseVersion?: boolean | undefined;
|
|
304
|
+
};
|
|
305
|
+
export type SetupActionLaunchData = SetupActionIdentityData;
|
|
306
|
+
export type SetupActionSuccessData = SetupActionIdentityData & {
|
|
307
|
+
durationMs: number;
|
|
308
|
+
};
|
|
309
|
+
export type SetupActionFailureData = SetupActionIdentityData & {
|
|
310
|
+
errorMessage: string;
|
|
311
|
+
};
|
|
312
|
+
/**
|
|
313
|
+
* Project configuration editor actions — user-triggered writes from the
|
|
314
|
+
* project configuration editor. Structured replacement for the
|
|
315
|
+
* SDLC_MANAGER_FAILURE bucket around config updates.
|
|
316
|
+
*
|
|
317
|
+
* The three actions map to the three top-level editor buttons; they all
|
|
318
|
+
* funnel through the same `updateProjectConfiguration` SDLC call, and the
|
|
319
|
+
* `action` field records which entry point the user came from.
|
|
320
|
+
*/
|
|
321
|
+
export declare enum PROJECT_CONFIG_UPDATE_ACTION {
|
|
322
|
+
UPDATE_CONFIGS = "update-configs",
|
|
323
|
+
UPDATE_TO_LATEST_STRUCTURE = "update-to-latest-structure",
|
|
324
|
+
CHANGE_PROJECT_TYPE = "change-project-type"
|
|
325
|
+
}
|
|
326
|
+
type ProjectConfigUpdateIdentityData = {
|
|
327
|
+
action: PROJECT_CONFIG_UPDATE_ACTION;
|
|
328
|
+
};
|
|
329
|
+
export type ProjectConfigUpdateLaunchData = ProjectConfigUpdateIdentityData;
|
|
330
|
+
export type ProjectConfigUpdateSuccessData = ProjectConfigUpdateIdentityData & {
|
|
331
|
+
durationMs: number;
|
|
332
|
+
};
|
|
333
|
+
export type ProjectConfigUpdateFailureData = ProjectConfigUpdateIdentityData & {
|
|
334
|
+
errorMessage: string;
|
|
335
|
+
};
|
|
336
|
+
/**
|
|
337
|
+
* Project overview sidebar SDLC writes — user-triggered actions from the
|
|
338
|
+
* project overview panel. Structured replacement for the
|
|
339
|
+
* SDLC_MANAGER_FAILURE bucket around ProjectOverviewState.
|
|
340
|
+
*/
|
|
341
|
+
export declare enum PROJECT_OVERVIEW_ACTION {
|
|
342
|
+
DELETE_WORKSPACE = "delete-workspace",
|
|
343
|
+
UPDATE_PROJECT = "update-project",
|
|
344
|
+
CREATE_VERSION = "create-version",
|
|
345
|
+
RELEASE_PATCH = "release-patch",
|
|
346
|
+
CREATE_PATCH = "create-patch"
|
|
347
|
+
}
|
|
348
|
+
type ProjectOverviewActionIdentityData = {
|
|
349
|
+
action: PROJECT_OVERVIEW_ACTION;
|
|
350
|
+
projectId: string;
|
|
351
|
+
patchReleaseVersionId?: string | undefined;
|
|
352
|
+
workspaceType?: string | undefined;
|
|
353
|
+
};
|
|
354
|
+
export type ProjectOverviewActionLaunchData = ProjectOverviewActionIdentityData;
|
|
355
|
+
export type ProjectOverviewActionSuccessData = ProjectOverviewActionIdentityData & {
|
|
356
|
+
durationMs: number;
|
|
357
|
+
};
|
|
358
|
+
export type ProjectOverviewActionFailureData = ProjectOverviewActionIdentityData & {
|
|
359
|
+
errorMessage: string;
|
|
360
|
+
};
|
|
361
|
+
/**
|
|
362
|
+
* Ad-hoc workspace creation from the editor bootstrap — fires when the
|
|
363
|
+
* user deep-links to a workspace that doesn't exist and accepts the
|
|
364
|
+
* "Create workspace" recovery prompt. Distinct from the setup screen's
|
|
365
|
+
* `SETUP_ACTION.CREATE_WORKSPACE` because it runs from a different
|
|
366
|
+
* surface (in-editor recovery, not the setup route) with its own
|
|
367
|
+
* error-handling and legacy log bucket (`WORKSPACE_SETUP_FAILURE`).
|
|
368
|
+
*
|
|
369
|
+
* No editor mode is active yet at this point, so `sourceInfo` is
|
|
370
|
+
* omitted — the payload carries `projectId`, `workspaceId`,
|
|
371
|
+
* `workspaceType`, and `hasPatchReleaseVersion` explicitly.
|
|
372
|
+
*/
|
|
373
|
+
type SdlcWorkspaceCreateIdentityData = {
|
|
374
|
+
projectId: string;
|
|
375
|
+
workspaceId: string;
|
|
376
|
+
workspaceType: string;
|
|
377
|
+
hasPatchReleaseVersion: boolean;
|
|
378
|
+
};
|
|
379
|
+
export type SdlcWorkspaceCreateLaunchData = SdlcWorkspaceCreateIdentityData;
|
|
380
|
+
export type SdlcWorkspaceCreateSuccessData = SdlcWorkspaceCreateIdentityData & {
|
|
381
|
+
durationMs: number;
|
|
382
|
+
};
|
|
383
|
+
export type SdlcWorkspaceCreateFailureData = SdlcWorkspaceCreateIdentityData & {
|
|
384
|
+
errorMessage: string;
|
|
385
|
+
};
|
|
386
|
+
export declare enum SERVICE_TEST_SUITE_RUN_MODE {
|
|
387
|
+
RUN_SUITE = "run-suite",
|
|
388
|
+
RUN_FAILING = "run-failing"
|
|
389
|
+
}
|
|
390
|
+
export type ServiceTestSuiteRunCommonData = {
|
|
391
|
+
servicePath: string;
|
|
392
|
+
suiteId: string;
|
|
393
|
+
mode: SERVICE_TEST_SUITE_RUN_MODE;
|
|
394
|
+
testCount: number;
|
|
395
|
+
};
|
|
396
|
+
/**
|
|
397
|
+
* Categorises the element behind a `Testable` for the unified TESTABLE_RUN
|
|
398
|
+
* telemetry so downstream analytics can slice per element kind without
|
|
399
|
+
* relying on the element path.
|
|
400
|
+
*/
|
|
401
|
+
export declare enum TESTABLE_KIND {
|
|
402
|
+
MAPPING = "mapping",
|
|
403
|
+
DATA_PRODUCT = "data-product",
|
|
404
|
+
INGEST = "ingest",
|
|
405
|
+
FUNCTION_ACTIVATOR = "function-activator",
|
|
406
|
+
AVAILABILITY = "availability",
|
|
407
|
+
SERVICE = "service",
|
|
408
|
+
OTHER = "other"
|
|
409
|
+
}
|
|
410
|
+
/**
|
|
411
|
+
* Which kind of run was invoked from the testable editors. This mirrors the
|
|
412
|
+
* distinct UI actions surfaced to the user (run suite, run failing tests,
|
|
413
|
+
* run entire testable, run all failing suites).
|
|
414
|
+
*/
|
|
415
|
+
export declare enum TESTABLE_RUN_MODE {
|
|
416
|
+
RUN_SUITE = "run-suite",
|
|
417
|
+
RUN_FAILING = "run-failing",
|
|
418
|
+
RUN_TESTABLE = "run-testable",
|
|
419
|
+
RUN_ALL_FAILING = "run-all-failing",
|
|
420
|
+
RUN_TEST = "run-test"
|
|
421
|
+
}
|
|
422
|
+
export type TestableRunCommonData = {
|
|
423
|
+
testableKind: TESTABLE_KIND;
|
|
424
|
+
testablePath: string;
|
|
425
|
+
suiteId: string | undefined;
|
|
426
|
+
mode: TESTABLE_RUN_MODE;
|
|
427
|
+
testCount: number;
|
|
428
|
+
};
|
|
429
|
+
/**
|
|
430
|
+
* Resolves the {@link TESTABLE_KIND} label for a testable element instance.
|
|
431
|
+
* Falls back to `OTHER` so telemetry never blocks on an unknown subtype.
|
|
432
|
+
*/
|
|
433
|
+
export declare const getTestableKind: (testable: Testable) => TESTABLE_KIND;
|
|
434
|
+
/**
|
|
435
|
+
* Reads `.path` from a testable, which all real packageable-element testables
|
|
436
|
+
* expose. Returns an empty string if unavailable to keep telemetry non-fatal.
|
|
437
|
+
*/
|
|
438
|
+
export declare const getTestablePath: (testable: Testable) => string;
|
|
439
|
+
/**
|
|
440
|
+
* Bucketises test results into passed/failed/errored counts for the unified
|
|
441
|
+
* TESTABLE_RUN__SUCCESS payload. Handles {@link MultiExecutionServiceTestResult}
|
|
442
|
+
* by tallying each key-indexed sub-result so service multi-execution runs count
|
|
443
|
+
* every execution rather than the wrapper.
|
|
444
|
+
*/
|
|
445
|
+
export declare const summarizeTestResults: (results: TestResult[]) => {
|
|
446
|
+
passedCount: number;
|
|
447
|
+
failedCount: number;
|
|
448
|
+
erroredCount: number;
|
|
449
|
+
};
|
|
450
|
+
/**
|
|
451
|
+
* Scope of a global test runner invocation from the sidebar.
|
|
452
|
+
*/
|
|
453
|
+
export declare enum GLOBAL_TEST_RUN_SCOPE {
|
|
454
|
+
ALL = "all",
|
|
455
|
+
DEPENDENCIES = "dependencies"
|
|
456
|
+
}
|
|
457
|
+
export type GlobalTestRunCommonData = {
|
|
458
|
+
scope: GLOBAL_TEST_RUN_SCOPE;
|
|
459
|
+
testableCount: number;
|
|
460
|
+
};
|
|
461
|
+
/**
|
|
462
|
+
* Which editor surface a LegendAI suggestion was requested from.
|
|
463
|
+
*/
|
|
464
|
+
export declare enum LEGENDAI_SUGGEST_SURFACE {
|
|
465
|
+
SERVICE = "service",
|
|
466
|
+
DATASPACE = "dataspace",
|
|
467
|
+
DATA_PRODUCT = "data-product"
|
|
468
|
+
}
|
|
469
|
+
/**
|
|
470
|
+
* Which step of a suggestion request failed: serializing the model to grammar
|
|
471
|
+
* (done locally by the graph manager) or the LegendAI request itself.
|
|
472
|
+
*/
|
|
473
|
+
export declare enum LEGENDAI_SUGGEST_STAGE {
|
|
474
|
+
SERIALIZE = "serialize",
|
|
475
|
+
REQUEST = "request"
|
|
476
|
+
}
|
|
477
|
+
export declare enum LEGENDAI_SUGGEST_ERROR_KIND {
|
|
478
|
+
/** Grammar serialization failed before LegendAI was called. */
|
|
479
|
+
SERIALIZATION = "serialization",
|
|
480
|
+
/** HTTP 401 / 403 — the user lacks LegendAI entitlements. */
|
|
481
|
+
ENTITLEMENT = "entitlement",
|
|
482
|
+
/** Any other HTTP 4xx. */
|
|
483
|
+
CLIENT = "client",
|
|
484
|
+
/** HTTP 5xx. */
|
|
485
|
+
SERVER = "server",
|
|
486
|
+
/** LegendAI answered but the suggestion was empty, so nothing was shown. */
|
|
487
|
+
EMPTY_RESPONSE = "empty-response",
|
|
488
|
+
OTHER = "other"
|
|
489
|
+
}
|
|
490
|
+
/**
|
|
491
|
+
* What the user was looking at when they left the editor without applying or
|
|
492
|
+
* dismissing: a request still in flight, or a suggestion already on screen.
|
|
493
|
+
*/
|
|
494
|
+
export declare enum LEGENDAI_SUGGEST_ABANDON_PHASE {
|
|
495
|
+
PENDING = "pending",
|
|
496
|
+
SHOWN = "shown"
|
|
497
|
+
}
|
|
498
|
+
/**
|
|
499
|
+
* State of an applied suggestion's text at the time the element was pushed.
|
|
500
|
+
*/
|
|
501
|
+
export declare enum LEGENDAI_SUGGEST_RETENTION {
|
|
502
|
+
UNCHANGED = "unchanged",
|
|
503
|
+
EDITED = "edited",
|
|
504
|
+
CLEARED = "cleared",
|
|
505
|
+
ELEMENT_REMOVED = "element-removed"
|
|
506
|
+
}
|
|
507
|
+
/**
|
|
508
|
+
* Data product only: how the suggested access point group metadata was matched
|
|
509
|
+
* to the group the user applied it on.
|
|
510
|
+
*/
|
|
511
|
+
export declare enum LEGENDAI_SUGGEST_MATCH_STRATEGY {
|
|
512
|
+
NAME = "name",
|
|
513
|
+
INDEX = "index",
|
|
514
|
+
NONE = "none"
|
|
515
|
+
}
|
|
516
|
+
/**
|
|
517
|
+
* Identifies the editor target a suggestion is about. `accessPointGroupId` is
|
|
518
|
+
* only set for data product suggestions, which are launched per access point
|
|
519
|
+
* group.
|
|
520
|
+
*/
|
|
521
|
+
export type LegendAISuggestTarget = {
|
|
522
|
+
surface: LEGENDAI_SUGGEST_SURFACE;
|
|
523
|
+
elementPath: string;
|
|
524
|
+
accessPointGroupId?: string | undefined;
|
|
525
|
+
};
|
|
526
|
+
export type LegendAISuggestIdentity = LegendAISuggestTarget & {
|
|
527
|
+
suggestionId: string;
|
|
528
|
+
/** 1-based count of suggestions requested from this editor instance. */
|
|
529
|
+
attempt: number;
|
|
530
|
+
};
|
|
531
|
+
export type LegendAISuggestExposureData = LegendAISuggestTarget & {
|
|
532
|
+
/** Whether a suggester plugin is installed for this surface. */
|
|
533
|
+
available: boolean;
|
|
534
|
+
isReadOnly: boolean;
|
|
535
|
+
};
|
|
536
|
+
export type LegendAISuggestLaunchData = LegendAISuggestIdentity & {
|
|
537
|
+
hadExistingText: boolean;
|
|
538
|
+
existingLength: number;
|
|
539
|
+
/** Data product only. */
|
|
540
|
+
accessPointCount?: number | undefined;
|
|
541
|
+
};
|
|
542
|
+
export type LegendAISuggestSuccessData = LegendAISuggestIdentity & {
|
|
543
|
+
durationMs: number;
|
|
544
|
+
/** Length of the grammar sent to LegendAI. */
|
|
545
|
+
definitionsLength: number;
|
|
546
|
+
suggestionLength: number;
|
|
547
|
+
/** Model-reported confidence, when the surface's API returns one. */
|
|
548
|
+
confidence?: number | undefined;
|
|
549
|
+
/** The user edited the target text while the request was in flight. */
|
|
550
|
+
editedWhilePending: boolean;
|
|
551
|
+
/** Data product only: number of access point suggestions for this group. */
|
|
552
|
+
accessPointSuggestionCount?: number | undefined;
|
|
553
|
+
};
|
|
554
|
+
export type LegendAISuggestFailureData = LegendAISuggestIdentity & {
|
|
555
|
+
durationMs: number;
|
|
556
|
+
stage: LEGENDAI_SUGGEST_STAGE;
|
|
557
|
+
errorKind: LEGENDAI_SUGGEST_ERROR_KIND;
|
|
558
|
+
httpStatus?: number | undefined;
|
|
559
|
+
errorMessage: string;
|
|
560
|
+
};
|
|
561
|
+
export type LegendAISuggestDataProductApplyData = {
|
|
562
|
+
matchStrategy: LEGENDAI_SUGGEST_MATCH_STRATEGY;
|
|
563
|
+
accessPointsUpdated: number;
|
|
564
|
+
/** Access points whose id was changed by the suggestion. */
|
|
565
|
+
accessPointsRenamed: number;
|
|
566
|
+
/** Suggested names that had to be sanitized into valid identifiers. */
|
|
567
|
+
namesSanitized: number;
|
|
568
|
+
/** Suggested access point count differs from the group's access point count. */
|
|
569
|
+
accessPointCountMismatch: boolean;
|
|
570
|
+
};
|
|
571
|
+
export type LegendAISuggestApplyData = LegendAISuggestIdentity & Partial<LegendAISuggestDataProductApplyData> & {
|
|
572
|
+
timeToDecisionMs: number;
|
|
573
|
+
hadExistingText: boolean;
|
|
574
|
+
existingLength: number;
|
|
575
|
+
suggestionLength: number;
|
|
576
|
+
};
|
|
577
|
+
export type LegendAISuggestDiscardData = LegendAISuggestIdentity & {
|
|
578
|
+
timeToDecisionMs: number;
|
|
579
|
+
};
|
|
580
|
+
export type LegendAISuggestAbandonData = LegendAISuggestIdentity & {
|
|
581
|
+
phase: LEGENDAI_SUGGEST_ABANDON_PHASE;
|
|
582
|
+
/** Time since launch (pending) or since the suggestion was shown (shown). */
|
|
583
|
+
elapsedMs: number;
|
|
584
|
+
};
|
|
585
|
+
export type LegendAISuggestPersistedData = LegendAISuggestIdentity & {
|
|
586
|
+
retention: LEGENDAI_SUGGEST_RETENTION;
|
|
587
|
+
/**
|
|
588
|
+
* Normalized edit distance between the applied and pushed text (0 = same,
|
|
589
|
+
* 1 = fully rewritten). Only set for `edited`, and omitted for very long
|
|
590
|
+
* texts to keep the computation cheap.
|
|
591
|
+
*/
|
|
592
|
+
editRatio?: number | undefined;
|
|
593
|
+
msSinceApply: number;
|
|
594
|
+
/** Earlier applies on the same target that were replaced before this push. */
|
|
595
|
+
supersededApplyCount: number;
|
|
596
|
+
};
|
|
128
597
|
export declare class LegendStudioTelemetryHelper {
|
|
129
598
|
static logEvent_GraphCompilationLaunched(service: TelemetryService, sourceInfo?: LegendSourceInfo | undefined): void;
|
|
130
599
|
static logEvent_TextCompilationLaunched(service: TelemetryService, sourceInfo?: LegendSourceInfo | undefined): void;
|
|
@@ -133,6 +602,53 @@ export declare class LegendStudioTelemetryHelper {
|
|
|
133
602
|
static logEvent_TextCompilationSucceeded(service: TelemetryService, data: Compilation_TelemetryData, sourceInfo?: LegendSourceInfo | undefined): void;
|
|
134
603
|
static logEvent_TestDataGenerationSucceeded(service: TelemetryService, data: TestDataGeneration_TelemetryData, sourceInfo?: LegendSourceInfo | undefined): void;
|
|
135
604
|
static logEvent_GraphInitializationSucceeded(service: TelemetryService, data: GraphInitializationReport, sourceInfo?: LegendSourceInfo | undefined): void;
|
|
605
|
+
static logEvent_GraphInitializationLaunched(service: TelemetryService, sourceInfo?: LegendSourceInfo | undefined): void;
|
|
606
|
+
static logEvent_GraphInitializationFailure(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: {
|
|
607
|
+
errorKind: GRAPH_INITIALIZATION_ERROR_KIND;
|
|
608
|
+
errorMessage: string;
|
|
609
|
+
fallbackToTextMode: boolean;
|
|
610
|
+
}): void;
|
|
611
|
+
static logEvent_GraphCompilationFailure(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: {
|
|
612
|
+
errorKind: FORM_MODE_COMPILATION_ERROR_KIND;
|
|
613
|
+
errorMessage: string;
|
|
614
|
+
fallbackToTextMode: boolean;
|
|
615
|
+
}): void;
|
|
616
|
+
static logEvent_TestDataGenerationFailure(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, errorMessage: string): void;
|
|
617
|
+
static logEvent_ServiceRegistrationLaunched(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: ServiceRegistrationCommonData): void;
|
|
618
|
+
static logEvent_ServiceRegistrationSucceeded(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: ServiceRegistrationCommonData & ServiceRegistrationOutcomeCounts & {
|
|
619
|
+
durationMs: number;
|
|
620
|
+
}): void;
|
|
621
|
+
static logEvent_ServiceRegistrationFailure(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: ServiceRegistrationCommonData & Partial<ServiceRegistrationOutcomeCounts> & {
|
|
622
|
+
errorMessage: string;
|
|
623
|
+
}): void;
|
|
624
|
+
static logEvent_ServiceRegistrationCheckLaunched(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: ServiceRegistrationCheckCommonData): void;
|
|
625
|
+
static logEvent_ServiceRegistrationCheckSucceeded(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: ServiceRegistrationCheckCommonData & {
|
|
626
|
+
durationMs: number;
|
|
627
|
+
registeredEnvCount: number;
|
|
628
|
+
errorCount: number;
|
|
629
|
+
failedEnvs: string[];
|
|
630
|
+
}): void;
|
|
631
|
+
static logEvent_ServiceRegistrationCheckFailure(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: ServiceRegistrationCheckCommonData & {
|
|
632
|
+
durationMs: number;
|
|
633
|
+
errorCount: number;
|
|
634
|
+
failedEnvs: string[];
|
|
635
|
+
/** Message of the last per-env error encountered. */
|
|
636
|
+
errorMessage: string;
|
|
637
|
+
}): void;
|
|
638
|
+
static logEvent_GenerationLaunched(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: GenerationCommonData): void;
|
|
639
|
+
static logEvent_GenerationSucceeded(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: GenerationCommonData & {
|
|
640
|
+
durationMs: number;
|
|
641
|
+
}): void;
|
|
642
|
+
static logEvent_GenerationFailure(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: GenerationCommonData & {
|
|
643
|
+
errorMessage: string;
|
|
644
|
+
}): void;
|
|
645
|
+
static logEvent_EditorTabOpened(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: EditorTabCommonData & {
|
|
646
|
+
trigger: EDITOR_TAB_OPEN_TRIGGER;
|
|
647
|
+
}): void;
|
|
648
|
+
static logEvent_EditorTabClosed(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: EditorTabCommonData & {
|
|
649
|
+
dwellMs: number;
|
|
650
|
+
trigger: EDITOR_TAB_CLOSE_TRIGGER;
|
|
651
|
+
}): void;
|
|
136
652
|
static logEvent_ShowcaseManagerLaunch(service: TelemetryService, data: ShowcaseMetadata_TelemetryData): void;
|
|
137
653
|
static logEvent_ShowcaseManagerShowcaseProjectLaunch(service: TelemetryService, data: ShowcaseProject_TelemetryData): void;
|
|
138
654
|
static logEvent_ShowcaseViewerLaunch(service: TelemetryService, data: ShowcaseProject_TelemetryData): void;
|
|
@@ -161,6 +677,14 @@ export declare class LegendStudioTelemetryHelper {
|
|
|
161
677
|
static logEvent_DataProductLegendAISuggestApplied(telemetryService: TelemetryService, dataProductPath: string, sourceInfo?: LegendSourceInfo | undefined): void;
|
|
162
678
|
static logEvent_DataProductLegendAISuggestDiscarded(telemetryService: TelemetryService, dataProductPath: string, sourceInfo?: LegendSourceInfo | undefined): void;
|
|
163
679
|
static logEvent_DataProductLegendAISuggestFailure(telemetryService: TelemetryService, dataProductPath: string, errorMessage: string, sourceInfo?: LegendSourceInfo | undefined): void;
|
|
680
|
+
static logEvent_LegendAISuggestExposure(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: LegendAISuggestExposureData): void;
|
|
681
|
+
static logEvent_LegendAISuggestLaunched(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: LegendAISuggestLaunchData): void;
|
|
682
|
+
static logEvent_LegendAISuggestSucceeded(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: LegendAISuggestSuccessData): void;
|
|
683
|
+
static logEvent_LegendAISuggestFailure(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: LegendAISuggestFailureData): void;
|
|
684
|
+
static logEvent_LegendAISuggestApplied(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: LegendAISuggestApplyData): void;
|
|
685
|
+
static logEvent_LegendAISuggestDiscarded(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: LegendAISuggestDiscardData): void;
|
|
686
|
+
static logEvent_LegendAISuggestAbandoned(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: LegendAISuggestAbandonData): void;
|
|
687
|
+
static logEvent_LegendAISuggestPersisted(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: LegendAISuggestPersistedData): void;
|
|
164
688
|
static logEvent_DevMetadataPushLaunched(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, groupId: string, artifactId: string, versionId: string | undefined, lakehouseElementCounts: {
|
|
165
689
|
ingestCount: number;
|
|
166
690
|
dataProductCount: number;
|
|
@@ -220,6 +744,136 @@ export declare class LegendStudioTelemetryHelper {
|
|
|
220
744
|
static logEvent_PushLocalChangesEmpty(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: {
|
|
221
745
|
mode: GRAPH_EDITOR_MODE_LABEL;
|
|
222
746
|
}): void;
|
|
747
|
+
static logEvent_WorkflowManagerPanelOpened(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: {
|
|
748
|
+
scope: WORKFLOW_MANAGER_SCOPE;
|
|
749
|
+
}): void;
|
|
750
|
+
static logEvent_WorkflowManagerPanelClosed(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: {
|
|
751
|
+
scope: WORKFLOW_MANAGER_SCOPE;
|
|
752
|
+
dwellMs: number;
|
|
753
|
+
}): void;
|
|
754
|
+
static logEvent_WorkflowManagerFetchWorkflowsLaunched(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: {
|
|
755
|
+
scope: WORKFLOW_MANAGER_SCOPE;
|
|
756
|
+
}): void;
|
|
757
|
+
static logEvent_WorkflowManagerFetchWorkflowsSucceeded(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: {
|
|
758
|
+
scope: WORKFLOW_MANAGER_SCOPE;
|
|
759
|
+
durationMs: number;
|
|
760
|
+
workflowCount: number;
|
|
761
|
+
statusBreakdown: WorkflowManagerStatusBreakdown;
|
|
762
|
+
}): void;
|
|
763
|
+
static logEvent_WorkflowManagerFetchWorkflowsFailure(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: {
|
|
764
|
+
scope: WORKFLOW_MANAGER_SCOPE;
|
|
765
|
+
errorMessage: string;
|
|
766
|
+
}): void;
|
|
767
|
+
static logEvent_WorkflowManagerWorkflowExpand(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: {
|
|
768
|
+
scope: WORKFLOW_MANAGER_SCOPE;
|
|
769
|
+
workflowStatus: string;
|
|
770
|
+
}): void;
|
|
771
|
+
static logEvent_WorkflowManagerWorkflowRefresh(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: {
|
|
772
|
+
scope: WORKFLOW_MANAGER_SCOPE;
|
|
773
|
+
workflowStatus: string;
|
|
774
|
+
}): void;
|
|
775
|
+
static logEvent_WorkflowManagerFetchJobsLaunched(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: {
|
|
776
|
+
scope: WORKFLOW_MANAGER_SCOPE;
|
|
777
|
+
}): void;
|
|
778
|
+
static logEvent_WorkflowManagerFetchJobsSucceeded(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: {
|
|
779
|
+
scope: WORKFLOW_MANAGER_SCOPE;
|
|
780
|
+
durationMs: number;
|
|
781
|
+
jobCount: number;
|
|
782
|
+
statusBreakdown: WorkflowManagerStatusBreakdown;
|
|
783
|
+
}): void;
|
|
784
|
+
static logEvent_WorkflowManagerFetchJobsFailure(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: {
|
|
785
|
+
scope: WORKFLOW_MANAGER_SCOPE;
|
|
786
|
+
errorMessage: string;
|
|
787
|
+
}): void;
|
|
788
|
+
static logEvent_WorkflowManagerJobActionLaunched(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: {
|
|
789
|
+
scope: WORKFLOW_MANAGER_SCOPE;
|
|
790
|
+
action: WORKFLOW_MANAGER_JOB_ACTION;
|
|
791
|
+
jobName: string;
|
|
792
|
+
jobStatus: string;
|
|
793
|
+
}): void;
|
|
794
|
+
static logEvent_WorkflowManagerJobActionSucceeded(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: {
|
|
795
|
+
scope: WORKFLOW_MANAGER_SCOPE;
|
|
796
|
+
action: WORKFLOW_MANAGER_JOB_ACTION;
|
|
797
|
+
jobName: string;
|
|
798
|
+
durationMs: number;
|
|
799
|
+
}): void;
|
|
800
|
+
static logEvent_WorkflowManagerJobActionFailure(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: {
|
|
801
|
+
scope: WORKFLOW_MANAGER_SCOPE;
|
|
802
|
+
action: WORKFLOW_MANAGER_JOB_ACTION;
|
|
803
|
+
jobName: string;
|
|
804
|
+
errorMessage: string;
|
|
805
|
+
}): void;
|
|
806
|
+
static logEvent_WorkflowManagerJobLogsOpened(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: {
|
|
807
|
+
scope: WORKFLOW_MANAGER_SCOPE;
|
|
808
|
+
jobName: string;
|
|
809
|
+
jobStatus: string;
|
|
810
|
+
}): void;
|
|
811
|
+
static logEvent_WorkflowManagerJobLogsClosed(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: {
|
|
812
|
+
scope: WORKFLOW_MANAGER_SCOPE;
|
|
813
|
+
jobName: string;
|
|
814
|
+
dwellMs: number;
|
|
815
|
+
refreshCount: number;
|
|
816
|
+
}): void;
|
|
817
|
+
static logEvent_WorkflowManagerJobLogsRefresh(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: {
|
|
818
|
+
scope: WORKFLOW_MANAGER_SCOPE;
|
|
819
|
+
jobName: string;
|
|
820
|
+
}): void;
|
|
821
|
+
static logEvent_WorkflowManagerJobLogsFetchSucceeded(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: {
|
|
822
|
+
scope: WORKFLOW_MANAGER_SCOPE;
|
|
823
|
+
jobName: string;
|
|
824
|
+
durationMs: number;
|
|
825
|
+
logSizeBytes: number;
|
|
826
|
+
}): void;
|
|
827
|
+
static logEvent_WorkflowManagerJobLogsFetchFailure(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: {
|
|
828
|
+
scope: WORKFLOW_MANAGER_SCOPE;
|
|
829
|
+
jobName: string;
|
|
830
|
+
errorMessage: string;
|
|
831
|
+
}): void;
|
|
832
|
+
static logEvent_ServiceTestSuiteRunLaunched(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: ServiceTestSuiteRunCommonData): void;
|
|
833
|
+
static logEvent_ServiceTestSuiteRunSucceeded(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: ServiceTestSuiteRunCommonData & {
|
|
834
|
+
durationMs: number;
|
|
835
|
+
passedCount: number;
|
|
836
|
+
failedCount: number;
|
|
837
|
+
erroredCount: number;
|
|
838
|
+
}): void;
|
|
839
|
+
static logEvent_ServiceTestSuiteRunFailure(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: ServiceTestSuiteRunCommonData & {
|
|
840
|
+
errorMessage: string;
|
|
841
|
+
}): void;
|
|
842
|
+
static logEvent_TestableRunLaunched(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: TestableRunCommonData): void;
|
|
843
|
+
static logEvent_TestableRunSucceeded(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: TestableRunCommonData & {
|
|
844
|
+
durationMs: number;
|
|
845
|
+
passedCount: number;
|
|
846
|
+
failedCount: number;
|
|
847
|
+
erroredCount: number;
|
|
848
|
+
}): void;
|
|
849
|
+
static logEvent_TestableRunFailure(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: TestableRunCommonData & {
|
|
850
|
+
errorMessage: string;
|
|
851
|
+
}): void;
|
|
852
|
+
static logEvent_GlobalTestRunLaunched(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: GlobalTestRunCommonData): void;
|
|
853
|
+
static logEvent_GlobalTestRunSucceeded(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: GlobalTestRunCommonData & {
|
|
854
|
+
durationMs: number;
|
|
855
|
+
passedCount: number;
|
|
856
|
+
failedCount: number;
|
|
857
|
+
erroredCount: number;
|
|
858
|
+
}): void;
|
|
859
|
+
static logEvent_GlobalTestRunFailure(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: GlobalTestRunCommonData & {
|
|
860
|
+
errorMessage: string;
|
|
861
|
+
}): void;
|
|
862
|
+
static logEvent_SdlcReviewActionLaunched(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: SdlcReviewActionLaunchData): void;
|
|
863
|
+
static logEvent_SdlcReviewActionSucceeded(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: SdlcReviewActionSuccessData): void;
|
|
864
|
+
static logEvent_SdlcReviewActionFailure(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: SdlcReviewActionFailureData): void;
|
|
865
|
+
static logEvent_SetupActionLaunched(service: TelemetryService, data: SetupActionLaunchData): void;
|
|
866
|
+
static logEvent_SetupActionSucceeded(service: TelemetryService, data: SetupActionSuccessData): void;
|
|
867
|
+
static logEvent_SetupActionFailure(service: TelemetryService, data: SetupActionFailureData): void;
|
|
868
|
+
static logEvent_ProjectConfigUpdateLaunched(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: ProjectConfigUpdateLaunchData): void;
|
|
869
|
+
static logEvent_ProjectConfigUpdateSucceeded(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: ProjectConfigUpdateSuccessData): void;
|
|
870
|
+
static logEvent_ProjectConfigUpdateFailure(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: ProjectConfigUpdateFailureData): void;
|
|
871
|
+
static logEvent_ProjectOverviewActionLaunched(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: ProjectOverviewActionLaunchData): void;
|
|
872
|
+
static logEvent_ProjectOverviewActionSucceeded(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: ProjectOverviewActionSuccessData): void;
|
|
873
|
+
static logEvent_ProjectOverviewActionFailure(service: TelemetryService, sourceInfo: LegendSourceInfo | undefined, data: ProjectOverviewActionFailureData): void;
|
|
874
|
+
static logEvent_SdlcWorkspaceCreateLaunched(service: TelemetryService, data: SdlcWorkspaceCreateLaunchData): void;
|
|
875
|
+
static logEvent_SdlcWorkspaceCreateSucceeded(service: TelemetryService, data: SdlcWorkspaceCreateSuccessData): void;
|
|
876
|
+
static logEvent_SdlcWorkspaceCreateFailure(service: TelemetryService, data: SdlcWorkspaceCreateFailureData): void;
|
|
223
877
|
}
|
|
224
878
|
export {};
|
|
225
879
|
//# sourceMappingURL=LegendStudioTelemetryHelper.d.ts.map
|