@asksuite/askflow-app-sdk 0.4.1 → 0.4.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.
Files changed (2) hide show
  1. package/dist/types.d.ts +13 -0
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -97,6 +97,7 @@ export declare type IContext = {
97
97
  pushAuthValidationResult: (result: IAuthValidationResult) => Promise<boolean>;
98
98
  executionMode: 'default' | 'getMetadata';
99
99
  trackData?: Map<string, any>;
100
+ lastQueryResult?: ILastQueryResult;
100
101
  };
101
102
  export declare type IAuth = {
102
103
  oAuth2: {
@@ -180,3 +181,15 @@ export declare type IResponseDynamicData = {
180
181
  success: false;
181
182
  error: string;
182
183
  };
184
+ export interface IQueryResult {
185
+ items: IQueryItem[];
186
+ eventResult?: IResponseEvent;
187
+ authValidationResults: IAuthValidationResult[];
188
+ updatedAuthDataMap: {
189
+ [key: string]: IAuth;
190
+ };
191
+ }
192
+ export interface ILastQueryResult {
193
+ queryResult: IQueryResult;
194
+ updatedAt: string;
195
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asksuite/askflow-app-sdk",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.m.js",
6
6
  "unpkg": "dist/index.umd.js",