Skip to content

Commit

Permalink
Deploying to gh-pages from @ 83c69f0 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
taylordowns2000 committed Jul 27, 2023
1 parent 31e7f8f commit 0b608f7
Show file tree
Hide file tree
Showing 26 changed files with 286 additions and 286 deletions.
126 changes: 63 additions & 63 deletions Lightning.Accounts.html

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions Lightning.AdaptorRegistry.Npm.html
Original file line number Diff line number Diff line change
Expand Up @@ -1659,14 +1659,14 @@ <h1 class="signature" translate="no">request(request)</h1>
</a>
Examples
</h2>
<pre><code class="makeup elixir" translate="no"><span class="n">request</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="p" data-group-id="5555884951-1">%</span><span class="nc" data-group-id="5555884951-1">HTTPoison.Request</span><span class="p" data-group-id="5555884951-1">{</span><span class="w">
<pre><code class="makeup elixir" translate="no"><span class="n">request</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="p" data-group-id="4026374886-1">%</span><span class="nc" data-group-id="4026374886-1">HTTPoison.Request</span><span class="p" data-group-id="4026374886-1">{</span><span class="w">
</span><span class="ss">method</span><span class="p">:</span><span class="w"> </span><span class="ss">:post</span><span class="p">,</span><span class="w">
</span><span class="ss">url</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;https://my.website.com&quot;</span><span class="p">,</span><span class="w">
</span><span class="ss">body</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;{</span><span class="se">\&quot;</span><span class="s">foo</span><span class="se">\&quot;</span><span class="s">: 3}&quot;</span><span class="p">,</span><span class="w">
</span><span class="ss">headers</span><span class="p">:</span><span class="w"> </span><span class="p" data-group-id="5555884951-2">[</span><span class="p" data-group-id="5555884951-3">{</span><span class="s">&quot;Accept&quot;</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;application/json&quot;</span><span class="p" data-group-id="5555884951-3">}</span><span class="p" data-group-id="5555884951-2">]</span><span class="w">
</span><span class="p" data-group-id="5555884951-1">}</span><span class="w">
</span><span class="ss">headers</span><span class="p">:</span><span class="w"> </span><span class="p" data-group-id="4026374886-2">[</span><span class="p" data-group-id="4026374886-3">{</span><span class="s">&quot;Accept&quot;</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;application/json&quot;</span><span class="p" data-group-id="4026374886-3">}</span><span class="p" data-group-id="4026374886-2">]</span><span class="w">
</span><span class="p" data-group-id="4026374886-1">}</span><span class="w">

