@asksuite/askflow-app-sdk 0.4.1 → 0.4.3
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/types.d.ts +13 -0
- 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
|
+
authValidationResultList: IAuthValidationResult[];
|
|
188
|
+
updatedAuthDataMap: {
|
|
189
|
+
[key: string]: IAuth;
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
export interface ILastQueryResult {
|
|
193
|
+
queryResult: IQueryResult;
|
|
194
|
+
updatedAt: string;
|
|
195
|
+
}
|