@nocobase/plugin-workflow 0.16.0-alpha.6 → 0.17.0-alpha.2

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.
@@ -1,2 +1,2 @@
1
1
  import React from 'react';
2
- export declare function CollectionBlockInitializer(props: any): React.JSX.Element;
2
+ export declare function CollectionBlockInitializer(): React.JSX.Element;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  export declare const ValueBlock: (() => JSX.Element) & {
3
- Initializer: (props: any) => JSX.Element;
3
+ Initializer: () => JSX.Element;
4
4
  Result: (props: any) => JSX.Element;
5
5
  };
@@ -1,10 +1,11 @@
1
- export * from './constants';
2
1
  export * from './Branch';
3
2
  export * from './FlowContext';
3
+ export * from './constants';
4
4
  export * from './nodes';
5
- export { triggers, useTrigger, getTriggersOptions } from './triggers';
6
- export * from './variable';
7
5
  export { default as useStyles } from './style';
6
+ export { getTriggersOptions, triggers, useTrigger } from './triggers';
7
+ export * from './variable';
8
+ export { getCollectionFieldOptions, useWorkflowVariableOptions } from './variable';
8
9
  import { Plugin } from '@nocobase/client';
9
10
  import { getTriggersOptions } from './triggers';
10
11
  export declare class WorkflowPlugin extends Plugin {
@@ -12,6 +13,7 @@ export declare class WorkflowPlugin extends Plugin {
12
13
  getTriggersOptions: typeof getTriggersOptions;
13
14
  instructions: any;
14
15
  load(): Promise<void>;
16
+ addSchemaInitializers(): void;
15
17
  addScopes(): void;
16
18
  addComponents(): void;
17
19
  addRoutes(): void;