ai-design-system 0.1.17 → 0.1.18
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/components/composites/FormReports/FormReportsDrawerForm.tsx +1 -1
- package/components/features/DashboardFeature/DashboardFeature.mocks.ts +2 -3
- package/components/features/FormReportsFeature/FormReportsFeature.mocks.ts +2 -3
- package/dist/index.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import type { DashboardRow } from "@/components/composites/DataTable"
|
|
2
2
|
import {
|
|
3
|
-
dynamicTableSchema,
|
|
4
3
|
formSchema,
|
|
5
|
-
type DynamicTableSchema,
|
|
6
4
|
type FormFieldDefinition,
|
|
7
5
|
type FormSchema,
|
|
8
|
-
} from "
|
|
6
|
+
} from "design-schema"
|
|
7
|
+
import { dynamicTableSchema, type DynamicTableSchema } from "ui-schema-contracts"
|
|
9
8
|
|
|
10
9
|
const dashboardTableSchemaInput = {
|
|
11
10
|
schemaVersion: "1",
|
|
@@ -5,11 +5,10 @@ import type {
|
|
|
5
5
|
FormReportsRowAction,
|
|
6
6
|
} from "@/components/composites/FormReports"
|
|
7
7
|
import {
|
|
8
|
-
dynamicTableSchema,
|
|
9
8
|
formSchema,
|
|
10
|
-
type DynamicTableSchema,
|
|
11
9
|
type FormSchema,
|
|
12
|
-
} from "
|
|
10
|
+
} from "design-schema"
|
|
11
|
+
import { dynamicTableSchema, type DynamicTableSchema } from "ui-schema-contracts"
|
|
13
12
|
|
|
14
13
|
export const formReportsEntityName = "Feature Flag"
|
|
15
14
|
|
package/dist/index.cjs
CHANGED
|
@@ -48,6 +48,7 @@ var zod = require('zod');
|
|
|
48
48
|
var uiSchemaContracts = require('ui-schema-contracts');
|
|
49
49
|
var react$2 = require('@xyflow/react');
|
|
50
50
|
require('@xyflow/react/dist/style.css');
|
|
51
|
+
var designSchema = require('design-schema');
|
|
51
52
|
|
|
52
53
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
53
54
|
|
|
@@ -10186,7 +10187,7 @@ var dashboardCreateFormSchemaInput = {
|
|
|
10186
10187
|
}
|
|
10187
10188
|
]
|
|
10188
10189
|
};
|
|
10189
|
-
|
|
10190
|
+
designSchema.formSchema.parse(dashboardCreateFormSchemaInput).fields;
|
|
10190
10191
|
function buildInitialValues2(fields) {
|
|
10191
10192
|
return fields.reduce((acc, field) => {
|
|
10192
10193
|
var _a;
|
|
@@ -10338,7 +10339,7 @@ var formReportsFormSchemaInput = {
|
|
|
10338
10339
|
}
|
|
10339
10340
|
]
|
|
10340
10341
|
};
|
|
10341
|
-
|
|
10342
|
+
designSchema.formSchema.parse(formReportsFormSchemaInput).fields;
|
|
10342
10343
|
var formReportsTableSchemaInput = {
|
|
10343
10344
|
schemaVersion: "1",
|
|
10344
10345
|
rowKey: "id",
|