@finos/legend-graph 10.1.0 → 10.1.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/graphManager/action/validation/DSLService_ValidationHelper.d.ts +3 -2
- package/lib/graphManager/action/validation/DSLService_ValidationHelper.d.ts.map +1 -1
- package/lib/graphManager/action/validation/DSLService_ValidationHelper.js +1 -1
- package/lib/graphManager/action/validation/DSLService_ValidationHelper.js.map +1 -1
- package/lib/package.json +1 -1
- package/package.json +1 -1
- package/src/graphManager/action/validation/DSLService_ValidationHelper.ts +4 -7
|
@@ -13,9 +13,10 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import type {
|
|
16
|
+
import type { Mapping } from '../../../models/metamodels/pure/packageableElements/mapping/Mapping.js';
|
|
17
|
+
import type { PureExecution } from '../../../models/metamodels/pure/packageableElements/service/ServiceExecution.js';
|
|
17
18
|
import { type ValidationIssue } from './ValidationHelper.js';
|
|
18
19
|
export declare const validate_ServicePattern: (pattern: string) => ValidationIssue | undefined;
|
|
19
20
|
export declare const validate_PureExecutionQuery: (metamodel: PureExecution) => ValidationIssue | undefined;
|
|
20
|
-
export declare const validate_PureExecutionMapping: (
|
|
21
|
+
export declare const validate_PureExecutionMapping: (mapping: Mapping) => ValidationIssue | undefined;
|
|
21
22
|
//# sourceMappingURL=DSLService_ValidationHelper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLService_ValidationHelper.d.ts","sourceRoot":"","sources":["../../../../src/graphManager/action/validation/DSLService_ValidationHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"DSLService_ValidationHelper.d.ts","sourceRoot":"","sources":["../../../../src/graphManager/action/validation/DSLService_ValidationHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wEAAwE,CAAC;AACtG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iFAAiF,CAAC;AAGrH,OAAO,EACL,KAAK,eAAe,EAErB,MAAM,uBAAuB,CAAC;AAE/B,eAAO,MAAM,uBAAuB,YACzB,MAAM,KACd,eAAe,GAAG,SASpB,CAAC;AAEF,eAAO,MAAM,2BAA2B,cAC3B,aAAa,KACvB,eAAe,GAAG,SAWpB,CAAC;AAEF,eAAO,MAAM,6BAA6B,YAC/B,OAAO,KACf,eAAe,GAAG,SAGN,CAAC"}
|
|
@@ -40,7 +40,7 @@ export const validate_PureExecutionQuery = (metamodel) => {
|
|
|
40
40
|
// }
|
|
41
41
|
return undefined;
|
|
42
42
|
};
|
|
43
|
-
export const validate_PureExecutionMapping = (
|
|
43
|
+
export const validate_PureExecutionMapping = (mapping) => isStubbed_PackageableElement(mapping)
|
|
44
44
|
? createValidationError(['Service execution mapping cannot be empty'])
|
|
45
45
|
: undefined;
|
|
46
46
|
//# sourceMappingURL=DSLService_ValidationHelper.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLService_ValidationHelper.js","sourceRoot":"","sources":["../../../../src/graphManager/action/validation/DSLService_ValidationHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"DSLService_ValidationHelper.js","sourceRoot":"","sources":["../../../../src/graphManager/action/validation/DSLService_ValidationHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAGtD,OAAO,EAAE,4BAA4B,EAAE,MAAM,yCAAyC,CAAC;AACvF,OAAO,EAAE,mBAAmB,EAAE,MAAM,mDAAmD,CAAC;AACxF,OAAO,EAEL,qBAAqB,GACtB,MAAM,uBAAuB,CAAC;AAE/B,MAAM,CAAC,MAAM,uBAAuB,GAAG,CACrC,OAAe,EACc,EAAE;IAC/B,MAAM,MAAM,GAAa,EAAE,CAAC;IAC5B,IAAI,CAAC,OAAO,EAAE;QACZ,cAAc,CAAC,MAAM,EAAE,2BAA2B,CAAC,CAAC;KACrD;SAAM,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE;QACnC,cAAc,CAAC,MAAM,EAAE,+BAA+B,CAAC,CAAC;KACzD;IACD,uCAAuC;IACvC,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,qBAAqB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AACnE,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG,CACzC,SAAwB,EACK,EAAE;IAC/B,IAAI,mBAAmB,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE;QACvC,OAAO,qBAAqB,CAAC;YAC3B,4CAA4C;SAC7C,CAAC,CAAC;KACJ;IACD,iHAAiH;IACjH,wCAAwC;IACxC,8EAA8E;IAC9E,IAAI;IACJ,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAC3C,OAAgB,EACa,EAAE,CAC/B,4BAA4B,CAAC,OAAO,CAAC;IACnC,CAAC,CAAC,qBAAqB,CAAC,CAAC,2CAA2C,CAAC,CAAC;IACtE,CAAC,CAAC,SAAS,CAAC"}
|
package/lib/package.json
CHANGED
package/package.json
CHANGED
|
@@ -15,11 +15,8 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import { addUniqueEntry } from '@finos/legend-shared';
|
|
18
|
-
import type {
|
|
19
|
-
|
|
20
|
-
PureExecution,
|
|
21
|
-
PureSingleExecution,
|
|
22
|
-
} from '../../../models/metamodels/pure/packageableElements/service/ServiceExecution.js';
|
|
18
|
+
import type { Mapping } from '../../../models/metamodels/pure/packageableElements/mapping/Mapping.js';
|
|
19
|
+
import type { PureExecution } from '../../../models/metamodels/pure/packageableElements/service/ServiceExecution.js';
|
|
23
20
|
import { isStubbed_PackageableElement } from '../creation/DomainModelCreatorHelper.js';
|
|
24
21
|
import { isStubbed_RawLambda } from '../creation/RawValueSpecificationCreatorHelper.js';
|
|
25
22
|
import {
|
|
@@ -56,8 +53,8 @@ export const validate_PureExecutionQuery = (
|
|
|
56
53
|
};
|
|
57
54
|
|
|
58
55
|
export const validate_PureExecutionMapping = (
|
|
59
|
-
|
|
56
|
+
mapping: Mapping,
|
|
60
57
|
): ValidationIssue | undefined =>
|
|
61
|
-
isStubbed_PackageableElement(
|
|
58
|
+
isStubbed_PackageableElement(mapping)
|
|
62
59
|
? createValidationError(['Service execution mapping cannot be empty'])
|
|
63
60
|
: undefined;
|