@finos/legend-graph 32.4.0 → 32.4.1
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/graph/metamodel/pure/packageableElements/store/relational/model/Join.d.ts +1 -1
- package/lib/graph/metamodel/pure/packageableElements/store/relational/model/Join.d.ts.map +1 -1
- package/lib/graph/metamodel/pure/packageableElements/store/relational/model/Join.js +1 -2
- package/lib/graph/metamodel/pure/packageableElements/store/relational/model/Join.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/lakehouse/entitlements/V1_CoreEntitlements.d.ts +5 -5
- package/lib/graph-manager/protocol/pure/v1/lakehouse/entitlements/V1_CoreEntitlements.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/lakehouse/entitlements/V1_CoreEntitlements.js +5 -5
- package/lib/graph-manager/protocol/pure/v1/lakehouse/entitlements/V1_CoreEntitlements.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/lakehouse/entitlements/V1_DataAccessRequest.d.ts +3 -0
- package/lib/graph-manager/protocol/pure/v1/lakehouse/entitlements/V1_DataAccessRequest.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/lakehouse/entitlements/V1_DataAccessRequest.js +3 -0
- package/lib/graph-manager/protocol/pure/v1/lakehouse/entitlements/V1_DataAccessRequest.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/lakehouse/entitlements/V1_Workflow.d.ts +27 -0
- package/lib/graph-manager/protocol/pure/v1/lakehouse/entitlements/V1_Workflow.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/lakehouse/entitlements/V1_Workflow.js +27 -0
- package/lib/graph-manager/protocol/pure/v1/lakehouse/entitlements/V1_Workflow.js.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/to/V1_ElementFourthPassBuilder.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/to/V1_ElementFourthPassBuilder.js +9 -3
- package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/to/V1_ElementFourthPassBuilder.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/to/V1_ElementSecondPassBuilder.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/to/V1_ElementSecondPassBuilder.js +2 -0
- package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/to/V1_ElementSecondPassBuilder.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/to/helpers/V1_DatabaseBuilderHelper.d.ts +2 -2
- package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/to/helpers/V1_DatabaseBuilderHelper.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/to/helpers/V1_DatabaseBuilderHelper.js +3 -4
- package/lib/graph-manager/protocol/pure/v1/transformation/pureGraph/to/helpers/V1_DatabaseBuilderHelper.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/lakehouse/V1_CoreEntitlementsSerializationHelper.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/lakehouse/V1_CoreEntitlementsSerializationHelper.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/lakehouse/V1_WorkflowSerializationHelper.d.ts +18 -0
- package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/lakehouse/V1_WorkflowSerializationHelper.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/lakehouse/V1_WorkflowSerializationHelper.js +29 -0
- package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/lakehouse/V1_WorkflowSerializationHelper.js.map +1 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +2 -0
- package/lib/index.js.map +1 -1
- package/lib/package.json +1 -1
- package/package.json +1 -1
- package/src/graph/metamodel/pure/packageableElements/store/relational/model/Join.ts +2 -3
- package/src/graph-manager/protocol/pure/v1/lakehouse/entitlements/V1_CoreEntitlements.ts +6 -6
- package/src/graph-manager/protocol/pure/v1/lakehouse/entitlements/V1_DataAccessRequest.ts +4 -0
- package/src/graph-manager/protocol/pure/v1/lakehouse/entitlements/V1_Workflow.ts +27 -0
- package/src/graph-manager/protocol/pure/v1/transformation/pureGraph/to/V1_ElementFourthPassBuilder.ts +11 -4
- package/src/graph-manager/protocol/pure/v1/transformation/pureGraph/to/V1_ElementSecondPassBuilder.ts +2 -0
- package/src/graph-manager/protocol/pure/v1/transformation/pureGraph/to/helpers/V1_DatabaseBuilderHelper.ts +9 -12
- package/src/graph-manager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/lakehouse/V1_CoreEntitlementsSerializationHelper.ts +0 -1
- package/src/graph-manager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/lakehouse/V1_WorkflowSerializationHelper.ts +33 -0
- package/src/index.ts +2 -0
- package/tsconfig.json +2 -0
|
@@ -42,7 +42,7 @@ import { Table } from '../../../../../../../../graph/metamodel/pure/packageableE
|
|
|
42
42
|
import { Column } from '../../../../../../../../graph/metamodel/pure/packageableElements/store/relational/model/Column.js';
|
|
43
43
|
import { View } from '../../../../../../../../graph/metamodel/pure/packageableElements/store/relational/model/View.js';
|
|
44
44
|
import {
|
|
45
|
-
Join,
|
|
45
|
+
type Join,
|
|
46
46
|
SELF_JOIN_TABLE_NAME,
|
|
47
47
|
SELF_JOIN_ALIAS_PREFIX,
|
|
48
48
|
} from '../../../../../../../../graph/metamodel/pure/packageableElements/store/relational/model/Join.js';
|
|
@@ -712,21 +712,19 @@ export const V1_buildDatabaseSchemaViewsSecondPass = (
|
|
|
712
712
|
|
|
713
713
|
export const V1_buildDatabaseJoin = (
|
|
714
714
|
srcJoin: V1_Join,
|
|
715
|
+
join: Join,
|
|
715
716
|
context: V1_GraphBuilderContext,
|
|
716
717
|
database: Database,
|
|
717
|
-
):
|
|
718
|
+
): void => {
|
|
718
719
|
assertNonEmptyString(srcJoin.name, `Join 'name' field is missing or empty`);
|
|
719
720
|
const tableAliasIndex = new Map<string, TableAlias>();
|
|
720
721
|
const selfJoinTargets: TableAliasColumn[] = [];
|
|
721
|
-
|
|
722
|
-
srcJoin.
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
selfJoinTargets,
|
|
728
|
-
buildGeneratedIndex(database),
|
|
729
|
-
),
|
|
722
|
+
join.operation = V1_buildRelationalOperationElement(
|
|
723
|
+
srcJoin.operation,
|
|
724
|
+
context,
|
|
725
|
+
tableAliasIndex,
|
|
726
|
+
selfJoinTargets,
|
|
727
|
+
buildGeneratedIndex(database),
|
|
730
728
|
);
|
|
731
729
|
const aliases = Array.from(tableAliasIndex.values());
|
|
732
730
|
assertTrue(aliases.length > 0, `Can't build join with no table`);
|
|
@@ -784,7 +782,6 @@ export const V1_buildDatabaseJoin = (
|
|
|
784
782
|
),
|
|
785
783
|
];
|
|
786
784
|
join.owner = database;
|
|
787
|
-
return join;
|
|
788
785
|
};
|
|
789
786
|
|
|
790
787
|
export const V1_buildDatabaseFilter = (
|
|
@@ -227,7 +227,6 @@ export const V1_deseralizeConsumerEntitlementResource = (
|
|
|
227
227
|
};
|
|
228
228
|
|
|
229
229
|
// -------------------------------------- Contract User Membership -------------------------------------
|
|
230
|
-
|
|
231
230
|
export const V1_contractUserMembershipModelSchema = createModelSchema(
|
|
232
231
|
V1_ContractUserMembership,
|
|
233
232
|
{
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026-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 { createModelSchema, list, primitive } from 'serializr';
|
|
18
|
+
import { V1_RawWorkflowTask } from '../../../../lakehouse/entitlements/V1_Workflow.js';
|
|
19
|
+
|
|
20
|
+
export const V1_workflowTaskModelSchema = createModelSchema(
|
|
21
|
+
V1_RawWorkflowTask,
|
|
22
|
+
{
|
|
23
|
+
completed: primitive(),
|
|
24
|
+
createdDate: primitive(),
|
|
25
|
+
parentTaskId: primitive(),
|
|
26
|
+
potentialAssignees: list(primitive()),
|
|
27
|
+
processInstanceId: primitive(),
|
|
28
|
+
reference: primitive(),
|
|
29
|
+
status: primitive(),
|
|
30
|
+
taskId: primitive(),
|
|
31
|
+
type: primitive(),
|
|
32
|
+
},
|
|
33
|
+
);
|
package/src/index.ts
CHANGED
|
@@ -296,6 +296,8 @@ export {
|
|
|
296
296
|
export { V1_PackageableConnection } from './graph-manager/protocol/pure/v1/model/packageableElements/connection/V1_PackageableConnection.js';
|
|
297
297
|
export * from './graph-manager/protocol/pure/v1/lakehouse/entitlements/V1_ConsumerEntitlements.js';
|
|
298
298
|
export * from './graph-manager/protocol/pure/v1/lakehouse/entitlements/V1_DataAccessRequest.js';
|
|
299
|
+
export * from './graph-manager/protocol/pure/v1/lakehouse/entitlements/V1_Workflow.js';
|
|
300
|
+
export * from './graph-manager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/lakehouse/V1_WorkflowSerializationHelper.js';
|
|
299
301
|
export {
|
|
300
302
|
V1_getEntitlementsEnvFromIngestEnv,
|
|
301
303
|
V1_isIngestEnvsCompatibleWithEntitlements,
|
package/tsconfig.json
CHANGED
|
@@ -521,6 +521,7 @@
|
|
|
521
521
|
"./src/graph-manager/protocol/pure/v1/lakehouse/entitlements/V1_EntitlementsDataProduct.ts",
|
|
522
522
|
"./src/graph-manager/protocol/pure/v1/lakehouse/entitlements/V1_EntitlementsEnv.ts",
|
|
523
523
|
"./src/graph-manager/protocol/pure/v1/lakehouse/entitlements/V1_EntitlementsTasks.ts",
|
|
524
|
+
"./src/graph-manager/protocol/pure/v1/lakehouse/entitlements/V1_Workflow.ts",
|
|
524
525
|
"./src/graph-manager/protocol/pure/v1/lakehouse/helpers/V1_ConsumerEntitlementsObserver.ts",
|
|
525
526
|
"./src/graph-manager/protocol/pure/v1/lakehouse/helpers/V1_ConsumerEntitlementsUtils.ts",
|
|
526
527
|
"./src/graph-manager/protocol/pure/v1/lakehouse/helpers/V1_CoreLakehouseHelper.ts",
|
|
@@ -915,6 +916,7 @@
|
|
|
915
916
|
"./src/graph-manager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/lakehouse/V1_EntitlementsDataProductSerializationHelper.ts",
|
|
916
917
|
"./src/graph-manager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/lakehouse/V1_EntitlementsTasksSerializationHelper.ts",
|
|
917
918
|
"./src/graph-manager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/lakehouse/V1_SubscriptionSerializationHelper.ts",
|
|
919
|
+
"./src/graph-manager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/lakehouse/V1_WorkflowSerializationHelper.ts",
|
|
918
920
|
"./src/graph-manager/protocol/pure/v1/V1_Core_SystemModels.json"
|
|
919
921
|
],
|
|
920
922
|
"include": [
|