@daocloud-proto/virtnest 0.3.0-dev-7 → 0.3.0-dev-9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/virtnest",
3
- "version":"0.3.0-dev-7",
3
+ "version":"0.3.0-dev-9",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -11,6 +11,12 @@ export enum TemplateType {
11
11
  internal = "internal",
12
12
  }
13
13
 
14
+ export enum ImageSource {
15
+ docker = "docker",
16
+ http = "http",
17
+ s3 = "s3",
18
+ }
19
+
14
20
  export type ListVMTemplatesRequest = {
15
21
  pageSize?: number
16
22
  page?: number
@@ -53,6 +59,7 @@ export type GetVMTemplateResponse = {
53
59
  imageUrl?: string
54
60
  type?: TemplateType
55
61
  systemDiskCapacity?: string
62
+ imageSource?: ImageSource
56
63
  }
57
64
 
58
65
  export type CreateVMTemplateByVMRequest = {