@nocobase/plugin-data-source-manager 0.20.0-alpha.1
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/README.md +1 -0
- package/client.d.ts +2 -0
- package/client.js +1 -0
- package/dist/client/DatabaseConnectionProvider.d.ts +3 -0
- package/dist/client/ThridDataSource.d.ts +4 -0
- package/dist/client/component/BreadcumbTitle.d.ts +2 -0
- package/dist/client/component/CollectionsManager/AddFieldAction.d.ts +5 -0
- package/dist/client/component/CollectionsManager/CollectionFields.d.ts +8 -0
- package/dist/client/component/CollectionsManager/ConfigurationTable.d.ts +2 -0
- package/dist/client/component/CollectionsManager/ConfigurationTabs.d.ts +2 -0
- package/dist/client/component/CollectionsManager/EditCollectionAction.d.ts +6 -0
- package/dist/client/component/CollectionsManager/EditFieldAction.d.ts +2 -0
- package/dist/client/component/CollectionsManager/components/CollectionFieldInterfaceSelect.d.ts +2 -0
- package/dist/client/component/CollectionsManager/components/CollectionName.d.ts +1 -0
- package/dist/client/component/CollectionsManager/components/FieldTitleInput.d.ts +2 -0
- package/dist/client/component/CollectionsManager/components/FieldType.d.ts +2 -0
- package/dist/client/component/CollectionsManager/components/TitleField.d.ts +2 -0
- package/dist/client/component/CollectionsManager/components/UnSupportFields.d.ts +2 -0
- package/dist/client/component/CollectionsManager/components/index.d.ts +6 -0
- package/dist/client/component/CollectionsManager/hooks.d.ts +12 -0
- package/dist/client/component/CollectionsManager/index.d.ts +2 -0
- package/dist/client/component/CollectionsManager/schema/collectionFields.d.ts +4 -0
- package/dist/client/component/CollectionsManager/schema/collections.d.ts +64 -0
- package/dist/client/component/CreateDatabaseConnectAction.d.ts +2 -0
- package/dist/client/component/DatabaseConnectionManager.d.ts +2 -0
- package/dist/client/component/EditDatabaseConnectionAction.d.ts +2 -0
- package/dist/client/component/MainDataSourceManager/Configuration/AddCategoryAction.d.ts +3 -0
- package/dist/client/component/MainDataSourceManager/Configuration/CollectionFields.d.ts +2 -0
- package/dist/client/component/MainDataSourceManager/Configuration/CollectionFieldsTable.d.ts +15 -0
- package/dist/client/component/MainDataSourceManager/Configuration/CollectionFieldsTableArray.d.ts +8 -0
- package/dist/client/component/MainDataSourceManager/Configuration/ConfigurationTable.d.ts +2 -0
- package/dist/client/component/MainDataSourceManager/Configuration/ConfigurationTabs.d.ts +2 -0
- package/dist/client/component/MainDataSourceManager/Configuration/EditCategoryAction.d.ts +3 -0
- package/dist/client/component/MainDataSourceManager/Configuration/index.d.ts +6 -0
- package/dist/client/component/MainDataSourceManager/Configuration/interfaces.d.ts +16 -0
- package/dist/client/component/MainDataSourceManager/Configuration/schemas/collectionFields.d.ts +5 -0
- package/dist/client/component/MainDataSourceManager/Configuration/schemas/collections.d.ts +7 -0
- package/dist/client/component/MainDataSourceManager/index.d.ts +2 -0
- package/dist/client/component/PermissionManager/DataSourceTable.d.ts +3 -0
- package/dist/client/component/PermissionManager/PermisionProvider.d.ts +5 -0
- package/dist/client/component/PermissionManager/RoleConfigure.d.ts +2 -0
- package/dist/client/component/PermissionManager/RolesResourcesActions.d.ts +3 -0
- package/dist/client/component/PermissionManager/ScopeSelect.d.ts +3 -0
- package/dist/client/component/PermissionManager/StrategyActions.d.ts +2 -0
- package/dist/client/component/PermissionManager/index.d.ts +3 -0
- package/dist/client/component/PermissionManager/schemas/dataSourceTable.d.ts +2 -0
- package/dist/client/component/PermissionManager/schemas/roleCollections.d.ts +2 -0
- package/dist/client/component/PermissionManager/schemas/scopes.d.ts +122 -0
- package/dist/client/component/PermissionManager/schemas/useRoleResourceValues.d.ts +8 -0
- package/dist/client/component/PermissionManager/schemas/useSaveRoleResourceAction.d.ts +3 -0
- package/dist/client/component/PermissionManager/style.d.ts +1 -0
- package/dist/client/component/ViewDatabaseConnectionAction.d.ts +2 -0
- package/dist/client/constant.d.ts +1 -0
- package/dist/client/hooks/index.d.ts +6 -0
- package/dist/client/index.d.ts +9 -0
- package/dist/client/index.js +67 -0
- package/dist/client/locale/index.d.ts +2 -0
- package/dist/client/schema/index.d.ts +7 -0
- package/dist/externalVersion.js +24 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +39 -0
- package/dist/locale/zh-CN.json +33 -0
- package/dist/server/collections/data-sources-collections.d.ts +2 -0
- package/dist/server/collections/data-sources-collections.js +60 -0
- package/dist/server/collections/data-sources-fields.d.ts +2 -0
- package/dist/server/collections/data-sources-fields.js +86 -0
- package/dist/server/collections/data-sources-roles-resources-actions.d.ts +2 -0
- package/dist/server/collections/data-sources-roles-resources-actions.js +52 -0
- package/dist/server/collections/data-sources-roles-resources-scopes.d.ts +2 -0
- package/dist/server/collections/data-sources-roles-resources-scopes.js +56 -0
- package/dist/server/collections/data-sources-roles-resources.d.ts +2 -0
- package/dist/server/collections/data-sources-roles-resources.js +62 -0
- package/dist/server/collections/data-sources-roles.d.ts +2 -0
- package/dist/server/collections/data-sources-roles.js +53 -0
- package/dist/server/collections/data-sources.d.ts +2 -0
- package/dist/server/collections/data-sources.js +70 -0
- package/dist/server/errors/type-infer-error.d.ts +2 -0
- package/dist/server/errors/type-infer-error.js +28 -0
- package/dist/server/index.d.ts +2 -0
- package/dist/server/index.js +39 -0
- package/dist/server/migrations/20240301164024-migrate-acl-resources.d.ts +7 -0
- package/dist/server/migrations/20240301164024-migrate-acl-resources.js +117 -0
- package/dist/server/models/connections-roles-resources-action.d.ts +3 -0
- package/dist/server/models/connections-roles-resources-action.js +29 -0
- package/dist/server/models/connections-roles-resources.d.ts +3 -0
- package/dist/server/models/connections-roles-resources.js +29 -0
- package/dist/server/models/data-source.d.ts +17 -0
- package/dist/server/models/data-source.js +166 -0
- package/dist/server/models/data-sources-collection-model.d.ts +7 -0
- package/dist/server/models/data-sources-collection-model.js +37 -0
- package/dist/server/models/data-sources-field-model.d.ts +10 -0
- package/dist/server/models/data-sources-field-model.js +48 -0
- package/dist/server/models/data-sources-roles-model.d.ts +11 -0
- package/dist/server/models/data-sources-roles-model.js +57 -0
- package/dist/server/plugin.d.ts +13 -0
- package/dist/server/plugin.js +416 -0
- package/dist/server/resourcers/data-sources-collections-fields.d.ts +11 -0
- package/dist/server/resourcers/data-sources-collections-fields.js +131 -0
- package/dist/server/resourcers/data-sources-collections.d.ts +8 -0
- package/dist/server/resourcers/data-sources-collections.js +106 -0
- package/dist/server/resourcers/data-sources-resources.d.ts +9 -0
- package/dist/server/resourcers/data-sources-resources.js +88 -0
- package/dist/server/resourcers/data-sources-roles.d.ts +8 -0
- package/dist/server/resourcers/data-sources-roles.js +72 -0
- package/dist/server/resourcers/roles-data-sources-collections.d.ts +7 -0
- package/dist/server/resourcers/roles-data-sources-collections.js +101 -0
- package/dist/server/services/collection-manager.d.ts +6 -0
- package/dist/server/services/collection-manager.js +33 -0
- package/dist/server/services/database-introspector.d.ts +70 -0
- package/dist/server/services/database-introspector.js +235 -0
- package/dist/server/services/full-data-repository.d.ts +8 -0
- package/dist/server/services/full-data-repository.js +51 -0
- package/dist/server/services/type-interface-map.d.ts +183 -0
- package/dist/server/services/type-interface-map.js +243 -0
- package/dist/server/utils.d.ts +1 -0
- package/dist/server/utils.js +38 -0
- package/package.json +18 -0
- package/server.d.ts +2 -0
- package/server.js +1 -0
package/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# @nocobase/plugin-data-source-manager
|
package/client.d.ts
ADDED
package/client.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('./dist/client/index.js');
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Collection } from '@nocobase/client';
|
|
3
|
+
export declare const useRemoteCollectionContext: () => {
|
|
4
|
+
targetCollection: Collection;
|
|
5
|
+
refreshRM: Function;
|
|
6
|
+
titleField: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const CollectionFields: () => React.JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const useValuesFromRecord: (options: any) => import("@nocobase/client").UseRequestResult<unknown>;
|
|
3
|
+
export declare const useUpdateCollectionActionAndRefreshCM: (options: any) => {
|
|
4
|
+
run(): Promise<void>;
|
|
5
|
+
};
|
|
6
|
+
export declare const EditCollection: (props: any) => React.JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CollectionName: any;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const SourceKey: React.MemoExoticComponent<import("@formily/react").ReactFC<Omit<any, "ref">>>;
|
|
3
|
+
export declare const ForeignKey: React.MemoExoticComponent<import("@formily/react").ReactFC<Omit<any, "ref">>>;
|
|
4
|
+
export declare const TargetKey: React.MemoExoticComponent<import("@formily/react").ReactFC<Omit<any, "ref">>>;
|
|
5
|
+
export declare const SourceCollection: React.MemoExoticComponent<import("@formily/react").ReactFC<unknown>>;
|
|
6
|
+
export declare const ThroughCollection: React.MemoExoticComponent<import("@formily/react").ReactFC<Omit<any, "ref">>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const useDestroyAction: () => {
|
|
2
|
+
run(): Promise<void>;
|
|
3
|
+
};
|
|
4
|
+
export declare const useBulkDestroyAction: () => {
|
|
5
|
+
run(): Promise<boolean>;
|
|
6
|
+
};
|
|
7
|
+
export declare const useBulkDestroyActionAndRefreshCM: () => {
|
|
8
|
+
run(): Promise<void>;
|
|
9
|
+
};
|
|
10
|
+
export declare const useDestroyActionAndRefreshCM: () => {
|
|
11
|
+
run(): Promise<void>;
|
|
12
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { ISchema } from '@formily/react';
|
|
2
|
+
import { CollectionOptions } from '@nocobase/client';
|
|
3
|
+
export declare const compile: (source: any) => any;
|
|
4
|
+
export declare const collection: CollectionOptions;
|
|
5
|
+
export declare const getCollectionSchema: (dataSourceKey: any) => import("@formily/react").Stringify<{
|
|
6
|
+
[key: symbol]: any;
|
|
7
|
+
[key: `x-${string}`]: any;
|
|
8
|
+
[key: `x-${number}`]: any;
|
|
9
|
+
version?: string;
|
|
10
|
+
name?: import("@formily/react").SchemaKey;
|
|
11
|
+
title?: any;
|
|
12
|
+
description?: any;
|
|
13
|
+
default?: any;
|
|
14
|
+
readOnly?: boolean;
|
|
15
|
+
writeOnly?: boolean;
|
|
16
|
+
type?: import("@formily/react").SchemaTypes;
|
|
17
|
+
enum?: import("@formily/react").SchemaEnum<any>;
|
|
18
|
+
const?: any;
|
|
19
|
+
multipleOf?: number;
|
|
20
|
+
maximum?: number;
|
|
21
|
+
exclusiveMaximum?: number;
|
|
22
|
+
minimum?: number;
|
|
23
|
+
exclusiveMinimum?: number;
|
|
24
|
+
maxLength?: number;
|
|
25
|
+
minLength?: number;
|
|
26
|
+
pattern?: string | RegExp;
|
|
27
|
+
maxItems?: number;
|
|
28
|
+
minItems?: number;
|
|
29
|
+
uniqueItems?: boolean;
|
|
30
|
+
maxProperties?: number;
|
|
31
|
+
minProperties?: number;
|
|
32
|
+
required?: string | boolean | string[];
|
|
33
|
+
format?: string;
|
|
34
|
+
$ref?: string;
|
|
35
|
+
$namespace?: string;
|
|
36
|
+
definitions?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
37
|
+
properties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
38
|
+
items?: import("@formily/react").SchemaItems<any, any, any, any, any, any, any, any>;
|
|
39
|
+
additionalItems?: import("@formily/react").Stringify<any>;
|
|
40
|
+
patternProperties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
41
|
+
additionalProperties?: import("@formily/react").Stringify<any>;
|
|
42
|
+
"x-value"?: any;
|
|
43
|
+
"x-index"?: number;
|
|
44
|
+
"x-pattern"?: any;
|
|
45
|
+
"x-display"?: any;
|
|
46
|
+
"x-validator"?: any;
|
|
47
|
+
"x-decorator"?: any;
|
|
48
|
+
"x-decorator-props"?: any;
|
|
49
|
+
"x-component"?: any;
|
|
50
|
+
"x-component-props"?: any;
|
|
51
|
+
"x-reactions"?: import("@formily/react").SchemaReactions<any>;
|
|
52
|
+
"x-content"?: any;
|
|
53
|
+
"x-data"?: any;
|
|
54
|
+
"x-visible"?: boolean;
|
|
55
|
+
"x-hidden"?: boolean;
|
|
56
|
+
"x-disabled"?: boolean;
|
|
57
|
+
"x-editable"?: boolean;
|
|
58
|
+
"x-read-only"?: boolean;
|
|
59
|
+
"x-read-pretty"?: boolean;
|
|
60
|
+
"x-compile-omitted"?: string[];
|
|
61
|
+
}>;
|
|
62
|
+
export declare const collectionTableSchema: ISchema;
|
|
63
|
+
export declare const collectionCategorySchema: ISchema;
|
|
64
|
+
export declare const collectionCategoryEditSchema: ISchema;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Options, Result } from 'ahooks/es/useRequest/src/types';
|
|
2
|
+
import { TableProps } from 'antd';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
type TableVoidProps = TableProps<any> & {
|
|
5
|
+
request?: any;
|
|
6
|
+
useSelectedRowKeys?: any;
|
|
7
|
+
useDataSource?: (options?: Options<any, any> & {
|
|
8
|
+
uid?: string;
|
|
9
|
+
}, props?: any) => Result<any, any> & {
|
|
10
|
+
state?: any;
|
|
11
|
+
setState?: any;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export declare const CollectionFieldsTable: React.FC<TableVoidProps>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CollectionFieldInterface } from '@nocobase/client';
|
|
2
|
+
export declare const getOptions: (fieldInterfaces: Record<string, CollectionFieldInterface[]>, fieldGroups: Record<string, {
|
|
3
|
+
label: string;
|
|
4
|
+
order?: number;
|
|
5
|
+
}>) => {
|
|
6
|
+
key: string;
|
|
7
|
+
children: any[];
|
|
8
|
+
label: string;
|
|
9
|
+
order?: number;
|
|
10
|
+
}[];
|
|
11
|
+
export declare const useFieldInterfaceOptions: () => {
|
|
12
|
+
key: string;
|
|
13
|
+
children: any[];
|
|
14
|
+
label: string;
|
|
15
|
+
order?: number;
|
|
16
|
+
}[];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ISchema } from '@formily/react';
|
|
2
|
+
import type { CollectionOptions } from '@nocobase/client';
|
|
3
|
+
export declare const collection: CollectionOptions;
|
|
4
|
+
export declare const collectionSchema: ISchema;
|
|
5
|
+
export declare const collectionTableSchema: ISchema;
|
|
6
|
+
export declare const collectionCategorySchema: ISchema;
|
|
7
|
+
export declare const collectionCategoryEditSchema: ISchema;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const SettingCenterPermissionProvider: (props: any) => React.JSX.Element;
|
|
3
|
+
export declare const PermissionContext: React.Context<any>;
|
|
4
|
+
export declare const PermissionProvider: (props: any) => React.JSX.Element;
|
|
5
|
+
export declare const RoleRecordProvider: (props: any) => React.JSX.Element;
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
export declare const rolesResourcesScopesCollection: (dataSourceKey?: string) => {
|
|
2
|
+
name: string;
|
|
3
|
+
fields: {
|
|
4
|
+
type: string;
|
|
5
|
+
name: string;
|
|
6
|
+
interface: string;
|
|
7
|
+
uiSchema: import("@formily/react").Stringify<{
|
|
8
|
+
[key: symbol]: any;
|
|
9
|
+
[key: `x-${string}`]: any;
|
|
10
|
+
[key: `x-${number}`]: any;
|
|
11
|
+
version?: string;
|
|
12
|
+
name?: import("@formily/react").SchemaKey;
|
|
13
|
+
title?: any;
|
|
14
|
+
description?: any;
|
|
15
|
+
default?: any;
|
|
16
|
+
readOnly?: boolean;
|
|
17
|
+
writeOnly?: boolean;
|
|
18
|
+
type?: import("@formily/react").SchemaTypes;
|
|
19
|
+
enum?: import("@formily/react").SchemaEnum<any>;
|
|
20
|
+
const?: any;
|
|
21
|
+
multipleOf?: number;
|
|
22
|
+
maximum?: number;
|
|
23
|
+
exclusiveMaximum?: number;
|
|
24
|
+
minimum?: number;
|
|
25
|
+
exclusiveMinimum?: number;
|
|
26
|
+
maxLength?: number;
|
|
27
|
+
minLength?: number;
|
|
28
|
+
pattern?: string | RegExp;
|
|
29
|
+
maxItems?: number;
|
|
30
|
+
minItems?: number;
|
|
31
|
+
uniqueItems?: boolean;
|
|
32
|
+
maxProperties?: number;
|
|
33
|
+
minProperties?: number;
|
|
34
|
+
required?: string | boolean | string[];
|
|
35
|
+
format?: string;
|
|
36
|
+
$ref?: string;
|
|
37
|
+
$namespace?: string;
|
|
38
|
+
definitions?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
39
|
+
properties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
40
|
+
items?: import("@formily/react").SchemaItems<any, any, any, any, any, any, any, any>;
|
|
41
|
+
additionalItems?: import("@formily/react").Stringify<any>;
|
|
42
|
+
patternProperties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
43
|
+
additionalProperties?: import("@formily/react").Stringify<any>;
|
|
44
|
+
"x-value"?: any;
|
|
45
|
+
"x-index"?: number;
|
|
46
|
+
"x-pattern"?: any;
|
|
47
|
+
"x-display"?: any;
|
|
48
|
+
"x-validator"?: any;
|
|
49
|
+
"x-decorator"?: any;
|
|
50
|
+
"x-decorator-props"?: any;
|
|
51
|
+
"x-component"?: any;
|
|
52
|
+
"x-component-props"?: any;
|
|
53
|
+
"x-reactions"?: import("@formily/react").SchemaReactions<any>;
|
|
54
|
+
"x-content"?: any;
|
|
55
|
+
"x-data"?: any;
|
|
56
|
+
"x-visible"?: boolean;
|
|
57
|
+
"x-hidden"?: boolean;
|
|
58
|
+
"x-disabled"?: boolean;
|
|
59
|
+
"x-editable"?: boolean;
|
|
60
|
+
"x-read-only"?: boolean;
|
|
61
|
+
"x-read-pretty"?: boolean;
|
|
62
|
+
"x-compile-omitted"?: string[];
|
|
63
|
+
}>;
|
|
64
|
+
}[];
|
|
65
|
+
};
|
|
66
|
+
export declare const getScopesSchema: (dataSourceKey: any) => import("@formily/react").Stringify<{
|
|
67
|
+
[key: symbol]: any;
|
|
68
|
+
[key: `x-${string}`]: any;
|
|
69
|
+
[key: `x-${number}`]: any;
|
|
70
|
+
version?: string;
|
|
71
|
+
name?: import("@formily/react").SchemaKey;
|
|
72
|
+
title?: any;
|
|
73
|
+
description?: any;
|
|
74
|
+
default?: any;
|
|
75
|
+
readOnly?: boolean;
|
|
76
|
+
writeOnly?: boolean;
|
|
77
|
+
type?: import("@formily/react").SchemaTypes;
|
|
78
|
+
enum?: import("@formily/react").SchemaEnum<any>;
|
|
79
|
+
const?: any;
|
|
80
|
+
multipleOf?: number;
|
|
81
|
+
maximum?: number;
|
|
82
|
+
exclusiveMaximum?: number;
|
|
83
|
+
minimum?: number;
|
|
84
|
+
exclusiveMinimum?: number;
|
|
85
|
+
maxLength?: number;
|
|
86
|
+
minLength?: number;
|
|
87
|
+
pattern?: string | RegExp;
|
|
88
|
+
maxItems?: number;
|
|
89
|
+
minItems?: number;
|
|
90
|
+
uniqueItems?: boolean;
|
|
91
|
+
maxProperties?: number;
|
|
92
|
+
minProperties?: number;
|
|
93
|
+
required?: string | boolean | string[];
|
|
94
|
+
format?: string;
|
|
95
|
+
$ref?: string;
|
|
96
|
+
$namespace?: string;
|
|
97
|
+
definitions?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
98
|
+
properties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
99
|
+
items?: import("@formily/react").SchemaItems<any, any, any, any, any, any, any, any>;
|
|
100
|
+
additionalItems?: import("@formily/react").Stringify<any>;
|
|
101
|
+
patternProperties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
102
|
+
additionalProperties?: import("@formily/react").Stringify<any>;
|
|
103
|
+
"x-value"?: any;
|
|
104
|
+
"x-index"?: number;
|
|
105
|
+
"x-pattern"?: any;
|
|
106
|
+
"x-display"?: any;
|
|
107
|
+
"x-validator"?: any;
|
|
108
|
+
"x-decorator"?: any;
|
|
109
|
+
"x-decorator-props"?: any;
|
|
110
|
+
"x-component"?: any;
|
|
111
|
+
"x-component-props"?: any;
|
|
112
|
+
"x-reactions"?: import("@formily/react").SchemaReactions<any>;
|
|
113
|
+
"x-content"?: any;
|
|
114
|
+
"x-data"?: any;
|
|
115
|
+
"x-visible"?: boolean;
|
|
116
|
+
"x-hidden"?: boolean;
|
|
117
|
+
"x-disabled"?: boolean;
|
|
118
|
+
"x-editable"?: boolean;
|
|
119
|
+
"x-read-only"?: boolean;
|
|
120
|
+
"x-read-pretty"?: boolean;
|
|
121
|
+
"x-compile-omitted"?: string[];
|
|
122
|
+
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<import("antd-style").SerializedStyles>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getConnectionCollectionPath: (name: string | number) => string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Plugin } from '@nocobase/client';
|
|
2
|
+
export declare class PluginDataSourceManagerClient extends Plugin {
|
|
3
|
+
types: Map<any, any>;
|
|
4
|
+
load(): Promise<void>;
|
|
5
|
+
setDataSources(): Promise<any>;
|
|
6
|
+
getThirdDataSource(): Promise<any>;
|
|
7
|
+
registerType(name: string, options: any): void;
|
|
8
|
+
}
|
|
9
|
+
export default PluginDataSourceManagerClient;
|