-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
429 changed files
with
55,953 additions
and
7,899 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
__fixtures__/misc/output-impl-interfaces-gen/akash/deployment/v1beta1/authz.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
__fixtures__/misc/output-impl-interfaces-gen/cosmos/authz/v1beta1/tx.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
__fixtures__/misc/output-proto-amino/amino-interface-proto-optionality/misc/tx.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
__fixtures__/misc/output-proto-amino/amino-interface/misc/tx.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
74 changes: 4 additions & 70 deletions
74
__fixtures__/v-next/outputhelperfunc/akash/audit/v1beta1/audit.amino.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,81 +1,15 @@ | ||
/* eslint-disable */ | ||
import { Attribute, AttributeSDKType } from "../../base/v1beta1/attribute"; | ||
import { AminoMsg } from "@cosmjs/amino"; | ||
import { MsgSignProviderAttributes, MsgSignProviderAttributesSDKType, MsgDeleteProviderAttributes, MsgDeleteProviderAttributesSDKType } from "./audit"; | ||
export interface MsgSignProviderAttributesAminoType extends AminoMsg { | ||
type: "akash/audit/testonly-sign-provider-attributes"; | ||
value: { | ||
owner: string; | ||
auditor: string; | ||
attributes: { | ||
key: string; | ||
value: string; | ||
}[]; | ||
}; | ||
} | ||
export interface MsgDeleteProviderAttributesAminoType extends AminoMsg { | ||
type: "akash/audit/testonly-delete-provider-attributes"; | ||
value: { | ||
owner: string; | ||
auditor: string; | ||
keys: string[]; | ||
}; | ||
} | ||
export const AminoConverter = { | ||
"/akash.audit.v1beta1.MsgSignProviderAttributes": { | ||
aminoType: "akash/audit/testonly-sign-provider-attributes", | ||
toAmino: ({ | ||
owner, | ||
auditor, | ||
attributes | ||
}: MsgSignProviderAttributes): MsgSignProviderAttributesAminoType["value"] => { | ||
return { | ||
owner, | ||
auditor, | ||
attributes: attributes.map(el0 => ({ | ||
key: el0.key, | ||
value: el0.value | ||
})) | ||
}; | ||
}, | ||
fromAmino: ({ | ||
owner, | ||
auditor, | ||
attributes | ||
}: MsgSignProviderAttributesAminoType["value"]): MsgSignProviderAttributes => { | ||
return { | ||
owner, | ||
auditor, | ||
attributes: attributes.map?.(el0 => ({ | ||
key: el0.key, | ||
value: el0.value | ||
})) | ||
}; | ||
} | ||
toAmino: MsgSignProviderAttributes.toAmino, | ||
fromAmino: MsgSignProviderAttributes.fromAmino | ||
}, | ||
"/akash.audit.v1beta1.MsgDeleteProviderAttributes": { | ||
aminoType: "akash/audit/testonly-delete-provider-attributes", | ||
toAmino: ({ | ||
owner, | ||
auditor, | ||
keys | ||
}: MsgDeleteProviderAttributes): MsgDeleteProviderAttributesAminoType["value"] => { | ||
return { | ||
owner, | ||
auditor, | ||
keys | ||
}; | ||
}, | ||
fromAmino: ({ | ||
owner, | ||
auditor, | ||
keys | ||
}: MsgDeleteProviderAttributesAminoType["value"]): MsgDeleteProviderAttributes => { | ||
return { | ||
owner, | ||
auditor, | ||
keys | ||
}; | ||
} | ||
toAmino: MsgDeleteProviderAttributes.toAmino, | ||
fromAmino: MsgDeleteProviderAttributes.fromAmino | ||
} | ||
}; |
Oops, something went wrong.