Skip to content

Commit 57bc3ff

Browse files
Merge pull request #10 from anduril/publish_1724712909
2 parents 393c051 + e732b3e commit 57bc3ff

16 files changed

+815
-12
lines changed

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

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import type { Schedules } from "./schedule.pub_pb.js";
2727
import type { Health } from "./health_status.pub_pb.js";
2828
import type { GroupDetails } from "./group.pub_pb.js";
2929
import type { Supplies } from "./supplies.pub_pb.js";
30+
import type { Orbit } from "./orbit.pub_pb.js";
3031
import type { AltIdType, OverrideStatus, OverrideType, Source, UInt32Range } from "./types.pub_pb.js";
3132

3233
/**
@@ -399,6 +400,13 @@ export declare class Entity extends Message<Entity> {
399400
*/
400401
supplies?: Supplies;
401402

403+
/**
404+
* Orbit information for space objects
405+
*
406+
* @generated from field: anduril.entitymanager.v1.Orbit orbit = 46;
407+
*/
408+
orbit?: Orbit;
409+
402410
constructor(data?: PartialMessage<Entity>);
403411

404412
static readonly runtime: typeof proto3;
@@ -884,7 +892,8 @@ export declare class OriginalData extends Message<OriginalData> {
884892
url: string;
885893

886894
/**
887-
* @generated from field: anduril.entitymanager.v1.OriginalData.TLE tle = 2;
895+
* @generated from field: anduril.entitymanager.v1.OriginalData.TLE tle = 2 [deprecated = true];
896+
* @deprecated
888897
*/
889898
tle?: OriginalData_TLE;
890899

@@ -908,6 +917,7 @@ export declare class OriginalData extends Message<OriginalData> {
908917
* It is composed of two lines that are each a fixed width of 69 characters.
909918
*
910919
* @generated from message anduril.entitymanager.v1.OriginalData.TLE
920+
* @deprecated
911921
*/
912922
export declare class OriginalData_TLE extends Message<OriginalData_TLE> {
913923
/**

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ const { Schedules } = require("./schedule.pub_pb.js");
2929
const { Health } = require("./health_status.pub_pb.js");
3030
const { GroupDetails } = require("./group.pub_pb.js");
3131
const { Supplies } = require("./supplies.pub_pb.js");
32+
const { Orbit } = require("./orbit.pub_pb.js");
3233
const { AltIdType, OverrideStatus, OverrideType, Source, UInt32Range } = require("./types.pub_pb.js");
3334

3435
/**
@@ -108,6 +109,7 @@ const Entity = proto3.makeMessageType(
108109
{ no: 40, name: "group_details", kind: "message", T: GroupDetails },
109110
{ no: 41, name: "team_status", kind: "message", T: TeamStatus },
110111
{ no: 42, name: "supplies", kind: "message", T: Supplies },
112+
{ no: 46, name: "orbit", kind: "message", T: Orbit },
111113
],
112114
);
113115

@@ -268,6 +270,7 @@ const OriginalData = proto3.makeMessageType(
268270
* It is composed of two lines that are each a fixed width of 69 characters.
269271
*
270272
* @generated from message anduril.entitymanager.v1.OriginalData.TLE
273+
* @deprecated
271274
*/
272275
const OriginalData_TLE = proto3.makeMessageType(
273276
"anduril.entitymanager.v1.OriginalData.TLE",

src/anduril/entitymanager/v1/entity_manager_api.pub_connect.d.ts

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/* eslint-disable */
44
// @ts-nocheck
55

6-
import { DeleteEntityRequest, DeleteEntityResponse, GetEntityRequest, GetEntityResponse, OverrideEntityRequest, OverrideEntityResponse, PublishEntitiesRequest, PublishEntitiesResponse, PutEntityRequest, PutEntityResponse, RemoveEntityOverrideRequest, RemoveEntityOverrideResponse, StreamEntityComponentsRequest, StreamEntityComponentsResponse } from "./entity_manager_api.pub_pb.js";
6+
import { DeleteEntityRequest, DeleteEntityResponse, GetEntityRequest, GetEntityResponse, OverrideEntityRequest, OverrideEntityResponse, PublishEntitiesRequest, PublishEntitiesResponse, PutEntityRequest, PutEntityResponse, RelateEntityRequest, RelateEntityResponse, RemoveEntityOverrideRequest, RemoveEntityOverrideResponse, StreamEntityComponentsRequest, StreamEntityComponentsResponse, UnrelateEntityRequest, UnrelateEntityResponse } from "./entity_manager_api.pub_pb.js";
77
import { MethodKind } from "@bufbuild/protobuf";
88

99
/**
@@ -101,6 +101,29 @@ export declare const EntityManagerAPI: {
101101
readonly O: typeof DeleteEntityResponse,
102102
readonly kind: MethodKind.Unary,
103103
},
104+
/**
105+
* Creates or Updates relationships on an Entity. All relationships that are being added in the request
106+
* succeed or fail as a batch (i.e. if any one relationship is invalid, the request will fail).
107+
*
108+
* @generated from rpc anduril.entitymanager.v1.EntityManagerAPI.RelateEntity
109+
*/
110+
readonly relateEntity: {
111+
readonly name: "RelateEntity",
112+
readonly I: typeof RelateEntityRequest,
113+
readonly O: typeof RelateEntityResponse,
114+
readonly kind: MethodKind.Unary,
115+
},
116+
/**
117+
* Deletes relationships on an Entity.
118+
*
119+
* @generated from rpc anduril.entitymanager.v1.EntityManagerAPI.UnrelateEntity
120+
*/
121+
readonly unrelateEntity: {
122+
readonly name: "UnrelateEntity",
123+
readonly I: typeof UnrelateEntityRequest,
124+
readonly O: typeof UnrelateEntityResponse,
125+
readonly kind: MethodKind.Unary,
126+
},
104127
}
105128
};
106129

src/anduril/entitymanager/v1/entity_manager_api.pub_connect.js

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"use strict";
77
Object.defineProperty(exports, "__esModule", { value: true });
88

9-
const { DeleteEntityRequest, DeleteEntityResponse, GetEntityRequest, GetEntityResponse, OverrideEntityRequest, OverrideEntityResponse, PublishEntitiesRequest, PublishEntitiesResponse, PutEntityRequest, PutEntityResponse, RemoveEntityOverrideRequest, RemoveEntityOverrideResponse, StreamEntityComponentsRequest, StreamEntityComponentsResponse } = require("./entity_manager_api.pub_pb.js");
9+
const { DeleteEntityRequest, DeleteEntityResponse, GetEntityRequest, GetEntityResponse, OverrideEntityRequest, OverrideEntityResponse, PublishEntitiesRequest, PublishEntitiesResponse, PutEntityRequest, PutEntityResponse, RelateEntityRequest, RelateEntityResponse, RemoveEntityOverrideRequest, RemoveEntityOverrideResponse, StreamEntityComponentsRequest, StreamEntityComponentsResponse, UnrelateEntityRequest, UnrelateEntityResponse } = require("./entity_manager_api.pub_pb.js");
1010
const { MethodKind } = require("@bufbuild/protobuf");
1111

1212
/**
@@ -104,6 +104,29 @@ const EntityManagerAPI = {
104104
O: DeleteEntityResponse,
105105
kind: MethodKind.Unary,
106106
},
107+
/**
108+
* Creates or Updates relationships on an Entity. All relationships that are being added in the request
109+
* succeed or fail as a batch (i.e. if any one relationship is invalid, the request will fail).
110+
*
111+
* @generated from rpc anduril.entitymanager.v1.EntityManagerAPI.RelateEntity
112+
*/
113+
relateEntity: {
114+
name: "RelateEntity",
115+
I: RelateEntityRequest,
116+
O: RelateEntityResponse,
117+
kind: MethodKind.Unary,
118+
},
119+
/**
120+
* Deletes relationships on an Entity.
121+
*
122+
* @generated from rpc anduril.entitymanager.v1.EntityManagerAPI.UnrelateEntity
123+
*/
124+
unrelateEntity: {
125+
name: "UnrelateEntity",
126+
I: UnrelateEntityRequest,
127+
O: UnrelateEntityResponse,
128+
kind: MethodKind.Unary,
129+
},
107130
}
108131
};
109132

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

