Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update from https://github.com/anduril/public-api-protos/commit/3c37206601f3ef1fb396c9c9a3fbb6b0caa6ecae #11

Merged
merged 1 commit into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions src/anduril/entitymanager/v1/entity.pub_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import type { Classification } from "./classification.pub_pb.js";
import type { TaskCatalog } from "../../tasks/v2/catalog.pub_pb.js";
import type { Media } from "./media.pub_pb.js";
import type { Relationships } from "./relationship.pub_pb.js";
import type { PrototypeExtensions } from "./prototype.pub_pb.js";
import type { Dimensions } from "./dimensions.pub_pb.js";
import type { RouteDetails } from "./route_details.pub_pb.js";
import type { Schedules } from "./schedule.pub_pb.js";
Expand Down Expand Up @@ -338,19 +337,6 @@ export declare class Entity extends Message<Entity> {
*/
visualDetails?: VisualDetails;

/**
* A generic component that should only be used by Anduril employees as a way of ferrying data without modelling it as a full component. USE WITH CAUTION!!
* The following should be considered before use:
* If you have the time available, liaise with the battlespace team (#battlespace-team) to determine if this should be modelled on an existing/new component
* You're responsible for handling key conflicts
* Any data on here is not supported by the battlespace awareness team
* The intention is for this to be used by short-lived prototypes where you may not have conviction in it's longevity
* 🙏
*
* @generated from field: anduril.entitymanager.v1.PrototypeExtensions prototype_extensions = 35;
*/
prototypeExtensions?: PrototypeExtensions;

/**
* Physical dimensions of the entity
*
Expand Down
2 changes: 0 additions & 2 deletions src/anduril/entitymanager/v1/entity.pub_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ const { Classification } = require("./classification.pub_pb.js");
const { TaskCatalog } = require("../../tasks/v2/catalog.pub_pb.js");
const { Media } = require("./media.pub_pb.js");
const { Relationships } = require("./relationship.pub_pb.js");
const { PrototypeExtensions } = require("./prototype.pub_pb.js");
const { Dimensions } = require("./dimensions.pub_pb.js");
const { RouteDetails } = require("./route_details.pub_pb.js");
const { Schedules } = require("./schedule.pub_pb.js");
Expand Down Expand Up @@ -101,7 +100,6 @@ const Entity = proto3.makeMessageType(
{ no: 32, name: "media", kind: "message", T: Media },
{ no: 33, name: "relationships", kind: "message", T: Relationships },
{ no: 34, name: "visual_details", kind: "message", T: VisualDetails },
{ no: 35, name: "prototype_extensions", kind: "message", T: PrototypeExtensions },
{ no: 36, name: "dimensions", kind: "message", T: Dimensions },
{ no: 37, name: "route_details", kind: "message", T: RouteDetails },
{ no: 38, name: "schedules", kind: "message", T: Schedules },
Expand Down
32 changes: 0 additions & 32 deletions src/anduril/entitymanager/v1/prototype.pub_pb.d.ts

This file was deleted.

22 changes: 0 additions & 22 deletions src/anduril/entitymanager/v1/prototype.pub_pb.js

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
// @generated by protoc-gen-es v1.7.2 with parameter "js_import_style=legacy_commonjs"
// @generated from file anduril/tasks/ad/desertguardian/common/v1/common_tasks.pub.proto (package anduril.tasks.ad.desertguardian.common.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck

import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
import { Message, proto3 } from "@bufbuild/protobuf";

/**
* @generated from enum anduril.tasks.ad.desertguardian.common.v1.PowerState
*/
export declare enum PowerState {
/**
* @generated from enum value: POWER_STATE_INVALID = 0;
*/
INVALID = 0,

/**
* @generated from enum value: POWER_STATE_ON = 1;
*/
ON = 1,

/**
* @generated from enum value: POWER_STATE_OFF = 2;
*/
OFF = 2,
}

/**
* Set the power state of a Platform. It is up to the Platform to interpret the power state and act accordingly.
*
* @generated from message anduril.tasks.ad.desertguardian.common.v1.SetPowerState
*/
export declare class SetPowerState extends Message<SetPowerState> {
/**
* @generated from field: anduril.tasks.ad.desertguardian.common.v1.PowerState power_state = 1;
*/
powerState: PowerState;

constructor(data?: PartialMessage<SetPowerState>);

static readonly runtime: typeof proto3;
static readonly typeName = "anduril.tasks.ad.desertguardian.common.v1.SetPowerState";
static readonly fields: FieldList;

static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetPowerState;

static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetPowerState;

static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetPowerState;

static equals(a: SetPowerState | PlainMessage<SetPowerState> | undefined, b: SetPowerState | PlainMessage<SetPowerState> | undefined): boolean;
}

/**
* Delete an entity from the internal tracker of a Platform.
* Does not silence or suppress the track from re-forming if the tracking conditions are satisfied.
*
* @generated from message anduril.tasks.ad.desertguardian.common.v1.DeleteTrack
*/
export declare class DeleteTrack extends Message<DeleteTrack> {
/**
* @generated from field: string entity_id = 1;
*/
entityId: string;

constructor(data?: PartialMessage<DeleteTrack>);

static readonly runtime: typeof proto3;
static readonly typeName = "anduril.tasks.ad.desertguardian.common.v1.DeleteTrack";
static readonly fields: FieldList;

static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteTrack;

static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteTrack;

static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteTrack;

static equals(a: DeleteTrack | PlainMessage<DeleteTrack> | undefined, b: DeleteTrack | PlainMessage<DeleteTrack> | undefined): boolean;
}

/**
* Set this entity as a "High Priority Track".
* The tasked Platform is responsible for maintaining a list of current High-Priority tracks.
*
* @generated from message anduril.tasks.ad.desertguardian.common.v1.SetHighPriorityTrack
*/
export declare class SetHighPriorityTrack extends Message<SetHighPriorityTrack> {
/**
* @generated from field: string entity_id = 1;
*/
entityId: string;

constructor(data?: PartialMessage<SetHighPriorityTrack>);

static readonly runtime: typeof proto3;
static readonly typeName = "anduril.tasks.ad.desertguardian.common.v1.SetHighPriorityTrack";
static readonly fields: FieldList;

static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetHighPriorityTrack;

static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetHighPriorityTrack;

static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetHighPriorityTrack;

static equals(a: SetHighPriorityTrack | PlainMessage<SetHighPriorityTrack> | undefined, b: SetHighPriorityTrack | PlainMessage<SetHighPriorityTrack> | undefined): boolean;
}

/**
* Unset this entity as a "High Priority Track".
* The tasked Platform is responsible for maintaining a list of current High-Priority tracks.
*
* @generated from message anduril.tasks.ad.desertguardian.common.v1.RemoveHighPriorityTrack
*/
export declare class RemoveHighPriorityTrack extends Message<RemoveHighPriorityTrack> {
/**
* @generated from field: string entity_id = 1;
*/
entityId: string;

constructor(data?: PartialMessage<RemoveHighPriorityTrack>);

static readonly runtime: typeof proto3;
static readonly typeName = "anduril.tasks.ad.desertguardian.common.v1.RemoveHighPriorityTrack";
static readonly fields: FieldList;

static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RemoveHighPriorityTrack;

static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RemoveHighPriorityTrack;

static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RemoveHighPriorityTrack;

static equals(a: RemoveHighPriorityTrack | PlainMessage<RemoveHighPriorityTrack> | undefined, b: RemoveHighPriorityTrack | PlainMessage<RemoveHighPriorityTrack> | undefined): boolean;
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
// @generated by protoc-gen-es v1.7.2 with parameter "js_import_style=legacy_commonjs"
// @generated from file anduril/tasks/ad/desertguardian/common/v1/common_tasks.pub.proto (package anduril.tasks.ad.desertguardian.common.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck

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

const { proto3 } = require("@bufbuild/protobuf");

/**
* @generated from enum anduril.tasks.ad.desertguardian.common.v1.PowerState
*/
const PowerState = proto3.makeEnum(
"anduril.tasks.ad.desertguardian.common.v1.PowerState",
[
{no: 0, name: "POWER_STATE_INVALID", localName: "INVALID"},
{no: 1, name: "POWER_STATE_ON", localName: "ON"},
{no: 2, name: "POWER_STATE_OFF", localName: "OFF"},
],
);

/**
* Set the power state of a Platform. It is up to the Platform to interpret the power state and act accordingly.
*
* @generated from message anduril.tasks.ad.desertguardian.common.v1.SetPowerState
*/
const SetPowerState = proto3.makeMessageType(
"anduril.tasks.ad.desertguardian.common.v1.SetPowerState",
() => [
{ no: 1, name: "power_state", kind: "enum", T: proto3.getEnumType(PowerState) },
],
);

/**
* Delete an entity from the internal tracker of a Platform.
* Does not silence or suppress the track from re-forming if the tracking conditions are satisfied.
*
* @generated from message anduril.tasks.ad.desertguardian.common.v1.DeleteTrack
*/
const DeleteTrack = proto3.makeMessageType(
"anduril.tasks.ad.desertguardian.common.v1.DeleteTrack",
() => [
{ no: 1, name: "entity_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
],
);

/**
* Set this entity as a "High Priority Track".
* The tasked Platform is responsible for maintaining a list of current High-Priority tracks.
*
* @generated from message anduril.tasks.ad.desertguardian.common.v1.SetHighPriorityTrack
*/
const SetHighPriorityTrack = proto3.makeMessageType(
"anduril.tasks.ad.desertguardian.common.v1.SetHighPriorityTrack",
() => [
{ no: 1, name: "entity_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
],
);

/**
* Unset this entity as a "High Priority Track".
* The tasked Platform is responsible for maintaining a list of current High-Priority tracks.
*
* @generated from message anduril.tasks.ad.desertguardian.common.v1.RemoveHighPriorityTrack
*/
const RemoveHighPriorityTrack = proto3.makeMessageType(
"anduril.tasks.ad.desertguardian.common.v1.RemoveHighPriorityTrack",
() => [
{ no: 1, name: "entity_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
],
);


exports.PowerState = PowerState;
exports.SetPowerState = SetPowerState;
exports.DeleteTrack = DeleteTrack;
exports.SetHighPriorityTrack = SetHighPriorityTrack;
exports.RemoveHighPriorityTrack = RemoveHighPriorityTrack;
Loading