@automateinc/fleet-types 1.0.81-dev.08bae97 → 1.0.81-dev.c188413
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.
|
@@ -10,7 +10,22 @@ export interface IStructuredContentTableColumn {
|
|
|
10
10
|
|
|
11
11
|
export interface IStructuredContentNodeBase {
|
|
12
12
|
id: string;
|
|
13
|
-
type: "LINK" | "SPACE" | "TABLE" | "TEXT";
|
|
13
|
+
type: "COLLAPSE" | "FILES" | "LINK" | "SPACE" | "TABLE" | "TEXT";
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface IStructuredContentCollapseNode extends IStructuredContentNodeBase {
|
|
17
|
+
children?: IStructuredContentNode[];
|
|
18
|
+
config?: {
|
|
19
|
+
title?: string;
|
|
20
|
+
};
|
|
21
|
+
type: "COLLAPSE";
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface IStructuredContentFilesNode extends IStructuredContentNodeBase {
|
|
25
|
+
config?: {
|
|
26
|
+
source?: "HISTORY";
|
|
27
|
+
};
|
|
28
|
+
type: "FILES";
|
|
14
29
|
}
|
|
15
30
|
|
|
16
31
|
export interface IStructuredContentSpaceNode extends IStructuredContentNodeBase {
|
|
@@ -40,6 +55,8 @@ export interface IStructuredContentTableNode extends IStructuredContentNodeBase
|
|
|
40
55
|
}
|
|
41
56
|
|
|
42
57
|
export type IStructuredContentNode =
|
|
58
|
+
| IStructuredContentCollapseNode
|
|
59
|
+
| IStructuredContentFilesNode
|
|
43
60
|
| IStructuredContentLinkNode
|
|
44
61
|
| IStructuredContentSpaceNode
|
|
45
62
|
| IStructuredContentTableNode
|
package/package.json
CHANGED