mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-05 03:30:05 +00:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
131c672020 | ||
|
|
338f2fb2dd | ||
|
|
4552a9a856 | ||
|
|
daeb753f9e | ||
|
|
f50a99d0b8 | ||
|
|
e6d0d3efd5 | ||
|
|
057460467c |
File diff suppressed because one or more lines are too long
231
docs/classes/reflection-743.reflection-195.fileuploader.html
Normal file
231
docs/classes/reflection-743.reflection-195.fileuploader.html
Normal file
File diff suppressed because one or more lines are too long
312
docs/classes/reflection-743.reflection-195.sas9apiclient.html
Normal file
312
docs/classes/reflection-743.reflection-195.sas9apiclient.html
Normal file
File diff suppressed because one or more lines are too long
1419
docs/classes/reflection-743.reflection-195.sasjs.html
Normal file
1419
docs/classes/reflection-743.reflection-195.sasjs.html
Normal file
File diff suppressed because one or more lines are too long
1415
docs/classes/reflection-743.reflection-195.sasviyaapiclient.html
Normal file
1415
docs/classes/reflection-743.reflection-195.sasviyaapiclient.html
Normal file
File diff suppressed because one or more lines are too long
271
docs/classes/reflection-743.reflection-195.sessionmanager.html
Normal file
271
docs/classes/reflection-743.reflection-195.sessionmanager.html
Normal file
File diff suppressed because one or more lines are too long
231
docs/classes/reflection-759.reflection-211.fileuploader.html
Normal file
231
docs/classes/reflection-759.reflection-211.fileuploader.html
Normal file
File diff suppressed because one or more lines are too long
312
docs/classes/reflection-759.reflection-211.sas9apiclient.html
Normal file
312
docs/classes/reflection-759.reflection-211.sas9apiclient.html
Normal file
File diff suppressed because one or more lines are too long
1430
docs/classes/reflection-759.reflection-211.sasjs.html
Normal file
1430
docs/classes/reflection-759.reflection-211.sasjs.html
Normal file
File diff suppressed because one or more lines are too long
1395
docs/classes/reflection-759.reflection-211.sasviyaapiclient.html
Normal file
1395
docs/classes/reflection-759.reflection-211.sasviyaapiclient.html
Normal file
File diff suppressed because one or more lines are too long
271
docs/classes/reflection-759.reflection-211.sessionmanager.html
Normal file
271
docs/classes/reflection-759.reflection-211.sessionmanager.html
Normal file
File diff suppressed because one or more lines are too long
231
docs/classes/reflection-762.reflection-214.fileuploader.html
Normal file
231
docs/classes/reflection-762.reflection-214.fileuploader.html
Normal file
File diff suppressed because one or more lines are too long
312
docs/classes/reflection-762.reflection-214.sas9apiclient.html
Normal file
312
docs/classes/reflection-762.reflection-214.sas9apiclient.html
Normal file
File diff suppressed because one or more lines are too long
1430
docs/classes/reflection-762.reflection-214.sasjs.html
Normal file
1430
docs/classes/reflection-762.reflection-214.sasjs.html
Normal file
File diff suppressed because one or more lines are too long
1395
docs/classes/reflection-762.reflection-214.sasviyaapiclient.html
Normal file
1395
docs/classes/reflection-762.reflection-214.sasviyaapiclient.html
Normal file
File diff suppressed because one or more lines are too long
271
docs/classes/reflection-762.reflection-214.sessionmanager.html
Normal file
271
docs/classes/reflection-762.reflection-214.sessionmanager.html
Normal file
File diff suppressed because one or more lines are too long
@@ -181,6 +181,9 @@
|
|||||||
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
<a href="../interfaces/types.context.html" class="tsd-kind-icon">Context</a>
|
<a href="../interfaces/types.context.html" class="tsd-kind-icon">Context</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
|
<a href="../interfaces/types.contextallattributes.html" class="tsd-kind-icon">Context<wbr>All<wbr>Attributes</a>
|
||||||
|
</li>
|
||||||
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
<a href="../interfaces/types.csrftoken.html" class="tsd-kind-icon">Csrf<wbr>Token</a>
|
<a href="../interfaces/types.csrftoken.html" class="tsd-kind-icon">Csrf<wbr>Token</a>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -331,6 +331,9 @@
|
|||||||
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
<a href="../interfaces/types.context.html" class="tsd-kind-icon">Context</a>
|
<a href="../interfaces/types.context.html" class="tsd-kind-icon">Context</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
|
<a href="../interfaces/types.contextallattributes.html" class="tsd-kind-icon">Context<wbr>All<wbr>Attributes</a>
|
||||||
|
</li>
|
||||||
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
<a href="../interfaces/types.csrftoken.html" class="tsd-kind-icon">Csrf<wbr>Token</a>
|
<a href="../interfaces/types.csrftoken.html" class="tsd-kind-icon">Csrf<wbr>Token</a>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -154,6 +154,9 @@
|
|||||||
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
<a href="../interfaces/types.context.html" class="tsd-kind-icon">Context</a>
|
<a href="../interfaces/types.context.html" class="tsd-kind-icon">Context</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
|
<a href="../interfaces/types.contextallattributes.html" class="tsd-kind-icon">Context<wbr>All<wbr>Attributes</a>
|
||||||
|
</li>
|
||||||
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
<a href="../interfaces/types.csrftoken.html" class="tsd-kind-icon">Csrf<wbr>Token</a>
|
<a href="../interfaces/types.csrftoken.html" class="tsd-kind-icon">Csrf<wbr>Token</a>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -76,7 +76,7 @@
|
|||||||
<section class="tsd-index-section ">
|
<section class="tsd-index-section ">
|
||||||
<h3>Modules</h3>
|
<h3>Modules</h3>
|
||||||
<ul class="tsd-index-list">
|
<ul class="tsd-index-list">
|
||||||
<li class="tsd-kind-module tsd-is-not-exported"><a href="modules/reflection-734.html" class="tsd-kind-icon"><em>Module</em></a></li>
|
<li class="tsd-kind-module tsd-is-not-exported"><a href="modules/reflection-762.html" class="tsd-kind-icon"><em>Module</em></a></li>
|
||||||
<li class="tsd-kind-module"><a href="modules/types.html" class="tsd-kind-icon">types</a></li>
|
<li class="tsd-kind-module"><a href="modules/types.html" class="tsd-kind-icon">types</a></li>
|
||||||
<li class="tsd-kind-module"><a href="modules/utils.html" class="tsd-kind-icon">utils</a></li>
|
<li class="tsd-kind-module"><a href="modules/utils.html" class="tsd-kind-icon">utils</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
@@ -211,6 +211,9 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<ul class="after-current">
|
<ul class="after-current">
|
||||||
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
|
<a href="types.contextallattributes.html" class="tsd-kind-icon">Context<wbr>All<wbr>Attributes</a>
|
||||||
|
</li>
|
||||||
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
<a href="types.csrftoken.html" class="tsd-kind-icon">Csrf<wbr>Token</a>
|
<a href="types.csrftoken.html" class="tsd-kind-icon">Csrf<wbr>Token</a>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
398
docs/interfaces/types.contextallattributes.html
Normal file
398
docs/interfaces/types.contextallattributes.html
Normal file
File diff suppressed because one or more lines are too long
@@ -145,6 +145,9 @@
|
|||||||
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
<a href="types.context.html" class="tsd-kind-icon">Context</a>
|
<a href="types.context.html" class="tsd-kind-icon">Context</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
|
<a href="types.contextallattributes.html" class="tsd-kind-icon">Context<wbr>All<wbr>Attributes</a>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<ul class="current">
|
<ul class="current">
|
||||||
<li class="current tsd-kind-interface tsd-parent-kind-module root">
|
<li class="current tsd-kind-interface tsd-parent-kind-module root">
|
||||||
|
|||||||
@@ -95,6 +95,7 @@
|
|||||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="types.editcontextinput.html#authorizedusers" class="tsd-kind-icon">authorizedUsers</a></li>
|
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="types.editcontextinput.html#authorizedusers" class="tsd-kind-icon">authorizedUsers</a></li>
|
||||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="types.editcontextinput.html#description" class="tsd-kind-icon">description</a></li>
|
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="types.editcontextinput.html#description" class="tsd-kind-icon">description</a></li>
|
||||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="types.editcontextinput.html#environment" class="tsd-kind-icon">environment</a></li>
|
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="types.editcontextinput.html#environment" class="tsd-kind-icon">environment</a></li>
|
||||||
|
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="types.editcontextinput.html#id" class="tsd-kind-icon">id</a></li>
|
||||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="types.editcontextinput.html#launchcontext" class="tsd-kind-icon">launchContext</a></li>
|
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="types.editcontextinput.html#launchcontext" class="tsd-kind-icon">launchContext</a></li>
|
||||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="types.editcontextinput.html#name" class="tsd-kind-icon">name</a></li>
|
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="types.editcontextinput.html#name" class="tsd-kind-icon">name</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
@@ -174,6 +175,20 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
</section>
|
</section>
|
||||||
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
|
||||||
|
<a name="id" class="tsd-anchor"></a>
|
||||||
|
<h3><span class="tsd-flag ts-flagOptional">Optional</span> id</h3>
|
||||||
|
<div class="tsd-signature tsd-kind-icon">id<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></div>
|
||||||
|
<aside class="tsd-sources">
|
||||||
|
<ul>
|
||||||
|
<li>Defined in
|
||||||
|
<a href="https://github.com/sasjs/adapter/blob/master/src/types/Context.ts#L17">
|
||||||
|
types/Context.ts:17
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</aside>
|
||||||
|
</section>
|
||||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
|
||||||
<a name="launchcontext" class="tsd-anchor"></a>
|
<a name="launchcontext" class="tsd-anchor"></a>
|
||||||
<h3><span class="tsd-flag ts-flagOptional">Optional</span> launch<wbr>Context</h3>
|
<h3><span class="tsd-flag ts-flagOptional">Optional</span> launch<wbr>Context</h3>
|
||||||
@@ -220,6 +235,9 @@
|
|||||||
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
<a href="types.context.html" class="tsd-kind-icon">Context</a>
|
<a href="types.context.html" class="tsd-kind-icon">Context</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
|
<a href="types.contextallattributes.html" class="tsd-kind-icon">Context<wbr>All<wbr>Attributes</a>
|
||||||
|
</li>
|
||||||
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
<a href="types.csrftoken.html" class="tsd-kind-icon">Csrf<wbr>Token</a>
|
<a href="types.csrftoken.html" class="tsd-kind-icon">Csrf<wbr>Token</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -243,6 +261,9 @@
|
|||||||
<li class=" tsd-kind-property tsd-parent-kind-interface">
|
<li class=" tsd-kind-property tsd-parent-kind-interface">
|
||||||
<a href="types.editcontextinput.html#environment" class="tsd-kind-icon">environment</a>
|
<a href="types.editcontextinput.html#environment" class="tsd-kind-icon">environment</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class=" tsd-kind-property tsd-parent-kind-interface">
|
||||||
|
<a href="types.editcontextinput.html#id" class="tsd-kind-icon">id</a>
|
||||||
|
</li>
|
||||||
<li class=" tsd-kind-property tsd-parent-kind-interface">
|
<li class=" tsd-kind-property tsd-parent-kind-interface">
|
||||||
<a href="types.editcontextinput.html#launchcontext" class="tsd-kind-icon">launch<wbr>Context</a>
|
<a href="types.editcontextinput.html#launchcontext" class="tsd-kind-icon">launch<wbr>Context</a>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -160,6 +160,9 @@
|
|||||||
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
<a href="types.context.html" class="tsd-kind-icon">Context</a>
|
<a href="types.context.html" class="tsd-kind-icon">Context</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
|
<a href="types.contextallattributes.html" class="tsd-kind-icon">Context<wbr>All<wbr>Attributes</a>
|
||||||
|
</li>
|
||||||
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
<a href="types.csrftoken.html" class="tsd-kind-icon">Csrf<wbr>Token</a>
|
<a href="types.csrftoken.html" class="tsd-kind-icon">Csrf<wbr>Token</a>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -235,6 +235,9 @@
|
|||||||
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
<a href="types.context.html" class="tsd-kind-icon">Context</a>
|
<a href="types.context.html" class="tsd-kind-icon">Context</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
|
<a href="types.contextallattributes.html" class="tsd-kind-icon">Context<wbr>All<wbr>Attributes</a>
|
||||||
|
</li>
|
||||||
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
<a href="types.csrftoken.html" class="tsd-kind-icon">Csrf<wbr>Token</a>
|
<a href="types.csrftoken.html" class="tsd-kind-icon">Csrf<wbr>Token</a>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -130,6 +130,9 @@
|
|||||||
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
<a href="types.context.html" class="tsd-kind-icon">Context</a>
|
<a href="types.context.html" class="tsd-kind-icon">Context</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
|
<a href="types.contextallattributes.html" class="tsd-kind-icon">Context<wbr>All<wbr>Attributes</a>
|
||||||
|
</li>
|
||||||
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
<a href="types.csrftoken.html" class="tsd-kind-icon">Csrf<wbr>Token</a>
|
<a href="types.csrftoken.html" class="tsd-kind-icon">Csrf<wbr>Token</a>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -130,6 +130,9 @@
|
|||||||
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
<a href="types.context.html" class="tsd-kind-icon">Context</a>
|
<a href="types.context.html" class="tsd-kind-icon">Context</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
|
<a href="types.contextallattributes.html" class="tsd-kind-icon">Context<wbr>All<wbr>Attributes</a>
|
||||||
|
</li>
|
||||||
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
<a href="types.csrftoken.html" class="tsd-kind-icon">Csrf<wbr>Token</a>
|
<a href="types.csrftoken.html" class="tsd-kind-icon">Csrf<wbr>Token</a>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -190,6 +190,9 @@
|
|||||||
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
<a href="types.context.html" class="tsd-kind-icon">Context</a>
|
<a href="types.context.html" class="tsd-kind-icon">Context</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
|
<a href="types.contextallattributes.html" class="tsd-kind-icon">Context<wbr>All<wbr>Attributes</a>
|
||||||
|
</li>
|
||||||
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
<a href="types.csrftoken.html" class="tsd-kind-icon">Csrf<wbr>Token</a>
|
<a href="types.csrftoken.html" class="tsd-kind-icon">Csrf<wbr>Token</a>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -210,6 +210,9 @@
|
|||||||
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
<a href="types.context.html" class="tsd-kind-icon">Context</a>
|
<a href="types.context.html" class="tsd-kind-icon">Context</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
|
<a href="types.contextallattributes.html" class="tsd-kind-icon">Context<wbr>All<wbr>Attributes</a>
|
||||||
|
</li>
|
||||||
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
<a href="types.csrftoken.html" class="tsd-kind-icon">Csrf<wbr>Token</a>
|
<a href="types.csrftoken.html" class="tsd-kind-icon">Csrf<wbr>Token</a>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -194,6 +194,9 @@
|
|||||||
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
<a href="types.context.html" class="tsd-kind-icon">Context</a>
|
<a href="types.context.html" class="tsd-kind-icon">Context</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
|
<a href="types.contextallattributes.html" class="tsd-kind-icon">Context<wbr>All<wbr>Attributes</a>
|
||||||
|
</li>
|
||||||
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
<a href="types.csrftoken.html" class="tsd-kind-icon">Csrf<wbr>Token</a>
|
<a href="types.csrftoken.html" class="tsd-kind-icon">Csrf<wbr>Token</a>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -198,6 +198,9 @@
|
|||||||
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
<a href="types.context.html" class="tsd-kind-icon">Context</a>
|
<a href="types.context.html" class="tsd-kind-icon">Context</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
|
<a href="types.contextallattributes.html" class="tsd-kind-icon">Context<wbr>All<wbr>Attributes</a>
|
||||||
|
</li>
|
||||||
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
<a href="types.csrftoken.html" class="tsd-kind-icon">Csrf<wbr>Token</a>
|
<a href="types.csrftoken.html" class="tsd-kind-icon">Csrf<wbr>Token</a>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -150,6 +150,9 @@
|
|||||||
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
<a href="types.context.html" class="tsd-kind-icon">Context</a>
|
<a href="types.context.html" class="tsd-kind-icon">Context</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
|
<a href="types.contextallattributes.html" class="tsd-kind-icon">Context<wbr>All<wbr>Attributes</a>
|
||||||
|
</li>
|
||||||
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
<a href="types.csrftoken.html" class="tsd-kind-icon">Csrf<wbr>Token</a>
|
<a href="types.csrftoken.html" class="tsd-kind-icon">Csrf<wbr>Token</a>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
106
docs/modules/reflection-743.html
Normal file
106
docs/modules/reflection-743.html
Normal file
File diff suppressed because one or more lines are too long
128
docs/modules/reflection-743.reflection-195.html
Normal file
128
docs/modules/reflection-743.reflection-195.html
Normal file
File diff suppressed because one or more lines are too long
106
docs/modules/reflection-759.html
Normal file
106
docs/modules/reflection-759.html
Normal file
File diff suppressed because one or more lines are too long
128
docs/modules/reflection-759.reflection-211.html
Normal file
128
docs/modules/reflection-759.reflection-211.html
Normal file
File diff suppressed because one or more lines are too long
106
docs/modules/reflection-762.html
Normal file
106
docs/modules/reflection-762.html
Normal file
File diff suppressed because one or more lines are too long
128
docs/modules/reflection-762.reflection-214.html
Normal file
128
docs/modules/reflection-762.reflection-214.html
Normal file
File diff suppressed because one or more lines are too long
@@ -93,6 +93,7 @@
|
|||||||
<h3>Interfaces</h3>
|
<h3>Interfaces</h3>
|
||||||
<ul class="tsd-index-list">
|
<ul class="tsd-index-list">
|
||||||
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/types.context.html" class="tsd-kind-icon">Context</a></li>
|
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/types.context.html" class="tsd-kind-icon">Context</a></li>
|
||||||
|
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/types.contextallattributes.html" class="tsd-kind-icon">ContextAllAttributes</a></li>
|
||||||
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/types.csrftoken.html" class="tsd-kind-icon">CsrfToken</a></li>
|
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/types.csrftoken.html" class="tsd-kind-icon">CsrfToken</a></li>
|
||||||
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/types.editcontextinput.html" class="tsd-kind-icon">EditContextInput</a></li>
|
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/types.editcontextinput.html" class="tsd-kind-icon">EditContextInput</a></li>
|
||||||
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/types.folder.html" class="tsd-kind-icon">Folder</a></li>
|
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/types.folder.html" class="tsd-kind-icon">Folder</a></li>
|
||||||
@@ -126,6 +127,9 @@
|
|||||||
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
<a href="../interfaces/types.context.html" class="tsd-kind-icon">Context</a>
|
<a href="../interfaces/types.context.html" class="tsd-kind-icon">Context</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
|
<a href="../interfaces/types.contextallattributes.html" class="tsd-kind-icon">Context<wbr>All<wbr>Attributes</a>
|
||||||
|
</li>
|
||||||
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
<li class=" tsd-kind-interface tsd-parent-kind-module root">
|
||||||
<a href="../interfaces/types.csrftoken.html" class="tsd-kind-icon">Csrf<wbr>Token</a>
|
<a href="../interfaces/types.csrftoken.html" class="tsd-kind-icon">Csrf<wbr>Token</a>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ import {
|
|||||||
Job,
|
Job,
|
||||||
Session,
|
Session,
|
||||||
Context,
|
Context,
|
||||||
|
ContextAllAttributes,
|
||||||
Folder,
|
Folder,
|
||||||
CsrfToken,
|
CsrfToken,
|
||||||
EditContextInput,
|
EditContextInput,
|
||||||
@@ -224,16 +225,16 @@ export class SASViyaApiClient {
|
|||||||
* @param launchContextName - the name of the launcher context used by the compute service.
|
* @param launchContextName - the name of the launcher context used by the compute service.
|
||||||
* @param sharedAccountId - the ID of the account to run the servers for this context.
|
* @param sharedAccountId - the ID of the account to run the servers for this context.
|
||||||
* @param autoExecLines - the lines of code to execute during session initialization.
|
* @param autoExecLines - the lines of code to execute during session initialization.
|
||||||
* @param authorizedUsers - an optional list of authorized user IDs.
|
|
||||||
* @param accessToken - an access token for an authorized user.
|
* @param accessToken - an access token for an authorized user.
|
||||||
|
* @param authorizedUsers - an optional list of authorized user IDs.
|
||||||
*/
|
*/
|
||||||
public async createContext(
|
public async createContext(
|
||||||
contextName: string,
|
contextName: string,
|
||||||
launchContextName: string,
|
launchContextName: string,
|
||||||
sharedAccountId: string,
|
sharedAccountId: string,
|
||||||
autoExecLines: string[],
|
autoExecLines: string[],
|
||||||
authorizedUsers: string[],
|
accessToken?: string,
|
||||||
accessToken?: string
|
authorizedUsers?: string[]
|
||||||
) {
|
) {
|
||||||
if (!contextName) {
|
if (!contextName) {
|
||||||
throw new Error('Context name is required.')
|
throw new Error('Context name is required.')
|
||||||
@@ -313,10 +314,22 @@ export class SASViyaApiClient {
|
|||||||
headers.Authorization = `Bearer ${accessToken}`
|
headers.Authorization = `Bearer ${accessToken}`
|
||||||
}
|
}
|
||||||
|
|
||||||
const originalContext = await this.getComputeContextByName(
|
let originalContext
|
||||||
|
|
||||||
|
originalContext = await this.getComputeContextByName(
|
||||||
contextName,
|
contextName,
|
||||||
accessToken
|
accessToken
|
||||||
)
|
).catch((_) => {})
|
||||||
|
|
||||||
|
// Try to find context by id, when context name has been changed.
|
||||||
|
if (!originalContext) {
|
||||||
|
originalContext = await this.getComputeContextById(
|
||||||
|
editedContext.id!,
|
||||||
|
accessToken
|
||||||
|
).catch((err) => {
|
||||||
|
throw err
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
const { result: context, etag } = await this.request<Context>(
|
const { result: context, etag } = await this.request<Context>(
|
||||||
`${this.serverUrl}/compute/contexts/${originalContext.id}`,
|
`${this.serverUrl}/compute/contexts/${originalContext.id}`,
|
||||||
@@ -1414,9 +1427,7 @@ export class SASViyaApiClient {
|
|||||||
const { result: contexts } = await this.request<{ items: Context[] }>(
|
const { result: contexts } = await this.request<{ items: Context[] }>(
|
||||||
`${this.serverUrl}/compute/contexts?filter=eq(name, "${contextName}")`,
|
`${this.serverUrl}/compute/contexts?filter=eq(name, "${contextName}")`,
|
||||||
{ headers }
|
{ headers }
|
||||||
).catch((err) => {
|
)
|
||||||
throw err
|
|
||||||
})
|
|
||||||
|
|
||||||
if (!contexts || !(contexts.items && contexts.items.length)) {
|
if (!contexts || !(contexts.items && contexts.items.length)) {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
@@ -1427,6 +1438,33 @@ export class SASViyaApiClient {
|
|||||||
return contexts.items[0]
|
return contexts.items[0]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns a JSON representation of a compute context.
|
||||||
|
* @param contextId - an id of the context to return.
|
||||||
|
* @param accessToken - an access token for an authorized user.
|
||||||
|
*/
|
||||||
|
public async getComputeContextById(
|
||||||
|
contextId: string,
|
||||||
|
accessToken?: string
|
||||||
|
): Promise<ContextAllAttributes> {
|
||||||
|
const headers: any = {
|
||||||
|
'Content-Type': 'application/json'
|
||||||
|
}
|
||||||
|
|
||||||
|
if (accessToken) {
|
||||||
|
headers.Authorization = `Bearer ${accessToken}`
|
||||||
|
}
|
||||||
|
|
||||||
|
const { result: context } = await this.request<ContextAllAttributes>(
|
||||||
|
`${this.serverUrl}/compute/contexts/${contextId}`,
|
||||||
|
{ headers }
|
||||||
|
).catch((err) => {
|
||||||
|
throw err
|
||||||
|
})
|
||||||
|
|
||||||
|
return context
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Moves a Viya folder to a new location. The folder may be renamed at the same time.
|
* Moves a Viya folder to a new location. The folder may be renamed at the same time.
|
||||||
* @param sourceFolder - the full path (eg `/Public/example/myFolder`) or URI of the source folder to be moved. Providing URI instead of path will save one extra request.
|
* @param sourceFolder - the full path (eg `/Public/example/myFolder`) or URI of the source folder to be moved. Providing URI instead of path will save one extra request.
|
||||||
|
|||||||
24
src/SASjs.ts
24
src/SASjs.ts
@@ -113,16 +113,16 @@ export default class SASjs {
|
|||||||
* @param launchContextName - the name of the launcher context used by the compute service.
|
* @param launchContextName - the name of the launcher context used by the compute service.
|
||||||
* @param sharedAccountId - the ID of the account to run the servers for this context as.
|
* @param sharedAccountId - the ID of the account to run the servers for this context as.
|
||||||
* @param autoExecLines - the lines of code to execute during session initialization.
|
* @param autoExecLines - the lines of code to execute during session initialization.
|
||||||
* @param authorizedUsers - an optional list of authorized user IDs.
|
|
||||||
* @param accessToken - an access token for an authorized user.
|
* @param accessToken - an access token for an authorized user.
|
||||||
|
* @param authorizedUsers - an optional list of authorized user IDs.
|
||||||
*/
|
*/
|
||||||
public async createContext(
|
public async createContext(
|
||||||
contextName: string,
|
contextName: string,
|
||||||
launchContextName: string,
|
launchContextName: string,
|
||||||
sharedAccountId: string,
|
sharedAccountId: string,
|
||||||
autoExecLines: string[],
|
autoExecLines: string[],
|
||||||
authorizedUsers: string[],
|
accessToken: string,
|
||||||
accessToken: string
|
authorizedUsers?: string[]
|
||||||
) {
|
) {
|
||||||
this.isMethodSupported('createContext', ServerType.SASViya)
|
this.isMethodSupported('createContext', ServerType.SASViya)
|
||||||
|
|
||||||
@@ -131,8 +131,8 @@ export default class SASjs {
|
|||||||
launchContextName,
|
launchContextName,
|
||||||
sharedAccountId,
|
sharedAccountId,
|
||||||
autoExecLines,
|
autoExecLines,
|
||||||
authorizedUsers,
|
accessToken,
|
||||||
accessToken
|
authorizedUsers
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -185,6 +185,20 @@ export default class SASjs {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns a JSON representation of a compute context.
|
||||||
|
* @param contextId - an id of the context to return.
|
||||||
|
* @param accessToken - an access token for an authorized user.
|
||||||
|
*/
|
||||||
|
public async getComputeContextById(contextId: string, accessToken?: string) {
|
||||||
|
this.isMethodSupported('getComputeContextById', ServerType.SASViya)
|
||||||
|
|
||||||
|
return await this.sasViyaApiClient!.getComputeContextById(
|
||||||
|
contextId,
|
||||||
|
accessToken
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
public async createSession(contextName: string, accessToken: string) {
|
public async createSession(contextName: string, accessToken: string) {
|
||||||
this.isMethodSupported('createSession', ServerType.SASViya)
|
this.isMethodSupported('createSession', ServerType.SASViya)
|
||||||
|
|
||||||
|
|||||||
@@ -14,4 +14,26 @@ export interface EditContextInput {
|
|||||||
attributes?: any
|
attributes?: any
|
||||||
authorizedUsers?: string[]
|
authorizedUsers?: string[]
|
||||||
authorizeAllAuthenticatedUsers?: boolean
|
authorizeAllAuthenticatedUsers?: boolean
|
||||||
|
id?: string
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ContextAllAttributes {
|
||||||
|
attributes: {
|
||||||
|
reuseServerProcesses: boolean
|
||||||
|
runServerAs: string
|
||||||
|
}
|
||||||
|
modifiedTimeStamp: string
|
||||||
|
createdBy: string
|
||||||
|
creationTimeStamp: string
|
||||||
|
launchType: string
|
||||||
|
environment: {
|
||||||
|
autoExecLines: [string]
|
||||||
|
}
|
||||||
|
launchContext: {
|
||||||
|
contextName: string
|
||||||
|
}
|
||||||
|
modifiedBy: string
|
||||||
|
id: string
|
||||||
|
version: number
|
||||||
|
name: string
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user