@projectqai/proto 0.0.20 → 0.0.24
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/dist/controller_pb.d.ts +44 -69
- package/dist/controller_pb.js +17 -64
- package/dist/geometry_pb.d.ts +284 -0
- package/dist/geometry_pb.js +82 -0
- package/dist/metrics_pb.d.ts +677 -0
- package/dist/metrics_pb.js +51 -0
- package/dist/timeline_pb.d.ts +1 -1
- package/dist/timeline_pb.js +1 -1
- package/dist/world_pb.d.ts +439 -208
- package/dist/world_pb.js +134 -104
- package/package.json +5 -15
package/dist/controller_pb.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.10.2 with parameter "target=js+dts,import_extension
|
|
1
|
+
// @generated by protoc-gen-es v2.10.2 with parameter "target=js+dts,import_extension=.js"
|
|
2
2
|
// @generated from file controller.proto (package world, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
5
|
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
6
|
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
-
import type { Entity } from "./world_pb";
|
|
7
|
+
import type { Entity } from "./world_pb.js";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Describes the file controller.proto.
|
|
@@ -28,7 +28,7 @@ export declare type ControllerReconciliationRequest = Message<"world.ControllerR
|
|
|
28
28
|
export declare const ControllerReconciliationRequestSchema: GenMessage<ControllerReconciliationRequest>;
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* An entity with Config on this controller was added, changed, or removed.
|
|
32
32
|
*
|
|
33
33
|
* @generated from message world.ControllerDeviceConfigurationEvent
|
|
34
34
|
*/
|
|
@@ -42,11 +42,6 @@ export declare type ControllerDeviceConfigurationEvent = Message<"world.Controll
|
|
|
42
42
|
* @generated from field: world.Entity config = 2;
|
|
43
43
|
*/
|
|
44
44
|
config?: Entity;
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* @generated from field: world.Entity device = 3;
|
|
48
|
-
*/
|
|
49
|
-
device?: Entity;
|
|
50
45
|
};
|
|
51
46
|
|
|
52
47
|
/**
|
|
@@ -77,6 +72,39 @@ export declare type ControllerReconciliationEvent = Message<"world.ControllerRec
|
|
|
77
72
|
*/
|
|
78
73
|
export declare const ControllerReconciliationEventSchema: GenMessage<ControllerReconciliationEvent>;
|
|
79
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
|
+
|
|
80
108
|
/**
|
|
81
109
|
* @generated from enum world.ControllerDeviceConfigurationEventType
|
|
82
110
|
*/
|
|
@@ -103,67 +131,6 @@ export enum ControllerDeviceConfigurationEventType {
|
|
|
103
131
|
export declare const ControllerDeviceConfigurationEventTypeSchema: GenEnum<ControllerDeviceConfigurationEventType>;
|
|
104
132
|
|
|
105
133
|
/**
|
|
106
|
-
* API for controllers to receive work from the engine.
|
|
107
|
-
*
|
|
108
|
-
* The engine matches ConfigurationComponent entities to DeviceComponent entities
|
|
109
|
-
* using the config's selector, and streams the results as
|
|
110
|
-
* ControllerDeviceConfigurationEvent messages carrying both the config and device entity.
|
|
111
|
-
*
|
|
112
|
-
* ## Engine guarantees
|
|
113
|
-
*
|
|
114
|
-
* - Every New event is eventually followed by a Removed event
|
|
115
|
-
* for that (config.id, device.id) pair.
|
|
116
|
-
* - Each event carries the full config and device entities.
|
|
117
|
-
*
|
|
118
|
-
* ## Event sequences by scenario
|
|
119
|
-
*
|
|
120
|
-
* Stream starts:
|
|
121
|
-
* New(config, device) for each existing match
|
|
122
|
-
*
|
|
123
|
-
* Config added, no devices match yet:
|
|
124
|
-
* (no events until a device matches)
|
|
125
|
-
*
|
|
126
|
-
* Config added, devices already match:
|
|
127
|
-
* New(config, device) for each match
|
|
128
|
-
*
|
|
129
|
-
* Config value updated (selector unchanged):
|
|
130
|
-
* Changed(config, device) for all matched devices
|
|
131
|
-
* (carries new config entity)
|
|
132
|
-
*
|
|
133
|
-
* Config selector changed:
|
|
134
|
-
* Removed(config, device) for devices that no longer match
|
|
135
|
-
* New(config, device) for newly matching devices
|
|
136
|
-
* Changed(config, device) for devices that still match
|
|
137
|
-
*
|
|
138
|
-
* Config removed:
|
|
139
|
-
* Removed(config, device) for all matched devices
|
|
140
|
-
*
|
|
141
|
-
* Device appears, matches existing config(s):
|
|
142
|
-
* New(config, device) per matching config
|
|
143
|
-
*
|
|
144
|
-
* Device updated, still matches:
|
|
145
|
-
* Changed(config, device) with updated device entity
|
|
146
|
-
*
|
|
147
|
-
* Device updated, match set changes:
|
|
148
|
-
* Removed(config, device) from configs it no longer matches
|
|
149
|
-
* New(config, device) to configs it now newly matches
|
|
150
|
-
*
|
|
151
|
-
* Device removed:
|
|
152
|
-
* Removed(config, device) for each config it was matched to
|
|
153
|
-
*
|
|
154
|
-
* ## 1:1 mode — one connector per (config, device) pair
|
|
155
|
-
*
|
|
156
|
-
* New → start connector (carries full config + device)
|
|
157
|
-
* Changed → restart connector, or pass update to running connector
|
|
158
|
-
* Removed → stop connector
|
|
159
|
-
*
|
|
160
|
-
* ## 1:N mode — one connector per config, devices added/removed dynamically
|
|
161
|
-
*
|
|
162
|
-
* New → add device to connector, start connector if first device for this config
|
|
163
|
-
* Changed → update device or config in connector
|
|
164
|
-
* Removed → remove device from connector, stop connector if last device removed
|
|
165
|
-
*
|
|
166
|
-
*
|
|
167
134
|
* @generated from service world.ControllerService
|
|
168
135
|
*/
|
|
169
136
|
export declare const ControllerService: GenService<{
|
|
@@ -175,5 +142,13 @@ export declare const ControllerService: GenService<{
|
|
|
175
142
|
input: typeof ControllerReconciliationRequestSchema;
|
|
176
143
|
output: typeof ControllerReconciliationEventSchema;
|
|
177
144
|
},
|
|
145
|
+
/**
|
|
146
|
+
* @generated from rpc world.ControllerService.RestartConnector
|
|
147
|
+
*/
|
|
148
|
+
restartConnector: {
|
|
149
|
+
methodKind: "unary";
|
|
150
|
+
input: typeof RestartConnectorRequestSchema;
|
|
151
|
+
output: typeof RestartConnectorResponseSchema;
|
|
152
|
+
},
|
|
178
153
|
}>;
|
|
179
154
|
|
package/dist/controller_pb.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.10.2 with parameter "target=js+dts,import_extension
|
|
1
|
+
// @generated by protoc-gen-es v2.10.2 with parameter "target=js+dts,import_extension=.js"
|
|
2
2
|
// @generated from file controller.proto (package world, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
5
|
import { enumDesc, fileDesc, messageDesc, serviceDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
-
import { file_world } from "./world_pb";
|
|
6
|
+
import { file_world } from "./world_pb.js";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Describes the file controller.proto.
|
|
10
10
|
*/
|
|
11
11
|
export const file_controller = /*@__PURE__*/
|
|
12
|
-
fileDesc("
|
|
12
|
+
fileDesc("ChBjb250cm9sbGVyLnByb3RvEgV3b3JsZCI1Ch9Db250cm9sbGVyUmVjb25jaWxpYXRpb25SZXF1ZXN0EhIKCmNvbnRyb2xsZXIYASABKAkifQoiQ29udHJvbGxlckRldmljZUNvbmZpZ3VyYXRpb25FdmVudBI4CgF0GAEgASgOMi0ud29ybGQuQ29udHJvbGxlckRldmljZUNvbmZpZ3VyYXRpb25FdmVudFR5cGUSHQoGY29uZmlnGAIgASgLMg0ud29ybGQuRW50aXR5ImUKHUNvbnRyb2xsZXJSZWNvbmNpbGlhdGlvbkV2ZW50EjsKBmNvbmZpZxgCIAEoCzIpLndvcmxkLkNvbnRyb2xsZXJEZXZpY2VDb25maWd1cmF0aW9uRXZlbnRIAEIHCgVldmVudCJAChdSZXN0YXJ0Q29ubmVjdG9yUmVxdWVzdBISCgpjb250cm9sbGVyGAEgASgJEhEKCWVudGl0eV9pZBgCIAEoCSIaChhSZXN0YXJ0Q29ubmVjdG9yUmVzcG9uc2UqsQEKJkNvbnRyb2xsZXJEZXZpY2VDb25maWd1cmF0aW9uRXZlbnRUeXBlEikKJUNvbnRyb2xsZXJEZXZpY2VDb25maWd1cmF0aW9uRXZlbnROZXcQABItCilDb250cm9sbGVyRGV2aWNlQ29uZmlndXJhdGlvbkV2ZW50Q2hhbmdlZBABEi0KKUNvbnRyb2xsZXJEZXZpY2VDb25maWd1cmF0aW9uRXZlbnRSZW1vdmVkEAIyxQEKEUNvbnRyb2xsZXJTZXJ2aWNlElsKCVJlY29uY2lsZRImLndvcmxkLkNvbnRyb2xsZXJSZWNvbmNpbGlhdGlvblJlcXVlc3QaJC53b3JsZC5Db250cm9sbGVyUmVjb25jaWxpYXRpb25FdmVudDABElMKEFJlc3RhcnRDb25uZWN0b3ISHi53b3JsZC5SZXN0YXJ0Q29ubmVjdG9yUmVxdWVzdBofLndvcmxkLlJlc3RhcnRDb25uZWN0b3JSZXNwb25zZUIgWh5naXRodWIuY29tL3Byb2plY3RxYWkvcHJvdG8vZ29iBnByb3RvMw", [file_world]);
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Describes the message world.ControllerReconciliationRequest.
|
|
@@ -32,6 +32,20 @@ export const ControllerDeviceConfigurationEventSchema = /*@__PURE__*/
|
|
|
32
32
|
export const ControllerReconciliationEventSchema = /*@__PURE__*/
|
|
33
33
|
messageDesc(file_controller, 2);
|
|
34
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
|
+
|
|
35
49
|
/**
|
|
36
50
|
* Describes the enum world.ControllerDeviceConfigurationEventType.
|
|
37
51
|
*/
|
|
@@ -45,67 +59,6 @@ export const ControllerDeviceConfigurationEventType = /*@__PURE__*/
|
|
|
45
59
|
tsEnum(ControllerDeviceConfigurationEventTypeSchema);
|
|
46
60
|
|
|
47
61
|
/**
|
|
48
|
-
* API for controllers to receive work from the engine.
|
|
49
|
-
*
|
|
50
|
-
* The engine matches ConfigurationComponent entities to DeviceComponent entities
|
|
51
|
-
* using the config's selector, and streams the results as
|
|
52
|
-
* ControllerDeviceConfigurationEvent messages carrying both the config and device entity.
|
|
53
|
-
*
|
|
54
|
-
* ## Engine guarantees
|
|
55
|
-
*
|
|
56
|
-
* - Every New event is eventually followed by a Removed event
|
|
57
|
-
* for that (config.id, device.id) pair.
|
|
58
|
-
* - Each event carries the full config and device entities.
|
|
59
|
-
*
|
|
60
|
-
* ## Event sequences by scenario
|
|
61
|
-
*
|
|
62
|
-
* Stream starts:
|
|
63
|
-
* New(config, device) for each existing match
|
|
64
|
-
*
|
|
65
|
-
* Config added, no devices match yet:
|
|
66
|
-
* (no events until a device matches)
|
|
67
|
-
*
|
|
68
|
-
* Config added, devices already match:
|
|
69
|
-
* New(config, device) for each match
|
|
70
|
-
*
|
|
71
|
-
* Config value updated (selector unchanged):
|
|
72
|
-
* Changed(config, device) for all matched devices
|
|
73
|
-
* (carries new config entity)
|
|
74
|
-
*
|
|
75
|
-
* Config selector changed:
|
|
76
|
-
* Removed(config, device) for devices that no longer match
|
|
77
|
-
* New(config, device) for newly matching devices
|
|
78
|
-
* Changed(config, device) for devices that still match
|
|
79
|
-
*
|
|
80
|
-
* Config removed:
|
|
81
|
-
* Removed(config, device) for all matched devices
|
|
82
|
-
*
|
|
83
|
-
* Device appears, matches existing config(s):
|
|
84
|
-
* New(config, device) per matching config
|
|
85
|
-
*
|
|
86
|
-
* Device updated, still matches:
|
|
87
|
-
* Changed(config, device) with updated device entity
|
|
88
|
-
*
|
|
89
|
-
* Device updated, match set changes:
|
|
90
|
-
* Removed(config, device) from configs it no longer matches
|
|
91
|
-
* New(config, device) to configs it now newly matches
|
|
92
|
-
*
|
|
93
|
-
* Device removed:
|
|
94
|
-
* Removed(config, device) for each config it was matched to
|
|
95
|
-
*
|
|
96
|
-
* ## 1:1 mode — one connector per (config, device) pair
|
|
97
|
-
*
|
|
98
|
-
* New → start connector (carries full config + device)
|
|
99
|
-
* Changed → restart connector, or pass update to running connector
|
|
100
|
-
* Removed → stop connector
|
|
101
|
-
*
|
|
102
|
-
* ## 1:N mode — one connector per config, devices added/removed dynamically
|
|
103
|
-
*
|
|
104
|
-
* New → add device to connector, start connector if first device for this config
|
|
105
|
-
* Changed → update device or config in connector
|
|
106
|
-
* Removed → remove device from connector, stop connector if last device removed
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
62
|
* @generated from service world.ControllerService
|
|
110
63
|
*/
|
|
111
64
|
export const ControllerService = /*@__PURE__*/
|
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.2 with parameter "target=js+dts,import_extension=.js"
|
|
2
|
+
// @generated from file geometry.proto (package world, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file geometry.proto.
|
|
10
|
+
*/
|
|
11
|
+
export declare const file_geometry: GenFile;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* a 2.5D point on the projected flat surface in WGS84
|
|
15
|
+
*
|
|
16
|
+
* @generated from message world.PlanarPoint
|
|
17
|
+
*/
|
|
18
|
+
export declare type PlanarPoint = Message<"world.PlanarPoint"> & {
|
|
19
|
+
/**
|
|
20
|
+
* @generated from field: double longitude = 1;
|
|
21
|
+
*/
|
|
22
|
+
longitude: number;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: double latitude = 2;
|
|
26
|
+
*/
|
|
27
|
+
latitude: number;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* height above ellipsoid (WGS84) in meters
|
|
31
|
+
*
|
|
32
|
+
* @generated from field: optional double altitude = 3;
|
|
33
|
+
*/
|
|
34
|
+
altitude?: number;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Describes the message world.PlanarPoint.
|
|
39
|
+
* Use `create(PlanarPointSchema)` to create a new message.
|
|
40
|
+
*/
|
|
41
|
+
export declare const PlanarPointSchema: GenMessage<PlanarPoint>;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* a path with zero area on the projected flat surface
|
|
45
|
+
* a ring is considered to be closed when the first and last points are identical
|
|
46
|
+
*
|
|
47
|
+
* @generated from message world.PlanarRing
|
|
48
|
+
*/
|
|
49
|
+
export declare type PlanarRing = Message<"world.PlanarRing"> & {
|
|
50
|
+
/**
|
|
51
|
+
* @generated from field: repeated world.PlanarPoint points = 1;
|
|
52
|
+
*/
|
|
53
|
+
points: PlanarPoint[];
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Describes the message world.PlanarRing.
|
|
58
|
+
* Use `create(PlanarRingSchema)` to create a new message.
|
|
59
|
+
*/
|
|
60
|
+
export declare const PlanarRingSchema: GenMessage<PlanarRing>;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* / An area enclosed by a ring, with optional holes.
|
|
64
|
+
* / All rings must be closed (first point = last point)
|
|
65
|
+
*
|
|
66
|
+
* @generated from message world.PlanarPolygon
|
|
67
|
+
*/
|
|
68
|
+
export declare type PlanarPolygon = Message<"world.PlanarPolygon"> & {
|
|
69
|
+
/**
|
|
70
|
+
* @generated from field: world.PlanarRing outer = 1;
|
|
71
|
+
*/
|
|
72
|
+
outer?: PlanarRing;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* @generated from field: repeated world.PlanarRing holes = 2;
|
|
76
|
+
*/
|
|
77
|
+
holes: PlanarRing[];
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Describes the message world.PlanarPolygon.
|
|
82
|
+
* Use `create(PlanarPolygonSchema)` to create a new message.
|
|
83
|
+
*/
|
|
84
|
+
export declare const PlanarPolygonSchema: GenMessage<PlanarPolygon>;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* 2.5D geometry in WGS 84
|
|
88
|
+
*
|
|
89
|
+
* @generated from message world.PlanarCircle
|
|
90
|
+
*/
|
|
91
|
+
export declare type PlanarCircle = Message<"world.PlanarCircle"> & {
|
|
92
|
+
/**
|
|
93
|
+
* @generated from field: world.PlanarPoint center = 1;
|
|
94
|
+
*/
|
|
95
|
+
center?: PlanarPoint;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* @generated from field: double radius_m = 2;
|
|
99
|
+
*/
|
|
100
|
+
radiusM: number;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* omit for solid circle
|
|
104
|
+
*
|
|
105
|
+
* @generated from field: optional double inner_radius_m = 3;
|
|
106
|
+
*/
|
|
107
|
+
innerRadiusM?: number;
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Describes the message world.PlanarCircle.
|
|
112
|
+
* Use `create(PlanarCircleSchema)` to create a new message.
|
|
113
|
+
*/
|
|
114
|
+
export declare const PlanarCircleSchema: GenMessage<PlanarCircle>;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* @generated from message world.PlanarGeometry
|
|
118
|
+
*/
|
|
119
|
+
export declare type PlanarGeometry = Message<"world.PlanarGeometry"> & {
|
|
120
|
+
/**
|
|
121
|
+
* @generated from oneof world.PlanarGeometry.plane
|
|
122
|
+
*/
|
|
123
|
+
plane: {
|
|
124
|
+
/**
|
|
125
|
+
* @generated from field: world.PlanarPoint point = 1;
|
|
126
|
+
*/
|
|
127
|
+
value: PlanarPoint;
|
|
128
|
+
case: "point";
|
|
129
|
+
} | {
|
|
130
|
+
/**
|
|
131
|
+
* @generated from field: world.PlanarRing line = 2;
|
|
132
|
+
*/
|
|
133
|
+
value: PlanarRing;
|
|
134
|
+
case: "line";
|
|
135
|
+
} | {
|
|
136
|
+
/**
|
|
137
|
+
* @generated from field: world.PlanarPolygon polygon = 3;
|
|
138
|
+
*/
|
|
139
|
+
value: PlanarPolygon;
|
|
140
|
+
case: "polygon";
|
|
141
|
+
} | {
|
|
142
|
+
/**
|
|
143
|
+
* @generated from field: world.PlanarCircle circle = 4;
|
|
144
|
+
*/
|
|
145
|
+
value: PlanarCircle;
|
|
146
|
+
case: "circle";
|
|
147
|
+
} | { case: undefined; value?: undefined };
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Describes the message world.PlanarGeometry.
|
|
152
|
+
* Use `create(PlanarGeometrySchema)` to create a new message.
|
|
153
|
+
*/
|
|
154
|
+
export declare const PlanarGeometrySchema: GenMessage<PlanarGeometry>;
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* @generated from message world.LocalPoint
|
|
158
|
+
*/
|
|
159
|
+
export declare type LocalPoint = Message<"world.LocalPoint"> & {
|
|
160
|
+
/**
|
|
161
|
+
* @generated from field: double east_m = 1;
|
|
162
|
+
*/
|
|
163
|
+
eastM: number;
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* @generated from field: double north_m = 2;
|
|
167
|
+
*/
|
|
168
|
+
northM: number;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* @generated from field: optional double up_m = 3;
|
|
172
|
+
*/
|
|
173
|
+
upM?: number;
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Describes the message world.LocalPoint.
|
|
178
|
+
* Use `create(LocalPointSchema)` to create a new message.
|
|
179
|
+
*/
|
|
180
|
+
export declare const LocalPointSchema: GenMessage<LocalPoint>;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* @generated from message world.LocalRing
|
|
184
|
+
*/
|
|
185
|
+
export declare type LocalRing = Message<"world.LocalRing"> & {
|
|
186
|
+
/**
|
|
187
|
+
* @generated from field: repeated world.LocalPoint points = 1;
|
|
188
|
+
*/
|
|
189
|
+
points: LocalPoint[];
|
|
190
|
+
};
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Describes the message world.LocalRing.
|
|
194
|
+
* Use `create(LocalRingSchema)` to create a new message.
|
|
195
|
+
*/
|
|
196
|
+
export declare const LocalRingSchema: GenMessage<LocalRing>;
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* @generated from message world.LocalPolygon
|
|
200
|
+
*/
|
|
201
|
+
export declare type LocalPolygon = Message<"world.LocalPolygon"> & {
|
|
202
|
+
/**
|
|
203
|
+
* @generated from field: world.LocalRing outer = 1;
|
|
204
|
+
*/
|
|
205
|
+
outer?: LocalRing;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* @generated from field: repeated world.LocalRing holes = 2;
|
|
209
|
+
*/
|
|
210
|
+
holes: LocalRing[];
|
|
211
|
+
};
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* Describes the message world.LocalPolygon.
|
|
215
|
+
* Use `create(LocalPolygonSchema)` to create a new message.
|
|
216
|
+
*/
|
|
217
|
+
export declare const LocalPolygonSchema: GenMessage<LocalPolygon>;
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* @generated from message world.LocalCircle
|
|
221
|
+
*/
|
|
222
|
+
export declare type LocalCircle = Message<"world.LocalCircle"> & {
|
|
223
|
+
/**
|
|
224
|
+
* @generated from field: world.LocalPoint center = 1;
|
|
225
|
+
*/
|
|
226
|
+
center?: LocalPoint;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* @generated from field: double radius_m = 2;
|
|
230
|
+
*/
|
|
231
|
+
radiusM: number;
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* @generated from field: optional double inner_radius_m = 3;
|
|
235
|
+
*/
|
|
236
|
+
innerRadiusM?: number;
|
|
237
|
+
};
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Describes the message world.LocalCircle.
|
|
241
|
+
* Use `create(LocalCircleSchema)` to create a new message.
|
|
242
|
+
*/
|
|
243
|
+
export declare const LocalCircleSchema: GenMessage<LocalCircle>;
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* @generated from message world.LocalGeometry
|
|
247
|
+
*/
|
|
248
|
+
export declare type LocalGeometry = Message<"world.LocalGeometry"> & {
|
|
249
|
+
/**
|
|
250
|
+
* @generated from oneof world.LocalGeometry.shape
|
|
251
|
+
*/
|
|
252
|
+
shape: {
|
|
253
|
+
/**
|
|
254
|
+
* @generated from field: world.LocalPoint point = 1;
|
|
255
|
+
*/
|
|
256
|
+
value: LocalPoint;
|
|
257
|
+
case: "point";
|
|
258
|
+
} | {
|
|
259
|
+
/**
|
|
260
|
+
* @generated from field: world.LocalRing line = 2;
|
|
261
|
+
*/
|
|
262
|
+
value: LocalRing;
|
|
263
|
+
case: "line";
|
|
264
|
+
} | {
|
|
265
|
+
/**
|
|
266
|
+
* @generated from field: world.LocalPolygon polygon = 3;
|
|
267
|
+
*/
|
|
268
|
+
value: LocalPolygon;
|
|
269
|
+
case: "polygon";
|
|
270
|
+
} | {
|
|
271
|
+
/**
|
|
272
|
+
* @generated from field: world.LocalCircle circle = 4;
|
|
273
|
+
*/
|
|
274
|
+
value: LocalCircle;
|
|
275
|
+
case: "circle";
|
|
276
|
+
} | { case: undefined; value?: undefined };
|
|
277
|
+
};
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* Describes the message world.LocalGeometry.
|
|
281
|
+
* Use `create(LocalGeometrySchema)` to create a new message.
|
|
282
|
+
*/
|
|
283
|
+
export declare const LocalGeometrySchema: GenMessage<LocalGeometry>;
|
|
284
|
+
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.2 with parameter "target=js+dts,import_extension=.js"
|
|
2
|
+
// @generated from file geometry.proto (package world, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file geometry.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_geometry = /*@__PURE__*/
|
|
11
|
+
fileDesc("Cg5nZW9tZXRyeS5wcm90bxIFd29ybGQiVgoLUGxhbmFyUG9pbnQSEQoJbG9uZ2l0dWRlGAEgASgBEhAKCGxhdGl0dWRlGAIgASgBEhUKCGFsdGl0dWRlGAMgASgBSACIAQFCCwoJX2FsdGl0dWRlIjAKClBsYW5hclJpbmcSIgoGcG9pbnRzGAEgAygLMhIud29ybGQuUGxhbmFyUG9pbnQiUwoNUGxhbmFyUG9seWdvbhIgCgVvdXRlchgBIAEoCzIRLndvcmxkLlBsYW5hclJpbmcSIAoFaG9sZXMYAiADKAsyES53b3JsZC5QbGFuYXJSaW5nInQKDFBsYW5hckNpcmNsZRIiCgZjZW50ZXIYASABKAsyEi53b3JsZC5QbGFuYXJQb2ludBIQCghyYWRpdXNfbRgCIAEoARIbCg5pbm5lcl9yYWRpdXNfbRgDIAEoAUgAiAEBQhEKD19pbm5lcl9yYWRpdXNfbSKxAQoOUGxhbmFyR2VvbWV0cnkSIwoFcG9pbnQYASABKAsyEi53b3JsZC5QbGFuYXJQb2ludEgAEiEKBGxpbmUYAiABKAsyES53b3JsZC5QbGFuYXJSaW5nSAASJwoHcG9seWdvbhgDIAEoCzIULndvcmxkLlBsYW5hclBvbHlnb25IABIlCgZjaXJjbGUYBCABKAsyEy53b3JsZC5QbGFuYXJDaXJjbGVIAEIHCgVwbGFuZSJJCgpMb2NhbFBvaW50Eg4KBmVhc3RfbRgBIAEoARIPCgdub3J0aF9tGAIgASgBEhEKBHVwX20YAyABKAFIAIgBAUIHCgVfdXBfbSIuCglMb2NhbFJpbmcSIQoGcG9pbnRzGAEgAygLMhEud29ybGQuTG9jYWxQb2ludCJQCgxMb2NhbFBvbHlnb24SHwoFb3V0ZXIYASABKAsyEC53b3JsZC5Mb2NhbFJpbmcSHwoFaG9sZXMYAiADKAsyEC53b3JsZC5Mb2NhbFJpbmcicgoLTG9jYWxDaXJjbGUSIQoGY2VudGVyGAEgASgLMhEud29ybGQuTG9jYWxQb2ludBIQCghyYWRpdXNfbRgCIAEoARIbCg5pbm5lcl9yYWRpdXNfbRgDIAEoAUgAiAEBQhEKD19pbm5lcl9yYWRpdXNfbSKsAQoNTG9jYWxHZW9tZXRyeRIiCgVwb2ludBgBIAEoCzIRLndvcmxkLkxvY2FsUG9pbnRIABIgCgRsaW5lGAIgASgLMhAud29ybGQuTG9jYWxSaW5nSAASJgoHcG9seWdvbhgDIAEoCzITLndvcmxkLkxvY2FsUG9seWdvbkgAEiQKBmNpcmNsZRgEIAEoCzISLndvcmxkLkxvY2FsQ2lyY2xlSABCBwoFc2hhcGVCIFoeZ2l0aHViLmNvbS9wcm9qZWN0cWFpL3Byb3RvL2dvYgZwcm90bzM");
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Describes the message world.PlanarPoint.
|
|
15
|
+
* Use `create(PlanarPointSchema)` to create a new message.
|
|
16
|
+
*/
|
|
17
|
+
export const PlanarPointSchema = /*@__PURE__*/
|
|
18
|
+
messageDesc(file_geometry, 0);
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message world.PlanarRing.
|
|
22
|
+
* Use `create(PlanarRingSchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
export const PlanarRingSchema = /*@__PURE__*/
|
|
25
|
+
messageDesc(file_geometry, 1);
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message world.PlanarPolygon.
|
|
29
|
+
* Use `create(PlanarPolygonSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
export const PlanarPolygonSchema = /*@__PURE__*/
|
|
32
|
+
messageDesc(file_geometry, 2);
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Describes the message world.PlanarCircle.
|
|
36
|
+
* Use `create(PlanarCircleSchema)` to create a new message.
|
|
37
|
+
*/
|
|
38
|
+
export const PlanarCircleSchema = /*@__PURE__*/
|
|
39
|
+
messageDesc(file_geometry, 3);
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Describes the message world.PlanarGeometry.
|
|
43
|
+
* Use `create(PlanarGeometrySchema)` to create a new message.
|
|
44
|
+
*/
|
|
45
|
+
export const PlanarGeometrySchema = /*@__PURE__*/
|
|
46
|
+
messageDesc(file_geometry, 4);
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Describes the message world.LocalPoint.
|
|
50
|
+
* Use `create(LocalPointSchema)` to create a new message.
|
|
51
|
+
*/
|
|
52
|
+
export const LocalPointSchema = /*@__PURE__*/
|
|
53
|
+
messageDesc(file_geometry, 5);
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Describes the message world.LocalRing.
|
|
57
|
+
* Use `create(LocalRingSchema)` to create a new message.
|
|
58
|
+
*/
|
|
59
|
+
export const LocalRingSchema = /*@__PURE__*/
|
|
60
|
+
messageDesc(file_geometry, 6);
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Describes the message world.LocalPolygon.
|
|
64
|
+
* Use `create(LocalPolygonSchema)` to create a new message.
|
|
65
|
+
*/
|
|
66
|
+
export const LocalPolygonSchema = /*@__PURE__*/
|
|
67
|
+
messageDesc(file_geometry, 7);
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Describes the message world.LocalCircle.
|
|
71
|
+
* Use `create(LocalCircleSchema)` to create a new message.
|
|
72
|
+
*/
|
|
73
|
+
export const LocalCircleSchema = /*@__PURE__*/
|
|
74
|
+
messageDesc(file_geometry, 8);
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Describes the message world.LocalGeometry.
|
|
78
|
+
* Use `create(LocalGeometrySchema)` to create a new message.
|
|
79
|
+
*/
|
|
80
|
+
export const LocalGeometrySchema = /*@__PURE__*/
|
|
81
|
+
messageDesc(file_geometry, 9);
|
|
82
|
+
|