diff --git a/napi-pallas/index.d.ts b/napi-pallas/index.d.ts index 21e5cf8..3bd279a 100644 --- a/napi-pallas/index.d.ts +++ b/napi-pallas/index.d.ts @@ -4,47 +4,47 @@ /* auto-generated by NAPI-RS */ export interface ShelleyPart { - isScript: boolean - hash?: string - pointer?: string + isScript: boolean; + hash?: string; + pointer?: string; } export interface AddressDiagnostic { - kind: string - network?: string - paymentPart?: ShelleyPart - delegationPart?: ShelleyPart - byronCbor?: string + kind: string; + network?: string; + paymentPart?: ShelleyPart; + delegationPart?: ShelleyPart; + byronCbor?: string; } export interface Output { - error?: string - bytes?: string - address?: AddressDiagnostic + error?: string; + bytes?: string; + address?: AddressDiagnostic; } export interface Attribute { - topic?: string - value?: string + topic?: string; + value?: string; } export interface Section { - topic?: string - identity?: string - error?: string - attributes: Array - bytes?: string - children: Array
-} -export function parseAddress(raw: string): Output + topic?: string; + identity?: string; + error?: string; + attributes: Array; + bytes?: string; + children: Array
; +} +export function parseAddress(raw: string): Output; export interface SectionValidation { - section: Section - validations: Validations + section: Section; + validations: Validations; } -export function safeParseTx(raw: string): SectionValidation -export function safeParseBlock(raw: string): Section +export function safeParseTx(raw: string): SectionValidation; +export function safeParseBlock(raw: string): Section; export interface Validation { - name: string - value: boolean - description: string + name: string; + value: boolean; + description: string; } export interface Validations { - validations: Array - era: string + validations: Array; + era: string; } diff --git a/web/app/routes/tx.tsx b/web/app/routes/tx.tsx index c872628..3d17edf 100644 --- a/web/app/routes/tx.tsx +++ b/web/app/routes/tx.tsx @@ -1,6 +1,6 @@ import { ActionFunctionArgs, json, type MetaFunction } from "@remix-run/node"; import { Form, useActionData } from "@remix-run/react"; -import { Button, logCuriosity, RootSection } from "../components"; +import { Button, RootSection, logCuriosity } from "../components"; import * as server from "./tx.server"; import TOPICS from "./tx.topics";