@salesforce/nimbus-plugin-lds 1.291.0 → 1.293.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/nimbus-plugin-lds",
3
- "version": "1.291.0",
3
+ "version": "1.293.0",
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",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "devDependencies": {
27
27
  "@rollup/plugin-wasm": "^5.2.0",
28
- "@salesforce/lds-store-sql": "^1.291.0",
28
+ "@salesforce/lds-store-sql": "^1.293.0",
29
29
  "@types/sql.js": "1.4.4",
30
30
  "nimbus-types": "^2.0.0-alpha1",
31
31
  "rollup-plugin-string": "^3.0.0",
package/sql/250000.sql ADDED
@@ -0,0 +1,13 @@
1
+ DROP INDEX IF EXISTS idx_lds_data_workorder_2;
2
+
3
+ CREATE INDEX IF NOT EXISTS idx_lds_data_workorder_2
4
+ ON lds_data (
5
+ json_extract(data, '$.fields.LocationId.value'),
6
+ json_extract(data, '$.fields.LastModifiedDate.value') DESC,
7
+ json_extract(metadata, '$.ingestionTimestamp'),
8
+ json_extract(data, '$.drafts')
9
+ )
10
+ WHERE
11
+ key LIKE 'UiApi::RecordRepresentation:%'
12
+ AND json_extract(data, '$.apiName') = 'WorkOrder'
13
+ AND json_extract(data, '$.fields.LocationId.value') IS NOT NULL;