@syncbridge/common 0.6.3 → 0.6.4
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/constants.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const version = '0.6.
|
|
1
|
+
export const version = '0.6.4';
|
|
2
2
|
export const OWN_ELEMENT_METADATA = Symbol.for('OWN_ELEMENT_METADATA');
|
|
3
3
|
export const COMPONENT_OPTIONS = Symbol.for('COMPONENT_OPTIONS');
|
|
4
4
|
export const PROCESSOR_OPTIONS = Symbol.for('PROCESSOR_OPTIONS');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __decorate, __metadata } from "tslib";
|
|
2
|
-
import { ApiField, ComplexType } from '@opra/common';
|
|
2
|
+
import { ApiField, ArrayType, ComplexType } from '@opra/common';
|
|
3
3
|
import { VariableFormat } from '../enums/variable-format.enum.js';
|
|
4
4
|
import { VariableType } from '../enums/variable-type.enum.js';
|
|
5
5
|
/**
|
|
@@ -48,16 +48,14 @@ __decorate([
|
|
|
48
48
|
__decorate([
|
|
49
49
|
ApiField({
|
|
50
50
|
description: 'Examples of the variable value.',
|
|
51
|
-
type:
|
|
52
|
-
isArray: true,
|
|
51
|
+
type: ArrayType(String),
|
|
53
52
|
}),
|
|
54
53
|
__metadata("design:type", Array)
|
|
55
54
|
], VariableMetadata.prototype, "examples", void 0);
|
|
56
55
|
__decorate([
|
|
57
56
|
ApiField({
|
|
58
57
|
description: 'Choices of the variable',
|
|
59
|
-
type:
|
|
60
|
-
isArray: true,
|
|
58
|
+
type: ArrayType(String),
|
|
61
59
|
}),
|
|
62
60
|
__metadata("design:type", Array)
|
|
63
61
|
], VariableMetadata.prototype, "choice", void 0);
|
|
@@ -136,6 +134,12 @@ __decorate([
|
|
|
136
134
|
}),
|
|
137
135
|
__metadata("design:type", Object)
|
|
138
136
|
], VariableMetadata.prototype, "maxValue", void 0);
|
|
137
|
+
__decorate([
|
|
138
|
+
ApiField({
|
|
139
|
+
description: 'Width of the variable in the UI',
|
|
140
|
+
}),
|
|
141
|
+
__metadata("design:type", Number)
|
|
142
|
+
], VariableMetadata.prototype, "displayWidth", void 0);
|
|
139
143
|
VariableMetadata = __decorate([
|
|
140
144
|
ComplexType({
|
|
141
145
|
description: 'User defined variable definition',
|