@finos/legend-graph 32.1.14 → 32.1.16

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 (32) hide show
  1. package/lib/graph/metamodel/pure/packageableElements/domain/PrimitiveType.d.ts +2 -0
  2. package/lib/graph/metamodel/pure/packageableElements/domain/PrimitiveType.d.ts.map +1 -1
  3. package/lib/graph/metamodel/pure/packageableElements/domain/PrimitiveType.js +32 -0
  4. package/lib/graph/metamodel/pure/packageableElements/domain/PrimitiveType.js.map +1 -1
  5. package/lib/graph-manager/AbstractPureGraphManager.d.ts +1 -0
  6. package/lib/graph-manager/AbstractPureGraphManager.d.ts.map +1 -1
  7. package/lib/graph-manager/AbstractPureGraphManager.js.map +1 -1
  8. package/lib/graph-manager/protocol/pure/v1/V1_PureGraphManager.d.ts +3 -0
  9. package/lib/graph-manager/protocol/pure/v1/V1_PureGraphManager.d.ts.map +1 -1
  10. package/lib/graph-manager/protocol/pure/v1/V1_PureGraphManager.js +37 -9
  11. package/lib/graph-manager/protocol/pure/v1/V1_PureGraphManager.js.map +1 -1
  12. package/lib/graph-manager/protocol/pure/v1/helpers/V1_DomainObserverHelper.d.ts +20 -0
  13. package/lib/graph-manager/protocol/pure/v1/helpers/V1_DomainObserverHelper.d.ts.map +1 -0
  14. package/lib/graph-manager/protocol/pure/v1/helpers/V1_DomainObserverHelper.js +41 -0
  15. package/lib/graph-manager/protocol/pure/v1/helpers/V1_DomainObserverHelper.js.map +1 -0
  16. package/lib/graph-manager/protocol/pure/v1/helpers/V1_ValueSpecificationObserver.d.ts +48 -0
  17. package/lib/graph-manager/protocol/pure/v1/helpers/V1_ValueSpecificationObserver.d.ts.map +1 -0
  18. package/lib/graph-manager/protocol/pure/v1/helpers/V1_ValueSpecificationObserver.js +244 -0
  19. package/lib/graph-manager/protocol/pure/v1/helpers/V1_ValueSpecificationObserver.js.map +1 -0
  20. package/lib/index.d.ts +10 -1
  21. package/lib/index.d.ts.map +1 -1
  22. package/lib/index.js +10 -1
  23. package/lib/index.js.map +1 -1
  24. package/lib/package.json +1 -1
  25. package/package.json +3 -3
  26. package/src/graph/metamodel/pure/packageableElements/domain/PrimitiveType.ts +35 -0
  27. package/src/graph-manager/AbstractPureGraphManager.ts +9 -0
  28. package/src/graph-manager/protocol/pure/v1/V1_PureGraphManager.ts +111 -28
  29. package/src/graph-manager/protocol/pure/v1/helpers/V1_DomainObserverHelper.ts +53 -0
  30. package/src/graph-manager/protocol/pure/v1/helpers/V1_ValueSpecificationObserver.ts +405 -0
  31. package/src/index.ts +13 -1
  32. package/tsconfig.json +2 -0
package/src/index.ts CHANGED
@@ -26,7 +26,10 @@ export { SectionIndex } from './graph/metamodel/pure/packageableElements/section
26
26
  export { Multiplicity } from './graph/metamodel/pure/packageableElements/domain/Multiplicity.js';
27
27
  export { Type } from './graph/metamodel/pure/packageableElements/domain/Type.js';
28
28
  export { DataType } from './graph/metamodel/pure/packageableElements/domain/DataType.js';
