@daocloud-proto/skoala 0.6.1-83 → 0.6.1-87

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.
@@ -9,6 +9,16 @@ import * as SkoalaApiGeneralV1alpha1Insight from "../../general/v1alpha1/insight
9
9
  import * as SkoalaApiGeneralV1alpha1Resource from "../../general/v1alpha1/resource.pb"
10
10
  import * as SkoalaApiGeneralV1alpha1Service from "../../general/v1alpha1/service.pb"
11
11
 
12
+ export enum NacosConfigFileType {
13
+ CONFIG_TYPE_UNSPECIFIED = "CONFIG_TYPE_UNSPECIFIED",
14
+ text = "text",
15
+ json = "json",
16
+ xml = "xml",
17
+ yaml = "yaml",
18
+ html = "html",
19
+ properties = "properties",
20
+ }
21
+
12
22
  export enum NacosStatus {
13
23
  STATUS_UNSPECIFIED = "STATUS_UNSPECIFIED",
14
24
  Running = "Running",
@@ -43,16 +53,6 @@ export enum CreateNacosConfigReqPolicy {
43
53
  OVERWRITE = "OVERWRITE",
44
54
  }
45
55
 
46
- export enum CreateNacosConfigReqType {
47
- CONFIG_TYPE_UNSPECIFIED = "CONFIG_TYPE_UNSPECIFIED",
48
- text = "text",
49
- json = "json",
50
- xml = "xml",
51
- yaml = "yaml",
52
- html = "html",
53
- properties = "properties",
54
- }
55
-
56
56
  export enum NacosNodeStatue {
57
57
  NODE_STATUE_UNSPECIFIED = "NODE_STATUE_UNSPECIFIED",
58
58
  UP = "UP",
@@ -541,7 +541,7 @@ export type NacosConfigBrief = {
541
541
  id?: string
542
542
  md5?: string
543
543
  tenant?: string
544
- type?: string
544
+ type?: NacosConfigFileType
545
545
  }
546
546
 
547
547
  export type ListNacosConfigReq = {
@@ -589,7 +589,7 @@ export type GetNacosConfigRes = {
589
589
  modifyTime?: string
590
590
  schema?: string
591
591
  tenant?: string
592
- type?: string
592
+ type?: NacosConfigFileType
593
593
  use?: string
594
594
  }
595
595
 
@@ -686,7 +686,7 @@ export type CreateNacosConfigReq = {
686
686
  content?: string
687
687
  desc?: string
688
688
  configTags?: string
689
- type?: CreateNacosConfigReqType
689
+ type?: NacosConfigFileType
690
690
  appName?: string
691
691
  import?: boolean
692
692
  policy?: CreateNacosConfigReqPolicy
@@ -705,7 +705,7 @@ export type UpdateNacosConfigReq = {
705
705
  appName?: string
706
706
  desc?: string
707
707
  configTags?: string
708
- type?: string
708
+ type?: NacosConfigFileType
709
709
  id?: string
710
710
  md5?: string
711
711
  createTime?: string
@@ -803,6 +803,6 @@ export type CheckNacosConfigRes = {
803
803
  modifyTime?: string
804
804
  schema?: string
805
805
  tenant?: string
806
- type?: string
806
+ type?: NacosConfigFileType
807
807
  use?: string
808
808
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/skoala",
3
- "version": "0.6.1-83",
3
+ "version": "0.6.1-87",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {