@datadayrepos/json-schema-types 0.0.1-beta.132 → 0.0.2
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/index.d.ts +1 -1
- package/dist/internalScema.d.ts +12 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export type { ExtendedJson7, JSONSchema7TypeName, JSONSchema7Type, JSONSchema7Object, JSONSchema7Array, JSONSchema7Version, JSONSchema7Definition, JSONSchema7, } from './jsonSchema';
|
|
2
|
-
export type { GenericObjectType, ABYSchema, ABYAllSchemaPackage, ABYSchemaDefinition, ABYSchemaTypeName, ABYSchemaType, FieldsMap, UISpec, WidgetNames, UISchema, UISchemaDetail, ErrSchema, } from './internalScema';
|
|
2
|
+
export type { GenericObjectType, ABYSchema, ABYAllSchemaPackage, ABYSchemaDefinition, ABYSchemaTypeName, ABYSchemaType, FieldsMap, UISpec, WidgetNames, UISchema, UISchemaDetail, ErrSchema, FormMeta, FormConfig, } from './internalScema';
|
package/dist/internalScema.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** ivar.strand 220831 - used as wrappers around json schema and for certain custom props*/
|
|
1
|
+
/** ivar.strand 220831 - used as wrappers around json schema and for certain custom props */
|
|
2
2
|
import type { ExtendedJson7, JSONSchema7Definition, JSONSchema7Type, JSONSchema7TypeName } from './jsonSchema';
|
|
3
3
|
import type { FieldProps } from './fieldProps';
|
|
4
4
|
/**
|
|
@@ -109,7 +109,7 @@ export type FieldErrors = {
|
|
|
109
109
|
/** The list of errors for the field */
|
|
110
110
|
__errors?: FieldError[];
|
|
111
111
|
};
|
|
112
|
-
export type WidgetNames = 'CameraWidget' | '
|
|
112
|
+
export type WidgetNames = 'CameraWidget' | 'CheckboxWidget' | 'CheckboxesWidget' | 'ColorWidget' | 'DateTimeWidget' | 'DateWidget' | 'GpsWidget' | 'HiddenWidget' | 'hidden' | 'InputNumberWidget' | 'InputWidget' | 'QrWidget' | 'RadioWidget' | 'SelectWidget' | 'SignatureWidget' | 'SliderWidget' | 'SwitchMiniWidget' | 'SwitchWidget' | 'TagWidget' | 'TimeSelectWidget' | 'TimeStampWidget' | 'TimeWheelPicker' | 'UploadWidget' | 'VideoWidget';
|
|
113
113
|
export type UISchema = {
|
|
114
114
|
[key: string]: UISchemaDetail;
|
|
115
115
|
};
|
|
@@ -152,8 +152,16 @@ export type FormFooter = {
|
|
|
152
152
|
show?: boolean;
|
|
153
153
|
};
|
|
154
154
|
export type FormMeta = {
|
|
155
|
-
|
|
156
|
-
|
|
155
|
+
title?: string;
|
|
156
|
+
description?: string;
|
|
157
|
+
imageref?: string;
|
|
158
|
+
tags?: string[];
|
|
159
|
+
locale?: {
|
|
160
|
+
properties: string;
|
|
161
|
+
values: string;
|
|
162
|
+
};
|
|
163
|
+
creator?: string;
|
|
164
|
+
lcense?: string;
|
|
157
165
|
$$formtags?: string;
|
|
158
166
|
};
|
|
159
167
|
export type FormProps = {
|