- Add Strike API credentials configuration - Implement Strike node with 9 resources (Account, Balance, Currency Exchange, Deposit, Invoice, Payment, Payment Method, Payout, Rates) - Add comprehensive operation descriptions for all resources - Include CLAUDE.MD documentation - Set up build configuration with TypeScript, ESLint, and Prettier 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
34 lines
1.3 KiB
JavaScript
34 lines
1.3 KiB
JavaScript
/**
|
|
* Contains all the data which is needed to execute a workflow and so also to
|
|
* restart it again if it fails.
|
|
* RunData, ExecuteData and WaitForExecution contain often the same data.
|
|
*
|
|
*/
|
|
(function (factory) {
|
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
var v = factory(require, exports);
|
|
if (v !== undefined) module.exports = v;
|
|
}
|
|
else if (typeof define === "function" && define.amd) {
|
|
define(["require", "exports", "./run-execution-data.v1"], factory);
|
|
}
|
|
})(function (require, exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.migrateRunExecutionData = migrateRunExecutionData;
|
|
const run_execution_data_v1_1 = require("./run-execution-data.v1");
|
|
const __brand = Symbol('brand');
|
|
function migrateRunExecutionData(data) {
|
|
switch (data.version) {
|
|
case 0:
|
|
case undefined: // Missing version means version 0
|
|
data = (0, run_execution_data_v1_1.runExecutionDataV0ToV1)(data);
|
|
// Fall through to subsequent versions as they're added.
|
|
}
|
|
if (data.version !== 1) {
|
|
throw new Error(`Unsupported IRunExecutionData version: ${data.version}`);
|
|
}
|
|
return data;
|
|
}
|
|
});
|
|
//# sourceMappingURL=run-execution-data.js.map
|