@asksuite/askflow-app-sdk 0.2.1 → 0.2.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.
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { IContext, IEvent, IManifest, IResponseDynamicData, IResponseEvent } from "./types";
2
2
  export { AskflowUtils } from "./askflow-utils";
3
3
  export type { IContext, IEvent, IManifest, IOutputData, IResponseEvent, II18nData, IArgument, ISource, IQueryItem, IDependsOn, ISelectItem, IResponseDynamicData } from "./types";
4
- export { ArgumentTypeEnum, EventTypeEnum, EventTriggerEnum } from "./types";
4
+ export { ArgumentTypeEnum, IGroupFieldsValue, EventTypeEnum, EventTriggerEnum } from "./types";
5
5
  export { DefaultFieldEnum } from "./default-fields";
6
6
  export declare abstract class AppFlow {
7
7
  protected readonly context: IContext;
package/dist/types.d.ts CHANGED
@@ -12,6 +12,10 @@ export declare enum ArgumentTypeEnum {
12
12
  'date' = "date",
13
13
  'timestamp' = "timestamp"
14
14
  }
15
+ export interface IGroupFieldsValue {
16
+ fields: IArgument[];
17
+ value: Map<string, any>;
18
+ }
15
19
  export declare type II18nData = {
16
20
  pt_br?: string;
17
21
  en_us?: string;
@@ -89,6 +93,7 @@ export declare type IContext = {
89
93
  arguments: Map<string, any>;
90
94
  pushQueryItem: (item: IQueryItem) => Promise<boolean>;
91
95
  executionMode: 'default' | 'getMetadata';
96
+ trackData?: Map<string, any>;
92
97
  };
93
98
  export declare type IManifest = {
94
99
  key: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asksuite/askflow-app-sdk",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.m.js",
6
6
  "unpkg": "dist/index.umd.js",