// @generated by protoc-gen-es v1.3.1 with parameter "target=ts" // @generated from file cosmos/capability/module/v1/module.proto (package cosmos.capability.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 config object of the capability module. * * @generated from message cosmos.capability.module.v1.Module */ export class Module extends Message { /** * seal_keeper defines if keeper.Seal() will run on BeginBlock() to prevent further modules from creating a scoped * keeper. For more details check x/capability/keeper.go. * * @generated from field: bool seal_keeper = 1; */ sealKeeper = false; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.capability.module.v1.Module"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "seal_keeper", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): Module { return new Module().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): Module { return new Module().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): Module { return new Module().fromJsonString(jsonString, options); } static equals(a: Module | PlainMessage | undefined, b: Module | PlainMessage | undefined): boolean { return proto3.util.equals(Module, a, b); } }