Skip to content

Commit

Permalink
Continuous Integration Build Protobuf Client Libraries for ES
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 20, 2024
1 parent fff7246 commit 8476b6d
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 26 deletions.
42 changes: 26 additions & 16 deletions build/es/eventbus/eventbus_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import type { Namespace } from "../node/namespaces/namespaces_pb.js";
import type { Device } from "../node/devices/devices_pb.js";

/**
* @generated from enum infinimesh.eventbus.EventType
* @generated from enum infinimesh.eventbus.EventKind
*/
export declare enum EventType {
export declare enum EventKind {
/**
* @generated from enum value: NONE = 0;
*/
Expand All @@ -34,44 +34,54 @@ export declare enum EventType {
ACCOUNT_DELETE = 3,

/**
* @generated from enum value: NAMESPACE_CREATE = 4;
* @generated from enum value: ACCOUNT_MOVE = 4;
*/
NAMESPACE_CREATE = 4,
ACCOUNT_MOVE = 4,

/**
* @generated from enum value: NAMESPACE_UPDATE = 5;
* @generated from enum value: NAMESPACE_CREATE = 5;
*/
NAMESPACE_UPDATE = 5,
NAMESPACE_CREATE = 5,

/**
* @generated from enum value: NAMESPACE_DELETE = 6;
* @generated from enum value: NAMESPACE_UPDATE = 6;
*/
NAMESPACE_DELETE = 6,
NAMESPACE_UPDATE = 6,

/**
* @generated from enum value: DEVICE_CREATE = 7;
* @generated from enum value: NAMESPACE_DELETE = 7;
*/
DEVICE_CREATE = 7,
NAMESPACE_DELETE = 7,

/**
* @generated from enum value: DEVICE_UPDATE = 8;
* @generated from enum value: DEVICE_CREATE = 8;
*/
DEVICE_UPDATE = 8,
DEVICE_CREATE = 8,

/**
* @generated from enum value: DEVICE_DELETE = 9;
* @generated from enum value: DEVICE_UPDATE = 9;
*/
DEVICE_DELETE = 9,
DEVICE_UPDATE = 9,

/**
* @generated from enum value: DEVICE_DELETE = 10;
*/
DEVICE_DELETE = 10,

/**
* @generated from enum value: DEVICE_MOVE = 11;
*/
DEVICE_MOVE = 11,
}

/**
* @generated from message infinimesh.eventbus.Event
*/
export declare class Event extends Message<Event> {
/**
* @generated from field: infinimesh.eventbus.EventType event_type = 1;
* @generated from field: infinimesh.eventbus.EventKind event_kind = 1;
*/
eventType: EventType;
eventKind: EventKind;

/**
* @generated from oneof infinimesh.eventbus.Event.entity
Expand Down
22 changes: 12 additions & 10 deletions build/es/eventbus/eventbus_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,23 @@ import { Namespace } from "../node/namespaces/namespaces_pb.js";
import { Device } from "../node/devices/devices_pb.js";

/**
* @generated from enum infinimesh.eventbus.EventType
* @generated from enum infinimesh.eventbus.EventKind
*/
export const EventType = proto3.makeEnum(
"infinimesh.eventbus.EventType",
export const EventKind = proto3.makeEnum(
"infinimesh.eventbus.EventKind",
[
{no: 0, name: "NONE"},
{no: 1, name: "ACCOUNT_CREATE"},
{no: 2, name: "ACCOUNT_UPDATE"},
{no: 3, name: "ACCOUNT_DELETE"},
{no: 4, name: "NAMESPACE_CREATE"},
{no: 5, name: "NAMESPACE_UPDATE"},
{no: 6, name: "NAMESPACE_DELETE"},
{no: 7, name: "DEVICE_CREATE"},
{no: 8, name: "DEVICE_UPDATE"},
{no: 9, name: "DEVICE_DELETE"},
{no: 4, name: "ACCOUNT_MOVE"},
{no: 5, name: "NAMESPACE_CREATE"},
{no: 6, name: "NAMESPACE_UPDATE"},
{no: 7, name: "NAMESPACE_DELETE"},
{no: 8, name: "DEVICE_CREATE"},
{no: 9, name: "DEVICE_UPDATE"},
{no: 10, name: "DEVICE_DELETE"},
{no: 11, name: "DEVICE_MOVE"},
],
);

Expand All @@ -33,7 +35,7 @@ export const EventType = proto3.makeEnum(
export const Event = proto3.makeMessageType(
"infinimesh.eventbus.Event",
() => [
{ no: 1, name: "event_type", kind: "enum", T: proto3.getEnumType(EventType) },
{ no: 1, name: "event_kind", kind: "enum", T: proto3.getEnumType(EventKind) },
{ no: 2, name: "account", kind: "message", T: Account, oneof: "entity" },
{ no: 3, name: "namespace", kind: "message", T: Namespace, oneof: "entity" },
{ no: 4, name: "device", kind: "message", T: Device, oneof: "entity" },
Expand Down

0 comments on commit 8476b6d

Please sign in to comment.