Skip to content

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 namespaces

Salesforce namespace contains helper types related to Salesforce instance properties, like one that represents Tab API names.

TabApiName

Type containing all existing tab's API names.

/** @type {Salesforce.TabApiName}*/

Schema namespace

Helper types in this namespace are related to SObjects and its properties.

SObjectApiName

Type containing all API names of SObjects in org/sandbox. Can be used on "objectApiName" property, like this:

/** @type {schema.SObjectApiName} */
@api objectApiName

SObjectsMap

Map in with:

Clone this wiki locally