@finos/legend-application-query 13.8.24 → 13.8.25

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.
@@ -43,6 +43,7 @@ import { DataSpaceTemplateQueryCreator } from './data-space/DataSpaceTemplateQue
43
43
  import { QueryCreator } from './data-space/DataProductQueryCreator.js';
44
44
  import { DataProductSampleQueryCreator } from './data-product/DataProductSampleQueryCreator.js';
45
45
  import { ExistingQueryDataCubeViewer } from './data-cube/ExistingQueryDataCubeViewer.js';
46
+ import { DataSpaceArtifactInspector } from './DataSpaceArtifactInspector.js';
46
47
  import {
47
48
  AuthProvider,
48
49
  withAuthenticationRequired,
@@ -121,6 +122,12 @@ const LegendQueryWebApplicationRouter = observer(() => {
121
122
  element={<MappingQueryCreator />}
122
123
  />
123
124
 
125
+ {/* Developer-only diagnostic page (artifact size inspector) */}
126
+ <Route
127
+ path={LEGEND_QUERY_ROUTE_PATTERN.DEV_DATA_SPACE_INSPECTOR}
128
+ element={<DataSpaceArtifactInspector />}
129
+ />
130
+
124
131
  {/* LEGACY DATA SPACE */}
125
132
  <Route
126
133
  path={generateExtensionUrlPattern(
@@ -53,9 +53,9 @@ import { TEST__getTestLegendQueryApplicationConfig } from '../../stores/__test-u
53
53
  import { LegendQueryPluginManager } from '../../application/LegendQueryPluginManager.js';
54
54
  import { ExistingQueryEditor } from '../QueryEditor.js';
55
55
  import type {
56
+ StoredFileGeneration,
56
57
  EntitiesWithOrigin,
57
58
  Entity,
58
- StoredFileGeneration,
59
59
  } from '@finos/legend-storage';
60
60
  import {
61
61
  ExistingQueryEditorStore,
@@ -803,6 +803,7 @@ export abstract class QueryEditorStore {
803
803
  retrieveDataspaceArtifactsCache(
804
804
  project,
805
805
  versionId,
806
+ dataSpacePath,
806
807
  this.depotServerClient,
807
808
  ),
808
809
  undefined,
package/tsconfig.json CHANGED
@@ -92,6 +92,7 @@
92
92
  "./src/components/CloneQueryServiceSetup.tsx",
93
93
  "./src/components/Core_LegendQueryApplicationPlugin.tsx",
94
94
  "./src/components/CreateMappingQuerySetup.tsx",
95
+ "./src/components/DataSpaceArtifactInspector.tsx",
95
96
  "./src/components/EditExistingQuerySetup.tsx",
96
97
  "./src/components/LegendQueryAppInfo.tsx",
97
98
  "./src/components/LegendQueryFrameworkProvider.tsx",