Lines changed: 167 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import type { Entity, Provenance } from "./entity.pub_pb.js";
99
import type { Statement } from "./filter.pub_pb.js";
1010
import type { RateLimit } from "./rate_limit.pub_pb.js";
1111
import type { OverrideStatus } from "./types.pub_pb.js";
12+
import type { RelationshipType } from "./relationship.pub_pb.js";
1213

1314
/**
1415
* The type of entity event.
@@ -503,6 +504,172 @@ export declare class DeleteEntityResponse extends Message<DeleteEntityResponse>
503504
static equals(a: DeleteEntityResponse | PlainMessage<DeleteEntityResponse> | undefined, b: DeleteEntityResponse | PlainMessage<DeleteEntityResponse> | undefined): boolean;
504505
}
505506

507+
/**
508+
* The set of relationships to add to an entity. Relationships are specified from the primary entity to the
509+
* other entity specified in the relationship request(s).
510+
*
511+
* @generated from message anduril.entitymanager.v1.RelateEntityRequest
512+
*/
513+
export declare class RelateEntityRequest extends Message<RelateEntityRequest> {
514+
/**
515+
* The entity onto which relationships are being added.
516+
*
517+
* @generated from field: string entity_id = 1;
518+
*/
519+
entityId: string;
520+
521+
/**
522+
* The relationships to add to the entity.
523+
*
524+
* @generated from field: repeated anduril.entitymanager.v1.RelationshipRequest relationships = 2;
525+
*/
526+
relationships: RelationshipRequest[];
527+
528+
constructor(data?: PartialMessage<RelateEntityRequest>);
529+
530+
static readonly runtime: typeof proto3;
531+
static readonly typeName = "anduril.entitymanager.v1.RelateEntityRequest";
532+
static readonly fields: FieldList;
533+
534+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RelateEntityRequest;
535+
536+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RelateEntityRequest;
537+
538+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RelateEntityRequest;
539+
540+
static equals(a: RelateEntityRequest | PlainMessage<RelateEntityRequest> | undefined, b: RelateEntityRequest | PlainMessage<RelateEntityRequest> | undefined): boolean;
541+
}
542+
543+
/**
544+
* A request for a relationship on an entity. Forms a partial of the entitymanager.v1.Relationship message.
545+
*
546+
* @generated from message anduril.entitymanager.v1.RelationshipRequest
547+
*/
548+
export declare class RelationshipRequest extends Message<RelationshipRequest> {
549+
/**
550+
* The entity ID to which this entity is related.
551+
*
552+
* @generated from field: string related_entity_id = 1;
553+
*/
554+
relatedEntityId: string;
555+
556+
/**
557+
* If RelationshipID is empty, a new relationship is created. Otherwise, the service will attempt
558+
* to update an already existing relationship on the entity.
559+
*
560+
* @generated from field: string relationship_id = 2;
561+
*/
562+
relationshipId: string;
563+
564+
/**
565+
* The relationship type
566+
*
567+
* @generated from field: anduril.entitymanager.v1.RelationshipType relationship_type = 3;
568+
*/
569+
relationshipType?: RelationshipType;
570+
571+
constructor(data?: PartialMessage<RelationshipRequest>);
572+
573+
static readonly runtime: typeof proto3;
574+
static readonly typeName = "anduril.entitymanager.v1.RelationshipRequest";
575+
static readonly fields: FieldList;
576+
577+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RelationshipRequest;
578+
579+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RelationshipRequest;
580+
581+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RelationshipRequest;
582+
583+
static equals(a: RelationshipRequest | PlainMessage<RelationshipRequest> | undefined, b: RelationshipRequest | PlainMessage<RelationshipRequest> | undefined): boolean;
584+
}
585+
586+
/**
587+
* @generated from message anduril.entitymanager.v1.RelateEntityResponse
588+
*/
589+
export declare class RelateEntityResponse extends Message<RelateEntityResponse> {
590+
/**
591+
* Newly related entity object with only Relationships component present.
592+
*
593+
* @generated from field: anduril.entitymanager.v1.Entity entity = 1;
594+
*/
595+
entity?: Entity;
596+
597+
constructor(data?: PartialMessage<RelateEntityResponse>);
598+
599+
static readonly runtime: typeof proto3;
600+
static readonly typeName = "anduril.entitymanager.v1.RelateEntityResponse";
601+
static readonly fields: FieldList;
602+
603+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RelateEntityResponse;
604+
605+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RelateEntityResponse;
606+
607+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RelateEntityResponse;
608+
609+
static equals(a: RelateEntityResponse | PlainMessage<RelateEntityResponse> | undefined, b: RelateEntityResponse | PlainMessage<RelateEntityResponse> | undefined): boolean;
610+
}
611+
612+
/**
613+
* The relationships to remove from an entity.
614+
*
615+
* @generated from message anduril.entitymanager.v1.UnrelateEntityRequest
616+
*/
617+
export declare class UnrelateEntityRequest extends Message<UnrelateEntityRequest> {
618+
/**
619+
* The entity from which relationships are being removed.
620+
*
621+
* @generated from field: string entity_id = 1;
622+
*/
623+
entityId: string;
624+
625+
/**
626+
* The relationships to delete on the entity, specified as relationship id.
627+
*
628+
* @generated from field: repeated string relationship_ids = 2;
629+
*/
630+
relationshipIds: string[];
631+
632+
constructor(data?: PartialMessage<UnrelateEntityRequest>);
633+
634+
static readonly runtime: typeof proto3;
635+
static readonly typeName = "anduril.entitymanager.v1.UnrelateEntityRequest";
636+
static readonly fields: FieldList;
637+
638+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UnrelateEntityRequest;
639+
640+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UnrelateEntityRequest;
641+
642+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UnrelateEntityRequest;
643+
644+
static equals(a: UnrelateEntityRequest | PlainMessage<UnrelateEntityRequest> | undefined, b: UnrelateEntityRequest | PlainMessage<UnrelateEntityRequest> | undefined): boolean;
645+
}
646+
647+
/**
648+
* @generated from message anduril.entitymanager.v1.UnrelateEntityResponse
649+
*/
650+
export declare class UnrelateEntityResponse extends Message<UnrelateEntityResponse> {
651+
/**
652+
* Updated entity object with only Relationships component present.
653+
*
654+
* @generated from field: anduril.entitymanager.v1.Entity entity = 1;
655+
*/
656+
entity?: Entity;
657+
658+
constructor(data?: PartialMessage<UnrelateEntityResponse>);
659+
660+
static readonly runtime: typeof proto3;
661+
static readonly typeName = "anduril.entitymanager.v1.UnrelateEntityResponse";
662+
static readonly fields: FieldList;
663+
664+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UnrelateEntityResponse;
665+
666+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UnrelateEntityResponse;
667+
668+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UnrelateEntityResponse;
669+
670+
static equals(a: UnrelateEntityResponse | PlainMessage<UnrelateEntityResponse> | undefined, b: UnrelateEntityResponse | PlainMessage<UnrelateEntityResponse> | undefined): boolean;
671+
}
672+
506673
/**
507674
* Event representing some type of entity change.
508675
*

0 commit comments

Comments
 (0)