@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.
Files changed (209) hide show
  1. package/lib/__lib__/LegendStudioEvent.d.ts +63 -1
  2. package/lib/__lib__/LegendStudioEvent.d.ts.map +1 -1
  3. package/lib/__lib__/LegendStudioEvent.js +90 -0
  4. package/lib/__lib__/LegendStudioEvent.js.map +1 -1
  5. package/lib/__lib__/LegendStudioTelemetryHelper.d.ts +655 -1
  6. package/lib/__lib__/LegendStudioTelemetryHelper.d.ts.map +1 -1
  7. package/lib/__lib__/LegendStudioTelemetryHelper.js +709 -1
  8. package/lib/__lib__/LegendStudioTelemetryHelper.js.map +1 -1
  9. package/lib/components/editor/editor-group/LegendAISuggestTelemetryHooks.d.ts +30 -0
  10. package/lib/components/editor/editor-group/LegendAISuggestTelemetryHooks.d.ts.map +1 -0
  11. package/lib/components/editor/editor-group/LegendAISuggestTelemetryHooks.js +43 -0
  12. package/lib/components/editor/editor-group/LegendAISuggestTelemetryHooks.js.map +1 -0
  13. package/lib/components/editor/editor-group/RuntimeEditor.d.ts +4 -3
  14. package/lib/components/editor/editor-group/RuntimeEditor.d.ts.map +1 -1
  15. package/lib/components/editor/editor-group/RuntimeEditor.js +90 -36
  16. package/lib/components/editor/editor-group/RuntimeEditor.js.map +1 -1
  17. package/lib/components/editor/editor-group/dataProduct/DataProductEditor.d.ts.map +1 -1
  18. package/lib/components/editor/editor-group/dataProduct/DataProductEditor.js +154 -35
  19. package/lib/components/editor/editor-group/dataProduct/DataProductEditor.js.map +1 -1
  20. package/lib/components/editor/editor-group/dataProduct/DataProductQueryBuilderHelper.d.ts.map +1 -1
  21. package/lib/components/editor/editor-group/dataProduct/DataProductQueryBuilderHelper.js +4 -6
  22. package/lib/components/editor/editor-group/dataProduct/DataProductQueryBuilderHelper.js.map +1 -1
  23. package/lib/components/editor/editor-group/service-editor/ServiceEditor.d.ts.map +1 -1
  24. package/lib/components/editor/editor-group/service-editor/ServiceEditor.js +31 -7
  25. package/lib/components/editor/editor-group/service-editor/ServiceEditor.js.map +1 -1
  26. package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.d.ts.map +1 -1
  27. package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.js +4 -8
  28. package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.js.map +1 -1
  29. package/lib/components/editor/side-bar/WorkflowManager.d.ts.map +1 -1
  30. package/lib/components/editor/side-bar/WorkflowManager.js +15 -0
  31. package/lib/components/editor/side-bar/WorkflowManager.js.map +1 -1
  32. package/lib/index.css +1 -1
  33. package/lib/index.d.ts +3 -1
  34. package/lib/index.d.ts.map +1 -1
  35. package/lib/index.js +3 -1
  36. package/lib/index.js.map +1 -1
  37. package/lib/package.json +1 -1
  38. package/lib/stores/editor/EditorGraphState.d.ts.map +1 -1
  39. package/lib/stores/editor/EditorGraphState.js +17 -1
  40. package/lib/stores/editor/EditorGraphState.js.map +1 -1
  41. package/lib/stores/editor/EditorStore.d.ts +2 -0
  42. package/lib/stores/editor/EditorStore.d.ts.map +1 -1
  43. package/lib/stores/editor/EditorStore.js +12 -0
  44. package/lib/stores/editor/EditorStore.js.map +1 -1
  45. package/lib/stores/editor/EditorTabManagerState.d.ts +18 -1
  46. package/lib/stores/editor/EditorTabManagerState.d.ts.map +1 -1
  47. package/lib/stores/editor/EditorTabManagerState.js +90 -1
  48. package/lib/stores/editor/EditorTabManagerState.js.map +1 -1
  49. package/lib/stores/editor/EditorTabTelemetryHelper.d.ts +31 -0
  50. package/lib/stores/editor/EditorTabTelemetryHelper.d.ts.map +1 -0
  51. package/lib/stores/editor/EditorTabTelemetryHelper.js +55 -0
  52. package/lib/stores/editor/EditorTabTelemetryHelper.js.map +1 -0
  53. package/lib/stores/editor/GraphEditFormModeState.d.ts.map +1 -1
  54. package/lib/stores/editor/GraphEditFormModeState.js +22 -1
  55. package/lib/stores/editor/GraphEditFormModeState.js.map +1 -1
  56. package/lib/stores/editor/LegendAISuggestTelemetry.d.ts +143 -0
  57. package/lib/stores/editor/LegendAISuggestTelemetry.d.ts.map +1 -0
  58. package/lib/stores/editor/LegendAISuggestTelemetry.js +376 -0
  59. package/lib/stores/editor/LegendAISuggestTelemetry.js.map +1 -0
  60. package/lib/stores/editor/LegendSQLStudioPlaygroundState.js +3 -3
  61. package/lib/stores/editor/LegendSQLStudioPlaygroundState.js.map +1 -1
  62. package/lib/stores/editor/editor-state/GraphGenerationState.d.ts +14 -3
  63. package/lib/stores/editor/editor-state/GraphGenerationState.d.ts.map +1 -1
  64. package/lib/stores/editor/editor-state/GraphGenerationState.js +42 -5
  65. package/lib/stores/editor/editor-state/GraphGenerationState.js.map +1 -1
  66. package/lib/stores/editor/editor-state/ModelImporterState.d.ts.map +1 -1
  67. package/lib/stores/editor/editor-state/ModelImporterState.js +2 -1
  68. package/lib/stores/editor/editor-state/ModelImporterState.js.map +1 -1
  69. package/lib/stores/editor/editor-state/element-editor-state/ElementExternalFormatGenerationState.d.ts.map +1 -1
  70. package/lib/stores/editor/editor-state/element-editor-state/ElementExternalFormatGenerationState.js +14 -0
  71. package/lib/stores/editor/editor-state/element-editor-state/ElementExternalFormatGenerationState.js.map +1 -1
  72. package/lib/stores/editor/editor-state/element-editor-state/RuntimeEditorState.d.ts +35 -6
  73. package/lib/stores/editor/editor-state/element-editor-state/RuntimeEditorState.d.ts.map +1 -1
  74. package/lib/stores/editor/editor-state/element-editor-state/RuntimeEditorState.js +74 -29
  75. package/lib/stores/editor/editor-state/element-editor-state/RuntimeEditorState.js.map +1 -1
  76. package/lib/stores/editor/editor-state/element-editor-state/availability/testable/AvailabilityTestableState.d.ts +5 -0
  77. package/lib/stores/editor/editor-state/element-editor-state/availability/testable/AvailabilityTestableState.d.ts.map +1 -1
  78. package/lib/stores/editor/editor-state/element-editor-state/availability/testable/AvailabilityTestableState.js +13 -0
  79. package/lib/stores/editor/editor-state/element-editor-state/availability/testable/AvailabilityTestableState.js.map +1 -1
  80. package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.d.ts +1 -0
  81. package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.d.ts.map +1 -1
  82. package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.js +5 -5
  83. package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.js.map +1 -1
  84. package/lib/stores/editor/editor-state/element-editor-state/dataProduct/DataProductEditorState.d.ts +12 -0
  85. package/lib/stores/editor/editor-state/element-editor-state/dataProduct/DataProductEditorState.d.ts.map +1 -1
  86. package/lib/stores/editor/editor-state/element-editor-state/dataProduct/DataProductEditorState.js +60 -14
  87. package/lib/stores/editor/editor-state/element-editor-state/dataProduct/DataProductEditorState.js.map +1 -1
  88. package/lib/stores/editor/editor-state/element-editor-state/dataProduct/testable/DataProductTestableState.d.ts +5 -0
  89. package/lib/stores/editor/editor-state/element-editor-state/dataProduct/testable/DataProductTestableState.d.ts.map +1 -1
  90. package/lib/stores/editor/editor-state/element-editor-state/dataProduct/testable/DataProductTestableState.js +13 -0
  91. package/lib/stores/editor/editor-state/element-editor-state/dataProduct/testable/DataProductTestableState.js.map +1 -1
  92. package/lib/stores/editor/editor-state/element-editor-state/function-activator/testable/FunctionTestableState.d.ts +7 -0
  93. package/lib/stores/editor/editor-state/element-editor-state/function-activator/testable/FunctionTestableState.d.ts.map +1 -1
  94. package/lib/stores/editor/editor-state/element-editor-state/function-activator/testable/FunctionTestableState.js +21 -2
  95. package/lib/stores/editor/editor-state/element-editor-state/function-activator/testable/FunctionTestableState.js.map +1 -1
  96. package/lib/stores/editor/editor-state/element-editor-state/ingest/IngestTestableState.d.ts +5 -0
  97. package/lib/stores/editor/editor-state/element-editor-state/ingest/IngestTestableState.d.ts.map +1 -1
  98. package/lib/stores/editor/editor-state/element-editor-state/ingest/IngestTestableState.js +13 -0
  99. package/lib/stores/editor/editor-state/element-editor-state/ingest/IngestTestableState.js.map +1 -1
  100. package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.d.ts +7 -0
  101. package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.d.ts.map +1 -1
  102. package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.js +34 -0
  103. package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.js.map +1 -1
  104. package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.d.ts.map +1 -1
  105. package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.js +48 -0
  106. package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.js.map +1 -1
  107. package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.d.ts +1 -1
  108. package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.d.ts.map +1 -1
  109. package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.js +5 -11
  110. package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.js.map +1 -1
  111. package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestEditorState.d.ts +3 -0
  112. package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestEditorState.d.ts.map +1 -1
  113. package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js +7 -0
  114. package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js.map +1 -1
  115. package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.d.ts.map +1 -1
  116. package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.js +46 -17
  117. package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.js.map +1 -1
  118. package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.d.ts +7 -0
  119. package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.d.ts.map +1 -1
  120. package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.js +110 -16
  121. package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.js.map +1 -1
  122. package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.d.ts +2 -1
  123. package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.d.ts.map +1 -1
  124. package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js +10 -4
  125. package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js.map +1 -1
  126. package/lib/stores/editor/sidebar-state/BulkServiceRegistrationState.d.ts.map +1 -1
  127. package/lib/stores/editor/sidebar-state/BulkServiceRegistrationState.js +40 -1
  128. package/lib/stores/editor/sidebar-state/BulkServiceRegistrationState.js.map +1 -1
  129. package/lib/stores/editor/sidebar-state/LocalChangesState.d.ts.map +1 -1
  130. package/lib/stores/editor/sidebar-state/LocalChangesState.js +1 -0
  131. package/lib/stores/editor/sidebar-state/LocalChangesState.js.map +1 -1
  132. package/lib/stores/editor/sidebar-state/ProjectOverviewState.d.ts.map +1 -1
  133. package/lib/stores/editor/sidebar-state/ProjectOverviewState.js +51 -0
  134. package/lib/stores/editor/sidebar-state/ProjectOverviewState.js.map +1 -1
  135. package/lib/stores/editor/sidebar-state/WorkflowManagerState.d.ts +14 -0
  136. package/lib/stores/editor/sidebar-state/WorkflowManagerState.d.ts.map +1 -1
  137. package/lib/stores/editor/sidebar-state/WorkflowManagerState.js +132 -27
  138. package/lib/stores/editor/sidebar-state/WorkflowManagerState.js.map +1 -1
  139. package/lib/stores/editor/sidebar-state/WorkspaceReviewState.d.ts.map +1 -1
  140. package/lib/stores/editor/sidebar-state/WorkspaceReviewState.js +41 -0
  141. package/lib/stores/editor/sidebar-state/WorkspaceReviewState.js.map +1 -1
  142. package/lib/stores/editor/sidebar-state/testable/GlobalTestRunnerState.d.ts.map +1 -1
  143. package/lib/stores/editor/sidebar-state/testable/GlobalTestRunnerState.js +71 -9
  144. package/lib/stores/editor/sidebar-state/testable/GlobalTestRunnerState.js.map +1 -1
  145. package/lib/stores/editor/utils/MockDataUtils.d.ts +12 -2
  146. package/lib/stores/editor/utils/MockDataUtils.d.ts.map +1 -1
  147. package/lib/stores/editor/utils/MockDataUtils.js +28 -28
  148. package/lib/stores/editor/utils/MockDataUtils.js.map +1 -1
  149. package/lib/stores/graph-modifier/DSL_DataProduct_GraphModifierHelper.d.ts +2 -0
  150. package/lib/stores/graph-modifier/DSL_DataProduct_GraphModifierHelper.d.ts.map +1 -1
  151. package/lib/stores/graph-modifier/DSL_DataProduct_GraphModifierHelper.js +13 -0
  152. package/lib/stores/graph-modifier/DSL_DataProduct_GraphModifierHelper.js.map +1 -1
  153. package/lib/stores/graph-modifier/DSL_LakehouseRuntime_GraphModifierHelper.d.ts +20 -2
  154. package/lib/stores/graph-modifier/DSL_LakehouseRuntime_GraphModifierHelper.d.ts.map +1 -1
  155. package/lib/stores/graph-modifier/DSL_LakehouseRuntime_GraphModifierHelper.js +38 -4
  156. package/lib/stores/graph-modifier/DSL_LakehouseRuntime_GraphModifierHelper.js.map +1 -1
  157. package/lib/stores/project-reviewer/ProjectReviewerStore.d.ts.map +1 -1
  158. package/lib/stores/project-reviewer/ProjectReviewerStore.js +45 -0
  159. package/lib/stores/project-reviewer/ProjectReviewerStore.js.map +1 -1
  160. package/lib/stores/workspace-setup/WorkspaceSetupStore.d.ts.map +1 -1
  161. package/lib/stores/workspace-setup/WorkspaceSetupStore.js +48 -4
  162. package/lib/stores/workspace-setup/WorkspaceSetupStore.js.map +1 -1
  163. package/package.json +9 -9
  164. package/src/__lib__/LegendStudioEvent.ts +102 -0
  165. package/src/__lib__/LegendStudioTelemetryHelper.ts +1769 -311
  166. package/src/components/editor/editor-group/LegendAISuggestTelemetryHooks.ts +57 -0
  167. package/src/components/editor/editor-group/RuntimeEditor.tsx +282 -132
  168. package/src/components/editor/editor-group/dataProduct/DataProductEditor.tsx +293 -106
  169. package/src/components/editor/editor-group/dataProduct/DataProductQueryBuilderHelper.ts +3 -13
  170. package/src/components/editor/editor-group/service-editor/ServiceEditor.tsx +41 -23
  171. package/src/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.tsx +5 -11
  172. package/src/components/editor/side-bar/WorkflowManager.tsx +24 -0
  173. package/src/index.ts +17 -1
  174. package/src/stores/editor/EditorGraphState.ts +30 -1
  175. package/src/stores/editor/EditorStore.ts +22 -0
  176. package/src/stores/editor/EditorTabManagerState.ts +128 -1
  177. package/src/stores/editor/EditorTabTelemetryHelper.ts +70 -0
  178. package/src/stores/editor/GraphEditFormModeState.ts +35 -1
  179. package/src/stores/editor/LegendAISuggestTelemetry.ts +592 -0
  180. package/src/stores/editor/LegendSQLStudioPlaygroundState.ts +3 -3
  181. package/src/stores/editor/editor-state/GraphGenerationState.ts +68 -9
  182. package/src/stores/editor/editor-state/ModelImporterState.ts +2 -0
  183. package/src/stores/editor/editor-state/element-editor-state/ElementExternalFormatGenerationState.ts +30 -0
  184. package/src/stores/editor/editor-state/element-editor-state/RuntimeEditorState.ts +92 -31
  185. package/src/stores/editor/editor-state/element-editor-state/availability/testable/AvailabilityTestableState.ts +17 -0
  186. package/src/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.ts +6 -6
  187. package/src/stores/editor/editor-state/element-editor-state/dataProduct/DataProductEditorState.ts +75 -17
  188. package/src/stores/editor/editor-state/element-editor-state/dataProduct/testable/DataProductTestableState.ts +17 -0
  189. package/src/stores/editor/editor-state/element-editor-state/function-activator/testable/FunctionTestableState.ts +27 -2
  190. package/src/stores/editor/editor-state/element-editor-state/ingest/IngestTestableState.ts +17 -0
  191. package/src/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.ts +57 -0
  192. package/src/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.ts +74 -0
  193. package/src/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts +22 -21
  194. package/src/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestEditorState.ts +9 -0
  195. package/src/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.ts +78 -21
  196. package/src/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.ts +205 -18
  197. package/src/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.ts +38 -3
  198. package/src/stores/editor/sidebar-state/BulkServiceRegistrationState.ts +71 -1
  199. package/src/stores/editor/sidebar-state/LocalChangesState.ts +4 -0
  200. package/src/stores/editor/sidebar-state/ProjectOverviewState.ts +114 -0
  201. package/src/stores/editor/sidebar-state/WorkflowManagerState.ts +250 -29
  202. package/src/stores/editor/sidebar-state/WorkspaceReviewState.ts +84 -0
  203. package/src/stores/editor/sidebar-state/testable/GlobalTestRunnerState.ts +124 -17
  204. package/src/stores/editor/utils/MockDataUtils.ts +33 -32
  205. package/src/stores/graph-modifier/DSL_DataProduct_GraphModifierHelper.ts +18 -0
  206. package/src/stores/graph-modifier/DSL_LakehouseRuntime_GraphModifierHelper.ts +62 -7
  207. package/src/stores/project-reviewer/ProjectReviewerStore.ts +97 -0
  208. package/src/stores/workspace-setup/WorkspaceSetupStore.ts +87 -4
  209. 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