@alis-build/alis-open-config-v1 1.3.0 → 1.4.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,10 +1,10 @@
1
- // @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.13.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
5
  import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
6
  import type { Message } from "@bufbuild/protobuf";
7
- import type { Role } from "@alis-build/alis-open-iam-v1/alis/open/iam/v1/role_pb";
7
+ import type { Role, RoleJson } from "@alis-build/alis-open-iam-v1/alis/open/iam/v1/role_pb.js";
8
8
 
9
9
  /**
10
10
  * Describes the file alis/open/config/v1/config.proto.
@@ -41,9 +41,39 @@ export declare type ProductConfig = Message<"alis.open.config.v1.ProductConfig">
41
41
  roles: Role[];
42
42
  };
43
43
 
44
+ /**
45
+ * @generated from message alis.open.config.v1.ProductConfig
46
+ */
47
+ export declare type ProductConfigJson = {
48
+ /**
49
+ * @generated from field: string name = 1;
50
+ */
51
+ name?: string;
52
+
53
+ /**
54
+ * @generated from field: string id = 2;
55
+ */
56
+ id?: string;
57
+
58
+ /**
59
+ * @generated from field: string project_id = 3;
60
+ */
61
+ projectId?: string;
62
+
63
+ /**
64
+ * @generated from field: string project_number = 4;
65
+ */
66
+ projectNumber?: string;
67
+
68
+ /**
69
+ * @generated from field: repeated alis.open.iam.v1.Role roles = 5;
70
+ */
71
+ roles?: RoleJson[];
72
+ };
73
+
44
74
  /**
45
75
  * Describes the message alis.open.config.v1.ProductConfig.
46
76
  * Use `create(ProductConfigSchema)` to create a new message.
47
77
  */
48
- export declare const ProductConfigSchema: GenMessage<ProductConfig>;
78
+ export declare const ProductConfigSchema: GenMessage<ProductConfig, {jsonType: ProductConfigJson}>;
49
79
 
@@ -1,9 +1,9 @@
1
- // @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.13.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
5
  import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
6
- import { file_alis_open_iam_v1_role } from "@alis-build/alis-open-iam-v1/alis/open/iam/v1/role_pb";
6
+ import { file_alis_open_iam_v1_role } from "@alis-build/alis-open-iam-v1/alis/open/iam/v1/role_pb.js";
7
7
 
8
8
  /**
9
9
  * Describes the file alis/open/config/v1/config.proto.
package/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "./alis/open/config/v1/config_pb.js";
package/index.js ADDED
@@ -0,0 +1 @@
1
+ export * from "./alis/open/config/v1/config_pb.js";
package/package.json CHANGED
@@ -1,11 +1,25 @@
1
1
  {
2
2
  "dependencies": {
3
- "@alis-build/alis-open-iam-v1": "*",
4
- "@bufbuild/protobuf": "^2.11.0",
5
- "@connectrpc/connect": "^2.1.1",
6
- "@connectrpc/connect-web": "^2.1.1"
3
+ "@alis-build/alis-open-iam-v1": "*"
7
4
  },
8
- "description": "Ecmascript and Connect-Web stubs generated by Alis Build",
5
+ "description": "Ecmascript and Connect-Web stubs generated by Alis Build for alis.open.config.v1",
6
+ "exports": {
7
+ ".": {
8
+ "types": "./index.d.ts",
9
+ "import": "./index.js"
10
+ },
11
+ "./*": "./*",
12
+ "./package.json": "./package.json"
13
+ },
14
+ "license": "Apache-2.0",
15
+ "main": "./index.js",
9
16
  "name": "@alis-build/alis-open-config-v1",
10
- "version": "1.3.0"
17
+ "peerDependencies": {
18
+ "@bufbuild/protobuf": "^2.13.0",
19
+ "@connectrpc/connect": "^2.1.2",
20
+ "@connectrpc/connect-web": "^2.1.2"
21
+ },
22
+ "type": "module",
23
+ "types": "./index.d.ts",
24
+ "version": "1.4.0"
11
25
  }