mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2025-11-20 17:48:34 +00:00
add param type
This commit is contained in:
parent
4be09ee693
commit
79b4b0ff60
@ -4,7 +4,7 @@ df_string:
|
||||
- argName: algo
|
||||
optional: true
|
||||
longName: Algorithm
|
||||
type: String
|
||||
type: String enum
|
||||
default: md5
|
||||
options:
|
||||
- md5
|
||||
|
||||
@ -44,6 +44,12 @@
|
||||
border-top: 1px solid var(--color-foreground-base);
|
||||
}
|
||||
|
||||
.dt-func-arg-type {
|
||||
color: var(--color-text-base);
|
||||
font-size: var(--small-font);
|
||||
text-transform: lowercase;
|
||||
}
|
||||
|
||||
.dt-func-header-link {
|
||||
display: inline-block;
|
||||
opacity: 0;
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
<h4 class="dt-func-title-h4">Function parameters</h4>
|
||||
[[% for arg in funcArgs %]]
|
||||
<div class="dt-func-args">
|
||||
<span class="dt-func-name" id="[[funcName]]-[[arg.argName]]">[[arg.argName]]</span><span class="dt-func-optional">[[% if arg.optional %]]Optional[[% else %]]Required[[% endif %]]</span><a class="dt-func-arg-name-anchor" href="#[[funcName]]-[[arg.argName]]"></a>
|
||||
<span class="dt-func-name" id="[[funcName]]-[[arg.argName]]">[[arg.argName]]</span><span class="dt-func-optional">[[% if arg.optional %]]Optional[[% else %]]Required[[% endif %]]</span><span class="dt-func-arg-type">[[ arg.type ]]</span><a class="dt-func-arg-name-anchor" href="#[[funcName]]-[[arg.argName]]"></a>
|
||||
<div class="dt-func-options">[[% if arg.options %]]
|
||||
<p>Default: <code>[[ arg.default ]]</code></p>
|
||||
<p>One of: [[% for option in arg.options %]]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user