@daocloud-proto/ghippo 0.8.12 → 0.8.15

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/ghippo",
3
- "version":"0.8.12",
3
+ "version":"0.8.15",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -279,21 +279,12 @@ export type Resource = {
279
279
  gproduct?: string
280
280
  }
281
281
 
282
- export type QuotaHard = {
283
- requestsCpu?: string
284
- limitsCpu?: string
285
- requestsMemory?: string
286
- limitsMemory?: string
287
- persistentvolumeclaims?: string
288
- requestStorage?: string
289
- }
290
-
291
282
  export type BindResourceAndSetQuotaHardToWorkspaceRequest = {
292
283
  resourceName?: string
293
284
  resourceType?: string
294
285
  gproduct?: string
295
286
  workspaceId?: number
296
- quotaHard?: QuotaHard
287
+ quotaHard?: {[key: string]: string}
297
288
  }
298
289
 
299
290
  export type BindResourceAndSetQuotaHardToWorkspaceResponse = {
@@ -301,7 +292,7 @@ export type BindResourceAndSetQuotaHardToWorkspaceResponse = {
301
292
 
302
293
  export type SetQuotaHardForWorkspaceResourceRequest = {
303
294
  workspaceResourceId?: number
304
- quotaHard?: QuotaHard
295
+ quotaHard?: {[key: string]: string}
305
296
  }
306
297
 
307
298
  export type SetQuotaHardForWorkspaceResourceResponse = {
@@ -332,7 +323,7 @@ export type UpdateQuotaCheckRequest = {
332
323
  gproduct?: string
333
324
  resourceScope?: string
334
325
  workspaceId?: number
335
- quotaHard?: QuotaHard
326
+ quotaHard?: {[key: string]: string}
336
327
  }
337
328
 
338
329
  export type UpdateQuotaCheckResponse = {
@@ -356,7 +347,7 @@ export type BindSharedResourceAndSetQuotaHardToWorkspaceRequest = {
356
347
  resourceType?: string
357
348
  gproduct?: string
358
349
  workspaceId?: number
359
- quotaHard?: QuotaHard
350
+ quotaHard?: {[key: string]: string}
360
351
  }
361
352
 
362
353
  export type BindSharedResourceAndSetQuotaHardToWorkspaceResponse = {