Skip to content

Commit

Permalink
fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangdv2429 committed Jun 26, 2023
1 parent 9f9ee9b commit 99f0928
Show file tree
Hide file tree
Showing 1,155 changed files with 4,603 additions and 4,598 deletions.
8 changes: 4 additions & 4 deletions __fixtures__/output1/akash/audit/v1beta2/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export interface QueryAuditorAttributesRequestSDKType {
function createBaseQueryProvidersResponse(): QueryProvidersResponse {
return {
providers: [],
pagination: undefined
pagination: PageResponse.fromPartial({})
};
}
export const QueryProvidersResponse = {
Expand Down Expand Up @@ -205,7 +205,7 @@ export const QueryProviderRequest = {
};
function createBaseQueryAllProvidersAttributesRequest(): QueryAllProvidersAttributesRequest {
return {
pagination: undefined
pagination: PageRequest.fromPartial({})
};
}
export const QueryAllProvidersAttributesRequest = {
Expand Down Expand Up @@ -261,7 +261,7 @@ export const QueryAllProvidersAttributesRequest = {
function createBaseQueryProviderAttributesRequest(): QueryProviderAttributesRequest {
return {
owner: "",
pagination: undefined
pagination: PageRequest.fromPartial({})
};
}
export const QueryProviderAttributesRequest = {
Expand Down Expand Up @@ -395,7 +395,7 @@ export const QueryProviderAuditorRequest = {
function createBaseQueryAuditorAttributesRequest(): QueryAuditorAttributesRequest {
return {
auditor: "",
pagination: undefined
pagination: PageRequest.fromPartial({})
};
}
export const QueryAuditorAttributesRequest = {
Expand Down
2 changes: 1 addition & 1 deletion __fixtures__/output1/akash/base/v1beta1/attribute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export const SignedBy = {
};
function createBasePlacementRequirements(): PlacementRequirements {
return {
signedBy: undefined,
signedBy: SignedBy.fromPartial({}),
attributes: []
};
}
Expand Down
6 changes: 3 additions & 3 deletions __fixtures__/output1/akash/base/v1beta1/resource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export interface ResourceUnitsSDKType {
}
function createBaseCPU(): CPU {
return {
units: undefined,
units: ResourceValue.fromPartial({}),
attributes: []
};
}
Expand Down Expand Up @@ -131,7 +131,7 @@ export const CPU = {
};
function createBaseMemory(): Memory {
return {
quantity: undefined,
quantity: ResourceValue.fromPartial({}),
attributes: []
};
}
Expand Down Expand Up @@ -206,7 +206,7 @@ export const Memory = {
};
function createBaseStorage(): Storage {
return {
quantity: undefined,
quantity: ResourceValue.fromPartial({}),
attributes: []
};
}
Expand Down
2 changes: 1 addition & 1 deletion __fixtures__/output1/akash/base/v1beta2/attribute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export const SignedBy = {
};
function createBasePlacementRequirements(): PlacementRequirements {
return {
signedBy: undefined,
signedBy: SignedBy.fromPartial({}),
attributes: []
};
}
Expand Down
6 changes: 3 additions & 3 deletions __fixtures__/output1/akash/base/v1beta2/resource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export interface StorageSDKType {
}
function createBaseCPU(): CPU {
return {
units: undefined,
units: ResourceValue.fromPartial({}),
attributes: []
};
}
Expand Down Expand Up @@ -112,7 +112,7 @@ export const CPU = {
};
function createBaseMemory(): Memory {
return {
quantity: undefined,
quantity: ResourceValue.fromPartial({}),
attributes: []
};
}
Expand Down Expand Up @@ -188,7 +188,7 @@ export const Memory = {
function createBaseStorage(): Storage {
return {
name: "",
quantity: undefined,
quantity: ResourceValue.fromPartial({}),
attributes: []
};
}
Expand Down
2 changes: 1 addition & 1 deletion __fixtures__/output1/akash/cert/v1beta2/cert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ export const MsgCreateCertificateResponse = {
};
function createBaseMsgRevokeCertificate(): MsgRevokeCertificate {
return {
id: undefined
id: CertificateID.fromPartial({})
};
}
export const MsgRevokeCertificate = {
Expand Down
2 changes: 1 addition & 1 deletion __fixtures__/output1/akash/cert/v1beta2/genesis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export interface GenesisStateSDKType {
function createBaseGenesisCertificate(): GenesisCertificate {
return {
owner: "",
certificate: undefined
certificate: Certificate.fromPartial({})
};
}
export const GenesisCertificate = {
Expand Down
8 changes: 4 additions & 4 deletions __fixtures__/output1/akash/cert/v1beta2/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export interface QueryCertificatesResponseSDKType {
}
function createBaseCertificateResponse(): CertificateResponse {
return {
certificate: undefined,
certificate: Certificate.fromPartial({}),
serial: ""
};
}
Expand Down Expand Up @@ -102,8 +102,8 @@ export const CertificateResponse = {
};
function createBaseQueryCertificatesRequest(): QueryCertificatesRequest {
return {
filter: undefined,
pagination: undefined
filter: CertificateFilter.fromPartial({}),
pagination: PageRequest.fromPartial({})
};
}
export const QueryCertificatesRequest = {
Expand Down Expand Up @@ -170,7 +170,7 @@ export const QueryCertificatesRequest = {
function createBaseQueryCertificatesResponse(): QueryCertificatesResponse {
return {
certificates: [],
pagination: undefined
pagination: PageResponse.fromPartial({})
};
}
export const QueryCertificatesResponse = {
Expand Down
10 changes: 5 additions & 5 deletions __fixtures__/output1/akash/deployment/v1beta1/deployment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export interface DeploymentFiltersSDKType {
}
function createBaseMsgCreateDeployment(): MsgCreateDeployment {
return {
id: undefined,
id: DeploymentID.fromPartial({}),
groups: [],
version: new Uint8Array(),
deposit: undefined
Expand Down Expand Up @@ -283,7 +283,7 @@ export const MsgCreateDeploymentResponse = {
};
function createBaseMsgDepositDeployment(): MsgDepositDeployment {
return {
id: undefined,
id: DeploymentID.fromPartial({}),
amount: undefined
};
}
Expand Down Expand Up @@ -390,7 +390,7 @@ export const MsgDepositDeploymentResponse = {
};
function createBaseMsgUpdateDeployment(): MsgUpdateDeployment {
return {
id: undefined,
id: DeploymentID.fromPartial({}),
groups: [],
version: new Uint8Array()
};
Expand Down Expand Up @@ -517,7 +517,7 @@ export const MsgUpdateDeploymentResponse = {
};
function createBaseMsgCloseDeployment(): MsgCloseDeployment {
return {
id: undefined
id: DeploymentID.fromPartial({})
};
}
export const MsgCloseDeployment = {
Expand Down Expand Up @@ -679,7 +679,7 @@ export const DeploymentID = {
};
function createBaseDeployment(): Deployment {
return {
deploymentId: undefined,
deploymentId: DeploymentID.fromPartial({}),
state: 0,
version: new Uint8Array(),
createdAt: Long.ZERO
Expand Down
4 changes: 2 additions & 2 deletions __fixtures__/output1/akash/deployment/v1beta1/genesis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export interface GenesisStateSDKType {
}
function createBaseGenesisDeployment(): GenesisDeployment {
return {
deployment: undefined,
deployment: Deployment.fromPartial({}),
groups: []
};
}
Expand Down Expand Up @@ -102,7 +102,7 @@ export const GenesisDeployment = {
function createBaseGenesisState(): GenesisState {
return {
deployments: [],
params: undefined
params: Params.fromPartial({})
};
}
export const GenesisState = {
Expand Down
14 changes: 7 additions & 7 deletions __fixtures__/output1/akash/deployment/v1beta1/group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export interface ResourceSDKType {
}
function createBaseMsgCloseGroup(): MsgCloseGroup {
return {
id: undefined
id: GroupID.fromPartial({})
};
}
export const MsgCloseGroup = {
Expand Down Expand Up @@ -242,7 +242,7 @@ export const MsgCloseGroupResponse = {
};
function createBaseMsgPauseGroup(): MsgPauseGroup {
return {
id: undefined
id: GroupID.fromPartial({})
};
}
export const MsgPauseGroup = {
Expand Down Expand Up @@ -337,7 +337,7 @@ export const MsgPauseGroupResponse = {
};
function createBaseMsgStartGroup(): MsgStartGroup {
return {
id: undefined
id: GroupID.fromPartial({})
};
}
export const MsgStartGroup = {
Expand Down Expand Up @@ -512,7 +512,7 @@ export const GroupID = {
function createBaseGroupSpec(): GroupSpec {
return {
name: "",
requirements: undefined,
requirements: PlacementRequirements.fromPartial({}),
resources: []
};
}
Expand Down Expand Up @@ -598,9 +598,9 @@ export const GroupSpec = {
};
function createBaseGroup(): Group {
return {
groupId: undefined,
groupId: GroupID.fromPartial({}),
state: 0,
groupSpec: undefined,
groupSpec: GroupSpec.fromPartial({}),
createdAt: Long.ZERO
};
}
Expand Down Expand Up @@ -689,7 +689,7 @@ export const Group = {
};
function createBaseResource(): Resource {
return {
resources: undefined,
resources: ResourceUnits.fromPartial({}),
count: 0,
price: undefined
};
Expand Down
16 changes: 8 additions & 8 deletions __fixtures__/output1/akash/deployment/v1beta1/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ export interface QueryGroupResponseSDKType {
}
function createBaseQueryDeploymentsRequest(): QueryDeploymentsRequest {
return {
filters: undefined,
pagination: undefined
filters: DeploymentFilters.fromPartial({}),
pagination: PageRequest.fromPartial({})
};
}
export const QueryDeploymentsRequest = {
Expand Down Expand Up @@ -132,7 +132,7 @@ export const QueryDeploymentsRequest = {
function createBaseQueryDeploymentsResponse(): QueryDeploymentsResponse {
return {
deployments: [],
pagination: undefined
pagination: PageResponse.fromPartial({})
};
}
export const QueryDeploymentsResponse = {
Expand Down Expand Up @@ -206,7 +206,7 @@ export const QueryDeploymentsResponse = {
};
function createBaseQueryDeploymentRequest(): QueryDeploymentRequest {
return {
id: undefined
id: DeploymentID.fromPartial({})
};
}
export const QueryDeploymentRequest = {
Expand Down Expand Up @@ -261,9 +261,9 @@ export const QueryDeploymentRequest = {
};
function createBaseQueryDeploymentResponse(): QueryDeploymentResponse {
return {
deployment: undefined,
deployment: Deployment.fromPartial({}),
groups: [],
escrowAccount: undefined
escrowAccount: Account.fromPartial({})
};
}
export const QueryDeploymentResponse = {
Expand Down Expand Up @@ -348,7 +348,7 @@ export const QueryDeploymentResponse = {
};
function createBaseQueryGroupRequest(): QueryGroupRequest {
return {
id: undefined
id: GroupID.fromPartial({})
};
}
export const QueryGroupRequest = {
Expand Down Expand Up @@ -403,7 +403,7 @@ export const QueryGroupRequest = {
};
function createBaseQueryGroupResponse(): QueryGroupResponse {
return {
group: undefined
group: Group.fromPartial({})
};
}
export const QueryGroupResponse = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export const DeploymentID = {
};
function createBaseDeployment(): Deployment {
return {
deploymentId: undefined,
deploymentId: DeploymentID.fromPartial({}),
state: 0,
version: new Uint8Array(),
createdAt: Long.ZERO
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export interface MsgCloseDeploymentResponse {}
export interface MsgCloseDeploymentResponseSDKType {}
function createBaseMsgCreateDeployment(): MsgCreateDeployment {
return {
id: undefined,
id: DeploymentID.fromPartial({}),
groups: [],
version: new Uint8Array(),
deposit: undefined,
Expand Down Expand Up @@ -221,7 +221,7 @@ export const MsgCreateDeploymentResponse = {
};
function createBaseMsgDepositDeployment(): MsgDepositDeployment {
return {
id: undefined,
id: DeploymentID.fromPartial({}),
amount: undefined,
depositor: ""
};
Expand Down Expand Up @@ -340,7 +340,7 @@ export const MsgDepositDeploymentResponse = {
};
function createBaseMsgUpdateDeployment(): MsgUpdateDeployment {
return {
id: undefined,
id: DeploymentID.fromPartial({}),
version: new Uint8Array()
};
}
Expand Down Expand Up @@ -447,7 +447,7 @@ export const MsgUpdateDeploymentResponse = {
};
function createBaseMsgCloseDeployment(): MsgCloseDeployment {
return {
id: undefined
id: DeploymentID.fromPartial({})
};
}
export const MsgCloseDeployment = {
Expand Down
4 changes: 2 additions & 2 deletions __fixtures__/output1/akash/deployment/v1beta2/genesis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export interface GenesisStateSDKType {
}
function createBaseGenesisDeployment(): GenesisDeployment {
return {
deployment: undefined,
deployment: Deployment.fromPartial({}),
groups: []
};
}
Expand Down Expand Up @@ -102,7 +102,7 @@ export const GenesisDeployment = {
function createBaseGenesisState(): GenesisState {
return {
deployments: [],
params: undefined
params: Params.fromPartial({})
};
}
export const GenesisState = {
Expand Down
Loading

0 comments on commit 99f0928

Please sign in to comment.