mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-04 18:31:41 +00:00
@@ -0,0 +1,42 @@
|
||||
// @generated by protoc-gen-es v1.2.0 with parameter "target=ts"
|
||||
// @generated from file did/module/v1/module.proto (package did.module.v1, syntax proto3)
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck
|
||||
|
||||
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
||||
import { Message, proto3 } from "@bufbuild/protobuf";
|
||||
|
||||
/**
|
||||
* Module is the app config object of the module.
|
||||
* Learn more: https://docs.cosmos.network/main/building-modules/depinject
|
||||
*
|
||||
* @generated from message did.module.v1.Module
|
||||
*/
|
||||
export class Module extends Message<Module> {
|
||||
constructor(data?: PartialMessage<Module>) {
|
||||
super();
|
||||
proto3.util.initPartial(data, this);
|
||||
}
|
||||
|
||||
static readonly runtime: typeof proto3 = proto3;
|
||||
static readonly typeName = "did.module.v1.Module";
|
||||
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
||||
]);
|
||||
|
||||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Module {
|
||||
return new Module().fromBinary(bytes, options);
|
||||
}
|
||||
|
||||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Module {
|
||||
return new Module().fromJson(jsonValue, options);
|
||||
}
|
||||
|
||||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Module {
|
||||
return new Module().fromJsonString(jsonString, options);
|
||||
}
|
||||
|
||||
static equals(a: Module | PlainMessage<Module> | undefined, b: Module | PlainMessage<Module> | undefined): boolean {
|
||||
return proto3.util.equals(Module, a, b);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user