Skip to content

Commit

Permalink
fix: change Active to Available
Browse files Browse the repository at this point in the history
In description for record type map,
pull available record types, not all active record types

fix: Highlight 11.7 typo
  • Loading branch information
dschach committed Feb 8, 2023
1 parent e41a092 commit 8973e2b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions docs/RecordTypes.html
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ <h3 class="subsection-title methods">RecordTypes Methods</h3>
</a>

<div class="methods-toc__description">
Gives a map of all ACTIVE <code class="code-inline">RecordTypeId</code>s by <code class="code-inline">developername</code> for an sObject
Gives a map of all available (to the running user) <code class="code-inline">RecordTypeId</code>s by <code class="code-inline">developername</code> for an sObject
</div>
</li>
<li class="method global">
Expand All @@ -323,7 +323,7 @@ <h3 class="subsection-title methods">RecordTypes Methods</h3>
</a>

<div class="methods-toc__description">
Gives a map of all ACTIVE <code class="code-inline">RecordTypeId</code>s by name for an sObject
Gives a map of all available (to the running user) <code class="code-inline">RecordTypeId</code>s by name for an sObject
</div>
</li>
<li class="method global">
Expand Down Expand Up @@ -536,7 +536,7 @@ <h4 class="method-title " id="RecordTypes.getAvailableRecordTypeDevNameIdMap">
</a>
</h4>
<div class="method-description">
Gives a map of all ACTIVE <code class="code-inline">RecordTypeId</code>s by <code class="code-inline">developername</code> for an sObject
Gives a map of all available (to the running user) <code class="code-inline">RecordTypeId</code>s by <code class="code-inline">developername</code> for an sObject
</div>
<div class="method-subtitle">
Signature
Expand Down Expand Up @@ -572,7 +572,7 @@ <h4 class="method-title " id="RecordTypes.getAvailableRecordTypeNameIdMap">
</a>
</h4>
<div class="method-description">
Gives a map of all ACTIVE <code class="code-inline">RecordTypeId</code>s by name for an sObject
Gives a map of all available (to the running user) <code class="code-inline">RecordTypeId</code>s by name for an sObject
</div>
<div class="method-subtitle">
Signature
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/highlight.js
Original file line number Diff line number Diff line change
Expand Up @@ -1227,7 +1227,7 @@ begin:[/\./,s.concat("(?:"+t+")"),/(?=\s*\([^\)])/],scope:{
begin:[/(?<=\s)/,s.concat("(?:"+t+")"),/(?=\s*\()/],scope:{2:"title.function"}
}],contains:[r,o,e.APOS_STRING_MODE],relevance:0},u={
begin:/\[[\s\n]*(?=SELECT)/,end:/\]/,scope:"subst",relevance:10,contains:[{
begin:s.concat(/\b/,s.either("ABOVE_OR_BELOW","ABOVE","ACTIVE","ADVANCED","ALL",/ALL\s+FIELDS/,"AND","ANY","ARRAY","AS","ASC","BY","CATEGORY","CONTAINS","COUNT","COUNT_DISTINCT","SUM","MAX","MIN","HOUR_IN_DAY","CONVERTCURRENCY","CUBE","DATA","DESC","DIVISION","END","EXCLUDES","FIELDS","FIND","FIRST","FOR","FROM",/GROUP\s+BY/,"HAVING","INCLUDES","LAST","LAST_90_DAYS","LAST_MONTH","LAST_N_DAYS","LAST_WEEK","LAST","LIKE","LIMIT","NETWORK","NEXT_90_DAYS","NEXT_MONTH","NEXT_N_DAYS","NEXT_WEEK","NULLS","OFFSET","ON","OR",/ORDER\s+BY/,"REFERENCE","RETURNING","ROLLUP","ROWS","SEARCH","SECURITY_ENFORCED","SELECT","SNIPPET","SORT","THIS_MONTH","THIS_WEEK","TODAY","TOLABEL","TOMORROW","TRACKING","TYPEOF","UPDATE",/USING\s+SCOPE/,"VIEW","VIEWSTAT","VIEWSTATE","WHERE","WITH","YESTERDAY","USER_MODE"),/\b/),
begin:s.concat(/\b/,s.either("ABOVE_OR_BELOW","ABOVE","available (to the running user)","ADVANCED","ALL",/ALL\s+FIELDS/,"AND","ANY","ARRAY","AS","ASC","BY","CATEGORY","CONTAINS","COUNT","COUNT_DISTINCT","SUM","MAX","MIN","HOUR_IN_DAY","CONVERTCURRENCY","CUBE","DATA","DESC","DIVISION","END","EXCLUDES","FIELDS","FIND","FIRST","FOR","FROM",/GROUP\s+BY/,"HAVING","INCLUDES","LAST","LAST_90_DAYS","LAST_MONTH","LAST_N_DAYS","LAST_WEEK","LAST","LIKE","LIMIT","NETWORK","NEXT_90_DAYS","NEXT_MONTH","NEXT_N_DAYS","NEXT_WEEK","NULLS","OFFSET","ON","OR",/ORDER\s+BY/,"REFERENCE","RETURNING","ROLLUP","ROWS","SEARCH","SECURITY_ENFORCED","SELECT","SNIPPET","SORT","THIS_MONTH","THIS_WEEK","TODAY","TOLABEL","TOMORROW","TRACKING","TYPEOF","UPDATE",/USING\s+SCOPE/,"VIEW","VIEWSTAT","VIEWSTATE","WHERE","WITH","YESTERDAY","USER_MODE"),/\b/),
scope:"keyword"},{match:/(\bIN\b|<|<=|>|>=|\bNOT\s+IN\b|=|!\s*=|:{1})/,
scope:"literal",relevance:0},{match:/(?<=\bFROM\b\s+)\w+/,scope:"type",
relevance:0},{match:/\b[a-zA-Z][a-zA-Z_0-9]*\b/,scope:"property"},a,A],
Expand Down
Loading

0 comments on commit 8973e2b

Please sign in to comment.