summaryrefslogtreecommitdiff
path: root/js/msg.pb.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/msg.pb.d.ts')
-rw-r--r--js/msg.pb.d.ts96
1 files changed, 0 insertions, 96 deletions
diff --git a/js/msg.pb.d.ts b/js/msg.pb.d.ts
index 1bfb94f38..081e2abf1 100644
--- a/js/msg.pb.d.ts
+++ b/js/msg.pb.d.ts
@@ -3,102 +3,6 @@ import * as $protobuf from "protobufjs";
/** Namespace deno. */
export namespace deno {
- /** Properties of a BaseMsg. */
- interface IBaseMsg {
-
- /** BaseMsg channel */
- channel?: (string|null);
-
- /** BaseMsg payload */
- payload?: (Uint8Array|null);
- }
-
- /** Represents a BaseMsg. */
- class BaseMsg implements IBaseMsg {
-
- /**
- * Constructs a new BaseMsg.
- * @param [properties] Properties to set
- */
- constructor(properties?: deno.IBaseMsg);
-
- /** BaseMsg channel. */
- public channel: string;
-
- /** BaseMsg payload. */
- public payload: Uint8Array;
-
- /**
- * Creates a new BaseMsg instance using the specified properties.
- * @param [properties] Properties to set
- * @returns BaseMsg instance
- */
- public static create(properties?: deno.IBaseMsg): deno.BaseMsg;
-
- /**
- * Encodes the specified BaseMsg message. Does not implicitly {@link deno.BaseMsg.verify|verify} messages.
- * @param message BaseMsg message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encode(message: deno.IBaseMsg, writer?: $protobuf.Writer): $protobuf.Writer;
-
- /**
- * Encodes the specified BaseMsg message, length delimited. Does not implicitly {@link deno.BaseMsg.verify|verify} messages.
- * @param message BaseMsg message or plain object to encode
- * @param [writer] Writer to encode to
- * @returns Writer
- */
- public static encodeDelimited(message: deno.IBaseMsg, writer?: $protobuf.Writer): $protobuf.Writer;
-
- /**
- * Decodes a BaseMsg message from the specified reader or buffer.
- * @param reader Reader or buffer to decode from
- * @param [length] Message length if known beforehand
- * @returns BaseMsg
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): deno.BaseMsg;
-
- /**
- * Decodes a BaseMsg message from the specified reader or buffer, length delimited.
- * @param reader Reader or buffer to decode from
- * @returns BaseMsg
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): deno.BaseMsg;
-
- /**
- * Verifies a BaseMsg message.
- * @param message Plain object to verify
- * @returns `null` if valid, otherwise the reason why it is not
- */
- public static verify(message: { [k: string]: any }): (string|null);
-
- /**
- * Creates a BaseMsg message from a plain object. Also converts values to their respective internal types.
- * @param object Plain object
- * @returns BaseMsg
- */
- public static fromObject(object: { [k: string]: any }): deno.BaseMsg;
-
- /**
- * Creates a plain object from a BaseMsg message. Also converts values to other types if specified.
- * @param message BaseMsg
- * @param [options] Conversion options
- * @returns Plain object
- */
- public static toObject(message: deno.BaseMsg, options?: $protobuf.IConversionOptions): { [k: string]: any };
-
- /**
- * Converts this BaseMsg to JSON.
- * @returns JSON object
- */
- public toJSON(): { [k: string]: any };
- }
-
/** Properties of a Msg. */
interface IMsg {