@finos/legend-application-query 10.0.5 → 11.0.0

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 (117) hide show
  1. package/lib/application/LegendQuery.d.ts.map +1 -1
  2. package/lib/application/LegendQuery.js +7 -4
  3. package/lib/application/LegendQuery.js.map +1 -1
  4. package/lib/application/LegendQueryApplicationConfig.d.ts +0 -10
  5. package/lib/application/LegendQueryApplicationConfig.d.ts.map +1 -1
  6. package/lib/application/LegendQueryApplicationConfig.js +3 -13
  7. package/lib/application/LegendQueryApplicationConfig.js.map +1 -1
  8. package/lib/application/LegendQueryApplicationNavigationContext.d.ts.map +1 -0
  9. package/lib/application/LegendQueryApplicationNavigationContext.js.map +1 -0
  10. package/lib/{stores/LegendQueryAppEvent.d.ts → application/LegendQueryEvent.d.ts} +1 -1
  11. package/lib/application/LegendQueryEvent.d.ts.map +1 -0
  12. package/lib/{stores/LegendQueryAppEvent.js → application/LegendQueryEvent.js} +1 -1
  13. package/lib/application/LegendQueryEvent.js.map +1 -0
  14. package/lib/{stores/LegendQueryEventService.d.ts → application/LegendQueryEventHelper.d.ts} +3 -6
  15. package/lib/application/LegendQueryEventHelper.d.ts.map +1 -0
  16. package/lib/application/LegendQueryEventHelper.js +22 -0
  17. package/lib/application/LegendQueryEventHelper.js.map +1 -0
  18. package/lib/{stores/LegendQueryRouter.d.ts → application/LegendQueryNavigation.d.ts} +26 -26
  19. package/lib/application/LegendQueryNavigation.d.ts.map +1 -0
  20. package/lib/{stores/LegendQueryRouter.js → application/LegendQueryNavigation.js} +27 -27
  21. package/lib/application/LegendQueryNavigation.js.map +1 -0
  22. package/lib/{stores/LegendQueryTelemetry.d.ts → application/LegendQueryTelemetryHelper.d.ts} +2 -2
  23. package/lib/application/LegendQueryTelemetryHelper.d.ts.map +1 -0
  24. package/lib/{stores/LegendQueryTelemetry.js → application/LegendQueryTelemetryHelper.js} +3 -3
  25. package/lib/application/LegendQueryTelemetryHelper.js.map +1 -0
  26. package/lib/components/CloneQueryServiceSetup.js +1 -1
  27. package/lib/components/CloneQueryServiceSetup.js.map +1 -1
  28. package/lib/components/Core_LegendQueryApplicationPlugin.js +3 -2
  29. package/lib/components/Core_LegendQueryApplicationPlugin.js.map +1 -1
  30. package/lib/components/CreateMappingQuerySetup.js +1 -1
  31. package/lib/components/CreateMappingQuerySetup.js.map +1 -1
  32. package/lib/components/EditExistingQuerySetup.js +1 -1
  33. package/lib/components/EditExistingQuerySetup.js.map +1 -1
  34. package/lib/components/LegendQueryApplication.js +1 -1
  35. package/lib/components/LegendQueryApplication.js.map +1 -1
  36. package/lib/components/LoadProjectServiceQuerySetup.js +2 -2
  37. package/lib/components/LoadProjectServiceQuerySetup.js.map +1 -1
  38. package/lib/components/QueryEditor.d.ts.map +1 -1
  39. package/lib/components/QueryEditor.js +18 -24
  40. package/lib/components/QueryEditor.js.map +1 -1
  41. package/lib/components/QueryEditorComponentTestUtils.js +1 -1
  42. package/lib/components/QueryEditorComponentTestUtils.js.map +1 -1
  43. package/lib/components/QueryProductionizerSetup.js +1 -1
  44. package/lib/components/QueryProductionizerSetup.js.map +1 -1
  45. package/lib/components/QuerySetup.d.ts.map +1 -1
  46. package/lib/components/QuerySetup.js +6 -7
  47. package/lib/components/QuerySetup.js.map +1 -1
  48. package/lib/components/UpdateExistingServiceQuerySetup.js +1 -1
  49. package/lib/components/UpdateExistingServiceQuerySetup.js.map +1 -1
  50. package/lib/index.css +1 -1
  51. package/lib/index.d.ts +9 -10
  52. package/lib/index.d.ts.map +1 -1
  53. package/lib/index.js +11 -10
  54. package/lib/index.js.map +1 -1
  55. package/lib/package.json +4 -4
  56. package/lib/stores/CloneServiceQuerySetupStore.js +1 -1
  57. package/lib/stores/CloneServiceQuerySetupStore.js.map +1 -1
  58. package/lib/stores/CreateMappingQuerySetupStore.js +1 -1
  59. package/lib/stores/CreateMappingQuerySetupStore.js.map +1 -1
  60. package/lib/stores/LegendQueryBaseStore.d.ts.map +1 -1
  61. package/lib/stores/LegendQueryBaseStore.js +3 -3
  62. package/lib/stores/LegendQueryBaseStore.js.map +1 -1
  63. package/lib/stores/LoadProjectServiceQuerySetupStore.js +1 -1
  64. package/lib/stores/LoadProjectServiceQuerySetupStore.js.map +1 -1
  65. package/lib/stores/QueryEditorStore.d.ts.map +1 -1
  66. package/lib/stores/QueryEditorStore.js +10 -13
  67. package/lib/stores/QueryEditorStore.js.map +1 -1
  68. package/lib/stores/QueryProductionizerSetupStore.js +1 -1
  69. package/lib/stores/QueryProductionizerSetupStore.js.map +1 -1
  70. package/lib/stores/QuerySetupStore.js +2 -2
  71. package/lib/stores/QuerySetupStore.js.map +1 -1
  72. package/lib/stores/UpdateExistingServiceQuerySetupStore.js +1 -1
  73. package/lib/stores/UpdateExistingServiceQuerySetupStore.js.map +1 -1
  74. package/package.json +12 -12
  75. package/src/application/LegendQuery.tsx +7 -3
  76. package/src/application/LegendQueryApplicationConfig.ts +1 -19
  77. package/src/application/LegendQueryEventHelper.ts +31 -0
  78. package/src/{stores/LegendQueryRouter.ts → application/LegendQueryNavigation.ts} +38 -36
  79. package/src/{stores/LegendQueryTelemetry.ts → application/LegendQueryTelemetryHelper.ts} +2 -2
  80. package/src/components/CloneQueryServiceSetup.tsx +1 -1
  81. package/src/components/Core_LegendQueryApplicationPlugin.tsx +1 -1
  82. package/src/components/CreateMappingQuerySetup.tsx +1 -1
  83. package/src/components/EditExistingQuerySetup.tsx +1 -1
  84. package/src/components/LegendQueryApplication.tsx +1 -1
  85. package/src/components/LoadProjectServiceQuerySetup.tsx +1 -1
  86. package/src/components/QueryEditor.tsx +38 -68
  87. package/src/components/QueryEditorComponentTestUtils.tsx +1 -1
  88. package/src/components/QueryProductionizerSetup.tsx +1 -1
  89. package/src/components/QuerySetup.tsx +14 -28
  90. package/src/components/UpdateExistingServiceQuerySetup.tsx +1 -1
  91. package/src/index.ts +15 -17
  92. package/src/stores/CloneServiceQuerySetupStore.ts +1 -1
  93. package/src/stores/CreateMappingQuerySetupStore.ts +1 -1
  94. package/src/stores/LegendQueryBaseStore.ts +3 -5
  95. package/src/stores/LoadProjectServiceQuerySetupStore.ts +1 -1
  96. package/src/stores/QueryEditorStore.ts +12 -15
  97. package/src/stores/QueryProductionizerSetupStore.ts +1 -1
  98. package/src/stores/QuerySetupStore.ts +2 -2
  99. package/src/stores/UpdateExistingServiceQuerySetupStore.ts +1 -1
  100. package/tsconfig.json +6 -7
  101. package/tsconfig.package.json +1 -2
  102. package/lib/stores/LegendQueryAppEvent.d.ts.map +0 -1
  103. package/lib/stores/LegendQueryAppEvent.js.map +0 -1
  104. package/lib/stores/LegendQueryApplicationNavigationContext.d.ts.map +0 -1
  105. package/lib/stores/LegendQueryApplicationNavigationContext.js.map +0 -1
  106. package/lib/stores/LegendQueryEventService.d.ts.map +0 -1
  107. package/lib/stores/LegendQueryEventService.js +0 -29
  108. package/lib/stores/LegendQueryEventService.js.map +0 -1
  109. package/lib/stores/LegendQueryRouter.d.ts.map +0 -1
  110. package/lib/stores/LegendQueryRouter.js.map +0 -1
  111. package/lib/stores/LegendQueryTelemetry.d.ts.map +0 -1
  112. package/lib/stores/LegendQueryTelemetry.js.map +0 -1
  113. package/src/stores/LegendQueryEventService.ts +0 -41
  114. /package/lib/{stores → application}/LegendQueryApplicationNavigationContext.d.ts +0 -0
  115. /package/lib/{stores → application}/LegendQueryApplicationNavigationContext.js +0 -0
  116. /package/src/{stores → application}/LegendQueryApplicationNavigationContext.ts +0 -0
  117. /package/src/{stores/LegendQueryAppEvent.ts → application/LegendQueryEvent.ts} +0 -0
