Skip to content

nooschain v0.1.0


nooschain / chain/transaction-types / contractStateMigrationTransformSchema

Variable: contractStateMigrationTransformSchema

const contractStateMigrationTransformSchema: ZodDiscriminatedUnion<"operation", [ZodObject<{ fromKey: ZodString; operation: ZodLiteral<"copy">; toKey: ZodString; }, "strip", ZodTypeAny, { fromKey: string; operation: "copy"; toKey: string; }, { fromKey: string; operation: "copy"; toKey: string; }>, ZodObject<{ fromKey: ZodString; operation: ZodLiteral<"rename">; toKey: ZodString; }, "strip", ZodTypeAny, { fromKey: string; operation: "rename"; toKey: string; }, { fromKey: string; operation: "rename"; toKey: string; }>, ZodObject<{ fromKey: ZodString; operation: ZodLiteral<"delete">; }, "strip", ZodTypeAny, { fromKey: string; operation: "delete"; }, { fromKey: string; operation: "delete"; }>]>

Defined in: chain/transaction-types.ts:504

Audience-first NOOSChain documentation.