@remoteoss/json-schema-form 0.1.1-dev.20230616083258 → 0.1.1-dev.20230616085129
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.cjs +2 -2
- package/dist/index.js +2 -2
- package/dist/standalone.js +2 -2
- package/json-schema-form.d.ts +7 -13
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
/*!
|
|
3
3
|
Copyright (c) 2023 Remote Technology, Inc.
|
|
4
|
-
NPM Package: @remoteoss/json-schema-form@0.1.1-dev.
|
|
5
|
-
Generated: Fri, 16 Jun 2023 08:
|
|
4
|
+
NPM Package: @remoteoss/json-schema-form@0.1.1-dev.20230616085129
|
|
5
|
+
Generated: Fri, 16 Jun 2023 08:51:42 GMT
|
|
6
6
|
|
|
7
7
|
MIT License
|
|
8
8
|
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
/*!
|
|
3
3
|
Copyright (c) 2023 Remote Technology, Inc.
|
|
4
|
-
NPM Package: @remoteoss/json-schema-form@0.1.1-dev.
|
|
5
|
-
Generated: Fri, 16 Jun 2023 08:
|
|
4
|
+
NPM Package: @remoteoss/json-schema-form@0.1.1-dev.20230616085129
|
|
5
|
+
Generated: Fri, 16 Jun 2023 08:51:42 GMT
|
|
6
6
|
|
|
7
7
|
MIT License
|
|
8
8
|
|
package/dist/standalone.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
/*!
|
|
3
3
|
Copyright (c) 2023 Remote Technology, Inc.
|
|
4
|
-
NPM Package: @remoteoss/json-schema-form@0.1.1-dev.
|
|
5
|
-
Generated: Fri, 16 Jun 2023 08:
|
|
4
|
+
NPM Package: @remoteoss/json-schema-form@0.1.1-dev.20230616085129
|
|
5
|
+
Generated: Fri, 16 Jun 2023 08:51:42 GMT
|
|
6
6
|
|
|
7
7
|
MIT License
|
|
8
8
|
|
package/json-schema-form.d.ts
CHANGED
|
@@ -26,23 +26,17 @@ type $TsFixMe = any;
|
|
|
26
26
|
*/
|
|
27
27
|
export function buildCompleteYupSchema(fields: Fields, config: JSConfig): $TsFixMe; // TODO: We don't what yup returns here, we'll fix it later
|
|
28
28
|
|
|
29
|
-
type HeadlessFormOutput =
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
| {
|
|
37
|
-
fields: never[];
|
|
38
|
-
isError: boolean;
|
|
39
|
-
error: any;
|
|
40
|
-
};
|
|
29
|
+
type HeadlessFormOutput = {
|
|
30
|
+
fields: Fields;
|
|
31
|
+
handleValidation: () => $TsFixMe;
|
|
32
|
+
isError: boolean;
|
|
33
|
+
error?: undefined;
|
|
34
|
+
};
|
|
41
35
|
|
|
42
36
|
/**
|
|
43
37
|
* Generates the Headless form based on the provided JSON schema
|
|
44
38
|
*/
|
|
45
39
|
export function createHeadlessForm(
|
|
46
40
|
jsonSchema: Record<string, unknown>,
|
|
47
|
-
customConfig: JSConfig
|
|
41
|
+
customConfig: JSConfig
|
|
48
42
|
): HeadlessFormOutput;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remoteoss/json-schema-form",
|
|
3
|
-
"version": "0.1.1-dev.
|
|
3
|
+
"version": "0.1.1-dev.20230616085129",
|
|
4
4
|
"description": "Headless UI form powered by JSON Schemas",
|
|
5
5
|
"author": "Remote.com <engineering@remote.com> (https://remote.com/)",
|
|
6
6
|
"license": "MIT",
|