dev testing

This commit is contained in:
2026-03-23 15:29:13 -04:00
parent 28dae0dc60
commit d772b7ec9c
5664 changed files with 863006 additions and 73 deletions

View File

@@ -0,0 +1,23 @@
import { FromObjectValue, JSONObject, JSONValue } from './types';
export interface Struct {
fields: {
[key: string]: Value;
};
}
export interface ListValue {
values: Array<Value>;
}
export interface Value {
nullValue?: 0;
numberValue?: number;
stringValue?: string;
boolValue?: boolean;
listValue?: ListValue;
structValue?: Struct;
}
export declare function googleProtobufStructToProto3JSON(obj: protobuf.Message & Struct): JSONObject;
export declare function googleProtobufListValueToProto3JSON(obj: protobuf.Message & ListValue): JSONValue[];
export declare function googleProtobufValueToProto3JSON(obj: protobuf.Message & Value): JSONValue;
export declare function googleProtobufStructFromProto3JSON(json: JSONObject): FromObjectValue;
export declare function googleProtobufListValueFromProto3JSON(json: JSONValue[]): FromObjectValue;
export declare function googleProtobufValueFromProto3JSON(json: JSONValue): FromObjectValue;