@automateinc/fleet-types 1.0.84-dev.f9924e0 → 1.0.85-dev.1212174
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/request.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { IRequestCategory, IRequestType, IRequestValue } from ".";
|
|
2
2
|
|
|
3
3
|
export interface IRequest {
|
|
4
|
-
approvedAt: Date;
|
|
5
4
|
createdAt: string;
|
|
6
5
|
updatedAt: string;
|
|
7
6
|
id: string;
|
|
@@ -10,13 +9,12 @@ export interface IRequest {
|
|
|
10
9
|
createdById?: string;
|
|
11
10
|
employeeCreatedById?: string;
|
|
12
11
|
rejectionReason: null;
|
|
13
|
-
requestForId: string;
|
|
14
12
|
type: IRequestType;
|
|
15
13
|
typeId: string;
|
|
16
14
|
values: IRequestValue[];
|
|
17
|
-
verifiedAt: Date;
|
|
18
15
|
verifiedById?: string;
|
|
19
16
|
rejectedById?: string;
|
|
17
|
+
linkedRequestId?: string;
|
|
20
18
|
withdrawnAt?: string;
|
|
21
19
|
folderKey?: string | null;
|
|
22
20
|
archivedAt?: string | null;
|
|
@@ -17,9 +17,28 @@ export type StructuredContentTableToolbarFilterType = "DATE_RANGE" | "SELECT";
|
|
|
17
17
|
export type StructuredContentLayoutWidth = "auto" | "full" | "half" | "third";
|
|
18
18
|
export type StructuredContentLayoutAlign = "center" | "end" | "start";
|
|
19
19
|
export type StructuredContentLayoutSpacing = "lg" | "md" | "none" | "sm";
|
|
20
|
-
export type StructuredContentTagTone =
|
|
20
|
+
export type StructuredContentTagTone =
|
|
21
|
+
| "blue"
|
|
22
|
+
| "cyan"
|
|
23
|
+
| "danger"
|
|
24
|
+
| "default"
|
|
25
|
+
| "geekblue"
|
|
26
|
+
| "gold"
|
|
27
|
+
| "green"
|
|
28
|
+
| "info"
|
|
29
|
+
| "lime"
|
|
30
|
+
| "magenta"
|
|
31
|
+
| "orange"
|
|
32
|
+
| "pink"
|
|
33
|
+
| "purple"
|
|
34
|
+
| "red"
|
|
35
|
+
| "success"
|
|
36
|
+
| "volcano"
|
|
37
|
+
| "warning"
|
|
38
|
+
| "yellow";
|
|
21
39
|
|
|
22
40
|
export interface IStructuredContentTagValue {
|
|
41
|
+
color?: string;
|
|
23
42
|
label: string;
|
|
24
43
|
tone?: StructuredContentTagTone;
|
|
25
44
|
}
|
|
@@ -85,6 +104,13 @@ export interface IStructuredContentTableToolbar {
|
|
|
85
104
|
search?: boolean;
|
|
86
105
|
}
|
|
87
106
|
|
|
107
|
+
export type StructuredContentTableSortOrder = "asc" | "desc";
|
|
108
|
+
|
|
109
|
+
export interface IStructuredContentTableSort {
|
|
110
|
+
columnId: string;
|
|
111
|
+
order: StructuredContentTableSortOrder;
|
|
112
|
+
}
|
|
113
|
+
|
|
88
114
|
export interface IStructuredContentTablePagination {
|
|
89
115
|
pageSize?: number;
|
|
90
116
|
}
|
|
@@ -211,6 +237,7 @@ export interface IStructuredContentLinkNode extends IStructuredContentNodeBase {
|
|
|
211
237
|
export interface IStructuredContentTableNode extends IStructuredContentNodeBase {
|
|
212
238
|
config?: {
|
|
213
239
|
columns?: IStructuredContentTableColumn[];
|
|
240
|
+
defaultSort?: IStructuredContentTableSort;
|
|
214
241
|
pagination?: IStructuredContentTablePagination;
|
|
215
242
|
toolbar?: IStructuredContentTableToolbar;
|
|
216
243
|
};
|
package/package.json
CHANGED