@nocobase/plugin-data-source-manager 1.3.0-alpha.20240710084543 → 1.3.0-alpha.20240710155619
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/dist/client/DatabaseConnectionProvider.d.ts +11 -0
- package/dist/client/ThridDataSource.d.ts +12 -0
- package/dist/client/component/BreadcumbTitle.d.ts +10 -0
- package/dist/client/component/CollectionsManager/AddFieldAction.d.ts +13 -0
- package/dist/client/component/CollectionsManager/CollectionFields.d.ts +16 -0
- package/dist/client/component/CollectionsManager/CollectionTitle.d.ts +9 -0
- package/dist/client/component/CollectionsManager/ConfigurationTable.d.ts +10 -0
- package/dist/client/component/CollectionsManager/ConfigurationTabs.d.ts +10 -0
- package/dist/client/component/CollectionsManager/EditCollectionAction.d.ts +14 -0
- package/dist/client/component/CollectionsManager/EditFieldAction.d.ts +10 -0
- package/dist/client/component/CollectionsManager/FilterTargetKeyAlert.d.ts +12 -0
- package/dist/client/component/CollectionsManager/SetFilterTargetKey.d.ts +10 -0
- package/dist/client/component/CollectionsManager/components/CollectionFieldInterfaceSelect.d.ts +10 -0
- package/dist/client/component/CollectionsManager/components/CollectionName.d.ts +9 -0
- package/dist/client/component/CollectionsManager/components/FieldTitleInput.d.ts +10 -0
- package/dist/client/component/CollectionsManager/components/FieldType.d.ts +10 -0
- package/dist/client/component/CollectionsManager/components/TitleField.d.ts +10 -0
- package/dist/client/component/CollectionsManager/components/UnSupportFields.d.ts +10 -0
- package/dist/client/component/CollectionsManager/components/index.d.ts +14 -0
- package/dist/client/component/CollectionsManager/hooks.d.ts +20 -0
- package/dist/client/component/CollectionsManager/index.d.ts +10 -0
- package/dist/client/component/CollectionsManager/schema/collectionFields.d.ts +12 -0
- package/dist/client/component/CollectionsManager/schema/collections.d.ts +72 -0
- package/dist/client/component/CreateDatabaseConnectAction.d.ts +10 -0
- package/dist/client/component/DatabaseConnectionManager.d.ts +10 -0
- package/dist/client/component/EditDatabaseConnectionAction.d.ts +10 -0
- package/dist/client/component/MainDataSourceManager/Configuration/AddCategoryAction.d.ts +11 -0
- package/dist/client/component/MainDataSourceManager/Configuration/CollectionFields.d.ts +11 -0
- package/dist/client/component/MainDataSourceManager/Configuration/ConfigurationTable.d.ts +10 -0
- package/dist/client/component/MainDataSourceManager/Configuration/ConfigurationTabs.d.ts +10 -0
- package/dist/client/component/MainDataSourceManager/Configuration/EditCategoryAction.d.ts +11 -0
- package/dist/client/component/MainDataSourceManager/Configuration/index.d.ts +13 -0
- package/dist/client/component/MainDataSourceManager/Configuration/interfaces.d.ts +24 -0
- package/dist/client/component/MainDataSourceManager/Configuration/schemas/collectionFields.d.ts +10 -0
- package/dist/client/component/MainDataSourceManager/Configuration/schemas/collections.d.ts +15 -0
- package/dist/client/component/MainDataSourceManager/index.d.ts +10 -0
- package/dist/client/component/PermissionManager/DataSourceTable.d.ts +11 -0
- package/dist/client/component/PermissionManager/PermisionProvider.d.ts +13 -0
- package/dist/client/component/PermissionManager/RoleConfigure.d.ts +10 -0
- package/dist/client/component/PermissionManager/RolesResourcesActions.d.ts +11 -0
- package/dist/client/component/PermissionManager/ScopeSelect.d.ts +11 -0
- package/dist/client/component/PermissionManager/StrategyActions.d.ts +10 -0
- package/dist/client/component/PermissionManager/index.d.ts +11 -0
- package/dist/client/component/PermissionManager/schemas/dataSourceTable.d.ts +10 -0
- package/dist/client/component/PermissionManager/schemas/roleCollections.d.ts +10 -0
- package/dist/client/component/PermissionManager/schemas/scopes.d.ts +130 -0
- package/dist/client/component/PermissionManager/schemas/useRoleResourceValues.d.ts +16 -0
- package/dist/client/component/PermissionManager/schemas/useSaveRoleResourceAction.d.ts +11 -0
- package/dist/client/component/PermissionManager/style.d.ts +9 -0
- package/dist/client/component/ViewDatabaseConnectionAction.d.ts +10 -0
- package/dist/client/constant.d.ts +9 -0
- package/dist/client/hooks/index.d.ts +14 -0
- package/dist/client/index.d.ts +17 -0
- package/dist/client/index.js +59 -0
- package/dist/client/locale/index.d.ts +11 -0
- package/dist/client/schema/index.d.ts +15 -0
- package/dist/externalVersion.js +33 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +48 -0
- package/dist/locale/zh-CN.json +40 -0
- package/dist/server/collections/data-sources-collections.d.ts +10 -0
- package/dist/server/collections/data-sources-collections.js +75 -0
- package/dist/server/collections/data-sources-fields.d.ts +10 -0
- package/dist/server/collections/data-sources-fields.js +96 -0
- package/dist/server/collections/data-sources-roles-resources-actions.d.ts +10 -0
- package/dist/server/collections/data-sources-roles-resources-actions.js +61 -0
- package/dist/server/collections/data-sources-roles-resources-scopes.d.ts +10 -0
- package/dist/server/collections/data-sources-roles-resources-scopes.js +65 -0
- package/dist/server/collections/data-sources-roles-resources.d.ts +10 -0
- package/dist/server/collections/data-sources-roles-resources.js +71 -0
- package/dist/server/collections/data-sources-roles.d.ts +10 -0
- package/dist/server/collections/data-sources-roles.js +63 -0
- package/dist/server/collections/data-sources.d.ts +10 -0
- package/dist/server/collections/data-sources.js +80 -0
- package/dist/server/errors/type-infer-error.d.ts +10 -0
- package/dist/server/errors/type-infer-error.js +37 -0
- package/dist/server/index.d.ts +10 -0
- package/dist/server/index.js +48 -0
- package/dist/server/migrations/20240301164024-migrate-acl-resources.d.ts +15 -0
- package/dist/server/migrations/20240301164024-migrate-acl-resources.js +127 -0
- package/dist/server/migrations/20240414103927-update-snippet-name.d.ts +14 -0
- package/dist/server/migrations/20240414103927-update-snippet-name.js +60 -0
- package/dist/server/models/connections-roles-resources-action.d.ts +11 -0
- package/dist/server/models/connections-roles-resources-action.js +38 -0
- package/dist/server/models/connections-roles-resources.d.ts +11 -0
- package/dist/server/models/connections-roles-resources.js +38 -0
- package/dist/server/models/data-source.d.ts +25 -0
- package/dist/server/models/data-source.js +173 -0
- package/dist/server/models/data-sources-collection-model.d.ts +15 -0
- package/dist/server/models/data-sources-collection-model.js +46 -0
- package/dist/server/models/data-sources-field-model.d.ts +18 -0
- package/dist/server/models/data-sources-field-model.js +63 -0
- package/dist/server/models/data-sources-roles-model.d.ts +17 -0
- package/dist/server/models/data-sources-roles-model.js +64 -0
- package/dist/server/plugin.d.ts +21 -0
- package/dist/server/plugin.js +443 -0
- package/dist/server/resourcers/data-sources-collections-fields.d.ts +19 -0
- package/dist/server/resourcers/data-sources-collections-fields.js +140 -0
- package/dist/server/resourcers/data-sources-collections.d.ts +16 -0
- package/dist/server/resourcers/data-sources-collections.js +115 -0
- package/dist/server/resourcers/data-sources-resources.d.ts +17 -0
- package/dist/server/resourcers/data-sources-resources.js +97 -0
- package/dist/server/resourcers/data-sources-roles.d.ts +16 -0
- package/dist/server/resourcers/data-sources-roles.js +98 -0
- package/dist/server/resourcers/roles-data-sources-collections.d.ts +15 -0
- package/dist/server/resourcers/roles-data-sources-collections.js +111 -0
- package/dist/server/services/full-data-repository.d.ts +16 -0
- package/dist/server/services/full-data-repository.js +60 -0
- package/dist/server/services/type-interface-map.d.ts +202 -0
- package/dist/server/services/type-interface-map.js +267 -0
- package/dist/server/utils.d.ts +9 -0
- package/dist/server/utils.js +47 -0
- package/package.json +2 -2
|
@@ -0,0 +1,11 @@
|
|
|
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, { FC } from 'react';
|
|
10
|
+
export declare const DataSourceContext: React.Context<any>;
|
|
11
|
+
export declare const DatabaseConnectionProvider: FC;
|
|
@@ -0,0 +1,12 @@
|
|
|
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 { DataSourceOptions, DataSource } from '@nocobase/client';
|
|
10
|
+
export declare class ThirdDataSource extends DataSource {
|
|
11
|
+
getDataSource(): Promise<DataSourceOptions>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
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 BreadcumbTitle: () => React.JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
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 useCollectionFieldFormValues: () => {
|
|
11
|
+
getValues(): any;
|
|
12
|
+
};
|
|
13
|
+
export declare const AddCollectionField: (props: any) => React.JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
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 { Collection } from '@nocobase/client';
|
|
10
|
+
import React from 'react';
|
|
11
|
+
export declare const useRemoteCollectionContext: () => {
|
|
12
|
+
targetCollection: Collection;
|
|
13
|
+
refreshRM: Function;
|
|
14
|
+
titleField: string;
|
|
15
|
+
};
|
|
16
|
+
export declare const CollectionFields: () => React.JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
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 CollectionTitle: (props: any) => any;
|
|
@@ -0,0 +1,10 @@
|
|
|
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 ConfigurationTable: () => React.JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
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 ConfigurationTabs: () => React.JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
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 useValuesFromRecord: (options: any) => import("@nocobase/client").UseRequestResult<unknown>;
|
|
11
|
+
export declare const useUpdateCollectionActionAndRefreshCM: (options: any) => {
|
|
12
|
+
run(): Promise<void>;
|
|
13
|
+
};
|
|
14
|
+
export declare const EditCollection: (props: any) => React.JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
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 EditCollectionField: (props: any) => React.JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
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 FilterTargetKeyAlert: ({ collectionName }: {
|
|
11
|
+
collectionName: any;
|
|
12
|
+
}) => React.JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
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 SetFilterTargetKey: (props: any) => React.JSX.Element;
|
package/dist/client/component/CollectionsManager/components/CollectionFieldInterfaceSelect.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
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 CollectionFieldInterfaceSelect: React.MemoExoticComponent<import("@formily/react").ReactFC<Omit<any, "ref">>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
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 CollectionName: any;
|
|
@@ -0,0 +1,10 @@
|
|
|
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 FieldTitleInput: React.MemoExoticComponent<import("@formily/react").ReactFC<Omit<any, "ref">>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
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 FieldType: React.MemoExoticComponent<import("@formily/react").ReactFC<Omit<any, "ref">>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
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 TitleField: React.FunctionComponent<any>;
|
|
@@ -0,0 +1,10 @@
|
|
|
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 UnSupportFields: () => React.JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
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 SourceKey: React.MemoExoticComponent<import("@formily/react").ReactFC<Omit<any, "ref">>>;
|
|
11
|
+
export declare const ForeignKey: React.MemoExoticComponent<import("@formily/react").ReactFC<Omit<any, "ref">>>;
|
|
12
|
+
export declare const TargetKey: React.MemoExoticComponent<import("@formily/react").ReactFC<Omit<any, "ref">>>;
|
|
13
|
+
export declare const SourceCollection: React.MemoExoticComponent<import("@formily/react").ReactFC<unknown>>;
|
|
14
|
+
export declare const ThroughCollection: React.MemoExoticComponent<import("@formily/react").ReactFC<Omit<any, "ref">>>;
|
|
@@ -0,0 +1,20 @@
|
|
|
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 useDestroyAction: () => {
|
|
10
|
+
run(): Promise<void>;
|
|
11
|
+
};
|
|
12
|
+
export declare const useBulkDestroyAction: () => {
|
|
13
|
+
run(): Promise<boolean>;
|
|
14
|
+
};
|
|
15
|
+
export declare const useBulkDestroyActionAndRefreshCM: () => {
|
|
16
|
+
run(): Promise<void>;
|
|
17
|
+
};
|
|
18
|
+
export declare const useDestroyActionAndRefreshCM: () => {
|
|
19
|
+
run(): Promise<void>;
|
|
20
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
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 CollectionManagerPage: () => React.JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
import { CollectionOptions } from '@nocobase/client';
|
|
11
|
+
export declare const collection: CollectionOptions;
|
|
12
|
+
export declare const fieldsTableSchema: ISchema;
|
|
@@ -0,0 +1,72 @@
|
|
|
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
|
+
import { CollectionOptions } from '@nocobase/client';
|
|
11
|
+
export declare const compile: (source: any) => any;
|
|
12
|
+
export declare const collection: CollectionOptions;
|
|
13
|
+
export declare const getCollectionSchema: (dataSourceKey: any) => import("@formily/react").Stringify<{
|
|
14
|
+
[key: symbol]: any;
|
|
15
|
+
[key: `x-${string}`]: any;
|
|
16
|
+
[key: `x-${number}`]: any;
|
|
17
|
+
version?: string;
|
|
18
|
+
name?: import("@formily/react").SchemaKey;
|
|
19
|
+
title?: any;
|
|
20
|
+
description?: any;
|
|
21
|
+
default?: any;
|
|
22
|
+
readOnly?: boolean;
|
|
23
|
+
writeOnly?: boolean;
|
|
24
|
+
type?: import("@formily/react").SchemaTypes;
|
|
25
|
+
enum?: import("@formily/react").SchemaEnum<any>;
|
|
26
|
+
const?: any;
|
|
27
|
+
multipleOf?: number;
|
|
28
|
+
maximum?: number;
|
|
29
|
+
exclusiveMaximum?: number;
|
|
30
|
+
minimum?: number;
|
|
31
|
+
exclusiveMinimum?: number;
|
|
32
|
+
maxLength?: number;
|
|
33
|
+
minLength?: number;
|
|
34
|
+
pattern?: string | RegExp;
|
|
35
|
+
maxItems?: number;
|
|
36
|
+
minItems?: number;
|
|
37
|
+
uniqueItems?: boolean;
|
|
38
|
+
maxProperties?: number;
|
|
39
|
+
minProperties?: number;
|
|
40
|
+
required?: string | boolean | string[];
|
|
41
|
+
format?: string;
|
|
42
|
+
$ref?: string;
|
|
43
|
+
$namespace?: string;
|
|
44
|
+
definitions?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
45
|
+
properties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
46
|
+
items?: import("@formily/react").SchemaItems<any, any, any, any, any, any, any, any>;
|
|
47
|
+
additionalItems?: import("@formily/react").Stringify<any>;
|
|
48
|
+
patternProperties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
49
|
+
additionalProperties?: import("@formily/react").Stringify<any>;
|
|
50
|
+
"x-value"?: any;
|
|
51
|
+
"x-index"?: number;
|
|
52
|
+
"x-pattern"?: any;
|
|
53
|
+
"x-display"?: any;
|
|
54
|
+
"x-validator"?: any;
|
|
55
|
+
"x-decorator"?: any;
|
|
56
|
+
"x-decorator-props"?: any;
|
|
57
|
+
"x-component"?: any;
|
|
58
|
+
"x-component-props"?: any;
|
|
59
|
+
"x-reactions"?: import("@formily/react").SchemaReactions<any>;
|
|
60
|
+
"x-content"?: any;
|
|
61
|
+
"x-data"?: any;
|
|
62
|
+
"x-visible"?: boolean;
|
|
63
|
+
"x-hidden"?: boolean;
|
|
64
|
+
"x-disabled"?: boolean;
|
|
65
|
+
"x-editable"?: boolean;
|
|
66
|
+
"x-read-only"?: boolean;
|
|
67
|
+
"x-read-pretty"?: boolean;
|
|
68
|
+
"x-compile-omitted"?: string[];
|
|
69
|
+
}>;
|
|
70
|
+
export declare const collectionTableSchema: ISchema;
|
|
71
|
+
export declare const collectionCategorySchema: ISchema;
|
|
72
|
+
export declare const collectionCategoryEditSchema: ISchema;
|
|
@@ -0,0 +1,10 @@
|
|
|
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 CreateDatabaseConnectAction: () => React.JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
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 DatabaseConnectionManagerPane: () => React.JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
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 EditDatabaseConnectionAction: () => React.JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
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 AddCategory: (props: any) => React.JSX.Element;
|
|
11
|
+
export declare const AddCategoryAction: (props: any) => React.JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
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 CollectionListContext: React.Context<any>;
|
|
11
|
+
export declare const CollectionFields: () => React.JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
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 ConfigurationTable: () => React.JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
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 ConfigurationTabs: () => React.JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
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 EditCategory: (props: any) => React.JSX.Element;
|
|
11
|
+
export declare const EditCategoryAction: (props: any) => React.JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
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 * from './ConfigurationTable';
|
|
10
|
+
export * from './schemas/collections';
|
|
11
|
+
export * from './ConfigurationTabs';
|
|
12
|
+
export * from './AddCategoryAction';
|
|
13
|
+
export * from './EditCategoryAction';
|
|
@@ -0,0 +1,24 @@
|
|
|
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 { CollectionFieldInterface } from '@nocobase/client';
|
|
10
|
+
export declare const getOptions: (fieldInterfaces: Record<string, CollectionFieldInterface[]>, fieldGroups: Record<string, {
|
|
11
|
+
label: string;
|
|
12
|
+
order?: number;
|
|
13
|
+
}>) => {
|
|
14
|
+
key: string;
|
|
15
|
+
children: any[];
|
|
16
|
+
label: string;
|
|
17
|
+
order?: number;
|
|
18
|
+
}[];
|
|
19
|
+
export declare const useFieldInterfaceOptions: () => {
|
|
20
|
+
key: string;
|
|
21
|
+
children: any[];
|
|
22
|
+
label: string;
|
|
23
|
+
order?: number;
|
|
24
|
+
}[];
|
package/dist/client/component/MainDataSourceManager/Configuration/schemas/collectionFields.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
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 { CollectionOptions } from '@nocobase/client';
|
|
10
|
+
export declare const collection: CollectionOptions;
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
import type { CollectionOptions } from '@nocobase/client';
|
|
11
|
+
export declare const collection: CollectionOptions;
|
|
12
|
+
export declare const collectionSchema: ISchema;
|
|
13
|
+
export declare const collectionTableSchema: ISchema;
|
|
14
|
+
export declare const collectionCategorySchema: ISchema;
|
|
15
|
+
export declare const collectionCategoryEditSchema: ISchema;
|
|
@@ -0,0 +1,10 @@
|
|
|
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 MainDataSourceManager: () => React.JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
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 useAvailableActions: () => any[];
|
|
11
|
+
export declare const DataSourceTable: () => React.JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
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 SettingCenterPermissionProvider: (props: any) => React.JSX.Element;
|
|
11
|
+
export declare const PermissionContext: React.Context<any>;
|
|
12
|
+
export declare const PermissionProvider: (props: any) => React.JSX.Element;
|
|
13
|
+
export declare const RoleRecordProvider: (props: any) => React.JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
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 RoleConfigure: () => React.JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
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 RoleResourceCollectionContext: React.Context<any>;
|
|
11
|
+
export declare const RolesResourcesActions: React.ForwardRefExoticComponent<Omit<Partial<any>, "ref"> & React.RefAttributes<unknown>>;
|
|
@@ -0,0 +1,11 @@
|
|
|
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 useRolesResourcesScopesSelectedRowKeys: () => any;
|
|
11
|
+
export declare const ScopeSelect: (props: any) => React.JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
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 StrategyActions: React.ForwardRefExoticComponent<Omit<Partial<any>, "ref"> & React.RefAttributes<unknown>>;
|
|
@@ -0,0 +1,11 @@
|
|
|
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;
|
|
@@ -0,0 +1,10 @@
|
|
|
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;
|