FileEntry describes an ORM file used in a module.

from message cosmos.orm.v1alpha1.ModuleSchemaDescriptor.FileEntry

Hierarchy

Constructors

Properties

id: number = 0

id is a prefix that will be varint encoded and prepended to all the table keys specified in the file's tables.

from field: uint32 id = 1;

protoFileName: string = ""

proto_file_name is the name of a file .proto in that contains table definitions. The .proto file must be in a package that the module has referenced using cosmos.app.v1.ModuleDescriptor.use_package.

from field: string proto_file_name = 2;

storageType: StorageType = StorageType.DEFAULT_UNSPECIFIED

storage_type optionally indicates the type of storage this file's tables should used. If it is left unspecified, the default KV-storage of the app will be used.

from field: cosmos.orm.v1alpha1.StorageType storage_type = 3;

fields: FieldList = ...
runtime: ProtoRuntime = proto3
typeName: "cosmos.orm.v1alpha1.ModuleSchemaDescriptor.FileEntry" = "cosmos.orm.v1alpha1.ModuleSchemaDescriptor.FileEntry"

Methods