import "../_dnt.polyfills.js"; import * as $ from "../deps/scale.js" import { $connectionSpec } from "../nets/mod.js" export type CodegenEntry = $.Output const $codegenEntry = $.taggedUnion("type", [ $.variant( "frame", $.field("metadataHash", $.sizedUint8Array(64)), $.field("chainName", $.str), $.field("connection", $connectionSpec), $.optionalField("targets", $.record($connectionSpec)), ), ]) export type CodegenSpec = $.Output export const $codegenSpec = $.taggedUnion("type", [ $.variant( "v0", $.field("codegen", $.map($.str, $codegenEntry)), ), ])