@elyx-code/project-logic-tree 0.0.6044 → 0.0.6046
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const BITCOIN_API_RESPONSE_ID = "bitcoin-api-response-id";
|
|
2
2
|
export declare const TIME_PROPERTY_ID = "time-property-id";
|
|
3
|
-
export declare const DISCLAMER_PROPERTY_ID = "
|
|
3
|
+
export declare const DISCLAMER_PROPERTY_ID = "disclaimer-property-id";
|
|
4
4
|
export declare const CHART_NAME_PROPERTY_ID = "chart-name-property-id";
|
|
5
5
|
export declare const BPI_PROPERTY_ID = "bpi-property-id";
|
|
6
6
|
export declare const BPI_ENTITY_ID = "bpi-entity-id";
|
|
@@ -4,10 +4,10 @@ export declare const timePropertyDataTypeParentRef: IPropertyReference;
|
|
|
4
4
|
export declare const timePropertyDataType: IDataTypeTransfer;
|
|
5
5
|
export declare const timePropertyParentRef: ICustomEntityReference;
|
|
6
6
|
export declare const timeProperty: IPropertyTransfer;
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
7
|
+
export declare const disclaimerPropertyDataTypeParentRef: IPropertyReference;
|
|
8
|
+
export declare const disclaimerPropertyDataType: IDataTypeTransfer;
|
|
9
|
+
export declare const disclaimerPropertyParentRef: ICustomEntityReference;
|
|
10
|
+
export declare const disclaimerProperty: IPropertyTransfer;
|
|
11
11
|
export declare const chartNamePropertyDataTypeParentRef: IPropertyReference;
|
|
12
12
|
export declare const chartNamePropertyDataType: IDataTypeTransfer;
|
|
13
13
|
export declare const chartNamePropertyParentRef: ICustomEntityReference;
|
package/dist/index.js
CHANGED
|
@@ -9516,7 +9516,7 @@ const gA = {
|
|
|
9516
9516
|
x: 0,
|
|
9517
9517
|
y: 0,
|
|
9518
9518
|
parent: US
|
|
9519
|
-
}, Ki = "bitcoin-api-response-id", Yu = "time-property-id", zu = "
|
|
9519
|
+
}, Ki = "bitcoin-api-response-id", Yu = "time-property-id", zu = "disclaimer-property-id", Zu = "chart-name-property-id", Ku = "bpi-property-id", ps = "bpi-entity-id", Xu = "usd-property-id", Qu = "gbp-property-id", ep = "eur-property-id", Yr = "currency-entity-id", tp = "currency-code-property-id", np = "currency-symbol-property-id", rp = "currency-rate-property-id", ip = "currency-description-property-id", ap = "currency-rate-number-property-id", jS = {
|
|
9520
9520
|
type: n.GenericReference,
|
|
9521
9521
|
id: "code-property-data-type-parent-ref-id",
|
|
9522
9522
|
entityType: n.Property,
|
|
@@ -9928,13 +9928,13 @@ const gA = {
|
|
|
9928
9928
|
parent: DO
|
|
9929
9929
|
}, AO = {
|
|
9930
9930
|
type: n.GenericReference,
|
|
9931
|
-
id: "
|
|
9931
|
+
id: "disclaimer-property-data-type-parent-ref-id",
|
|
9932
9932
|
entityType: n.Property,
|
|
9933
9933
|
entityId: zu
|
|
9934
9934
|
}, SO = {
|
|
9935
9935
|
like: !1,
|
|
9936
9936
|
inferred: !1,
|
|
9937
|
-
id: "
|
|
9937
|
+
id: "disclaimer-property-data-type-id",
|
|
9938
9938
|
type: n.DataType,
|
|
9939
9939
|
andChildrenGroup: null,
|
|
9940
9940
|
orChildrenGroup: null,
|
|
@@ -9948,7 +9948,7 @@ const gA = {
|
|
|
9948
9948
|
parent: AO
|
|
9949
9949
|
}, OO = {
|
|
9950
9950
|
type: n.GenericReference,
|
|
9951
|
-
id: "
|
|
9951
|
+
id: "disclaimer-property-parent-ref-id",
|
|
9952
9952
|
entityType: n.CustomEntity,
|
|
9953
9953
|
entityId: Ki
|
|
9954
9954
|
}, CO = {
|
|
@@ -9957,7 +9957,7 @@ const gA = {
|
|
|
9957
9957
|
type: n.Property,
|
|
9958
9958
|
id: zu,
|
|
9959
9959
|
version: 1,
|
|
9960
|
-
name: "
|
|
9960
|
+
name: "disclaimer",
|
|
9961
9961
|
description: null,
|
|
9962
9962
|
index: 0,
|
|
9963
9963
|
dataType: SO,
|
|
@@ -34571,8 +34571,9 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
34571
34571
|
}
|
|
34572
34572
|
// Add the current entity to the project state in all the right places including other instances it is related to
|
|
34573
34573
|
addSelfToProject() {
|
|
34574
|
+
var a;
|
|
34574
34575
|
const e = [this], t = [], i = [];
|
|
34575
|
-
return this.parent.setDefaultValue(this), e.push(this.parent), {
|
|
34576
|
+
return (a = this.parent) == null || a.setDefaultValue(this), e.push(this.parent), {
|
|
34576
34577
|
updated: R(e),
|
|
34577
34578
|
added: R(t),
|
|
34578
34579
|
removed: R(i),
|
|
@@ -34684,6 +34685,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
34684
34685
|
]);
|
|
34685
34686
|
}
|
|
34686
34687
|
toJSON() {
|
|
34688
|
+
var e;
|
|
34687
34689
|
return {
|
|
34688
34690
|
id: this.id,
|
|
34689
34691
|
version: this.version,
|
|
@@ -34692,9 +34694,8 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
34692
34694
|
autogeneration: this.autogeneration,
|
|
34693
34695
|
value: this.value,
|
|
34694
34696
|
// @ts-ignore
|
|
34695
|
-
valueAsType: this.valueAsType ? Array.isArray(this.valueAsType) ? this.valueAsType.map((
|
|
34696
|
-
parent: this.parent.toReference()
|
|
34697
|
-
// parent: null,
|
|
34697
|
+
valueAsType: this.valueAsType ? Array.isArray(this.valueAsType) ? this.valueAsType.map((t) => t.toReference()) : this.valueAsType.toReference() : null,
|
|
34698
|
+
parent: (e = this.parent) == null ? void 0 : e.toReference()
|
|
34698
34699
|
};
|
|
34699
34700
|
}
|
|
34700
34701
|
toReference() {
|
|
@@ -34706,15 +34707,16 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
34706
34707
|
};
|
|
34707
34708
|
}
|
|
34708
34709
|
toShallowJSON() {
|
|
34710
|
+
var e;
|
|
34709
34711
|
return {
|
|
34710
34712
|
id: this.id,
|
|
34711
34713
|
version: this.version,
|
|
34712
34714
|
type: this.type,
|
|
34713
34715
|
name: this.name,
|
|
34714
|
-
valueAsType: this.valueAsType ? Array.isArray(this.valueAsType) ? this.valueAsType.map((
|
|
34716
|
+
valueAsType: this.valueAsType ? Array.isArray(this.valueAsType) ? this.valueAsType.map((t) => t.toReference()) : this.valueAsType.toReference() : null,
|
|
34715
34717
|
value: this.value,
|
|
34716
34718
|
autogeneration: this.autogeneration,
|
|
34717
|
-
parent: this.parent.toReference()
|
|
34719
|
+
parent: (e = this.parent) == null ? void 0 : e.toReference()
|
|
34718
34720
|
};
|
|
34719
34721
|
}
|
|
34720
34722
|
toFlatJSON(e = /* @__PURE__ */ new Set()) {
|
|
@@ -34726,14 +34728,15 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
34726
34728
|
]);
|
|
34727
34729
|
}
|
|
34728
34730
|
toGenerationTarget() {
|
|
34731
|
+
var e;
|
|
34729
34732
|
return {
|
|
34730
34733
|
id: this.id,
|
|
34731
34734
|
type: this.type,
|
|
34732
34735
|
name: this.name,
|
|
34733
|
-
valueAsType: this.valueAsType ? Array.isArray(this.valueAsType) ? this.valueAsType.map((
|
|
34736
|
+
valueAsType: this.valueAsType ? Array.isArray(this.valueAsType) ? this.valueAsType.map((t) => t.id) : this.valueAsType.id : null,
|
|
34734
34737
|
value: this.value,
|
|
34735
34738
|
autogeneration: this.autogeneration,
|
|
34736
|
-
parent: this.parent.id
|
|
34739
|
+
parent: (e = this.parent) == null ? void 0 : e.id
|
|
34737
34740
|
};
|
|
34738
34741
|
}
|
|
34739
34742
|
toFlatGenerationTarget(e = /* @__PURE__ */ new Set()) {
|