Skip to content

Commit c43512c

Browse files
author
anduril-pely
committed
1 parent bdd82e7 commit c43512c

25 files changed

+141
-178
lines changed

src/anduril/entitymanager/v1/entity_manager_api.pub_connect.d.ts renamed to src/anduril/entitymanager/v1/entity_manager_grpcapi.pub_connect.d.ts

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
// @generated by protoc-gen-connect-es v1.4.0 with parameter "js_import_style=legacy_commonjs"
2-
// @generated from file anduril/entitymanager/v1/entity_manager_api.pub.proto (package anduril.entitymanager.v1, syntax proto3)
2+
// @generated from file anduril/entitymanager/v1/entity_manager_grpcapi.pub.proto (package anduril.entitymanager.v1, syntax proto3)
33
/* eslint-disable */
44
// @ts-nocheck
55

6-
import { GetEntityRequest, GetEntityResponse, OverrideEntityRequest, OverrideEntityResponse, PublishEntitiesRequest, PublishEntitiesResponse, PublishEntityRequest, PublishEntityResponse, RemoveEntityOverrideRequest, RemoveEntityOverrideResponse, StreamEntityComponentsRequest, StreamEntityComponentsResponse } from "./entity_manager_api.pub_pb.js";
6+
import { GetEntityRequest, GetEntityResponse, OverrideEntityRequest, OverrideEntityResponse, PublishEntitiesRequest, PublishEntitiesResponse, PublishEntityRequest, PublishEntityResponse, RemoveEntityOverrideRequest, RemoveEntityOverrideResponse, StreamEntityComponentsRequest, StreamEntityComponentsResponse } from "./entity_manager_grpcapi.pub_pb.js";
77
import { MethodKind } from "@bufbuild/protobuf";
88

99
/**
10-
* The Entity Manager provides a UI centric data model for understanding the entities in a battle space.
10+
* Entity Manager manages the lifecycle of the entities that comprise the common operational picture.
1111
*
12-
* Every object in a battle space is represented as an "Entity". Each Entity is essentially an ID, with a life cycle,
12+
* Every object in a battle space is represented as an "Entity". Each Entity is essentially an ID, with a lifecycle
1313
* and a collection of data components. Each data component is a separate protobuf message definition.
1414
*
15-
* EntityManager provides a way to query the currently live set of entities within a set of filter constraints,
15+
* Entity Manager provides a way to query the currently live set of entities within a set of filter constraints,
1616
* as well as a limited set of management APIs to change the grouping or relationships between entities.
1717
*
1818
* @generated from service anduril.entitymanager.v1.EntityManagerAPI
@@ -21,10 +21,10 @@ export declare const EntityManagerAPI: {
2121
readonly typeName: "anduril.entitymanager.v1.EntityManagerAPI",
2222
readonly methods: {
2323
/**
24-
* Unary RPC to publish an entity for ingest into Entity Manager. This is the preferred RPC to integrate entities
25-
* and should be used by most integrations to publish high- or low-update rate entities. Entities created with this
26-
* method are "owned" by the originator: other sources, such as the UI, may not edit or delete these entities.
27-
* Entities are validated at RPC call time and an error is returned if the entity is invalid.
24+
* Publishes an entity for ingestion by Entity Manager. You "own" the entity you create using PublishEntity;
25+
* other sources, such as the UI, may not edit or delete these entities.
26+
* When called, PublishEntity validates the entity and returns an error if the entity is invalid. We recommend using PublishEntity to publish high- or
27+
* low-update rate entities.
2828
*
2929
* @generated from rpc anduril.entitymanager.v1.EntityManagerAPI.PublishEntity
3030
*/
@@ -35,8 +35,9 @@ export declare const EntityManagerAPI: {
3535
readonly kind: MethodKind.Unary,
3636
},
3737
/**
38-
* Create or Update one or more Entities. Prefer PublishEntity instead. The same caveats of PublishEntity apply.
39-
* This RPC does not return error messages for invalid entities or any other feedback from the server.
38+
* Creates or updates one or more entities. You "own" the entity you create using PublishEntities; other sources may not edit or delete these entities.
39+
* Note that PublishEntities doesn't return error messages for invalid entities or provide any other feedback from the server. We recommend using PublishEntity instead.
40+
* We only recommend switching to PublishEntities if you publish at an extremely high rate and find that waiting for a response from the server causes your publishing task to fall behind.
4041
*
4142
* @generated from rpc anduril.entitymanager.v1.EntityManagerAPI.PublishEntities
4243
*/

