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:
23
node_modules/n8n-workflow/dist/esm/node-parameters/rename-node-utils.js
generated
vendored
Normal file
23
node_modules/n8n-workflow/dist/esm/node-parameters/rename-node-utils.js
generated
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
export function renameFormFields(node, renameField) {
|
||||
const formFields = node.parameters?.formFields;
|
||||
const values = formFields &&
|
||||
typeof formFields === 'object' &&
|
||||
'values' in formFields &&
|
||||
typeof formFields.values === 'object' &&
|
||||
// TypeScript thinks this is `Array.values` and gets very confused here
|
||||
// eslint-disable-next-line @typescript-eslint/unbound-method
|
||||
Array.isArray(formFields.values)
|
||||
? // eslint-disable-next-line @typescript-eslint/unbound-method
|
||||
(formFields.values ?? [])
|
||||
: [];
|
||||
for (const formFieldValue of values) {
|
||||
if (!formFieldValue || typeof formFieldValue !== 'object')
|
||||
continue;
|
||||
if ('fieldType' in formFieldValue && formFieldValue.fieldType === 'html') {
|
||||
if ('html' in formFieldValue) {
|
||||
formFieldValue.html = renameField(formFieldValue.html);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=rename-node-utils.js.map
|
||||
Reference in New Issue
Block a user