@automateinc/fleet-types 1.0.108 → 1.0.110
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/index.d.ts +2 -0
- package/dist/types/structured-content-grid-node.d.ts +10 -0
- package/dist/types/structured-content-node-base.d.ts +1 -1
- package/dist/types/structured-content-statistic-node.d.ts +13 -0
- package/dist/types/structured-content-table-number-column.d.ts +3 -0
- package/dist/types/structured-content.d.ts +5 -0
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -214,12 +214,14 @@ export * from "./structured-content-date-range-filter-constraints";
|
|
|
214
214
|
export * from "./structured-content-date-range-filter-initial-value";
|
|
215
215
|
export * from "./structured-content-default-avatar-node";
|
|
216
216
|
export * from "./structured-content-default-avatar-value";
|
|
217
|
+
export * from "./structured-content-grid-node";
|
|
217
218
|
export * from "./structured-content-link-node";
|
|
218
219
|
export * from "./structured-content-link-value";
|
|
219
220
|
export * from "./structured-content-node-base";
|
|
220
221
|
export * from "./structured-content-node-layout";
|
|
221
222
|
export * from "./structured-content-root";
|
|
222
223
|
export * from "./structured-content-space-node";
|
|
224
|
+
export * from "./structured-content-statistic-node";
|
|
223
225
|
export * from "./structured-content-table-boolean-column";
|
|
224
226
|
export * from "./structured-content-table-column-base";
|
|
225
227
|
export * from "./structured-content-table-column-sort-config";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { IStructuredContentNode } from "./structured-content";
|
|
2
|
+
import type { IStructuredContentNodeBase } from "./structured-content-node-base";
|
|
3
|
+
|
|
4
|
+
export interface IStructuredContentGridNode extends IStructuredContentNodeBase {
|
|
5
|
+
children?: IStructuredContentNode[];
|
|
6
|
+
config?: {
|
|
7
|
+
columns?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
8
|
+
};
|
|
9
|
+
type: "GRID";
|
|
10
|
+
}
|
|
@@ -3,5 +3,5 @@ import type { IStructuredContentNodeLayout } from "./structured-content-node-lay
|
|
|
3
3
|
export interface IStructuredContentNodeBase {
|
|
4
4
|
id: string;
|
|
5
5
|
layout?: IStructuredContentNodeLayout;
|
|
6
|
-
type: "COLLAPSE" | "DEFAULT_AVATAR" | "LINK" | "SPACE" | "TABLE" | "TAG" | "TEXT";
|
|
6
|
+
type: "COLLAPSE" | "DEFAULT_AVATAR" | "GRID" | "LINK" | "SPACE" | "STATISTIC" | "TABLE" | "TAG" | "TEXT";
|
|
7
7
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { StructuredContentStatisticFormat } from "./structured-content";
|
|
2
|
+
import type { IStructuredContentNodeBase } from "./structured-content-node-base";
|
|
3
|
+
|
|
4
|
+
export interface IStructuredContentStatisticNode extends IStructuredContentNodeBase {
|
|
5
|
+
config: {
|
|
6
|
+
format?: StructuredContentStatisticFormat;
|
|
7
|
+
label: string;
|
|
8
|
+
maximumFractionDigits?: number;
|
|
9
|
+
minimumFractionDigits?: number;
|
|
10
|
+
useGrouping?: boolean;
|
|
11
|
+
};
|
|
12
|
+
type: "STATISTIC";
|
|
13
|
+
}
|
|
@@ -6,6 +6,9 @@ export type StructuredContentTableNumberFormat = "PERCENTAGE";
|
|
|
6
6
|
export interface IStructuredContentTableNumberColumn extends IStructuredContentTableNamedColumnBase {
|
|
7
7
|
config?: IStructuredContentTableColumnSortConfig & {
|
|
8
8
|
format?: StructuredContentTableNumberFormat;
|
|
9
|
+
maximumFractionDigits?: number;
|
|
10
|
+
minimumFractionDigits?: number;
|
|
11
|
+
useGrouping?: boolean;
|
|
9
12
|
};
|
|
10
13
|
type: "NUMBER";
|
|
11
14
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import type { IStructuredContentCollapseNode } from "./structured-content-collapse-node";
|
|
2
2
|
import type { IStructuredContentDefaultAvatarNode } from "./structured-content-default-avatar-node";
|
|
3
3
|
import type { IStructuredContentDefaultAvatarValue } from "./structured-content-default-avatar-value";
|
|
4
|
+
import type { IStructuredContentGridNode } from "./structured-content-grid-node";
|
|
4
5
|
import type { IStructuredContentLinkNode } from "./structured-content-link-node";
|
|
5
6
|
import type { IStructuredContentLinkValue } from "./structured-content-link-value";
|
|
6
7
|
import type { IStructuredContentSpaceNode } from "./structured-content-space-node";
|
|
8
|
+
import type { IStructuredContentStatisticNode } from "./structured-content-statistic-node";
|
|
7
9
|
import type { IStructuredContentTableBooleanColumn } from "./structured-content-table-boolean-column";
|
|
8
10
|
import type { IStructuredContentTableDateColumn } from "./structured-content-table-date-column";
|
|
9
11
|
import type { IStructuredContentTableDateRangeFilter } from "./structured-content-table-date-range-filter";
|
|
@@ -22,6 +24,7 @@ import type { IStructuredContentTextNode } from "./structured-content-text-node"
|
|
|
22
24
|
|
|
23
25
|
export type StructuredContentTextVariant = "H1" | "H2" | "H3" | "H4" | "H5" | "H6" | "PARAGRAPH" | "TEXT";
|
|
24
26
|
export type StructuredContentLinkVariant = "BUTTON" | "LINK";
|
|
27
|
+
export type StructuredContentStatisticFormat = "PERCENTAGE";
|
|
25
28
|
export type StructuredContentTableColumnType =
|
|
26
29
|
| "BOOLEAN"
|
|
27
30
|
| "DATE"
|
|
@@ -77,8 +80,10 @@ export type IStructuredContentTableColumn =
|
|
|
77
80
|
export type IStructuredContentNode =
|
|
78
81
|
| IStructuredContentCollapseNode
|
|
79
82
|
| IStructuredContentDefaultAvatarNode
|
|
83
|
+
| IStructuredContentGridNode
|
|
80
84
|
| IStructuredContentLinkNode
|
|
81
85
|
| IStructuredContentSpaceNode
|
|
86
|
+
| IStructuredContentStatisticNode
|
|
82
87
|
| IStructuredContentTagNode
|
|
83
88
|
| IStructuredContentTableNode
|
|
84
89
|
| IStructuredContentTextNode;
|
package/package.json
CHANGED