29
- export { PrimitiveType } from './graph/metamodel/pure/packageableElements/domain/PrimitiveType.js';
29
+ export {
30
+ PrimitiveType,
31
+ getPrimitiveTypeInstanceFromEnum,
32
+ } from './graph/metamodel/pure/packageableElements/domain/PrimitiveType.js';
30
33
  export {
31
34
  GenericTypeReference,
32
35
  GenericTypeExplicitReference,
@@ -137,11 +140,14 @@ export {
137
140
  RootGraphFetchTree,
138
141
  GraphFetchTreeInstanceValue,
139
142
  } from './graph/metamodel/pure/valueSpecification/GraphFetchTree.js';
143
+ export { default as V1_CORE_SYSTEM_MODELS } from './graph-manager/protocol/pure/v1/V1_Core_SystemModels.json' with { type: 'json' };
140
144
  export { V1_PureGraphManager } from './graph-manager/protocol/pure/v1/V1_PureGraphManager.js';
141
145
  export * from './graph-manager/protocol/pure/v1/engine/artifactGeneration/V1_DataSpaceArtifacts.js';
142
146
 
143
147
  // V1 protocols
144
148
  export { V1_Class } from './graph-manager/protocol/pure/v1/model/packageableElements/domain/V1_Class.js';
149
+ export { V1_Enumeration } from './graph-manager/protocol/pure/v1/model/packageableElements/domain/V1_Enumeration.js';
150
+ export { V1_EnumValue } from './graph-manager/protocol/pure/v1/model/packageableElements/domain/V1_EnumValue.js';
145
151
  export { V1_AppliedFunction } from './graph-manager/protocol/pure/v1/model/valueSpecification/application/V1_AppliedFunction.js';
146
152
  export { V1_AppliedProperty } from './graph-manager/protocol/pure/v1/model/valueSpecification/application/V1_AppliedProperty.js';
147
153
  export { V1_Collection } from './graph-manager/protocol/pure/v1/model/valueSpecification/raw/V1_Collection.js';
@@ -166,6 +172,8 @@ export {
166
172
  V1_buildEngineError,
167
173
  V1_buildFunctionInfoAnalysis,
168
174
  } from './graph-manager/protocol/pure/v1/engine/V1_EngineHelper.js';
175
+ export * from './graph-manager/protocol/pure/v1/helpers/V1_ValueSpecificationObserver.js';
176
+ export * from './graph-manager/protocol/pure/v1/helpers/V1_DomainObserverHelper.js';
169
177
  export {
170
178
  V1_getFunctionNameWithoutSignature,
171
179
  V1_getGenericTypeFullPath,
@@ -183,12 +191,15 @@ export * from './graph-manager/protocol/pure/v1/engine/execution/V1_ExecutionRes
183
191
  export { V1_LambdaTdsToRelationInput } from './graph-manager/protocol/pure/v1/engine/pureProtocol/V1_LambdaTdsToRelationInput.js';
184
192
  export { V1_CString } from './graph-manager/protocol/pure/v1/model/valueSpecification/raw/V1_CString.js';
185
193
  export { V1_CBoolean } from './graph-manager/protocol/pure/v1/model/valueSpecification/raw/V1_CBoolean.js';
194
+ export { V1_CByteArray } from './graph-manager/protocol/pure/v1/model/valueSpecification/raw/V1_CByteArray.js';
186
195
  export { V1_CDecimal } from './graph-manager/protocol/pure/v1/model/valueSpecification/raw/V1_CDecimal.js';
187
196
  export { V1_CInteger } from './graph-manager/protocol/pure/v1/model/valueSpecification/raw/V1_CInteger.js';
188
197
  export { V1_CFloat } from './graph-manager/protocol/pure/v1/model/valueSpecification/raw/V1_CFloat.js';
198
+ export { V1_CDate } from './graph-manager/protocol/pure/v1/model/valueSpecification/raw/V1_CDate.js';
189
199
  export { V1_CStrictDate } from './graph-manager/protocol/pure/v1/model/valueSpecification/raw/V1_CStrictDate.js';
190
200
  export { V1_CDateTime } from './graph-manager/protocol/pure/v1/model/valueSpecification/raw/V1_CDateTime.js';
191
201
  export { V1_CStrictTime } from './graph-manager/protocol/pure/v1/model/valueSpecification/raw/V1_CStrictTime.js';
202
+ export { V1_CLatestDate } from './graph-manager/protocol/pure/v1/model/valueSpecification/raw/V1_CLatestDate.js';
192
203
  export { V1_ClassInstance } from './graph-manager/protocol/pure/v1/model/valueSpecification/raw/V1_ClassInstance.js';
193
204
  export { V1_PackageableElementPtr } from './graph-manager/protocol/pure/v1/model/valueSpecification/raw/V1_PackageableElementPtr.js';
194
205
  export { V1_ColSpec } from './graph-manager/protocol/pure/v1/model/valueSpecification/raw/classInstance/relation/V1_ColSpec.js';
@@ -215,6 +226,7 @@ export {
215
226
  V1_RelationTypeColumn,
216
227
  } from './graph-manager/protocol/pure/v1/model/packageableElements/type/V1_RelationType.js';
217
228
  export { V1_GenericType } from './graph-manager/protocol/pure/v1/model/packageableElements/type/V1_GenericType.js';
229
+ export { type V1_Type } from './graph-manager/protocol/pure/v1/model/packageableElements/type/V1_Type.js';
218
230
  export { V1_PackageableType } from './graph-manager/protocol/pure/v1/model/packageableElements/type/V1_PackageableType.js';
219
231
 
220
232
  export { V1_Database } from './graph-manager/protocol/pure/v1/model/packageableElements/store/relational/model/V1_Database.js';
package/tsconfig.json CHANGED
@@ -487,6 +487,8 @@
487
487
  "./src/graph-manager/protocol/pure/v1/engine/test/V1_RunTestsInput.ts",
488
488
  "./src/graph-manager/protocol/pure/v1/engine/test/V1_RunTestsResult.ts",
489
489
  "./src/graph-manager/protocol/pure/v1/helpers/V1_DomainHelper.ts",
490
+ "./src/graph-manager/protocol/pure/v1/helpers/V1_DomainObserverHelper.ts",
491
+ "./src/graph-manager/protocol/pure/v1/helpers/V1_ValueSpecificationObserver.ts",
490
492
  "./src/graph-manager/protocol/pure/v1/model/V1_Protocol.ts",
491
493
  "./src/graph-manager/protocol/pure/v1/model/V1_SourceInformation.ts",
492
494
  "./src/graph-manager/protocol/pure/v1/model/context/V1_PureModelContext.ts",