src/anduril/entitymanager/v1/entity_manager_api.pub_connect.js renamed to src/anduril/entitymanager/v1/entity_manager_grpcapi.pub_connect.js

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
// @generated by protoc-gen-connect-es v1.4.0 with parameter "js_import_style=legacy_commonjs"
2-
// @generated from file anduril/entitymanager/v1/entity_manager_api.pub.proto (package anduril.entitymanager.v1, syntax proto3)
2+
// @generated from file anduril/entitymanager/v1/entity_manager_grpcapi.pub.proto (package anduril.entitymanager.v1, syntax proto3)
33
/* eslint-disable */
44
// @ts-nocheck
55

66
"use strict";
77
Object.defineProperty(exports, "__esModule", { value: true });
88

9-
const { GetEntityRequest, GetEntityResponse, OverrideEntityRequest, OverrideEntityResponse, PublishEntitiesRequest, PublishEntitiesResponse, PublishEntityRequest, PublishEntityResponse, RemoveEntityOverrideRequest, RemoveEntityOverrideResponse, StreamEntityComponentsRequest, StreamEntityComponentsResponse } = require("./entity_manager_api.pub_pb.js");
9+
const { GetEntityRequest, GetEntityResponse, OverrideEntityRequest, OverrideEntityResponse, PublishEntitiesRequest, PublishEntitiesResponse, PublishEntityRequest, PublishEntityResponse, RemoveEntityOverrideRequest, RemoveEntityOverrideResponse, StreamEntityComponentsRequest, StreamEntityComponentsResponse } = require("./entity_manager_grpcapi.pub_pb.js");
1010
const { MethodKind } = require("@bufbuild/protobuf");
1111

1212
/**
13-
* The Entity Manager provides a UI centric data model for understanding the entities in a battle space.
13+
* Entity Manager manages the lifecycle of the entities that comprise the common operational picture.
1414
*
15-
* Every object in a battle space is represented as an "Entity". Each Entity is essentially an ID, with a life cycle,
15+
* Every object in a battle space is represented as an "Entity". Each Entity is essentially an ID, with a lifecycle
1616
* and a collection of data components. Each data component is a separate protobuf message definition.
1717
*
18-
* EntityManager provides a way to query the currently live set of entities within a set of filter constraints,
18+
* Entity Manager provides a way to query the currently live set of entities within a set of filter constraints,
1919
* as well as a limited set of management APIs to change the grouping or relationships between entities.
2020
*
2121
* @generated from service anduril.entitymanager.v1.EntityManagerAPI
@@ -24,10 +24,10 @@ const EntityManagerAPI = {
2424
typeName: "anduril.entitymanager.v1.EntityManagerAPI",
2525
methods: {
2626
/**
27-
* Unary RPC to publish an entity for ingest into Entity Manager. This is the preferred RPC to integrate entities
28-
* and should be used by most integrations to publish high- or low-update rate entities. Entities created with this
29-
* method are "owned" by the originator: other sources, such as the UI, may not edit or delete these entities.
30-
* Entities are validated at RPC call time and an error is returned if the entity is invalid.
27+
* Publishes an entity for ingestion by Entity Manager. You "own" the entity you create using PublishEntity;
28+
* other sources, such as the UI, may not edit or delete these entities.
29+
* When called, PublishEntity validates the entity and returns an error if the entity is invalid. We recommend using PublishEntity to publish high- or
30+
* low-update rate entities.
3131
*
3232
* @generated from rpc anduril.entitymanager.v1.EntityManagerAPI.PublishEntity
3333
*/
@@ -38,8 +38,9 @@ const EntityManagerAPI = {
3838
kind: MethodKind.Unary,
3939
},
4040
/**
41-
* Create or Update one or more Entities. Prefer PublishEntity instead. The same caveats of PublishEntity apply.
42-
* This RPC does not return error messages for invalid entities or any other feedback from the server.
41+
* Creates or updates one or more entities. You "own" the entity you create using PublishEntities; other sources may not edit or delete these entities.
42+
* Note that PublishEntities doesn't return error messages for invalid entities or provide any other feedback from the server. We recommend using PublishEntity instead.
43+
* We only recommend switching to PublishEntities if you publish at an extremely high rate and find that waiting for a response from the server causes your publishing task to fall behind.
4344
*
4445
* @generated from rpc anduril.entitymanager.v1.EntityManagerAPI.PublishEntities
4546
*/

