@nocobase/plugin-data-source-manager 1.2.12-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.
Files changed (113) hide show
  1. package/package.json +2 -2
  2. package/dist/client/DatabaseConnectionProvider.d.ts +0 -11
  3. package/dist/client/ThridDataSource.d.ts +0 -12
  4. package/dist/client/component/BreadcumbTitle.d.ts +0 -10
  5. package/dist/client/component/CollectionsManager/AddFieldAction.d.ts +0 -13
  6. package/dist/client/component/CollectionsManager/CollectionFields.d.ts +0 -16
  7. package/dist/client/component/CollectionsManager/CollectionTitle.d.ts +0 -9
  8. package/dist/client/component/CollectionsManager/ConfigurationTable.d.ts +0 -10
  9. package/dist/client/component/CollectionsManager/ConfigurationTabs.d.ts +0 -10
  10. package/dist/client/component/CollectionsManager/EditCollectionAction.d.ts +0 -14
  11. package/dist/client/component/CollectionsManager/EditFieldAction.d.ts +0 -10
  12. package/dist/client/component/CollectionsManager/FilterTargetKeyAlert.d.ts +0 -12
  13. package/dist/client/component/CollectionsManager/SetFilterTargetKey.d.ts +0 -10
  14. package/dist/client/component/CollectionsManager/components/CollectionFieldInterfaceSelect.d.ts +0 -10
  15. package/dist/client/component/CollectionsManager/components/CollectionName.d.ts +0 -9
  16. package/dist/client/component/CollectionsManager/components/FieldTitleInput.d.ts +0 -10
  17. package/dist/client/component/CollectionsManager/components/FieldType.d.ts +0 -10
  18. package/dist/client/component/CollectionsManager/components/TitleField.d.ts +0 -10
  19. package/dist/client/component/CollectionsManager/components/UnSupportFields.d.ts +0 -10
  20. package/dist/client/component/CollectionsManager/components/index.d.ts +0 -14
  21. package/dist/client/component/CollectionsManager/hooks.d.ts +0 -20
  22. package/dist/client/component/CollectionsManager/index.d.ts +0 -10
  23. package/dist/client/component/CollectionsManager/schema/collectionFields.d.ts +0 -12
  24. package/dist/client/component/CollectionsManager/schema/collections.d.ts +0 -72
  25. package/dist/client/component/CreateDatabaseConnectAction.d.ts +0 -10
  26. package/dist/client/component/DatabaseConnectionManager.d.ts +0 -10
  27. package/dist/client/component/EditDatabaseConnectionAction.d.ts +0 -10
  28. package/dist/client/component/MainDataSourceManager/Configuration/AddCategoryAction.d.ts +0 -11
  29. package/dist/client/component/MainDataSourceManager/Configuration/CollectionFields.d.ts +0 -11
  30. package/dist/client/component/MainDataSourceManager/Configuration/ConfigurationTable.d.ts +0 -10
  31. package/dist/client/component/MainDataSourceManager/Configuration/ConfigurationTabs.d.ts +0 -10
  32. package/dist/client/component/MainDataSourceManager/Configuration/EditCategoryAction.d.ts +0 -11
  33. package/dist/client/component/MainDataSourceManager/Configuration/index.d.ts +0 -13
  34. package/dist/client/component/MainDataSourceManager/Configuration/interfaces.d.ts +0 -24
  35. package/dist/client/component/MainDataSourceManager/Configuration/schemas/collectionFields.d.ts +0 -10
  36. package/dist/client/component/MainDataSourceManager/Configuration/schemas/collections.d.ts +0 -15
  37. package/dist/client/component/MainDataSourceManager/index.d.ts +0 -10
  38. package/dist/client/component/PermissionManager/DataSourceTable.d.ts +0 -11
  39. package/dist/client/component/PermissionManager/PermisionProvider.d.ts +0 -13
  40. package/dist/client/component/PermissionManager/RoleConfigure.d.ts +0 -10
  41. package/dist/client/component/PermissionManager/RolesResourcesActions.d.ts +0 -11
  42. package/dist/client/component/PermissionManager/ScopeSelect.d.ts +0 -11
  43. package/dist/client/component/PermissionManager/StrategyActions.d.ts +0 -10
  44. package/dist/client/component/PermissionManager/index.d.ts +0 -11
  45. package/dist/client/component/PermissionManager/schemas/dataSourceTable.d.ts +0 -10
  46. package/dist/client/component/PermissionManager/schemas/roleCollections.d.ts +0 -10
  47. package/dist/client/component/PermissionManager/schemas/scopes.d.ts +0 -130
  48. package/dist/client/component/PermissionManager/schemas/useRoleResourceValues.d.ts +0 -16
  49. package/dist/client/component/PermissionManager/schemas/useSaveRoleResourceAction.d.ts +0 -11
  50. package/dist/client/component/PermissionManager/style.d.ts +0 -9
  51. package/dist/client/component/ViewDatabaseConnectionAction.d.ts +0 -10
  52. package/dist/client/constant.d.ts +0 -9
  53. package/dist/client/hooks/index.d.ts +0 -14
  54. package/dist/client/index.d.ts +0 -17
  55. package/dist/client/index.js +0 -59
  56. package/dist/client/locale/index.d.ts +0 -11
  57. package/dist/client/schema/index.d.ts +0 -15
  58. package/dist/externalVersion.js +0 -33
  59. package/dist/index.d.ts +0 -10
  60. package/dist/index.js +0 -48
  61. package/dist/locale/zh-CN.json +0 -40
  62. package/dist/server/collections/data-sources-collections.d.ts +0 -10
  63. package/dist/server/collections/data-sources-collections.js +0 -75
  64. package/dist/server/collections/data-sources-fields.d.ts +0 -10
  65. package/dist/server/collections/data-sources-fields.js +0 -96
  66. package/dist/server/collections/data-sources-roles-resources-actions.d.ts +0 -10
  67. package/dist/server/collections/data-sources-roles-resources-actions.js +0 -61
  68. package/dist/server/collections/data-sources-roles-resources-scopes.d.ts +0 -10
  69. package/dist/server/collections/data-sources-roles-resources-scopes.js +0 -65
  70. package/dist/server/collections/data-sources-roles-resources.d.ts +0 -10
  71. package/dist/server/collections/data-sources-roles-resources.js +0 -71
  72. package/dist/server/collections/data-sources-roles.d.ts +0 -10
  73. package/dist/server/collections/data-sources-roles.js +0 -63
  74. package/dist/server/collections/data-sources.d.ts +0 -10
  75. package/dist/server/collections/data-sources.js +0 -80
  76. package/dist/server/errors/type-infer-error.d.ts +0 -10
  77. package/dist/server/errors/type-infer-error.js +0 -37
  78. package/dist/server/index.d.ts +0 -10
  79. package/dist/server/index.js +0 -48
  80. package/dist/server/migrations/20240301164024-migrate-acl-resources.d.ts +0 -15
  81. package/dist/server/migrations/20240301164024-migrate-acl-resources.js +0 -127
  82. package/dist/server/migrations/20240414103927-update-snippet-name.d.ts +0 -14
  83. package/dist/server/migrations/20240414103927-update-snippet-name.js +0 -60
  84. package/dist/server/models/connections-roles-resources-action.d.ts +0 -11
  85. package/dist/server/models/connections-roles-resources-action.js +0 -38
  86. package/dist/server/models/connections-roles-resources.d.ts +0 -11
  87. package/dist/server/models/connections-roles-resources.js +0 -38
  88. package/dist/server/models/data-source.d.ts +0 -25
  89. package/dist/server/models/data-source.js +0 -173
  90. package/dist/server/models/data-sources-collection-model.d.ts +0 -15
  91. package/dist/server/models/data-sources-collection-model.js +0 -46
  92. package/dist/server/models/data-sources-field-model.d.ts +0 -18
  93. package/dist/server/models/data-sources-field-model.js +0 -63
  94. package/dist/server/models/data-sources-roles-model.d.ts +0 -17
  95. package/dist/server/models/data-sources-roles-model.js +0 -64
  96. package/dist/server/plugin.d.ts +0 -21
  97. package/dist/server/plugin.js +0 -443
  98. package/dist/server/resourcers/data-sources-collections-fields.d.ts +0 -19
  99. package/dist/server/resourcers/data-sources-collections-fields.js +0 -140
  100. package/dist/server/resourcers/data-sources-collections.d.ts +0 -16
  101. package/dist/server/resourcers/data-sources-collections.js +0 -115
  102. package/dist/server/resourcers/data-sources-resources.d.ts +0 -17
  103. package/dist/server/resourcers/data-sources-resources.js +0 -97
  104. package/dist/server/resourcers/data-sources-roles.d.ts +0 -16
  105. package/dist/server/resourcers/data-sources-roles.js +0 -98
  106. package/dist/server/resourcers/roles-data-sources-collections.d.ts +0 -15
  107. package/dist/server/resourcers/roles-data-sources-collections.js +0 -111
  108. package/dist/server/services/full-data-repository.d.ts +0 -16
  109. package/dist/server/services/full-data-repository.js +0 -60
  110. package/dist/server/services/type-interface-map.d.ts +0 -191
  111. package/dist/server/services/type-interface-map.js +0 -253
  112. package/dist/server/utils.d.ts +0 -9
  113. 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
- };
@@ -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;