Skip to content

Commit

Permalink
fix copy items
Browse files Browse the repository at this point in the history
  • Loading branch information
nermalcat69 committed Nov 29, 2024
1 parent a216766 commit a032cb6
Showing 1 changed file with 49 additions and 49 deletions.
98 changes: 49 additions & 49 deletions apps/docs/content/references/importyml/pre-processor.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ Environment variable reference might need to be used as a part of string express

```yaml
# The part ` {ITEM_VALUE}` is taken as a regular text when storing a string value as an internal variable.
# The part ` {ITEM_VALUE` is taken as a regular text when storing a string value as an internal variable.
<@setVar(<commentValue>, <By the way, this ${ITEM_VALUE} is text passed over as a value.>)>
# The returned value will be exactly the same when retrieving the previously stored value.
<@getVar(<commentValue>)>
Expand Down Expand Up @@ -247,14 +247,14 @@ APP_PUBLIC_KEY_SSH: <@getVar(KeyPublicSsh)>
</tr>
<tr>
<td className="w-fit">Syntax example:</td>
<td className="w-fit">`{'<@generateRandomString(<10>)>'}`</td>
<td className="w-fit">`<@generateRandomString(<10>)>`</td>
</tr>
<tr>
<td className="w-fit">Parameters:</td>
<td className="w-fit"></td>
</tr>
<tr>
<td className="w-fit">`{'<length>'}`:</td>
<td className="w-fit">`<length>`:</td>
<td className="w-fit">Required length of the string to be generated in characters (maximum allowed value is 1024).</td>
</tr>
<tr>
Expand All @@ -279,18 +279,18 @@ APP_PUBLIC_KEY_SSH: <@getVar(KeyPublicSsh)>
</tr>
<tr>
<td className="w-fit">Syntax example:</td>
<td className="w-fit">`{'<@generateRandomInt(<200>, <1000>)>'}`</td>
<td className="w-fit">`<@generateRandomInt(<200>, <1000>)>`</td>
</tr>
<tr>
<td className="w-fit">Parameters:</td>
<td className="w-fit"></td>
</tr>
<tr>
<td className="w-fit">`{'<min>'}`:</td>
<td className="w-fit">`<min>`:</td>
<td className="w-fit">Required minimum (inclusive) as a signed integer (from -4,611,686,018,427,387,903 to 4,611,686,018,427,387,903).</td>
</tr>
<tr>
<td className="w-fit">`{'<max>'}`:</td>
<td className="w-fit">`<max>`:</td>
<td className="w-fit">Required maximum (inclusive) as a signed integer (from -4,611,686,018,427,387,903 to 4,611,686,018,427,387,903).</td>
</tr>
<tr>
Expand All @@ -316,14 +316,14 @@ APP_PUBLIC_KEY_SSH: <@getVar(KeyPublicSsh)>
</tr>
<tr>
<td className="w-fit">Syntax example:</td>
<td className="w-fit">`{'<@pickRandom(<640>, <800>, <1024>, <1280>, <1440>, <1920>)>'}`</td>
<td className="w-fit">`<@pickRandom(<640>, <800>, <1024>, <1280>, <1440>, <1920>)>`</td>
</tr>
<tr>
<td className="w-fit">Parameters:</td>
<td className="w-fit"></td>
</tr>
<tr>
<td className="w-fit">`{'<...params>'}`:</td>
<td className="w-fit">`<...params>`:</td>
<td className="w-fit">The required parameters from which the selection will be made.</td>
</tr>
<tr>
Expand All @@ -349,18 +349,18 @@ APP_PUBLIC_KEY_SSH: <@getVar(KeyPublicSsh)>
</tr>
<tr>
<td className="w-fit">Syntax example:</td>
<td className="w-fit">`{'<@setVar(<plainPassword>, <@generateRandomString(<16>)>)>'}`</td>
<td className="w-fit">`<@setVar(<plainPassword>, <@generateRandomString(<16>)>)>`</td>
</tr>
<tr>
<td className="w-fit">Parameters:</td>
<td className="w-fit"></td>
</tr>
<tr>
<td className="w-fit">`{'<varName>'}`:</td>
<td className="w-fit">`<varName>`:</td>
<td className="w-fit">The required parameter of the internal variable name under which the provided content can be retrieved later using <a href="#getvar">getVar</a> function. The chosen name is case-sensitive.</td>
</tr>
<tr>
<td className="w-fit">`{'<content>'}`:</td>
<td className="w-fit">`<content>`:</td>
<td className="w-fit">Any text you want to be stored, including composition using functions. Already existing variable with the same name is overwritten.</td>
</tr>
<tr>
Expand All @@ -386,7 +386,7 @@ APP_PUBLIC_KEY_SSH: <@getVar(KeyPublicSsh)>
</tr>
<tr>
<td className="w-fit">Syntax example:</td>
<td className="w-fit">`{'<@getVar(plainPassword)>'}`</td>
<td className="w-fit">`<@getVar(plainPassword)>`</td>
</tr>
<tr>
<td className="w-fit">Parameters:</td>
Expand Down Expand Up @@ -423,18 +423,18 @@ APP_PUBLIC_KEY_SSH: <@getVar(KeyPublicSsh)>
</tr>
<tr>
<td className="w-fit">Syntax example:</td>
<td className="w-fit">`{'<@generateRandomStringVar(<plainPassword>, <10>)>'}`</td>
<td className="w-fit">`<@generateRandomStringVar(<plainPassword>, <10>)>`</td>
</tr>
<tr>
<td className="w-fit">Parameters:</td>
<td className="w-fit"></td>
</tr>
<tr>
<td className="w-fit">`{'<varName>'}`:</td>
<td className="w-fit">`<varName>`:</td>
<td className="w-fit">The required parameter of the internal variable name under which the provided content can be retrieved later using <a href="#getvar">getVar</a> function. The chosen name is case-sensitive.</td>
</tr>
<tr>
<td className="w-fit">`{'<length>'}`:</td>
<td className="w-fit">`<length>`:</td>
<td className="w-fit">Required length of the string to be generated in characters (maximum allowed value is 1024).</td>
</tr>
<tr>
Expand All @@ -460,18 +460,18 @@ APP_PUBLIC_KEY_SSH: <@getVar(KeyPublicSsh)>
</tr>
<tr>
<td className="w-fit">Syntax example:</td>
<td className="w-fit">`{'<@getDatetime(<DD.MM.YYYY HH:mm:ss>, <CET>)>'}`</td>
<td className="w-fit">`<@getDatetime(<DD.MM.YYYY HH:mm:ss>, <CET>)>`</td>
</tr>
<tr>
<td className="w-fit">Parameters:</td>
<td className="w-fit"></td>
</tr>
<tr>
<td className="w-fit">`{'<mask>'}`:</td>
<td className="w-fit">`<mask>`:</td>
<td className="w-fit">The required parameter of the chosen timezone.</td>
</tr>
<tr>
<td className="w-fit">`{'<timezone>'}`:</td>
<td className="w-fit">`<timezone>`:</td>
<td className="w-fit">
The optional parameter of the chosen timezone. It's possible to select from three different formats: Abbreviation, Location, and POSIX. If not specified, the GMT timezone is set by default.
</td>
Expand Down Expand Up @@ -647,14 +647,14 @@ APP_PUBLIC_KEY_SSH: <@getVar(KeyPublicSsh)>
</tr>
<tr>
<td className="w-fit">Syntax example:</td>
<td className="w-fit">`{'<@generateED25519Key(<Key>)>'}`</td>
<td className="w-fit">`<@generateED25519Key(<Key>)>`</td>
</tr>
<tr>
<td className="w-fit">Parameters:</td>
<td className="w-fit"></td>
</tr>
<tr>
<td className="w-fit">`{'<basename>'}`:</td>
<td className="w-fit">`<basename>`:</td>
<td className="w-fit">
The required parameter is the base name under which all generated key versions will be stored as internal variables in combination with a <a href="#available-set-of-variants-for-generateed25519key">set of variants</a>.
</td>
Expand All @@ -681,29 +681,29 @@ APP_PUBLIC_KEY_SSH: <@getVar(KeyPublicSsh)>
<tr>
<th className="w-fit">Variant</th>
<th className="w-fit">Description</th>
<th className="w-fit">How to use with: `{'<@generateED25519Key(<Key>)>'}`</th>
<th className="w-fit">How to use with: `<@generateED25519Key(<Key>)>`</th>
</tr>
</thead>
<tbody>
<tr>
<td className="w-fit">Public</td>
<td className="w-fit">Public key version. This value is also returned by the called function.</td>
<td className="w-fit">`{'<@getVar(KeyPublic)>'}`</td>
<td className="w-fit">`<@getVar(KeyPublic)>`</td>
</tr>
<tr>
<td className="w-fit">PublicSsh</td>
<td className="w-fit">SSH formatted public key version. For use as the authorized key file.</td>
<td className="w-fit">`{'<@getVar(KeyPublicSsh)>'}`</td>
<td className="w-fit">`<@getVar(KeyPublicSsh)>`</td>
</tr>
<tr>
<td className="w-fit">Private</td>
<td className="w-fit">Private key version in the standard format. Not usable for OpenSSH.</td>
<td className="w-fit">`{'<@getVar(KeyPrivate)>'}`</td>
<td className="w-fit">`<@getVar(KeyPrivate)>`</td>
</tr>
<tr>
<td className="w-fit">PrivateSsh</td>
<td className="w-fit">Private key version in the OpenSSH format.</td>
<td className="w-fit">`{'<@getVar(KeyPrivateSsh)>'}`</td>
<td className="w-fit">`<@getVar(KeyPrivateSsh)>`</td>
</tr>
</tbody>
</table>
Expand Down Expand Up @@ -808,14 +808,14 @@ services:
</tr>
<tr>
<td className="w-fit">Syntax example:</td>
<td className="w-fit">`{'<@generateRSA2048Key(<Key>)>'}`</td>
<td className="w-fit">`<@generateRSA2048Key(<Key>)>`</td>
</tr>
<tr>
<td className="w-fit">Parameters:</td>
<td className="w-fit"></td>
</tr>
<tr>
<td className="w-fit">`{'<basename>'}`:</td>
<td className="w-fit">`<basename>`:</td>
<td className="w-fit">
The required parameter is the base name under which all generated key versions will be stored as internal variables in combination with a <a href="#available-set-of-variants-for-generatersa2048key">set of variants</a>.
</td>
Expand Down Expand Up @@ -843,24 +843,24 @@ services:
<tr>
<th className="w-fit">Variant</th>
<th className="w-fit">Description</th>
<th className="w-fit">How to use with: `{'<@generateRSA2048Key(<Key>)>'}`</th>
<th className="w-fit">How to use with: `<@generateRSA2048Key(<Key>)>`</th>
</tr>
</thead>
<tbody>
<tr>
<td className="w-fit">Public</td>
<td className="w-fit">Public key version. This value is also returned by the called function.</td>
<td className="w-fit">`{'<@getVar(KeyPublic)>'}`</td>
<td className="w-fit">`<@getVar(KeyPublic)>`</td>
</tr>
<tr>
<td className="w-fit">PublicSsh</td>
<td className="w-fit">SSH formatted public key version. For use as the authorized key file.</td>
<td className="w-fit">`{'<@getVar(KeyPublicSsh)>'}`</td>
<td className="w-fit">`<@getVar(KeyPublicSsh)>`</td>
</tr>
<tr>
<td className="w-fit">Private</td>
<td className="w-fit">Private key version in the standard format.</td>
<td className="w-fit">`{'<@getVar(KeyPrivate)>'}`</td>
<td className="w-fit">`<@getVar(KeyPrivate)>`</td>
</tr>
</tbody>
</table>
Expand Down Expand Up @@ -992,14 +992,14 @@ services:
</tr>
<tr>
<td className="w-fit">Syntax example:</td>
<td className="w-fit">`{'<@generateRSA4096Key(<Key>)>'}`</td>
<td className="w-fit">`<@generateRSA4096Key(<Key>)>`</td>
</tr>
<tr>
<td className="w-fit">Parameters:</td>
<td className="w-fit"></td>
</tr>
<tr>
<td className="w-fit">`{'<basename>'}`:</td>
<td className="w-fit">`<basename>`:</td>
<td className="w-fit">
The required parameter is the base name under which all generated key versions will be stored as internal variables in combination with a <a href="#available-set-of-variants-for-generatersa4096key">set of variants</a>.
</td>
Expand All @@ -1026,24 +1026,24 @@ services:
<tr>
<th className="w-fit">Variant</th>
<th className="w-fit">Description</th>
<th className="w-fit">How to use with: `{'<@generateRSA4096Key(<Key>)>'}`</th>
<th className="w-fit">How to use with: `<@generateRSA4096Key(<Key>)>`</th>
</tr>
</thead>
<tbody>
<tr>
<td className="w-fit">Public</td>
<td className="w-fit">Public key version. This value is also returned by the called function.</td>
<td className="w-fit">`{'<@getVar(KeyPublic)>'}`</td>
<td className="w-fit">`<@getVar(KeyPublic)>`</td>
</tr>
<tr>
<td className="w-fit">PublicSsh</td>
<td className="w-fit">SSH formatted public key version. For use as the authorized key file.</td>
<td className="w-fit">`{'<@getVar(KeyPublicSsh)>'}`</td>
<td className="w-fit">`<@getVar(KeyPublicSsh)>`</td>
</tr>
<tr>
<td className="w-fit">Private</td>
<td className="w-fit">Private key version in the standard format.</td>
<td className="w-fit">`{'<@getVar(KeyPrivate)>'}`</td>
<td className="w-fit">`<@getVar(KeyPrivate)>`</td>
</tr>
</tbody>
</table>
Expand Down Expand Up @@ -1244,23 +1244,23 @@ The elegance of using modifiers lies in their simplified syntax for transforming
</thead>
<tbody>
<tr>
<td className="w-fit">`{'<@generateRandomStringVar(<myPassword>, <30>)>'}`</td>
<td className="w-fit">`<@generateRandomStringVar(<myPassword>, <30>)>`</td>
<td className="w-fit">7a14c8e74bc98a0d74253b1d1a4ef6</td>
</tr>
<tr>
<td className="w-fit">`{'<@getVar(myPassword)| sha256>'}`</td>
<td className="w-fit">`<@getVar(myPassword)| sha256>`</td>
<td className="w-fit">081b91d6dff5036229a92e2442fb65d7c8124571d4e70a2ac4729aeb86957407</td>
</tr>
<tr>
<td className="w-fit">`{'<@getVar(myPassword)| sha512>'}`</td>
<td className="w-fit">`<@getVar(myPassword)| sha512>`</td>
<td className="w-fit">89c05547de0aa4926512a958f95ab8bf4096ceec63ad5aad4266890bfa059e0cc98917c54276ba4cd61f1dde4c8efda948fc967885c9dd50558ed939722ca10c</td>
</tr>
<tr>
<td className="w-fit">`{'<@getVar(myPassword)| bcrypt>'}`</td>
<td className="w-fit">`<@getVar(myPassword)| bcrypt>`</td>
<td className="w-fit">$2a$10$CxKZX0yIxdc7ts6eI5aBu.g.heAsFcePdMDEpnlViTlo3vGc//PXe</td>
</tr>
<tr>
<td className="w-fit">`{'<@getVar(myPassword)| argon2id>'}`</td>
<td className="w-fit">`<@getVar(myPassword)| argon2id>`</td>
<td className="w-fit">$argon2id$v=19$m=98304,t=1,p=3$uWBpmoUT3sfckXHyRF9hlg$8bGtNffuHxaRIgN99zCmJeGEYJF5BY2J9TwzqmezP28</td>
</tr>
</tbody>
Expand All @@ -1279,31 +1279,31 @@ The elegance of using modifiers lies in their simplified syntax for transforming
</thead>
<tbody>
<tr>
<td className="w-fit">`{'<sTATic StrINg wiTH a mOdifIER| upper>'}`</td>
<td className="w-fit">`<sTATic StrINg wiTH a mOdifIER| upper>`</td>
<td className="w-fit">STATIC STRING WITH A MODIFIER</td>
</tr>
<tr>
<td className="w-fit">`{'<sTATic StrINg wiTH a mOdifIER| lower>'}`</td>
<td className="w-fit">`<sTATic StrINg wiTH a mOdifIER| lower>`</td>
<td className="w-fit">static string with a modifier</td>
</tr>
<tr>
<td className="w-fit">`{'<sTATic StrINg wiTH a mOdifIER | lower>'}`</td>
<td className="w-fit">`<sTATic StrINg wiTH a mOdifIER | lower>`</td>
<td className="w-fit">static string with a modifier&nbsp;</td>
</tr>
<tr>
<td className="w-fit">`{'<sTATic StrINg wiTH a mOdifIER| upper | lower>'}`</td>
<td className="w-fit">`<sTATic StrINg wiTH a mOdifIER| upper | lower>`</td>
<td className="w-fit">static string with a modifier</td>
</tr>
<tr>
<td className="w-fit">`{'<sTATic StrINg wiTH a mOdifIER| title>'}`</td>
<td className="w-fit">`<sTATic StrINg wiTH a mOdifIER| title>`</td>
<td className="w-fit">Static String With A Modifier</td>
</tr>
<tr>
<td className="w-fit">`{'<@generateRandomString(<30>) | upper>'}`</td>
<td className="w-fit">`<@generateRandomString(<30>) | upper>`</td>
<td className="w-fit">7A14C8E74BC98A0D74253B1D1A4EF6</td>
</tr>
<tr>
<td className="w-fit">`{'<@setVar(<bucketName>, <@generateRandomString(<10>) | lower>)>'}`</td>
<td className="w-fit">`<@setVar(<bucketName>, <@generateRandomString(<10>) | lower>)>`</td>
<td className="w-fit">h73ep149sd</td>
</tr>
</tbody>
Expand Down

0 comments on commit a032cb6

Please sign in to comment.