src/anduril/entitymanager/v1/entity_manager_api.pub_pb.d.ts renamed to src/anduril/entitymanager/v1/entity_manager_grpcapi.pub_pb.d.ts

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// @generated by protoc-gen-es v1.7.2 with parameter "js_import_style=legacy_commonjs"
2-
// @generated from file anduril/entitymanager/v1/entity_manager_api.pub.proto (package anduril.entitymanager.v1, syntax proto3)
2+
// @generated from file anduril/entitymanager/v1/entity_manager_grpcapi.pub.proto (package anduril.entitymanager.v1, syntax proto3)
33
/* eslint-disable */
44
// @ts-nocheck
55

@@ -62,15 +62,15 @@ export declare enum EventType {
6262
*/
6363
export declare class PublishEntityRequest extends Message<PublishEntityRequest> {
6464
/**
65-
* Stream of fully formed entities to publish
66-
* Required fields per entity:
67-
* * expiry_time - must be in the future, but less than 30 days from now
68-
* * provenance.data_type [if using deprecated provenance.source, migrate to data_type.]
69-
* * provenance.source_update_time (can be earlier than rpc call if data entered is older)
65+
* Sends an entity object to publish.
66+
* Required fields:
67+
* * expiry_time. This must be in the future, but less than 30 days from now.
68+
* * provenance.data_type. If using the deprecated provenance.source, migrate to data_type.
69+
* * provenance.source_update_time. This can be earlier than the RPC call if the data entered is older.
7070
* * aliases.name
7171
* * ontology.template
72-
* any additional required fields will be determined by template, see com.anduril.entitymanager.v1.Template
73-
* if an entity_id is provided, will treat as update, otherwise create
72+
* For additional required fields that are determined by template, see com.anduril.entitymanager.v1.Template.
73+
* if an entity_id is provided, Entity Manager updates the entity. If no entity_id is provided, it creates an entity.
7474
*
7575
* @generated from field: anduril.entitymanager.v1.Entity entity = 1;
7676
*/
@@ -115,13 +115,15 @@ export declare class PublishEntityResponse extends Message<PublishEntityResponse
115115
*/
116116
export declare class PublishEntitiesRequest extends Message<PublishEntitiesRequest> {
117117
/**
118-
* Required fields:
119-
* * expiry_time - must be in the future, but less than 30 days from now
120-
* * provenance.data_type
121-
* * provenance.source_update_time (can be earlier than rpc call if data entered is older)
118+
* Sends a stream of entity objects to publish.
119+
* Each entity requires the following fields:
120+
* * expiry_time. This must be in the future, but less than 30 days from now.
121+
* * provenance.data_type. If using the deprecated provenance.source, migrate to data_type.
122+
* * provenance.source_update_time. This can be earlier than the RPC call if the data entered is older.
122123
* * aliases.name
123-
* any additional required fields will be determined by template, see com.anduril.entitymanager.v1.Template
124-
* if an entity_id is provided, will treat as update, otherwise create
124+
* * ontology.template
125+
* For additional required fields that are determined by template, see com.anduril.entitymanager.v1.Template.
126+
* If an entity_id is provided, the entity updates. If no entity_id is provided, the entity is created.
125127
*
126128
* @generated from field: anduril.entitymanager.v1.Entity entity = 1;
127129
*/
@@ -143,8 +145,9 @@ export declare class PublishEntitiesRequest extends Message<PublishEntitiesReque
143145
}
144146

145147
/**
146-
* After the stream is closed the server will return an empty message indicating success. If any streamed message
147-
* caused an error then the stream is immediately terminated and an error code is returned.
148+
* After the stream closes, the server returns an empty message indicating success. The server will silently
149+
* drop invalid entities from the client stream. The client must reopen the stream if it's canceled due to
150+
* an End of File (EOF) or timeout.
148151
*
149152
* @generated from message anduril.entitymanager.v1.PublishEntitiesResponse
150153
*/
@@ -230,7 +233,7 @@ export declare class OverrideEntityRequest extends Message<OverrideEntityRequest
230233

231234
/**
232235
* The field paths that will be extracted from the Entity and saved as an override. Only fields marked overridable can
233-
* be overriden.
236+
* be overridden.
234237
*
235238
* @generated from field: repeated string field_path = 2;
236239
*/
@@ -351,9 +354,8 @@ export declare class StreamEntityComponentsRequest extends Message<StreamEntityC
351354
componentsToInclude: string[];
352355

353356
/**
354-
* subscribe to all components. This should only be used in cases where you want all components (e.g. latticectl) and
355-
* if you're using it for other services please reach out first. Setting both components_to_include and
356-
* include_all_components is invalid and will be rejected.
357+
* subscribe to all components. This should only be used in cases where you want all components.
358+
* Setting both components_to_include and include_all_components is invalid and will be rejected.
357359
*
358360
* @generated from field: bool include_all_components = 2;
359361
*/

src/anduril/entitymanager/v1/entity_manager_api.pub_pb.js renamed to src/anduril/entitymanager/v1/entity_manager_grpcapi.pub_pb.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// @generated by protoc-gen-es v1.7.2 with parameter "js_import_style=legacy_commonjs"
2-
// @generated from file anduril/entitymanager/v1/entity_manager_api.pub.proto (package anduril.entitymanager.v1, syntax proto3)
2+
// @generated from file anduril/entitymanager/v1/entity_manager_grpcapi.pub.proto (package anduril.entitymanager.v1, syntax proto3)
33
/* eslint-disable */
44
// @ts-nocheck
55

@@ -58,8 +58,9 @@ const PublishEntitiesRequest = proto3.makeMessageType(
5858
);
5959

6060
/**
61-
* After the stream is closed the server will return an empty message indicating success. If any streamed message
62-
* caused an error then the stream is immediately terminated and an error code is returned.
61+
* After the stream closes, the server returns an empty message indicating success. The server will silently
62+
* drop invalid entities from the client stream. The client must reopen the stream if it's canceled due to
63+
* an End of File (EOF) or timeout.
6364
*
6465
* @generated from message anduril.entitymanager.v1.PublishEntitiesResponse
6566
*/

src/anduril/entitymanager/v1/geoentity.pub_pb.d.ts

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,6 @@ export declare enum GeoType {
3333
*/
3434
EMERGENCY = 3,
3535

36-
/**
37-
* Fire support coordination measure
38-
*
39-
* @generated from enum value: GEO_TYPE_FSCM = 4;
40-
*/
41-
FSCM = 4,
42-
4336
/**
4437
* Engagement zones allow for engaging an entity if it comes within the zone of another entity.
4538
*
@@ -56,20 +49,6 @@ export declare enum GeoType {
5649
* @generated from enum value: GEO_TYPE_BULLSEYE = 7;
5750
*/
5851
BULLSEYE = 7,
59-
60-
/**
61-
* Airspace Coordinating Measure
62-
*
63-
* @generated from enum value: GEO_TYPE_ACM = 8;
64-
*/
65-
ACM = 8,
66-
67-
/**
68-
* Maneuver Control Measure
69-
*
70-
* @generated from enum value: GEO_TYPE_MCM = 9;
71-
*/
72-
MCM = 9,
7352
}
7453

7554
/**

src/anduril/entitymanager/v1/geoentity.pub_pb.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,9 @@ const GeoType = proto3.makeEnum(
2121
{no: 1, name: "GEO_TYPE_GENERAL", localName: "GENERAL"},
2222
{no: 2, name: "GEO_TYPE_HAZARD", localName: "HAZARD"},
2323
{no: 3, name: "GEO_TYPE_EMERGENCY", localName: "EMERGENCY"},
24-
{no: 4, name: "GEO_TYPE_FSCM", localName: "FSCM"},
2524
{no: 5, name: "GEO_TYPE_ENGAGEMENT_ZONE", localName: "ENGAGEMENT_ZONE"},
2625
{no: 6, name: "GEO_TYPE_CONTROL_AREA", localName: "CONTROL_AREA"},
2726
{no: 7, name: "GEO_TYPE_BULLSEYE", localName: "BULLSEYE"},
28-
{no: 8, name: "GEO_TYPE_ACM", localName: "ACM"},
29-
{no: 9, name: "GEO_TYPE_MCM", localName: "MCM"},
3027
],
3128
);
3229

src/anduril/entitymanager/v1/supplies.pub_pb.d.ts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -198,17 +198,16 @@ export declare class Supplies extends Message<Supplies> {
198198
*/
199199
export declare class Munition extends Message<Munition> {
200200
/**
201-
* unique munition identifier (for the DoD would be called a munition code. e.g., AGM-114 for the AGM-114 Hellfire missile)
202-
* no "componentIdentifier" field option included. It may be possible munitions with the same identifier (e.g., AGM-114)
203-
* but different condition codes or quantities (e.g., qty 4 in condition A but qty 2 in condition F) are included in the
201+
* unique munition identifier (for the DoD would be called a munition code). It may be possible munitions with the same identifier
202+
* but different condition codes or quantities (e.g., qty 4 in condition A but qty 2 in condition F) to be included in the
204203
* repeated munitions field of the supplies message.
205204
*
206205
* @generated from field: string munition_id = 1;
207206
*/
208207
munitionId: string;
209208

210209
/**
211-
* long form name of the munition (e.g., AGM-114 Hellfire)
210+
* long form name of the munition
212211
*
213212
* @generated from field: string name = 2;
214213
*/
@@ -273,14 +272,14 @@ export declare class Munition extends Message<Munition> {
273272
*/
274273
export declare class Fuel extends Message<Fuel> {
275274
/**
276-
* unique munition identifier (for the DoD would be called a munition code. e.g., AGM-114 for the AGM-114 Hellfire missile)
275+
* unique fuel identifier
277276
*
278277
* @generated from field: string fuel_id = 1;
279278
*/
280279
fuelId: string;
281280

282281
/**
283-
* long form name of the munition (e.g., AGM-114 Hellfire)
282+
* long form name of the fuel source.
284283
*
285284
* @generated from field: string name = 2;
286285
*/
@@ -294,7 +293,7 @@ export declare class Fuel extends Message<Fuel> {
294293
reportedDate?: Timestamp;
295294

296295
/**
297-
* amount on hand of the unit of measure
296+
* amount of gallons on hand
298297
*
299298
* @generated from field: uint32 amount_gallons = 4;
300299
*/

src/anduril/entitymanager/v1/transponder_codes.pub_pb.d.ts

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -42,24 +42,21 @@ export declare enum InterrogationResponse {
4242
*/
4343
export declare class TransponderCodes extends Message<TransponderCodes> {
4444
/**
45-
* The mode 1 code assigned to military assets. Mode 1 is a 5-bit decimal (1-31) value. Note that Mode 1 codes are
46-
* NOT unique. A zero mode code indicates No Statement.
45+
* The mode 1 code assigned to military assets.
4746
*
4847
* @generated from field: uint32 mode1 = 1;
4948
*/
5049
mode1: number;
5150

5251
/**
53-
* The Mode 2 code assigned to military assets. Mode 2 is a 12-bit decimal (1-4095) value. If displaying to a user,
54-
* convert to 4 digit octal 0001-7777. Note that Mode 2 codes are NOT unique. A zero mode code indicates No Statement.
52+
* The Mode 2 code assigned to military assets.
5553
*
5654
* @generated from field: uint32 mode2 = 2;
5755
*/
5856
mode2: number;
5957

6058
/**
61-
* The Mode 3 code assigned by ATC to the asset. Mode 3 is a 12-bit decimal (1-4095) value. If displaying to a user,
62-
* convert to 4 digit octal 0001-7777. Note that Mode 3 codes are NOT unique. A zero mode code indicates No Statement.
59+
* The Mode 3 code assigned by ATC to the asset.
6360
*
6461
* @generated from field: uint32 mode3 = 3;
6562
*/
@@ -115,19 +112,14 @@ export declare class Mode5 extends Message<Mode5> {
115112
mode5InterrogationResponse: InterrogationResponse;
116113

117114
/**
118-
* The Mode 5 code assigned to military assets. Mode 5 is a 12-bit decimal (1-4095) value. If displaying to a user,
119-
* convert to 4 digit octal 0001-7777. Note that Mode 5 codes are NOT unique by themselves, but should be used in
120-
* conjunction with the Mode 5 platform ID & nationality to provide unique identification.
121-
* A zero mode code indicates No Statement.
115+
* The Mode 5 code assigned to military assets.
122116
*
123117
* @generated from field: uint32 mode5 = 2;
124118
*/
125119
mode5: number;
126120

127121
/**
128-
* The Mode 5 platform identification code. Expected values are between 1 and 16383. Used in conjunction with the
129-
* Nationality it provides IFF/SIF capabilities.
130-
* A zero platform id indicates No Statement.
122+
* The Mode 5 platform identification code.
131123
*
132124
* @generated from field: uint32 mode5_platform_id = 3;
133125
*/

0 commit comments

Comments
 (0)