Skip to content

Commit

Permalink
fixtures and lock
Browse files Browse the repository at this point in the history
  • Loading branch information
pyramation committed Oct 3, 2022
1 parent 7325ab6 commit 2b81f9e
Show file tree
Hide file tree
Showing 313 changed files with 13,695 additions and 13,695 deletions.
16 changes: 8 additions & 8 deletions __fixtures__/output1/akash/audit/v1beta2/query.lcd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ export class LCDQueryClient {
}

/* AllProvidersAttributes queries all providers
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME */
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME */
allProvidersAttributes = async (params: QueryAllProvidersAttributesRequest = {
pagination: undefined
}): Promise<QueryProvidersResponseSDKType> => {
Expand All @@ -33,8 +33,8 @@ export class LCDQueryClient {
};

/* ProviderAttributes queries all provider signed attributes
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME */
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME */
providerAttributes = async (params: QueryProviderAttributesRequest): Promise<QueryProvidersResponseSDKType> => {
const options: any = {
params: {}
Expand All @@ -49,16 +49,16 @@ export class LCDQueryClient {
};

/* ProviderAuditorAttributes queries provider signed attributes by specific auditor
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME */
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME */
providerAuditorAttributes = async (params: QueryProviderAuditorRequest): Promise<QueryProvidersResponseSDKType> => {
const endpoint = `akash/audit/v1beta2/audit/attributes/${params.auditor}/${params.owner}`;
return await this.req.get<QueryProvidersResponseSDKType>(endpoint);
};

/* AuditorAttributes queries all providers signed by this auditor
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME */
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME */
auditorAttributes = async (params: QueryAuditorAttributesRequest): Promise<QueryProvidersResponseSDKType> => {
const options: any = {
params: {}
Expand Down
32 changes: 16 additions & 16 deletions __fixtures__/output1/akash/audit/v1beta2/query.rpc.query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,23 @@ import { QueryAllProvidersAttributesRequest, QueryAllProvidersAttributesRequestS
export interface Query {
allProvidersAttributes(request?: QueryAllProvidersAttributesRequest): Promise<QueryProvidersResponse>;
/*AllProvidersAttributes queries all providers
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME*/
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME*/

providerAttributes(request: QueryProviderAttributesRequest): Promise<QueryProvidersResponse>;
/*ProviderAttributes queries all provider signed attributes
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME*/
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME*/

providerAuditorAttributes(request: QueryProviderAuditorRequest): Promise<QueryProvidersResponse>;
/*ProviderAuditorAttributes queries provider signed attributes by specific auditor
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME*/
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME*/

auditorAttributes(request: QueryAuditorAttributesRequest): Promise<QueryProvidersResponse>;
/*AuditorAttributes queries all providers signed by this auditor
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME*/
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME*/

}
export class QueryClientImpl implements Query {
Expand All @@ -36,8 +36,8 @@ export class QueryClientImpl implements Query {
}

/* AllProvidersAttributes queries all providers
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME */
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME */
allProvidersAttributes = async (request: QueryAllProvidersAttributesRequest = {
pagination: undefined
}): Promise<QueryProvidersResponse> => {
Expand All @@ -47,26 +47,26 @@ export class QueryClientImpl implements Query {
};

/* ProviderAttributes queries all provider signed attributes
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME */
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME */
providerAttributes = async (request: QueryProviderAttributesRequest): Promise<QueryProvidersResponse> => {
const data = QueryProviderAttributesRequest.encode(request).finish();
const promise = this.rpc.request("akash.audit.v1beta2.Query", "ProviderAttributes", data);
return promise.then(data => QueryProvidersResponse.decode(new _m0.Reader(data)));
};

/* ProviderAuditorAttributes queries provider signed attributes by specific auditor
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME */
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME */
providerAuditorAttributes = async (request: QueryProviderAuditorRequest): Promise<QueryProvidersResponse> => {
const data = QueryProviderAuditorRequest.encode(request).finish();
const promise = this.rpc.request("akash.audit.v1beta2.Query", "ProviderAuditorAttributes", data);
return promise.then(data => QueryProvidersResponse.decode(new _m0.Reader(data)));
};

/* AuditorAttributes queries all providers signed by this auditor
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME */
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME */
auditorAttributes = async (request: QueryAuditorAttributesRequest): Promise<QueryProvidersResponse> => {
const data = QueryAuditorAttributesRequest.encode(request).finish();
const promise = this.rpc.request("akash.audit.v1beta2.Query", "AuditorAttributes", data);
Expand Down
12 changes: 6 additions & 6 deletions __fixtures__/output1/akash/base/v1beta1/attribute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ export interface AttributeSDKType {

/**
* SignedBy represents validation accounts that tenant expects signatures for provider attributes
* AllOf has precedence i.e. if there is at least one entry AnyOf is ignored regardless to how many
* entries there
* this behaviour to be discussed
* AllOf has precedence i.e. if there is at least one entry AnyOf is ignored regardless to how many
* entries there
* this behaviour to be discussed
*/
export interface SignedBy {
/** all_of all keys in this list must have signed attributes */
Expand All @@ -30,9 +30,9 @@ export interface SignedBy {

/**
* SignedBy represents validation accounts that tenant expects signatures for provider attributes
* AllOf has precedence i.e. if there is at least one entry AnyOf is ignored regardless to how many
* entries there
* this behaviour to be discussed
* AllOf has precedence i.e. if there is at least one entry AnyOf is ignored regardless to how many
* entries there
* this behaviour to be discussed
*/
export interface SignedBySDKType {
/** all_of all keys in this list must have signed attributes */
Expand Down
4 changes: 2 additions & 2 deletions __fixtures__/output1/akash/base/v1beta1/resource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export interface StorageSDKType {

/**
* ResourceUnits describes all available resources types for deployment/node etc
* if field is nil resource is not present in the given data-structure
* if field is nil resource is not present in the given data-structure
*/
export interface ResourceUnits {
cpu?: CPU;
Expand All @@ -54,7 +54,7 @@ export interface ResourceUnits {

/**
* ResourceUnits describes all available resources types for deployment/node etc
* if field is nil resource is not present in the given data-structure
* if field is nil resource is not present in the given data-structure
*/
export interface ResourceUnitsSDKType {
cpu?: CPUSDKType;
Expand Down
12 changes: 6 additions & 6 deletions __fixtures__/output1/akash/base/v1beta2/attribute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ export interface AttributeSDKType {

/**
* SignedBy represents validation accounts that tenant expects signatures for provider attributes
* AllOf has precedence i.e. if there is at least one entry AnyOf is ignored regardless to how many
* entries there
* this behaviour to be discussed
* AllOf has precedence i.e. if there is at least one entry AnyOf is ignored regardless to how many
* entries there
* this behaviour to be discussed
*/
export interface SignedBy {
/** all_of all keys in this list must have signed attributes */
Expand All @@ -30,9 +30,9 @@ export interface SignedBy {

/**
* SignedBy represents validation accounts that tenant expects signatures for provider attributes
* AllOf has precedence i.e. if there is at least one entry AnyOf is ignored regardless to how many
* entries there
* this behaviour to be discussed
* AllOf has precedence i.e. if there is at least one entry AnyOf is ignored regardless to how many
* entries there
* this behaviour to be discussed
*/
export interface SignedBySDKType {
/** all_of all keys in this list must have signed attributes */
Expand Down
4 changes: 2 additions & 2 deletions __fixtures__/output1/akash/base/v1beta2/resourceunits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const protobufPackage = "akash.base.v1beta2";

/**
* ResourceUnits describes all available resources types for deployment/node etc
* if field is nil resource is not present in the given data-structure
* if field is nil resource is not present in the given data-structure
*/
export interface ResourceUnits {
cpu?: CPU;
Expand All @@ -17,7 +17,7 @@ export interface ResourceUnits {

/**
* ResourceUnits describes all available resources types for deployment/node etc
* if field is nil resource is not present in the given data-structure
* if field is nil resource is not present in the given data-structure
*/
export interface ResourceUnitsSDKType {
cpu?: CPUSDKType;
Expand Down
8 changes: 4 additions & 4 deletions __fixtures__/output1/akash/deployment/v1beta1/authz.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,24 @@ export const protobufPackage = "akash.deployment.v1beta1";

/**
* DepositDeploymentAuthorization allows the grantee to deposit up to spend_limit coins from
* the granter's account for a deployment.
* the granter's account for a deployment.
*/
export interface DepositDeploymentAuthorization {
/**
* SpendLimit is the amount the grantee is authorized to spend from the granter's account for
* the purpose of deployment.
* the purpose of deployment.
*/
spendLimit: Coin | undefined;
}

/**
* DepositDeploymentAuthorization allows the grantee to deposit up to spend_limit coins from
* the granter's account for a deployment.
* the granter's account for a deployment.
*/
export interface DepositDeploymentAuthorizationSDKType {
/**
* SpendLimit is the amount the grantee is authorized to spend from the granter's account for
* the purpose of deployment.
* the purpose of deployment.
*/
spend_limit: CoinSDKType | undefined;
}
Expand Down
8 changes: 4 additions & 4 deletions __fixtures__/output1/akash/deployment/v1beta2/authz.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,24 @@ export const protobufPackage = "akash.deployment.v1beta2";

/**
* DepositDeploymentAuthorization allows the grantee to deposit up to spend_limit coins from
* the granter's account for a deployment.
* the granter's account for a deployment.
*/
export interface DepositDeploymentAuthorization {
/**
* SpendLimit is the amount the grantee is authorized to spend from the granter's account for
* the purpose of deployment.
* the purpose of deployment.
*/
spendLimit: Coin;
}

/**
* DepositDeploymentAuthorization allows the grantee to deposit up to spend_limit coins from
* the granter's account for a deployment.
* the granter's account for a deployment.
*/
export interface DepositDeploymentAuthorizationSDKType {
/**
* SpendLimit is the amount the grantee is authorized to spend from the granter's account for
* the purpose of deployment.
* the purpose of deployment.
*/
spend_limit: CoinSDKType;
}
Expand Down
8 changes: 4 additions & 4 deletions __fixtures__/output1/akash/escrow/v1beta1/query.lcd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ export class LCDQueryClient {
}

/* buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
Accounts queries all accounts */
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
Accounts queries all accounts */
accounts = async (params: QueryAccountsRequest): Promise<QueryAccountsResponseSDKType> => {
const options: any = {
params: {}
Expand Down Expand Up @@ -47,8 +47,8 @@ export class LCDQueryClient {
};

/* buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
Payments queries all payments */
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
Payments queries all payments */
payments = async (params: QueryPaymentsRequest): Promise<QueryPaymentsResponseSDKType> => {
const options: any = {
params: {}
Expand Down
16 changes: 8 additions & 8 deletions __fixtures__/output1/akash/escrow/v1beta1/query.rpc.query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ import { QueryAccountsRequest, QueryAccountsRequestSDKType, QueryAccountsRespons
export interface Query {
accounts(request: QueryAccountsRequest): Promise<QueryAccountsResponse>;
/*buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
Accounts queries all accounts*/
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
Accounts queries all accounts*/

payments(request: QueryPaymentsRequest): Promise<QueryPaymentsResponse>;
/*buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
Payments queries all payments*/
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
Payments queries all payments*/

}
export class QueryClientImpl implements Query {
Expand All @@ -26,17 +26,17 @@ export class QueryClientImpl implements Query {
}

/* buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
Accounts queries all accounts */
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
Accounts queries all accounts */
accounts = async (request: QueryAccountsRequest): Promise<QueryAccountsResponse> => {
const data = QueryAccountsRequest.encode(request).finish();
const promise = this.rpc.request("akash.escrow.v1beta1.Query", "Accounts", data);
return promise.then(data => QueryAccountsResponse.decode(new _m0.Reader(data)));
};

/* buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
Payments queries all payments */
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
Payments queries all payments */
payments = async (request: QueryPaymentsRequest): Promise<QueryPaymentsResponse> => {
const data = QueryPaymentsRequest.encode(request).finish();
const promise = this.rpc.request("akash.escrow.v1beta1.Query", "Payments", data);
Expand Down
8 changes: 4 additions & 4 deletions __fixtures__/output1/akash/escrow/v1beta2/query.lcd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ export class LCDQueryClient {
}

/* buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
Accounts queries all accounts */
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
Accounts queries all accounts */
accounts = async (params: QueryAccountsRequest): Promise<QueryAccountsResponseSDKType> => {
const options: any = {
params: {}
Expand Down Expand Up @@ -47,8 +47,8 @@ export class LCDQueryClient {
};

/* buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
Payments queries all payments */
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
Payments queries all payments */
payments = async (params: QueryPaymentsRequest): Promise<QueryPaymentsResponseSDKType> => {
const options: any = {
params: {}
Expand Down
16 changes: 8 additions & 8 deletions __fixtures__/output1/akash/escrow/v1beta2/query.rpc.query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ import { QueryAccountsRequest, QueryAccountsRequestSDKType, QueryAccountsRespons
export interface Query {
accounts(request: QueryAccountsRequest): Promise<QueryAccountsResponse>;
/*buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
Accounts queries all accounts*/
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
Accounts queries all accounts*/

payments(request: QueryPaymentsRequest): Promise<QueryPaymentsResponse>;
/*buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
Payments queries all payments*/
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
Payments queries all payments*/

}
export class QueryClientImpl implements Query {
Expand All @@ -26,17 +26,17 @@ export class QueryClientImpl implements Query {
}

/* buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
Accounts queries all accounts */
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
Accounts queries all accounts */
accounts = async (request: QueryAccountsRequest): Promise<QueryAccountsResponse> => {
const data = QueryAccountsRequest.encode(request).finish();
const promise = this.rpc.request("akash.escrow.v1beta2.Query", "Accounts", data);
return promise.then(data => QueryAccountsResponse.decode(new _m0.Reader(data)));
};

/* buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
Payments queries all payments */
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
Payments queries all payments */
payments = async (request: QueryPaymentsRequest): Promise<QueryPaymentsResponse> => {
const data = QueryPaymentsRequest.encode(request).finish();
const promise = this.rpc.request("akash.escrow.v1beta2.Query", "Payments", data);
Expand Down
Loading

0 comments on commit 2b81f9e

Please sign in to comment.