Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions __fixtures__/output/assetlist.camel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export interface Asset {
description?: string;
extendedDescription?: string;
denomUnits: DenomUnit[];
typeAsset?: "sdk.coin" | "cw20" | "erc20" | "ics20" | "snip20" | "snip25" | "bitcoin-like" | "evm-base" | "svm-base" | "substrate";
typeAsset?: 'sdk.coin' | 'cw20' | 'erc20' | 'ics20' | 'snip20' | 'snip25' | 'bitcoin-like' | 'evm-base' | 'svm-base' | 'substrate';
address?: string;
base: string;
name: string;
Expand Down Expand Up @@ -46,7 +46,7 @@ export interface Pointer {
baseDenom?: string;
}
export interface IbcTransition {
type: "ibc";
type: 'ibc';
counterparty: {
chainName: string;
baseDenom: string;
Expand All @@ -58,7 +58,7 @@ export interface IbcTransition {
};
}
export interface IbcCw20Transition {
type: "ibc-cw20";
type: 'ibc-cw20';
counterparty: {
chainName: string;
baseDenom: string;
Expand All @@ -72,7 +72,7 @@ export interface IbcCw20Transition {
};
}
export interface NonIbcTransition {
type: "bridge" | "liquid-stake" | "synthetic" | "wrapped" | "additional-mintage" | "test-mintage";
type: 'bridge' | 'liquid-stake' | 'synthetic' | 'wrapped' | 'additional-mintage' | 'test-mintage';
counterparty: {
chainName: string;
baseDenom: string;
Expand Down
8 changes: 4 additions & 4 deletions __fixtures__/output/assetlist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export interface Asset {
description?: string;
extended_description?: string;
denom_units: DenomUnit[];
type_asset?: "sdk.coin" | "cw20" | "erc20" | "ics20" | "snip20" | "snip25" | "bitcoin-like" | "evm-base" | "svm-base" | "substrate";
type_asset?: 'sdk.coin' | 'cw20' | 'erc20' | 'ics20' | 'snip20' | 'snip25' | 'bitcoin-like' | 'evm-base' | 'svm-base' | 'substrate';
address?: string;
base: string;
name: string;
Expand Down Expand Up @@ -46,7 +46,7 @@ export interface Pointer {
base_denom?: string;
}
export interface IbcTransition {
type: "ibc";
type: 'ibc';
counterparty: {
chain_name: string;
base_denom: string;
Expand All @@ -58,7 +58,7 @@ export interface IbcTransition {
};
}
export interface IbcCw20Transition {
type: "ibc-cw20";
type: 'ibc-cw20';
counterparty: {
chain_name: string;
base_denom: string;
Expand All @@ -72,7 +72,7 @@ export interface IbcCw20Transition {
};
}
export interface NonIbcTransition {
type: "bridge" | "liquid-stake" | "synthetic" | "wrapped" | "additional-mintage" | "test-mintage";
type: 'bridge' | 'liquid-stake' | 'synthetic' | 'wrapped' | 'additional-mintage' | 'test-mintage';
counterparty: {
chain_name: string;
base_denom: string;
Expand Down
44 changes: 22 additions & 22 deletions __fixtures__/output/chain.camel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ export interface CosmosChain {
prettyName?: string;
website?: string;
updateLink?: string;
status?: "live" | "upcoming" | "killed";
networkType?: "mainnet" | "testnet" | "devnet";
status?: 'live' | 'upcoming' | 'killed';
networkType?: 'mainnet' | 'testnet' | 'devnet';
bech32Prefix: string;
bech32Config?: {
bech32PrefixAccAddr?: string;
Expand All @@ -53,7 +53,7 @@ export interface CosmosChain {
};
daemonName?: string;
nodeHome?: string;
keyAlgos?: ("secp256k1" | "ethsecp256k1" | "ed25519" | "sr25519" | "bn254")[];
keyAlgos?: ('secp256k1' | 'ethsecp256k1' | 'ed25519' | 'sr25519' | 'bn254')[];
slip44?: number;
alternativeSlip44s?: number[];
fees?: {
Expand All @@ -72,23 +72,23 @@ export interface CosmosChain {
goVersion?: string;
compatibleVersions?: string[];
binaries?: {
"linux/amd64"?: string;
"linux/arm64"?: string;
"darwin/amd64"?: string;
"darwin/arm64"?: string;
"windows/amd64"?: string;
"windows/arm64"?: string;
'linux/amd64'?: string;
'linux/arm64'?: string;
'darwin/amd64'?: string;
'darwin/arm64'?: string;
'windows/amd64'?: string;
'windows/arm64'?: string;
};
cosmosSdkVersion?: string;
consensus?: {
type: "tendermint" | "cometbft" | "sei-tendermint";
type: 'tendermint' | 'cometbft' | 'sei-tendermint';
version?: string;
};
cosmwasmVersion?: string;
cosmwasmEnabled?: boolean;
cosmwasmPath?: string;
ibcGoVersion?: string;
icsEnabled?: ("ics20-1" | "ics27-1" | "mauth")[];
icsEnabled?: ('ics20-1' | 'ics27-1' | 'mauth')[];
genesis?: {
name?: string;
genesisUrl: string;
Expand All @@ -106,21 +106,21 @@ export interface CosmosChain {
compatibleVersions?: string[];
cosmosSdkVersion?: string;
consensus?: {
type: "tendermint" | "cometbft" | "sei-tendermint";
type: 'tendermint' | 'cometbft' | 'sei-tendermint';
version?: string;
};
cosmwasmVersion?: string;
cosmwasmEnabled?: boolean;
cosmwasmPath?: string;
ibcGoVersion?: string;
icsEnabled?: ("ics20-1" | "ics27-1" | "mauth")[];
icsEnabled?: ('ics20-1' | 'ics27-1' | 'mauth')[];
binaries?: {
"linux/amd64"?: string;
"linux/arm64"?: string;
"darwin/amd64"?: string;
"darwin/arm64"?: string;
"windows/amd64"?: string;
"windows/arm64"?: string;
'linux/amd64'?: string;
'linux/arm64'?: string;
'darwin/amd64'?: string;
'darwin/arm64'?: string;
'windows/amd64'?: string;
'windows/arm64'?: string;
};
}[];
};
Expand All @@ -133,8 +133,8 @@ export interface CosmosChain {
circle?: boolean;
darkMode?: boolean;
};
layout?: "logo" | "logomark" | "logotype";
textPosition?: "top" | "bottom" | "left" | "right" | "integrated";
layout?: 'logo' | 'logomark' | 'logotype';
textPosition?: 'top' | 'bottom' | 'left' | 'right' | 'integrated';
}[];
logoURIs?: {
png?: string;
Expand All @@ -155,5 +155,5 @@ export interface CosmosChain {
};
explorers?: Explorer[];
keywords?: string[];
extraCodecs?: ("ethermint" | "injective")[];
extraCodecs?: ('ethermint' | 'injective')[];
}
48 changes: 24 additions & 24 deletions __fixtures__/output/chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ export interface CosmosChain {
pretty_name?: string;
website?: string;
update_link?: string;
status?: "live" | "upcoming" | "killed";
network_type?: "mainnet" | "testnet" | "devnet";
status?: 'live' | 'upcoming' | 'killed';
network_type?: 'mainnet' | 'testnet' | 'devnet';
bech32_prefix: string;
bech32_config?: {
bech32PrefixAccAddr?: string;
Expand All @@ -53,7 +53,7 @@ export interface CosmosChain {
};
daemon_name?: string;
node_home?: string;
key_algos?: ("secp256k1" | "ethsecp256k1" | "ed25519" | "sr25519" | "bn254")[];
key_algos?: ('secp256k1' | 'ethsecp256k1' | 'ed25519' | 'sr25519' | 'bn254')[];
slip44?: number;
alternative_slip44s?: number[];
fees?: {
Expand All @@ -72,23 +72,23 @@ export interface CosmosChain {
go_version?: string;
compatible_versions?: string[];
binaries?: {
"linux/amd64"?: string;
"linux/arm64"?: string;
"darwin/amd64"?: string;
"darwin/arm64"?: string;
"windows/amd64"?: string;
"windows/arm64"?: string;
'linux/amd64'?: string;
'linux/arm64'?: string;
'darwin/amd64'?: string;
'darwin/arm64'?: string;
'windows/amd64'?: string;
'windows/arm64'?: string;
};
cosmos_sdk_version?: string;
consensus?: {
type: "tendermint" | "cometbft" | "sei-tendermint";
type: 'tendermint' | 'cometbft' | 'sei-tendermint';
version?: string;
};
cosmwasm_version?: string;
cosmwasm_enabled?: boolean;
cosmwasm_path?: string;
ibc_go_version?: string;
ics_enabled?: ("ics20-1" | "ics27-1" | "mauth")[];
ics_enabled?: ('ics20-1' | 'ics27-1' | 'mauth')[];
genesis?: {
name?: string;
genesis_url: string;
Expand All @@ -106,21 +106,21 @@ export interface CosmosChain {
compatible_versions?: string[];
cosmos_sdk_version?: string;
consensus?: {
type: "tendermint" | "cometbft" | "sei-tendermint";
type: 'tendermint' | 'cometbft' | 'sei-tendermint';
version?: string;
};
cosmwasm_version?: string;
cosmwasm_enabled?: boolean;
cosmwasm_path?: string;
ibc_go_version?: string;
ics_enabled?: ("ics20-1" | "ics27-1" | "mauth")[];
ics_enabled?: ('ics20-1' | 'ics27-1' | 'mauth')[];
binaries?: {
"linux/amd64"?: string;
"linux/arm64"?: string;
"darwin/amd64"?: string;
"darwin/arm64"?: string;
"windows/amd64"?: string;
"windows/arm64"?: string;
'linux/amd64'?: string;
'linux/arm64'?: string;
'darwin/amd64'?: string;
'darwin/arm64'?: string;
'windows/amd64'?: string;
'windows/arm64'?: string;
};
}[];
};
Expand All @@ -133,8 +133,8 @@ export interface CosmosChain {
circle?: boolean;
dark_mode?: boolean;
};
layout?: "logo" | "logomark" | "logotype";
text_position?: "top" | "bottom" | "left" | "right" | "integrated";
layout?: 'logo' | 'logomark' | 'logotype';
text_position?: 'top' | 'bottom' | 'left' | 'right' | 'integrated';
}[];
logo_URIs?: {
png?: string;
Expand All @@ -150,10 +150,10 @@ export interface CosmosChain {
rest?: Endpoint[];
grpc?: Endpoint[];
wss?: Endpoint[];
"grpc-web"?: Endpoint[];
"evm-http-jsonrpc"?: Endpoint[];
'grpc-web'?: Endpoint[];
'evm-http-jsonrpc'?: Endpoint[];
};
explorers?: Explorer[];
keywords?: string[];
extra_codecs?: ("ethermint" | "injective")[];
extra_codecs?: ('ethermint' | 'injective')[];
}
810 changes: 405 additions & 405 deletions __fixtures__/output/hooks.ts

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions __fixtures__/output/swagger-client.merged.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { APIClient, APIClientRequestOpts, APIClientOptions } from "@interweb/fetch-api-client";
import { APIClient, APIClientRequestOpts, APIClientOptions } from '@interweb/fetch-api-client';
export interface MutatingWebhook {
admissionReviewVersions: string[];
clientConfig: IoK8sApiAdmissionregistrationV1WebhookClientConfig;
Expand Down Expand Up @@ -3040,12 +3040,12 @@ export interface JSONSchemaProps {
title?: string;
type?: string;
uniqueItems?: boolean;
"x-kubernetes-embedded-resource"?: boolean;
"x-kubernetes-int-or-string"?: boolean;
"x-kubernetes-list-map-keys"?: string[];
"x-kubernetes-list-type"?: string;
"x-kubernetes-map-type"?: string;
"x-kubernetes-preserve-unknown-fields"?: boolean;
'x-kubernetes-embedded-resource'?: boolean;
'x-kubernetes-int-or-string'?: boolean;
'x-kubernetes-list-map-keys'?: string[];
'x-kubernetes-list-type'?: string;
'x-kubernetes-map-type'?: string;
'x-kubernetes-preserve-unknown-fields'?: boolean;
}
export type JSONSchemaPropsOrArray = any;
export type JSONSchemaPropsOrBool = any;
Expand Down Expand Up @@ -10203,7 +10203,7 @@ export class KubernetesClient extends APIClient {
super(options);
}
async getSwaggerJSON() {
const path = "/openapi/v2";
const path = '/openapi/v2';
return this.get(path);
}
async getServiceAccountIssuerOpenIDConfiguration(params: GetServiceAccountIssuerOpenIDConfigurationRequest, opts?: APIClientRequestOpts): Promise<string> {
Expand Down
16 changes: 8 additions & 8 deletions __fixtures__/output/swagger-client.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { APIClient, APIClientRequestOpts, APIClientOptions } from "@interweb/fetch-api-client";
import { APIClient, APIClientRequestOpts, APIClientOptions } from '@interweb/fetch-api-client';
/* io.k8s.api.admissionregistration.v1.MutatingWebhook */
/* MutatingWebhook describes an admission webhook and the resources and operations it applies to. */
export interface MutatingWebhook {
Expand Down Expand Up @@ -3362,12 +3362,12 @@ export interface JSONSchemaProps {
title?: string;
type?: string;
uniqueItems?: boolean;
"x-kubernetes-embedded-resource"?: boolean;
"x-kubernetes-int-or-string"?: boolean;
"x-kubernetes-list-map-keys"?: string[];
"x-kubernetes-list-type"?: string;
"x-kubernetes-map-type"?: string;
"x-kubernetes-preserve-unknown-fields"?: boolean;
'x-kubernetes-embedded-resource'?: boolean;
'x-kubernetes-int-or-string'?: boolean;
'x-kubernetes-list-map-keys'?: string[];
'x-kubernetes-list-type'?: string;
'x-kubernetes-map-type'?: string;
'x-kubernetes-preserve-unknown-fields'?: boolean;
}
/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrArray */
/* JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes. */
Expand Down Expand Up @@ -11596,7 +11596,7 @@ export class KubernetesClient extends APIClient {
super(options);
}
async getSwaggerJSON() {
const path = "/openapi/v2";
const path = '/openapi/v2';
return this.get(path);
}
async getServiceAccountIssuerOpenIDConfiguration(params: GetServiceAccountIssuerOpenIDConfigurationRequest, opts?: APIClientRequestOpts): Promise<string> {
Expand Down
Loading