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:
20
node_modules/n8n-workflow/dist/esm/node-parameters/path-utils.js
generated
vendored
Normal file
20
node_modules/n8n-workflow/dist/esm/node-parameters/path-utils.js
generated
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
/**
|
||||
* Resolve relative paths starting in & in the context of a given full path including parameters,
|
||||
* which will be dropped in the process.
|
||||
* If `candidateRelativePath` is not relative, it is returned unchanged.
|
||||
*
|
||||
* `parameters.a.b.c`, `&d` -> `a.b.d`
|
||||
* `parameters.a.b[0].c`, `&d` -> `a.b[0].d`
|
||||
* `parameters.a.b.c`, `d` -> `d`
|
||||
*/
|
||||
export function resolveRelativePath(fullPathWithParameters, candidateRelativePath) {
|
||||
if (candidateRelativePath.startsWith('&')) {
|
||||
const resolvedLeaf = candidateRelativePath.slice(1);
|
||||
const pathToLeaf = fullPathWithParameters.split('.').slice(1, -1).join('.');
|
||||
if (!pathToLeaf)
|
||||
return resolvedLeaf;
|
||||
return `${pathToLeaf}.${resolvedLeaf}`;
|
||||
}
|
||||
return candidateRelativePath;
|
||||
}
|
||||
//# sourceMappingURL=path-utils.js.map
|
||||
Reference in New Issue
Block a user