-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
- Loading branch information
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,6 @@ | |
software development purposes.</p> | ||
<pre><code><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-5">connection</span><span class="hl-0">: </span><span class="hl-9">Connection</span><span class="hl-0"> = </span><span class="hl-6">await</span><span class="hl-0"> </span><span class="hl-7">Connection</span><span class="hl-0">.</span><span class="hl-8">create</span><span class="hl-0">({</span><br/><span class="hl-0"> </span><span class="hl-7">authInfo:</span><span class="hl-0"> </span><span class="hl-6">await</span><span class="hl-0"> </span><span class="hl-7">AuthInfo</span><span class="hl-0">.</span><span class="hl-8">create</span><span class="hl-0">({ </span><span class="hl-7">username:</span><span class="hl-0"> </span><span class="hl-3">'[email protected]'</span><span class="hl-0"> })</span><br/><span class="hl-0">});</span><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-5">org</span><span class="hl-0">: </span><span class="hl-9">Org</span><span class="hl-0"> = </span><span class="hl-6">await</span><span class="hl-0"> </span><span class="hl-7">Org</span><span class="hl-0">.</span><span class="hl-8">create</span><span class="hl-0">({ </span><span class="hl-7">connection</span><span class="hl-0"> });</span><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-5">options</span><span class="hl-0">: </span><span class="hl-9">DefaultUserFields</span><span class="hl-0">.</span><span class="hl-9">Options</span><span class="hl-0"> = {</span><br/><span class="hl-0"> </span><span class="hl-7">templateUser:</span><span class="hl-0"> </span><span class="hl-7">org</span><span class="hl-0">.</span><span class="hl-8">getUsername</span><span class="hl-0">()</span><br/><span class="hl-0">};</span><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-5">fields</span><span class="hl-0"> = (</span><span class="hl-6">await</span><span class="hl-0"> </span><span class="hl-7">DefaultUserFields</span><span class="hl-0">.</span><span class="hl-8">create</span><span class="hl-0">(</span><span class="hl-7">options</span><span class="hl-0">)).</span><span class="hl-8">getFields</span><span class="hl-0">();</span> | ||
</code><button>Copy</button></pre> | ||
</div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy</h4><ul class="tsd-hierarchy"><li><span class="tsd-signature-type">AsyncCreatable</span><span class="tsd-signature-symbol"><</span><a href="../modules/org_user.DefaultUserFields.html" class="tsd-signature-type tsd-kind-namespace">DefaultUserFields</a><span class="tsd-signature-symbol">.</span><a href="../types/org_user.DefaultUserFields.Options.html" class="tsd-signature-type tsd-kind-type-alias">Options</a><span class="tsd-signature-symbol">></span><ul class="tsd-hierarchy"><li><span class="target">DefaultUserFields</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/forcedotcom/sfdx-core/blob/36fa22d338f912980c4258a518a7ac4b953f26ba/src/org/user.ts#L150">src/org/user.ts:150</a></li><li>Defined in <a href="https://github.com/forcedotcom/sfdx-core/blob/36fa22d338f912980c4258a518a7ac4b953f26ba/src/org/user.ts#L193">src/org/user.ts:193</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"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="org_user.DefaultUserFields-1.html#getFields" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Fields</span></a> | ||
</div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy</h4><ul class="tsd-hierarchy"><li><span class="tsd-signature-type">AsyncCreatable</span><span class="tsd-signature-symbol"><</span><a href="../modules/org_user.DefaultUserFields.html" class="tsd-signature-type tsd-kind-namespace">DefaultUserFields</a><span class="tsd-signature-symbol">.</span><a href="../types/org_user.DefaultUserFields.Options.html" class="tsd-signature-type tsd-kind-type-alias">Options</a><span class="tsd-signature-symbol">></span><ul class="tsd-hierarchy"><li><span class="target">DefaultUserFields</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/forcedotcom/sfdx-core/blob/8d8360b78fbc3f2219c164734fdbe2913b0af615/src/org/user.ts#L150">src/org/user.ts:150</a></li><li>Defined in <a href="https://github.com/forcedotcom/sfdx-core/blob/8d8360b78fbc3f2219c164734fdbe2913b0af615/src/org/user.ts#L193">src/org/user.ts:193</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"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="org_user.DefaultUserFields-1.html#getFields" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Fields</span></a> | ||
</div></section></div></details></section></section><section class="tsd-panel-group tsd-member-group"><h2>Methods</h2><section class="tsd-panel tsd-member"><a id="getFields" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Fields</span><a href="#getFields" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getFields.getFields-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Fields</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/org_user.UserFields.html" class="tsd-signature-type tsd-kind-type-alias">UserFields</a><a href="#getFields.getFields-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get user fields.</p> | ||
</div><h4 class="tsd-returns-title">Returns <a href="../types/org_user.UserFields.html" class="tsd-signature-type tsd-kind-type-alias">UserFields</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/forcedotcom/sfdx-core/blob/36fa22d338f912980c4258a518a7ac4b953f26ba/src/org/user.ts#L168">src/org/user.ts:168</a></li></ul></aside></li></ul></section></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><a href="#getFields" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Fields</span></a></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../index.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@salesforce/core</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html> | ||
</div><h4 class="tsd-returns-title">Returns <a href="../types/org_user.UserFields.html" class="tsd-signature-type tsd-kind-type-alias">UserFields</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/forcedotcom/sfdx-core/blob/8d8360b78fbc3f2219c164734fdbe2913b0af615/src/org/user.ts#L168">src/org/user.ts:168</a></li></ul></aside></li></ul></section></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><a href="#getFields" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Fields</span></a></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../index.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@salesforce/core</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html> |