-
Notifications
You must be signed in to change notification settings - Fork 2
Helper types
Ziemniakoss edited this page Aug 21, 2022
·
4 revisions
Helper types are types that normally doesn't exist but they can enhance JavaScript autocomplete.
Salesforce namespace contains helper types related to Salesforce instance properties, like one that represents Tab API names.
Type containing all existing tab's API names.
/** @type {Salesforce.TabApiName}*/
Helper types in this namespace are related to SObjects and its properties.
Type containing all API names of SObjects in org/sandbox. Can be used on "objectApiName" property, like this:
/** @type {schema.SObjectApiName} */
@api objectApiName
Map in with:
- keys representing SObjects API names
- values representing SObject interface