Initial commit: n8n Strike API node
- 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>
This commit is contained in:
25
node_modules/undertaker/lib/registry.js
generated
vendored
Normal file
25
node_modules/undertaker/lib/registry.js
generated
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
'use strict';
|
||||
|
||||
var reduce = require('object.reduce');
|
||||
|
||||
var validateRegistry = require('./helpers/validateRegistry');
|
||||
|
||||
function setTasks(inst, task, name) {
|
||||
inst.set(name, task);
|
||||
return inst;
|
||||
}
|
||||
|
||||
function registry(newRegistry) {
|
||||
if (!newRegistry) {
|
||||
return this._registry;
|
||||
}
|
||||
|
||||
validateRegistry(newRegistry);
|
||||
|
||||
var tasks = this._registry.tasks();
|
||||
|
||||
this._registry = reduce(tasks, setTasks, newRegistry);
|
||||
this._registry.init(this);
|
||||
}
|
||||
|
||||
module.exports = registry;
|
||||
Reference in New Issue
Block a user