@salesforce/nimbus-plugin-lds 1.262.3 → 1.263.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.262.3",
3
+ "version": "1.263.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.262.3",
28
+ "@salesforce/lds-store-sql": "^1.263.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/248000.sql ADDED
@@ -0,0 +1,9 @@
1
+ DROP INDEX IF EXISTS idx_lds_data_uiapi_record_apiname;
2
+
3
+ CREATE INDEX IF NOT EXISTS idx_lds_data_uiapi_record_apiname ON lds_data (
4
+ json_extract(data, '$.apiName'),
5
+ json_extract(data, '$.fields.LastModifiedDate.value') DESC
6
+ )
7
+ WHERE
8
+ key LIKE 'UiApi::RecordRepresentation:%'
9
+ AND json_extract(data, '$.apiName') IS NOT NULL;