@lionweb/delta-protocol-test-cli 0.7.0-beta.11 → 0.7.0-beta.13
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/cli-client.js +1 -1
- package/dist/cli-client.js.map +1 -1
- package/dist/cli-repository.js +1 -1
- package/dist/cli-repository.js.map +1 -1
- package/dist/gen/Shapes.g.d.ts +23 -23
- package/dist/gen/Shapes.g.d.ts.map +1 -1
- package/dist/gen/Shapes.g.js +53 -53
- package/dist/gen/Shapes.g.js.map +1 -1
- package/dist/gen/TestLanguage.g.d.ts +7 -7
- package/dist/gen/TestLanguage.g.d.ts.map +1 -1
- package/dist/gen/TestLanguage.g.js +14 -14
- package/dist/gen/TestLanguage.g.js.map +1 -1
- package/dist/tasks.js +3 -3
- package/dist/tasks.js.map +1 -1
- package/package.json +7 -7
- package/src/cli-client.ts +1 -1
- package/src/cli-repository.ts +1 -1
- package/src/gen/Shapes.g.ts +54 -54
- package/src/gen/TestLanguage.g.ts +15 -15
- package/src/tasks.ts +3 -3
package/src/gen/Shapes.g.ts
CHANGED
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
|
|
49
49
|
import {
|
|
50
50
|
ContainmentValueManager,
|
|
51
|
-
|
|
51
|
+
DeltaReceiver,
|
|
52
52
|
ILanguageBase,
|
|
53
53
|
INamed,
|
|
54
54
|
INodeBase,
|
|
@@ -386,19 +386,19 @@ export class ShapesBase implements ILanguageBase {
|
|
|
386
386
|
this._wiredUp = true;
|
|
387
387
|
}
|
|
388
388
|
|
|
389
|
-
factory(
|
|
389
|
+
factory(receiveDelta?: DeltaReceiver): NodeBaseFactory {
|
|
390
390
|
return (classifier: Classifier, id: LionWebId) => {
|
|
391
391
|
switch (classifier.key) {
|
|
392
|
-
case this._Circle.key: return Circle.create(id,
|
|
393
|
-
case this._Coord.key: return Coord.create(id,
|
|
394
|
-
case this._Geometry.key: return Geometry.create(id,
|
|
395
|
-
case this._Line.key: return Line.create(id,
|
|
396
|
-
case this._OffsetDuplicate.key: return OffsetDuplicate.create(id,
|
|
397
|
-
case this._CompositeShape.key: return CompositeShape.create(id,
|
|
398
|
-
case this._ReferenceGeometry.key: return ReferenceGeometry.create(id,
|
|
399
|
-
case this._Documentation.key: return Documentation.create(id,
|
|
400
|
-
case this._BillOfMaterials.key: return BillOfMaterials.create(id,
|
|
401
|
-
case this._MaterialGroup.key: return MaterialGroup.create(id,
|
|
392
|
+
case this._Circle.key: return Circle.create(id, receiveDelta);
|
|
393
|
+
case this._Coord.key: return Coord.create(id, receiveDelta);
|
|
394
|
+
case this._Geometry.key: return Geometry.create(id, receiveDelta);
|
|
395
|
+
case this._Line.key: return Line.create(id, receiveDelta);
|
|
396
|
+
case this._OffsetDuplicate.key: return OffsetDuplicate.create(id, receiveDelta);
|
|
397
|
+
case this._CompositeShape.key: return CompositeShape.create(id, receiveDelta);
|
|
398
|
+
case this._ReferenceGeometry.key: return ReferenceGeometry.create(id, receiveDelta);
|
|
399
|
+
case this._Documentation.key: return Documentation.create(id, receiveDelta);
|
|
400
|
+
case this._BillOfMaterials.key: return BillOfMaterials.create(id, receiveDelta);
|
|
401
|
+
case this._MaterialGroup.key: return MaterialGroup.create(id, receiveDelta);
|
|
402
402
|
default: {
|
|
403
403
|
const {language} = classifier;
|
|
404
404
|
throw new Error(`can't instantiate ${classifier.name} (key=${classifier.key}): classifier is not known in language ${language.name} (key=${language.key}, version=${language.version})`);
|
|
@@ -469,8 +469,8 @@ export abstract class Shape extends NodeBase implements INamed, IShape {
|
|
|
469
469
|
this._fixpoints.replaceAtIndex(movedChild, newIndex);
|
|
470
470
|
}
|
|
471
471
|
|
|
472
|
-
protected constructor(classifier: Classifier, id: LionWebId,
|
|
473
|
-
super(classifier, id,
|
|
472
|
+
protected constructor(classifier: Classifier, id: LionWebId, receiveDelta?: DeltaReceiver, parentInfo?: Parentage) {
|
|
473
|
+
super(classifier, id, receiveDelta, parentInfo);
|
|
474
474
|
this._shapeDocs = new OptionalSingleContainmentValueManager<Documentation>(ShapesBase.INSTANCE.Shape_shapeDocs, this);
|
|
475
475
|
this._name = new RequiredPropertyValueManager<string>(LionCore_builtinsBase.INSTANCE.INamed_name, this);
|
|
476
476
|
this._uuid = new RequiredPropertyValueManager<string>(ShapesBase.INSTANCE.IShape_uuid, this);
|
|
@@ -495,8 +495,8 @@ export abstract class Shape extends NodeBase implements INamed, IShape {
|
|
|
495
495
|
}
|
|
496
496
|
|
|
497
497
|
export class Circle extends Shape {
|
|
498
|
-
static create(id: LionWebId,
|
|
499
|
-
return new Circle(ShapesBase.INSTANCE.Circle, id,
|
|
498
|
+
static create(id: LionWebId, receiveDelta?: DeltaReceiver, parentInfo?: Parentage): Circle {
|
|
499
|
+
return new Circle(ShapesBase.INSTANCE.Circle, id, receiveDelta, parentInfo);
|
|
500
500
|
}
|
|
501
501
|
|
|
502
502
|
private readonly _r: RequiredPropertyValueManager<number>;
|
|
@@ -518,8 +518,8 @@ export class Circle extends Shape {
|
|
|
518
518
|
this._center.replaceWith(newValue);
|
|
519
519
|
}
|
|
520
520
|
|
|
521
|
-
public constructor(classifier: Classifier, id: LionWebId,
|
|
522
|
-
super(classifier, id,
|
|
521
|
+
public constructor(classifier: Classifier, id: LionWebId, receiveDelta?: DeltaReceiver, parentInfo?: Parentage) {
|
|
522
|
+
super(classifier, id, receiveDelta, parentInfo);
|
|
523
523
|
this._r = new RequiredPropertyValueManager<number>(ShapesBase.INSTANCE.Circle_r, this);
|
|
524
524
|
this._center = new RequiredSingleContainmentValueManager<Coord>(ShapesBase.INSTANCE.Circle_center, this);
|
|
525
525
|
}
|
|
@@ -540,8 +540,8 @@ export class Circle extends Shape {
|
|
|
540
540
|
}
|
|
541
541
|
|
|
542
542
|
export class Coord extends NodeBase {
|
|
543
|
-
static create(id: LionWebId,
|
|
544
|
-
return new Coord(ShapesBase.INSTANCE.Coord, id,
|
|
543
|
+
static create(id: LionWebId, receiveDelta?: DeltaReceiver, parentInfo?: Parentage): Coord {
|
|
544
|
+
return new Coord(ShapesBase.INSTANCE.Coord, id, receiveDelta, parentInfo);
|
|
545
545
|
}
|
|
546
546
|
|
|
547
547
|
private readonly _x: RequiredPropertyValueManager<number>;
|
|
@@ -568,8 +568,8 @@ export class Coord extends NodeBase {
|
|
|
568
568
|
this._z.set(newValue);
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
-
public constructor(classifier: Classifier, id: LionWebId,
|
|
572
|
-
super(classifier, id,
|
|
571
|
+
public constructor(classifier: Classifier, id: LionWebId, receiveDelta?: DeltaReceiver, parentInfo?: Parentage) {
|
|
572
|
+
super(classifier, id, receiveDelta, parentInfo);
|
|
573
573
|
this._x = new RequiredPropertyValueManager<number>(ShapesBase.INSTANCE.Coord_x, this);
|
|
574
574
|
this._y = new RequiredPropertyValueManager<number>(ShapesBase.INSTANCE.Coord_y, this);
|
|
575
575
|
this._z = new RequiredPropertyValueManager<number>(ShapesBase.INSTANCE.Coord_z, this);
|
|
@@ -586,8 +586,8 @@ export class Coord extends NodeBase {
|
|
|
586
586
|
}
|
|
587
587
|
|
|
588
588
|
export class Geometry extends NodeBase {
|
|
589
|
-
static create(id: LionWebId,
|
|
590
|
-
return new Geometry(ShapesBase.INSTANCE.Geometry, id,
|
|
589
|
+
static create(id: LionWebId, receiveDelta?: DeltaReceiver, parentInfo?: Parentage): Geometry {
|
|
590
|
+
return new Geometry(ShapesBase.INSTANCE.Geometry, id, receiveDelta, parentInfo);
|
|
591
591
|
}
|
|
592
592
|
|
|
593
593
|
private readonly _shapes: OptionalMultiContainmentValueManager<IShape>;
|
|
@@ -621,8 +621,8 @@ export class Geometry extends NodeBase {
|
|
|
621
621
|
this._documentation.replaceWith(newValue);
|
|
622
622
|
}
|
|
623
623
|
|
|
624
|
-
public constructor(classifier: Classifier, id: LionWebId,
|
|
625
|
-
super(classifier, id,
|
|
624
|
+
public constructor(classifier: Classifier, id: LionWebId, receiveDelta?: DeltaReceiver, parentInfo?: Parentage) {
|
|
625
|
+
super(classifier, id, receiveDelta, parentInfo);
|
|
626
626
|
this._shapes = new OptionalMultiContainmentValueManager<IShape>(ShapesBase.INSTANCE.Geometry_shapes, this);
|
|
627
627
|
this._documentation = new OptionalSingleContainmentValueManager<Documentation>(ShapesBase.INSTANCE.Geometry_documentation, this);
|
|
628
628
|
}
|
|
@@ -642,8 +642,8 @@ export interface IShape extends INodeBase {
|
|
|
642
642
|
}
|
|
643
643
|
|
|
644
644
|
export class Line extends Shape implements INamed {
|
|
645
|
-
static create(id: LionWebId,
|
|
646
|
-
return new Line(ShapesBase.INSTANCE.Line, id,
|
|
645
|
+
static create(id: LionWebId, receiveDelta?: DeltaReceiver, parentInfo?: Parentage): Line {
|
|
646
|
+
return new Line(ShapesBase.INSTANCE.Line, id, receiveDelta, parentInfo);
|
|
647
647
|
}
|
|
648
648
|
|
|
649
649
|
private readonly _start: RequiredSingleContainmentValueManager<Coord>;
|
|
@@ -668,8 +668,8 @@ export class Line extends Shape implements INamed {
|
|
|
668
668
|
this._end.replaceWith(newValue);
|
|
669
669
|
}
|
|
670
670
|
|
|
671
|
-
public constructor(classifier: Classifier, id: LionWebId,
|
|
672
|
-
super(classifier, id,
|
|
671
|
+
public constructor(classifier: Classifier, id: LionWebId, receiveDelta?: DeltaReceiver, parentInfo?: Parentage) {
|
|
672
|
+
super(classifier, id, receiveDelta, parentInfo);
|
|
673
673
|
this._start = new RequiredSingleContainmentValueManager<Coord>(ShapesBase.INSTANCE.Line_start, this);
|
|
674
674
|
this._end = new RequiredSingleContainmentValueManager<Coord>(ShapesBase.INSTANCE.Line_end, this);
|
|
675
675
|
}
|
|
@@ -684,8 +684,8 @@ export class Line extends Shape implements INamed {
|
|
|
684
684
|
}
|
|
685
685
|
|
|
686
686
|
export class OffsetDuplicate extends Shape {
|
|
687
|
-
static create(id: LionWebId,
|
|
688
|
-
return new OffsetDuplicate(ShapesBase.INSTANCE.OffsetDuplicate, id,
|
|
687
|
+
static create(id: LionWebId, receiveDelta?: DeltaReceiver, parentInfo?: Parentage): OffsetDuplicate {
|
|
688
|
+
return new OffsetDuplicate(ShapesBase.INSTANCE.OffsetDuplicate, id, receiveDelta, parentInfo);
|
|
689
689
|
}
|
|
690
690
|
|
|
691
691
|
private readonly _offset: RequiredSingleContainmentValueManager<Coord>;
|
|
@@ -737,8 +737,8 @@ export class OffsetDuplicate extends Shape {
|
|
|
737
737
|
this._secretDocs.replaceWith(newValue);
|
|
738
738
|
}
|
|
739
739
|
|
|
740
|
-
public constructor(classifier: Classifier, id: LionWebId,
|
|
741
|
-
super(classifier, id,
|
|
740
|
+
public constructor(classifier: Classifier, id: LionWebId, receiveDelta?: DeltaReceiver, parentInfo?: Parentage) {
|
|
741
|
+
super(classifier, id, receiveDelta, parentInfo);
|
|
742
742
|
this._offset = new RequiredSingleContainmentValueManager<Coord>(ShapesBase.INSTANCE.OffsetDuplicate_offset, this);
|
|
743
743
|
this._source = new RequiredSingleReferenceValueManager<Shape>(ShapesBase.INSTANCE.OffsetDuplicate_source, this);
|
|
744
744
|
this._altSource = new OptionalSingleReferenceValueManager<Shape>(ShapesBase.INSTANCE.OffsetDuplicate_altSource, this);
|
|
@@ -765,8 +765,8 @@ export class OffsetDuplicate extends Shape {
|
|
|
765
765
|
}
|
|
766
766
|
|
|
767
767
|
export class CompositeShape extends Shape {
|
|
768
|
-
static create(id: LionWebId,
|
|
769
|
-
return new CompositeShape(ShapesBase.INSTANCE.CompositeShape, id,
|
|
768
|
+
static create(id: LionWebId, receiveDelta?: DeltaReceiver, parentInfo?: Parentage): CompositeShape {
|
|
769
|
+
return new CompositeShape(ShapesBase.INSTANCE.CompositeShape, id, receiveDelta, parentInfo);
|
|
770
770
|
}
|
|
771
771
|
|
|
772
772
|
private readonly _parts: RequiredMultiContainmentValueManager<IShape>;
|
|
@@ -820,8 +820,8 @@ export class CompositeShape extends Shape {
|
|
|
820
820
|
this._evilPart.replaceWith(newValue);
|
|
821
821
|
}
|
|
822
822
|
|
|
823
|
-
public constructor(classifier: Classifier, id: LionWebId,
|
|
824
|
-
super(classifier, id,
|
|
823
|
+
public constructor(classifier: Classifier, id: LionWebId, receiveDelta?: DeltaReceiver, parentInfo?: Parentage) {
|
|
824
|
+
super(classifier, id, receiveDelta, parentInfo);
|
|
825
825
|
this._parts = new RequiredMultiContainmentValueManager<IShape>(ShapesBase.INSTANCE.CompositeShape_parts, this);
|
|
826
826
|
this._disabledParts = new RequiredMultiContainmentValueManager<IShape>(ShapesBase.INSTANCE.CompositeShape_disabledParts, this);
|
|
827
827
|
this._evilPart = new RequiredSingleContainmentValueManager<IShape>(ShapesBase.INSTANCE.CompositeShape_evilPart, this);
|
|
@@ -838,8 +838,8 @@ export class CompositeShape extends Shape {
|
|
|
838
838
|
}
|
|
839
839
|
|
|
840
840
|
export class ReferenceGeometry extends NodeBase {
|
|
841
|
-
static create(id: LionWebId,
|
|
842
|
-
return new ReferenceGeometry(ShapesBase.INSTANCE.ReferenceGeometry, id,
|
|
841
|
+
static create(id: LionWebId, receiveDelta?: DeltaReceiver, parentInfo?: Parentage): ReferenceGeometry {
|
|
842
|
+
return new ReferenceGeometry(ShapesBase.INSTANCE.ReferenceGeometry, id, receiveDelta, parentInfo);
|
|
843
843
|
}
|
|
844
844
|
|
|
845
845
|
private readonly _shapes: OptionalMultiReferenceValueManager<IShape>;
|
|
@@ -859,8 +859,8 @@ export class ReferenceGeometry extends NodeBase {
|
|
|
859
859
|
this._shapes.move(oldIndex, newIndex);
|
|
860
860
|
}
|
|
861
861
|
|
|
862
|
-
public constructor(classifier: Classifier, id: LionWebId,
|
|
863
|
-
super(classifier, id,
|
|
862
|
+
public constructor(classifier: Classifier, id: LionWebId, receiveDelta?: DeltaReceiver, parentInfo?: Parentage) {
|
|
863
|
+
super(classifier, id, receiveDelta, parentInfo);
|
|
864
864
|
this._shapes = new OptionalMultiReferenceValueManager<IShape>(ShapesBase.INSTANCE.ReferenceGeometry_shapes, this);
|
|
865
865
|
}
|
|
866
866
|
|
|
@@ -873,8 +873,8 @@ export class ReferenceGeometry extends NodeBase {
|
|
|
873
873
|
}
|
|
874
874
|
|
|
875
875
|
export class Documentation extends NodeBase {
|
|
876
|
-
static create(id: LionWebId,
|
|
877
|
-
return new Documentation(ShapesBase.INSTANCE.Documentation, id,
|
|
876
|
+
static create(id: LionWebId, receiveDelta?: DeltaReceiver, parentInfo?: Parentage): Documentation {
|
|
877
|
+
return new Documentation(ShapesBase.INSTANCE.Documentation, id, receiveDelta, parentInfo);
|
|
878
878
|
}
|
|
879
879
|
|
|
880
880
|
private readonly _text: OptionalPropertyValueManager<string>;
|
|
@@ -893,8 +893,8 @@ export class Documentation extends NodeBase {
|
|
|
893
893
|
this._technical.set(newValue);
|
|
894
894
|
}
|
|
895
895
|
|
|
896
|
-
public constructor(classifier: Classifier, id: LionWebId,
|
|
897
|
-
super(classifier, id,
|
|
896
|
+
public constructor(classifier: Classifier, id: LionWebId, receiveDelta?: DeltaReceiver, parentInfo?: Parentage) {
|
|
897
|
+
super(classifier, id, receiveDelta, parentInfo);
|
|
898
898
|
this._text = new OptionalPropertyValueManager<string>(ShapesBase.INSTANCE.Documentation_text, this);
|
|
899
899
|
this._technical = new OptionalPropertyValueManager<boolean>(ShapesBase.INSTANCE.Documentation_technical, this);
|
|
900
900
|
}
|
|
@@ -909,8 +909,8 @@ export class Documentation extends NodeBase {
|
|
|
909
909
|
}
|
|
910
910
|
|
|
911
911
|
export class BillOfMaterials extends NodeBase {
|
|
912
|
-
static create(id: LionWebId,
|
|
913
|
-
return new BillOfMaterials(ShapesBase.INSTANCE.BillOfMaterials, id,
|
|
912
|
+
static create(id: LionWebId, receiveDelta?: DeltaReceiver, parentInfo?: Parentage): BillOfMaterials {
|
|
913
|
+
return new BillOfMaterials(ShapesBase.INSTANCE.BillOfMaterials, id, receiveDelta, parentInfo);
|
|
914
914
|
}
|
|
915
915
|
|
|
916
916
|
private readonly _materials: OptionalMultiReferenceValueManager<IShape>;
|
|
@@ -981,8 +981,8 @@ export class BillOfMaterials extends NodeBase {
|
|
|
981
981
|
this._defaultGroup.replaceWith(newValue);
|
|
982
982
|
}
|
|
983
983
|
|
|
984
|
-
public constructor(classifier: Classifier, id: LionWebId,
|
|
985
|
-
super(classifier, id,
|
|
984
|
+
public constructor(classifier: Classifier, id: LionWebId, receiveDelta?: DeltaReceiver, parentInfo?: Parentage) {
|
|
985
|
+
super(classifier, id, receiveDelta, parentInfo);
|
|
986
986
|
this._materials = new OptionalMultiReferenceValueManager<IShape>(ShapesBase.INSTANCE.BillOfMaterials_materials, this);
|
|
987
987
|
this._groups = new OptionalMultiContainmentValueManager<MaterialGroup>(ShapesBase.INSTANCE.BillOfMaterials_groups, this);
|
|
988
988
|
this._altGroups = new OptionalMultiContainmentValueManager<MaterialGroup>(ShapesBase.INSTANCE.BillOfMaterials_altGroups, this);
|
|
@@ -1007,8 +1007,8 @@ export class BillOfMaterials extends NodeBase {
|
|
|
1007
1007
|
}
|
|
1008
1008
|
|
|
1009
1009
|
export class MaterialGroup extends NodeBase {
|
|
1010
|
-
static create(id: LionWebId,
|
|
1011
|
-
return new MaterialGroup(ShapesBase.INSTANCE.MaterialGroup, id,
|
|
1010
|
+
static create(id: LionWebId, receiveDelta?: DeltaReceiver, parentInfo?: Parentage): MaterialGroup {
|
|
1011
|
+
return new MaterialGroup(ShapesBase.INSTANCE.MaterialGroup, id, receiveDelta, parentInfo);
|
|
1012
1012
|
}
|
|
1013
1013
|
|
|
1014
1014
|
private readonly _matterState: OptionalPropertyValueManager<MatterState>;
|
|
@@ -1047,8 +1047,8 @@ export class MaterialGroup extends NodeBase {
|
|
|
1047
1047
|
this._defaultShape.replaceWith(newValue);
|
|
1048
1048
|
}
|
|
1049
1049
|
|
|
1050
|
-
public constructor(classifier: Classifier, id: LionWebId,
|
|
1051
|
-
super(classifier, id,
|
|
1050
|
+
public constructor(classifier: Classifier, id: LionWebId, receiveDelta?: DeltaReceiver, parentInfo?: Parentage) {
|
|
1051
|
+
super(classifier, id, receiveDelta, parentInfo);
|
|
1052
1052
|
this._matterState = new OptionalPropertyValueManager<MatterState>(ShapesBase.INSTANCE.MaterialGroup_matterState, this);
|
|
1053
1053
|
this._materials = new RequiredMultiReferenceValueManager<IShape>(ShapesBase.INSTANCE.MaterialGroup_materials, this);
|
|
1054
1054
|
this._defaultShape = new OptionalSingleContainmentValueManager<IShape>(ShapesBase.INSTANCE.MaterialGroup_defaultShape, this);
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
|
|
47
47
|
import {
|
|
48
48
|
ContainmentValueManager,
|
|
49
|
-
|
|
49
|
+
DeltaReceiver,
|
|
50
50
|
ILanguageBase,
|
|
51
51
|
INamed,
|
|
52
52
|
INodeBase,
|
|
@@ -247,12 +247,12 @@ export class TestLanguageBase implements ILanguageBase {
|
|
|
247
247
|
this._wiredUp = true;
|
|
248
248
|
}
|
|
249
249
|
|
|
250
|
-
factory(
|
|
250
|
+
factory(receiveDelta?: DeltaReceiver): NodeBaseFactory {
|
|
251
251
|
return (classifier: Classifier, id: LionWebId) => {
|
|
252
252
|
switch (classifier.key) {
|
|
253
|
-
case this._DataTypeTestConcept.key: return DataTypeTestConcept.create(id,
|
|
254
|
-
case this._LinkTestConcept.key: return LinkTestConcept.create(id,
|
|
255
|
-
case this._TestAnnotation.key: return TestAnnotation.create(id,
|
|
253
|
+
case this._DataTypeTestConcept.key: return DataTypeTestConcept.create(id, receiveDelta);
|
|
254
|
+
case this._LinkTestConcept.key: return LinkTestConcept.create(id, receiveDelta);
|
|
255
|
+
case this._TestAnnotation.key: return TestAnnotation.create(id, receiveDelta);
|
|
256
256
|
default: {
|
|
257
257
|
const {language} = classifier;
|
|
258
258
|
throw new Error(`can't instantiate ${classifier.name} (key=${classifier.key}): classifier is not known in language ${language.name} (key=${language.key}, version=${language.version})`);
|
|
@@ -290,8 +290,8 @@ export enum SecondTestEnumeration {
|
|
|
290
290
|
}
|
|
291
291
|
|
|
292
292
|
export class DataTypeTestConcept extends NodeBase {
|
|
293
|
-
static create(id: LionWebId,
|
|
294
|
-
return new DataTypeTestConcept(TestLanguageBase.INSTANCE.DataTypeTestConcept, id,
|
|
293
|
+
static create(id: LionWebId, receiveDelta?: DeltaReceiver, parentInfo?: Parentage): DataTypeTestConcept {
|
|
294
|
+
return new DataTypeTestConcept(TestLanguageBase.INSTANCE.DataTypeTestConcept, id, receiveDelta, parentInfo);
|
|
295
295
|
}
|
|
296
296
|
|
|
297
297
|
private readonly _booleanValue_1: RequiredPropertyValueManager<boolean>;
|
|
@@ -358,8 +358,8 @@ export class DataTypeTestConcept extends NodeBase {
|
|
|
358
358
|
this._enumValue_0_1.set(newValue);
|
|
359
359
|
}
|
|
360
360
|
|
|
361
|
-
public constructor(classifier: Classifier, id: LionWebId,
|
|
362
|
-
super(classifier, id,
|
|
361
|
+
public constructor(classifier: Classifier, id: LionWebId, receiveDelta?: DeltaReceiver, parentInfo?: Parentage) {
|
|
362
|
+
super(classifier, id, receiveDelta, parentInfo);
|
|
363
363
|
this._booleanValue_1 = new RequiredPropertyValueManager<boolean>(TestLanguageBase.INSTANCE.DataTypeTestConcept_booleanValue_1, this);
|
|
364
364
|
this._integerValue_1 = new RequiredPropertyValueManager<number>(TestLanguageBase.INSTANCE.DataTypeTestConcept_integerValue_1, this);
|
|
365
365
|
this._stringValue_1 = new RequiredPropertyValueManager<string>(TestLanguageBase.INSTANCE.DataTypeTestConcept_stringValue_1, this);
|
|
@@ -386,8 +386,8 @@ export class DataTypeTestConcept extends NodeBase {
|
|
|
386
386
|
}
|
|
387
387
|
|
|
388
388
|
export class LinkTestConcept extends NodeBase implements INamed {
|
|
389
|
-
static create(id: LionWebId,
|
|
390
|
-
return new LinkTestConcept(TestLanguageBase.INSTANCE.LinkTestConcept, id,
|
|
389
|
+
static create(id: LionWebId, receiveDelta?: DeltaReceiver, parentInfo?: Parentage): LinkTestConcept {
|
|
390
|
+
return new LinkTestConcept(TestLanguageBase.INSTANCE.LinkTestConcept, id, receiveDelta, parentInfo);
|
|
391
391
|
}
|
|
392
392
|
|
|
393
393
|
private readonly _containment_0_1: OptionalSingleContainmentValueManager<LinkTestConcept>;
|
|
@@ -510,8 +510,8 @@ export class LinkTestConcept extends NodeBase implements INamed {
|
|
|
510
510
|
this._name.set(newValue);
|
|
511
511
|
}
|
|
512
512
|
|
|
513
|
-
public constructor(classifier: Classifier, id: LionWebId,
|
|
514
|
-
super(classifier, id,
|
|
513
|
+
public constructor(classifier: Classifier, id: LionWebId, receiveDelta?: DeltaReceiver, parentInfo?: Parentage) {
|
|
514
|
+
super(classifier, id, receiveDelta, parentInfo);
|
|
515
515
|
this._containment_0_1 = new OptionalSingleContainmentValueManager<LinkTestConcept>(TestLanguageBase.INSTANCE.LinkTestConcept_containment_0_1, this);
|
|
516
516
|
this._containment_1 = new RequiredSingleContainmentValueManager<LinkTestConcept>(TestLanguageBase.INSTANCE.LinkTestConcept_containment_1, this);
|
|
517
517
|
this._containment_0_n = new OptionalMultiContainmentValueManager<LinkTestConcept>(TestLanguageBase.INSTANCE.LinkTestConcept_containment_0_n, this);
|
|
@@ -552,8 +552,8 @@ export class LinkTestConcept extends NodeBase implements INamed {
|
|
|
552
552
|
}
|
|
553
553
|
|
|
554
554
|
export class TestAnnotation extends NodeBase {
|
|
555
|
-
static create(id: LionWebId,
|
|
556
|
-
return new TestAnnotation(TestLanguageBase.INSTANCE.TestAnnotation, id,
|
|
555
|
+
static create(id: LionWebId, receiveDelta?: DeltaReceiver, parentInfo?: Parentage): TestAnnotation {
|
|
556
|
+
return new TestAnnotation(TestLanguageBase.INSTANCE.TestAnnotation, id, receiveDelta, parentInfo);
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
559
|
|
package/src/tasks.ts
CHANGED
|
@@ -93,12 +93,12 @@ export const taskExecutor = (lionWebClient: LionWebClient, partition: INodeBase,
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
const annotation = (id: LionWebId) =>
|
|
96
|
-
lionWebClient.
|
|
96
|
+
lionWebClient.createNode(testLanguageBase.TestAnnotation, id) as TestAnnotation
|
|
97
97
|
|
|
98
98
|
const linkTestConcept = (id?: LionWebId) =>
|
|
99
99
|
id === undefined
|
|
100
100
|
? partition as LinkTestConcept
|
|
101
|
-
: lionWebClient.
|
|
101
|
+
: lionWebClient.createNode(testLanguageBase.LinkTestConcept, id) as LinkTestConcept
|
|
102
102
|
|
|
103
103
|
return async (task: string, queryId: string) => {
|
|
104
104
|
switch (task) {
|
|
@@ -110,7 +110,7 @@ export const taskExecutor = (lionWebClient: LionWebClient, partition: INodeBase,
|
|
|
110
110
|
return waitForReceived(1)
|
|
111
111
|
}
|
|
112
112
|
case "AddDocs": {
|
|
113
|
-
(partition as Geometry).documentation = lionWebClient.
|
|
113
|
+
(partition as Geometry).documentation = lionWebClient.createNode(shapesLanguageBase.Documentation, "documentation") as Documentation
|
|
114
114
|
return waitForReceived(1)
|
|
115
115
|
}
|
|
116
116
|
case "SetDocsText": {
|