@salesforce/ui-bundle-template-feature-react-global-search 1.130.1 → 1.130.2
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/uiBundles/feature-react-global-search/package.json +3 -3
- package/dist/force-app/main/default/uiBundles/feature-react-global-search/src/api/graphqlClient.ts +4 -1
- package/dist/force-app/main/default/uiBundles/feature-react-global-search/src/features/global-search/api/objectInfoGraphQLService.ts +1 -1
- package/dist/force-app/main/default/uiBundles/feature-react-global-search/src/features/global-search/api/recordListGraphQLService.ts +1 -1
- package/dist/force-app/main/default/uiBundles/feature-react-global-search/tsconfig.json +7 -1
- package/dist/force-app/main/default/uiBundles/feature-react-global-search/vite-env.d.ts +3 -0
- package/dist/package-lock.json +2 -2
- package/dist/package.json +1 -1
- package/package.json +1 -1
- package/src/force-app/main/default/uiBundles/feature-react-global-search/src/features/global-search/api/objectInfoGraphQLService.ts +1 -1
- package/src/force-app/main/default/uiBundles/feature-react-global-search/src/features/global-search/api/recordListGraphQLService.ts +1 -1
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.130.2](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.130.1...v1.130.2) (2026-04-24)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [1.130.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.130.0...v1.130.1) (2026-04-24)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"graphql:schema": "node scripts/get-graphql-schema.mjs"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@salesforce/sdk-data": "^1.130.
|
|
22
|
-
"@salesforce/ui-bundle": "^1.130.
|
|
21
|
+
"@salesforce/sdk-data": "^1.130.2",
|
|
22
|
+
"@salesforce/ui-bundle": "^1.130.2",
|
|
23
23
|
"@tailwindcss/vite": "^4.1.17",
|
|
24
24
|
"class-variance-authority": "^0.7.1",
|
|
25
25
|
"clsx": "^2.1.1",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@graphql-eslint/eslint-plugin": "^4.1.0",
|
|
47
47
|
"@graphql-tools/utils": "^11.0.0",
|
|
48
48
|
"@playwright/test": "^1.49.0",
|
|
49
|
-
"@salesforce/vite-plugin-ui-bundle": "^1.130.
|
|
49
|
+
"@salesforce/vite-plugin-ui-bundle": "^1.130.2",
|
|
50
50
|
"@testing-library/jest-dom": "^6.6.3",
|
|
51
51
|
"@testing-library/react": "^16.1.0",
|
|
52
52
|
"@testing-library/user-event": "^14.5.2",
|
package/dist/force-app/main/default/uiBundles/feature-react-global-search/src/api/graphqlClient.ts
CHANGED
|
@@ -10,7 +10,10 @@ export async function executeGraphQL<TData, TVariables>(
|
|
|
10
10
|
): Promise<TData> {
|
|
11
11
|
const data = await createDataSDK();
|
|
12
12
|
// SDK types graphql() first param as string; at runtime it may accept gql DocumentNode too
|
|
13
|
-
const response = await data.graphql?.<TData, TVariables>(
|
|
13
|
+
const response = await data.graphql?.<TData, TVariables>({
|
|
14
|
+
query,
|
|
15
|
+
variables,
|
|
16
|
+
});
|
|
14
17
|
|
|
15
18
|
if (!response) {
|
|
16
19
|
throw new Error('GraphQL response is undefined');
|
|
@@ -126,7 +126,7 @@ export async function queryForPicklistValues(
|
|
|
126
126
|
|
|
127
127
|
async function runQuery<Q, V>(query: string, variables: V): Promise<Q> {
|
|
128
128
|
const data = await createDataSDK();
|
|
129
|
-
const response = await data.graphql?.<Q, V>(query, variables);
|
|
129
|
+
const response = await data.graphql?.<Q, V>({ query, variables });
|
|
130
130
|
|
|
131
131
|
if (response?.errors?.length) {
|
|
132
132
|
const errorMessages = response.errors.map((e) => e.message).join("; ");
|
|
@@ -328,7 +328,7 @@ export async function getRecordsGraphQL(
|
|
|
328
328
|
};
|
|
329
329
|
|
|
330
330
|
const data = await createDataSDK();
|
|
331
|
-
const response = await data.graphql?.<RecordListGraphQLResult>(query, variables);
|
|
331
|
+
const response = await data.graphql?.<RecordListGraphQLResult>({ query, variables });
|
|
332
332
|
|
|
333
333
|
if (response?.errors?.length) {
|
|
334
334
|
const errorMessages = response.errors.map((e) => e.message).join("; ");
|
|
@@ -28,7 +28,13 @@
|
|
|
28
28
|
"@components/*": ["./src/components/*"],
|
|
29
29
|
"@utils/*": ["./src/utils/*"],
|
|
30
30
|
"@styles/*": ["./src/styles/*"],
|
|
31
|
-
"@assets/*": ["./src/assets/*"]
|
|
31
|
+
"@assets/*": ["./src/assets/*"],
|
|
32
|
+
"@salesforce/sdk-core": [
|
|
33
|
+
"../../../../../../../../../../packages/sdk/sdk-core/src/index.ts"
|
|
34
|
+
],
|
|
35
|
+
"@salesforce/sdk-data": [
|
|
36
|
+
"../../../../../../../../../../packages/sdk/sdk-data/src/index.ts"
|
|
37
|
+
]
|
|
32
38
|
}
|
|
33
39
|
},
|
|
34
40
|
"include": [
|
package/dist/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/webapp-template-base-sfdx-project-experimental",
|
|
3
|
-
"version": "1.130.
|
|
3
|
+
"version": "1.130.2",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@salesforce/webapp-template-base-sfdx-project-experimental",
|
|
9
|
-
"version": "1.130.
|
|
9
|
+
"version": "1.130.2",
|
|
10
10
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
11
11
|
"devDependencies": {
|
|
12
12
|
"@lwc/eslint-plugin-lwc": "^3.3.0",
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/ui-bundle-template-feature-react-global-search",
|
|
3
|
-
"version": "1.130.
|
|
3
|
+
"version": "1.130.2",
|
|
4
4
|
"description": "Global search feature for Salesforce objects with filtering and pagination",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"author": "",
|
|
@@ -126,7 +126,7 @@ export async function queryForPicklistValues(
|
|
|
126
126
|
|
|
127
127
|
async function runQuery<Q, V>(query: string, variables: V): Promise<Q> {
|
|
128
128
|
const data = await createDataSDK();
|
|
129
|
-
const response = await data.graphql?.<Q, V>(query, variables);
|
|
129
|
+
const response = await data.graphql?.<Q, V>({ query, variables });
|
|
130
130
|
|
|
131
131
|
if (response?.errors?.length) {
|
|
132
132
|
const errorMessages = response.errors.map((e) => e.message).join("; ");
|
|
@@ -328,7 +328,7 @@ export async function getRecordsGraphQL(
|
|
|
328
328
|
};
|
|
329
329
|
|
|
330
330
|
const data = await createDataSDK();
|
|
331
|
-
const response = await data.graphql?.<RecordListGraphQLResult>(query, variables);
|
|
331
|
+
const response = await data.graphql?.<RecordListGraphQLResult>({ query, variables });
|
|
332
332
|
|
|
333
333
|
if (response?.errors?.length) {
|
|
334
334
|
const errorMessages = response.errors.map((e) => e.message).join("; ");
|