@constructive-io/schema-builder 0.2.0
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/CHANGELOG.md +26 -0
- package/LICENSE +21 -0
- package/README.md +33 -0
- package/dist/core.cjs +213 -0
- package/dist/core.cjs.map +1 -0
- package/dist/core.d.cts +54 -0
- package/dist/core.d.ts +54 -0
- package/dist/core.js +202 -0
- package/dist/core.js.map +1 -0
- package/dist/fields.cjs +7764 -0
- package/dist/fields.cjs.map +1 -0
- package/dist/fields.d.cts +49 -0
- package/dist/fields.d.ts +49 -0
- package/dist/fields.js +7737 -0
- package/dist/fields.js.map +1 -0
- package/dist/generated-types-CnAlqHU_.d.cts +25 -0
- package/dist/generated-types-CnAlqHU_.d.ts +25 -0
- package/dist/index.cjs +13752 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +10 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +13720 -0
- package/dist/index.js.map +1 -0
- package/dist/indexes.cjs +1043 -0
- package/dist/indexes.cjs.map +1 -0
- package/dist/indexes.d.cts +36 -0
- package/dist/indexes.d.ts +36 -0
- package/dist/indexes.js +1018 -0
- package/dist/indexes.js.map +1 -0
- package/dist/policies.cjs +5940 -0
- package/dist/policies.cjs.map +1 -0
- package/dist/policies.d.cts +103 -0
- package/dist/policies.d.ts +103 -0
- package/dist/policies.js +5913 -0
- package/dist/policies.js.map +1 -0
- package/dist/policy-types-CEYAR5TN.d.cts +79 -0
- package/dist/policy-types-CEYAR5TN.d.ts +79 -0
- package/dist/relationships.cjs +4329 -0
- package/dist/relationships.cjs.map +1 -0
- package/dist/relationships.d.cts +121 -0
- package/dist/relationships.d.ts +121 -0
- package/dist/relationships.js +4302 -0
- package/dist/relationships.js.map +1 -0
- package/dist/tables.cjs +5645 -0
- package/dist/tables.cjs.map +1 -0
- package/dist/tables.d.cts +29 -0
- package/dist/tables.d.ts +29 -0
- package/dist/tables.js +5620 -0
- package/dist/tables.js.map +1 -0
- package/dist/testing.cjs +69 -0
- package/dist/testing.cjs.map +1 -0
- package/dist/testing.d.cts +7 -0
- package/dist/testing.d.ts +7 -0
- package/dist/testing.js +67 -0
- package/dist/testing.js.map +1 -0
- package/dist/types-Du86atZ8.d.cts +199 -0
- package/dist/types-Du86atZ8.d.ts +199 -0
- package/dist/types-bX2dCrdl.d.cts +52 -0
- package/dist/types-bX2dCrdl.d.ts +52 -0
- package/package.json +165 -0
- package/src/styles.css +2 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
3
|
+
export { B as SchemaBuilderTablesCapabilities } from './types-Du86atZ8.cjs';
|
|
4
|
+
|
|
5
|
+
interface SchemaBuilderSidebarProps {
|
|
6
|
+
onTableSelect?: (tableId: string) => void;
|
|
7
|
+
showSystemTables?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare function SchemaBuilderSidebar({ onTableSelect, showSystemTables }: SchemaBuilderSidebarProps): react.JSX.Element;
|
|
10
|
+
|
|
11
|
+
interface DeleteTableInput {
|
|
12
|
+
id: string;
|
|
13
|
+
}
|
|
14
|
+
declare function useDeleteTable(): _tanstack_react_query.UseMutationResult<string, Error, DeleteTableInput, unknown>;
|
|
15
|
+
|
|
16
|
+
interface UpdateTableInput {
|
|
17
|
+
id: string;
|
|
18
|
+
name?: string;
|
|
19
|
+
label?: string | null;
|
|
20
|
+
description?: string | null;
|
|
21
|
+
smartTags?: Record<string, unknown> | null;
|
|
22
|
+
}
|
|
23
|
+
interface UpdatedTable {
|
|
24
|
+
id: string;
|
|
25
|
+
name: string;
|
|
26
|
+
}
|
|
27
|
+
declare function useUpdateTable(): _tanstack_react_query.UseMutationResult<UpdatedTable, Error, UpdateTableInput, unknown>;
|
|
28
|
+
|
|
29
|
+
export { SchemaBuilderSidebar, useDeleteTable, useUpdateTable };
|
package/dist/tables.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
3
|
+
export { B as SchemaBuilderTablesCapabilities } from './types-Du86atZ8.js';
|
|
4
|
+
|
|
5
|
+
interface SchemaBuilderSidebarProps {
|
|
6
|
+
onTableSelect?: (tableId: string) => void;
|
|
7
|
+
showSystemTables?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare function SchemaBuilderSidebar({ onTableSelect, showSystemTables }: SchemaBuilderSidebarProps): react.JSX.Element;
|
|
10
|
+
|
|
11
|
+
interface DeleteTableInput {
|
|
12
|
+
id: string;
|
|
13
|
+
}
|
|
14
|
+
declare function useDeleteTable(): _tanstack_react_query.UseMutationResult<string, Error, DeleteTableInput, unknown>;
|
|
15
|
+
|
|
16
|
+
interface UpdateTableInput {
|
|
17
|
+
id: string;
|
|
18
|
+
name?: string;
|
|
19
|
+
label?: string | null;
|
|
20
|
+
description?: string | null;
|
|
21
|
+
smartTags?: Record<string, unknown> | null;
|
|
22
|
+
}
|
|
23
|
+
interface UpdatedTable {
|
|
24
|
+
id: string;
|
|
25
|
+
name: string;
|
|
26
|
+
}
|
|
27
|
+
declare function useUpdateTable(): _tanstack_react_query.UseMutationResult<UpdatedTable, Error, UpdateTableInput, unknown>;
|
|
28
|
+
|
|
29
|
+
export { SchemaBuilderSidebar, useDeleteTable, useUpdateTable };
|