Skip to content
This repository has been archived by the owner on Aug 25, 2024. It is now read-only.

Commit

Permalink
chore: codegen
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle committed Aug 14, 2024
1 parent ea24bfe commit 8879c7d
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 33 deletions.
2 changes: 1 addition & 1 deletion schema/logger/logger_connect.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-connect-es v0.12.0 with parameter "keep_empty_files=true,target=js+dts"
// @generated by protoc-gen-connect-es v1.0.0 with parameter "keep_empty_files=true,target=js+dts"
// @generated from file schema/logger/logger.proto (syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
67 changes: 35 additions & 32 deletions schema/logger/logger_pb.d.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
// @generated by protoc-gen-es v1.3.0 with parameter "keep_empty_files=true,target=js+dts"
// @generated by protoc-gen-es v2.0.0 with parameter "keep_empty_files=true,target=js+dts"
// @generated from file schema/logger/logger.proto (syntax proto3)
/* eslint-disable */
// @ts-nocheck

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

/**
* Describes the file schema/logger/logger.proto.
*/
export declare const file_schema_logger_logger: GenFile;

/**
* @generated from message LogMessage
*/
export declare class LogMessage extends Message<LogMessage> {
export declare type LogMessage = Message<"LogMessage"> & {
/**
* @generated from field: string message = 1;
*/
Expand All @@ -19,38 +23,37 @@ export declare class LogMessage extends Message<LogMessage> {
* @generated from field: int64 time = 2;
*/
time: bigint;
};

constructor(data?: PartialMessage<LogMessage>);

static readonly runtime: typeof proto3;
static readonly typeName = "LogMessage";
static readonly fields: FieldList;

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

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

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

static equals(a: LogMessage | PlainMessage<LogMessage> | undefined, b: LogMessage | PlainMessage<LogMessage> | undefined): boolean;
}
/**
* Describes the message LogMessage.
* Use `create(LogMessageSchema)` to create a new message.
*/
export declare const LogMessageSchema: GenMessage<LogMessage>;

/**
* @generated from message Empty
*/
export declare class Empty extends Message<Empty> {
constructor(data?: PartialMessage<Empty>);
export declare type Empty = Message<"Empty"> & {
};

static readonly runtime: typeof proto3;
static readonly typeName = "Empty";
static readonly fields: FieldList;

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

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

static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Empty;
/**
* Describes the message Empty.
* Use `create(EmptySchema)` to create a new message.
*/
export declare const EmptySchema: GenMessage<Empty>;

static equals(a: Empty | PlainMessage<Empty> | undefined, b: Empty | PlainMessage<Empty> | undefined): boolean;
}
/**
* @generated from service Logger
*/
export declare const Logger: GenService<{
/**
* @generated from rpc Logger.SendLogMessage
*/
sendLogMessage: {
methodKind: "unary";
input: typeof LogMessageSchema;
output: typeof EmptySchema;
},
}>;

0 comments on commit 8879c7d

Please sign in to comment.