@salesforcedevs/docs-components 0.55.5 → 0.55.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/docs-components",
3
- "version": "0.55.5",
3
+ "version": "0.55.6",
4
4
  "description": "Docs Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -24,5 +24,5 @@
24
24
  "@types/lodash.orderby": "^4.6.7",
25
25
  "@types/lodash.uniqby": "^4.7.7"
26
26
  },
27
- "gitHead": "0adec410bc1b08455553d508e88596b30568019e"
27
+ "gitHead": "1282a111935db22cc38409dd247f72cba86fa131"
28
28
  }
@@ -1,9 +1,7 @@
1
1
  export type CoveoAdvancedQueryXMLConfig = {
2
- objecttype?: string;
3
- sflocale__c?: string;
4
- sfrelease__c?: string;
5
- sfdelivarable__c?: string;
6
- source?: string;
2
+ locale?: string;
3
+ version?: string;
4
+ topicid?: string;
7
5
  };
8
6
 
9
7
  export type PageReference = {
@@ -195,15 +195,9 @@ export default class DocXmlContent extends LightningElementWithState<{
195
195
 
196
196
  private get coveoAdvancedQueryConfig(): CoveoAdvancedQueryXMLConfig {
197
197
  return {
198
- // Temporary fix for empty results on apexref page
199
- ...(this.deliverable === "apexref"
200
- ? { source: "Sitemap - Developer Docs Atlas - Apexref" }
201
- : {
202
- objecttype: "HTDeveloperDocumentsC",
203
- sflocale__c: this.languageId,
204
- sfrelease__c: this.releaseVersionId,
205
- sfdelivarable__c: this.deliverable
206
- })
198
+ locale: this.languageId,
199
+ version: this.releaseVersionId,
200
+ topicid: this.deliverable
207
201
  };
208
202
  }
209
203