@salesforce/nimbus-plugin-lds 1.124.3 → 1.124.5

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": "@salesforce/nimbus-plugin-lds",
3
- "version": "1.124.3",
3
+ "version": "1.124.5",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "Nimbus plugins for LDS on Mobile native integrations: durable store, networking, and draft queue.",
6
6
  "types": "dist/types/index.d.ts",
package/sql/244000.sql ADDED
@@ -0,0 +1,23 @@
1
+ DROP INDEX If EXISTS idx_lds_data_uiapi_serviceresource_relatedrecordid;
2
+
3
+ DROP INDEX If EXISTS idx_lds_data_uiapi_assigned_resource_service_appointment_id;
4
+
5
+ DROP INDEX If EXISTS idx_lds_data_uiapi_assigned_resource_service_resource_id;
6
+
7
+ CREATE INDEX If NOT EXISTS idx_lds_data_uiapi_serviceresource_relatedrecordid
8
+ ON lds_data (json_extract(data, '$.fields.RelatedRecordId.value'))
9
+ WHERE
10
+ key LIKE 'UiApi::RecordRepresentation:%'
11
+ AND json_extract(data, '$.apiName') = 'ServiceResource';
12
+
13
+ CREATE INDEX If NOT EXISTS idx_lds_data_uiapi_assignedresource_serviceappointmentid
14
+ ON lds_data(json_extract(data, '$.fields.ServiceAppointmentId.value'))
15
+ WHERE
16
+ key LIKE 'UiApi::RecordRepresentation:%'
17
+ AND json_extract(data, '$.apiName') = 'AssignedResource';
18
+
19
+ CREATE INDEX If NOT EXISTS idx_lds_data_uiapi_assignedresource_serviceresourceid
20
+ ON lds_data(json_extract(data, '$.fields.ServiceResourceId.value'))
21
+ WHERE
22
+ key LIKE 'UiApi::RecordRepresentation:%'
23
+ AND json_extract(data, '$.apiName') = 'AssignedResource';