@nocobase/plugin-data-source-manager 1.2.13-alpha → 1.3.0-alpha.20240710084543
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/package.json +2 -2
- package/dist/client/DatabaseConnectionProvider.d.ts +0 -11
- package/dist/client/ThridDataSource.d.ts +0 -12
- package/dist/client/component/BreadcumbTitle.d.ts +0 -10
- package/dist/client/component/CollectionsManager/AddFieldAction.d.ts +0 -13
- package/dist/client/component/CollectionsManager/CollectionFields.d.ts +0 -16
- package/dist/client/component/CollectionsManager/CollectionTitle.d.ts +0 -9
- package/dist/client/component/CollectionsManager/ConfigurationTable.d.ts +0 -10
- package/dist/client/component/CollectionsManager/ConfigurationTabs.d.ts +0 -10
- package/dist/client/component/CollectionsManager/EditCollectionAction.d.ts +0 -14
- package/dist/client/component/CollectionsManager/EditFieldAction.d.ts +0 -10
- package/dist/client/component/CollectionsManager/FilterTargetKeyAlert.d.ts +0 -12
- package/dist/client/component/CollectionsManager/SetFilterTargetKey.d.ts +0 -10
- package/dist/client/component/CollectionsManager/components/CollectionFieldInterfaceSelect.d.ts +0 -10
- package/dist/client/component/CollectionsManager/components/CollectionName.d.ts +0 -9
- package/dist/client/component/CollectionsManager/components/FieldTitleInput.d.ts +0 -10
- package/dist/client/component/CollectionsManager/components/FieldType.d.ts +0 -10
- package/dist/client/component/CollectionsManager/components/TitleField.d.ts +0 -10
- package/dist/client/component/CollectionsManager/components/UnSupportFields.d.ts +0 -10
- package/dist/client/component/CollectionsManager/components/index.d.ts +0 -14
- package/dist/client/component/CollectionsManager/hooks.d.ts +0 -20
- package/dist/client/component/CollectionsManager/index.d.ts +0 -10
- package/dist/client/component/CollectionsManager/schema/collectionFields.d.ts +0 -12
- package/dist/client/component/CollectionsManager/schema/collections.d.ts +0 -72
- package/dist/client/component/CreateDatabaseConnectAction.d.ts +0 -10
- package/dist/client/component/DatabaseConnectionManager.d.ts +0 -10
- package/dist/client/component/EditDatabaseConnectionAction.d.ts +0 -10
- package/dist/client/component/MainDataSourceManager/Configuration/AddCategoryAction.d.ts +0 -11
- package/dist/client/component/MainDataSourceManager/Configuration/CollectionFields.d.ts +0 -11
- package/dist/client/component/MainDataSourceManager/Configuration/ConfigurationTable.d.ts +0 -10
- package/dist/client/component/MainDataSourceManager/Configuration/ConfigurationTabs.d.ts +0 -10
- package/dist/client/component/MainDataSourceManager/Configuration/EditCategoryAction.d.ts +0 -11
- package/dist/client/component/MainDataSourceManager/Configuration/index.d.ts +0 -13
- package/dist/client/component/MainDataSourceManager/Configuration/interfaces.d.ts +0 -24
- package/dist/client/component/MainDataSourceManager/Configuration/schemas/collectionFields.d.ts +0 -10
- package/dist/client/component/MainDataSourceManager/Configuration/schemas/collections.d.ts +0 -15
- package/dist/client/component/MainDataSourceManager/index.d.ts +0 -10
- package/dist/client/component/PermissionManager/DataSourceTable.d.ts +0 -11
- package/dist/client/component/PermissionManager/PermisionProvider.d.ts +0 -13
- package/dist/client/component/PermissionManager/RoleConfigure.d.ts +0 -10
- package/dist/client/component/PermissionManager/RolesResourcesActions.d.ts +0 -11
- package/dist/client/component/PermissionManager/ScopeSelect.d.ts +0 -11
- package/dist/client/component/PermissionManager/StrategyActions.d.ts +0 -10
- package/dist/client/component/PermissionManager/index.d.ts +0 -11
- package/dist/client/component/PermissionManager/schemas/dataSourceTable.d.ts +0 -10
- package/dist/client/component/PermissionManager/schemas/roleCollections.d.ts +0 -10
- package/dist/client/component/PermissionManager/schemas/scopes.d.ts +0 -130
- package/dist/client/component/PermissionManager/schemas/useRoleResourceValues.d.ts +0 -16
- package/dist/client/component/PermissionManager/schemas/useSaveRoleResourceAction.d.ts +0 -11
- package/dist/client/component/PermissionManager/style.d.ts +0 -9
- package/dist/client/component/ViewDatabaseConnectionAction.d.ts +0 -10
- package/dist/client/constant.d.ts +0 -9
- package/dist/client/hooks/index.d.ts +0 -14
- package/dist/client/index.d.ts +0 -17
- package/dist/client/index.js +0 -59
- package/dist/client/locale/index.d.ts +0 -11
- package/dist/client/schema/index.d.ts +0 -15
- package/dist/externalVersion.js +0 -33
- package/dist/index.d.ts +0 -10
- package/dist/index.js +0 -48
- package/dist/locale/zh-CN.json +0 -40
- package/dist/server/collections/data-sources-collections.d.ts +0 -10
- package/dist/server/collections/data-sources-collections.js +0 -75
- package/dist/server/collections/data-sources-fields.d.ts +0 -10
- package/dist/server/collections/data-sources-fields.js +0 -96
- package/dist/server/collections/data-sources-roles-resources-actions.d.ts +0 -10
- package/dist/server/collections/data-sources-roles-resources-actions.js +0 -61
- package/dist/server/collections/data-sources-roles-resources-scopes.d.ts +0 -10
- package/dist/server/collections/data-sources-roles-resources-scopes.js +0 -65
- package/dist/server/collections/data-sources-roles-resources.d.ts +0 -10
- package/dist/server/collections/data-sources-roles-resources.js +0 -71
- package/dist/server/collections/data-sources-roles.d.ts +0 -10
- package/dist/server/collections/data-sources-roles.js +0 -63
- package/dist/server/collections/data-sources.d.ts +0 -10
- package/dist/server/collections/data-sources.js +0 -80
- package/dist/server/errors/type-infer-error.d.ts +0 -10
- package/dist/server/errors/type-infer-error.js +0 -37
- package/dist/server/index.d.ts +0 -10
- package/dist/server/index.js +0 -48
- package/dist/server/migrations/20240301164024-migrate-acl-resources.d.ts +0 -15
- package/dist/server/migrations/20240301164024-migrate-acl-resources.js +0 -127
- package/dist/server/migrations/20240414103927-update-snippet-name.d.ts +0 -14
- package/dist/server/migrations/20240414103927-update-snippet-name.js +0 -60
- package/dist/server/models/connections-roles-resources-action.d.ts +0 -11
- package/dist/server/models/connections-roles-resources-action.js +0 -38
- package/dist/server/models/connections-roles-resources.d.ts +0 -11
- package/dist/server/models/connections-roles-resources.js +0 -38
- package/dist/server/models/data-source.d.ts +0 -25
- package/dist/server/models/data-source.js +0 -173
- package/dist/server/models/data-sources-collection-model.d.ts +0 -15
- package/dist/server/models/data-sources-collection-model.js +0 -46
- package/dist/server/models/data-sources-field-model.d.ts +0 -18
- package/dist/server/models/data-sources-field-model.js +0 -63
- package/dist/server/models/data-sources-roles-model.d.ts +0 -17
- package/dist/server/models/data-sources-roles-model.js +0 -64
- package/dist/server/plugin.d.ts +0 -21
- package/dist/server/plugin.js +0 -443
- package/dist/server/resourcers/data-sources-collections-fields.d.ts +0 -19
- package/dist/server/resourcers/data-sources-collections-fields.js +0 -140
- package/dist/server/resourcers/data-sources-collections.d.ts +0 -16
- package/dist/server/resourcers/data-sources-collections.js +0 -115
- package/dist/server/resourcers/data-sources-resources.d.ts +0 -17
- package/dist/server/resourcers/data-sources-resources.js +0 -97
- package/dist/server/resourcers/data-sources-roles.d.ts +0 -16
- package/dist/server/resourcers/data-sources-roles.js +0 -98
- package/dist/server/resourcers/roles-data-sources-collections.d.ts +0 -15
- package/dist/server/resourcers/roles-data-sources-collections.js +0 -111
- package/dist/server/services/full-data-repository.d.ts +0 -16
- package/dist/server/services/full-data-repository.js +0 -60
- package/dist/server/services/type-interface-map.d.ts +0 -191
- package/dist/server/services/type-interface-map.js +0 -253
- package/dist/server/utils.d.ts +0 -9
- package/dist/server/utils.js +0 -47
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
export declare const CurrentRolesContext: React.Context<any>;
|
|
11
|
-
export declare const DataSourcePermissionManager: ({ role }: any) => React.JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import { ISchema } from '@formily/react';
|
|
10
|
-
export declare const dataSourceSchema: ISchema;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import { ISchema } from '@formily/react';
|
|
10
|
-
export declare const roleCollectionsSchema: ISchema;
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
export declare const rolesResourcesScopesCollection: (dataSourceKey?: string) => {
|
|
10
|
-
name: string;
|
|
11
|
-
fields: {
|
|
12
|
-
type: string;
|
|
13
|
-
name: string;
|
|
14
|
-
interface: string;
|
|
15
|
-
uiSchema: import("@formily/react").Stringify<{
|
|
16
|
-
[key: symbol]: any;
|
|
17
|
-
[key: `x-${string}`]: any;
|
|
18
|
-
[key: `x-${number}`]: any;
|
|
19
|
-
version?: string;
|
|
20
|
-
name?: import("@formily/react").SchemaKey;
|
|
21
|
-
title?: any;
|
|
22
|
-
description?: any;
|
|
23
|
-
default?: any;
|
|
24
|
-
readOnly?: boolean;
|
|
25
|
-
writeOnly?: boolean;
|
|
26
|
-
type?: import("@formily/react").SchemaTypes;
|
|
27
|
-
enum?: import("@formily/react").SchemaEnum<any>;
|
|
28
|
-
const?: any;
|
|
29
|
-
multipleOf?: number;
|
|
30
|
-
maximum?: number;
|
|
31
|
-
exclusiveMaximum?: number;
|
|
32
|
-
minimum?: number;
|
|
33
|
-
exclusiveMinimum?: number;
|
|
34
|
-
maxLength?: number;
|
|
35
|
-
minLength?: number;
|
|
36
|
-
pattern?: string | RegExp;
|
|
37
|
-
maxItems?: number;
|
|
38
|
-
minItems?: number;
|
|
39
|
-
uniqueItems?: boolean;
|
|
40
|
-
maxProperties?: number;
|
|
41
|
-
minProperties?: number;
|
|
42
|
-
required?: string | boolean | string[];
|
|
43
|
-
format?: string;
|
|
44
|
-
$ref?: string;
|
|
45
|
-
$namespace?: string;
|
|
46
|
-
definitions?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
47
|
-
properties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
48
|
-
items?: import("@formily/react").SchemaItems<any, any, any, any, any, any, any, any>;
|
|
49
|
-
additionalItems?: import("@formily/react").Stringify<any>;
|
|
50
|
-
patternProperties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
51
|
-
additionalProperties?: import("@formily/react").Stringify<any>;
|
|
52
|
-
"x-value"?: any;
|
|
53
|
-
"x-index"?: number;
|
|
54
|
-
"x-pattern"?: any;
|
|
55
|
-
"x-display"?: any;
|
|
56
|
-
"x-validator"?: any;
|
|
57
|
-
"x-decorator"?: any;
|
|
58
|
-
"x-decorator-props"?: any;
|
|
59
|
-
"x-component"?: any;
|
|
60
|
-
"x-component-props"?: any;
|
|
61
|
-
"x-reactions"?: import("@formily/react").SchemaReactions<any>;
|
|
62
|
-
"x-content"?: any;
|
|
63
|
-
"x-data"?: any;
|
|
64
|
-
"x-visible"?: boolean;
|
|
65
|
-
"x-hidden"?: boolean;
|
|
66
|
-
"x-disabled"?: boolean;
|
|
67
|
-
"x-editable"?: boolean;
|
|
68
|
-
"x-read-only"?: boolean;
|
|
69
|
-
"x-read-pretty"?: boolean;
|
|
70
|
-
"x-compile-omitted"?: string[];
|
|
71
|
-
}>;
|
|
72
|
-
}[];
|
|
73
|
-
};
|
|
74
|
-
export declare const getScopesSchema: (dataSourceKey: any) => import("@formily/react").Stringify<{
|
|
75
|
-
[key: symbol]: any;
|
|
76
|
-
[key: `x-${string}`]: any;
|
|
77
|
-
[key: `x-${number}`]: any;
|
|
78
|
-
version?: string;
|
|
79
|
-
name?: import("@formily/react").SchemaKey;
|
|
80
|
-
title?: any;
|
|
81
|
-
description?: any;
|
|
82
|
-
default?: any;
|
|
83
|
-
readOnly?: boolean;
|
|
84
|
-
writeOnly?: boolean;
|
|
85
|
-
type?: import("@formily/react").SchemaTypes;
|
|
86
|
-
enum?: import("@formily/react").SchemaEnum<any>;
|
|
87
|
-
const?: any;
|
|
88
|
-
multipleOf?: number;
|
|
89
|
-
maximum?: number;
|
|
90
|
-
exclusiveMaximum?: number;
|
|
91
|
-
minimum?: number;
|
|
92
|
-
exclusiveMinimum?: number;
|
|
93
|
-
maxLength?: number;
|
|
94
|
-
minLength?: number;
|
|
95
|
-
pattern?: string | RegExp;
|
|
96
|
-
maxItems?: number;
|
|
97
|
-
minItems?: number;
|
|
98
|
-
uniqueItems?: boolean;
|
|
99
|
-
maxProperties?: number;
|
|
100
|
-
minProperties?: number;
|
|
101
|
-
required?: string | boolean | string[];
|
|
102
|
-
format?: string;
|
|
103
|
-
$ref?: string;
|
|
104
|
-
$namespace?: string;
|
|
105
|
-
definitions?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
106
|
-
properties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
107
|
-
items?: import("@formily/react").SchemaItems<any, any, any, any, any, any, any, any>;
|
|
108
|
-
additionalItems?: import("@formily/react").Stringify<any>;
|
|
109
|
-
patternProperties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
110
|
-
additionalProperties?: import("@formily/react").Stringify<any>;
|
|
111
|
-
"x-value"?: any;
|
|
112
|
-
"x-index"?: number;
|
|
113
|
-
"x-pattern"?: any;
|
|
114
|
-
"x-display"?: any;
|
|
115
|
-
"x-validator"?: any;
|
|
116
|
-
"x-decorator"?: any;
|
|
117
|
-
"x-decorator-props"?: any;
|
|
118
|
-
"x-component"?: any;
|
|
119
|
-
"x-component-props"?: any;
|
|
120
|
-
"x-reactions"?: import("@formily/react").SchemaReactions<any>;
|
|
121
|
-
"x-content"?: any;
|
|
122
|
-
"x-data"?: any;
|
|
123
|
-
"x-visible"?: boolean;
|
|
124
|
-
"x-hidden"?: boolean;
|
|
125
|
-
"x-disabled"?: boolean;
|
|
126
|
-
"x-editable"?: boolean;
|
|
127
|
-
"x-read-only"?: boolean;
|
|
128
|
-
"x-read-pretty"?: boolean;
|
|
129
|
-
"x-compile-omitted"?: string[];
|
|
130
|
-
}>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
export declare const useRoleResourceValues: (options: any) => import("@nocobase/client").UseRequestResult<{
|
|
10
|
-
appends: string[];
|
|
11
|
-
filterByTk: any;
|
|
12
|
-
filter: {
|
|
13
|
-
dataSourceKey: any;
|
|
14
|
-
name: any;
|
|
15
|
-
};
|
|
16
|
-
}>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
export declare const useSaveRoleResourceAction: () => {
|
|
10
|
-
run(): Promise<void>;
|
|
11
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
export declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<import("antd-style").SerializedStyles>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
export declare const ViewDatabaseConnectionAction: () => React.JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
export declare const getConnectionCollectionPath: (name: string | number) => string;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
export declare const useCreateDatabaseServer: (handleDataServerChange: any) => {
|
|
10
|
-
run(): Promise<void>;
|
|
11
|
-
};
|
|
12
|
-
export declare const useTestConnectionAction: () => {
|
|
13
|
-
run(): Promise<void>;
|
|
14
|
-
};
|
package/dist/client/index.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import { Plugin } from '@nocobase/client';
|
|
10
|
-
export declare class PluginDataSourceManagerClient extends Plugin {
|
|
11
|
-
types: Map<any, any>;
|
|
12
|
-
load(): Promise<void>;
|
|
13
|
-
setDataSources(): Promise<any>;
|
|
14
|
-
getThirdDataSource(): Promise<any>;
|
|
15
|
-
registerType(name: string, options: any): void;
|
|
16
|
-
}
|
|
17
|
-
export default PluginDataSourceManagerClient;
|