Skip to content

Commit

Permalink
Add when/otherwise/endWhen control flow operations (#28)
Browse files Browse the repository at this point in the history
LanguageManager now adds the default language to the global data
Update change log
Bump version
New docs and schema
  • Loading branch information
rolandzwaga authored Nov 2, 2022
1 parent f7de902 commit 415cda2
Show file tree
Hide file tree
Showing 359 changed files with 3,362 additions and 4,455 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
node_modules
dist
/.yarn/cache
/.yarn/install-state.gz
/.yarn/install-state.gz
jsonschema/operations
jsonschema/operation-templates
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## 1.0.17
- Add `when`, `otherwise` and `endWhen` operations to support if/else control flows
- Add `defaultLanguage` to global data

## 1.0.16
- Add static `extend` and `extendMultiple` methods to ConfigurationFactory
- ActionCreatorFactory.ActionCreator now correctly returns an EndableActionCreator
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/search.js

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions docs/classes/Action.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h4>Implements</h4>
<ul class="tsd-hierarchy">
<li><a href="../interfaces/IAction.html" class="tsd-signature-type" data-tsd-kind="Interface">IAction</a></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/rolandzwaga/eligius/blob/2452c68/src/action/action.ts#L9">action/action.ts:9</a></li></ul></aside>
<li>Defined in <a href="https://github.com/rolandzwaga/eligius/blob/f7de902/src/action/action.ts#L9">action/action.ts:9</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
Expand Down Expand Up @@ -66,32 +66,32 @@ <h5>startOperations: <a href="../interfaces/IResolvedOperation.html" class="tsd-
<h5>eventbus: <a href="../interfaces/IEventbus.html" class="tsd-signature-type" data-tsd-kind="Interface">IEventbus</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="Action.html" class="tsd-signature-type" data-tsd-kind="Class">Action</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/rolandzwaga/eligius/blob/2452c68/src/action/action.ts#L12">action/action.ts:12</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/rolandzwaga/eligius/blob/f7de902/src/action/action.ts#L12">action/action.ts:12</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a id="eventbus" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>eventbus</span><a href="#eventbus" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">eventbus<span class="tsd-signature-symbol">:</span> <a href="../interfaces/IEventbus.html" class="tsd-signature-type" data-tsd-kind="Interface">IEventbus</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/rolandzwaga/eligius/blob/2452c68/src/action/action.ts#L15">action/action.ts:15</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/rolandzwaga/eligius/blob/f7de902/src/action/action.ts#L15">action/action.ts:15</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="id" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>id</span><a href="#id" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">id<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &#39;&#39;</span></div><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/IAction.html">IAction</a>.<a href="../interfaces/IAction.html#id">id</a></p>
<ul>
<li>Defined in <a href="https://github.com/rolandzwaga/eligius/blob/2452c68/src/action/action.ts#L10">action/action.ts:10</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/rolandzwaga/eligius/blob/f7de902/src/action/action.ts#L10">action/action.ts:10</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="name" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>name</span><a href="#name" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/IAction.html">IAction</a>.<a href="../interfaces/IAction.html#name">name</a></p>
<ul>
<li>Defined in <a href="https://github.com/rolandzwaga/eligius/blob/2452c68/src/action/action.ts#L13">action/action.ts:13</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/rolandzwaga/eligius/blob/f7de902/src/action/action.ts#L13">action/action.ts:13</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="startOperations" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>start<wbr/>Operations</span><a href="#startOperations" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">start<wbr/>Operations<span class="tsd-signature-symbol">:</span> <a href="../interfaces/IResolvedOperation.html" class="tsd-signature-type" data-tsd-kind="Interface">IResolvedOperation</a><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/IAction.html">IAction</a>.<a href="../interfaces/IAction.html#startOperations">startOperations</a></p>
<ul>
<li>Defined in <a href="https://github.com/rolandzwaga/eligius/blob/2452c68/src/action/action.ts#L14">action/action.ts:14</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/rolandzwaga/eligius/blob/f7de902/src/action/action.ts#L14">action/action.ts:14</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="executeOperation" class="tsd-anchor"></a>
Expand Down Expand Up @@ -138,7 +138,7 @@ <h5>previousOperationData: <span class="tsd-signature-type">undefined</span><spa
<h5>context: <a href="../interfaces/IOperationContext.html" class="tsd-signature-type" data-tsd-kind="Interface">IOperationContext</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/rolandzwaga/eligius/blob/2452c68/src/action/action.ts#L62">action/action.ts:62</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/rolandzwaga/eligius/blob/f7de902/src/action/action.ts#L62">action/action.ts:62</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="start" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>start</span><a href="#start" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
Expand All @@ -152,7 +152,7 @@ <h5><code class="tsd-tag ts-flagOptional">Optional</code> initOperationData: <a
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../types/TOperationData.html" class="tsd-signature-type" data-tsd-kind="Type alias">TOperationData</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/IAction.html">IAction</a>.<a href="../interfaces/IAction.html#start">start</a></p>
<ul>
<li>Defined in <a href="https://github.com/rolandzwaga/eligius/blob/2452c68/src/action/action.ts#L18">action/action.ts:18</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/rolandzwaga/eligius/blob/f7de902/src/action/action.ts#L18">action/action.ts:18</a></li></ul></aside></li></ul></section></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
Loading

0 comments on commit 415cda2

Please sign in to comment.