nooschain / chain/transaction-types / createContractStateMigrationJobPayloadSchema
Variable: createContractStateMigrationJobPayloadSchema
constcreateContractStateMigrationJobPayloadSchema:ZodObject<object&object,"strip",ZodTypeAny, {batchSize:number;expectedSourceCodeHash?:string;expectedSourceManifestHash?:string;expectedTargetCodeHash?:string;expectedTargetManifestHash?:string;id:string;kind:"raw-copy"|"schema-transform"|"contract-defined";metadata?:Record<string,unknown>;migrationId?:string;mode:"copy"|"move";overwrite:"replace"|"reject";proposalId?:string;sourceContractId:string;stateKeys:string[] |"all";targetContractId:string;transforms: ({fromKey:string;operation:"copy";toKey:string; } | {fromKey:string;operation:"rename";toKey:string; } | {fromKey:string;operation:"delete"; } | {fromKey:string;operation:"setDefault";path:string;toKey?:string;value?:unknown; } | {fromKey:string;operation:"set";path:string;toKey?:string;value?:unknown; } | {fromKey:string;operation:"remove";path:string;toKey?:string; } | {fromKey:string;fromPath:string;operation:"moveJsonPointer";toKey?:string;toPath:string; })[]; }, {batchSize?:number;expectedSourceCodeHash?:string;expectedSourceManifestHash?:string;expectedTargetCodeHash?:string;expectedTargetManifestHash?:string;id:string;kind?:"raw-copy"|"schema-transform"|"contract-defined";metadata?:Record<string,unknown>;migrationId?:string;mode?:"copy"|"move";overwrite?:"replace"|"reject";proposalId?:string;sourceContractId:string;stateKeys:string[] |"all";targetContractId:string;transforms?: ({fromKey:string;operation:"copy";toKey:string; } | {fromKey:string;operation:"rename";toKey:string; } | {fromKey:string;operation:"delete"; } | {fromKey:string;operation:"setDefault";path:string;toKey?:string;value?:unknown; } | {fromKey:string;operation:"set";path:string;toKey?:string;value?:unknown; } | {fromKey:string;operation:"remove";path:string;toKey?:string; } | {fromKey:string;fromPath:string;operation:"moveJsonPointer";toKey?:string;toPath:string; })[]; }>
Defined in: chain/transaction-types.ts:565