</span><span class="n">request</span><span class="p" data-group-id="5555884951-4">(</span><span class="n">request</span><span class="p" data-group-id="5555884951-4">)</span></code></pre>
</span><span class="n">request</span><span class="p" data-group-id="4026374886-4">(</span><span class="n">request</span><span class="p" data-group-id="4026374886-4">)</span></code></pre>
</section>
</section>
<section class="detail" id="request/5">
Expand Down Expand Up @@ -1724,7 +1724,7 @@ <h1 class="signature" translate="no">request(method, url, body \\ &quot;&quot;,
</a>
Examples
</h2>
<pre><code class="makeup elixir" translate="no"><span class="n">request</span><span class="p" data-group-id="2509379641-1">(</span><span class="ss">:post</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;https://my.website.com&quot;</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;{</span><span class="se">\&quot;</span><span class="s">foo</span><span class="se">\&quot;</span><span class="s">: 3}&quot;</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="2509379641-2">[</span><span class="p" data-group-id="2509379641-3">{</span><span class="s">&quot;Accept&quot;</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;application/json&quot;</span><span class="p" data-group-id="2509379641-3">}</span><span class="p" data-group-id="2509379641-2">]</span><span class="p" data-group-id="2509379641-1">)</span></code></pre>
<pre><code class="makeup elixir" translate="no"><span class="n">request</span><span class="p" data-group-id="1047031553-1">(</span><span class="ss">:post</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;https://my.website.com&quot;</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;{</span><span class="se">\&quot;</span><span class="s">foo</span><span class="se">\&quot;</span><span class="s">: 3}&quot;</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="1047031553-2">[</span><span class="p" data-group-id="1047031553-3">{</span><span class="s">&quot;Accept&quot;</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;application/json&quot;</span><span class="p" data-group-id="1047031553-3">}</span><span class="p" data-group-id="1047031553-2">]</span><span class="p" data-group-id="1047031553-1">)</span></code></pre>
</section>
</section>
<section class="detail" id="request!/5">
Expand Down
12 changes: 6 additions & 6 deletions Lightning.AdaptorRegistry.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ <h1>
<p>Registry process to query and maintain a list of adaptors available for
writing jobs.</p><p>Currently it queries NPM for all modules in the <code class="inline">@openfn</code> organization and
filters out modules that are known not to be adaptors.</p><p><strong>Usage</strong></p><pre><code class="makeup elixir" translate="no"><span class="c1"># Starting the process</span><span class="w">
</span><span class="nc">AdaptorRegistry</span><span class="o">.</span><span class="n">start_link</span><span class="p" data-group-id="5635975569-1">(</span><span class="p" data-group-id="5635975569-1">)</span><span class="w">
</span><span class="nc">AdaptorRegistry</span><span class="o">.</span><span class="n">start_link</span><span class="p" data-group-id="8913525651-1">(</span><span class="p" data-group-id="8913525651-1">)</span><span class="w">
</span><span class="c1"># Getting a list of all adaptors</span><span class="w">
</span><span class="nc">Lightning.AdaptorRegistry.AdaptorRegistry</span><span class="o">.</span><span class="n">all</span><span class="p" data-group-id="5635975569-2">(</span><span class="p" data-group-id="5635975569-2">)</span></code></pre><p><strong>Caching</strong></p><p>By default the results are cached to disk, and will be reused every start.</p><p>In order to disable or configure caching pass see: <a href="#start_link/1"><code class="inline">start_link/1</code></a>.</p><p>The process uses <code class="inline">:continue</code> to return before the adaptors have been queried.
</span><span class="nc">Lightning.AdaptorRegistry.AdaptorRegistry</span><span class="o">.</span><span class="n">all</span><span class="p" data-group-id="8913525651-2">(</span><span class="p" data-group-id="8913525651-2">)</span></code></pre><p><strong>Caching</strong></p><p>By default the results are cached to disk, and will be reused every start.</p><p>In order to disable or configure caching pass see: <a href="#start_link/1"><code class="inline">start_link/1</code></a>.</p><p>The process uses <code class="inline">:continue</code> to return before the adaptors have been queried.
This does mean that the first call to the process will be delayed until
the <code class="inline">handle_continue/2</code> has finished.</p><p><strong>Timeouts</strong></p><p>There is a 'general' timeout of 30s, this is used for GenServer calls like
<a href="#all/1"><code class="inline">all/1</code></a> and also internally when the modules are being queried. NPM can
Expand Down Expand Up @@ -411,10 +411,10 @@ <h1 class="signature" translate="no">resolve_package_name(package_name)</h1>

</div>

<p>Destructures an NPM style package name into module name and version.</p><p><strong>Example</strong></p><pre><code class="makeup elixir" translate="no"><span class="gp unselectable">iex&gt; </span><span class="n">resolve_package_name</span><span class="p" data-group-id="2754131239-1">(</span><span class="s">&quot;@openfn/[email protected]&quot;</span><span class="p" data-group-id="2754131239-1">)</span><span class="w">
</span><span class="p" data-group-id="2754131239-2">{</span><span class="w"> </span><span class="s">&quot;@openfn/language-salesforce&quot;</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;1.2.3&quot;</span><span class="w"> </span><span class="p" data-group-id="2754131239-2">}</span><span class="w">
</span><span class="gp unselectable">iex&gt; </span><span class="n">resolve_package_name</span><span class="p" data-group-id="2754131239-3">(</span><span class="s">&quot;@openfn/language-salesforce&quot;</span><span class="p" data-group-id="2754131239-3">)</span><span class="w">
</span><span class="p" data-group-id="2754131239-4">{</span><span class="w"> </span><span class="s">&quot;@openfn/language-salesforce&quot;</span><span class="p">,</span><span class="w"> </span><span class="no">nil</span><span class="w"> </span><span class="p" data-group-id="2754131239-4">}</span></code></pre>
<p>Destructures an NPM style package name into module name and version.</p><p><strong>Example</strong></p><pre><code class="makeup elixir" translate="no"><span class="gp unselectable">iex&gt; </span><span class="n">resolve_package_name</span><span class="p" data-group-id="6969130337-1">(</span><span class="s">&quot;@openfn/[email protected]&quot;</span><span class="p" data-group-id="6969130337-1">)</span><span class="w">
</span><span class="p" data-group-id="6969130337-2">{</span><span class="w"> </span><span class="s">&quot;@openfn/language-salesforce&quot;</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;1.2.3&quot;</span><span class="w"> </span><span class="p" data-group-id="6969130337-2">}</span><span class="w">
</span><span class="gp unselectable">iex&gt; </span><span class="n">resolve_package_name</span><span class="p" data-group-id="6969130337-3">(</span><span class="s">&quot;@openfn/language-salesforce&quot;</span><span class="p" data-group-id="6969130337-3">)</span><span class="w">
</span><span class="p" data-group-id="6969130337-4">{</span><span class="w"> </span><span class="s">&quot;@openfn/language-salesforce&quot;</span><span class="p">,</span><span class="w"> </span><span class="no">nil</span><span class="w"> </span><span class="p" data-group-id="6969130337-4">}</span></code></pre>
</section>
</section>
<section class="detail" id="resolve_package_name!/1">
Expand Down
8 changes: 4 additions & 4 deletions Lightning.AttemptService.html
Original file line number Diff line number Diff line change
Expand Up @@ -354,11 +354,11 @@ <h1 class="signature" translate="no">create_attempt(work_order, job, reason)</h1
</a>
Examples
</h2>
<pre><code class="makeup elixir" translate="no"><span class="gp unselectable">iex&gt; </span><span class="n">create_attempt</span><span class="p" data-group-id="8025438802-1">(</span><span class="p" data-group-id="8025438802-2">%{</span><span class="ss">field</span><span class="p">:</span><span class="w"> </span><span class="n">value</span><span class="p" data-group-id="8025438802-2">}</span><span class="p" data-group-id="8025438802-1">)</span><span class="w">
</span><span class="p" data-group-id="8025438802-3">{</span><span class="ss">:ok</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="8025438802-4">%</span><span class="nc" data-group-id="8025438802-4">Attempt</span><span class="p" data-group-id="8025438802-4">{</span><span class="p" data-group-id="8025438802-4">}</span><span class="p" data-group-id="8025438802-3">}</span><span class="w">
<pre><code class="makeup elixir" translate="no"><span class="gp unselectable">iex&gt; </span><span class="n">create_attempt</span><span class="p" data-group-id="8467186986-1">(</span><span class="p" data-group-id="8467186986-2">%{</span><span class="ss">field</span><span class="p">:</span><span class="w"> </span><span class="n">value</span><span class="p" data-group-id="8467186986-2">}</span><span class="p" data-group-id="8467186986-1">)</span><span class="w">
</span><span class="p" data-group-id="8467186986-3">{</span><span class="ss">:ok</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="8467186986-4">%</span><span class="nc" data-group-id="8467186986-4">Attempt</span><span class="p" data-group-id="8467186986-4">{</span><span class="p" data-group-id="8467186986-4">}</span><span class="p" data-group-id="8467186986-3">}</span><span class="w">

</span><span class="gp unselectable">iex&gt; </span><span class="n">create_attempt</span><span class="p" data-group-id="8025438802-5">(</span><span class="p" data-group-id="8025438802-6">%{</span><span class="ss">field</span><span class="p">:</span><span class="w"> </span><span class="n">bad_value</span><span class="p" data-group-id="8025438802-6">}</span><span class="p" data-group-id="8025438802-5">)</span><span class="w">
</span><span class="p" data-group-id="8025438802-7">{</span><span class="ss">:error</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="8025438802-8">%</span><span class="nc" data-group-id="8025438802-8">Ecto.Changeset</span><span class="p" data-group-id="8025438802-8">{</span><span class="p" data-group-id="8025438802-8">}</span><span class="p" data-group-id="8025438802-7">}</span></code></pre>
</span><span class="gp unselectable">iex&gt; </span><span class="n">create_attempt</span><span class="p" data-group-id="8467186986-5">(</span><span class="p" data-group-id="8467186986-6">%{</span><span class="ss">field</span><span class="p">:</span><span class="w"> </span><span class="n">bad_value</span><span class="p" data-group-id="8467186986-6">}</span><span class="p" data-group-id="8467186986-5">)</span><span class="w">
</span><span class="p" data-group-id="8467186986-7">{</span><span class="ss">:error</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="8467186986-8">%</span><span class="nc" data-group-id="8467186986-8">Ecto.Changeset</span><span class="p" data-group-id="8467186986-8">{</span><span class="p" data-group-id="8467186986-8">}</span><span class="p" data-group-id="8467186986-7">}</span></code></pre>
</section>
</section>
<section class="detail" id="get_for_rerun/2">
Expand Down
10 changes: 5 additions & 5 deletions Lightning.AuthProviders.WellKnown.html
Original file line number Diff line number Diff line change
Expand Up @@ -1834,14 +1834,14 @@ <h1 class="signature" translate="no">request(request)</h1>
</a>
Examples
</h2>
<pre><code class="makeup elixir" translate="no"><span class="n">request</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="p" data-group-id="9060799798-1">%</span><span class="nc" data-group-id="9060799798-1">HTTPoison.Request</span><span class="p" data-group-id="9060799798-1">{</span><span class="w">
<pre><code class="makeup elixir" translate="no"><span class="n">request</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="p" data-group-id="3666829063-1">%</span><span class="nc" data-group-id="3666829063-1">HTTPoison.Request</span><span class="p" data-group-id="3666829063-1">{</span><span class="w">
</span><span class="ss">method</span><span class="p">:</span><span class="w"> </span><span class="ss">:post</span><span class="p">,</span><span class="w">
</span><span class="ss">url</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;https://my.website.com&quot;</span><span class="p">,</span><span class="w">
</span><span class="ss">body</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;{</span><span class="se">\&quot;</span><span class="s">foo</span><span class="se">\&quot;</span><span class="s">: 3}&quot;</span><span class="p">,</span><span class="w">
</span><span class="ss">headers</span><span class="p">:</span><span class="w"> </span><span class="p" data-group-id="9060799798-2">[</span><span class="p" data-group-id="9060799798-3">{</span><span class="s">&quot;Accept&quot;</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;application/json&quot;</span><span class="p" data-group-id="9060799798-3">}</span><span class="p" data-group-id="9060799798-2">]</span><span class="w">
</span><span class="p" data-group-id="9060799798-1">}</span><span class="w">
</span><span class="ss">headers</span><span class="p">:</span><span class="w"> </span><span class="p" data-group-id="3666829063-2">[</span><span class="p" data-group-id="3666829063-3">{</span><span class="s">&quot;Accept&quot;</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;application/json&quot;</span><span class="p" data-group-id="3666829063-3">}</span><span class="p" data-group-id="3666829063-2">]</span><span class="w">
</span><span class="p" data-group-id="3666829063-1">}</span><span class="w">

</span><span class="n">request</span><span class="p" data-group-id="9060799798-4">(</span><span class="n">request</span><span class="p" data-group-id="9060799798-4">)</span></code></pre>
</span><span class="n">request</span><span class="p" data-group-id="3666829063-4">(</span><span class="n">request</span><span class="p" data-group-id="3666829063-4">)</span></code></pre>
</section>
</section>
<section class="detail" id="request/5">
Expand Down Expand Up @@ -1899,7 +1899,7 @@ <h1 class="signature" translate="no">request(method, url, body \\ &quot;&quot;,
</a>
Examples
</h2>
<pre><code class="makeup elixir" translate="no"><span class="n">request</span><span class="p" data-group-id="7656787248-1">(</span><span class="ss">:post</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;https://my.website.com&quot;</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;{</span><span class="se">\&quot;</span><span class="s">foo</span><span class="se">\&quot;</span><span class="s">: 3}&quot;</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="7656787248-2">[</span><span class="p" data-group-id="7656787248-3">{</span><span class="s">&quot;Accept&quot;</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;application/json&quot;</span><span class="p" data-group-id="7656787248-3">}</span><span class="p" data-group-id="7656787248-2">]</span><span class="p" data-group-id="7656787248-1">)</span></code></pre>
<pre><code class="makeup elixir" translate="no"><span class="n">request</span><span class="p" data-group-id="3374321537-1">(</span><span class="ss">:post</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;https://my.website.com&quot;</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;{</span><span class="se">\&quot;</span><span class="s">foo</span><span class="se">\&quot;</span><span class="s">: 3}&quot;</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="3374321537-2">[</span><span class="p" data-group-id="3374321537-3">{</span><span class="s">&quot;Accept&quot;</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;application/json&quot;</span><span class="p" data-group-id="3374321537-3">}</span><span class="p" data-group-id="3374321537-2">]</span><span class="p" data-group-id="3374321537-1">)</span></code></pre>
</section>
</section>
<section class="detail" id="request!/5">
Expand Down
Loading

0 comments on commit 0b608f7

Please sign in to comment.