@salesforce/webapp-template-feature-react-global-search-experimental 1.103.6 → 1.104.0
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/dist/CHANGELOG.md +8 -0
- package/dist/force-app/main/default/webapplications/feature-react-global-search/src/features/global-search/api/objectInfoGraphQLService.ts +2 -2
- package/dist/force-app/main/default/webapplications/feature-react-global-search/src/features/global-search/api/recordListGraphQLService.ts +2 -2
- package/dist/package.json +1 -1
- package/package.json +1 -1
- package/src/force-app/main/default/webapplications/feature-react-global-search/src/features/global-search/api/objectInfoGraphQLService.ts +2 -2
- package/src/force-app/main/default/webapplications/feature-react-global-search/src/features/global-search/api/recordListGraphQLService.ts +2 -2
package/dist/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [1.104.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.103.6...v1.104.0) (2026-03-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [1.103.6](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.103.5...v1.103.6) (2026-03-17)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @module api/objectInfoGraphQLService
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
import {
|
|
10
|
+
import { createDataSDK, gql } from "@salesforce/sdk-data";
|
|
11
11
|
import type {
|
|
12
12
|
GetObjectInfosQuery,
|
|
13
13
|
GetObjectInfosQueryVariables,
|
|
@@ -125,7 +125,7 @@ export async function queryForPicklistValues(
|
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
async function runQuery<Q, V>(query: string, variables: V): Promise<Q> {
|
|
128
|
-
const data = await
|
|
128
|
+
const data = await createDataSDK();
|
|
129
129
|
const response = await data.graphql?.<Q, V>(query, variables);
|
|
130
130
|
|
|
131
131
|
if (response?.errors?.length) {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @module api/recordListGraphQLService
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
import {
|
|
10
|
+
import { createDataSDK } from "@salesforce/sdk-data";
|
|
11
11
|
import type { Column } from "../types/search/searchResults";
|
|
12
12
|
import type { FilterCriteria } from "../types/filters/filters";
|
|
13
13
|
|
|
@@ -327,7 +327,7 @@ export async function getRecordsGraphQL(
|
|
|
327
327
|
...(hasOrderBy && orderBy ? { orderBy } : {}),
|
|
328
328
|
};
|
|
329
329
|
|
|
330
|
-
const data = await
|
|
330
|
+
const data = await createDataSDK();
|
|
331
331
|
const response = await data.graphql?.<RecordListGraphQLResult>(query, variables);
|
|
332
332
|
|
|
333
333
|
if (response?.errors?.length) {
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/webapp-template-feature-react-global-search-experimental",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.104.0",
|
|
4
4
|
"description": "Global search feature for Salesforce objects with filtering and pagination",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"author": "",
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @module api/objectInfoGraphQLService
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
import {
|
|
10
|
+
import { createDataSDK, gql } from "@salesforce/sdk-data";
|
|
11
11
|
import type {
|
|
12
12
|
GetObjectInfosQuery,
|
|
13
13
|
GetObjectInfosQueryVariables,
|
|
@@ -125,7 +125,7 @@ export async function queryForPicklistValues(
|
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
async function runQuery<Q, V>(query: string, variables: V): Promise<Q> {
|
|
128
|
-
const data = await
|
|
128
|
+
const data = await createDataSDK();
|
|
129
129
|
const response = await data.graphql?.<Q, V>(query, variables);
|
|
130
130
|
|
|
131
131
|
if (response?.errors?.length) {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @module api/recordListGraphQLService
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
import {
|
|
10
|
+
import { createDataSDK } from "@salesforce/sdk-data";
|
|
11
11
|
import type { Column } from "../types/search/searchResults";
|
|
12
12
|
import type { FilterCriteria } from "../types/filters/filters";
|
|
13
13
|
|
|
@@ -327,7 +327,7 @@ export async function getRecordsGraphQL(
|
|
|
327
327
|
...(hasOrderBy && orderBy ? { orderBy } : {}),
|
|
328
328
|
};
|
|
329
329
|
|
|
330
|
-
const data = await
|
|
330
|
+
const data = await createDataSDK();
|
|
331
331
|
const response = await data.graphql?.<RecordListGraphQLResult>(query, variables);
|
|
332
332
|
|
|
333
333
|
if (response?.errors?.length) {
|