-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathvra-model.ts
More file actions
76 lines (71 loc) · 1.5 KB
/
vra-model.ts
File metadata and controls
76 lines (71 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/*!
* Copyright 2018-2020 VMware, Inc.
* SPDX-License-Identifier: MIT
*/
export type Blueprint = {
id: string
createdAt: Date
createdBy: string
updatedAt: Date
updatedBy: string
orgId: string
projectId: string
projectName: string
selfLink: string
name: string
description: string
status: string
content: string
valid: boolean
validationMessages: string[]
totalVersions: number
totalReleasedVersions: number
requestScopeOrg: boolean
contentSourceSyncMessages: string[]
}
export type Deployment = {
blueprintId: string
createdAt: Date
createdBy: string
updatedAt: Date
updatedBy: string
deploymentId: string
deploymentName: string
id: string
orgId: string
projectId: string
projectName: string
status: string
destroy: boolean
}
export type Project = {
description: string
organizationId: string
name: string
id: string
}
export interface PagedResult<T> {
content: T[]
pageable: {
sort: { sorted: boolean; unsorted: boolean; empty: boolean }
offset: number
pageSize: number
pageNumber: number
unpaged: boolean
paged: boolean
}
totalElements: number
totalPages: number
last: boolean
first: boolean
size: number
number: number
numberOfElements: number
empty: boolean
}
export interface Token {
token_type: string
expires_in: number
access_token: string
refresh_token: string
}