@opra/common 1.5.5 → 1.5.7
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.
|
@@ -34,7 +34,7 @@ exports.ComplexType = function (...args) {
|
|
|
34
34
|
_this.additionalFields = _this.base.additionalFields;
|
|
35
35
|
_this.keyField = _this.base.keyField;
|
|
36
36
|
/** Copy fields from base */
|
|
37
|
-
for (const v of _this.base.fields()) {
|
|
37
|
+
for (const v of _this.base.fields('*')) {
|
|
38
38
|
_this._fields.set(v.name, new api_field_js_1.ApiField(this, v));
|
|
39
39
|
}
|
|
40
40
|
});
|
|
@@ -30,7 +30,7 @@ exports.MixinType = function (...args) {
|
|
|
30
30
|
else if (!_this.additionalFields)
|
|
31
31
|
_this.additionalFields = base.additionalFields;
|
|
32
32
|
}
|
|
33
|
-
for (const v of base.fields()) {
|
|
33
|
+
for (const v of base.fields('*')) {
|
|
34
34
|
const field = new api_field_js_1.ApiField(this, v);
|
|
35
35
|
_this._fields.set(field.name, field);
|
|
36
36
|
}
|
|
@@ -31,7 +31,7 @@ export const ComplexType = function (...args) {
|
|
|
31
31
|
_this.additionalFields = _this.base.additionalFields;
|
|
32
32
|
_this.keyField = _this.base.keyField;
|
|
33
33
|
/** Copy fields from base */
|
|
34
|
-
for (const v of _this.base.fields()) {
|
|
34
|
+
for (const v of _this.base.fields('*')) {
|
|
35
35
|
_this._fields.set(v.name, new ApiField(this, v));
|
|
36
36
|
}
|
|
37
37
|
});
|
|
@@ -27,7 +27,7 @@ export const MixinType = function (...args) {
|
|
|
27
27
|
else if (!_this.additionalFields)
|
|
28
28
|
_this.additionalFields = base.additionalFields;
|
|
29
29
|
}
|
|
30
|
-
for (const v of base.fields()) {
|
|
30
|
+
for (const v of base.fields('*')) {
|
|
31
31
|
const field = new ApiField(this, v);
|
|
32
32
|
_this._fields.set(field.name, field);
|
|
33
33
|
}
|