@@ -57,8 +57,8 @@ import {
57
57
  generateExistingQueryEditorRoute,
58
58
  generateMappingQueryCreatorRoute,
59
59
  generateServiceQueryCreatorRoute,
60
- } from './LegendQueryRouter.js';
61
- import { LEGEND_QUERY_APP_EVENT } from './LegendQueryAppEvent.js';
60
+ } from '../application/LegendQueryNavigation.js';
61
+ import { LEGEND_QUERY_APP_EVENT } from '../application/LegendQueryEvent.js';
62
62
  import {
63
63
  type Entity,
64
64
  type ProjectGAVCoordinates,
@@ -75,10 +75,10 @@ import {
75
75
  TAB_SIZE,
76
76
  DEFAULT_TYPEAHEAD_SEARCH_MINIMUM_SEARCH_LENGTH,
77
77
  DEFAULT_TYPEAHEAD_SEARCH_LIMIT,
78
- ApplicationTelemetry,
78
+ LegendApplicationTelemetryHelper,
79
79
  } from '@finos/legend-application';
80
80
  import type { LegendQueryPluginManager } from '../application/LegendQueryPluginManager.js';
81
- import { LegendQueryEventService } from './LegendQueryEventService.js';
81
+ import { LegendQueryEventHelper } from '../application/LegendQueryEventHelper.js';
82
82
  import type { LegendQueryApplicationStore } from './LegendQueryBaseStore.js';
83
83
  import {
84
84
  type QueryBuilderState,
@@ -87,8 +87,7 @@ import {
87
87
  MappingQueryBuilderState,
88
88
  ServiceQueryBuilderState,
89
89
  } from '@finos/legend-query-builder';
90
- import { LegendQueryTelemetry } from './LegendQueryTelemetry.js';
91
- import { LEGEND_QUERY_APPLICATION_NAVIGATION_CONTEXT_KEY } from './LegendQueryApplicationNavigationContext.js';
90
+ import { LegendQueryTelemetryHelper } from '../application/LegendQueryTelemetryHelper.js';
92
91
 
93
92
  export const createViewProjectHandler =
94
93
  (applicationStore: LegendQueryApplicationStore) =>
@@ -236,11 +235,12 @@ export class QueryExportState {
236
235
  `Successfully created query!`,
237
236
  );
238
237
 
239
- LegendQueryEventService.create(
238
+ LegendQueryEventHelper.notify_QueryCreateSucceeded(
240
239
  this.editorStore.applicationStore.eventService,
241
- ).notify_QueryCreated({ queryId: newQuery.id });
240
+ { queryId: newQuery.id },
241
+ );
242
242
 
243
- LegendQueryTelemetry.logEvent_CreateQuerySucceeded(
243
+ LegendQueryTelemetryHelper.logEvent_CreateQuerySucceeded(
244
244
  this.editorStore.applicationStore.telemetryService,
245
245
  {
246
246
  query: {
@@ -266,7 +266,7 @@ export class QueryExportState {
266
266
  `Successfully updated query!`,
267
267
  );
268
268
 
269
- LegendQueryTelemetry.logEvent_UpdateQuerySucceeded(
269
+ LegendQueryTelemetryHelper.logEvent_UpdateQuerySucceeded(
270
270
  this.editorStore.applicationStore.telemetryService,
271
271
  {
272
272
  query: {
@@ -541,7 +541,7 @@ export abstract class QueryEditorStore {
541
541
  this.graphManagerState.graph.dependencyManager.numberOfDependencies,
542
542
  graph: graph_buildReport,
543
543
  };
544
- ApplicationTelemetry.logEvent_GraphInitializationSucceeded(
544
+ LegendApplicationTelemetryHelper.logEvent_GraphInitializationSucceeded(
545
545
  this.applicationStore.telemetryService,
546
546
  graphBuilderReportData,
547
547
  );
@@ -796,9 +796,6 @@ export class ExistingQueryEditorStore extends QueryEditorStore {
796
796
  queryBuilderState ??
797
797
  new ClassQueryBuilderState(this.applicationStore, this.graphManagerState);
798
798
 
799
- queryBuilderState.applicationContext =
800
- LEGEND_QUERY_APPLICATION_NAVIGATION_CONTEXT_KEY.EDITOR;
801
-
802
799
  queryBuilderState.setMapping(query.mapping.value);
803
800
  queryBuilderState.setRuntimeValue(
804
801
  new RuntimePointer(
@@ -812,7 +809,7 @@ export class ExistingQueryEditorStore extends QueryEditorStore {
812
809
  );
813
810
 
814
811
  // send analytics
815
- LegendQueryTelemetry.logEvent_ViewQuerySucceeded(
812
+ LegendQueryTelemetryHelper.logEvent_ViewQuerySucceeded(
816
813
  this.applicationStore.telemetryService,
817
814
  {
818
815
  query: {
@@ -35,7 +35,7 @@ import {
35
35
  import { parseProjectIdentifier } from '@finos/legend-storage';
36
36
  import { flow, makeObservable, observable } from 'mobx';
37
37
  import type { LegendQueryApplicationStore } from './LegendQueryBaseStore.js';
38
- import { EXTERNAL_APPLICATION_NAVIGATION__generateStudioProductionizeQueryUrl } from './LegendQueryRouter.js';
38
+ import { EXTERNAL_APPLICATION_NAVIGATION__generateStudioProductionizeQueryUrl } from '../application/LegendQueryNavigation.js';
39
39
  import { BaseQuerySetupStore } from './QuerySetupStore.js';
40
40
 
41
41
  export class QueryProductionizerSetupStore extends BaseQuerySetupStore {
@@ -25,11 +25,11 @@ import {
25
25
  } from '@finos/legend-shared';
26
26
  import { BasicGraphManagerState } from '@finos/legend-graph';
27
27
  import type { DepotServerClient } from '@finos/legend-server-depot';
28
- import { LEGEND_QUERY_APP_EVENT } from './LegendQueryAppEvent.js';
28
+ import { LEGEND_QUERY_APP_EVENT } from '../application/LegendQueryEvent.js';
29
29
  import { TAB_SIZE } from '@finos/legend-application';
30
30
  import type { LegendQueryPluginManager } from '../application/LegendQueryPluginManager.js';
31
31
  import type { LegendQueryApplicationStore } from './LegendQueryBaseStore.js';
32
- import { generateQuerySetupRoute } from './LegendQueryRouter.js';
32
+ import { generateQuerySetupRoute } from '../application/LegendQueryNavigation.js';
33
33
  import type { QuerySetupActionConfiguration } from './LegendQueryApplicationPlugin.js';
34
34
 
35
35
  export abstract class BaseQuerySetupStore {
@@ -37,7 +37,7 @@ import {
37
37
  import { parseProjectIdentifier } from '@finos/legend-storage';
38
38
  import { flow, makeObservable, observable } from 'mobx';
39
39
  import type { LegendQueryApplicationStore } from './LegendQueryBaseStore.js';
40
- import { EXTERNAL_APPLICATION_NAVIGATION__generateStudioUpdateExistingServiceQueryUrl } from './LegendQueryRouter.js';
40
+ import { EXTERNAL_APPLICATION_NAVIGATION__generateStudioUpdateExistingServiceQueryUrl } from '../application/LegendQueryNavigation.js';
41
41
  import { BaseQuerySetupStore } from './QuerySetupStore.js';
42
42
 
43
43
  export class UpdateExistingServiceQuerySetupStore extends BaseQuerySetupStore {
package/tsconfig.json CHANGED
@@ -15,8 +15,7 @@
15
15
  "module": "nodenext",
16
16
  "skipLibCheck": true,
17
17
  "resolveJsonModule": true,
18
- "isolatedModules": true,
19
- "importsNotUsedAsValues": "error",
18
+ "verbatimModuleSyntax": true,
20
19
  "strict": true,
21
20
  "noImplicitOverride": true,
22
21
  "noUncheckedIndexedAccess": true,
@@ -35,17 +34,17 @@
35
34
  "files": [
36
35
  "./src/index.ts",
37
36
  "./src/application/LegendQueryApplicationConfig.ts",
37
+ "./src/application/LegendQueryApplicationNavigationContext.ts",
38
+ "./src/application/LegendQueryEvent.ts",
39
+ "./src/application/LegendQueryEventHelper.ts",
40
+ "./src/application/LegendQueryNavigation.ts",
38
41
  "./src/application/LegendQueryPluginManager.ts",
42
+ "./src/application/LegendQueryTelemetryHelper.ts",
39
43
  "./src/stores/CloneServiceQuerySetupStore.ts",
40
44
  "./src/stores/CreateMappingQuerySetupStore.ts",
41
45
  "./src/stores/EditExistingQuerySetupStore.ts",
42
- "./src/stores/LegendQueryAppEvent.ts",
43
- "./src/stores/LegendQueryApplicationNavigationContext.ts",
44
46
  "./src/stores/LegendQueryApplicationPlugin.ts",
45
47
  "./src/stores/LegendQueryBaseStore.ts",
46
- "./src/stores/LegendQueryEventService.ts",
47
- "./src/stores/LegendQueryRouter.ts",
48
- "./src/stores/LegendQueryTelemetry.ts",
49
48
  "./src/stores/LoadProjectServiceQuerySetupStore.ts",
50
49
  "./src/stores/QueryEditorStore.ts",
51
50
  "./src/stores/QueryEditorStoreTestUtils.ts",
@@ -15,8 +15,7 @@
15
15
  "module": "nodenext",
16
16
  "skipLibCheck": true,
17
17
  "resolveJsonModule": true,
18
- "isolatedModules": true,
19
- "importsNotUsedAsValues": "error",
18
+ "verbatimModuleSyntax": true,
20
19
  "strict": true,
21
20
  "noImplicitOverride": true,
22
21
  "noUncheckedIndexedAccess": true,
@@ -1 +0,0 @@
1
- {"version":3,"file":"LegendQueryAppEvent.d.ts","sourceRoot":"","sources":["../../src/stores/LegendQueryAppEvent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,sBAAsB;IAEhC,eAAe,gCAAgC;IAE/C,mBAAmB,oCAAoC;IACvD,qBAAqB,sCAAsC;IAC3D,qBAAqB,sCAAsC;CAC5D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"LegendQueryAppEvent.js","sourceRoot":"","sources":["../../src/stores/LegendQueryAppEvent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,sBAOX;AAPD,WAAY,sBAAsB;IAChC,wCAAwC;IACxC,yEAA+C,CAAA;IAE/C,iFAAuD,CAAA;IACvD,qFAA2D,CAAA;IAC3D,qFAA2D,CAAA;AAC7D,CAAC,EAPW,sBAAsB,GAAtB,sBAAsB,KAAtB,sBAAsB,QAOjC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"LegendQueryApplicationNavigationContext.d.ts","sourceRoot":"","sources":["../../src/stores/LegendQueryApplicationNavigationContext.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,+CAA+C;IAEzD,MAAM,iBAAiB;CACxB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"LegendQueryApplicationNavigationContext.js","sourceRoot":"","sources":["../../src/stores/LegendQueryApplicationNavigationContext.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,+CAGX;AAHD,WAAY,+CAA+C;IACzD,SAAS;IACT,0EAAuB,CAAA;AACzB,CAAC,EAHW,+CAA+C,GAA/C,+CAA+C,KAA/C,+CAA+C,QAG1D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"LegendQueryEventService.d.ts","sourceRoot":"","sources":["../../src/stores/LegendQueryEventService.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAG9D,KAAK,sBAAsB,GAAG;IAC5B,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,qBAAa,uBAAuB;IAClC,OAAO,CAAC,YAAY,CAAgB;IAEpC,OAAO;IAIP,MAAM,CAAC,MAAM,CAAC,YAAY,EAAE,YAAY,GAAG,uBAAuB;IAIlE,mBAAmB,CAAC,IAAI,EAAE,sBAAsB,GAAG,IAAI;CAMxD"}
@@ -1,29 +0,0 @@
1
- /**
2
- * Copyright (c) 2020-present, Goldman Sachs
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { LEGEND_QUERY_APP_EVENT } from './LegendQueryAppEvent.js';
17
- export class LegendQueryEventService {
18
- eventService;
19
- constructor(eventService) {
20
- this.eventService = eventService;
21
- }
22
- static create(eventService) {
23
- return new LegendQueryEventService(eventService);
24
- }
25
- notify_QueryCreated(data) {
26
- this.eventService.notify(LEGEND_QUERY_APP_EVENT.CREATE_QUERY__SUCCESS, data);
27
- }
28
- }
29
- //# sourceMappingURL=LegendQueryEventService.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LegendQueryEventService.js","sourceRoot":"","sources":["../../src/stores/LegendQueryEventService.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAMlE,MAAM,OAAO,uBAAuB;IAC1B,YAAY,CAAgB;IAEpC,YAAoB,YAA0B;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;IACnC,CAAC;IAED,MAAM,CAAC,MAAM,CAAC,YAA0B;QACtC,OAAO,IAAI,uBAAuB,CAAC,YAAY,CAAC,CAAC;IACnD,CAAC;IAED,mBAAmB,CAAC,IAA4B;QAC9C,IAAI,CAAC,YAAY,CAAC,MAAM,CACtB,sBAAsB,CAAC,qBAAqB,EAC5C,IAAI,CACL,CAAC;IACJ,CAAC;CACF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"LegendQueryRouter.d.ts","sourceRoot":"","sources":["../../src/stores/LegendQueryRouter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;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ACV,GAAG,SAAS,iBAAiB,sBAAsB,CACjD,OAAO,EACP,UAAU,EACV,SAAS,CACV,GAAG,UAAU,CAAC,CAAC,CAAC,WAAW,UAAU,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;AAElD;;GAEG;AACH,MAAM,CAAC,MAAM,iEAAiE,GAC5E,CACE,SAAiB,EACjB,SAAiB,EACjB,UAA8B,EACtB,EAAE,CACV,GAAG,SAAS,SAAS,SAAS,GAC5B,UAAU,CAAC,CAAC,CAAC,WAAW,UAAU,EAAE,CAAC,CAAC,CAAC,EACzC,EAAE,CAAC;AAEP;;GAEG;AACH,MAAM,CAAC,MAAM,4EAA4E,GACvF,CACE,SAAiB,EACjB,OAAe,EACf,UAAkB,EAClB,WAAmB,EACX,EAAE,CACV,GAAG,SAAS,oCAAoC,WAAW,IAAI,sBAAsB,CACnF,OAAO,EACP,UAAU,EACV,SAAS,CACV,EAAE,CAAC;AAER;;GAEG;AACH,MAAM,CAAC,MAAM,2EAA2E,GACtF,CAAC,SAAiB,EAAE,SAAiB,EAAU,EAAE,CAC/C,GAAG,SAAS,4CAA4C,SAAS,EAAE,CAAC;AAExE;;GAEG;AACH,MAAM,CAAC,MAAM,oEAAoE,GAC/E,CAAC,SAAiB,EAAE,OAAe,EAAU,EAAE,CAC7C,GAAG,SAAS,mCAAmC,OAAO,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"LegendQueryTelemetry.d.ts","sourceRoot":"","sources":["../../src/stores/LegendQueryTelemetry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAGlE,KAAK,mBAAmB,GAAG;IACzB,KAAK,EAAE;QACL,IAAI,EAAE,MAAM,CAAC;QACb,EAAE,EAAE,MAAM,CAAC;QACX,SAAS,EAAE,MAAM,CAAC;QAClB,OAAO,EAAE,MAAM,CAAC;QAChB,UAAU,EAAE,MAAM,CAAC;KACpB,CAAC;CACH,CAAC;AAEF,qBAAa,oBAAoB;IAC/B,MAAM,CAAC,2BAA2B,CAChC,gBAAgB,EAAE,gBAAgB,EAClC,IAAI,EAAE,mBAAmB,GACxB,IAAI;IAIP,MAAM,CAAC,6BAA6B,CAClC,gBAAgB,EAAE,gBAAgB,EAClC,IAAI,EAAE,mBAAmB,GACxB,IAAI;IAOP,MAAM,CAAC,6BAA6B,CAClC,gBAAgB,EAAE,gBAAgB,EAClC,IAAI,EAAE,mBAAmB,GACxB,IAAI;CAMR"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"LegendQueryTelemetry.js","sourceRoot":"","sources":["../../src/stores/LegendQueryTelemetry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAYlE,MAAM,OAAO,oBAAoB;IAC/B,MAAM,CAAC,2BAA2B,CAChC,gBAAkC,EAClC,IAAyB;QAEzB,gBAAgB,CAAC,QAAQ,CAAC,sBAAsB,CAAC,mBAAmB,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;IAED,MAAM,CAAC,6BAA6B,CAClC,gBAAkC,EAClC,IAAyB;QAEzB,gBAAgB,CAAC,QAAQ,CACvB,sBAAsB,CAAC,qBAAqB,EAC5C,IAAI,CACL,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,6BAA6B,CAClC,gBAAkC,EAClC,IAAyB;QAEzB,gBAAgB,CAAC,QAAQ,CACvB,sBAAsB,CAAC,qBAAqB,EAC5C,IAAI,CACL,CAAC;IACJ,CAAC;CACF"}
@@ -1,41 +0,0 @@
1
- /**
2
- * Copyright (c) 2020-present, Goldman Sachs
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
-
17
- import type { EventService } from '@finos/legend-application';
18
- import { LEGEND_QUERY_APP_EVENT } from './LegendQueryAppEvent.js';
19
-
20
- type QueryCreated_EventData = {
21
- queryId: string;
22
- };
23
-
24
- export class LegendQueryEventService {
25
- private eventService!: EventService;
26
-
27
- private constructor(eventService: EventService) {
28
- this.eventService = eventService;
29
- }
30
-
31
- static create(eventService: EventService): LegendQueryEventService {
32
- return new LegendQueryEventService(eventService);
33
- }
34
-
35
- notify_QueryCreated(data: QueryCreated_EventData): void {
36
- this.eventService.notify(
37
- LEGEND_QUERY_APP_EVENT.CREATE_QUERY__SUCCESS,
38
- data,
39
- );
40
- }
41
- }