Class FlexCardLwcCompiler
Constructors
constructor
- new FlexCardLwcCompiler(salesforceService, cardAccess, namespaceService, logger): FlexCardLwcCompiler
-
Properties
Private
Readonly
cardAccess
Private
Readonly
namespaceService
Private
Readonly
salesforceService
Methods
compile
- compile(card, options?): Promise<{
name: string;
resources: CompiledResource[];
}>
-
Returns Promise<{
name: string;
resources: CompiledResource[];
}>
compileToToolingRecord
- compileToToolingRecord(card, options?): Promise<{
FullName: string;
Metadata: {
apiVersion: any;
capabilities: {
capability: never[];
};
description: any;
isExposed: any;
lwcResources: {
lwcResource: {
filePath: string;
source: string;
}[];
};
masterLabel: string;
runtimeNamespace: any;
targetConfigs: null | string;
targets: any;
};
}>
-
Returns Promise<{
FullName: string;
Metadata: {
apiVersion: any;
capabilities: {
capability: never[];
};
description: any;
isExposed: any;
lwcResources: {
lwcResource: {
filePath: string;
source: string;
}[];
};
masterLabel: string;
runtimeNamespace: any;
targetConfigs: null | string;
targets: any;
};
}>
Private
getDeployedLwcBundles
getLwcName
- getLwcName(card): any
-
Returns any
Private
initializeLwcGenerator
- initializeLwcGenerator(): Promise<typeof FlexCardDesigner>
-
Returns Promise<typeof FlexCardDesigner>
Compiler that transforms activated OmniScripts into LWC components that can easily be deployed or written to the disk.