@pitcher/canvas-ui 2026.1.6-134415-beta → 2026.1.7-082401-beta
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/canvas-ui.css +17 -17
- package/canvas-ui.js +276 -1070
- package/canvas-ui.js.map +1 -1
- package/lib/api/events/events.helpers.d.ts +2 -14
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +0 -5
- package/lib/apps/canvas-builder/composables/usePopupApps.d.ts +2 -2
- package/lib/main.lib.d.ts +0 -2
- package/lib/sdk/api/HighLevelApi.d.ts +0 -4
- package/lib/sdk/api/modules/query.d.ts +1 -77
- package/lib/sdk/api/modules/ui/content.ui.d.ts +1 -22
- package/lib/sdk/api/modules/ui/index.d.ts +0 -2
- package/lib/sdk/api/modules/ui/types.ui.d.ts +0 -12
- package/lib/sdk/main.d.ts +0 -18
- package/lib/sdk/payload.types.d.ts +0 -57
- package/lib/types/app.d.ts +1 -1
- package/lib/types/instanceSettings.types.d.ts +0 -1
- package/lib/types/sfdc.d.ts +0 -5
- package/locale/de.json +0 -1
- package/locale/el.json +0 -1
- package/locale/en.json +0 -1
- package/locale/es.json +0 -1
- package/locale/fr.json +0 -1
- package/locale/it.json +0 -1
- package/locale/ja.json +0 -1
- package/locale/nl.json +0 -1
- package/locale/pl.json +0 -1
- package/locale/pt-br.json +0 -1
- package/locale/pt.json +0 -1
- package/locale/th.json +0 -1
- package/locale/tr.json +0 -1
- package/locale/zh.json +0 -1
- package/package.json +1 -1
- package/lib/composables/useSmartStore.d.ts +0 -25
- package/lib/util/smart-store.util.d.ts +0 -40
- package/lib/util/smart-store.util.spec.d.ts +0 -1
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SmartStore Smart SQL Query Utilities
|
|
3
|
-
*
|
|
4
|
-
* This module provides utilities for converting SOQL queries to SmartStore Smart SQL format
|
|
5
|
-
* for offline data access on iOS devices using Salesforce Mobile SDK.
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* Comprehensive SOQL to SmartStore Smart Query converter
|
|
9
|
-
*
|
|
10
|
-
* Converts standard SOQL queries to SmartStore Smart SQL format for offline use on iOS.
|
|
11
|
-
* Handles SELECT, FROM, WHERE, ORDER BY, GROUP BY, HAVING, LIMIT, OFFSET,
|
|
12
|
-
* aggregate functions, and relationship fields.
|
|
13
|
-
*
|
|
14
|
-
* SmartStore stores denormalized data, so relationship fields are accessed directly
|
|
15
|
-
* within the soup using the full relationship path (e.g., Child_Account_vod__r.Name).
|
|
16
|
-
*
|
|
17
|
-
* @param soqlQuery - The SOQL query string to convert
|
|
18
|
-
* @returns The converted SmartStore Smart SQL query string
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* // Simple query
|
|
22
|
-
* convertSoqlToSmartQuery('SELECT Id, Name FROM Account WHERE Active = true')
|
|
23
|
-
* // Returns: SELECT {Account:Id}, {Account:Name} FROM {Account} WHERE {Account:Active} = true
|
|
24
|
-
*
|
|
25
|
-
* @example
|
|
26
|
-
* // With relationship fields (denormalized access - no joins needed)
|
|
27
|
-
* convertSoqlToSmartQuery('SELECT Id, Child_Account_vod__r.Name FROM Child_Account_vod__c')
|
|
28
|
-
* // Returns: SELECT {Child_Account_vod__c:Id}, {Child_Account_vod__c:Child_Account_vod__r.Name} FROM {Child_Account_vod__c}
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* // With aggregate functions
|
|
32
|
-
* convertSoqlToSmartQuery('SELECT COUNT(Id), Industry FROM Account GROUP BY Industry')
|
|
33
|
-
* // Returns: SELECT COUNT({Account:Id}), {Account:Industry} FROM {Account} GROUP BY {Account:Industry}
|
|
34
|
-
*
|
|
35
|
-
* @example
|
|
36
|
-
* // With ORDER BY and LIMIT
|
|
37
|
-
* convertSoqlToSmartQuery('SELECT Id, Name FROM Contact ORDER BY LastName ASC, FirstName DESC LIMIT 100')
|
|
38
|
-
* // Returns: SELECT {Contact:Id}, {Contact:Name} FROM {Contact} ORDER BY {Contact:LastName} ASC, {Contact:FirstName} DESC LIMIT 100
|
|
39
|
-
*/
|
|
40
|
-
export declare function convertSoqlToSmartQuery(soqlQuery: string): string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|