@remoteoss/json-schema-form 0.1.1-dev.20230615153439 → 0.1.1-dev.20230616080231
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 +29 -1
- 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:
|
|
4
|
+
NPM Package: @remoteoss/json-schema-form@0.1.1-dev.20230616080231
|
|
5
|
+
Generated: Fri, 16 Jun 2023 08:02: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:
|
|
4
|
+
NPM Package: @remoteoss/json-schema-form@0.1.1-dev.20230616080231
|
|
5
|
+
Generated: Fri, 16 Jun 2023 08:02: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:
|
|
4
|
+
NPM Package: @remoteoss/json-schema-form@0.1.1-dev.20230616080231
|
|
5
|
+
Generated: Fri, 16 Jun 2023 08:02:42 GMT
|
|
6
6
|
|
|
7
7
|
MIT License
|
|
8
8
|
|
package/json-schema-form.d.ts
CHANGED
|
@@ -1 +1,29 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Shorthand to lookup for keys with `x-jsf-*` preffix.
|
|
3
|
+
*/
|
|
4
|
+
export function pickXKey(node: Object, key: 'presentation' | 'error-message'): Object | undefined
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
type JSConfig = {
|
|
8
|
+
initialValues?: Record<string, unknown>;
|
|
9
|
+
strictInputType?: boolean;
|
|
10
|
+
customProperties?: {
|
|
11
|
+
description: () => void | string;
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
}
|
|
14
|
+
inputTypes?: {
|
|
15
|
+
errorMessage: Record<string, unknown>;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
type Fields = any; // TODO: We don't know what type we have here, we need to investigate
|
|
20
|
+
|
|
21
|
+
type $TsFixMe = any;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Returns the Yup schema structure of given fields.
|
|
25
|
+
* These fields must be the same from
|
|
26
|
+
* const { fields } = createHeadlessForm()
|
|
27
|
+
*/
|
|
28
|
+
|
|
29
|
+
export function buildCompleteYupSchema(fields: Fields, config: JSConfig): $TsFixMe // TODO: We don't what yup returns here, we'll fix it later
|
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.20230616080231",
|
|
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",
|