@nocobase/plugin-workflow 1.7.0-beta.15 → 1.7.0-beta.17

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.
@@ -2,9 +2,17 @@ import React from 'react';
2
2
  export interface TaskTypeOptions {
3
3
  title: string;
4
4
  collection: string;
5
+ action: string;
5
6
  useActionParams: Function;
6
- component: React.ComponentType;
7
- extraActions?: React.ComponentType;
7
+ Actions?: React.ComponentType;
8
+ Item: React.ComponentType;
9
+ Detail: React.ComponentType;
8
10
  }
11
+ export declare const TASK_STATUS: {
12
+ ALL: string;
13
+ PENDING: string;
14
+ COMPLETED: string;
15
+ };
16
+ export declare function usePopupRecordContext(): any;
9
17
  export declare function WorkflowTasks(): React.JSX.Element;
10
- export declare const TasksProvider: (props: any) => React.JSX.Element;
18
+ export declare function TasksProvider(props: any): React.JSX.Element;
@@ -57,3 +57,4 @@ export { default as useStyles } from './style';
57
57
  export { Trigger, useTrigger } from './triggers';
58
58
  export * from './utils';
59
59
  export * from './variable';
60
+ export { TASK_STATUS, usePopupRecordContext } from './WorkflowTasks';