@nocobase/plugin-workflow-test 1.8.0-beta.2 → 1.8.0-beta.4

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.
@@ -8,11 +8,11 @@
8
8
  */
9
9
 
10
10
  module.exports = {
11
- "@nocobase/client": "1.8.0-beta.2",
12
- "@nocobase/utils": "1.8.0-beta.2",
11
+ "@nocobase/client": "1.8.0-beta.4",
12
+ "@nocobase/utils": "1.8.0-beta.4",
13
13
  "lodash": "4.17.21",
14
- "@nocobase/test": "1.8.0-beta.2",
15
- "@nocobase/server": "1.8.0-beta.2",
16
- "@nocobase/data-source-manager": "1.8.0-beta.2",
17
- "@nocobase/database": "1.8.0-beta.2"
14
+ "@nocobase/test": "1.8.0-beta.4",
15
+ "@nocobase/server": "1.8.0-beta.4",
16
+ "@nocobase/data-source-manager": "1.8.0-beta.4",
17
+ "@nocobase/database": "1.8.0-beta.4"
18
18
  };
@@ -7,14 +7,14 @@
7
7
  * For more information, please refer to: https://www.nocobase.com/agreement.
8
8
  */
9
9
  import { ApplicationOptions, Plugin } from '@nocobase/server';
10
- import { MockClusterOptions, MockServer } from '@nocobase/test';
10
+ import { MockClusterOptions, MockServer, MockServerOptions } from '@nocobase/test';
11
11
  export { sleep } from '@nocobase/test';
12
- interface WorkflowMockServerOptions extends ApplicationOptions {
12
+ type WorkflowMockServerOptions = ApplicationOptions & MockServerOptions & {
13
13
  collectionsPath?: string;
14
- }
15
- interface WorkflowMockClusterOptions extends MockClusterOptions {
14
+ };
15
+ type WorkflowMockClusterOptions = MockClusterOptions & {
16
16
  collectionsPath?: string;
17
- }
17
+ };
18
18
  export declare function getApp({ plugins, collectionsPath, ...options }?: WorkflowMockServerOptions): Promise<MockServer>;
19
19
  export declare function getCluster({ plugins, collectionsPath, ...options }: WorkflowMockClusterOptions): Promise<import("@nocobase/test").MockCluster>;
20
20
  export default class WorkflowTestPlugin extends Plugin {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@nocobase/plugin-workflow-test",
3
3
  "displayName": "Workflow: test kit",
4
4
  "displayName.zh-CN": "工作流:测试工具包",
5
- "version": "1.8.0-beta.2",
5
+ "version": "1.8.0-beta.4",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "dist/server/index.js",
8
8
  "types": "./dist/server/index.d.ts",
@@ -11,5 +11,5 @@
11
11
  "@nocobase/server": "1.x",
12
12
  "@nocobase/test": "1.x"
13
13
  },
14
- "gitHead": "3c7a3b9b7b1427f4804ce80a0eaddac33cf50b88"
14
+ "gitHead": "4c52f5736f8b2488ca0f7655f414ed5cefcd0d58"
15
15
  }