@lionweb/class-core-test-language 0.8.0-beta.3 → 0.8.0-beta.5
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/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/test-helpers.d.ts +4 -0
- package/dist/test-helpers.d.ts.map +1 -1
- package/dist/test-helpers.js +4 -0
- package/dist/test-helpers.js.map +1 -1
- package/package.json +4 -4
- package/src/index.ts +1 -1
- package/src/test-helpers.ts +7 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export * from "./gen/TestLanguage.g.js";
|
|
2
|
-
export { attachedDataTypeTestConcept, attachedLinkTestConcept } from "./test-helpers.js";
|
|
2
|
+
export { attachedDataTypeTestConcept, attachedLinkTestConcept, integerRange } from "./test-helpers.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAiBA,cAAc,yBAAyB,CAAA;AACvC,OAAO,EAAE,2BAA2B,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAiBA,cAAc,yBAAyB,CAAA;AACvC,OAAO,EAAE,2BAA2B,EAAE,uBAAuB,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -15,5 +15,5 @@
|
|
|
15
15
|
// SPDX-FileCopyrightText: 2025 TRUMPF Laser SE and other contributors
|
|
16
16
|
// SPDX-License-Identifier: Apache-2.0
|
|
17
17
|
export * from "./gen/TestLanguage.g.js";
|
|
18
|
-
export { attachedDataTypeTestConcept, attachedLinkTestConcept } from "./test-helpers.js";
|
|
18
|
+
export { attachedDataTypeTestConcept, attachedLinkTestConcept, integerRange } from "./test-helpers.js";
|
|
19
19
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,wDAAwD;AACxD,EAAE;AACF,iEAAiE;AACjE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AACjC,EAAE;AACF,sEAAsE;AACtE,sCAAsC;AAEtC,cAAc,yBAAyB,CAAA;AACvC,OAAO,EAAE,2BAA2B,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,wDAAwD;AACxD,EAAE;AACF,iEAAiE;AACjE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AACjC,EAAE;AACF,sEAAsE;AACtE,sCAAsC;AAEtC,cAAc,yBAAyB,CAAA;AACvC,OAAO,EAAE,2BAA2B,EAAE,uBAAuB,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA"}
|
package/dist/test-helpers.d.ts
CHANGED
|
@@ -11,4 +11,8 @@ export declare const attachedDataTypeTestConcept: (id: LionWebId, receiveDelta?:
|
|
|
11
11
|
* — the latter has a unique ID.
|
|
12
12
|
*/
|
|
13
13
|
export declare const attachedLinkTestConcept: (id: LionWebId, receiveDelta?: DeltaReceiver) => LinkTestConcept;
|
|
14
|
+
/**
|
|
15
|
+
* @return an array of integers 0, ..., `n` - 1.
|
|
16
|
+
*/
|
|
17
|
+
export declare const integerRange: (n: number) => number[];
|
|
14
18
|
//# sourceMappingURL=test-helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-helpers.d.ts","sourceRoot":"","sources":["../src/test-helpers.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AACnD,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAiB,MAAM,yBAAyB,CAAA;AAK7F;;;GAGG;AACH,eAAO,MAAM,2BAA2B,GAAI,IAAI,SAAS,EAAE,eAAe,aAAa,wBAKtF,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,uBAAuB,GAAI,IAAI,SAAS,EAAE,eAAe,aAAa,oBAKlF,CAAA"}
|
|
1
|
+
{"version":3,"file":"test-helpers.d.ts","sourceRoot":"","sources":["../src/test-helpers.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AACnD,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAiB,MAAM,yBAAyB,CAAA;AAK7F;;;GAGG;AACH,eAAO,MAAM,2BAA2B,GAAI,IAAI,SAAS,EAAE,eAAe,aAAa,wBAKtF,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,uBAAuB,GAAI,IAAI,SAAS,EAAE,eAAe,aAAa,oBAKlF,CAAA;AAGD;;GAEG;AACH,eAAO,MAAM,YAAY,GAAI,GAAG,MAAM,KAAG,MAAM,EACvB,CAAA"}
|
package/dist/test-helpers.js
CHANGED
|
@@ -36,4 +36,8 @@ export const attachedLinkTestConcept = (id, receiveDelta) => {
|
|
|
36
36
|
partition.addLinks(linkTestConcept);
|
|
37
37
|
return linkTestConcept;
|
|
38
38
|
};
|
|
39
|
+
/**
|
|
40
|
+
* @return an array of integers 0, ..., `n` - 1.
|
|
41
|
+
*/
|
|
42
|
+
export const integerRange = (n) => [...Array(n).keys()];
|
|
39
43
|
//# sourceMappingURL=test-helpers.js.map
|
package/dist/test-helpers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-helpers.js","sourceRoot":"","sources":["../src/test-helpers.ts"],"names":[],"mappings":"AAAA,wDAAwD;AACxD,EAAE;AACF,iEAAiE;AACjE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AACjC,EAAE;AACF,sEAAsE;AACtE,sCAAsC;AAItC,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AAG7F,IAAI,cAAc,GAAG,CAAC,CAAA;AAEtB;;;GAGG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,EAAa,EAAE,YAA4B,EAAE,EAAE;IACvF,MAAM,SAAS,GAAG,aAAa,CAAC,MAAM,CAAC,aAAa,EAAE,cAAc,EAAE,EAAE,YAAY,CAAC,CAAA;IACrF,MAAM,mBAAmB,GAAG,mBAAmB,CAAC,MAAM,CAAC,EAAE,EAAE,YAAY,CAAC,CAAA;IACxE,SAAS,CAAC,IAAI,GAAG,mBAAmB,CAAA;IACpC,OAAO,mBAAmB,CAAA;AAC9B,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,EAAa,EAAE,YAA4B,EAAE,EAAE;IACnF,MAAM,SAAS,GAAG,aAAa,CAAC,MAAM,CAAC,aAAa,EAAE,cAAc,EAAE,EAAE,YAAY,CAAC,CAAA;IACrF,MAAM,eAAe,GAAG,eAAe,CAAC,MAAM,CAAC,EAAE,EAAE,YAAY,CAAC,CAAA;IAChE,SAAS,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAA;IACnC,O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AAE,CAChD,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lionweb/class-core-test-language",
|
|
3
|
-
"version": "0.8.0-beta.
|
|
3
|
+
"version": "0.8.0-beta.5",
|
|
4
4
|
"description": "Test language for the LionWeb class-core package",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"release": "npm publish"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@lionweb/class-core": "0.8.0-beta.
|
|
31
|
-
"@lionweb/core": "0.8.0-beta.
|
|
32
|
-
"@lionweb/json": "0.8.0-beta.
|
|
30
|
+
"@lionweb/class-core": "0.8.0-beta.5",
|
|
31
|
+
"@lionweb/core": "0.8.0-beta.5",
|
|
32
|
+
"@lionweb/json": "0.8.0-beta.5"
|
|
33
33
|
}
|
|
34
34
|
}
|
package/src/index.ts
CHANGED
|
@@ -16,5 +16,5 @@
|
|
|
16
16
|
// SPDX-License-Identifier: Apache-2.0
|
|
17
17
|
|
|
18
18
|
export * from "./gen/TestLanguage.g.js"
|
|
19
|
-
export { attachedDataTypeTestConcept, attachedLinkTestConcept } from "./test-helpers.js"
|
|
19
|
+
export { attachedDataTypeTestConcept, attachedLinkTestConcept, integerRange } from "./test-helpers.js"
|
|
20
20
|
|
package/src/test-helpers.ts
CHANGED
|
@@ -44,3 +44,10 @@ export const attachedLinkTestConcept = (id: LionWebId, receiveDelta?: DeltaRecei
|
|
|
44
44
|
return linkTestConcept
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* @return an array of integers 0, ..., `n` - 1.
|
|
50
|
+
*/
|
|
51
|
+
export const integerRange = (n: number): number[] =>
|
|
52
|
+
[...Array(n).keys()]
|
|
53
|
+
|