@projectqai/proto 0.0.24 → 0.0.26

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": "@projectqai/proto",
3
- "version": "0.0.24",
3
+ "version": "0.0.26",
4
4
  "author": "projectq-release-bot",
5
5
  "type": "module",
6
6
  "exports": {
@@ -8,15 +8,24 @@
8
8
  "types": "./dist/*_pb.d.ts",
9
9
  "import": "./dist/*_pb.js",
10
10
  "default": "./dist/*_pb.js"
11
+ },
12
+ "./device": {
13
+ "import": "./device.ts",
14
+ "default": "./device.ts"
11
15
  }
12
16
  },
13
17
  "files": [
14
- "dist"
18
+ "dist",
19
+ "device.ts"
15
20
  ],
16
21
  "license": "Apache-2.0",
17
22
  "peerDependencies": {
18
23
  "@bufbuild/protobuf": "^2.10.1"
19
24
  },
25
+ "dependencies": {
26
+ "@connectrpc/connect": "^2.0.0",
27
+ "@connectrpc/connect-node": "^2.0.0"
28
+ },
20
29
  "devDependencies": {
21
30
  "@bufbuild/protoc-gen-es": "^2.10.1"
22
31
  },
@@ -1,154 +0,0 @@
1
- // @generated by protoc-gen-es v2.10.2 with parameter "target=js+dts,import_extension=.js"
2
- // @generated from file controller.proto (package world, syntax proto3)
3
- /* eslint-disable */
4
-
5
- import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
- import type { Message } from "@bufbuild/protobuf";
7
- import type { Entity } from "./world_pb.js";
8
-
9
- /**
10
- * Describes the file controller.proto.
11
- */
12
- export declare const file_controller: GenFile;
13
-
14
- /**
15
- * @generated from message world.ControllerReconciliationRequest
16
- */
17
- export declare type ControllerReconciliationRequest = Message<"world.ControllerReconciliationRequest"> & {
18
- /**
19
- * @generated from field: string controller = 1;
20
- */
21
- controller: string;
22
- };
23
-
24
- /**
25
- * Describes the message world.ControllerReconciliationRequest.
26
- * Use `create(ControllerReconciliationRequestSchema)` to create a new message.
27
- */
28
- export declare const ControllerReconciliationRequestSchema: GenMessage<ControllerReconciliationRequest>;
29
-
30
- /**
31
- * An entity with Config on this controller was added, changed, or removed.
32
- *
33
- * @generated from message world.ControllerDeviceConfigurationEvent
34
- */
35
- export declare type ControllerDeviceConfigurationEvent = Message<"world.ControllerDeviceConfigurationEvent"> & {
36
- /**
37
- * @generated from field: world.ControllerDeviceConfigurationEventType t = 1;
38
- */
39
- t: ControllerDeviceConfigurationEventType;
40
-
41
- /**
42
- * @generated from field: world.Entity config = 2;
43
- */
44
- config?: Entity;
45
- };
46
-
47
- /**
48
- * Describes the message world.ControllerDeviceConfigurationEvent.
49
- * Use `create(ControllerDeviceConfigurationEventSchema)` to create a new message.
50
- */
51
- export declare const ControllerDeviceConfigurationEventSchema: GenMessage<ControllerDeviceConfigurationEvent>;
52
-
53
- /**
54
- * @generated from message world.ControllerReconciliationEvent
55
- */
56
- export declare type ControllerReconciliationEvent = Message<"world.ControllerReconciliationEvent"> & {
57
- /**
58
- * @generated from oneof world.ControllerReconciliationEvent.event
59
- */
60
- event: {
61
- /**
62
- * @generated from field: world.ControllerDeviceConfigurationEvent config = 2;
63
- */
64
- value: ControllerDeviceConfigurationEvent;
65
- case: "config";
66
- } | { case: undefined; value?: undefined };
67
- };
68
-
69
- /**
70
- * Describes the message world.ControllerReconciliationEvent.
71
- * Use `create(ControllerReconciliationEventSchema)` to create a new message.
72
- */
73
- export declare const ControllerReconciliationEventSchema: GenMessage<ControllerReconciliationEvent>;
74
-
75
- /**
76
- * @generated from message world.RestartConnectorRequest
77
- */
78
- export declare type RestartConnectorRequest = Message<"world.RestartConnectorRequest"> & {
79
- /**
80
- * @generated from field: string controller = 1;
81
- */
82
- controller: string;
83
-
84
- /**
85
- * @generated from field: string entity_id = 2;
86
- */
87
- entityId: string;
88
- };
89
-
90
- /**
91
- * Describes the message world.RestartConnectorRequest.
92
- * Use `create(RestartConnectorRequestSchema)` to create a new message.
93
- */
94
- export declare const RestartConnectorRequestSchema: GenMessage<RestartConnectorRequest>;
95
-
96
- /**
97
- * @generated from message world.RestartConnectorResponse
98
- */
99
- export declare type RestartConnectorResponse = Message<"world.RestartConnectorResponse"> & {
100
- };
101
-
102
- /**
103
- * Describes the message world.RestartConnectorResponse.
104
- * Use `create(RestartConnectorResponseSchema)` to create a new message.
105
- */
106
- export declare const RestartConnectorResponseSchema: GenMessage<RestartConnectorResponse>;
107
-
108
- /**
109
- * @generated from enum world.ControllerDeviceConfigurationEventType
110
- */
111
- export enum ControllerDeviceConfigurationEventType {
112
- /**
113
- * @generated from enum value: ControllerDeviceConfigurationEventNew = 0;
114
- */
115
- ControllerDeviceConfigurationEventNew = 0,
116
-
117
- /**
118
- * @generated from enum value: ControllerDeviceConfigurationEventChanged = 1;
119
- */
120
- ControllerDeviceConfigurationEventChanged = 1,
121
-
122
- /**
123
- * @generated from enum value: ControllerDeviceConfigurationEventRemoved = 2;
124
- */
125
- ControllerDeviceConfigurationEventRemoved = 2,
126
- }
127
-
128
- /**
129
- * Describes the enum world.ControllerDeviceConfigurationEventType.
130
- */
131
- export declare const ControllerDeviceConfigurationEventTypeSchema: GenEnum<ControllerDeviceConfigurationEventType>;
132
-
133
- /**
134
- * @generated from service world.ControllerService
135
- */
136
- export declare const ControllerService: GenService<{
137
- /**
138
- * @generated from rpc world.ControllerService.Reconcile
139
- */
140
- reconcile: {
141
- methodKind: "server_streaming";
142
- input: typeof ControllerReconciliationRequestSchema;
143
- output: typeof ControllerReconciliationEventSchema;
144
- },
145
- /**
146
- * @generated from rpc world.ControllerService.RestartConnector
147
- */
148
- restartConnector: {
149
- methodKind: "unary";
150
- input: typeof RestartConnectorRequestSchema;
151
- output: typeof RestartConnectorResponseSchema;
152
- },
153
- }>;
154
-
@@ -1,66 +0,0 @@
1
- // @generated by protoc-gen-es v2.10.2 with parameter "target=js+dts,import_extension=.js"
2
- // @generated from file controller.proto (package world, syntax proto3)
3
- /* eslint-disable */
4
-
5
- import { enumDesc, fileDesc, messageDesc, serviceDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
6
- import { file_world } from "./world_pb.js";
7
-
8
- /**
9
- * Describes the file controller.proto.
10
- */
11
- export const file_controller = /*@__PURE__*/
12
- fileDesc("ChBjb250cm9sbGVyLnByb3RvEgV3b3JsZCI1Ch9Db250cm9sbGVyUmVjb25jaWxpYXRpb25SZXF1ZXN0EhIKCmNvbnRyb2xsZXIYASABKAkifQoiQ29udHJvbGxlckRldmljZUNvbmZpZ3VyYXRpb25FdmVudBI4CgF0GAEgASgOMi0ud29ybGQuQ29udHJvbGxlckRldmljZUNvbmZpZ3VyYXRpb25FdmVudFR5cGUSHQoGY29uZmlnGAIgASgLMg0ud29ybGQuRW50aXR5ImUKHUNvbnRyb2xsZXJSZWNvbmNpbGlhdGlvbkV2ZW50EjsKBmNvbmZpZxgCIAEoCzIpLndvcmxkLkNvbnRyb2xsZXJEZXZpY2VDb25maWd1cmF0aW9uRXZlbnRIAEIHCgVldmVudCJAChdSZXN0YXJ0Q29ubmVjdG9yUmVxdWVzdBISCgpjb250cm9sbGVyGAEgASgJEhEKCWVudGl0eV9pZBgCIAEoCSIaChhSZXN0YXJ0Q29ubmVjdG9yUmVzcG9uc2UqsQEKJkNvbnRyb2xsZXJEZXZpY2VDb25maWd1cmF0aW9uRXZlbnRUeXBlEikKJUNvbnRyb2xsZXJEZXZpY2VDb25maWd1cmF0aW9uRXZlbnROZXcQABItCilDb250cm9sbGVyRGV2aWNlQ29uZmlndXJhdGlvbkV2ZW50Q2hhbmdlZBABEi0KKUNvbnRyb2xsZXJEZXZpY2VDb25maWd1cmF0aW9uRXZlbnRSZW1vdmVkEAIyxQEKEUNvbnRyb2xsZXJTZXJ2aWNlElsKCVJlY29uY2lsZRImLndvcmxkLkNvbnRyb2xsZXJSZWNvbmNpbGlhdGlvblJlcXVlc3QaJC53b3JsZC5Db250cm9sbGVyUmVjb25jaWxpYXRpb25FdmVudDABElMKEFJlc3RhcnRDb25uZWN0b3ISHi53b3JsZC5SZXN0YXJ0Q29ubmVjdG9yUmVxdWVzdBofLndvcmxkLlJlc3RhcnRDb25uZWN0b3JSZXNwb25zZUIgWh5naXRodWIuY29tL3Byb2plY3RxYWkvcHJvdG8vZ29iBnByb3RvMw", [file_world]);
13
-
14
- /**
15
- * Describes the message world.ControllerReconciliationRequest.
16
- * Use `create(ControllerReconciliationRequestSchema)` to create a new message.
17
- */
18
- export const ControllerReconciliationRequestSchema = /*@__PURE__*/
19
- messageDesc(file_controller, 0);
20
-
21
- /**
22
- * Describes the message world.ControllerDeviceConfigurationEvent.
23
- * Use `create(ControllerDeviceConfigurationEventSchema)` to create a new message.
24
- */
25
- export const ControllerDeviceConfigurationEventSchema = /*@__PURE__*/
26
- messageDesc(file_controller, 1);
27
-
28
- /**
29
- * Describes the message world.ControllerReconciliationEvent.
30
- * Use `create(ControllerReconciliationEventSchema)` to create a new message.
31
- */
32
- export const ControllerReconciliationEventSchema = /*@__PURE__*/
33
- messageDesc(file_controller, 2);
34
-
35
- /**
36
- * Describes the message world.RestartConnectorRequest.
37
- * Use `create(RestartConnectorRequestSchema)` to create a new message.
38
- */
39
- export const RestartConnectorRequestSchema = /*@__PURE__*/
40
- messageDesc(file_controller, 3);
41
-
42
- /**
43
- * Describes the message world.RestartConnectorResponse.
44
- * Use `create(RestartConnectorResponseSchema)` to create a new message.
45
- */
46
- export const RestartConnectorResponseSchema = /*@__PURE__*/
47
- messageDesc(file_controller, 4);
48
-
49
- /**
50
- * Describes the enum world.ControllerDeviceConfigurationEventType.
51
- */
52
- export const ControllerDeviceConfigurationEventTypeSchema = /*@__PURE__*/
53
- enumDesc(file_controller, 0);
54
-
55
- /**
56
- * @generated from enum world.ControllerDeviceConfigurationEventType
57
- */
58
- export const ControllerDeviceConfigurationEventType = /*@__PURE__*/
59
- tsEnum(ControllerDeviceConfigurationEventTypeSchema);
60
-
61
- /**
62
- * @generated from service world.ControllerService
63
- */
64
- export const ControllerService = /*@__PURE__*/
65
- serviceDesc(file_controller, 0);
66
-