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
516 changes: 486 additions & 30 deletions src/api/@tanstack/react-query.gen.ts

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion src/api/client/client.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,16 @@ export const createClient = (config: Config = {}): Client => {
case 'arrayBuffer':
case 'blob':
case 'formData':
case 'json':
case 'text':
data = await response[parseAs]();
break;
case 'json': {
// Some servers return 200 with no Content-Length and empty body.
// response.json() would throw; read as text and parse if non-empty.
const text = await response.text();
data = text ? JSON.parse(text) : {};
break;
}
case 'stream':
return opts.responseStyle === 'data'
? response.body
Expand Down
135 changes: 120 additions & 15 deletions src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,14 @@ export {
fctMissedSlotRateHourlyServiceList,
fctNodeActiveLast24hServiceGet,
fctNodeActiveLast24hServiceList,
fctNodeCpuUtilizationByProcessServiceGet,
fctNodeCpuUtilizationByProcessServiceList,
fctNodeDiskIoByProcessServiceGet,
fctNodeDiskIoByProcessServiceList,
fctNodeMemoryUsageByProcessServiceGet,
fctNodeMemoryUsageByProcessServiceList,
fctNodeNetworkIoByProcessServiceGet,
fctNodeNetworkIoByProcessServiceList,
fctOpcodeGasByOpcodeDailyServiceGet,
fctOpcodeGasByOpcodeDailyServiceList,
fctOpcodeGasByOpcodeHourlyServiceGet,
Expand Down Expand Up @@ -257,6 +265,10 @@ export {
intBlockOpcodeGasServiceList,
intBlockProposerCanonicalServiceGet,
intBlockProposerCanonicalServiceList,
intContractCreationServiceGet,
intContractCreationServiceList,
intContractSelfdestructServiceGet,
intContractSelfdestructServiceList,
intContractStorageExpiry12mServiceGet,
intContractStorageExpiry12mServiceList,
intContractStorageExpiry18mServiceGet,
Expand Down Expand Up @@ -297,12 +309,14 @@ export {
intCustodyProbeServiceList,
intEngineGetBlobsServiceGet,
intEngineGetBlobsServiceList,
intEngineNewPayloadFastestServiceGet,
intEngineNewPayloadFastestServiceList,
intEngineNewPayloadFastestExecutionByNodeClassServiceGet,
intEngineNewPayloadFastestExecutionByNodeClassServiceList,
intEngineNewPayloadServiceGet,
intEngineNewPayloadServiceList,
intExecutionBlockByDateServiceGet,
intExecutionBlockByDateServiceList,
intStorageSelfdestructDiffsServiceGet,
intStorageSelfdestructDiffsServiceList,
intStorageSlotDiffByAddressSlotServiceGet,
intStorageSlotDiffByAddressSlotServiceList,
intStorageSlotDiffServiceGet,
Expand Down Expand Up @@ -1343,6 +1357,50 @@ export type {
FctNodeActiveLast24hServiceListErrors,
FctNodeActiveLast24hServiceListResponse,
FctNodeActiveLast24hServiceListResponses,
FctNodeCpuUtilizationByProcess,
FctNodeCpuUtilizationByProcessServiceGetData,
FctNodeCpuUtilizationByProcessServiceGetError,
FctNodeCpuUtilizationByProcessServiceGetErrors,
FctNodeCpuUtilizationByProcessServiceGetResponse,
FctNodeCpuUtilizationByProcessServiceGetResponses,
FctNodeCpuUtilizationByProcessServiceListData,
FctNodeCpuUtilizationByProcessServiceListError,
FctNodeCpuUtilizationByProcessServiceListErrors,
FctNodeCpuUtilizationByProcessServiceListResponse,
FctNodeCpuUtilizationByProcessServiceListResponses,
FctNodeDiskIoByProcess,
FctNodeDiskIoByProcessServiceGetData,
FctNodeDiskIoByProcessServiceGetError,
FctNodeDiskIoByProcessServiceGetErrors,
FctNodeDiskIoByProcessServiceGetResponse,
FctNodeDiskIoByProcessServiceGetResponses,
FctNodeDiskIoByProcessServiceListData,
FctNodeDiskIoByProcessServiceListError,
FctNodeDiskIoByProcessServiceListErrors,
FctNodeDiskIoByProcessServiceListResponse,
FctNodeDiskIoByProcessServiceListResponses,
FctNodeMemoryUsageByProcess,
FctNodeMemoryUsageByProcessServiceGetData,
FctNodeMemoryUsageByProcessServiceGetError,
FctNodeMemoryUsageByProcessServiceGetErrors,
FctNodeMemoryUsageByProcessServiceGetResponse,
FctNodeMemoryUsageByProcessServiceGetResponses,
FctNodeMemoryUsageByProcessServiceListData,
FctNodeMemoryUsageByProcessServiceListError,
FctNodeMemoryUsageByProcessServiceListErrors,
FctNodeMemoryUsageByProcessServiceListResponse,
FctNodeMemoryUsageByProcessServiceListResponses,
FctNodeNetworkIoByProcess,
FctNodeNetworkIoByProcessServiceGetData,
FctNodeNetworkIoByProcessServiceGetError,
FctNodeNetworkIoByProcessServiceGetErrors,
FctNodeNetworkIoByProcessServiceGetResponse,
FctNodeNetworkIoByProcessServiceGetResponses,
FctNodeNetworkIoByProcessServiceListData,
FctNodeNetworkIoByProcessServiceListError,
FctNodeNetworkIoByProcessServiceListErrors,
FctNodeNetworkIoByProcessServiceListResponse,
FctNodeNetworkIoByProcessServiceListResponses,
FctOpcodeGasByOpcodeDaily,
FctOpcodeGasByOpcodeDailyServiceGetData,
FctOpcodeGasByOpcodeDailyServiceGetError,
Expand Down Expand Up @@ -1708,6 +1766,10 @@ export type {
GetFctMissedSlotRateDailyResponse,
GetFctMissedSlotRateHourlyResponse,
GetFctNodeActiveLast24hResponse,
GetFctNodeCpuUtilizationByProcessResponse,
GetFctNodeDiskIoByProcessResponse,
GetFctNodeMemoryUsageByProcessResponse,
GetFctNodeNetworkIoByProcessResponse,
GetFctOpcodeGasByOpcodeDailyResponse,
GetFctOpcodeGasByOpcodeHourlyResponse,
GetFctOpcodeOpsDailyResponse,
Expand Down Expand Up @@ -1746,6 +1808,8 @@ export type {
GetIntBlockMevCanonicalResponse,
GetIntBlockOpcodeGasResponse,
GetIntBlockProposerCanonicalResponse,
GetIntContractCreationResponse,
GetIntContractSelfdestructResponse,
GetIntContractStorageExpiry12mResponse,
GetIntContractStorageExpiry18mResponse,
GetIntContractStorageExpiry1mResponse,
Expand All @@ -1766,9 +1830,10 @@ export type {
GetIntCustodyProbeOrderBySlotResponse,
GetIntCustodyProbeResponse,
GetIntEngineGetBlobsResponse,
GetIntEngineNewPayloadFastestResponse,
GetIntEngineNewPayloadFastestExecutionByNodeClassResponse,
GetIntEngineNewPayloadResponse,
GetIntExecutionBlockByDateResponse,
GetIntStorageSelfdestructDiffsResponse,
GetIntStorageSlotDiffByAddressSlotResponse,
GetIntStorageSlotDiffResponse,
GetIntStorageSlotExpiry12mResponse,
Expand Down Expand Up @@ -1936,6 +2001,28 @@ export type {
IntBlockProposerCanonicalServiceListErrors,
IntBlockProposerCanonicalServiceListResponse,
IntBlockProposerCanonicalServiceListResponses,
IntContractCreation,
IntContractCreationServiceGetData,
IntContractCreationServiceGetError,
IntContractCreationServiceGetErrors,
IntContractCreationServiceGetResponse,
IntContractCreationServiceGetResponses,
IntContractCreationServiceListData,
IntContractCreationServiceListError,
IntContractCreationServiceListErrors,
IntContractCreationServiceListResponse,
IntContractCreationServiceListResponses,
IntContractSelfdestruct,
IntContractSelfdestructServiceGetData,
IntContractSelfdestructServiceGetError,
IntContractSelfdestructServiceGetErrors,
IntContractSelfdestructServiceGetResponse,
IntContractSelfdestructServiceGetResponses,
IntContractSelfdestructServiceListData,
IntContractSelfdestructServiceListError,
IntContractSelfdestructServiceListErrors,
IntContractSelfdestructServiceListResponse,
IntContractSelfdestructServiceListResponses,
IntContractStorageExpiry12m,
IntContractStorageExpiry12mServiceGetData,
IntContractStorageExpiry12mServiceGetError,
Expand Down Expand Up @@ -2157,17 +2244,17 @@ export type {
IntEngineGetBlobsServiceListResponse,
IntEngineGetBlobsServiceListResponses,
IntEngineNewPayload,
IntEngineNewPayloadFastest,
IntEngineNewPayloadFastestServiceGetData,
IntEngineNewPayloadFastestServiceGetError,
IntEngineNewPayloadFastestServiceGetErrors,
IntEngineNewPayloadFastestServiceGetResponse,
IntEngineNewPayloadFastestServiceGetResponses,
IntEngineNewPayloadFastestServiceListData,
IntEngineNewPayloadFastestServiceListError,
IntEngineNewPayloadFastestServiceListErrors,
IntEngineNewPayloadFastestServiceListResponse,
IntEngineNewPayloadFastestServiceListResponses,
IntEngineNewPayloadFastestExecutionByNodeClass,
IntEngineNewPayloadFastestExecutionByNodeClassServiceGetData,
IntEngineNewPayloadFastestExecutionByNodeClassServiceGetError,
IntEngineNewPayloadFastestExecutionByNodeClassServiceGetErrors,
IntEngineNewPayloadFastestExecutionByNodeClassServiceGetResponse,
IntEngineNewPayloadFastestExecutionByNodeClassServiceGetResponses,
IntEngineNewPayloadFastestExecutionByNodeClassServiceListData,
IntEngineNewPayloadFastestExecutionByNodeClassServiceListError,
IntEngineNewPayloadFastestExecutionByNodeClassServiceListErrors,
IntEngineNewPayloadFastestExecutionByNodeClassServiceListResponse,
IntEngineNewPayloadFastestExecutionByNodeClassServiceListResponses,
IntEngineNewPayloadServiceGetData,
IntEngineNewPayloadServiceGetError,
IntEngineNewPayloadServiceGetErrors,
Expand All @@ -2189,6 +2276,17 @@ export type {
IntExecutionBlockByDateServiceListErrors,
IntExecutionBlockByDateServiceListResponse,
IntExecutionBlockByDateServiceListResponses,
IntStorageSelfdestructDiffs,
IntStorageSelfdestructDiffsServiceGetData,
IntStorageSelfdestructDiffsServiceGetError,
IntStorageSelfdestructDiffsServiceGetErrors,
IntStorageSelfdestructDiffsServiceGetResponse,
IntStorageSelfdestructDiffsServiceGetResponses,
IntStorageSelfdestructDiffsServiceListData,
IntStorageSelfdestructDiffsServiceListError,
IntStorageSelfdestructDiffsServiceListErrors,
IntStorageSelfdestructDiffsServiceListResponse,
IntStorageSelfdestructDiffsServiceListResponses,
IntStorageSlotDiff,
IntStorageSlotDiffByAddressSlot,
IntStorageSlotDiffByAddressSlotServiceGetData,
Expand Down Expand Up @@ -2532,6 +2630,10 @@ export type {
ListFctMissedSlotRateDailyResponse,
ListFctMissedSlotRateHourlyResponse,
ListFctNodeActiveLast24hResponse,
ListFctNodeCpuUtilizationByProcessResponse,
ListFctNodeDiskIoByProcessResponse,
ListFctNodeMemoryUsageByProcessResponse,
ListFctNodeNetworkIoByProcessResponse,
ListFctOpcodeGasByOpcodeDailyResponse,
ListFctOpcodeGasByOpcodeHourlyResponse,
ListFctOpcodeOpsDailyResponse,
Expand Down Expand Up @@ -2570,6 +2672,8 @@ export type {
ListIntBlockMevCanonicalResponse,
ListIntBlockOpcodeGasResponse,
ListIntBlockProposerCanonicalResponse,
ListIntContractCreationResponse,
ListIntContractSelfdestructResponse,
ListIntContractStorageExpiry12mResponse,
ListIntContractStorageExpiry18mResponse,
ListIntContractStorageExpiry1mResponse,
Expand All @@ -2590,9 +2694,10 @@ export type {
ListIntCustodyProbeOrderBySlotResponse,
ListIntCustodyProbeResponse,
ListIntEngineGetBlobsResponse,
ListIntEngineNewPayloadFastestResponse,
ListIntEngineNewPayloadFastestExecutionByNodeClassResponse,
ListIntEngineNewPayloadResponse,
ListIntExecutionBlockByDateResponse,
ListIntStorageSelfdestructDiffsResponse,
ListIntStorageSlotDiffByAddressSlotResponse,
ListIntStorageSlotDiffResponse,
ListIntStorageSlotExpiry12mResponse,
Expand Down
Loading