@asksuite/askflow-app-sdk 0.9.0 → 0.9.1
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 +20 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -117,6 +117,7 @@ export declare type IWorkflowDetails = {
|
|
|
117
117
|
description: II18nData;
|
|
118
118
|
dashboardTopics: IDashboardTopic[];
|
|
119
119
|
helpCenterUrl?: II18nData;
|
|
120
|
+
infoBlocks?: IBlock[];
|
|
120
121
|
};
|
|
121
122
|
export declare type IDashboardTopic = {
|
|
122
123
|
title: II18nData;
|
|
@@ -260,6 +261,25 @@ export interface ILastQueryResult {
|
|
|
260
261
|
queryResult: IQueryResult;
|
|
261
262
|
updatedAt: string;
|
|
262
263
|
}
|
|
264
|
+
export type Layout = {
|
|
265
|
+
column_span: number;
|
|
266
|
+
backgroundColor?: string;
|
|
267
|
+
};
|
|
268
|
+
export type InfoItem = {
|
|
269
|
+
item_id: string;
|
|
270
|
+
iconPath: string;
|
|
271
|
+
labelI18n: II18nData;
|
|
272
|
+
valueI18n?: II18nData;
|
|
273
|
+
valueHTML?: II18nData;
|
|
274
|
+
layout: Layout;
|
|
275
|
+
};
|
|
276
|
+
export interface IBlock {
|
|
277
|
+
block_id: string;
|
|
278
|
+
layout: Layout;
|
|
279
|
+
content: {
|
|
280
|
+
items: InfoItem[];
|
|
281
|
+
};
|
|
282
|
+
}
|
|
263
283
|
export interface IWorkflowActions {
|
|
264
284
|
"loadInstallationStep": (result: IContext) => Promise<any>;
|
|
265
285
|
"nextInstallationStep": (result: IContext) => Promise<any>;
|