cosmos-explorer/packages/codegen/dist/cosmos/capability/v1beta1/capability.d.ts
2023-03-02 13:21:24 +08:00

63 lines
1.9 KiB
TypeScript

/// <reference types="long" />
import { Long, DeepPartial } from "../../../helpers";
import * as _m0 from "protobufjs/minimal";
/**
* Capability defines an implementation of an object capability. The index
* provided to a Capability must be globally unique.
*/
export interface Capability {
index: Long;
}
/**
* Capability defines an implementation of an object capability. The index
* provided to a Capability must be globally unique.
*/
export interface CapabilitySDKType {
index: Long;
}
/**
* Owner defines a single capability owner. An owner is defined by the name of
* capability and the module name.
*/
export interface Owner {
module: string;
name: string;
}
/**
* Owner defines a single capability owner. An owner is defined by the name of
* capability and the module name.
*/
export interface OwnerSDKType {
module: string;
name: string;
}
/**
* CapabilityOwners defines a set of owners of a single Capability. The set of
* owners must be unique.
*/
export interface CapabilityOwners {
owners: Owner[];
}
/**
* CapabilityOwners defines a set of owners of a single Capability. The set of
* owners must be unique.
*/
export interface CapabilityOwnersSDKType {
owners: OwnerSDKType[];
}
export declare const Capability: {
encode(message: Capability, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Capability;
fromPartial(object: DeepPartial<Capability>): Capability;
};
export declare const Owner: {
encode(message: Owner, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Owner;
fromPartial(object: DeepPartial<Owner>): Owner;
};
export declare const CapabilityOwners: {
encode(message: CapabilityOwners, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): CapabilityOwners;
fromPartial(object: DeepPartial<CapabilityOwners>): CapabilityOwners;
};