@lafken/common 0.11.3 → 0.11.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.
|
@@ -104,7 +104,10 @@ const getFieldMetadata = (props) => {
|
|
|
104
104
|
...metadata,
|
|
105
105
|
};
|
|
106
106
|
}
|
|
107
|
-
|
|
107
|
+
return {
|
|
108
|
+
...metadata,
|
|
109
|
+
type: 'Any',
|
|
110
|
+
};
|
|
108
111
|
};
|
|
109
112
|
const createFieldDecorator = ({ prefix, enableInLambdaInvocation, getMetadata, }) => (props) => (target, destinationName) => {
|
|
110
113
|
if (!(0, build_env_utils_1.isBuildEnvironment)() && !enableInLambdaInvocation) {
|
|
@@ -49,7 +49,10 @@ export interface ArrayField extends BaseFieldMetadata {
|
|
|
49
49
|
type: 'Array';
|
|
50
50
|
items: FieldMetadata;
|
|
51
51
|
}
|
|
52
|
-
export
|
|
52
|
+
export interface AnyField extends BaseFieldMetadata {
|
|
53
|
+
type: 'Any';
|
|
54
|
+
}
|
|
55
|
+
export type FieldMetadata = StringField | NumberField | BooleanField | ObjectField | ArrayField | AnyField;
|
|
53
56
|
export type FieldTypes = FieldMetadata['type'];
|
|
54
57
|
export type PrimitiveTypes = Extract<FieldTypes, 'String' | 'Number' | 'Boolean'>;
|
|
55
58
|
export declare enum FieldProperties {
|
package/package.json
CHANGED