@alis-build/alis-open-config-v1 1.11.0 → 1.13.0

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.
@@ -1,7 +1,14 @@
1
- // @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts,import_extension=js,json_types=true"
1
+ // @generated by protoc-gen-es v2.16.0 with parameter "target=js+dts,import_extension=js,json_types=true"
2
2
  // @generated from file alis/open/config/v1/config.proto (package alis.open.config.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
5
+ // Product configuration that is passed in as an environment variable.
6
+ //
7
+ // `ProductConfig` identifies the product by resource name
8
+ // (`organisations/{organisation}/products/{product}`) and ID, gives the Google
9
+ // Cloud project ID and number of the product, and lists the IAM roles
10
+ // (`alis.open.iam.v1.Role`) defined for the product.
11
+
5
12
  import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
13
  import type { Message } from "@bufbuild/protobuf";
7
14
  import type { Role, RoleJson } from "@alis-build/alis-open-iam-v1/alis/open/iam/v1/role_pb.js";
@@ -12,60 +19,86 @@ import type { Role, RoleJson } from "@alis-build/alis-open-iam-v1/alis/open/iam/
12
19
  export declare const file_alis_open_config_v1_config: GenFile;
13
20
 
14
21
  /**
22
+ * The definition of a product config which is passed in as an environment variable
23
+ *
15
24
  * @generated from message alis.open.config.v1.ProductConfig
16
25
  */
17
26
  export declare type ProductConfig = Message<"alis.open.config.v1.ProductConfig"> & {
18
27
  /**
28
+ * The name of the product
29
+ * Format: organisations/([a-z][a-z0-9]{2,9})/products/([a-z]{2})
30
+ *
19
31
  * @generated from field: string name = 1;
20
32
  */
21
33
  name: string;
22
34
 
23
35
  /**
36
+ * The id of the product
37
+ *
24
38
  * @generated from field: string id = 2;
25
39
  */
26
40
  id: string;
27
41
 
28
42
  /**
43
+ * The google project id of the product
44
+ *
29
45
  * @generated from field: string project_id = 3;
30
46
  */
31
47
  projectId: string;
32
48
 
33
49
  /**
50
+ * The google project number of the product
51
+ *
34
52
  * @generated from field: string project_number = 4;
35
53
  */
36
54
  projectNumber: string;
37
55
 
38
56
  /**
57
+ * The iam roles defined for the product
58
+ *
39
59
  * @generated from field: repeated alis.open.iam.v1.Role roles = 5;
40
60
  */
41
61
  roles: Role[];
42
62
  };
43
63
 
44
64
  /**
65
+ * The definition of a product config which is passed in as an environment variable
66
+ *
45
67
  * @generated from message alis.open.config.v1.ProductConfig
46
68
  */
47
69
  export declare type ProductConfigJson = {
48
70
  /**
71
+ * The name of the product
72
+ * Format: organisations/([a-z][a-z0-9]{2,9})/products/([a-z]{2})
73
+ *
49
74
  * @generated from field: string name = 1;
50
75
  */
51
76
  name?: string;
52
77
 
53
78
  /**
79
+ * The id of the product
80
+ *
54
81
  * @generated from field: string id = 2;
55
82
  */
56
83
  id?: string;
57
84
 
58
85
  /**
86
+ * The google project id of the product
87
+ *
59
88
  * @generated from field: string project_id = 3;
60
89
  */
61
90
  projectId?: string;
62
91
 
63
92
  /**
93
+ * The google project number of the product
94
+ *
64
95
  * @generated from field: string project_number = 4;
65
96
  */
66
97
  projectNumber?: string;
67
98
 
68
99
  /**
100
+ * The iam roles defined for the product
101
+ *
69
102
  * @generated from field: repeated alis.open.iam.v1.Role roles = 5;
70
103
  */
71
104
  roles?: RoleJson[];
@@ -1,7 +1,14 @@
1
- // @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts,import_extension=js,json_types=true"
1
+ // @generated by protoc-gen-es v2.16.0 with parameter "target=js+dts,import_extension=js,json_types=true"
2
2
  // @generated from file alis/open/config/v1/config.proto (package alis.open.config.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
5
+ // Product configuration that is passed in as an environment variable.
6
+ //
7
+ // `ProductConfig` identifies the product by resource name
8
+ // (`organisations/{organisation}/products/{product}`) and ID, gives the Google
9
+ // Cloud project ID and number of the product, and lists the IAM roles
10
+ // (`alis.open.iam.v1.Role`) defined for the product.
11
+
5
12
  import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
6
13
  import { file_alis_open_iam_v1_role } from "@alis-build/alis-open-iam-v1/alis/open/iam/v1/role_pb.js";
7
14
 
package/package.json CHANGED
@@ -25,5 +25,5 @@
25
25
  },
26
26
  "type": "module",
27
27
  "types": "./index.d.ts",
28
- "version": "1.11.0"
28
+ "version": "1.13.0"
29
29
  }