diff --git a/make/codegen.mk b/make/codegen.mk index 35ec76da..e5172496 100644 --- a/make/codegen.mk +++ b/make/codegen.mk @@ -1,7 +1,8 @@ .PHONY: proto-gen ifeq ($(PROTO_LEGACY), true) proto-gen: modvendor $(PROTOC) $(PROTOC_GEN_GOCOSMOS) $(PROTOC_GEN_GRPC_GATEWAY) $(PROTOC_GEN_DOC) $(AKASH_TS_NODE_MODULES) clean-codegen - mkdir -p $(AKASH_TS_ROOT)/src/generated + mkdir -p $(AKASH_TS_ROOT)/src/generated/ts-proto + mkdir -p $(AKASH_TS_ROOT)/src/generated/connect-es ./script/protocgen-legacy.sh else proto-gen: modvendor gogoproto $(BUF) $(PROTOC_GEN_GRPC_GATEWAY) $(PROTOC_GEN_GO) diff --git a/script/protocgen-legacy.sh b/script/protocgen-legacy.sh index 1c692989..bdb67cb2 100755 --- a/script/protocgen-legacy.sh +++ b/script/protocgen-legacy.sh @@ -37,7 +37,7 @@ for dir in $proto_dirs; do -I "vendor/github.com/cosmos/cosmos-sdk/proto" \ -I "vendor/github.com/cosmos/cosmos-sdk/third_party/proto" \ --plugin="${AKASH_TS_NODE_BIN}/protoc-gen-ts_proto" \ - --ts_proto_out="${AKASH_TS_ROOT}/src/generated" \ + --ts_proto_out="${AKASH_TS_ROOT}/src/generated/ts-proto" \ --ts_proto_opt=esModuleInterop=true,forceLong=long,outputTypeRegistry=true,useExactTypes=false,outputIndex=true \ $(find "${dir}" -maxdepth 1 -name '*.proto') done @@ -71,9 +71,21 @@ for dir in $proto_dirs; do -I "vendor/github.com/cosmos/cosmos-sdk/proto" \ -I "vendor/github.com/cosmos/cosmos-sdk/third_party/proto" \ --plugin="${AKASH_TS_NODE_BIN}/protoc-gen-ts_proto" \ - --ts_proto_out="${AKASH_TS_ROOT}/src/generated" \ + --ts_proto_out="${AKASH_TS_ROOT}/src/generated/ts-proto" \ --ts_proto_opt=esModuleInterop=true,forceLong=long,outputTypeRegistry=true,useExactTypes=false,outputIndex=true \ $(find "${dir}" -maxdepth 1 -name '*.proto') + + .cache/bin/protoc \ + -I "proto/provider" \ + -I "proto/node" \ + -I ".cache/include" \ + -I "vendor/github.com/cosmos/cosmos-sdk/proto" \ + -I "vendor/github.com/cosmos/cosmos-sdk/third_party/proto" \ + --es_out "${AKASH_TS_ROOT}/src/generated/connect-es" \ + --es_opt target=ts \ + --connect-es_out "${AKASH_TS_ROOT}/src/generated/connect-es" \ + --connect-es_opt target=ts \ + $(find "${dir}" -maxdepth 1 -name '*.proto') done # move proto files to the right places diff --git a/ts/jest.config.js b/ts/jest.config.js index 4c764f59..617b81b2 100644 --- a/ts/jest.config.js +++ b/ts/jest.config.js @@ -10,7 +10,8 @@ module.exports = { collectCoverageFrom: [ '/src/**/*.{js,ts}', '!/src/generated/**/*', - '!/src/patch/index.*', + '!/src/patch/**/index.*', + '!/src/connect-es-exports/index.*', ], projects: [ { diff --git a/ts/package-lock.json b/ts/package-lock.json index 3bbfc1d6..8f5e1da4 100644 --- a/ts/package-lock.json +++ b/ts/package-lock.json @@ -12,6 +12,8 @@ "rxjs": "^7.8.1" }, "devDependencies": { + "@bufbuild/protoc-gen-es": "^1.9.0", + "@connectrpc/protoc-gen-connect-es": "^1.4.0", "@semantic-release/commit-analyzer": "^12.0.0", "@semantic-release/github": "^10.0.3", "@semantic-release/release-notes-generator": "^13.0.0", @@ -647,6 +649,60 @@ "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", "dev": true }, + "node_modules/@bufbuild/protobuf": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.9.0.tgz", + "integrity": "sha512-W7gp8Q/v1NlCZLsv8pQ3Y0uCu/SHgXOVFK+eUluUKWXmsb6VHkpNx0apdOWWcDbB9sJoKeP8uPrjmehJz6xETQ==", + "dev": true + }, + "node_modules/@bufbuild/protoc-gen-es": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@bufbuild/protoc-gen-es/-/protoc-gen-es-1.9.0.tgz", + "integrity": "sha512-LJy1nC3Jsfdhs9v48P7qF6YXIqh+usFhXSVzJDTmw0yKjxQ3CKBNISRtaMql/g9hb1MLRU6unHCcFfdz4HSO/Q==", + "dev": true, + "dependencies": { + "@bufbuild/protobuf": "^1.9.0", + "@bufbuild/protoplugin": "1.9.0" + }, + "bin": { + "protoc-gen-es": "bin/protoc-gen-es" + }, + "engines": { + "node": ">=14" + }, + "peerDependencies": { + "@bufbuild/protobuf": "1.9.0" + }, + "peerDependenciesMeta": { + "@bufbuild/protobuf": { + "optional": true + } + } + }, + "node_modules/@bufbuild/protoplugin": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@bufbuild/protoplugin/-/protoplugin-1.9.0.tgz", + "integrity": "sha512-/mxMiGs5h78RUHT7v4+mv0Wt0gyRf/SOS5PLzKEg2sclEAlFPbXfZ8HjlvxJpXZP/YpP3HvsW/mil3E69G0mXg==", + "dev": true, + "dependencies": { + "@bufbuild/protobuf": "1.9.0", + "@typescript/vfs": "^1.4.0", + "typescript": "4.5.2" + } + }, + "node_modules/@bufbuild/protoplugin/node_modules/typescript": { + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.2.tgz", + "integrity": "sha512-5BlMof9H1yGt0P8/WF+wPNw6GfctgGjXp5hkblpyT+8rkASSmkUKMXrxR0Xg8ThVCi/JnHQiKXeBaEwCeQwMFw==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=4.2.0" + } + }, "node_modules/@colors/colors": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", @@ -658,6 +714,34 @@ "node": ">=0.1.90" } }, + "node_modules/@connectrpc/protoc-gen-connect-es": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@connectrpc/protoc-gen-connect-es/-/protoc-gen-connect-es-1.4.0.tgz", + "integrity": "sha512-/7vQ8Q7mEBhV8qEVh/eifRQlQnf8EJ6weMwCD2DljVAQRlZYcW9SLxjYZhV1uM1ZZqQC7Cw2vvgXRg2XQswHBg==", + "dev": true, + "dependencies": { + "@bufbuild/protobuf": "^1.7.2", + "@bufbuild/protoplugin": "^1.7.2" + }, + "bin": { + "protoc-gen-connect-es": "bin/protoc-gen-connect-es" + }, + "engines": { + "node": ">=16.0.0" + }, + "peerDependencies": { + "@bufbuild/protoc-gen-es": "^1.7.2", + "@connectrpc/connect": "1.4.0" + }, + "peerDependenciesMeta": { + "@bufbuild/protoc-gen-es": { + "optional": true + }, + "@connectrpc/connect": { + "optional": true + } + } + }, "node_modules/@eslint-community/eslint-utils": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", @@ -2367,6 +2451,15 @@ "url": "https://opencollective.com/typescript-eslint" } }, + "node_modules/@typescript/vfs": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@typescript/vfs/-/vfs-1.5.0.tgz", + "integrity": "sha512-AJS307bPgbsZZ9ggCT3wwpg3VbTKMFNHfaY/uF0ahSkYYrPF2dSSKDNIDIQAHm9qJqbLvCsSJH7yN4Vs/CsMMg==", + "dev": true, + "dependencies": { + "debug": "^4.1.1" + } + }, "node_modules/@ungap/structured-clone": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", diff --git a/ts/package.json b/ts/package.json index 3beda469..c246038a 100644 --- a/ts/package.json +++ b/ts/package.json @@ -5,6 +5,8 @@ }, "description": "Akash API TypeScript client", "devDependencies": { + "@bufbuild/protoc-gen-es": "^1.9.0", + "@connectrpc/protoc-gen-connect-es": "^1.4.0", "@semantic-release/commit-analyzer": "^12.0.0", "@semantic-release/github": "^10.0.3", "@semantic-release/release-notes-generator": "^13.0.0", @@ -61,5 +63,75 @@ "test:watch": "jest --selectProjects unit functional --watch" }, "types": "dist/index.d.ts", - "version": "0.0.0" -} + "version": "0.0.0", + "exports": { + "./": "./dist/index.js", + "./typeRegistry": "./dist/generated/typeRegistry", + "./akash/deployment/v1beta3/query": "./dist/generated/akash/deployment/v1beta3/query.js", + "./akash/provider/v1/es": "./dist/connect-es-exports/index.akash.provider.v1.es.js", + "./akash/inventory/v1/es": "./dist/connect-es-exports/index.akash.inventory.v1.es.js", + "./akash/audit": "./dist/generated/ts-proto/index.akash.audit.js", + "./akash/audit/v1beta1": "./dist/generated/ts-proto/index.akash.audit.v1beta1.js", + "./akash/audit/v1beta2": "./dist/generated/ts-proto/index.akash.audit.v1beta2.js", + "./akash/audit/v1beta3": "./dist/generated/ts-proto/index.akash.audit.v1beta3.js", + "./akash/base": "./dist/generated/ts-proto/index.akash.base.js", + "./akash/base/v1beta1": "./dist/generated/ts-proto/index.akash.base.v1beta1.js", + "./akash/base/v1beta2": "./dist/generated/ts-proto/index.akash.base.v1beta2.js", + "./akash/base/v1beta3": "./dist/patch/ts-proto/index.akash.base.v1beta3.js", + "./akash/cert": "./dist/generated/ts-proto/index.akash.cert.js", + "./akash/cert/v1beta2": "./dist/generated/ts-proto/index.akash.cert.v1beta2.js", + "./akash/cert/v1beta3": "./dist/generated/ts-proto/index.akash.cert.v1beta3.js", + "./akash": "./dist/generated/ts-proto/index.akash.js", + "./akash/deployment": "./dist/generated/ts-proto/index.akash.deployment.js", + "./akash/deployment/v1beta1": "./dist/generated/ts-proto/index.akash.deployment.v1beta1.js", + "./akash/deployment/v1beta2": "./dist/patch/ts-proto/index.akash.deployment.v1beta2.js", + "./akash/deployment/v1beta3": "./dist/patch/ts-proto/index.akash.deployment.v1beta3.js", + "./akash/discovery": "./dist/generated/ts-proto/index.akash.discovery.js", + "./akash/discovery/v1": "./dist/generated/ts-proto/index.akash.discovery.v1.js", + "./akash/escrow": "./dist/generated/ts-proto/index.akash.escrow.js", + "./akash/escrow/v1beta1": "./dist/generated/ts-proto/index.akash.escrow.v1beta1.js", + "./akash/escrow/v1beta2": "./dist/generated/ts-proto/index.akash.escrow.v1beta2.js", + "./akash/escrow/v1beta3": "./dist/generated/ts-proto/index.akash.escrow.v1beta3.js", + "./akash/gov": "./dist/generated/ts-proto/index.akash.gov.js", + "./akash/gov/v1beta3": "./dist/generated/ts-proto/index.akash.gov.v1beta3.js", + "./akash/inflation": "./dist/generated/ts-proto/index.akash.inflation.js", + "./akash/inflation/v1beta2": "./dist/generated/ts-proto/index.akash.inflation.v1beta2.js", + "./akash/inflation/v1beta3": "./dist/generated/ts-proto/index.akash.inflation.v1beta3.js", + "./akash/inventory": "./dist/generated/ts-proto/index.akash.inventory.js", + "./akash/inventory/v1": "./dist/generated/ts-proto/index.akash.inventory.v1.js", + "./akash/manifest": "./dist/generated/ts-proto/index.akash.manifest.js", + "./akash/manifest/v2beta1": "./dist/generated/ts-proto/index.akash.manifest.v2beta1.js", + "./akash/manifest/v2beta2": "./dist/generated/ts-proto/index.akash.manifest.v2beta2.js", + "./akash/market": "./dist/generated/ts-proto/index.akash.market.js", + "./akash/market/v1beta2": "./dist/generated/ts-proto/index.akash.market.v1beta2.js", + "./akash/market/v1beta3": "./dist/generated/ts-proto/index.akash.market.v1beta3.js", + "./akash/market/v1beta4": "./dist/generated/ts-proto/index.akash.market.v1beta4.js", + "./akash/provider": "./dist/generated/ts-proto/index.akash.provider.js", + "./akash/provider/lease": "./dist/generated/ts-proto/index.akash.provider.lease.js", + "./akash/provider/lease/v1": "./dist/generated/ts-proto/index.akash.provider.lease.v1.js", + "./akash/provider/v1": "./dist/generated/ts-proto/index.akash.provider.v1.js", + "./akash/provider/v1beta1": "./dist/generated/ts-proto/index.akash.provider.v1beta1.js", + "./akash/provider/v1beta2": "./dist/generated/ts-proto/index.akash.provider.v1beta2.js", + "./akash/provider/v1beta3": "./dist/generated/ts-proto/index.akash.provider.v1beta3.js", + "./akash/staking": "./dist/generated/ts-proto/index.akash.staking.js", + "./akash/staking/v1beta3": "./dist/generated/ts-proto/index.akash.staking.v1beta3.js", + "./akash/take": "./dist/generated/ts-proto/index.akash.take.js", + "./akash/take/v1beta3": "./dist/generated/ts-proto/index.akash.take.v1beta3.js", + "./cosmos/base": "./dist/generated/ts-proto/index.cosmos.base.js", + "./cosmos/base/query": "./dist/generated/ts-proto/index.cosmos.base.query.js", + "./cosmos/base/query/v1beta1": "./dist/generated/ts-proto/index.cosmos.base.query.v1beta1.js", + "./cosmos/base/v1beta1": "./dist/generated/ts-proto/index.cosmos.base.v1beta1.js", + "./cosmos": "./dist/generated/ts-proto/index.cosmos.js", + "./cosmos_proto": "./dist/generated/ts-proto/index.cosmos_proto.js", + "./gogoproto": "./dist/generated/ts-proto/index.gogoproto.js", + "./google/api": "./dist/generated/ts-proto/index.google.api.js", + "./google": "./dist/generated/ts-proto/index.google.js", + "./google/protobuf": "./dist/generated/ts-proto/index.google.protobuf.js", + "./k8s": "./dist/generated/ts-proto/index.k8s.js", + "./k8s/io/apimachinery": "./dist/generated/ts-proto/index.k8s.io.apimachinery.js", + "./k8s/io/apimachinery/pkg/api": "./dist/generated/ts-proto/index.k8s.io.apimachinery.pkg.api.js", + "./k8s/io/apimachinery/pkg/api/resource": "./dist/generated/ts-proto/index.k8s.io.apimachinery.pkg.api.resource.js", + "./k8s/io/apimachinery/pkg": "./dist/generated/ts-proto/index.k8s.io.apimachinery.pkg.js", + "./k8s/io": "./dist/generated/ts-proto/index.k8s.io.js" + } +} \ No newline at end of file diff --git a/ts/script/generate-exports.js b/ts/script/generate-exports.js index 579a866d..b6dc2ee1 100755 --- a/ts/script/generate-exports.js +++ b/ts/script/generate-exports.js @@ -2,42 +2,28 @@ const fs = require('fs'); const path = require('path'); +const staticExports = require('../static-exports.json'); -const distDir = path.resolve(__dirname, '../dist/generated'); +const distDir = path.resolve(__dirname, '../dist/generated/ts-proto'); const files = fs.readdirSync(distDir); -const TYPE_REGISTRY_PATH = './dist/generated/typeRegistry'; -const paths = files.reduce( - (acc, file) => { - const match = file.match(/index.(.*)\.d\.ts/); +const paths = files.reduce((acc, file) => { + const match = file.match(/index.(.*)\.d\.ts/); - if (match) { - const dottedPath = match[1]; - const slashedPath = dottedPath.replace(/\./g, '/'); - const resolvedPath = fs.existsSync(`./dist/patch/index.${dottedPath}.js`) - ? `./dist/patch/index.${dottedPath}` - : `./dist/generated/index.${dottedPath}`; + if (match) { + const dottedPath = match[1]; + const slashedPath = dottedPath.replace(/\./g, '/'); + const resolvedPath = fs.existsSync( + `./dist/patch/ts-proto/index.${dottedPath}.js`, + ) + ? `./dist/patch/ts-proto/index.${dottedPath}` + : `./dist/generated/ts-proto/index.${dottedPath}`; - acc.tsconfig[`@akashnetwork/akash-api/${slashedPath}`] = [resolvedPath]; - acc.package[`./${slashedPath}`] = `${resolvedPath}.js`; - } + acc.tsconfig[`@akashnetwork/akash-api/${slashedPath}`] = [resolvedPath]; + acc.package[`./${slashedPath}`] = `${resolvedPath}.js`; + } - return acc; - }, - { - package: { - './': './dist/index.js', - './typeRegistry': `${TYPE_REGISTRY_PATH}.js`, - './akash/deployment/v1beta3/query': - './dist/generated/akash/deployment/v1beta3/query.js', - }, - tsconfig: { - '@akashnetwork/akash-api/typeRegistry': [TYPE_REGISTRY_PATH], - '@akashnetwork/akash-api/akash/deployment/v1beta3/query': [ - './dist/generated/akash/deployment/v1beta3/query', - ], - }, - }, -); + return acc; +}, staticExports); const tsconfigPaths = path.resolve(__dirname, '../tsconfig.paths.json'); fs.writeFileSync( diff --git a/ts/src/connect-es-exports/index.akash.inventory.v1.es.ts b/ts/src/connect-es-exports/index.akash.inventory.v1.es.ts new file mode 100644 index 00000000..5c972f87 --- /dev/null +++ b/ts/src/connect-es-exports/index.akash.inventory.v1.es.ts @@ -0,0 +1 @@ +export * from '../generated/connect-es/akash/inventory/v1/resources_pb'; diff --git a/ts/src/connect-es-exports/index.akash.provider.v1.es.ts b/ts/src/connect-es-exports/index.akash.provider.v1.es.ts new file mode 100644 index 00000000..8a2e5d87 --- /dev/null +++ b/ts/src/connect-es-exports/index.akash.provider.v1.es.ts @@ -0,0 +1,2 @@ +export * from '../generated/connect-es/akash/provider/v1/service_connect'; +export * from '../generated/connect-es/akash/provider/v1/status_pb'; diff --git a/ts/src/generated/connect-es/akash/inventory/v1/cluster_pb.ts b/ts/src/generated/connect-es/akash/inventory/v1/cluster_pb.ts new file mode 100644 index 00000000..b1d80ea9 --- /dev/null +++ b/ts/src/generated/connect-es/akash/inventory/v1/cluster_pb.ts @@ -0,0 +1,73 @@ +// @generated by protoc-gen-es v1.9.0 with parameter "target=ts" +// @generated from file akash/inventory/v1/cluster.proto (package akash.inventory.v1, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { + BinaryReadOptions, + FieldList, + JsonReadOptions, + JsonValue, + PartialMessage, + PlainMessage, +} from '@bufbuild/protobuf'; +import { Message, proto3 } from '@bufbuild/protobuf'; +import { Node } from './node_pb.js'; +import { Storage } from './storage_pb.js'; + +/** + * Cluster reports inventory across entire cluster + * + * @generated from message akash.inventory.v1.Cluster + */ +export class Cluster extends Message { + /** + * @generated from field: repeated akash.inventory.v1.Node nodes = 1; + */ + nodes: Node[] = []; + + /** + * @generated from field: repeated akash.inventory.v1.Storage storage = 2; + */ + storage: Storage[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.inventory.v1.Cluster'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'nodes', kind: 'message', T: Node, repeated: true }, + { no: 2, name: 'storage', kind: 'message', T: Storage, repeated: true }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): Cluster { + return new Cluster().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): Cluster { + return new Cluster().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): Cluster { + return new Cluster().fromJsonString(jsonString, options); + } + + static equals( + a: Cluster | PlainMessage | undefined, + b: Cluster | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(Cluster, a, b); + } +} diff --git a/ts/src/generated/connect-es/akash/inventory/v1/cpu_pb.ts b/ts/src/generated/connect-es/akash/inventory/v1/cpu_pb.ts new file mode 100644 index 00000000..fd5da31d --- /dev/null +++ b/ts/src/generated/connect-es/akash/inventory/v1/cpu_pb.ts @@ -0,0 +1,141 @@ +// @generated by protoc-gen-es v1.9.0 with parameter "target=ts" +// @generated from file akash/inventory/v1/cpu.proto (package akash.inventory.v1, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { + BinaryReadOptions, + FieldList, + JsonReadOptions, + JsonValue, + PartialMessage, + PlainMessage, +} from '@bufbuild/protobuf'; +import { Message, proto3 } from '@bufbuild/protobuf'; +import { ResourcePair } from './resourcepair_pb.js'; + +/** + * CPUInfo reports CPU details + * + * @generated from message akash.inventory.v1.CPUInfo + */ +export class CPUInfo extends Message { + /** + * @generated from field: string id = 1; + */ + id = ''; + + /** + * @generated from field: string vendor = 2; + */ + vendor = ''; + + /** + * @generated from field: string model = 3; + */ + model = ''; + + /** + * @generated from field: uint32 vcores = 4; + */ + vcores = 0; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.inventory.v1.CPUInfo'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'id', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 2, name: 'vendor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 3, name: 'model', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 4, name: 'vcores', kind: 'scalar', T: 13 /* ScalarType.UINT32 */ }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): CPUInfo { + return new CPUInfo().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): CPUInfo { + return new CPUInfo().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): CPUInfo { + return new CPUInfo().fromJsonString(jsonString, options); + } + + static equals( + a: CPUInfo | PlainMessage | undefined, + b: CPUInfo | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(CPUInfo, a, b); + } +} + +/** + * CPU reports CPU inventory details + * + * @generated from message akash.inventory.v1.CPU + */ +export class CPU extends Message { + /** + * @generated from field: akash.inventory.v1.ResourcePair quantity = 1; + */ + quantity?: ResourcePair; + + /** + * @generated from field: repeated akash.inventory.v1.CPUInfo info = 2; + */ + info: CPUInfo[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.inventory.v1.CPU'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'quantity', kind: 'message', T: ResourcePair }, + { no: 2, name: 'info', kind: 'message', T: CPUInfo, repeated: true }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): CPU { + return new CPU().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): CPU { + return new CPU().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): CPU { + return new CPU().fromJsonString(jsonString, options); + } + + static equals( + a: CPU | PlainMessage | undefined, + b: CPU | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(CPU, a, b); + } +} diff --git a/ts/src/generated/connect-es/akash/inventory/v1/gpu_pb.ts b/ts/src/generated/connect-es/akash/inventory/v1/gpu_pb.ts new file mode 100644 index 00000000..17341639 --- /dev/null +++ b/ts/src/generated/connect-es/akash/inventory/v1/gpu_pb.ts @@ -0,0 +1,158 @@ +// @generated by protoc-gen-es v1.9.0 with parameter "target=ts" +// @generated from file akash/inventory/v1/gpu.proto (package akash.inventory.v1, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { + BinaryReadOptions, + FieldList, + JsonReadOptions, + JsonValue, + PartialMessage, + PlainMessage, +} from '@bufbuild/protobuf'; +import { Message, proto3 } from '@bufbuild/protobuf'; +import { ResourcePair } from './resourcepair_pb.js'; + +/** + * GPUInfo reports GPU details + * + * @generated from message akash.inventory.v1.GPUInfo + */ +export class GPUInfo extends Message { + /** + * @generated from field: string vendor = 1; + */ + vendor = ''; + + /** + * @generated from field: string vendor_id = 2; + */ + vendorId = ''; + + /** + * @generated from field: string name = 3; + */ + name = ''; + + /** + * @generated from field: string modelid = 4; + */ + modelid = ''; + + /** + * @generated from field: string interface = 5; + */ + interface = ''; + + /** + * @generated from field: string memory_size = 6; + */ + memorySize = ''; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.inventory.v1.GPUInfo'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'vendor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 2, name: 'vendor_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 3, name: 'name', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 4, name: 'modelid', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 5, name: 'interface', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { + no: 6, + name: 'memory_size', + kind: 'scalar', + T: 9 /* ScalarType.STRING */, + }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): GPUInfo { + return new GPUInfo().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): GPUInfo { + return new GPUInfo().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): GPUInfo { + return new GPUInfo().fromJsonString(jsonString, options); + } + + static equals( + a: GPUInfo | PlainMessage | undefined, + b: GPUInfo | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(GPUInfo, a, b); + } +} + +/** + * GPUInfo reports GPU inventory details + * + * @generated from message akash.inventory.v1.GPU + */ +export class GPU extends Message { + /** + * @generated from field: akash.inventory.v1.ResourcePair quantity = 1; + */ + quantity?: ResourcePair; + + /** + * @generated from field: repeated akash.inventory.v1.GPUInfo info = 2; + */ + info: GPUInfo[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.inventory.v1.GPU'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'quantity', kind: 'message', T: ResourcePair }, + { no: 2, name: 'info', kind: 'message', T: GPUInfo, repeated: true }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): GPU { + return new GPU().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): GPU { + return new GPU().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): GPU { + return new GPU().fromJsonString(jsonString, options); + } + + static equals( + a: GPU | PlainMessage | undefined, + b: GPU | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(GPU, a, b); + } +} diff --git a/ts/src/generated/connect-es/akash/inventory/v1/memory_pb.ts b/ts/src/generated/connect-es/akash/inventory/v1/memory_pb.ts new file mode 100644 index 00000000..2a9bb93a --- /dev/null +++ b/ts/src/generated/connect-es/akash/inventory/v1/memory_pb.ts @@ -0,0 +1,141 @@ +// @generated by protoc-gen-es v1.9.0 with parameter "target=ts" +// @generated from file akash/inventory/v1/memory.proto (package akash.inventory.v1, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { + BinaryReadOptions, + FieldList, + JsonReadOptions, + JsonValue, + PartialMessage, + PlainMessage, +} from '@bufbuild/protobuf'; +import { Message, proto3 } from '@bufbuild/protobuf'; +import { ResourcePair } from './resourcepair_pb.js'; + +/** + * MemoryInfo reports Memory details + * + * @generated from message akash.inventory.v1.MemoryInfo + */ +export class MemoryInfo extends Message { + /** + * @generated from field: string vendor = 1; + */ + vendor = ''; + + /** + * @generated from field: string type = 2; + */ + type = ''; + + /** + * @generated from field: string total_size = 3; + */ + totalSize = ''; + + /** + * @generated from field: string speed = 4; + */ + speed = ''; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.inventory.v1.MemoryInfo'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'vendor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 2, name: 'type', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 3, name: 'total_size', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 4, name: 'speed', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): MemoryInfo { + return new MemoryInfo().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): MemoryInfo { + return new MemoryInfo().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): MemoryInfo { + return new MemoryInfo().fromJsonString(jsonString, options); + } + + static equals( + a: MemoryInfo | PlainMessage | undefined, + b: MemoryInfo | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(MemoryInfo, a, b); + } +} + +/** + * Memory reports Memory inventory details + * + * @generated from message akash.inventory.v1.Memory + */ +export class Memory extends Message { + /** + * @generated from field: akash.inventory.v1.ResourcePair quantity = 1; + */ + quantity?: ResourcePair; + + /** + * @generated from field: repeated akash.inventory.v1.MemoryInfo info = 2; + */ + info: MemoryInfo[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.inventory.v1.Memory'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'quantity', kind: 'message', T: ResourcePair }, + { no: 2, name: 'info', kind: 'message', T: MemoryInfo, repeated: true }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): Memory { + return new Memory().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): Memory { + return new Memory().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): Memory { + return new Memory().fromJsonString(jsonString, options); + } + + static equals( + a: Memory | PlainMessage | undefined, + b: Memory | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(Memory, a, b); + } +} diff --git a/ts/src/generated/connect-es/akash/inventory/v1/node_pb.ts b/ts/src/generated/connect-es/akash/inventory/v1/node_pb.ts new file mode 100644 index 00000000..cc227e4f --- /dev/null +++ b/ts/src/generated/connect-es/akash/inventory/v1/node_pb.ts @@ -0,0 +1,135 @@ +// @generated by protoc-gen-es v1.9.0 with parameter "target=ts" +// @generated from file akash/inventory/v1/node.proto (package akash.inventory.v1, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { + BinaryReadOptions, + FieldList, + JsonReadOptions, + JsonValue, + PartialMessage, + PlainMessage, +} from '@bufbuild/protobuf'; +import { Message, proto3 } from '@bufbuild/protobuf'; +import { NodeResources } from './resources_pb.js'; + +/** + * NodeCapabilities extended list of node capabilities + * + * @generated from message akash.inventory.v1.NodeCapabilities + */ +export class NodeCapabilities extends Message { + /** + * @generated from field: repeated string storage_classes = 1; + */ + storageClasses: string[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.inventory.v1.NodeCapabilities'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { + no: 1, + name: 'storage_classes', + kind: 'scalar', + T: 9 /* ScalarType.STRING */, + repeated: true, + }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): NodeCapabilities { + return new NodeCapabilities().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): NodeCapabilities { + return new NodeCapabilities().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): NodeCapabilities { + return new NodeCapabilities().fromJsonString(jsonString, options); + } + + static equals( + a: NodeCapabilities | PlainMessage | undefined, + b: NodeCapabilities | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(NodeCapabilities, a, b); + } +} + +/** + * Node reports node inventory details + * + * @generated from message akash.inventory.v1.Node + */ +export class Node extends Message { + /** + * @generated from field: string name = 1; + */ + name = ''; + + /** + * @generated from field: akash.inventory.v1.NodeResources resources = 2; + */ + resources?: NodeResources; + + /** + * @generated from field: akash.inventory.v1.NodeCapabilities capabilities = 3; + */ + capabilities?: NodeCapabilities; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.inventory.v1.Node'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'name', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 2, name: 'resources', kind: 'message', T: NodeResources }, + { no: 3, name: 'capabilities', kind: 'message', T: NodeCapabilities }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): Node { + return new Node().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): Node { + return new Node().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): Node { + return new Node().fromJsonString(jsonString, options); + } + + static equals( + a: Node | PlainMessage | undefined, + b: Node | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(Node, a, b); + } +} diff --git a/ts/src/generated/connect-es/akash/inventory/v1/resourcepair_pb.ts b/ts/src/generated/connect-es/akash/inventory/v1/resourcepair_pb.ts new file mode 100644 index 00000000..7c485cd2 --- /dev/null +++ b/ts/src/generated/connect-es/akash/inventory/v1/resourcepair_pb.ts @@ -0,0 +1,85 @@ +// @generated by protoc-gen-es v1.9.0 with parameter "target=ts" +// @generated from file akash/inventory/v1/resourcepair.proto (package akash.inventory.v1, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { + BinaryReadOptions, + FieldList, + JsonReadOptions, + JsonValue, + PartialMessage, + PlainMessage, +} from '@bufbuild/protobuf'; +import { Message, proto3 } from '@bufbuild/protobuf'; +import { Quantity } from '../../../k8s.io/apimachinery/pkg/api/resource/generated_pb.js'; +import { Attribute } from '../../base/v1beta3/attribute_pb.js'; + +/** + * ResourcePair to extents resource.Quantity to provide total and available units of the resource + * + * @generated from message akash.inventory.v1.ResourcePair + */ +export class ResourcePair extends Message { + /** + * @generated from field: k8s.io.apimachinery.pkg.api.resource.Quantity allocatable = 1; + */ + allocatable?: Quantity; + + /** + * @generated from field: k8s.io.apimachinery.pkg.api.resource.Quantity allocated = 2; + */ + allocated?: Quantity; + + /** + * @generated from field: repeated akash.base.v1beta3.Attribute attributes = 3; + */ + attributes: Attribute[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.inventory.v1.ResourcePair'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'allocatable', kind: 'message', T: Quantity }, + { no: 2, name: 'allocated', kind: 'message', T: Quantity }, + { + no: 3, + name: 'attributes', + kind: 'message', + T: Attribute, + repeated: true, + }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): ResourcePair { + return new ResourcePair().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): ResourcePair { + return new ResourcePair().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): ResourcePair { + return new ResourcePair().fromJsonString(jsonString, options); + } + + static equals( + a: ResourcePair | PlainMessage | undefined, + b: ResourcePair | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(ResourcePair, a, b); + } +} diff --git a/ts/src/generated/connect-es/akash/inventory/v1/resources_pb.ts b/ts/src/generated/connect-es/akash/inventory/v1/resources_pb.ts new file mode 100644 index 00000000..b60ffd2b --- /dev/null +++ b/ts/src/generated/connect-es/akash/inventory/v1/resources_pb.ts @@ -0,0 +1,99 @@ +// @generated by protoc-gen-es v1.9.0 with parameter "target=ts" +// @generated from file akash/inventory/v1/resources.proto (package akash.inventory.v1, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { + BinaryReadOptions, + FieldList, + JsonReadOptions, + JsonValue, + PartialMessage, + PlainMessage, +} from '@bufbuild/protobuf'; +import { Message, proto3 } from '@bufbuild/protobuf'; +import { CPU } from './cpu_pb.js'; +import { Memory } from './memory_pb.js'; +import { GPU } from './gpu_pb.js'; +import { ResourcePair } from './resourcepair_pb.js'; + +/** + * NodeResources reports node inventory details + * + * @generated from message akash.inventory.v1.NodeResources + */ +export class NodeResources extends Message { + /** + * @generated from field: akash.inventory.v1.CPU cpu = 1; + */ + cpu?: CPU; + + /** + * @generated from field: akash.inventory.v1.Memory memory = 2; + */ + memory?: Memory; + + /** + * @generated from field: akash.inventory.v1.GPU gpu = 3; + */ + gpu?: GPU; + + /** + * @generated from field: akash.inventory.v1.ResourcePair ephemeral_storage = 4; + */ + ephemeralStorage?: ResourcePair; + + /** + * @generated from field: akash.inventory.v1.ResourcePair volumes_attached = 5; + */ + volumesAttached?: ResourcePair; + + /** + * @generated from field: akash.inventory.v1.ResourcePair volumes_mounted = 6; + */ + volumesMounted?: ResourcePair; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.inventory.v1.NodeResources'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'cpu', kind: 'message', T: CPU }, + { no: 2, name: 'memory', kind: 'message', T: Memory }, + { no: 3, name: 'gpu', kind: 'message', T: GPU }, + { no: 4, name: 'ephemeral_storage', kind: 'message', T: ResourcePair }, + { no: 5, name: 'volumes_attached', kind: 'message', T: ResourcePair }, + { no: 6, name: 'volumes_mounted', kind: 'message', T: ResourcePair }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): NodeResources { + return new NodeResources().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): NodeResources { + return new NodeResources().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): NodeResources { + return new NodeResources().fromJsonString(jsonString, options); + } + + static equals( + a: NodeResources | PlainMessage | undefined, + b: NodeResources | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(NodeResources, a, b); + } +} diff --git a/ts/src/generated/connect-es/akash/inventory/v1/service_connect.ts b/ts/src/generated/connect-es/akash/inventory/v1/service_connect.ts new file mode 100644 index 00000000..3bfdb2bf --- /dev/null +++ b/ts/src/generated/connect-es/akash/inventory/v1/service_connect.ts @@ -0,0 +1,82 @@ +// @generated by protoc-gen-connect-es v1.4.0 with parameter "target=ts" +// @generated from file akash/inventory/v1/service.proto (package akash.inventory.v1, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import { Empty, MethodKind } from '@bufbuild/protobuf'; +import { Node } from './node_pb.js'; +import { Cluster } from './cluster_pb.js'; + +/** + * NodeRPC defines the RPC server of node + * + * @generated from service akash.inventory.v1.NodeRPC + */ +export const NodeRPC = { + typeName: 'akash.inventory.v1.NodeRPC', + methods: { + /** + * QueryNode defines a method to query hardware state of the node + * buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE + * buf:lint:ignore RPC_RESPONSE_STANDARD_NAME + * + * @generated from rpc akash.inventory.v1.NodeRPC.QueryNode + */ + queryNode: { + name: 'QueryNode', + I: Empty, + O: Node, + kind: MethodKind.Unary, + }, + /** + * StreamNode defines a method to stream hardware state of the node + * buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE + * buf:lint:ignore RPC_RESPONSE_STANDARD_NAME + * + * @generated from rpc akash.inventory.v1.NodeRPC.StreamNode + */ + streamNode: { + name: 'StreamNode', + I: Empty, + O: Node, + kind: MethodKind.ServerStreaming, + }, + }, +} as const; + +/** + * ClusterRPC defines the RPC server of cluster + * + * @generated from service akash.inventory.v1.ClusterRPC + */ +export const ClusterRPC = { + typeName: 'akash.inventory.v1.ClusterRPC', + methods: { + /** + * QueryCluster defines a method to query hardware state of the cluster + * buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE + * buf:lint:ignore RPC_RESPONSE_STANDARD_NAME + * + * @generated from rpc akash.inventory.v1.ClusterRPC.QueryCluster + */ + queryCluster: { + name: 'QueryCluster', + I: Empty, + O: Cluster, + kind: MethodKind.Unary, + }, + /** + * StreamCluster defines a method to stream hardware state of the cluster + * buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE + * buf:lint:ignore RPC_RESPONSE_STANDARD_NAME + * + * @generated from rpc akash.inventory.v1.ClusterRPC.StreamCluster + */ + streamCluster: { + name: 'StreamCluster', + I: Empty, + O: Cluster, + kind: MethodKind.ServerStreaming, + }, + }, +} as const; diff --git a/ts/src/generated/connect-es/akash/inventory/v1/storage_pb.ts b/ts/src/generated/connect-es/akash/inventory/v1/storage_pb.ts new file mode 100644 index 00000000..d06f7582 --- /dev/null +++ b/ts/src/generated/connect-es/akash/inventory/v1/storage_pb.ts @@ -0,0 +1,129 @@ +// @generated by protoc-gen-es v1.9.0 with parameter "target=ts" +// @generated from file akash/inventory/v1/storage.proto (package akash.inventory.v1, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { + BinaryReadOptions, + FieldList, + JsonReadOptions, + JsonValue, + PartialMessage, + PlainMessage, +} from '@bufbuild/protobuf'; +import { Message, proto3 } from '@bufbuild/protobuf'; +import { ResourcePair } from './resourcepair_pb.js'; + +/** + * StorageInfo reports Storage details + * + * @generated from message akash.inventory.v1.StorageInfo + */ +export class StorageInfo extends Message { + /** + * @generated from field: string class = 1; + */ + class = ''; + + /** + * @generated from field: string iops = 2; + */ + iops = ''; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.inventory.v1.StorageInfo'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'class', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 2, name: 'iops', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): StorageInfo { + return new StorageInfo().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): StorageInfo { + return new StorageInfo().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): StorageInfo { + return new StorageInfo().fromJsonString(jsonString, options); + } + + static equals( + a: StorageInfo | PlainMessage | undefined, + b: StorageInfo | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(StorageInfo, a, b); + } +} + +/** + * Storage reports Storage inventory details + * + * @generated from message akash.inventory.v1.Storage + */ +export class Storage extends Message { + /** + * @generated from field: akash.inventory.v1.ResourcePair quantity = 1; + */ + quantity?: ResourcePair; + + /** + * @generated from field: akash.inventory.v1.StorageInfo info = 2; + */ + info?: StorageInfo; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.inventory.v1.Storage'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'quantity', kind: 'message', T: ResourcePair }, + { no: 2, name: 'info', kind: 'message', T: StorageInfo }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): Storage { + return new Storage().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): Storage { + return new Storage().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): Storage { + return new Storage().fromJsonString(jsonString, options); + } + + static equals( + a: Storage | PlainMessage | undefined, + b: Storage | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(Storage, a, b); + } +} diff --git a/ts/src/generated/connect-es/akash/manifest/v2beta1/group_pb.ts b/ts/src/generated/connect-es/akash/manifest/v2beta1/group_pb.ts new file mode 100644 index 00000000..8bb11c26 --- /dev/null +++ b/ts/src/generated/connect-es/akash/manifest/v2beta1/group_pb.ts @@ -0,0 +1,72 @@ +// @generated by protoc-gen-es v1.9.0 with parameter "target=ts" +// @generated from file akash/manifest/v2beta1/group.proto (package akash.manifest.v2beta1, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { + BinaryReadOptions, + FieldList, + JsonReadOptions, + JsonValue, + PartialMessage, + PlainMessage, +} from '@bufbuild/protobuf'; +import { Message, proto3 } from '@bufbuild/protobuf'; +import { Service } from './service_pb.js'; + +/** + * Group store name and list of services + * + * @generated from message akash.manifest.v2beta1.Group + */ +export class Group extends Message { + /** + * @generated from field: string name = 1; + */ + name = ''; + + /** + * @generated from field: repeated akash.manifest.v2beta1.Service services = 2; + */ + services: Service[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.manifest.v2beta1.Group'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'name', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 2, name: 'services', kind: 'message', T: Service, repeated: true }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): Group { + return new Group().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): Group { + return new Group().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): Group { + return new Group().fromJsonString(jsonString, options); + } + + static equals( + a: Group | PlainMessage | undefined, + b: Group | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(Group, a, b); + } +} diff --git a/ts/src/generated/connect-es/akash/manifest/v2beta1/httpoptions_pb.ts b/ts/src/generated/connect-es/akash/manifest/v2beta1/httpoptions_pb.ts new file mode 100644 index 00000000..55eb8d3c --- /dev/null +++ b/ts/src/generated/connect-es/akash/manifest/v2beta1/httpoptions_pb.ts @@ -0,0 +1,132 @@ +// @generated by protoc-gen-es v1.9.0 with parameter "target=ts" +// @generated from file akash/manifest/v2beta1/httpoptions.proto (package akash.manifest.v2beta1, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { + BinaryReadOptions, + FieldList, + JsonReadOptions, + JsonValue, + PartialMessage, + PlainMessage, +} from '@bufbuild/protobuf'; +import { Message, proto3 } from '@bufbuild/protobuf'; + +/** + * ServiceExposeHTTPOptions + * + * @generated from message akash.manifest.v2beta1.ServiceExposeHTTPOptions + */ +export class ServiceExposeHTTPOptions extends Message { + /** + * @generated from field: uint32 max_body_size = 1; + */ + maxBodySize = 0; + + /** + * @generated from field: uint32 read_timeout = 2; + */ + readTimeout = 0; + + /** + * @generated from field: uint32 send_timeout = 3; + */ + sendTimeout = 0; + + /** + * @generated from field: uint32 next_tries = 4; + */ + nextTries = 0; + + /** + * @generated from field: uint32 next_timeout = 5; + */ + nextTimeout = 0; + + /** + * @generated from field: repeated string next_cases = 6; + */ + nextCases: string[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.manifest.v2beta1.ServiceExposeHTTPOptions'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { + no: 1, + name: 'max_body_size', + kind: 'scalar', + T: 13 /* ScalarType.UINT32 */, + }, + { + no: 2, + name: 'read_timeout', + kind: 'scalar', + T: 13 /* ScalarType.UINT32 */, + }, + { + no: 3, + name: 'send_timeout', + kind: 'scalar', + T: 13 /* ScalarType.UINT32 */, + }, + { + no: 4, + name: 'next_tries', + kind: 'scalar', + T: 13 /* ScalarType.UINT32 */, + }, + { + no: 5, + name: 'next_timeout', + kind: 'scalar', + T: 13 /* ScalarType.UINT32 */, + }, + { + no: 6, + name: 'next_cases', + kind: 'scalar', + T: 9 /* ScalarType.STRING */, + repeated: true, + }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): ServiceExposeHTTPOptions { + return new ServiceExposeHTTPOptions().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): ServiceExposeHTTPOptions { + return new ServiceExposeHTTPOptions().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): ServiceExposeHTTPOptions { + return new ServiceExposeHTTPOptions().fromJsonString(jsonString, options); + } + + static equals( + a: + | ServiceExposeHTTPOptions + | PlainMessage + | undefined, + b: + | ServiceExposeHTTPOptions + | PlainMessage + | undefined, + ): boolean { + return proto3.util.equals(ServiceExposeHTTPOptions, a, b); + } +} diff --git a/ts/src/generated/connect-es/akash/manifest/v2beta1/service_pb.ts b/ts/src/generated/connect-es/akash/manifest/v2beta1/service_pb.ts new file mode 100644 index 00000000..ae4d15a5 --- /dev/null +++ b/ts/src/generated/connect-es/akash/manifest/v2beta1/service_pb.ts @@ -0,0 +1,259 @@ +// @generated by protoc-gen-es v1.9.0 with parameter "target=ts" +// @generated from file akash/manifest/v2beta1/service.proto (package akash.manifest.v2beta1, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { + BinaryReadOptions, + FieldList, + JsonReadOptions, + JsonValue, + PartialMessage, + PlainMessage, +} from '@bufbuild/protobuf'; +import { Message, proto3 } from '@bufbuild/protobuf'; +import { ResourceUnits } from '../../base/v1beta2/resourceunits_pb.js'; +import { ServiceExpose } from './serviceexpose_pb.js'; + +/** + * StorageParams + * + * @generated from message akash.manifest.v2beta1.StorageParams + */ +export class StorageParams extends Message { + /** + * @generated from field: string name = 1; + */ + name = ''; + + /** + * @generated from field: string mount = 2; + */ + mount = ''; + + /** + * @generated from field: bool read_only = 3; + */ + readOnly = false; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.manifest.v2beta1.StorageParams'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'name', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 2, name: 'mount', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 3, name: 'read_only', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): StorageParams { + return new StorageParams().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): StorageParams { + return new StorageParams().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): StorageParams { + return new StorageParams().fromJsonString(jsonString, options); + } + + static equals( + a: StorageParams | PlainMessage | undefined, + b: StorageParams | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(StorageParams, a, b); + } +} + +/** + * ServiceParams + * + * @generated from message akash.manifest.v2beta1.ServiceParams + */ +export class ServiceParams extends Message { + /** + * @generated from field: repeated akash.manifest.v2beta1.StorageParams storage = 1; + */ + storage: StorageParams[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.manifest.v2beta1.ServiceParams'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { + no: 1, + name: 'storage', + kind: 'message', + T: StorageParams, + repeated: true, + }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): ServiceParams { + return new ServiceParams().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): ServiceParams { + return new ServiceParams().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): ServiceParams { + return new ServiceParams().fromJsonString(jsonString, options); + } + + static equals( + a: ServiceParams | PlainMessage | undefined, + b: ServiceParams | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(ServiceParams, a, b); + } +} + +/** + * Service stores name, image, args, env, unit, count and expose list of service + * + * @generated from message akash.manifest.v2beta1.Service + */ +export class Service extends Message { + /** + * @generated from field: string name = 1; + */ + name = ''; + + /** + * @generated from field: string image = 2; + */ + image = ''; + + /** + * @generated from field: repeated string command = 3; + */ + command: string[] = []; + + /** + * @generated from field: repeated string args = 4; + */ + args: string[] = []; + + /** + * @generated from field: repeated string env = 5; + */ + env: string[] = []; + + /** + * @generated from field: akash.base.v1beta2.ResourceUnits resources = 6; + */ + resources?: ResourceUnits; + + /** + * @generated from field: uint32 count = 7; + */ + count = 0; + + /** + * @generated from field: repeated akash.manifest.v2beta1.ServiceExpose expose = 8; + */ + expose: ServiceExpose[] = []; + + /** + * @generated from field: akash.manifest.v2beta1.ServiceParams params = 9; + */ + params?: ServiceParams; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.manifest.v2beta1.Service'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'name', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 2, name: 'image', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { + no: 3, + name: 'command', + kind: 'scalar', + T: 9 /* ScalarType.STRING */, + repeated: true, + }, + { + no: 4, + name: 'args', + kind: 'scalar', + T: 9 /* ScalarType.STRING */, + repeated: true, + }, + { + no: 5, + name: 'env', + kind: 'scalar', + T: 9 /* ScalarType.STRING */, + repeated: true, + }, + { no: 6, name: 'resources', kind: 'message', T: ResourceUnits }, + { no: 7, name: 'count', kind: 'scalar', T: 13 /* ScalarType.UINT32 */ }, + { + no: 8, + name: 'expose', + kind: 'message', + T: ServiceExpose, + repeated: true, + }, + { no: 9, name: 'params', kind: 'message', T: ServiceParams }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): Service { + return new Service().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): Service { + return new Service().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): Service { + return new Service().fromJsonString(jsonString, options); + } + + static equals( + a: Service | PlainMessage | undefined, + b: Service | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(Service, a, b); + } +} diff --git a/ts/src/generated/connect-es/akash/manifest/v2beta1/serviceexpose_pb.ts b/ts/src/generated/connect-es/akash/manifest/v2beta1/serviceexpose_pb.ts new file mode 100644 index 00000000..aeb91195 --- /dev/null +++ b/ts/src/generated/connect-es/akash/manifest/v2beta1/serviceexpose_pb.ts @@ -0,0 +1,143 @@ +// @generated by protoc-gen-es v1.9.0 with parameter "target=ts" +// @generated from file akash/manifest/v2beta1/serviceexpose.proto (package akash.manifest.v2beta1, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { + BinaryReadOptions, + FieldList, + JsonReadOptions, + JsonValue, + PartialMessage, + PlainMessage, +} from '@bufbuild/protobuf'; +import { Message, proto3 } from '@bufbuild/protobuf'; +import { ServiceExposeHTTPOptions } from './httpoptions_pb.js'; + +/** + * ServiceExpose stores exposed ports and hosts details + * + * @generated from message akash.manifest.v2beta1.ServiceExpose + */ +export class ServiceExpose extends Message { + /** + * port on the container + * + * @generated from field: uint32 port = 1; + */ + port = 0; + + /** + * port on the service definition + * + * @generated from field: uint32 external_port = 2; + */ + externalPort = 0; + + /** + * @generated from field: string proto = 3; + */ + proto = ''; + + /** + * @generated from field: string service = 4; + */ + service = ''; + + /** + * @generated from field: bool global = 5; + */ + global = false; + + /** + * @generated from field: repeated string hosts = 6; + */ + hosts: string[] = []; + + /** + * @generated from field: akash.manifest.v2beta1.ServiceExposeHTTPOptions http_options = 7; + */ + httpOptions?: ServiceExposeHTTPOptions; + + /** + * The name of the IP address associated with this, if any + * + * @generated from field: string ip = 8; + */ + ip = ''; + + /** + * The sequence number of the associated endpoint in the on-chain data + * + * @generated from field: uint32 endpoint_sequence_number = 9; + */ + endpointSequenceNumber = 0; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.manifest.v2beta1.ServiceExpose'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'port', kind: 'scalar', T: 13 /* ScalarType.UINT32 */ }, + { + no: 2, + name: 'external_port', + kind: 'scalar', + T: 13 /* ScalarType.UINT32 */, + }, + { no: 3, name: 'proto', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 4, name: 'service', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 5, name: 'global', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, + { + no: 6, + name: 'hosts', + kind: 'scalar', + T: 9 /* ScalarType.STRING */, + repeated: true, + }, + { + no: 7, + name: 'http_options', + kind: 'message', + T: ServiceExposeHTTPOptions, + }, + { no: 8, name: 'ip', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { + no: 9, + name: 'endpoint_sequence_number', + kind: 'scalar', + T: 13 /* ScalarType.UINT32 */, + }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): ServiceExpose { + return new ServiceExpose().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): ServiceExpose { + return new ServiceExpose().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): ServiceExpose { + return new ServiceExpose().fromJsonString(jsonString, options); + } + + static equals( + a: ServiceExpose | PlainMessage | undefined, + b: ServiceExpose | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(ServiceExpose, a, b); + } +} diff --git a/ts/src/generated/connect-es/akash/manifest/v2beta2/group_pb.ts b/ts/src/generated/connect-es/akash/manifest/v2beta2/group_pb.ts new file mode 100644 index 00000000..16074e80 --- /dev/null +++ b/ts/src/generated/connect-es/akash/manifest/v2beta2/group_pb.ts @@ -0,0 +1,72 @@ +// @generated by protoc-gen-es v1.9.0 with parameter "target=ts" +// @generated from file akash/manifest/v2beta2/group.proto (package akash.manifest.v2beta2, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { + BinaryReadOptions, + FieldList, + JsonReadOptions, + JsonValue, + PartialMessage, + PlainMessage, +} from '@bufbuild/protobuf'; +import { Message, proto3 } from '@bufbuild/protobuf'; +import { Service } from './service_pb.js'; + +/** + * Group store name and list of services + * + * @generated from message akash.manifest.v2beta2.Group + */ +export class Group extends Message { + /** + * @generated from field: string name = 1; + */ + name = ''; + + /** + * @generated from field: repeated akash.manifest.v2beta2.Service services = 2; + */ + services: Service[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.manifest.v2beta2.Group'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'name', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 2, name: 'services', kind: 'message', T: Service, repeated: true }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): Group { + return new Group().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): Group { + return new Group().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): Group { + return new Group().fromJsonString(jsonString, options); + } + + static equals( + a: Group | PlainMessage | undefined, + b: Group | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(Group, a, b); + } +} diff --git a/ts/src/generated/connect-es/akash/manifest/v2beta2/httpoptions_pb.ts b/ts/src/generated/connect-es/akash/manifest/v2beta2/httpoptions_pb.ts new file mode 100644 index 00000000..b674ca0c --- /dev/null +++ b/ts/src/generated/connect-es/akash/manifest/v2beta2/httpoptions_pb.ts @@ -0,0 +1,132 @@ +// @generated by protoc-gen-es v1.9.0 with parameter "target=ts" +// @generated from file akash/manifest/v2beta2/httpoptions.proto (package akash.manifest.v2beta2, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { + BinaryReadOptions, + FieldList, + JsonReadOptions, + JsonValue, + PartialMessage, + PlainMessage, +} from '@bufbuild/protobuf'; +import { Message, proto3 } from '@bufbuild/protobuf'; + +/** + * ServiceExposeHTTPOptions + * + * @generated from message akash.manifest.v2beta2.ServiceExposeHTTPOptions + */ +export class ServiceExposeHTTPOptions extends Message { + /** + * @generated from field: uint32 max_body_size = 1; + */ + maxBodySize = 0; + + /** + * @generated from field: uint32 read_timeout = 2; + */ + readTimeout = 0; + + /** + * @generated from field: uint32 send_timeout = 3; + */ + sendTimeout = 0; + + /** + * @generated from field: uint32 next_tries = 4; + */ + nextTries = 0; + + /** + * @generated from field: uint32 next_timeout = 5; + */ + nextTimeout = 0; + + /** + * @generated from field: repeated string next_cases = 6; + */ + nextCases: string[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.manifest.v2beta2.ServiceExposeHTTPOptions'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { + no: 1, + name: 'max_body_size', + kind: 'scalar', + T: 13 /* ScalarType.UINT32 */, + }, + { + no: 2, + name: 'read_timeout', + kind: 'scalar', + T: 13 /* ScalarType.UINT32 */, + }, + { + no: 3, + name: 'send_timeout', + kind: 'scalar', + T: 13 /* ScalarType.UINT32 */, + }, + { + no: 4, + name: 'next_tries', + kind: 'scalar', + T: 13 /* ScalarType.UINT32 */, + }, + { + no: 5, + name: 'next_timeout', + kind: 'scalar', + T: 13 /* ScalarType.UINT32 */, + }, + { + no: 6, + name: 'next_cases', + kind: 'scalar', + T: 9 /* ScalarType.STRING */, + repeated: true, + }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): ServiceExposeHTTPOptions { + return new ServiceExposeHTTPOptions().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): ServiceExposeHTTPOptions { + return new ServiceExposeHTTPOptions().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): ServiceExposeHTTPOptions { + return new ServiceExposeHTTPOptions().fromJsonString(jsonString, options); + } + + static equals( + a: + | ServiceExposeHTTPOptions + | PlainMessage + | undefined, + b: + | ServiceExposeHTTPOptions + | PlainMessage + | undefined, + ): boolean { + return proto3.util.equals(ServiceExposeHTTPOptions, a, b); + } +} diff --git a/ts/src/generated/connect-es/akash/manifest/v2beta2/service_pb.ts b/ts/src/generated/connect-es/akash/manifest/v2beta2/service_pb.ts new file mode 100644 index 00000000..2327c38b --- /dev/null +++ b/ts/src/generated/connect-es/akash/manifest/v2beta2/service_pb.ts @@ -0,0 +1,345 @@ +// @generated by protoc-gen-es v1.9.0 with parameter "target=ts" +// @generated from file akash/manifest/v2beta2/service.proto (package akash.manifest.v2beta2, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { + BinaryReadOptions, + FieldList, + JsonReadOptions, + JsonValue, + PartialMessage, + PlainMessage, +} from '@bufbuild/protobuf'; +import { Message, proto3 } from '@bufbuild/protobuf'; +import { Resources } from '../../base/v1beta3/resources_pb.js'; +import { ServiceExpose } from './serviceexpose_pb.js'; + +/** + * StorageParams + * + * @generated from message akash.manifest.v2beta2.StorageParams + */ +export class StorageParams extends Message { + /** + * @generated from field: string name = 1; + */ + name = ''; + + /** + * @generated from field: string mount = 2; + */ + mount = ''; + + /** + * @generated from field: bool read_only = 3; + */ + readOnly = false; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.manifest.v2beta2.StorageParams'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'name', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 2, name: 'mount', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 3, name: 'read_only', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): StorageParams { + return new StorageParams().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): StorageParams { + return new StorageParams().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): StorageParams { + return new StorageParams().fromJsonString(jsonString, options); + } + + static equals( + a: StorageParams | PlainMessage | undefined, + b: StorageParams | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(StorageParams, a, b); + } +} + +/** + * ServiceParams + * + * @generated from message akash.manifest.v2beta2.ServiceParams + */ +export class ServiceParams extends Message { + /** + * @generated from field: repeated akash.manifest.v2beta2.StorageParams storage = 1; + */ + storage: StorageParams[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.manifest.v2beta2.ServiceParams'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { + no: 1, + name: 'storage', + kind: 'message', + T: StorageParams, + repeated: true, + }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): ServiceParams { + return new ServiceParams().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): ServiceParams { + return new ServiceParams().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): ServiceParams { + return new ServiceParams().fromJsonString(jsonString, options); + } + + static equals( + a: ServiceParams | PlainMessage | undefined, + b: ServiceParams | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(ServiceParams, a, b); + } +} + +/** + * Credentials to fetch image from registry + * + * @generated from message akash.manifest.v2beta2.ServiceImageCredentials + */ +export class ServiceImageCredentials extends Message { + /** + * @generated from field: string host = 1; + */ + host = ''; + + /** + * @generated from field: string email = 2; + */ + email = ''; + + /** + * @generated from field: string username = 3; + */ + username = ''; + + /** + * @generated from field: string password = 4; + */ + password = ''; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.manifest.v2beta2.ServiceImageCredentials'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'host', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 2, name: 'email', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 3, name: 'username', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 4, name: 'password', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): ServiceImageCredentials { + return new ServiceImageCredentials().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): ServiceImageCredentials { + return new ServiceImageCredentials().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): ServiceImageCredentials { + return new ServiceImageCredentials().fromJsonString(jsonString, options); + } + + static equals( + a: + | ServiceImageCredentials + | PlainMessage + | undefined, + b: + | ServiceImageCredentials + | PlainMessage + | undefined, + ): boolean { + return proto3.util.equals(ServiceImageCredentials, a, b); + } +} + +/** + * Service stores name, image, args, env, unit, count and expose list of service + * + * @generated from message akash.manifest.v2beta2.Service + */ +export class Service extends Message { + /** + * @generated from field: string name = 1; + */ + name = ''; + + /** + * @generated from field: string image = 2; + */ + image = ''; + + /** + * @generated from field: repeated string command = 3; + */ + command: string[] = []; + + /** + * @generated from field: repeated string args = 4; + */ + args: string[] = []; + + /** + * @generated from field: repeated string env = 5; + */ + env: string[] = []; + + /** + * @generated from field: akash.base.v1beta3.Resources resources = 6; + */ + resources?: Resources; + + /** + * @generated from field: uint32 count = 7; + */ + count = 0; + + /** + * @generated from field: repeated akash.manifest.v2beta2.ServiceExpose expose = 8; + */ + expose: ServiceExpose[] = []; + + /** + * @generated from field: akash.manifest.v2beta2.ServiceParams params = 9; + */ + params?: ServiceParams; + + /** + * @generated from field: akash.manifest.v2beta2.ServiceImageCredentials credentials = 10; + */ + credentials?: ServiceImageCredentials; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.manifest.v2beta2.Service'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'name', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 2, name: 'image', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { + no: 3, + name: 'command', + kind: 'scalar', + T: 9 /* ScalarType.STRING */, + repeated: true, + }, + { + no: 4, + name: 'args', + kind: 'scalar', + T: 9 /* ScalarType.STRING */, + repeated: true, + }, + { + no: 5, + name: 'env', + kind: 'scalar', + T: 9 /* ScalarType.STRING */, + repeated: true, + }, + { no: 6, name: 'resources', kind: 'message', T: Resources }, + { no: 7, name: 'count', kind: 'scalar', T: 13 /* ScalarType.UINT32 */ }, + { + no: 8, + name: 'expose', + kind: 'message', + T: ServiceExpose, + repeated: true, + }, + { no: 9, name: 'params', kind: 'message', T: ServiceParams }, + { + no: 10, + name: 'credentials', + kind: 'message', + T: ServiceImageCredentials, + }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): Service { + return new Service().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): Service { + return new Service().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): Service { + return new Service().fromJsonString(jsonString, options); + } + + static equals( + a: Service | PlainMessage | undefined, + b: Service | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(Service, a, b); + } +} diff --git a/ts/src/generated/connect-es/akash/manifest/v2beta2/serviceexpose_pb.ts b/ts/src/generated/connect-es/akash/manifest/v2beta2/serviceexpose_pb.ts new file mode 100644 index 00000000..27649217 --- /dev/null +++ b/ts/src/generated/connect-es/akash/manifest/v2beta2/serviceexpose_pb.ts @@ -0,0 +1,143 @@ +// @generated by protoc-gen-es v1.9.0 with parameter "target=ts" +// @generated from file akash/manifest/v2beta2/serviceexpose.proto (package akash.manifest.v2beta2, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { + BinaryReadOptions, + FieldList, + JsonReadOptions, + JsonValue, + PartialMessage, + PlainMessage, +} from '@bufbuild/protobuf'; +import { Message, proto3 } from '@bufbuild/protobuf'; +import { ServiceExposeHTTPOptions } from './httpoptions_pb.js'; + +/** + * ServiceExpose stores exposed ports and hosts details + * + * @generated from message akash.manifest.v2beta2.ServiceExpose + */ +export class ServiceExpose extends Message { + /** + * port on the container + * + * @generated from field: uint32 port = 1; + */ + port = 0; + + /** + * port on the service definition + * + * @generated from field: uint32 external_port = 2; + */ + externalPort = 0; + + /** + * @generated from field: string proto = 3; + */ + proto = ''; + + /** + * @generated from field: string service = 4; + */ + service = ''; + + /** + * @generated from field: bool global = 5; + */ + global = false; + + /** + * @generated from field: repeated string hosts = 6; + */ + hosts: string[] = []; + + /** + * @generated from field: akash.manifest.v2beta2.ServiceExposeHTTPOptions http_options = 7; + */ + httpOptions?: ServiceExposeHTTPOptions; + + /** + * The name of the IP address associated with this, if any + * + * @generated from field: string ip = 8; + */ + ip = ''; + + /** + * The sequence number of the associated endpoint in the on-chain data + * + * @generated from field: uint32 endpoint_sequence_number = 9; + */ + endpointSequenceNumber = 0; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.manifest.v2beta2.ServiceExpose'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'port', kind: 'scalar', T: 13 /* ScalarType.UINT32 */ }, + { + no: 2, + name: 'external_port', + kind: 'scalar', + T: 13 /* ScalarType.UINT32 */, + }, + { no: 3, name: 'proto', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 4, name: 'service', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 5, name: 'global', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, + { + no: 6, + name: 'hosts', + kind: 'scalar', + T: 9 /* ScalarType.STRING */, + repeated: true, + }, + { + no: 7, + name: 'http_options', + kind: 'message', + T: ServiceExposeHTTPOptions, + }, + { no: 8, name: 'ip', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { + no: 9, + name: 'endpoint_sequence_number', + kind: 'scalar', + T: 13 /* ScalarType.UINT32 */, + }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): ServiceExpose { + return new ServiceExpose().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): ServiceExpose { + return new ServiceExpose().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): ServiceExpose { + return new ServiceExpose().fromJsonString(jsonString, options); + } + + static equals( + a: ServiceExpose | PlainMessage | undefined, + b: ServiceExpose | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(ServiceExpose, a, b); + } +} diff --git a/ts/src/generated/connect-es/akash/provider/lease/v1/service_connect.ts b/ts/src/generated/connect-es/akash/provider/lease/v1/service_connect.ts new file mode 100644 index 00000000..1f410acb --- /dev/null +++ b/ts/src/generated/connect-es/akash/provider/lease/v1/service_connect.ts @@ -0,0 +1,88 @@ +// @generated by protoc-gen-connect-es v1.4.0 with parameter "target=ts" +// @generated from file akash/provider/lease/v1/service.proto (package akash.provider.lease.v1, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import { + SendManifestRequest, + SendManifestResponse, + ServiceLogsRequest, + ServiceLogsResponse, + ServiceStatusRequest, + ServiceStatusResponse, +} from './service_pb.js'; +import { MethodKind } from '@bufbuild/protobuf'; + +/** + * LeaseRPC defines the RPC server for lease control + * + * @generated from service akash.provider.lease.v1.LeaseRPC + */ +export const LeaseRPC = { + typeName: 'akash.provider.lease.v1.LeaseRPC', + methods: { + /** + * SendManifest sends manifest to the provider + * + * @generated from rpc akash.provider.lease.v1.LeaseRPC.SendManifest + */ + sendManifest: { + name: 'SendManifest', + I: SendManifestRequest, + O: SendManifestResponse, + kind: MethodKind.Unary, + }, + /** + * ServiceStatus + * buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE + * buf:lint:ignore RPC_RESPONSE_STANDARD_NAME + * + * @generated from rpc akash.provider.lease.v1.LeaseRPC.ServiceStatus + */ + serviceStatus: { + name: 'ServiceStatus', + I: ServiceStatusRequest, + O: ServiceStatusResponse, + kind: MethodKind.Unary, + }, + /** + * StreamServiceStatus + * buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE + * buf:lint:ignore RPC_RESPONSE_STANDARD_NAME + * + * @generated from rpc akash.provider.lease.v1.LeaseRPC.StreamServiceStatus + */ + streamServiceStatus: { + name: 'StreamServiceStatus', + I: ServiceStatusRequest, + O: ServiceStatusResponse, + kind: MethodKind.ServerStreaming, + }, + /** + * ServiceLogs + * buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE + * buf:lint:ignore RPC_RESPONSE_STANDARD_NAME + * + * @generated from rpc akash.provider.lease.v1.LeaseRPC.ServiceLogs + */ + serviceLogs: { + name: 'ServiceLogs', + I: ServiceLogsRequest, + O: ServiceLogsResponse, + kind: MethodKind.Unary, + }, + /** + * StreamServiceLogs + * buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE + * buf:lint:ignore RPC_RESPONSE_STANDARD_NAME + * + * @generated from rpc akash.provider.lease.v1.LeaseRPC.StreamServiceLogs + */ + streamServiceLogs: { + name: 'StreamServiceLogs', + I: ServiceLogsRequest, + O: ServiceLogsResponse, + kind: MethodKind.ServerStreaming, + }, + }, +} as const; diff --git a/ts/src/generated/connect-es/akash/provider/lease/v1/service_pb.ts b/ts/src/generated/connect-es/akash/provider/lease/v1/service_pb.ts new file mode 100644 index 00000000..4ea77fb3 --- /dev/null +++ b/ts/src/generated/connect-es/akash/provider/lease/v1/service_pb.ts @@ -0,0 +1,813 @@ +// @generated by protoc-gen-es v1.9.0 with parameter "target=ts" +// @generated from file akash/provider/lease/v1/service.proto (package akash.provider.lease.v1, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { + BinaryReadOptions, + FieldList, + JsonReadOptions, + JsonValue, + PartialMessage, + PlainMessage, +} from '@bufbuild/protobuf'; +import { Message, proto3, protoInt64 } from '@bufbuild/protobuf'; +import { LeaseID } from '../../../market/v1beta4/lease_pb.js'; +import { Group } from '../../../manifest/v2beta2/group_pb.js'; + +/** + * LeaseServiceStatus + * + * @generated from message akash.provider.lease.v1.LeaseServiceStatus + */ +export class LeaseServiceStatus extends Message { + /** + * @generated from field: int32 available = 1; + */ + available = 0; + + /** + * @generated from field: int32 total = 2; + */ + total = 0; + + /** + * @generated from field: repeated string uris = 3; + */ + uris: string[] = []; + + /** + * @generated from field: int64 observed_generation = 4; + */ + observedGeneration = protoInt64.zero; + + /** + * @generated from field: int32 replicas = 5; + */ + replicas = 0; + + /** + * @generated from field: int32 updated_replicas = 6; + */ + updatedReplicas = 0; + + /** + * @generated from field: int32 ready_replicas = 7; + */ + readyReplicas = 0; + + /** + * @generated from field: int32 available_replicas = 8; + */ + availableReplicas = 0; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.provider.lease.v1.LeaseServiceStatus'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'available', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, + { no: 2, name: 'total', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, + { + no: 3, + name: 'uris', + kind: 'scalar', + T: 9 /* ScalarType.STRING */, + repeated: true, + }, + { + no: 4, + name: 'observed_generation', + kind: 'scalar', + T: 3 /* ScalarType.INT64 */, + }, + { no: 5, name: 'replicas', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, + { + no: 6, + name: 'updated_replicas', + kind: 'scalar', + T: 5 /* ScalarType.INT32 */, + }, + { + no: 7, + name: 'ready_replicas', + kind: 'scalar', + T: 5 /* ScalarType.INT32 */, + }, + { + no: 8, + name: 'available_replicas', + kind: 'scalar', + T: 5 /* ScalarType.INT32 */, + }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): LeaseServiceStatus { + return new LeaseServiceStatus().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): LeaseServiceStatus { + return new LeaseServiceStatus().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): LeaseServiceStatus { + return new LeaseServiceStatus().fromJsonString(jsonString, options); + } + + static equals( + a: LeaseServiceStatus | PlainMessage | undefined, + b: LeaseServiceStatus | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(LeaseServiceStatus, a, b); + } +} + +/** + * LeaseIPStatus + * + * @generated from message akash.provider.lease.v1.LeaseIPStatus + */ +export class LeaseIPStatus extends Message { + /** + * @generated from field: uint32 port = 1; + */ + port = 0; + + /** + * @generated from field: uint32 external_port = 2; + */ + externalPort = 0; + + /** + * @generated from field: string protocol = 3; + */ + protocol = ''; + + /** + * @generated from field: string ip = 4; + */ + ip = ''; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.provider.lease.v1.LeaseIPStatus'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'port', kind: 'scalar', T: 13 /* ScalarType.UINT32 */ }, + { + no: 2, + name: 'external_port', + kind: 'scalar', + T: 13 /* ScalarType.UINT32 */, + }, + { no: 3, name: 'protocol', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 4, name: 'ip', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): LeaseIPStatus { + return new LeaseIPStatus().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): LeaseIPStatus { + return new LeaseIPStatus().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): LeaseIPStatus { + return new LeaseIPStatus().fromJsonString(jsonString, options); + } + + static equals( + a: LeaseIPStatus | PlainMessage | undefined, + b: LeaseIPStatus | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(LeaseIPStatus, a, b); + } +} + +/** + * ForwarderPortStatus + * + * @generated from message akash.provider.lease.v1.ForwarderPortStatus + */ +export class ForwarderPortStatus extends Message { + /** + * @generated from field: string host = 1; + */ + host = ''; + + /** + * @generated from field: uint32 port = 2; + */ + port = 0; + + /** + * @generated from field: uint32 external_port = 3; + */ + externalPort = 0; + + /** + * @generated from field: string proto = 4; + */ + proto = ''; + + /** + * @generated from field: string name = 5; + */ + name = ''; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.provider.lease.v1.ForwarderPortStatus'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'host', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 2, name: 'port', kind: 'scalar', T: 13 /* ScalarType.UINT32 */ }, + { + no: 3, + name: 'external_port', + kind: 'scalar', + T: 13 /* ScalarType.UINT32 */, + }, + { no: 4, name: 'proto', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 5, name: 'name', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): ForwarderPortStatus { + return new ForwarderPortStatus().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): ForwarderPortStatus { + return new ForwarderPortStatus().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): ForwarderPortStatus { + return new ForwarderPortStatus().fromJsonString(jsonString, options); + } + + static equals( + a: ForwarderPortStatus | PlainMessage | undefined, + b: ForwarderPortStatus | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(ForwarderPortStatus, a, b); + } +} + +/** + * ServiceStatus + * + * @generated from message akash.provider.lease.v1.ServiceStatus + */ +export class ServiceStatus extends Message { + /** + * @generated from field: string name = 1; + */ + name = ''; + + /** + * @generated from field: akash.provider.lease.v1.LeaseServiceStatus status = 2; + */ + status?: LeaseServiceStatus; + + /** + * @generated from field: repeated akash.provider.lease.v1.ForwarderPortStatus ports = 3; + */ + ports: ForwarderPortStatus[] = []; + + /** + * @generated from field: repeated akash.provider.lease.v1.LeaseIPStatus ips = 4; + */ + ips: LeaseIPStatus[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.provider.lease.v1.ServiceStatus'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'name', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 2, name: 'status', kind: 'message', T: LeaseServiceStatus }, + { + no: 3, + name: 'ports', + kind: 'message', + T: ForwarderPortStatus, + repeated: true, + }, + { no: 4, name: 'ips', kind: 'message', T: LeaseIPStatus, repeated: true }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): ServiceStatus { + return new ServiceStatus().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): ServiceStatus { + return new ServiceStatus().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): ServiceStatus { + return new ServiceStatus().fromJsonString(jsonString, options); + } + + static equals( + a: ServiceStatus | PlainMessage | undefined, + b: ServiceStatus | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(ServiceStatus, a, b); + } +} + +/** + * SendManifestRequest is request type for the SendManifest Providers RPC method + * + * @generated from message akash.provider.lease.v1.SendManifestRequest + */ +export class SendManifestRequest extends Message { + /** + * @generated from field: akash.market.v1beta4.LeaseID lease_id = 1; + */ + leaseId?: LeaseID; + + /** + * @generated from field: repeated akash.manifest.v2beta2.Group manifest = 2; + */ + manifest: Group[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.provider.lease.v1.SendManifestRequest'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'lease_id', kind: 'message', T: LeaseID }, + { no: 2, name: 'manifest', kind: 'message', T: Group, repeated: true }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): SendManifestRequest { + return new SendManifestRequest().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): SendManifestRequest { + return new SendManifestRequest().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): SendManifestRequest { + return new SendManifestRequest().fromJsonString(jsonString, options); + } + + static equals( + a: SendManifestRequest | PlainMessage | undefined, + b: SendManifestRequest | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(SendManifestRequest, a, b); + } +} + +/** + * SendManifestResponse is response type for the SendManifest Providers RPC method + * + * @generated from message akash.provider.lease.v1.SendManifestResponse + */ +export class SendManifestResponse extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.provider.lease.v1.SendManifestResponse'; + static readonly fields: FieldList = proto3.util.newFieldList(() => []); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): SendManifestResponse { + return new SendManifestResponse().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): SendManifestResponse { + return new SendManifestResponse().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): SendManifestResponse { + return new SendManifestResponse().fromJsonString(jsonString, options); + } + + static equals( + a: SendManifestResponse | PlainMessage | undefined, + b: SendManifestResponse | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(SendManifestResponse, a, b); + } +} + +/** + * ServiceLogsRequest + * + * @generated from message akash.provider.lease.v1.ServiceLogsRequest + */ +export class ServiceLogsRequest extends Message { + /** + * @generated from field: akash.market.v1beta4.LeaseID lease_id = 1; + */ + leaseId?: LeaseID; + + /** + * @generated from field: repeated string services = 2; + */ + services: string[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.provider.lease.v1.ServiceLogsRequest'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'lease_id', kind: 'message', T: LeaseID }, + { + no: 2, + name: 'services', + kind: 'scalar', + T: 9 /* ScalarType.STRING */, + repeated: true, + }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): ServiceLogsRequest { + return new ServiceLogsRequest().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): ServiceLogsRequest { + return new ServiceLogsRequest().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): ServiceLogsRequest { + return new ServiceLogsRequest().fromJsonString(jsonString, options); + } + + static equals( + a: ServiceLogsRequest | PlainMessage | undefined, + b: ServiceLogsRequest | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(ServiceLogsRequest, a, b); + } +} + +/** + * ServiceLogs + * + * @generated from message akash.provider.lease.v1.ServiceLogs + */ +export class ServiceLogs extends Message { + /** + * @generated from field: string name = 1; + */ + name = ''; + + /** + * @generated from field: bytes logs = 2; + */ + logs = new Uint8Array(0); + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.provider.lease.v1.ServiceLogs'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'name', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, + { no: 2, name: 'logs', kind: 'scalar', T: 12 /* ScalarType.BYTES */ }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): ServiceLogs { + return new ServiceLogs().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): ServiceLogs { + return new ServiceLogs().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): ServiceLogs { + return new ServiceLogs().fromJsonString(jsonString, options); + } + + static equals( + a: ServiceLogs | PlainMessage | undefined, + b: ServiceLogs | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(ServiceLogs, a, b); + } +} + +/** + * ServiceLogsResponse + * + * @generated from message akash.provider.lease.v1.ServiceLogsResponse + */ +export class ServiceLogsResponse extends Message { + /** + * @generated from field: repeated akash.provider.lease.v1.ServiceLogs services = 1; + */ + services: ServiceLogs[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.provider.lease.v1.ServiceLogsResponse'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { + no: 1, + name: 'services', + kind: 'message', + T: ServiceLogs, + repeated: true, + }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): ServiceLogsResponse { + return new ServiceLogsResponse().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): ServiceLogsResponse { + return new ServiceLogsResponse().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): ServiceLogsResponse { + return new ServiceLogsResponse().fromJsonString(jsonString, options); + } + + static equals( + a: ServiceLogsResponse | PlainMessage | undefined, + b: ServiceLogsResponse | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(ServiceLogsResponse, a, b); + } +} + +/** + * ShellRequest + * + * @generated from message akash.provider.lease.v1.ShellRequest + */ +export class ShellRequest extends Message { + /** + * @generated from field: akash.market.v1beta4.LeaseID lease_id = 1; + */ + leaseId?: LeaseID; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.provider.lease.v1.ShellRequest'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'lease_id', kind: 'message', T: LeaseID }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): ShellRequest { + return new ShellRequest().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): ShellRequest { + return new ShellRequest().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): ShellRequest { + return new ShellRequest().fromJsonString(jsonString, options); + } + + static equals( + a: ShellRequest | PlainMessage | undefined, + b: ShellRequest | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(ShellRequest, a, b); + } +} + +/** + * ServiceStatusRequest + * + * @generated from message akash.provider.lease.v1.ServiceStatusRequest + */ +export class ServiceStatusRequest extends Message { + /** + * @generated from field: akash.market.v1beta4.LeaseID lease_id = 1; + */ + leaseId?: LeaseID; + + /** + * @generated from field: repeated string services = 2; + */ + services: string[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.provider.lease.v1.ServiceStatusRequest'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'lease_id', kind: 'message', T: LeaseID }, + { + no: 2, + name: 'services', + kind: 'scalar', + T: 9 /* ScalarType.STRING */, + repeated: true, + }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): ServiceStatusRequest { + return new ServiceStatusRequest().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): ServiceStatusRequest { + return new ServiceStatusRequest().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): ServiceStatusRequest { + return new ServiceStatusRequest().fromJsonString(jsonString, options); + } + + static equals( + a: ServiceStatusRequest | PlainMessage | undefined, + b: ServiceStatusRequest | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(ServiceStatusRequest, a, b); + } +} + +/** + * ServiceStatusResponse + * + * @generated from message akash.provider.lease.v1.ServiceStatusResponse + */ +export class ServiceStatusResponse extends Message { + /** + * @generated from field: repeated akash.provider.lease.v1.ServiceStatus services = 1; + */ + services: ServiceStatus[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.provider.lease.v1.ServiceStatusResponse'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { + no: 1, + name: 'services', + kind: 'message', + T: ServiceStatus, + repeated: true, + }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): ServiceStatusResponse { + return new ServiceStatusResponse().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): ServiceStatusResponse { + return new ServiceStatusResponse().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): ServiceStatusResponse { + return new ServiceStatusResponse().fromJsonString(jsonString, options); + } + + static equals( + a: ServiceStatusResponse | PlainMessage | undefined, + b: ServiceStatusResponse | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(ServiceStatusResponse, a, b); + } +} diff --git a/ts/src/generated/connect-es/akash/provider/v1/service_connect.ts b/ts/src/generated/connect-es/akash/provider/v1/service_connect.ts new file mode 100644 index 00000000..dfca73e2 --- /dev/null +++ b/ts/src/generated/connect-es/akash/provider/v1/service_connect.ts @@ -0,0 +1,44 @@ +// @generated by protoc-gen-connect-es v1.4.0 with parameter "target=ts" +// @generated from file akash/provider/v1/service.proto (package akash.provider.v1, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import { Empty, MethodKind } from '@bufbuild/protobuf'; +import { Status } from './status_pb.js'; + +/** + * ProviderRPC defines the RPC server for provider + * + * @generated from service akash.provider.v1.ProviderRPC + */ +export const ProviderRPC = { + typeName: 'akash.provider.v1.ProviderRPC', + methods: { + /** + * GetStatus defines a method to query provider state + * buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE + * buf:lint:ignore RPC_RESPONSE_STANDARD_NAME + * + * @generated from rpc akash.provider.v1.ProviderRPC.GetStatus + */ + getStatus: { + name: 'GetStatus', + I: Empty, + O: Status, + kind: MethodKind.Unary, + }, + /** + * Status defines a method to stream provider state + * buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE + * buf:lint:ignore RPC_RESPONSE_STANDARD_NAME + * + * @generated from rpc akash.provider.v1.ProviderRPC.StreamStatus + */ + streamStatus: { + name: 'StreamStatus', + I: Empty, + O: Status, + kind: MethodKind.ServerStreaming, + }, + }, +} as const; diff --git a/ts/src/generated/connect-es/akash/provider/v1/status_pb.ts b/ts/src/generated/connect-es/akash/provider/v1/status_pb.ts new file mode 100644 index 00000000..e3457f25 --- /dev/null +++ b/ts/src/generated/connect-es/akash/provider/v1/status_pb.ts @@ -0,0 +1,576 @@ +// @generated by protoc-gen-es v1.9.0 with parameter "target=ts" +// @generated from file akash/provider/v1/status.proto (package akash.provider.v1, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { + BinaryReadOptions, + FieldList, + JsonReadOptions, + JsonValue, + PartialMessage, + PlainMessage, +} from '@bufbuild/protobuf'; +import { Message, proto3, Timestamp } from '@bufbuild/protobuf'; +import { Quantity } from '../../../k8s.io/apimachinery/pkg/api/resource/generated_pb.js'; +import { Cluster } from '../../inventory/v1/cluster_pb.js'; + +/** + * ResourceMetrics + * + * @generated from message akash.provider.v1.ResourcesMetric + */ +export class ResourcesMetric extends Message { + /** + * @generated from field: k8s.io.apimachinery.pkg.api.resource.Quantity cpu = 1; + */ + cpu?: Quantity; + + /** + * @generated from field: k8s.io.apimachinery.pkg.api.resource.Quantity memory = 2; + */ + memory?: Quantity; + + /** + * @generated from field: k8s.io.apimachinery.pkg.api.resource.Quantity gpu = 3; + */ + gpu?: Quantity; + + /** + * @generated from field: k8s.io.apimachinery.pkg.api.resource.Quantity ephemeral_storage = 4; + */ + ephemeralStorage?: Quantity; + + /** + * @generated from field: map storage = 5; + */ + storage: { [key: string]: Quantity } = {}; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.provider.v1.ResourcesMetric'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'cpu', kind: 'message', T: Quantity }, + { no: 2, name: 'memory', kind: 'message', T: Quantity }, + { no: 3, name: 'gpu', kind: 'message', T: Quantity }, + { no: 4, name: 'ephemeral_storage', kind: 'message', T: Quantity }, + { + no: 5, + name: 'storage', + kind: 'map', + K: 9 /* ScalarType.STRING */, + V: { kind: 'message', T: Quantity }, + }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): ResourcesMetric { + return new ResourcesMetric().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): ResourcesMetric { + return new ResourcesMetric().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): ResourcesMetric { + return new ResourcesMetric().fromJsonString(jsonString, options); + } + + static equals( + a: ResourcesMetric | PlainMessage | undefined, + b: ResourcesMetric | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(ResourcesMetric, a, b); + } +} + +/** + * Leases + * + * @generated from message akash.provider.v1.Leases + */ +export class Leases extends Message { + /** + * @generated from field: uint32 active = 1; + */ + active = 0; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.provider.v1.Leases'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'active', kind: 'scalar', T: 13 /* ScalarType.UINT32 */ }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): Leases { + return new Leases().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): Leases { + return new Leases().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): Leases { + return new Leases().fromJsonString(jsonString, options); + } + + static equals( + a: Leases | PlainMessage | undefined, + b: Leases | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(Leases, a, b); + } +} + +/** + * ReservationsMetric + * + * @generated from message akash.provider.v1.ReservationsMetric + */ +export class ReservationsMetric extends Message { + /** + * @generated from field: uint32 count = 1; + */ + count = 0; + + /** + * @generated from field: akash.provider.v1.ResourcesMetric resources = 2; + */ + resources?: ResourcesMetric; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.provider.v1.ReservationsMetric'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'count', kind: 'scalar', T: 13 /* ScalarType.UINT32 */ }, + { no: 2, name: 'resources', kind: 'message', T: ResourcesMetric }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): ReservationsMetric { + return new ReservationsMetric().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): ReservationsMetric { + return new ReservationsMetric().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): ReservationsMetric { + return new ReservationsMetric().fromJsonString(jsonString, options); + } + + static equals( + a: ReservationsMetric | PlainMessage | undefined, + b: ReservationsMetric | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(ReservationsMetric, a, b); + } +} + +/** + * Reservations + * + * @generated from message akash.provider.v1.Reservations + */ +export class Reservations extends Message { + /** + * @generated from field: akash.provider.v1.ReservationsMetric pending = 1; + */ + pending?: ReservationsMetric; + + /** + * @generated from field: akash.provider.v1.ReservationsMetric active = 2; + */ + active?: ReservationsMetric; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.provider.v1.Reservations'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'pending', kind: 'message', T: ReservationsMetric }, + { no: 2, name: 'active', kind: 'message', T: ReservationsMetric }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): Reservations { + return new Reservations().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): Reservations { + return new Reservations().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): Reservations { + return new Reservations().fromJsonString(jsonString, options); + } + + static equals( + a: Reservations | PlainMessage | undefined, + b: Reservations | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(Reservations, a, b); + } +} + +/** + * Inventory + * + * @generated from message akash.provider.v1.Inventory + */ +export class Inventory extends Message { + /** + * @generated from field: akash.inventory.v1.Cluster cluster = 1; + */ + cluster?: Cluster; + + /** + * @generated from field: akash.provider.v1.Reservations reservations = 2; + */ + reservations?: Reservations; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.provider.v1.Inventory'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'cluster', kind: 'message', T: Cluster }, + { no: 2, name: 'reservations', kind: 'message', T: Reservations }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): Inventory { + return new Inventory().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): Inventory { + return new Inventory().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): Inventory { + return new Inventory().fromJsonString(jsonString, options); + } + + static equals( + a: Inventory | PlainMessage | undefined, + b: Inventory | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(Inventory, a, b); + } +} + +/** + * ClusterStatus + * + * @generated from message akash.provider.v1.ClusterStatus + */ +export class ClusterStatus extends Message { + /** + * @generated from field: akash.provider.v1.Leases leases = 1; + */ + leases?: Leases; + + /** + * @generated from field: akash.provider.v1.Inventory inventory = 2; + */ + inventory?: Inventory; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.provider.v1.ClusterStatus'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'leases', kind: 'message', T: Leases }, + { no: 2, name: 'inventory', kind: 'message', T: Inventory }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): ClusterStatus { + return new ClusterStatus().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): ClusterStatus { + return new ClusterStatus().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): ClusterStatus { + return new ClusterStatus().fromJsonString(jsonString, options); + } + + static equals( + a: ClusterStatus | PlainMessage | undefined, + b: ClusterStatus | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(ClusterStatus, a, b); + } +} + +/** + * BidEngineStatus + * + * @generated from message akash.provider.v1.BidEngineStatus + */ +export class BidEngineStatus extends Message { + /** + * @generated from field: uint32 orders = 1; + */ + orders = 0; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.provider.v1.BidEngineStatus'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: 'orders', kind: 'scalar', T: 13 /* ScalarType.UINT32 */ }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): BidEngineStatus { + return new BidEngineStatus().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): BidEngineStatus { + return new BidEngineStatus().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): BidEngineStatus { + return new BidEngineStatus().fromJsonString(jsonString, options); + } + + static equals( + a: BidEngineStatus | PlainMessage | undefined, + b: BidEngineStatus | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(BidEngineStatus, a, b); + } +} + +/** + * ManifestStatus + * + * @generated from message akash.provider.v1.ManifestStatus + */ +export class ManifestStatus extends Message { + /** + * @generated from field: uint32 deployments = 1; + */ + deployments = 0; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.provider.v1.ManifestStatus'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { + no: 1, + name: 'deployments', + kind: 'scalar', + T: 13 /* ScalarType.UINT32 */, + }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): ManifestStatus { + return new ManifestStatus().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): ManifestStatus { + return new ManifestStatus().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): ManifestStatus { + return new ManifestStatus().fromJsonString(jsonString, options); + } + + static equals( + a: ManifestStatus | PlainMessage | undefined, + b: ManifestStatus | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(ManifestStatus, a, b); + } +} + +/** + * Status + * + * @generated from message akash.provider.v1.Status + */ +export class Status extends Message { + /** + * @generated from field: repeated string errors = 1; + */ + errors: string[] = []; + + /** + * @generated from field: akash.provider.v1.ClusterStatus cluster = 2; + */ + cluster?: ClusterStatus; + + /** + * @generated from field: akash.provider.v1.BidEngineStatus bid_engine = 3; + */ + bidEngine?: BidEngineStatus; + + /** + * @generated from field: akash.provider.v1.ManifestStatus manifest = 4; + */ + manifest?: ManifestStatus; + + /** + * @generated from field: repeated string public_hostnames = 5; + */ + publicHostnames: string[] = []; + + /** + * @generated from field: google.protobuf.Timestamp timestamp = 6; + */ + timestamp?: Timestamp; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = 'akash.provider.v1.Status'; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { + no: 1, + name: 'errors', + kind: 'scalar', + T: 9 /* ScalarType.STRING */, + repeated: true, + }, + { no: 2, name: 'cluster', kind: 'message', T: ClusterStatus }, + { no: 3, name: 'bid_engine', kind: 'message', T: BidEngineStatus }, + { no: 4, name: 'manifest', kind: 'message', T: ManifestStatus }, + { + no: 5, + name: 'public_hostnames', + kind: 'scalar', + T: 9 /* ScalarType.STRING */, + repeated: true, + }, + { no: 6, name: 'timestamp', kind: 'message', T: Timestamp }, + ]); + + static fromBinary( + bytes: Uint8Array, + options?: Partial, + ): Status { + return new Status().fromBinary(bytes, options); + } + + static fromJson( + jsonValue: JsonValue, + options?: Partial, + ): Status { + return new Status().fromJson(jsonValue, options); + } + + static fromJsonString( + jsonString: string, + options?: Partial, + ): Status { + return new Status().fromJsonString(jsonString, options); + } + + static equals( + a: Status | PlainMessage | undefined, + b: Status | PlainMessage | undefined, + ): boolean { + return proto3.util.equals(Status, a, b); + } +} diff --git a/ts/src/generated/cosmos/base/v1beta1/coin.ts b/ts/src/generated/cosmos/base/v1beta1/coin.ts deleted file mode 100644 index 6cfccce8..00000000 --- a/ts/src/generated/cosmos/base/v1beta1/coin.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '../../../../patch/cosmos/base/v1beta1/coin'; diff --git a/ts/src/generated/akash/audit/v1beta1/audit.ts b/ts/src/generated/ts-proto/akash/audit/v1beta1/audit.ts similarity index 100% rename from ts/src/generated/akash/audit/v1beta1/audit.ts rename to ts/src/generated/ts-proto/akash/audit/v1beta1/audit.ts diff --git a/ts/src/generated/akash/audit/v1beta2/audit.ts b/ts/src/generated/ts-proto/akash/audit/v1beta2/audit.ts similarity index 100% rename from ts/src/generated/akash/audit/v1beta2/audit.ts rename to ts/src/generated/ts-proto/akash/audit/v1beta2/audit.ts diff --git a/ts/src/generated/akash/audit/v1beta2/genesis.ts b/ts/src/generated/ts-proto/akash/audit/v1beta2/genesis.ts similarity index 100% rename from ts/src/generated/akash/audit/v1beta2/genesis.ts rename to ts/src/generated/ts-proto/akash/audit/v1beta2/genesis.ts diff --git a/ts/src/generated/akash/audit/v1beta2/query.ts b/ts/src/generated/ts-proto/akash/audit/v1beta2/query.ts similarity index 100% rename from ts/src/generated/akash/audit/v1beta2/query.ts rename to ts/src/generated/ts-proto/akash/audit/v1beta2/query.ts diff --git a/ts/src/generated/akash/audit/v1beta3/audit.ts b/ts/src/generated/ts-proto/akash/audit/v1beta3/audit.ts similarity index 100% rename from ts/src/generated/akash/audit/v1beta3/audit.ts rename to ts/src/generated/ts-proto/akash/audit/v1beta3/audit.ts diff --git a/ts/src/generated/akash/audit/v1beta3/genesis.ts b/ts/src/generated/ts-proto/akash/audit/v1beta3/genesis.ts similarity index 100% rename from ts/src/generated/akash/audit/v1beta3/genesis.ts rename to ts/src/generated/ts-proto/akash/audit/v1beta3/genesis.ts diff --git a/ts/src/generated/akash/audit/v1beta3/query.ts b/ts/src/generated/ts-proto/akash/audit/v1beta3/query.ts similarity index 100% rename from ts/src/generated/akash/audit/v1beta3/query.ts rename to ts/src/generated/ts-proto/akash/audit/v1beta3/query.ts diff --git a/ts/src/generated/akash/base/v1beta1/attribute.ts b/ts/src/generated/ts-proto/akash/base/v1beta1/attribute.ts similarity index 100% rename from ts/src/generated/akash/base/v1beta1/attribute.ts rename to ts/src/generated/ts-proto/akash/base/v1beta1/attribute.ts diff --git a/ts/src/generated/akash/base/v1beta1/endpoint.ts b/ts/src/generated/ts-proto/akash/base/v1beta1/endpoint.ts similarity index 100% rename from ts/src/generated/akash/base/v1beta1/endpoint.ts rename to ts/src/generated/ts-proto/akash/base/v1beta1/endpoint.ts diff --git a/ts/src/generated/akash/base/v1beta1/resource.ts b/ts/src/generated/ts-proto/akash/base/v1beta1/resource.ts similarity index 100% rename from ts/src/generated/akash/base/v1beta1/resource.ts rename to ts/src/generated/ts-proto/akash/base/v1beta1/resource.ts diff --git a/ts/src/generated/akash/base/v1beta1/resourcevalue.ts b/ts/src/generated/ts-proto/akash/base/v1beta1/resourcevalue.ts similarity index 100% rename from ts/src/generated/akash/base/v1beta1/resourcevalue.ts rename to ts/src/generated/ts-proto/akash/base/v1beta1/resourcevalue.ts diff --git a/ts/src/generated/akash/base/v1beta2/attribute.ts b/ts/src/generated/ts-proto/akash/base/v1beta2/attribute.ts similarity index 100% rename from ts/src/generated/akash/base/v1beta2/attribute.ts rename to ts/src/generated/ts-proto/akash/base/v1beta2/attribute.ts diff --git a/ts/src/generated/akash/base/v1beta2/endpoint.ts b/ts/src/generated/ts-proto/akash/base/v1beta2/endpoint.ts similarity index 100% rename from ts/src/generated/akash/base/v1beta2/endpoint.ts rename to ts/src/generated/ts-proto/akash/base/v1beta2/endpoint.ts diff --git a/ts/src/generated/akash/base/v1beta2/resource.ts b/ts/src/generated/ts-proto/akash/base/v1beta2/resource.ts similarity index 100% rename from ts/src/generated/akash/base/v1beta2/resource.ts rename to ts/src/generated/ts-proto/akash/base/v1beta2/resource.ts diff --git a/ts/src/generated/akash/base/v1beta2/resourceunits.ts b/ts/src/generated/ts-proto/akash/base/v1beta2/resourceunits.ts similarity index 100% rename from ts/src/generated/akash/base/v1beta2/resourceunits.ts rename to ts/src/generated/ts-proto/akash/base/v1beta2/resourceunits.ts diff --git a/ts/src/generated/akash/base/v1beta2/resourcevalue.ts b/ts/src/generated/ts-proto/akash/base/v1beta2/resourcevalue.ts similarity index 100% rename from ts/src/generated/akash/base/v1beta2/resourcevalue.ts rename to ts/src/generated/ts-proto/akash/base/v1beta2/resourcevalue.ts diff --git a/ts/src/generated/akash/base/v1beta3/attribute.ts b/ts/src/generated/ts-proto/akash/base/v1beta3/attribute.ts similarity index 100% rename from ts/src/generated/akash/base/v1beta3/attribute.ts rename to ts/src/generated/ts-proto/akash/base/v1beta3/attribute.ts diff --git a/ts/src/generated/akash/base/v1beta3/cpu.ts b/ts/src/generated/ts-proto/akash/base/v1beta3/cpu.ts similarity index 100% rename from ts/src/generated/akash/base/v1beta3/cpu.ts rename to ts/src/generated/ts-proto/akash/base/v1beta3/cpu.ts diff --git a/ts/src/generated/akash/base/v1beta3/endpoint.ts b/ts/src/generated/ts-proto/akash/base/v1beta3/endpoint.ts similarity index 100% rename from ts/src/generated/akash/base/v1beta3/endpoint.ts rename to ts/src/generated/ts-proto/akash/base/v1beta3/endpoint.ts diff --git a/ts/src/generated/akash/base/v1beta3/gpu.ts b/ts/src/generated/ts-proto/akash/base/v1beta3/gpu.ts similarity index 100% rename from ts/src/generated/akash/base/v1beta3/gpu.ts rename to ts/src/generated/ts-proto/akash/base/v1beta3/gpu.ts diff --git a/ts/src/generated/akash/base/v1beta3/memory.ts b/ts/src/generated/ts-proto/akash/base/v1beta3/memory.ts similarity index 100% rename from ts/src/generated/akash/base/v1beta3/memory.ts rename to ts/src/generated/ts-proto/akash/base/v1beta3/memory.ts diff --git a/ts/src/generated/akash/base/v1beta3/resources.ts b/ts/src/generated/ts-proto/akash/base/v1beta3/resources.ts similarity index 100% rename from ts/src/generated/akash/base/v1beta3/resources.ts rename to ts/src/generated/ts-proto/akash/base/v1beta3/resources.ts diff --git a/ts/src/generated/akash/base/v1beta3/resourcevalue.ts b/ts/src/generated/ts-proto/akash/base/v1beta3/resourcevalue.ts similarity index 100% rename from ts/src/generated/akash/base/v1beta3/resourcevalue.ts rename to ts/src/generated/ts-proto/akash/base/v1beta3/resourcevalue.ts diff --git a/ts/src/generated/akash/base/v1beta3/storage.ts b/ts/src/generated/ts-proto/akash/base/v1beta3/storage.ts similarity index 100% rename from ts/src/generated/akash/base/v1beta3/storage.ts rename to ts/src/generated/ts-proto/akash/base/v1beta3/storage.ts diff --git a/ts/src/generated/akash/cert/v1beta2/cert.ts b/ts/src/generated/ts-proto/akash/cert/v1beta2/cert.ts similarity index 100% rename from ts/src/generated/akash/cert/v1beta2/cert.ts rename to ts/src/generated/ts-proto/akash/cert/v1beta2/cert.ts diff --git a/ts/src/generated/akash/cert/v1beta2/genesis.ts b/ts/src/generated/ts-proto/akash/cert/v1beta2/genesis.ts similarity index 100% rename from ts/src/generated/akash/cert/v1beta2/genesis.ts rename to ts/src/generated/ts-proto/akash/cert/v1beta2/genesis.ts diff --git a/ts/src/generated/akash/cert/v1beta2/query.ts b/ts/src/generated/ts-proto/akash/cert/v1beta2/query.ts similarity index 100% rename from ts/src/generated/akash/cert/v1beta2/query.ts rename to ts/src/generated/ts-proto/akash/cert/v1beta2/query.ts diff --git a/ts/src/generated/akash/cert/v1beta3/cert.ts b/ts/src/generated/ts-proto/akash/cert/v1beta3/cert.ts similarity index 100% rename from ts/src/generated/akash/cert/v1beta3/cert.ts rename to ts/src/generated/ts-proto/akash/cert/v1beta3/cert.ts diff --git a/ts/src/generated/akash/cert/v1beta3/genesis.ts b/ts/src/generated/ts-proto/akash/cert/v1beta3/genesis.ts similarity index 100% rename from ts/src/generated/akash/cert/v1beta3/genesis.ts rename to ts/src/generated/ts-proto/akash/cert/v1beta3/genesis.ts diff --git a/ts/src/generated/akash/cert/v1beta3/query.ts b/ts/src/generated/ts-proto/akash/cert/v1beta3/query.ts similarity index 100% rename from ts/src/generated/akash/cert/v1beta3/query.ts rename to ts/src/generated/ts-proto/akash/cert/v1beta3/query.ts diff --git a/ts/src/generated/akash/deployment/v1beta1/authz.ts b/ts/src/generated/ts-proto/akash/deployment/v1beta1/authz.ts similarity index 100% rename from ts/src/generated/akash/deployment/v1beta1/authz.ts rename to ts/src/generated/ts-proto/akash/deployment/v1beta1/authz.ts diff --git a/ts/src/generated/akash/deployment/v1beta1/deployment.ts b/ts/src/generated/ts-proto/akash/deployment/v1beta1/deployment.ts similarity index 100% rename from ts/src/generated/akash/deployment/v1beta1/deployment.ts rename to ts/src/generated/ts-proto/akash/deployment/v1beta1/deployment.ts diff --git a/ts/src/generated/akash/deployment/v1beta1/genesis.ts b/ts/src/generated/ts-proto/akash/deployment/v1beta1/genesis.ts similarity index 100% rename from ts/src/generated/akash/deployment/v1beta1/genesis.ts rename to ts/src/generated/ts-proto/akash/deployment/v1beta1/genesis.ts diff --git a/ts/src/generated/akash/deployment/v1beta1/group.ts b/ts/src/generated/ts-proto/akash/deployment/v1beta1/group.ts similarity index 100% rename from ts/src/generated/akash/deployment/v1beta1/group.ts rename to ts/src/generated/ts-proto/akash/deployment/v1beta1/group.ts diff --git a/ts/src/generated/akash/deployment/v1beta1/params.ts b/ts/src/generated/ts-proto/akash/deployment/v1beta1/params.ts similarity index 100% rename from ts/src/generated/akash/deployment/v1beta1/params.ts rename to ts/src/generated/ts-proto/akash/deployment/v1beta1/params.ts diff --git a/ts/src/generated/akash/deployment/v1beta1/query.ts b/ts/src/generated/ts-proto/akash/deployment/v1beta1/query.ts similarity index 100% rename from ts/src/generated/akash/deployment/v1beta1/query.ts rename to ts/src/generated/ts-proto/akash/deployment/v1beta1/query.ts diff --git a/ts/src/generated/akash/deployment/v1beta2/authz.ts b/ts/src/generated/ts-proto/akash/deployment/v1beta2/authz.ts similarity index 100% rename from ts/src/generated/akash/deployment/v1beta2/authz.ts rename to ts/src/generated/ts-proto/akash/deployment/v1beta2/authz.ts diff --git a/ts/src/generated/akash/deployment/v1beta2/deployment.ts b/ts/src/generated/ts-proto/akash/deployment/v1beta2/deployment.ts similarity index 100% rename from ts/src/generated/akash/deployment/v1beta2/deployment.ts rename to ts/src/generated/ts-proto/akash/deployment/v1beta2/deployment.ts diff --git a/ts/src/generated/akash/deployment/v1beta2/deploymentmsg.ts b/ts/src/generated/ts-proto/akash/deployment/v1beta2/deploymentmsg.ts similarity index 100% rename from ts/src/generated/akash/deployment/v1beta2/deploymentmsg.ts rename to ts/src/generated/ts-proto/akash/deployment/v1beta2/deploymentmsg.ts diff --git a/ts/src/generated/akash/deployment/v1beta2/genesis.ts b/ts/src/generated/ts-proto/akash/deployment/v1beta2/genesis.ts similarity index 100% rename from ts/src/generated/akash/deployment/v1beta2/genesis.ts rename to ts/src/generated/ts-proto/akash/deployment/v1beta2/genesis.ts diff --git a/ts/src/generated/akash/deployment/v1beta2/group.ts b/ts/src/generated/ts-proto/akash/deployment/v1beta2/group.ts similarity index 100% rename from ts/src/generated/akash/deployment/v1beta2/group.ts rename to ts/src/generated/ts-proto/akash/deployment/v1beta2/group.ts diff --git a/ts/src/generated/akash/deployment/v1beta2/groupid.ts b/ts/src/generated/ts-proto/akash/deployment/v1beta2/groupid.ts similarity index 100% rename from ts/src/generated/akash/deployment/v1beta2/groupid.ts rename to ts/src/generated/ts-proto/akash/deployment/v1beta2/groupid.ts diff --git a/ts/src/generated/akash/deployment/v1beta2/groupmsg.ts b/ts/src/generated/ts-proto/akash/deployment/v1beta2/groupmsg.ts similarity index 100% rename from ts/src/generated/akash/deployment/v1beta2/groupmsg.ts rename to ts/src/generated/ts-proto/akash/deployment/v1beta2/groupmsg.ts diff --git a/ts/src/generated/akash/deployment/v1beta2/groupspec.ts b/ts/src/generated/ts-proto/akash/deployment/v1beta2/groupspec.ts similarity index 100% rename from ts/src/generated/akash/deployment/v1beta2/groupspec.ts rename to ts/src/generated/ts-proto/akash/deployment/v1beta2/groupspec.ts diff --git a/ts/src/generated/akash/deployment/v1beta2/params.ts b/ts/src/generated/ts-proto/akash/deployment/v1beta2/params.ts similarity index 100% rename from ts/src/generated/akash/deployment/v1beta2/params.ts rename to ts/src/generated/ts-proto/akash/deployment/v1beta2/params.ts diff --git a/ts/src/generated/akash/deployment/v1beta2/query.ts b/ts/src/generated/ts-proto/akash/deployment/v1beta2/query.ts similarity index 100% rename from ts/src/generated/akash/deployment/v1beta2/query.ts rename to ts/src/generated/ts-proto/akash/deployment/v1beta2/query.ts diff --git a/ts/src/generated/akash/deployment/v1beta2/resource.ts b/ts/src/generated/ts-proto/akash/deployment/v1beta2/resource.ts similarity index 100% rename from ts/src/generated/akash/deployment/v1beta2/resource.ts rename to ts/src/generated/ts-proto/akash/deployment/v1beta2/resource.ts diff --git a/ts/src/generated/akash/deployment/v1beta2/service.ts b/ts/src/generated/ts-proto/akash/deployment/v1beta2/service.ts similarity index 100% rename from ts/src/generated/akash/deployment/v1beta2/service.ts rename to ts/src/generated/ts-proto/akash/deployment/v1beta2/service.ts diff --git a/ts/src/generated/akash/deployment/v1beta3/authz.ts b/ts/src/generated/ts-proto/akash/deployment/v1beta3/authz.ts similarity index 100% rename from ts/src/generated/akash/deployment/v1beta3/authz.ts rename to ts/src/generated/ts-proto/akash/deployment/v1beta3/authz.ts diff --git a/ts/src/generated/akash/deployment/v1beta3/deployment.ts b/ts/src/generated/ts-proto/akash/deployment/v1beta3/deployment.ts similarity index 100% rename from ts/src/generated/akash/deployment/v1beta3/deployment.ts rename to ts/src/generated/ts-proto/akash/deployment/v1beta3/deployment.ts diff --git a/ts/src/generated/akash/deployment/v1beta3/deploymentmsg.ts b/ts/src/generated/ts-proto/akash/deployment/v1beta3/deploymentmsg.ts similarity index 100% rename from ts/src/generated/akash/deployment/v1beta3/deploymentmsg.ts rename to ts/src/generated/ts-proto/akash/deployment/v1beta3/deploymentmsg.ts diff --git a/ts/src/generated/akash/deployment/v1beta3/genesis.ts b/ts/src/generated/ts-proto/akash/deployment/v1beta3/genesis.ts similarity index 100% rename from ts/src/generated/akash/deployment/v1beta3/genesis.ts rename to ts/src/generated/ts-proto/akash/deployment/v1beta3/genesis.ts diff --git a/ts/src/generated/akash/deployment/v1beta3/group.ts b/ts/src/generated/ts-proto/akash/deployment/v1beta3/group.ts similarity index 100% rename from ts/src/generated/akash/deployment/v1beta3/group.ts rename to ts/src/generated/ts-proto/akash/deployment/v1beta3/group.ts diff --git a/ts/src/generated/akash/deployment/v1beta3/groupid.ts b/ts/src/generated/ts-proto/akash/deployment/v1beta3/groupid.ts similarity index 100% rename from ts/src/generated/akash/deployment/v1beta3/groupid.ts rename to ts/src/generated/ts-proto/akash/deployment/v1beta3/groupid.ts diff --git a/ts/src/generated/akash/deployment/v1beta3/groupmsg.ts b/ts/src/generated/ts-proto/akash/deployment/v1beta3/groupmsg.ts similarity index 100% rename from ts/src/generated/akash/deployment/v1beta3/groupmsg.ts rename to ts/src/generated/ts-proto/akash/deployment/v1beta3/groupmsg.ts diff --git a/ts/src/generated/akash/deployment/v1beta3/groupspec.ts b/ts/src/generated/ts-proto/akash/deployment/v1beta3/groupspec.ts similarity index 100% rename from ts/src/generated/akash/deployment/v1beta3/groupspec.ts rename to ts/src/generated/ts-proto/akash/deployment/v1beta3/groupspec.ts diff --git a/ts/src/generated/akash/deployment/v1beta3/params.ts b/ts/src/generated/ts-proto/akash/deployment/v1beta3/params.ts similarity index 100% rename from ts/src/generated/akash/deployment/v1beta3/params.ts rename to ts/src/generated/ts-proto/akash/deployment/v1beta3/params.ts diff --git a/ts/src/generated/akash/deployment/v1beta3/query.ts b/ts/src/generated/ts-proto/akash/deployment/v1beta3/query.ts similarity index 100% rename from ts/src/generated/akash/deployment/v1beta3/query.ts rename to ts/src/generated/ts-proto/akash/deployment/v1beta3/query.ts diff --git a/ts/src/generated/akash/deployment/v1beta3/resourceunit.ts b/ts/src/generated/ts-proto/akash/deployment/v1beta3/resourceunit.ts similarity index 100% rename from ts/src/generated/akash/deployment/v1beta3/resourceunit.ts rename to ts/src/generated/ts-proto/akash/deployment/v1beta3/resourceunit.ts diff --git a/ts/src/generated/akash/deployment/v1beta3/service.ts b/ts/src/generated/ts-proto/akash/deployment/v1beta3/service.ts similarity index 100% rename from ts/src/generated/akash/deployment/v1beta3/service.ts rename to ts/src/generated/ts-proto/akash/deployment/v1beta3/service.ts diff --git a/ts/src/generated/akash/discovery/v1/akash.ts b/ts/src/generated/ts-proto/akash/discovery/v1/akash.ts similarity index 100% rename from ts/src/generated/akash/discovery/v1/akash.ts rename to ts/src/generated/ts-proto/akash/discovery/v1/akash.ts diff --git a/ts/src/generated/akash/discovery/v1/client_info.ts b/ts/src/generated/ts-proto/akash/discovery/v1/client_info.ts similarity index 100% rename from ts/src/generated/akash/discovery/v1/client_info.ts rename to ts/src/generated/ts-proto/akash/discovery/v1/client_info.ts diff --git a/ts/src/generated/akash/escrow/v1beta1/genesis.ts b/ts/src/generated/ts-proto/akash/escrow/v1beta1/genesis.ts similarity index 100% rename from ts/src/generated/akash/escrow/v1beta1/genesis.ts rename to ts/src/generated/ts-proto/akash/escrow/v1beta1/genesis.ts diff --git a/ts/src/generated/akash/escrow/v1beta1/query.ts b/ts/src/generated/ts-proto/akash/escrow/v1beta1/query.ts similarity index 100% rename from ts/src/generated/akash/escrow/v1beta1/query.ts rename to ts/src/generated/ts-proto/akash/escrow/v1beta1/query.ts diff --git a/ts/src/generated/akash/escrow/v1beta1/types.ts b/ts/src/generated/ts-proto/akash/escrow/v1beta1/types.ts similarity index 100% rename from ts/src/generated/akash/escrow/v1beta1/types.ts rename to ts/src/generated/ts-proto/akash/escrow/v1beta1/types.ts diff --git a/ts/src/generated/akash/escrow/v1beta2/genesis.ts b/ts/src/generated/ts-proto/akash/escrow/v1beta2/genesis.ts similarity index 100% rename from ts/src/generated/akash/escrow/v1beta2/genesis.ts rename to ts/src/generated/ts-proto/akash/escrow/v1beta2/genesis.ts diff --git a/ts/src/generated/akash/escrow/v1beta2/query.ts b/ts/src/generated/ts-proto/akash/escrow/v1beta2/query.ts similarity index 100% rename from ts/src/generated/akash/escrow/v1beta2/query.ts rename to ts/src/generated/ts-proto/akash/escrow/v1beta2/query.ts diff --git a/ts/src/generated/akash/escrow/v1beta2/types.ts b/ts/src/generated/ts-proto/akash/escrow/v1beta2/types.ts similarity index 100% rename from ts/src/generated/akash/escrow/v1beta2/types.ts rename to ts/src/generated/ts-proto/akash/escrow/v1beta2/types.ts diff --git a/ts/src/generated/akash/escrow/v1beta3/genesis.ts b/ts/src/generated/ts-proto/akash/escrow/v1beta3/genesis.ts similarity index 100% rename from ts/src/generated/akash/escrow/v1beta3/genesis.ts rename to ts/src/generated/ts-proto/akash/escrow/v1beta3/genesis.ts diff --git a/ts/src/generated/akash/escrow/v1beta3/query.ts b/ts/src/generated/ts-proto/akash/escrow/v1beta3/query.ts similarity index 100% rename from ts/src/generated/akash/escrow/v1beta3/query.ts rename to ts/src/generated/ts-proto/akash/escrow/v1beta3/query.ts diff --git a/ts/src/generated/akash/escrow/v1beta3/types.ts b/ts/src/generated/ts-proto/akash/escrow/v1beta3/types.ts similarity index 100% rename from ts/src/generated/akash/escrow/v1beta3/types.ts rename to ts/src/generated/ts-proto/akash/escrow/v1beta3/types.ts diff --git a/ts/src/generated/akash/gov/v1beta3/genesis.ts b/ts/src/generated/ts-proto/akash/gov/v1beta3/genesis.ts similarity index 100% rename from ts/src/generated/akash/gov/v1beta3/genesis.ts rename to ts/src/generated/ts-proto/akash/gov/v1beta3/genesis.ts diff --git a/ts/src/generated/akash/gov/v1beta3/params.ts b/ts/src/generated/ts-proto/akash/gov/v1beta3/params.ts similarity index 100% rename from ts/src/generated/akash/gov/v1beta3/params.ts rename to ts/src/generated/ts-proto/akash/gov/v1beta3/params.ts diff --git a/ts/src/generated/akash/inflation/v1beta2/genesis.ts b/ts/src/generated/ts-proto/akash/inflation/v1beta2/genesis.ts similarity index 100% rename from ts/src/generated/akash/inflation/v1beta2/genesis.ts rename to ts/src/generated/ts-proto/akash/inflation/v1beta2/genesis.ts diff --git a/ts/src/generated/akash/inflation/v1beta2/params.ts b/ts/src/generated/ts-proto/akash/inflation/v1beta2/params.ts similarity index 100% rename from ts/src/generated/akash/inflation/v1beta2/params.ts rename to ts/src/generated/ts-proto/akash/inflation/v1beta2/params.ts diff --git a/ts/src/generated/akash/inflation/v1beta3/genesis.ts b/ts/src/generated/ts-proto/akash/inflation/v1beta3/genesis.ts similarity index 100% rename from ts/src/generated/akash/inflation/v1beta3/genesis.ts rename to ts/src/generated/ts-proto/akash/inflation/v1beta3/genesis.ts diff --git a/ts/src/generated/akash/inflation/v1beta3/params.ts b/ts/src/generated/ts-proto/akash/inflation/v1beta3/params.ts similarity index 100% rename from ts/src/generated/akash/inflation/v1beta3/params.ts rename to ts/src/generated/ts-proto/akash/inflation/v1beta3/params.ts diff --git a/ts/src/generated/akash/inventory/v1/cluster.ts b/ts/src/generated/ts-proto/akash/inventory/v1/cluster.ts similarity index 100% rename from ts/src/generated/akash/inventory/v1/cluster.ts rename to ts/src/generated/ts-proto/akash/inventory/v1/cluster.ts diff --git a/ts/src/generated/akash/inventory/v1/cpu.ts b/ts/src/generated/ts-proto/akash/inventory/v1/cpu.ts similarity index 100% rename from ts/src/generated/akash/inventory/v1/cpu.ts rename to ts/src/generated/ts-proto/akash/inventory/v1/cpu.ts diff --git a/ts/src/generated/akash/inventory/v1/gpu.ts b/ts/src/generated/ts-proto/akash/inventory/v1/gpu.ts similarity index 100% rename from ts/src/generated/akash/inventory/v1/gpu.ts rename to ts/src/generated/ts-proto/akash/inventory/v1/gpu.ts diff --git a/ts/src/generated/akash/inventory/v1/memory.ts b/ts/src/generated/ts-proto/akash/inventory/v1/memory.ts similarity index 100% rename from ts/src/generated/akash/inventory/v1/memory.ts rename to ts/src/generated/ts-proto/akash/inventory/v1/memory.ts diff --git a/ts/src/generated/akash/inventory/v1/node.ts b/ts/src/generated/ts-proto/akash/inventory/v1/node.ts similarity index 100% rename from ts/src/generated/akash/inventory/v1/node.ts rename to ts/src/generated/ts-proto/akash/inventory/v1/node.ts diff --git a/ts/src/generated/akash/inventory/v1/resourcepair.ts b/ts/src/generated/ts-proto/akash/inventory/v1/resourcepair.ts similarity index 100% rename from ts/src/generated/akash/inventory/v1/resourcepair.ts rename to ts/src/generated/ts-proto/akash/inventory/v1/resourcepair.ts diff --git a/ts/src/generated/akash/inventory/v1/resources.ts b/ts/src/generated/ts-proto/akash/inventory/v1/resources.ts similarity index 100% rename from ts/src/generated/akash/inventory/v1/resources.ts rename to ts/src/generated/ts-proto/akash/inventory/v1/resources.ts diff --git a/ts/src/generated/akash/inventory/v1/service.ts b/ts/src/generated/ts-proto/akash/inventory/v1/service.ts similarity index 100% rename from ts/src/generated/akash/inventory/v1/service.ts rename to ts/src/generated/ts-proto/akash/inventory/v1/service.ts diff --git a/ts/src/generated/akash/inventory/v1/storage.ts b/ts/src/generated/ts-proto/akash/inventory/v1/storage.ts similarity index 100% rename from ts/src/generated/akash/inventory/v1/storage.ts rename to ts/src/generated/ts-proto/akash/inventory/v1/storage.ts diff --git a/ts/src/generated/akash/manifest/v2beta1/group.ts b/ts/src/generated/ts-proto/akash/manifest/v2beta1/group.ts similarity index 100% rename from ts/src/generated/akash/manifest/v2beta1/group.ts rename to ts/src/generated/ts-proto/akash/manifest/v2beta1/group.ts diff --git a/ts/src/generated/akash/manifest/v2beta1/httpoptions.ts b/ts/src/generated/ts-proto/akash/manifest/v2beta1/httpoptions.ts similarity index 100% rename from ts/src/generated/akash/manifest/v2beta1/httpoptions.ts rename to ts/src/generated/ts-proto/akash/manifest/v2beta1/httpoptions.ts diff --git a/ts/src/generated/akash/manifest/v2beta1/service.ts b/ts/src/generated/ts-proto/akash/manifest/v2beta1/service.ts similarity index 100% rename from ts/src/generated/akash/manifest/v2beta1/service.ts rename to ts/src/generated/ts-proto/akash/manifest/v2beta1/service.ts diff --git a/ts/src/generated/akash/manifest/v2beta1/serviceexpose.ts b/ts/src/generated/ts-proto/akash/manifest/v2beta1/serviceexpose.ts similarity index 100% rename from ts/src/generated/akash/manifest/v2beta1/serviceexpose.ts rename to ts/src/generated/ts-proto/akash/manifest/v2beta1/serviceexpose.ts diff --git a/ts/src/generated/akash/manifest/v2beta2/group.ts b/ts/src/generated/ts-proto/akash/manifest/v2beta2/group.ts similarity index 100% rename from ts/src/generated/akash/manifest/v2beta2/group.ts rename to ts/src/generated/ts-proto/akash/manifest/v2beta2/group.ts diff --git a/ts/src/generated/akash/manifest/v2beta2/httpoptions.ts b/ts/src/generated/ts-proto/akash/manifest/v2beta2/httpoptions.ts similarity index 100% rename from ts/src/generated/akash/manifest/v2beta2/httpoptions.ts rename to ts/src/generated/ts-proto/akash/manifest/v2beta2/httpoptions.ts diff --git a/ts/src/generated/akash/manifest/v2beta2/service.ts b/ts/src/generated/ts-proto/akash/manifest/v2beta2/service.ts similarity index 100% rename from ts/src/generated/akash/manifest/v2beta2/service.ts rename to ts/src/generated/ts-proto/akash/manifest/v2beta2/service.ts diff --git a/ts/src/generated/akash/manifest/v2beta2/serviceexpose.ts b/ts/src/generated/ts-proto/akash/manifest/v2beta2/serviceexpose.ts similarity index 100% rename from ts/src/generated/akash/manifest/v2beta2/serviceexpose.ts rename to ts/src/generated/ts-proto/akash/manifest/v2beta2/serviceexpose.ts diff --git a/ts/src/generated/akash/market/v1beta2/bid.ts b/ts/src/generated/ts-proto/akash/market/v1beta2/bid.ts similarity index 100% rename from ts/src/generated/akash/market/v1beta2/bid.ts rename to ts/src/generated/ts-proto/akash/market/v1beta2/bid.ts diff --git a/ts/src/generated/akash/market/v1beta2/genesis.ts b/ts/src/generated/ts-proto/akash/market/v1beta2/genesis.ts similarity index 100% rename from ts/src/generated/akash/market/v1beta2/genesis.ts rename to ts/src/generated/ts-proto/akash/market/v1beta2/genesis.ts diff --git a/ts/src/generated/akash/market/v1beta2/lease.ts b/ts/src/generated/ts-proto/akash/market/v1beta2/lease.ts similarity index 100% rename from ts/src/generated/akash/market/v1beta2/lease.ts rename to ts/src/generated/ts-proto/akash/market/v1beta2/lease.ts diff --git a/ts/src/generated/akash/market/v1beta2/order.ts b/ts/src/generated/ts-proto/akash/market/v1beta2/order.ts similarity index 100% rename from ts/src/generated/akash/market/v1beta2/order.ts rename to ts/src/generated/ts-proto/akash/market/v1beta2/order.ts diff --git a/ts/src/generated/akash/market/v1beta2/params.ts b/ts/src/generated/ts-proto/akash/market/v1beta2/params.ts similarity index 100% rename from ts/src/generated/akash/market/v1beta2/params.ts rename to ts/src/generated/ts-proto/akash/market/v1beta2/params.ts diff --git a/ts/src/generated/akash/market/v1beta2/query.ts b/ts/src/generated/ts-proto/akash/market/v1beta2/query.ts similarity index 100% rename from ts/src/generated/akash/market/v1beta2/query.ts rename to ts/src/generated/ts-proto/akash/market/v1beta2/query.ts diff --git a/ts/src/generated/akash/market/v1beta2/service.ts b/ts/src/generated/ts-proto/akash/market/v1beta2/service.ts similarity index 100% rename from ts/src/generated/akash/market/v1beta2/service.ts rename to ts/src/generated/ts-proto/akash/market/v1beta2/service.ts diff --git a/ts/src/generated/akash/market/v1beta3/bid.ts b/ts/src/generated/ts-proto/akash/market/v1beta3/bid.ts similarity index 100% rename from ts/src/generated/akash/market/v1beta3/bid.ts rename to ts/src/generated/ts-proto/akash/market/v1beta3/bid.ts diff --git a/ts/src/generated/akash/market/v1beta3/genesis.ts b/ts/src/generated/ts-proto/akash/market/v1beta3/genesis.ts similarity index 100% rename from ts/src/generated/akash/market/v1beta3/genesis.ts rename to ts/src/generated/ts-proto/akash/market/v1beta3/genesis.ts diff --git a/ts/src/generated/akash/market/v1beta3/lease.ts b/ts/src/generated/ts-proto/akash/market/v1beta3/lease.ts similarity index 100% rename from ts/src/generated/akash/market/v1beta3/lease.ts rename to ts/src/generated/ts-proto/akash/market/v1beta3/lease.ts diff --git a/ts/src/generated/akash/market/v1beta3/order.ts b/ts/src/generated/ts-proto/akash/market/v1beta3/order.ts similarity index 100% rename from ts/src/generated/akash/market/v1beta3/order.ts rename to ts/src/generated/ts-proto/akash/market/v1beta3/order.ts diff --git a/ts/src/generated/akash/market/v1beta3/params.ts b/ts/src/generated/ts-proto/akash/market/v1beta3/params.ts similarity index 100% rename from ts/src/generated/akash/market/v1beta3/params.ts rename to ts/src/generated/ts-proto/akash/market/v1beta3/params.ts diff --git a/ts/src/generated/akash/market/v1beta3/query.ts b/ts/src/generated/ts-proto/akash/market/v1beta3/query.ts similarity index 100% rename from ts/src/generated/akash/market/v1beta3/query.ts rename to ts/src/generated/ts-proto/akash/market/v1beta3/query.ts diff --git a/ts/src/generated/akash/market/v1beta3/service.ts b/ts/src/generated/ts-proto/akash/market/v1beta3/service.ts similarity index 100% rename from ts/src/generated/akash/market/v1beta3/service.ts rename to ts/src/generated/ts-proto/akash/market/v1beta3/service.ts diff --git a/ts/src/generated/akash/market/v1beta4/bid.ts b/ts/src/generated/ts-proto/akash/market/v1beta4/bid.ts similarity index 100% rename from ts/src/generated/akash/market/v1beta4/bid.ts rename to ts/src/generated/ts-proto/akash/market/v1beta4/bid.ts diff --git a/ts/src/generated/akash/market/v1beta4/genesis.ts b/ts/src/generated/ts-proto/akash/market/v1beta4/genesis.ts similarity index 100% rename from ts/src/generated/akash/market/v1beta4/genesis.ts rename to ts/src/generated/ts-proto/akash/market/v1beta4/genesis.ts diff --git a/ts/src/generated/akash/market/v1beta4/lease.ts b/ts/src/generated/ts-proto/akash/market/v1beta4/lease.ts similarity index 100% rename from ts/src/generated/akash/market/v1beta4/lease.ts rename to ts/src/generated/ts-proto/akash/market/v1beta4/lease.ts diff --git a/ts/src/generated/akash/market/v1beta4/order.ts b/ts/src/generated/ts-proto/akash/market/v1beta4/order.ts similarity index 100% rename from ts/src/generated/akash/market/v1beta4/order.ts rename to ts/src/generated/ts-proto/akash/market/v1beta4/order.ts diff --git a/ts/src/generated/akash/market/v1beta4/params.ts b/ts/src/generated/ts-proto/akash/market/v1beta4/params.ts similarity index 100% rename from ts/src/generated/akash/market/v1beta4/params.ts rename to ts/src/generated/ts-proto/akash/market/v1beta4/params.ts diff --git a/ts/src/generated/akash/market/v1beta4/query.ts b/ts/src/generated/ts-proto/akash/market/v1beta4/query.ts similarity index 100% rename from ts/src/generated/akash/market/v1beta4/query.ts rename to ts/src/generated/ts-proto/akash/market/v1beta4/query.ts diff --git a/ts/src/generated/akash/market/v1beta4/service.ts b/ts/src/generated/ts-proto/akash/market/v1beta4/service.ts similarity index 100% rename from ts/src/generated/akash/market/v1beta4/service.ts rename to ts/src/generated/ts-proto/akash/market/v1beta4/service.ts diff --git a/ts/src/generated/akash/provider/lease/v1/service.ts b/ts/src/generated/ts-proto/akash/provider/lease/v1/service.ts similarity index 100% rename from ts/src/generated/akash/provider/lease/v1/service.ts rename to ts/src/generated/ts-proto/akash/provider/lease/v1/service.ts diff --git a/ts/src/generated/akash/provider/v1/service.ts b/ts/src/generated/ts-proto/akash/provider/v1/service.ts similarity index 100% rename from ts/src/generated/akash/provider/v1/service.ts rename to ts/src/generated/ts-proto/akash/provider/v1/service.ts diff --git a/ts/src/generated/akash/provider/v1/status.ts b/ts/src/generated/ts-proto/akash/provider/v1/status.ts similarity index 100% rename from ts/src/generated/akash/provider/v1/status.ts rename to ts/src/generated/ts-proto/akash/provider/v1/status.ts diff --git a/ts/src/generated/akash/provider/v1beta1/provider.ts b/ts/src/generated/ts-proto/akash/provider/v1beta1/provider.ts similarity index 100% rename from ts/src/generated/akash/provider/v1beta1/provider.ts rename to ts/src/generated/ts-proto/akash/provider/v1beta1/provider.ts diff --git a/ts/src/generated/akash/provider/v1beta2/genesis.ts b/ts/src/generated/ts-proto/akash/provider/v1beta2/genesis.ts similarity index 100% rename from ts/src/generated/akash/provider/v1beta2/genesis.ts rename to ts/src/generated/ts-proto/akash/provider/v1beta2/genesis.ts diff --git a/ts/src/generated/akash/provider/v1beta2/provider.ts b/ts/src/generated/ts-proto/akash/provider/v1beta2/provider.ts similarity index 100% rename from ts/src/generated/akash/provider/v1beta2/provider.ts rename to ts/src/generated/ts-proto/akash/provider/v1beta2/provider.ts diff --git a/ts/src/generated/akash/provider/v1beta2/query.ts b/ts/src/generated/ts-proto/akash/provider/v1beta2/query.ts similarity index 100% rename from ts/src/generated/akash/provider/v1beta2/query.ts rename to ts/src/generated/ts-proto/akash/provider/v1beta2/query.ts diff --git a/ts/src/generated/akash/provider/v1beta3/genesis.ts b/ts/src/generated/ts-proto/akash/provider/v1beta3/genesis.ts similarity index 100% rename from ts/src/generated/akash/provider/v1beta3/genesis.ts rename to ts/src/generated/ts-proto/akash/provider/v1beta3/genesis.ts diff --git a/ts/src/generated/akash/provider/v1beta3/provider.ts b/ts/src/generated/ts-proto/akash/provider/v1beta3/provider.ts similarity index 100% rename from ts/src/generated/akash/provider/v1beta3/provider.ts rename to ts/src/generated/ts-proto/akash/provider/v1beta3/provider.ts diff --git a/ts/src/generated/akash/provider/v1beta3/query.ts b/ts/src/generated/ts-proto/akash/provider/v1beta3/query.ts similarity index 100% rename from ts/src/generated/akash/provider/v1beta3/query.ts rename to ts/src/generated/ts-proto/akash/provider/v1beta3/query.ts diff --git a/ts/src/generated/akash/staking/v1beta3/genesis.ts b/ts/src/generated/ts-proto/akash/staking/v1beta3/genesis.ts similarity index 100% rename from ts/src/generated/akash/staking/v1beta3/genesis.ts rename to ts/src/generated/ts-proto/akash/staking/v1beta3/genesis.ts diff --git a/ts/src/generated/akash/staking/v1beta3/params.ts b/ts/src/generated/ts-proto/akash/staking/v1beta3/params.ts similarity index 100% rename from ts/src/generated/akash/staking/v1beta3/params.ts rename to ts/src/generated/ts-proto/akash/staking/v1beta3/params.ts diff --git a/ts/src/generated/akash/take/v1beta3/genesis.ts b/ts/src/generated/ts-proto/akash/take/v1beta3/genesis.ts similarity index 100% rename from ts/src/generated/akash/take/v1beta3/genesis.ts rename to ts/src/generated/ts-proto/akash/take/v1beta3/genesis.ts diff --git a/ts/src/generated/akash/take/v1beta3/params.ts b/ts/src/generated/ts-proto/akash/take/v1beta3/params.ts similarity index 100% rename from ts/src/generated/akash/take/v1beta3/params.ts rename to ts/src/generated/ts-proto/akash/take/v1beta3/params.ts diff --git a/ts/src/generated/akash/take/v1beta3/query.ts b/ts/src/generated/ts-proto/akash/take/v1beta3/query.ts similarity index 100% rename from ts/src/generated/akash/take/v1beta3/query.ts rename to ts/src/generated/ts-proto/akash/take/v1beta3/query.ts diff --git a/ts/src/generated/cosmos/base/query/v1beta1/pagination.ts b/ts/src/generated/ts-proto/cosmos/base/query/v1beta1/pagination.ts similarity index 100% rename from ts/src/generated/cosmos/base/query/v1beta1/pagination.ts rename to ts/src/generated/ts-proto/cosmos/base/query/v1beta1/pagination.ts diff --git a/ts/src/generated/cosmos/base/v1beta1/coin.original.ts b/ts/src/generated/ts-proto/cosmos/base/v1beta1/coin.original.ts similarity index 100% rename from ts/src/generated/cosmos/base/v1beta1/coin.original.ts rename to ts/src/generated/ts-proto/cosmos/base/v1beta1/coin.original.ts diff --git a/ts/src/generated/ts-proto/cosmos/base/v1beta1/coin.ts b/ts/src/generated/ts-proto/cosmos/base/v1beta1/coin.ts new file mode 100644 index 00000000..1a64674d --- /dev/null +++ b/ts/src/generated/ts-proto/cosmos/base/v1beta1/coin.ts @@ -0,0 +1 @@ +export * from '../../../../../patch/ts-proto/cosmos/base/v1beta1/coin'; diff --git a/ts/src/generated/cosmos_proto/cosmos.ts b/ts/src/generated/ts-proto/cosmos_proto/cosmos.ts similarity index 100% rename from ts/src/generated/cosmos_proto/cosmos.ts rename to ts/src/generated/ts-proto/cosmos_proto/cosmos.ts diff --git a/ts/src/generated/gogoproto/gogo.ts b/ts/src/generated/ts-proto/gogoproto/gogo.ts similarity index 100% rename from ts/src/generated/gogoproto/gogo.ts rename to ts/src/generated/ts-proto/gogoproto/gogo.ts diff --git a/ts/src/generated/google/api/annotations.ts b/ts/src/generated/ts-proto/google/api/annotations.ts similarity index 100% rename from ts/src/generated/google/api/annotations.ts rename to ts/src/generated/ts-proto/google/api/annotations.ts diff --git a/ts/src/generated/google/api/http.ts b/ts/src/generated/ts-proto/google/api/http.ts similarity index 100% rename from ts/src/generated/google/api/http.ts rename to ts/src/generated/ts-proto/google/api/http.ts diff --git a/ts/src/generated/google/protobuf/descriptor.ts b/ts/src/generated/ts-proto/google/protobuf/descriptor.ts similarity index 100% rename from ts/src/generated/google/protobuf/descriptor.ts rename to ts/src/generated/ts-proto/google/protobuf/descriptor.ts diff --git a/ts/src/generated/google/protobuf/empty.ts b/ts/src/generated/ts-proto/google/protobuf/empty.ts similarity index 100% rename from ts/src/generated/google/protobuf/empty.ts rename to ts/src/generated/ts-proto/google/protobuf/empty.ts diff --git a/ts/src/generated/google/protobuf/timestamp.ts b/ts/src/generated/ts-proto/google/protobuf/timestamp.ts similarity index 100% rename from ts/src/generated/google/protobuf/timestamp.ts rename to ts/src/generated/ts-proto/google/protobuf/timestamp.ts diff --git a/ts/src/generated/index.akash.audit.ts b/ts/src/generated/ts-proto/index.akash.audit.ts similarity index 100% rename from ts/src/generated/index.akash.audit.ts rename to ts/src/generated/ts-proto/index.akash.audit.ts diff --git a/ts/src/generated/index.akash.audit.v1beta1.ts b/ts/src/generated/ts-proto/index.akash.audit.v1beta1.ts similarity index 100% rename from ts/src/generated/index.akash.audit.v1beta1.ts rename to ts/src/generated/ts-proto/index.akash.audit.v1beta1.ts diff --git a/ts/src/generated/index.akash.audit.v1beta2.ts b/ts/src/generated/ts-proto/index.akash.audit.v1beta2.ts similarity index 100% rename from ts/src/generated/index.akash.audit.v1beta2.ts rename to ts/src/generated/ts-proto/index.akash.audit.v1beta2.ts diff --git a/ts/src/generated/index.akash.audit.v1beta3.ts b/ts/src/generated/ts-proto/index.akash.audit.v1beta3.ts similarity index 100% rename from ts/src/generated/index.akash.audit.v1beta3.ts rename to ts/src/generated/ts-proto/index.akash.audit.v1beta3.ts diff --git a/ts/src/generated/index.akash.base.ts b/ts/src/generated/ts-proto/index.akash.base.ts similarity index 100% rename from ts/src/generated/index.akash.base.ts rename to ts/src/generated/ts-proto/index.akash.base.ts diff --git a/ts/src/generated/index.akash.base.v1beta1.ts b/ts/src/generated/ts-proto/index.akash.base.v1beta1.ts similarity index 100% rename from ts/src/generated/index.akash.base.v1beta1.ts rename to ts/src/generated/ts-proto/index.akash.base.v1beta1.ts diff --git a/ts/src/generated/index.akash.base.v1beta2.ts b/ts/src/generated/ts-proto/index.akash.base.v1beta2.ts similarity index 100% rename from ts/src/generated/index.akash.base.v1beta2.ts rename to ts/src/generated/ts-proto/index.akash.base.v1beta2.ts diff --git a/ts/src/generated/index.akash.base.v1beta3.ts b/ts/src/generated/ts-proto/index.akash.base.v1beta3.ts similarity index 100% rename from ts/src/generated/index.akash.base.v1beta3.ts rename to ts/src/generated/ts-proto/index.akash.base.v1beta3.ts diff --git a/ts/src/generated/index.akash.cert.ts b/ts/src/generated/ts-proto/index.akash.cert.ts similarity index 100% rename from ts/src/generated/index.akash.cert.ts rename to ts/src/generated/ts-proto/index.akash.cert.ts diff --git a/ts/src/generated/index.akash.cert.v1beta2.ts b/ts/src/generated/ts-proto/index.akash.cert.v1beta2.ts similarity index 100% rename from ts/src/generated/index.akash.cert.v1beta2.ts rename to ts/src/generated/ts-proto/index.akash.cert.v1beta2.ts diff --git a/ts/src/generated/index.akash.cert.v1beta3.ts b/ts/src/generated/ts-proto/index.akash.cert.v1beta3.ts similarity index 100% rename from ts/src/generated/index.akash.cert.v1beta3.ts rename to ts/src/generated/ts-proto/index.akash.cert.v1beta3.ts diff --git a/ts/src/generated/index.akash.deployment.ts b/ts/src/generated/ts-proto/index.akash.deployment.ts similarity index 100% rename from ts/src/generated/index.akash.deployment.ts rename to ts/src/generated/ts-proto/index.akash.deployment.ts diff --git a/ts/src/generated/index.akash.deployment.v1beta1.ts b/ts/src/generated/ts-proto/index.akash.deployment.v1beta1.ts similarity index 100% rename from ts/src/generated/index.akash.deployment.v1beta1.ts rename to ts/src/generated/ts-proto/index.akash.deployment.v1beta1.ts diff --git a/ts/src/generated/index.akash.deployment.v1beta2.ts b/ts/src/generated/ts-proto/index.akash.deployment.v1beta2.ts similarity index 100% rename from ts/src/generated/index.akash.deployment.v1beta2.ts rename to ts/src/generated/ts-proto/index.akash.deployment.v1beta2.ts diff --git a/ts/src/generated/index.akash.deployment.v1beta3.ts b/ts/src/generated/ts-proto/index.akash.deployment.v1beta3.ts similarity index 100% rename from ts/src/generated/index.akash.deployment.v1beta3.ts rename to ts/src/generated/ts-proto/index.akash.deployment.v1beta3.ts diff --git a/ts/src/generated/index.akash.discovery.ts b/ts/src/generated/ts-proto/index.akash.discovery.ts similarity index 100% rename from ts/src/generated/index.akash.discovery.ts rename to ts/src/generated/ts-proto/index.akash.discovery.ts diff --git a/ts/src/generated/index.akash.discovery.v1.ts b/ts/src/generated/ts-proto/index.akash.discovery.v1.ts similarity index 100% rename from ts/src/generated/index.akash.discovery.v1.ts rename to ts/src/generated/ts-proto/index.akash.discovery.v1.ts diff --git a/ts/src/generated/index.akash.escrow.ts b/ts/src/generated/ts-proto/index.akash.escrow.ts similarity index 100% rename from ts/src/generated/index.akash.escrow.ts rename to ts/src/generated/ts-proto/index.akash.escrow.ts diff --git a/ts/src/generated/index.akash.escrow.v1beta1.ts b/ts/src/generated/ts-proto/index.akash.escrow.v1beta1.ts similarity index 100% rename from ts/src/generated/index.akash.escrow.v1beta1.ts rename to ts/src/generated/ts-proto/index.akash.escrow.v1beta1.ts diff --git a/ts/src/generated/index.akash.escrow.v1beta2.ts b/ts/src/generated/ts-proto/index.akash.escrow.v1beta2.ts similarity index 100% rename from ts/src/generated/index.akash.escrow.v1beta2.ts rename to ts/src/generated/ts-proto/index.akash.escrow.v1beta2.ts diff --git a/ts/src/generated/index.akash.escrow.v1beta3.ts b/ts/src/generated/ts-proto/index.akash.escrow.v1beta3.ts similarity index 100% rename from ts/src/generated/index.akash.escrow.v1beta3.ts rename to ts/src/generated/ts-proto/index.akash.escrow.v1beta3.ts diff --git a/ts/src/generated/index.akash.gov.ts b/ts/src/generated/ts-proto/index.akash.gov.ts similarity index 100% rename from ts/src/generated/index.akash.gov.ts rename to ts/src/generated/ts-proto/index.akash.gov.ts diff --git a/ts/src/generated/index.akash.gov.v1beta3.ts b/ts/src/generated/ts-proto/index.akash.gov.v1beta3.ts similarity index 100% rename from ts/src/generated/index.akash.gov.v1beta3.ts rename to ts/src/generated/ts-proto/index.akash.gov.v1beta3.ts diff --git a/ts/src/generated/index.akash.inflation.ts b/ts/src/generated/ts-proto/index.akash.inflation.ts similarity index 100% rename from ts/src/generated/index.akash.inflation.ts rename to ts/src/generated/ts-proto/index.akash.inflation.ts diff --git a/ts/src/generated/index.akash.inflation.v1beta2.ts b/ts/src/generated/ts-proto/index.akash.inflation.v1beta2.ts similarity index 100% rename from ts/src/generated/index.akash.inflation.v1beta2.ts rename to ts/src/generated/ts-proto/index.akash.inflation.v1beta2.ts diff --git a/ts/src/generated/index.akash.inflation.v1beta3.ts b/ts/src/generated/ts-proto/index.akash.inflation.v1beta3.ts similarity index 100% rename from ts/src/generated/index.akash.inflation.v1beta3.ts rename to ts/src/generated/ts-proto/index.akash.inflation.v1beta3.ts diff --git a/ts/src/generated/index.akash.inventory.ts b/ts/src/generated/ts-proto/index.akash.inventory.ts similarity index 100% rename from ts/src/generated/index.akash.inventory.ts rename to ts/src/generated/ts-proto/index.akash.inventory.ts diff --git a/ts/src/generated/index.akash.inventory.v1.ts b/ts/src/generated/ts-proto/index.akash.inventory.v1.ts similarity index 100% rename from ts/src/generated/index.akash.inventory.v1.ts rename to ts/src/generated/ts-proto/index.akash.inventory.v1.ts diff --git a/ts/src/generated/index.akash.manifest.ts b/ts/src/generated/ts-proto/index.akash.manifest.ts similarity index 100% rename from ts/src/generated/index.akash.manifest.ts rename to ts/src/generated/ts-proto/index.akash.manifest.ts diff --git a/ts/src/generated/index.akash.manifest.v2beta1.ts b/ts/src/generated/ts-proto/index.akash.manifest.v2beta1.ts similarity index 100% rename from ts/src/generated/index.akash.manifest.v2beta1.ts rename to ts/src/generated/ts-proto/index.akash.manifest.v2beta1.ts diff --git a/ts/src/generated/index.akash.manifest.v2beta2.ts b/ts/src/generated/ts-proto/index.akash.manifest.v2beta2.ts similarity index 100% rename from ts/src/generated/index.akash.manifest.v2beta2.ts rename to ts/src/generated/ts-proto/index.akash.manifest.v2beta2.ts diff --git a/ts/src/generated/index.akash.market.ts b/ts/src/generated/ts-proto/index.akash.market.ts similarity index 100% rename from ts/src/generated/index.akash.market.ts rename to ts/src/generated/ts-proto/index.akash.market.ts diff --git a/ts/src/generated/index.akash.market.v1beta2.ts b/ts/src/generated/ts-proto/index.akash.market.v1beta2.ts similarity index 100% rename from ts/src/generated/index.akash.market.v1beta2.ts rename to ts/src/generated/ts-proto/index.akash.market.v1beta2.ts diff --git a/ts/src/generated/index.akash.market.v1beta3.ts b/ts/src/generated/ts-proto/index.akash.market.v1beta3.ts similarity index 100% rename from ts/src/generated/index.akash.market.v1beta3.ts rename to ts/src/generated/ts-proto/index.akash.market.v1beta3.ts diff --git a/ts/src/generated/index.akash.market.v1beta4.ts b/ts/src/generated/ts-proto/index.akash.market.v1beta4.ts similarity index 100% rename from ts/src/generated/index.akash.market.v1beta4.ts rename to ts/src/generated/ts-proto/index.akash.market.v1beta4.ts diff --git a/ts/src/generated/index.akash.provider.lease.ts b/ts/src/generated/ts-proto/index.akash.provider.lease.ts similarity index 100% rename from ts/src/generated/index.akash.provider.lease.ts rename to ts/src/generated/ts-proto/index.akash.provider.lease.ts diff --git a/ts/src/generated/index.akash.provider.lease.v1.ts b/ts/src/generated/ts-proto/index.akash.provider.lease.v1.ts similarity index 100% rename from ts/src/generated/index.akash.provider.lease.v1.ts rename to ts/src/generated/ts-proto/index.akash.provider.lease.v1.ts diff --git a/ts/src/generated/index.akash.provider.ts b/ts/src/generated/ts-proto/index.akash.provider.ts similarity index 100% rename from ts/src/generated/index.akash.provider.ts rename to ts/src/generated/ts-proto/index.akash.provider.ts diff --git a/ts/src/generated/index.akash.provider.v1.ts b/ts/src/generated/ts-proto/index.akash.provider.v1.ts similarity index 100% rename from ts/src/generated/index.akash.provider.v1.ts rename to ts/src/generated/ts-proto/index.akash.provider.v1.ts diff --git a/ts/src/generated/index.akash.provider.v1beta1.ts b/ts/src/generated/ts-proto/index.akash.provider.v1beta1.ts similarity index 100% rename from ts/src/generated/index.akash.provider.v1beta1.ts rename to ts/src/generated/ts-proto/index.akash.provider.v1beta1.ts diff --git a/ts/src/generated/index.akash.provider.v1beta2.ts b/ts/src/generated/ts-proto/index.akash.provider.v1beta2.ts similarity index 100% rename from ts/src/generated/index.akash.provider.v1beta2.ts rename to ts/src/generated/ts-proto/index.akash.provider.v1beta2.ts diff --git a/ts/src/generated/index.akash.provider.v1beta3.ts b/ts/src/generated/ts-proto/index.akash.provider.v1beta3.ts similarity index 100% rename from ts/src/generated/index.akash.provider.v1beta3.ts rename to ts/src/generated/ts-proto/index.akash.provider.v1beta3.ts diff --git a/ts/src/generated/index.akash.staking.ts b/ts/src/generated/ts-proto/index.akash.staking.ts similarity index 100% rename from ts/src/generated/index.akash.staking.ts rename to ts/src/generated/ts-proto/index.akash.staking.ts diff --git a/ts/src/generated/index.akash.staking.v1beta3.ts b/ts/src/generated/ts-proto/index.akash.staking.v1beta3.ts similarity index 100% rename from ts/src/generated/index.akash.staking.v1beta3.ts rename to ts/src/generated/ts-proto/index.akash.staking.v1beta3.ts diff --git a/ts/src/generated/index.akash.take.ts b/ts/src/generated/ts-proto/index.akash.take.ts similarity index 100% rename from ts/src/generated/index.akash.take.ts rename to ts/src/generated/ts-proto/index.akash.take.ts diff --git a/ts/src/generated/index.akash.take.v1beta3.ts b/ts/src/generated/ts-proto/index.akash.take.v1beta3.ts similarity index 100% rename from ts/src/generated/index.akash.take.v1beta3.ts rename to ts/src/generated/ts-proto/index.akash.take.v1beta3.ts diff --git a/ts/src/generated/index.akash.ts b/ts/src/generated/ts-proto/index.akash.ts similarity index 100% rename from ts/src/generated/index.akash.ts rename to ts/src/generated/ts-proto/index.akash.ts diff --git a/ts/src/generated/index.cosmos.base.query.ts b/ts/src/generated/ts-proto/index.cosmos.base.query.ts similarity index 100% rename from ts/src/generated/index.cosmos.base.query.ts rename to ts/src/generated/ts-proto/index.cosmos.base.query.ts diff --git a/ts/src/generated/index.cosmos.base.query.v1beta1.ts b/ts/src/generated/ts-proto/index.cosmos.base.query.v1beta1.ts similarity index 100% rename from ts/src/generated/index.cosmos.base.query.v1beta1.ts rename to ts/src/generated/ts-proto/index.cosmos.base.query.v1beta1.ts diff --git a/ts/src/generated/index.cosmos.base.ts b/ts/src/generated/ts-proto/index.cosmos.base.ts similarity index 100% rename from ts/src/generated/index.cosmos.base.ts rename to ts/src/generated/ts-proto/index.cosmos.base.ts diff --git a/ts/src/generated/index.cosmos.base.v1beta1.ts b/ts/src/generated/ts-proto/index.cosmos.base.v1beta1.ts similarity index 100% rename from ts/src/generated/index.cosmos.base.v1beta1.ts rename to ts/src/generated/ts-proto/index.cosmos.base.v1beta1.ts diff --git a/ts/src/generated/index.cosmos.ts b/ts/src/generated/ts-proto/index.cosmos.ts similarity index 100% rename from ts/src/generated/index.cosmos.ts rename to ts/src/generated/ts-proto/index.cosmos.ts diff --git a/ts/src/generated/index.cosmos_proto.ts b/ts/src/generated/ts-proto/index.cosmos_proto.ts similarity index 100% rename from ts/src/generated/index.cosmos_proto.ts rename to ts/src/generated/ts-proto/index.cosmos_proto.ts diff --git a/ts/src/generated/index.gogoproto.ts b/ts/src/generated/ts-proto/index.gogoproto.ts similarity index 100% rename from ts/src/generated/index.gogoproto.ts rename to ts/src/generated/ts-proto/index.gogoproto.ts diff --git a/ts/src/generated/index.google.api.ts b/ts/src/generated/ts-proto/index.google.api.ts similarity index 100% rename from ts/src/generated/index.google.api.ts rename to ts/src/generated/ts-proto/index.google.api.ts diff --git a/ts/src/generated/index.google.protobuf.ts b/ts/src/generated/ts-proto/index.google.protobuf.ts similarity index 100% rename from ts/src/generated/index.google.protobuf.ts rename to ts/src/generated/ts-proto/index.google.protobuf.ts diff --git a/ts/src/generated/index.google.ts b/ts/src/generated/ts-proto/index.google.ts similarity index 100% rename from ts/src/generated/index.google.ts rename to ts/src/generated/ts-proto/index.google.ts diff --git a/ts/src/generated/index.k8s.io.apimachinery.pkg.api.resource.ts b/ts/src/generated/ts-proto/index.k8s.io.apimachinery.pkg.api.resource.ts similarity index 100% rename from ts/src/generated/index.k8s.io.apimachinery.pkg.api.resource.ts rename to ts/src/generated/ts-proto/index.k8s.io.apimachinery.pkg.api.resource.ts diff --git a/ts/src/generated/index.k8s.io.apimachinery.pkg.api.ts b/ts/src/generated/ts-proto/index.k8s.io.apimachinery.pkg.api.ts similarity index 100% rename from ts/src/generated/index.k8s.io.apimachinery.pkg.api.ts rename to ts/src/generated/ts-proto/index.k8s.io.apimachinery.pkg.api.ts diff --git a/ts/src/generated/index.k8s.io.apimachinery.pkg.ts b/ts/src/generated/ts-proto/index.k8s.io.apimachinery.pkg.ts similarity index 100% rename from ts/src/generated/index.k8s.io.apimachinery.pkg.ts rename to ts/src/generated/ts-proto/index.k8s.io.apimachinery.pkg.ts diff --git a/ts/src/generated/index.k8s.io.apimachinery.ts b/ts/src/generated/ts-proto/index.k8s.io.apimachinery.ts similarity index 100% rename from ts/src/generated/index.k8s.io.apimachinery.ts rename to ts/src/generated/ts-proto/index.k8s.io.apimachinery.ts diff --git a/ts/src/generated/index.k8s.io.ts b/ts/src/generated/ts-proto/index.k8s.io.ts similarity index 100% rename from ts/src/generated/index.k8s.io.ts rename to ts/src/generated/ts-proto/index.k8s.io.ts diff --git a/ts/src/generated/index.k8s.ts b/ts/src/generated/ts-proto/index.k8s.ts similarity index 100% rename from ts/src/generated/index.k8s.ts rename to ts/src/generated/ts-proto/index.k8s.ts diff --git a/ts/src/generated/index.ts b/ts/src/generated/ts-proto/index.ts similarity index 100% rename from ts/src/generated/index.ts rename to ts/src/generated/ts-proto/index.ts diff --git a/ts/src/generated/k8s.io/apimachinery/pkg/api/resource/generated.ts b/ts/src/generated/ts-proto/k8s.io/apimachinery/pkg/api/resource/generated.ts similarity index 100% rename from ts/src/generated/k8s.io/apimachinery/pkg/api/resource/generated.ts rename to ts/src/generated/ts-proto/k8s.io/apimachinery/pkg/api/resource/generated.ts diff --git a/ts/src/generated/typeRegistry.ts b/ts/src/generated/ts-proto/typeRegistry.ts similarity index 100% rename from ts/src/generated/typeRegistry.ts rename to ts/src/generated/ts-proto/typeRegistry.ts diff --git a/ts/src/patch/index.akash.base.v1beta3.ts b/ts/src/patch/index.akash.base.v1beta3.ts deleted file mode 100644 index 7ccc180d..00000000 --- a/ts/src/patch/index.akash.base.v1beta3.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from '../generated/index.akash.base.v1beta3'; -export * from '../generated/akash/base/v1beta3/storage'; -export * from '../generated/akash/base/v1beta3/gpu'; diff --git a/ts/src/patch/index.akash.base.v1beta4.ts b/ts/src/patch/index.akash.base.v1beta4.ts deleted file mode 100644 index 7ccc180d..00000000 --- a/ts/src/patch/index.akash.base.v1beta4.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from '../generated/index.akash.base.v1beta3'; -export * from '../generated/akash/base/v1beta3/storage'; -export * from '../generated/akash/base/v1beta3/gpu'; diff --git a/ts/src/patch/index.akash.deployment.v1beta2.ts b/ts/src/patch/index.akash.deployment.v1beta2.ts deleted file mode 100644 index ae9626bc..00000000 --- a/ts/src/patch/index.akash.deployment.v1beta2.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from '../generated/index.akash.deployment.v1beta2'; -export * from '../generated/akash/deployment/v1beta2/groupmsg'; -export * from '../generated/akash/deployment/v1beta2/deploymentmsg'; diff --git a/ts/src/patch/index.akash.deployment.v1beta3.ts b/ts/src/patch/index.akash.deployment.v1beta3.ts deleted file mode 100644 index da1e4f81..00000000 --- a/ts/src/patch/index.akash.deployment.v1beta3.ts +++ /dev/null @@ -1,4 +0,0 @@ -export * from '../generated/index.akash.deployment.v1beta3'; -export * from '../generated/akash/deployment/v1beta3/groupmsg'; -export * from '../generated/akash/deployment/v1beta3/deploymentmsg'; -export * from '../generated/akash/deployment/v1beta3/authz'; diff --git a/ts/src/patch/cosmos/base/v1beta1/coin.spec.ts b/ts/src/patch/ts-proto/cosmos/base/v1beta1/coin.spec.ts similarity index 100% rename from ts/src/patch/cosmos/base/v1beta1/coin.spec.ts rename to ts/src/patch/ts-proto/cosmos/base/v1beta1/coin.spec.ts diff --git a/ts/src/patch/cosmos/base/v1beta1/coin.ts b/ts/src/patch/ts-proto/cosmos/base/v1beta1/coin.ts similarity index 75% rename from ts/src/patch/cosmos/base/v1beta1/coin.ts rename to ts/src/patch/ts-proto/cosmos/base/v1beta1/coin.ts index e8118bbc..91f0e22b 100644 --- a/ts/src/patch/cosmos/base/v1beta1/coin.ts +++ b/ts/src/patch/ts-proto/cosmos/base/v1beta1/coin.ts @@ -1,8 +1,8 @@ import { Reader } from 'protobufjs/minimal'; import * as minimal from 'protobufjs/minimal'; -import * as coin from '../../../../generated/cosmos/base/v1beta1/coin.original'; -import { DecCoin } from '../../../../generated/cosmos/base/v1beta1/coin.original'; +import * as coin from '../../../../../generated/ts-proto/cosmos/base/v1beta1/coin.original'; +import { DecCoin } from '../../../../../generated/ts-proto/cosmos/base/v1beta1/coin.original'; const originalEncode = coin.DecCoin.encode; @@ -31,4 +31,4 @@ coin.DecCoin.decode = function decode( return message; }; -export * from '../../../../generated/cosmos/base/v1beta1/coin.original'; +export * from '../../../../../generated/ts-proto/cosmos/base/v1beta1/coin.original'; diff --git a/ts/src/patch/ts-proto/index.akash.base.v1beta3.ts b/ts/src/patch/ts-proto/index.akash.base.v1beta3.ts new file mode 100644 index 00000000..b1f32670 --- /dev/null +++ b/ts/src/patch/ts-proto/index.akash.base.v1beta3.ts @@ -0,0 +1,3 @@ +export * from '../../generated/ts-proto/index.akash.base.v1beta3'; +export * from '../../generated/ts-proto/akash/base/v1beta3/storage'; +export * from '../../generated/ts-proto/akash/base/v1beta3/gpu'; diff --git a/ts/src/patch/ts-proto/index.akash.base.v1beta4.ts b/ts/src/patch/ts-proto/index.akash.base.v1beta4.ts new file mode 100644 index 00000000..b1f32670 --- /dev/null +++ b/ts/src/patch/ts-proto/index.akash.base.v1beta4.ts @@ -0,0 +1,3 @@ +export * from '../../generated/ts-proto/index.akash.base.v1beta3'; +export * from '../../generated/ts-proto/akash/base/v1beta3/storage'; +export * from '../../generated/ts-proto/akash/base/v1beta3/gpu'; diff --git a/ts/src/patch/ts-proto/index.akash.deployment.v1beta2.ts b/ts/src/patch/ts-proto/index.akash.deployment.v1beta2.ts new file mode 100644 index 00000000..99924350 --- /dev/null +++ b/ts/src/patch/ts-proto/index.akash.deployment.v1beta2.ts @@ -0,0 +1,3 @@ +export * from '../../generated/ts-proto/index.akash.deployment.v1beta2'; +export * from '../../generated/ts-proto/akash/deployment/v1beta2/groupmsg'; +export * from '../../generated/ts-proto/akash/deployment/v1beta2/deploymentmsg'; diff --git a/ts/src/patch/ts-proto/index.akash.deployment.v1beta3.ts b/ts/src/patch/ts-proto/index.akash.deployment.v1beta3.ts new file mode 100644 index 00000000..d1e477fb --- /dev/null +++ b/ts/src/patch/ts-proto/index.akash.deployment.v1beta3.ts @@ -0,0 +1,4 @@ +export * from '../../generated/ts-proto/index.akash.deployment.v1beta3'; +export * from '../../generated/ts-proto/akash/deployment/v1beta3/groupmsg'; +export * from '../../generated/ts-proto/akash/deployment/v1beta3/deploymentmsg'; +export * from '../../generated/ts-proto/akash/deployment/v1beta3/authz'; diff --git a/ts/static-exports.json b/ts/static-exports.json new file mode 100644 index 00000000..56f9094a --- /dev/null +++ b/ts/static-exports.json @@ -0,0 +1,21 @@ +{ + "package": { + "./": "./dist/index.js", + "./typeRegistry": "./dist/generated/typeRegistry", + "./akash/deployment/v1beta3/query": "./dist/generated/akash/deployment/v1beta3/query.js", + "./akash/provider/v1/es": "./dist/connect-es-exports/index.akash.provider.v1.es.js", + "./akash/inventory/v1/es": "./dist/connect-es-exports/index.akash.inventory.v1.es.js" + }, + "tsconfig": { + "@akashnetwork/akash-api/typeRegistry": ["./dist/generated/typeRegistry"], + "@akashnetwork/akash-api/akash/deployment/v1beta3/query": [ + "./dist/generated/akash/deployment/v1beta3/query" + ], + "@akashnetwork/akash-api/akash/provider/v1/es": [ + "./dist/connect-es-exports/index.akash.provider.v1.es" + ], + "@akashnetwork/akash-api/akash/inventory/v1/es": [ + "./dist/connect-es-exports/index.akash.inventory.v1.es" + ] + } +}