@supernova-studio/pulsar-core 2.2.4 → 2.2.6
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 +2 -2
- package/build/main/core/src/browser-bundle.d.ts +0 -1
- package/build/main/core/src/engine/ExportEngineLegacy.d.ts +0 -17
- package/build/main/core/src/engine/ExportEngineNew.d.ts +0 -12
- package/build/main/core/src/engine/configuration/ExportConfiguration.d.ts +0 -24
- package/build/main/core/src/engine/generation/ExportDataProducer.d.ts +0 -20
- package/build/main/core/src/engine/generation/queue/ExportDataQueue.d.ts +0 -16
- package/build/main/core/src/engine/generation/queue/ExportDataQueueOperation.d.ts +0 -6
- package/build/main/core/src/engine/generation/requests/ExportDataEmittedResponseProducer.d.ts +0 -7
- package/build/main/core/src/engine/generation/requests/ExportDataPrimaryResponseProducer.d.ts +0 -7
- package/build/main/core/src/engine/generation/requests/ExportDataRequest.d.ts +0 -21
- package/build/main/core/src/engine/generation/requests/ExportDataRequestDataStore.d.ts +0 -16
- package/build/main/core/src/engine/generation/requests/ExportDataRequestNameStore.d.ts +0 -22
- package/build/main/core/src/engine/generation/requests/ExportDataRequestProducer.d.ts +0 -23
- package/build/main/core/src/engine/generation/requests/ExportDataResponse.d.ts +0 -15
- package/build/main/core/src/engine/generation/requests/specific/dsm/ExportDataRequestAsset.d.ts +0 -15
- package/build/main/core/src/engine/generation/requests/specific/dsm/ExportDataRequestBlueprint.d.ts +0 -17
- package/build/main/core/src/engine/generation/requests/specific/dsm/ExportDataRequestBundledResource.d.ts +0 -11
- package/build/main/core/src/engine/generation/requests/specific/dsm/ExportDataRequestDSMComponent.d.ts +0 -13
- package/build/main/core/src/engine/generation/requests/specific/dsm/ExportDataRequestDSMComponentGroup.d.ts +0 -13
- package/build/main/core/src/engine/generation/requests/specific/dsm/ExportDataRequestDSMDocumentationPage.d.ts +0 -13
- package/build/main/core/src/engine/generation/requests/specific/dsm/ExportDataRequestDSMGeneric.d.ts +0 -11
- package/build/main/core/src/engine/generation/requests/specific/dsm/ExportDataRequestDSMTheme.d.ts +0 -13
- package/build/main/core/src/engine/generation/requests/specific/dsm/ExportDataRequestDSMTokenGroup.d.ts +0 -13
- package/build/main/core/src/engine/generation/requests/specific/dsm/ExportDataRequestDSMTokenType.d.ts +0 -13
- package/build/main/core/src/engine/items/ExportItemProducer.d.ts +0 -14
- package/build/main/core/src/engine/items/construction/ExportItem.d.ts +0 -10
- package/build/main/core/src/engine/items/construction/ExportItemBuilder.d.ts +0 -9
- package/build/main/core/src/engine/items/queue/ExportItemQueue.d.ts +0 -16
- package/build/main/core/src/engine/items/queue/ExportItemQueueOperation.d.ts +0 -6
- package/build/main/core/src/engine/items/requests/ExportItemRequest.d.ts +0 -16
- package/build/main/core/src/engine/items/requests/ExportItemRequestProducer.d.ts +0 -8
- package/build/main/core/src/engine/items/requests/ExportItemResponse.d.ts +0 -11
- package/build/main/core/src/engine/items/requests/ExportItemResponseProducer.d.ts +0 -7
- package/build/main/core/src/engine/jsruntime/JSExportContext.d.ts +0 -10
- package/build/main/core/src/engine/loaders/BlueprintLoader.d.ts +0 -9
- package/build/main/core/src/engine/writing/queue/ExportWriterQueue.d.ts +0 -16
- package/build/main/core/src/engine/writing/queue/ExportWriterQueueOperation.d.ts +0 -6
- package/build/main/core/src/engine/writing/requests/ExportWriterRequest.d.ts +0 -16
- package/build/main/core/src/engine/writing/requests/ExportWriterRequestProducer.d.ts +0 -8
- package/build/main/core/src/engine/writing/requests/ExportWriterResponse.d.ts +0 -11
- package/build/main/core/src/engine/writing/requests/ExportWriterResponseProducer.d.ts +0 -7
- package/build/main/core/src/engine/writing/writers/ExportItemWriter.d.ts +0 -14
- package/build/main/core/src/engine/writing/writers/ExportWriterRuleProcessor.d.ts +0 -11
- package/build/main/core/src/engine/writing/writers/memory/ExportWriterMemory.d.ts +0 -4
- package/build/main/core/src/engine/writing/writers/memory/ExportWriterMemoryRequest.d.ts +0 -11
- package/build/main/core/src/engine/writing/writers/memory/ExportWriterStore.d.ts +0 -16
- package/build/main/core/src/exports.d.ts +0 -10
- package/build/main/core/src/index.d.ts +0 -1
- package/build/main/core/src/model/assets/ExporterBundledResource.d.ts +0 -6
- package/build/main/core/src/model/dsm/DSMReferenceStore.d.ts +0 -32
- package/build/main/core/src/model/exporters/Exporter.d.ts +0 -128
- package/build/main/core/src/model/exporters/ExporterContribution.d.ts +0 -15
- package/build/main/core/src/model/exporters/ExporterContributionBlock.d.ts +0 -27
- package/build/main/core/src/model/exporters/ExporterContributionBlockProperty.d.ts +0 -16
- package/build/main/core/src/model/exporters/ExporterContributionBlockVariant.d.ts +0 -18
- package/build/main/core/src/model/exporters/ExporterContributionConfiguration.d.ts +0 -12
- package/build/main/core/src/model/exporters/ExporterContributionConfigurationItem.d.ts +0 -40
- package/build/main/core/src/model/exporters/configuration/ExporterConfigurationProperty.d.ts +0 -44
- package/build/main/core/src/model/maps/ExporterMapAsset.d.ts +0 -32
- package/build/main/core/src/model/maps/ExporterMapBlueprint.d.ts +0 -20
- package/build/main/core/src/model/maps/ExporterMapBundledResource.d.ts +0 -12
- package/build/main/core/src/model/sources/ExporterSource.d.ts +0 -25
- package/build/main/core/src/pulsar/Pulsar.d.ts +0 -91
- package/build/main/core/src/pulsar/PulsarInterface.d.ts +0 -118
- package/build/main/core/src/pulsar/PulsarStaticAnalysis.d.ts +0 -14
- package/build/main/core/src/pulsar/PulsarStaticAnalysisInterface.d.ts +0 -12
- package/build/main/core/src/pulsar/managers/PulsarBlueprintManager.d.ts +0 -16
- package/build/main/core/src/pulsar/managers/PulsarCIManager.d.ts +0 -31
- package/build/main/core/src/pulsar/managers/PulsarCodeManager.d.ts +0 -24
- package/build/main/core/src/pulsar/managers/PulsarConfigurationManager.d.ts +0 -6
- package/build/main/core/src/pulsar/managers/PulsarExporterManager.d.ts +0 -7
- package/build/main/core/src/pulsar/managers/generators/PulsarExporterPackageAnalyzer.d.ts +0 -10
- package/build/main/core/src/pulsar/managers/generators/PulsarExporterPackageGenerator.d.ts +0 -7
- package/build/main/core/src/pulsar/managers/generators/PulsarFiles.d.ts +0 -21
- package/build/main/core/src/pulsar/managers/loaders/PulsarExporterPackageBrowserLoader.d.ts +0 -14
- package/build/main/core/src/pulsar/managers/loaders/PulsarExporterPackageFileSystemLoader.d.ts +0 -15
- package/build/main/core/src/pulsar/managers/loaders/PulsarExporterPackageGithubLoader.d.ts +0 -34
- package/build/main/core/src/pulsar/managers/loaders/PulsarExporterPackageLoader.d.ts +0 -10
- package/build/main/core/src/pulsar/managers/loaders/PulsarExporterPackageMemoryLoader.d.ts +0 -14
- package/build/main/core/src/pulsar/managers/loaders/PulsarExporterPackageURLLoader.d.ts +0 -14
- package/build/main/core/src/pulsar/managers/loaders/partials/PulsarExporterAssetLoader.d.ts +0 -13
- package/build/main/core/src/pulsar/managers/loaders/partials/PulsarExporterConfigLoader.d.ts +0 -9
- package/build/main/core/src/pulsar/managers/loaders/partials/PulsarExporterJSLoader.d.ts +0 -9
- package/build/main/core/src/pulsar/managers/loaders/partials/PulsarExporterLocalConfigLoader.d.ts +0 -9
- package/build/main/core/src/pulsar/managers/loaders/partials/PulsarExporterMappingLoader.d.ts +0 -21
- package/build/main/core/src/pulsar/managers/loaders/partials/PulsarExporterObjectLoader.d.ts +0 -7
- package/build/main/core/src/pulsar/managers/loaders/partials/PulsarExporterReadmeLoader.d.ts +0 -9
- package/build/main/core/src/pulsar/managers/loaders/partials/PulsarExporterSourceLoader.d.ts +0 -14
- package/build/main/core/src/pulsar/managers/loaders/support/PulsarExporterUnzipper.d.ts +0 -11
- package/build/main/core/src/pulsar/managers/loaders/support/PulsarPathParser.d.ts +0 -4
- package/build/main/core/src/pulsar/managers/loaders/validators/PulsarExporterConfigurationValidator.d.ts +0 -11
- package/build/main/core/src/pulsar/managers/loaders/validators/PulsarExporterMappingValidator.d.ts +0 -8
- package/build/main/core/src/pulsar/managers/loaders/validators/PulsarExporterObjectValidator.d.ts +0 -10
- package/build/main/core/src/pulsar/managers/loaders/validators/PulsarExporterSourceValidator.d.ts +0 -4
- package/build/main/core/src/pulsar/managers/loaders/validators/PulsarJSONValidator.d.ts +0 -3
- package/build/main/core/src/tests/TestConfiguration.d.ts +0 -10
- package/build/main/core/src/tests/casebuilders/ci.d.ts +0 -12
- package/build/main/core/src/tests/casebuilders/configuration.d.ts +0 -5
- package/build/main/core/src/tests/casebuilders/dsm.d.ts +0 -7
- package/build/main/core/src/tests/casebuilders/modelObjects.d.ts +0 -14
- package/build/main/core/src/tests/complex/TestExporter.spec.d.ts +0 -1
- package/build/main/core/src/tests/dynamic_execution/DynamicExecutionSupport.d.ts +0 -4
- package/build/main/core/src/tests/dynamic_execution/TestConfigurableExecution.spec.d.ts +0 -1
- package/build/main/core/src/tests/dynamic_execution/TestJSConstantExecution.spec.d.ts +0 -1
- package/build/main/core/src/tests/dynamic_execution/TestJSFunctionExecution.spec.d.ts +0 -1
- package/build/main/core/src/tests/dynamic_execution/TestJSTransformerExecution.spec.d.ts +0 -1
- package/build/main/core/src/tests/lib.pulsar/TestPulsarBlueprintManipulation.spec.d.ts +0 -1
- package/build/main/core/src/tests/lib.pulsar/TestPulsarCodeManipulation.spec.d.ts +0 -1
- package/build/main/core/src/tests/lib.pulsar/TestPulsarExporterManipulation.spec.d.ts +0 -1
- package/build/main/core/src/tests/packages/TestGitHubPackageDownloader.spec.d.ts +0 -1
- package/build/main/core/src/tests/packages/TestRemotePackageDownloader.spec.d.ts +0 -1
- package/build/main/core/src/tests/packages/TestZipping.spec.d.ts +0 -1
- package/build/main/core/src/tests/scenarios/TestBrowserScenario.spec.d.ts +0 -1
- package/build/main/core/src/tests/scenarios/TestCIScenario.spec.d.ts +0 -1
- package/build/main/core/src/tools/Logger.d.ts +0 -3
- package/build/main/core/src/tools/LoggerDefaultMessages.d.ts +0 -9
- package/build/main/core/src/tools/Timer.d.ts +0 -14
- package/build/main/pulsar-core.js +0 -2
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PCExportWriterResponse } from './ExportWriterResponse';
|
|
2
|
-
import { PCExportWriterRequest } from './ExportWriterRequest';
|
|
3
|
-
export declare class PCExportWriterResponseProducer {
|
|
4
|
-
constructor();
|
|
5
|
-
produceResponsesFromRequests(requests: Array<PCExportWriterRequest>): Array<PCExportWriterResponse>;
|
|
6
|
-
produceResponseFromRequest(request: PCExportWriterRequest): PCExportWriterResponse;
|
|
7
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { PCExportWriterRequest } from './../requests/ExportWriterRequest';
|
|
2
|
-
import { PCExportWriterResponse } from './../requests/ExportWriterResponse';
|
|
3
|
-
import { PCExportItemResponse } from './../../items/requests/ExportItemResponse';
|
|
4
|
-
import { PCExportConfiguration } from './../../configuration/ExportConfiguration';
|
|
5
|
-
import { PCExportWriterQueue } from '../queue/ExportWriterQueue';
|
|
6
|
-
export declare class PCExportItemWriter {
|
|
7
|
-
configuration: PCExportConfiguration;
|
|
8
|
-
processingQueue: PCExportWriterQueue;
|
|
9
|
-
constructor(exportConfiguration: PCExportConfiguration);
|
|
10
|
-
validateCanWriteItems(): Promise<void>;
|
|
11
|
-
write(itemResponses: Array<PCExportItemResponse>): Promise<Array<PCExportWriterResponse>>;
|
|
12
|
-
generateRequestsForItemResponse(itemResponse: PCExportItemResponse): Array<PCExportWriterRequest>;
|
|
13
|
-
generateResponsesFromFinishedRequests(finishedRequests: Array<PCExportWriterRequest>): Array<PCExportWriterResponse>;
|
|
14
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { PLInterpreterContext } from '@supernova-studio/pulsar-language';
|
|
2
|
-
import { PCExporterMapAsset } from '../../../model/maps/ExporterMapAsset';
|
|
3
|
-
import { PCExporterMapBlueprint } from '../../../model/maps/ExporterMapBlueprint';
|
|
4
|
-
import { PCExportConfiguration } from '../../configuration/ExportConfiguration';
|
|
5
|
-
export declare class PCExportWriterRuleProcessor {
|
|
6
|
-
configuration: PCExportConfiguration;
|
|
7
|
-
constructor(configuration: PCExportConfiguration);
|
|
8
|
-
resolveDestinationURL(map: PCExporterMapBlueprint | PCExporterMapAsset, dynamicRule: string, data: Object, root: string | null): Promise<string>;
|
|
9
|
-
resolvedDestinationURL(staticRule: string, root: string | null): string;
|
|
10
|
-
interpreterContext(data: Object): PLInterpreterContext;
|
|
11
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { PCExportWriterRequest } from './../../requests/ExportWriterRequest';
|
|
2
|
-
import { PCExportItem } from './../../../items/construction/ExportItem';
|
|
3
|
-
import { PCExporterMapAsset } from '../../../../model/maps/ExporterMapAsset';
|
|
4
|
-
import { PCExporterMapBlueprint } from '../../../../model/maps/ExporterMapBlueprint';
|
|
5
|
-
import { PCExporterMapBundledResource } from '../../../../model/maps/ExporterMapBundledResource';
|
|
6
|
-
export declare class PCExportWriterMemoryRequest extends PCExportWriterRequest {
|
|
7
|
-
writeItem(): Promise<PCExportItem>;
|
|
8
|
-
writeGeneratedSourceItem(map: PCExporterMapBlueprint, item: PCExportItem): Promise<PCExportItem>;
|
|
9
|
-
writeBundledResourceItem(map: PCExporterMapBundledResource, item: PCExportItem): Promise<PCExportItem>;
|
|
10
|
-
writeAssetItem(map: PCExporterMapAsset, item: PCExportItem): Promise<PCExportItem>;
|
|
11
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
declare type PCExporterWriterMemoryStoreItem = {
|
|
2
|
-
type: 'string' | 'copy_item' | 'copy_item_remote';
|
|
3
|
-
destinationPath: string;
|
|
4
|
-
payload: any;
|
|
5
|
-
shouldIgnore: boolean;
|
|
6
|
-
};
|
|
7
|
-
export declare class PCExportWriterMemoryStore {
|
|
8
|
-
dataStore: Array<PCExporterWriterMemoryStoreItem>;
|
|
9
|
-
constructor();
|
|
10
|
-
storeStringContentItem(payload: string, destinationPath: string): PCExporterWriterMemoryStoreItem;
|
|
11
|
-
storeCopyLocalPathItem(copyPath: string, destinationPath: string): PCExporterWriterMemoryStoreItem;
|
|
12
|
-
storeCopyRemotePathItem(copyPath: string, destinationPath: string): PCExporterWriterMemoryStoreItem;
|
|
13
|
-
private validateUniqueness;
|
|
14
|
-
static shouldIgnore(destinationPath: string): boolean;
|
|
15
|
-
}
|
|
16
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export { PCPulsarExporterPackageAnalyzer } from './pulsar/managers/generators/PulsarExporterPackageAnalyzer';
|
|
2
|
-
export { PCLogger } from './tools/Logger';
|
|
3
|
-
export { PCLoggerDefaultMessages } from './tools/LoggerDefaultMessages';
|
|
4
|
-
export { PCPulsar, PCPulsarExporterMode } from './pulsar/Pulsar';
|
|
5
|
-
export { PCPulsarStaticAnalysis } from './pulsar/PulsarStaticAnalysis';
|
|
6
|
-
export { DSMReferenceStore } from './model/dsm/DSMReferenceStore';
|
|
7
|
-
export * from './pulsar/PulsarInterface';
|
|
8
|
-
export { PCPulsarExporterPackageGenerator } from './pulsar/managers/generators/PulsarExporterPackageGenerator';
|
|
9
|
-
export * from './pulsar/PulsarInterface';
|
|
10
|
-
export { PCExporterEnvironment } from './model/exporters/Exporter';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './exports';
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export declare type DSMReferenceStoreEntry = {
|
|
2
|
-
id: string;
|
|
3
|
-
name: string;
|
|
4
|
-
};
|
|
5
|
-
export declare type DSMReferenceStoreModel = {
|
|
6
|
-
components: Array<DSMReferenceStoreEntry>;
|
|
7
|
-
componentGroups: Array<DSMReferenceStoreEntry>;
|
|
8
|
-
tokenGroups: Array<DSMReferenceStoreEntry>;
|
|
9
|
-
tokenTypes: Array<DSMReferenceStoreEntry>;
|
|
10
|
-
themes: Array<DSMReferenceStoreEntry>;
|
|
11
|
-
documentationPages: Array<DSMReferenceStoreEntry>;
|
|
12
|
-
};
|
|
13
|
-
export declare class DSMReferenceStore {
|
|
14
|
-
components: Array<DSMReferenceStoreEntry>;
|
|
15
|
-
componentGroups: Array<DSMReferenceStoreEntry>;
|
|
16
|
-
tokenGroups: Array<DSMReferenceStoreEntry>;
|
|
17
|
-
tokenTypes: Array<DSMReferenceStoreEntry>;
|
|
18
|
-
themes: Array<DSMReferenceStoreEntry>;
|
|
19
|
-
documentationPages: Array<DSMReferenceStoreEntry>;
|
|
20
|
-
contexts: Array<DSMReferenceStoreEntry>;
|
|
21
|
-
constructor(data: DSMReferenceStoreModel);
|
|
22
|
-
static empty(): DSMReferenceStore;
|
|
23
|
-
emptyState(): DSMReferenceStoreEntry;
|
|
24
|
-
executableComponentGroups(): Array<DSMReferenceStoreEntry>;
|
|
25
|
-
executableComponents(): Array<DSMReferenceStoreEntry>;
|
|
26
|
-
executableTokenGroups(): Array<DSMReferenceStoreEntry>;
|
|
27
|
-
executableTokenTypes(): Array<DSMReferenceStoreEntry>;
|
|
28
|
-
executableThemes(): Array<DSMReferenceStoreEntry>;
|
|
29
|
-
executableDocumentationPages(): Array<DSMReferenceStoreEntry>;
|
|
30
|
-
private retrieveFixingEmptyState;
|
|
31
|
-
private arrayIsEmptyState;
|
|
32
|
-
}
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import { PCBundledResource } from '../assets/ExporterBundledResource';
|
|
2
|
-
import { PCExporterMapAsset } from '../maps/ExporterMapAsset';
|
|
3
|
-
import { PCExporterMapBundledResource } from '../maps/ExporterMapBundledResource';
|
|
4
|
-
import { PCExporterSource } from '../sources/ExporterSource';
|
|
5
|
-
import { PCExporterMapBlueprint } from './../maps/ExporterMapBlueprint';
|
|
6
|
-
import { PCExporterConfigurationProperty } from './configuration/ExporterConfigurationProperty';
|
|
7
|
-
import { PCExporterContribution, PCExporterContributionModel } from './ExporterContribution';
|
|
8
|
-
export declare enum PCExporterType {
|
|
9
|
-
code = "code",
|
|
10
|
-
documentation = "documentation"
|
|
11
|
-
}
|
|
12
|
-
export declare type PCExporterModel = {
|
|
13
|
-
id: string;
|
|
14
|
-
type?: PCExporterType;
|
|
15
|
-
name: string;
|
|
16
|
-
description: string;
|
|
17
|
-
author?: string;
|
|
18
|
-
organization?: string;
|
|
19
|
-
icon?: string;
|
|
20
|
-
homepage: string;
|
|
21
|
-
source_dir: string;
|
|
22
|
-
assets_dir?: string;
|
|
23
|
-
version: string;
|
|
24
|
-
routing?: string;
|
|
25
|
-
usesBrands?: boolean;
|
|
26
|
-
usesThemes?: boolean;
|
|
27
|
-
usesLocale?: boolean;
|
|
28
|
-
executable?: string;
|
|
29
|
-
engine?: PCExporterEngine;
|
|
30
|
-
config?: {
|
|
31
|
-
js?: string;
|
|
32
|
-
sources?: string;
|
|
33
|
-
output?: string;
|
|
34
|
-
};
|
|
35
|
-
contributes?: PCExporterContributionModel;
|
|
36
|
-
tags: Array<string>;
|
|
37
|
-
};
|
|
38
|
-
export declare type PCExporterLightweight = {
|
|
39
|
-
id: string;
|
|
40
|
-
type: PCExporterType;
|
|
41
|
-
name: string;
|
|
42
|
-
description: string | null;
|
|
43
|
-
author: string | null;
|
|
44
|
-
organization: string | null;
|
|
45
|
-
homepage: string | null;
|
|
46
|
-
version: string;
|
|
47
|
-
routingVersion?: string;
|
|
48
|
-
usesBrands: boolean;
|
|
49
|
-
usesThemes: boolean;
|
|
50
|
-
usesLocale: boolean;
|
|
51
|
-
tags: Array<string>;
|
|
52
|
-
engine: PCExporterEngine;
|
|
53
|
-
executable: string | null;
|
|
54
|
-
};
|
|
55
|
-
export declare enum PCExporterEnvironment {
|
|
56
|
-
ci = "ci",
|
|
57
|
-
extension = "extension"
|
|
58
|
-
}
|
|
59
|
-
export declare enum PCExporterEngine {
|
|
60
|
-
latest = "latest",
|
|
61
|
-
legacy = "legacy"
|
|
62
|
-
}
|
|
63
|
-
export declare class PCExporter {
|
|
64
|
-
environment: PCExporterEnvironment;
|
|
65
|
-
id: string;
|
|
66
|
-
type: PCExporterType;
|
|
67
|
-
name: string;
|
|
68
|
-
description: string;
|
|
69
|
-
author: string | null;
|
|
70
|
-
organization: string | null;
|
|
71
|
-
homepage: string;
|
|
72
|
-
sourceDirectory: string;
|
|
73
|
-
assetsDirectory: string | null;
|
|
74
|
-
version: string;
|
|
75
|
-
routingVersion?: string;
|
|
76
|
-
usesBrands: boolean;
|
|
77
|
-
usesThemes: boolean;
|
|
78
|
-
usesLocale: boolean;
|
|
79
|
-
sourceConfigFilePath: string | null;
|
|
80
|
-
outputConfigFilePath: string | null;
|
|
81
|
-
jsFilePath: string | null;
|
|
82
|
-
executable: string | null;
|
|
83
|
-
engine: PCExporterEngine;
|
|
84
|
-
tags: Array<string>;
|
|
85
|
-
sources: Map<string, PCExporterSource>;
|
|
86
|
-
bundledResources: Array<PCBundledResource>;
|
|
87
|
-
icon: PCBundledResource | null;
|
|
88
|
-
blueprintMaps: Array<PCExporterMapBlueprint>;
|
|
89
|
-
assetMaps: Array<PCExporterMapAsset>;
|
|
90
|
-
bundledResourceMaps: Array<PCExporterMapBundledResource>;
|
|
91
|
-
loadedJSExecutable: string | null;
|
|
92
|
-
contributes: PCExporterContribution;
|
|
93
|
-
configProperties: Array<PCExporterConfigurationProperty>;
|
|
94
|
-
configOverride: object | null;
|
|
95
|
-
readme: string | null;
|
|
96
|
-
repository: {
|
|
97
|
-
url: string;
|
|
98
|
-
branch: string;
|
|
99
|
-
directory: string;
|
|
100
|
-
} | null;
|
|
101
|
-
constructor(data: PCExporterModel, environment: PCExporterEnvironment);
|
|
102
|
-
applyConfiguration(data: PCExporterModel): void;
|
|
103
|
-
resolvedConfiguration(): {};
|
|
104
|
-
assignJSExecutable(executable: string | null): void;
|
|
105
|
-
linkSources(sources: Array<PCExporterSource>): void;
|
|
106
|
-
linkBlueprintMapping(maps: Array<PCExporterMapBlueprint>): void;
|
|
107
|
-
linkBundledResourceMapping(maps: Array<PCExporterMapBundledResource>): void;
|
|
108
|
-
linkAssetMapping(maps: Array<PCExporterMapAsset>): void;
|
|
109
|
-
linkBundledResources(resources: Array<PCBundledResource>): void;
|
|
110
|
-
linkIcon(icon: PCBundledResource | null): void;
|
|
111
|
-
localPathForAssetKey(key: string): string | null;
|
|
112
|
-
sourceByIdIgnoringExecutableExtension(sourceId: string): PCExporterSource | null;
|
|
113
|
-
rawSources(): Array<PCExporterSource>;
|
|
114
|
-
sourceById(sourceId: string): PCExporterSource | null;
|
|
115
|
-
storeNewSource(source: PCExporterSource): void;
|
|
116
|
-
removeSource(source: PCExporterSource): void;
|
|
117
|
-
removeSourceById(sourceId: string): void;
|
|
118
|
-
storeSources(sources: Array<PCExporterSource>): void;
|
|
119
|
-
removeSources(sources: Array<PCExporterSource>): void;
|
|
120
|
-
moveBlueprintSource(oldId: string, newId: string, newPath: string | null): void;
|
|
121
|
-
removeBlueprintMaps(): void;
|
|
122
|
-
removeAssetMaps(): void;
|
|
123
|
-
userRepresentation(): PCExporterLightweight;
|
|
124
|
-
systemRepresentation(): {
|
|
125
|
-
usesNewRouting: boolean;
|
|
126
|
-
environment: PCExporterEnvironment;
|
|
127
|
-
};
|
|
128
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { PCExporterContributionBlock, PCExporterContributionBlockModel } from './ExporterContributionBlock';
|
|
2
|
-
import { PCExporterContributionBlockVariant } from './ExporterContributionBlockVariant';
|
|
3
|
-
import { PCExporterContributionConfiguration } from './ExporterContributionConfiguration';
|
|
4
|
-
import { PCExporterContributionConfigurationItemModel } from './ExporterContributionConfigurationItem';
|
|
5
|
-
export declare type PCExporterContributionModel = {
|
|
6
|
-
configuration?: Array<PCExporterContributionConfigurationItemModel>;
|
|
7
|
-
blocks?: Array<PCExporterContributionBlockModel>;
|
|
8
|
-
blockVariants?: Object;
|
|
9
|
-
};
|
|
10
|
-
export declare class PCExporterContribution {
|
|
11
|
-
configuration: PCExporterContributionConfiguration;
|
|
12
|
-
blocks: Array<PCExporterContributionBlock>;
|
|
13
|
-
variants: Map<string, Array<PCExporterContributionBlockVariant>>;
|
|
14
|
-
constructor(data: PCExporterContributionModel);
|
|
15
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { PCBundledResource } from '../assets/ExporterBundledResource';
|
|
2
|
-
import { PCExporterContributionBlockPropertyModel } from './ExporterContributionBlockProperty';
|
|
3
|
-
export declare enum PCExporterContributionBlockMode {
|
|
4
|
-
block = "block",
|
|
5
|
-
array = "array"
|
|
6
|
-
}
|
|
7
|
-
export declare type PCExporterContributionBlockModel = {
|
|
8
|
-
key: string;
|
|
9
|
-
title: string;
|
|
10
|
-
description: string;
|
|
11
|
-
category: string;
|
|
12
|
-
icon: string;
|
|
13
|
-
mode: PCExporterContributionBlockMode;
|
|
14
|
-
properties: Array<PCExporterContributionBlockPropertyModel>;
|
|
15
|
-
};
|
|
16
|
-
export declare class PCExporterContributionBlock {
|
|
17
|
-
key: string;
|
|
18
|
-
title: string;
|
|
19
|
-
description: string;
|
|
20
|
-
category: string;
|
|
21
|
-
icon: PCBundledResource | null;
|
|
22
|
-
iconKey: string | null;
|
|
23
|
-
mode: PCExporterContributionBlockMode;
|
|
24
|
-
properties: Array<PCExporterContributionBlockPropertyModel>;
|
|
25
|
-
constructor(data: PCExporterContributionBlockModel);
|
|
26
|
-
linkIcon(icon: PCBundledResource | null): void;
|
|
27
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { PCExporterContributionConfigurationItemType } from './ExporterContributionConfigurationItem';
|
|
2
|
-
export declare type PCExporterContributionBlockPropertyModel = {
|
|
3
|
-
label: string;
|
|
4
|
-
key: string;
|
|
5
|
-
type: PCExporterContributionConfigurationItemType;
|
|
6
|
-
default?: string | number | boolean;
|
|
7
|
-
values: Array<string>;
|
|
8
|
-
};
|
|
9
|
-
export declare class PCExporterContributionBlockProperty {
|
|
10
|
-
label: string;
|
|
11
|
-
key: string;
|
|
12
|
-
type: PCExporterContributionConfigurationItemType;
|
|
13
|
-
default: string | number | boolean | null;
|
|
14
|
-
values: Array<string>;
|
|
15
|
-
constructor(data: PCExporterContributionBlockPropertyModel);
|
|
16
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { PCBundledResource } from "../assets/ExporterBundledResource";
|
|
2
|
-
export declare type PCExporterContributionBlockVariantModel = {
|
|
3
|
-
key: string;
|
|
4
|
-
name: string;
|
|
5
|
-
isDefault?: boolean;
|
|
6
|
-
thumbnail?: string;
|
|
7
|
-
description?: string;
|
|
8
|
-
};
|
|
9
|
-
export declare class PCExporterContributionBlockVariant {
|
|
10
|
-
key: string;
|
|
11
|
-
name: string;
|
|
12
|
-
isDefault: boolean;
|
|
13
|
-
thumbnail: PCBundledResource | null;
|
|
14
|
-
thumbnailKey: string | null;
|
|
15
|
-
description: string | null;
|
|
16
|
-
constructor(data: PCExporterContributionBlockVariantModel);
|
|
17
|
-
linkThumbnail(thumbnail: PCBundledResource | null): void;
|
|
18
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { PCExporterContributionConfigurationItemModel } from './ExporterContributionConfigurationItem';
|
|
2
|
-
export declare class PCExporterContributionConfiguration {
|
|
3
|
-
private userConfiguration;
|
|
4
|
-
private items;
|
|
5
|
-
constructor(data: Array<PCExporterContributionConfigurationItemModel>);
|
|
6
|
-
/** Store user configuration which overrides the default configuration. Note that keys that are not defined in the configuration are ignored. Types must match as well */
|
|
7
|
-
applyUserConfiguration(configurationObject: Object): void;
|
|
8
|
-
/** Retrieve user configuration that will be used in blueprints */
|
|
9
|
-
resolvedRuntimeConfiguration(): Object;
|
|
10
|
-
/** Retrieve configuration that will be stored back when serializing */
|
|
11
|
-
storedConfiguration(): Array<PCExporterContributionConfigurationItemModel>;
|
|
12
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
export declare type PCExporterContributionConfigurationItemModel = {
|
|
2
|
-
label: string;
|
|
3
|
-
key: string;
|
|
4
|
-
description?: string;
|
|
5
|
-
category: string;
|
|
6
|
-
type: PCExporterContributionConfigurationItemType;
|
|
7
|
-
inputType?: PCExporterContributionConfigurationInputType;
|
|
8
|
-
isMultiline?: boolean;
|
|
9
|
-
default?: string | number | boolean;
|
|
10
|
-
values?: Array<string>;
|
|
11
|
-
};
|
|
12
|
-
export declare enum PCExporterContributionConfigurationItemType {
|
|
13
|
-
string = "string",
|
|
14
|
-
number = "number",
|
|
15
|
-
boolean = "boolean",
|
|
16
|
-
enum = "enum",
|
|
17
|
-
image = "image",
|
|
18
|
-
color = "color",
|
|
19
|
-
typography = "typography",
|
|
20
|
-
component = "component",
|
|
21
|
-
componentProperties = "componentProperties",
|
|
22
|
-
tokenProperties = "tokenProperties",
|
|
23
|
-
tokenType = "tokenType"
|
|
24
|
-
}
|
|
25
|
-
export declare enum PCExporterContributionConfigurationInputType {
|
|
26
|
-
plain = "plain",
|
|
27
|
-
code = "code"
|
|
28
|
-
}
|
|
29
|
-
export declare class PCExporterContributionConfigurationItem {
|
|
30
|
-
label: string;
|
|
31
|
-
description: string | null;
|
|
32
|
-
category: string;
|
|
33
|
-
key: string;
|
|
34
|
-
isMultiline: boolean;
|
|
35
|
-
inputType: PCExporterContributionConfigurationInputType;
|
|
36
|
-
type: PCExporterContributionConfigurationItemType;
|
|
37
|
-
default: string | number | boolean | null;
|
|
38
|
-
values: Array<string>;
|
|
39
|
-
constructor(data: PCExporterContributionConfigurationItemModel);
|
|
40
|
-
}
|
package/build/main/core/src/model/exporters/configuration/ExporterConfigurationProperty.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
export declare type PCExporterConfigurationPropertyType = 'boolean' | 'string' | 'enum' | 'number' | 'object' | 'array';
|
|
2
|
-
declare type PCExporterConfigurationBaseProperty = {
|
|
3
|
-
key: string;
|
|
4
|
-
title: string;
|
|
5
|
-
description: string;
|
|
6
|
-
type: PCExporterConfigurationPropertyType;
|
|
7
|
-
};
|
|
8
|
-
export declare type PCExporterConfigurationPropertyEnum = PCExporterConfigurationBaseProperty & {
|
|
9
|
-
type: 'enum';
|
|
10
|
-
options: string[];
|
|
11
|
-
default: string;
|
|
12
|
-
};
|
|
13
|
-
export declare type PCExporterConfigurationPropertyBoolean = PCExporterConfigurationBaseProperty & {
|
|
14
|
-
type: 'boolean';
|
|
15
|
-
default: boolean;
|
|
16
|
-
};
|
|
17
|
-
export declare type PCExporterConfigurationPropertyString = PCExporterConfigurationBaseProperty & {
|
|
18
|
-
type: 'string';
|
|
19
|
-
default: string;
|
|
20
|
-
};
|
|
21
|
-
export declare type PCExporterConfigurationPropertyNumber = PCExporterConfigurationBaseProperty & {
|
|
22
|
-
type: 'number';
|
|
23
|
-
default: number;
|
|
24
|
-
};
|
|
25
|
-
export declare type PCExporterConfigurationPropertyArray = PCExporterConfigurationBaseProperty & {
|
|
26
|
-
type: 'array';
|
|
27
|
-
default: [];
|
|
28
|
-
};
|
|
29
|
-
export declare type PCExporterConfigurationPropertyObject = PCExporterConfigurationBaseProperty & {
|
|
30
|
-
type: 'object';
|
|
31
|
-
default: object;
|
|
32
|
-
allowedKeys?: PCExporterConfigurationAllowedKeys;
|
|
33
|
-
allowedValues?: PCExporterConfigurationAllowedValues;
|
|
34
|
-
};
|
|
35
|
-
export declare type PCExporterConfigurationProperty = PCExporterConfigurationPropertyEnum | PCExporterConfigurationPropertyBoolean | PCExporterConfigurationPropertyString | PCExporterConfigurationPropertyNumber | PCExporterConfigurationPropertyObject | PCExporterConfigurationPropertyArray;
|
|
36
|
-
declare type PCExporterConfigurationAllowedKeys = {
|
|
37
|
-
options?: string[];
|
|
38
|
-
type: 'string';
|
|
39
|
-
};
|
|
40
|
-
declare type PCExporterConfigurationAllowedValues = {
|
|
41
|
-
options?: string[];
|
|
42
|
-
type: 'string';
|
|
43
|
-
};
|
|
44
|
-
export {};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { PCExporter } from '../exporters/Exporter';
|
|
2
|
-
export declare enum PCExporterMapAssetType {
|
|
3
|
-
image = "image"
|
|
4
|
-
}
|
|
5
|
-
export declare enum PCExporterMapAssetScale {
|
|
6
|
-
one = "1x",
|
|
7
|
-
two = "2x",
|
|
8
|
-
three = "3x",
|
|
9
|
-
four = "4x"
|
|
10
|
-
}
|
|
11
|
-
export declare enum PCExporterMapAssetFormat {
|
|
12
|
-
png = "png",
|
|
13
|
-
svg = "svg",
|
|
14
|
-
pdf = "pdf"
|
|
15
|
-
}
|
|
16
|
-
export declare type PCExporterMapAssetModel = {
|
|
17
|
-
type: PCExporterMapAssetType;
|
|
18
|
-
write_using: string;
|
|
19
|
-
scale: PCExporterMapAssetScale;
|
|
20
|
-
format: PCExporterMapAssetFormat;
|
|
21
|
-
blueprint_data?: object;
|
|
22
|
-
};
|
|
23
|
-
export declare class PCExporterMapAsset {
|
|
24
|
-
type: PCExporterMapAssetType;
|
|
25
|
-
write_using: string;
|
|
26
|
-
scale: PCExporterMapAssetScale;
|
|
27
|
-
format: PCExporterMapAssetFormat;
|
|
28
|
-
blueprintData: object | null;
|
|
29
|
-
blueprintSystem: object;
|
|
30
|
-
constructor(data: PCExporterMapAssetModel, exporter: PCExporter);
|
|
31
|
-
toObject(): PCExporterMapAssetModel;
|
|
32
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { PCExporter } from '../exporters/Exporter';
|
|
2
|
-
export declare type PCExporterMapBlueprintModel = {
|
|
3
|
-
invoke: string;
|
|
4
|
-
write_to?: string;
|
|
5
|
-
write_using?: string;
|
|
6
|
-
when?: string;
|
|
7
|
-
emit_only?: boolean;
|
|
8
|
-
blueprint_data?: object;
|
|
9
|
-
};
|
|
10
|
-
export declare class PCExporterMapBlueprint {
|
|
11
|
-
invoke: string;
|
|
12
|
-
write_to: string | null;
|
|
13
|
-
write_using: string | null;
|
|
14
|
-
condition: string | null;
|
|
15
|
-
emitOnly: boolean;
|
|
16
|
-
blueprintData: object | null;
|
|
17
|
-
blueprintSystem: object;
|
|
18
|
-
constructor(data: PCExporterMapBlueprintModel, exporter: PCExporter);
|
|
19
|
-
toObject(): PCExporterMapBlueprintModel;
|
|
20
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { PCExporter } from '../exporters/Exporter';
|
|
2
|
-
export declare type PCExporterMapBundledResourceModel = {
|
|
3
|
-
resource: string;
|
|
4
|
-
write_to: string;
|
|
5
|
-
};
|
|
6
|
-
export declare class PCExporterMapBundledResource {
|
|
7
|
-
resource: string;
|
|
8
|
-
write_to: string;
|
|
9
|
-
blueprintSystem: object;
|
|
10
|
-
constructor(data: PCExporterMapBundledResourceModel, exporter: PCExporter);
|
|
11
|
-
toObject(): PCExporterMapBundledResourceModel;
|
|
12
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export declare enum PCExporterSourceContextType {
|
|
2
|
-
generic = "generic",
|
|
3
|
-
component = "component",
|
|
4
|
-
componentGroup = "componentGroup",
|
|
5
|
-
tokenType = "tokenType",
|
|
6
|
-
tokenGroup = "tokenGroup",
|
|
7
|
-
theme = "theme",
|
|
8
|
-
documentationPage = "documentationPage"
|
|
9
|
-
}
|
|
10
|
-
export declare type PCExporterBlueprintModel = {
|
|
11
|
-
targets_full_export?: boolean;
|
|
12
|
-
targets_sandbox?: boolean;
|
|
13
|
-
context?: PCExporterSourceContextType;
|
|
14
|
-
};
|
|
15
|
-
export declare class PCExporterSource {
|
|
16
|
-
id: string;
|
|
17
|
-
path: string;
|
|
18
|
-
content: string;
|
|
19
|
-
targetsFullExport: boolean;
|
|
20
|
-
targetsSandbox: boolean;
|
|
21
|
-
context: PCExporterSourceContextType;
|
|
22
|
-
constructor(id: string, path: string | null, content: string);
|
|
23
|
-
loadBlueprintConfiguration(data: PCExporterBlueprintModel): void;
|
|
24
|
-
resetToDefault(): void;
|
|
25
|
-
}
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { PCExporter, PCExporterEnvironment } from '../model/exporters/Exporter';
|
|
2
|
-
import { PCEngineExporterDetail, PCEngineExporterProcessingResult, PCPulsarInterface, PCEngineSourceDetail, PCEngineSourceProcessingResult } from './PulsarInterface';
|
|
3
|
-
import { PLHighlightEngineToken, DSMBridgeConfiguration } from '@supernova-studio/pulsar-language';
|
|
4
|
-
import { DSMReferenceStore } from '../model/dsm/DSMReferenceStore';
|
|
5
|
-
import { PLAutocompleteEngineApplicationResult, PLAutocompleteEngineSuggestion } from '@supernova-studio/pulsar-language';
|
|
6
|
-
import { PCLogger } from '../tools/Logger';
|
|
7
|
-
export declare enum PCPulsarEngineState {
|
|
8
|
-
waiting = "waiting",
|
|
9
|
-
loading = "loading",
|
|
10
|
-
ready = "ready",
|
|
11
|
-
finished = "finished"
|
|
12
|
-
}
|
|
13
|
-
export declare enum PCPulsarEngineLoadSource {
|
|
14
|
-
local = "local",
|
|
15
|
-
github = "github",
|
|
16
|
-
url = "url",
|
|
17
|
-
memory = "memory"
|
|
18
|
-
}
|
|
19
|
-
export declare enum PCPulsarExporterMode {
|
|
20
|
-
/** In normal mode, exporter runs fully and produces complete output. This mode requires FS to be present. */
|
|
21
|
-
full = "normal",
|
|
22
|
-
/** In browser mode, exporter runs in memory and /assets/ are ignored both from loading and from exporting. This mode can run when there is no FS present. */
|
|
23
|
-
browser = "browser",
|
|
24
|
-
/** In selective mode, exporter runs similarly to `browser mode`, however, must specify combination of context type and context id and will generate code only for that specific context. This will be used in sandbox and in documentation page refresh down the road. */
|
|
25
|
-
selective = "selective"
|
|
26
|
-
}
|
|
27
|
-
export declare class PCPulsar implements PCPulsarInterface {
|
|
28
|
-
private state;
|
|
29
|
-
private exporter;
|
|
30
|
-
private mode;
|
|
31
|
-
private sourceManager;
|
|
32
|
-
private ciManager;
|
|
33
|
-
private codeManager;
|
|
34
|
-
private exporterManager;
|
|
35
|
-
private configurationManager;
|
|
36
|
-
private logger;
|
|
37
|
-
private temporaryFSUrl;
|
|
38
|
-
private loadSource;
|
|
39
|
-
constructor(mode: PCPulsarExporterMode, logger?: PCLogger | undefined);
|
|
40
|
-
/** Initiates Pulsar library from existing exporter. This is only for internal use (especially for tests) and doesn't validate integrity of the exporter, and shouldn't not be used in production! */
|
|
41
|
-
initiateWithExporter(exporter: PCExporter): Promise<PCEngineExporterDetail>;
|
|
42
|
-
/** Initiates Pulsar library from a local folder. This must point to directly-readable directory, can't be zip. */
|
|
43
|
-
initiateWithLocalFolderURL(url: string, environment: PCExporterEnvironment): Promise<PCEngineExporterDetail>;
|
|
44
|
-
/** Initiates Pulsar library from github URL. Can only be used when filesystem is present (CI, VSCode) */
|
|
45
|
-
initiateWithGitHubPackageURL(githubURL: string, accessToken: string, environment: PCExporterEnvironment): Promise<PCEngineExporterDetail>;
|
|
46
|
-
/** Initiates Pulsar library from remote package URL. Can only be used when filesystem is present (CI, VSCode) */
|
|
47
|
-
initiateWithRemotePackageURL(packageURL: string, environment: PCExporterEnvironment): Promise<PCEngineExporterDetail>;
|
|
48
|
-
/** Initiates Pulsar library from package URL. Can only be used if filesystem is NOT present (Browser) and ignores some capabilities, such as copying assets */
|
|
49
|
-
initiateWithRemoteBrowserPackageURL(packageURL: string, environment: PCExporterEnvironment): Promise<PCEngineExporterDetail>;
|
|
50
|
-
private preInit;
|
|
51
|
-
private postInit;
|
|
52
|
-
/** Retrieve underlaying exporter object. Not to be used on the client, as it exposes other properties of exporter that are not to be consumed */
|
|
53
|
-
getExporterBackingObject(): PCExporter;
|
|
54
|
-
/** Retrieve details about currently loaded exporter. Note that this only retrieves settings of the exporter, to request blueprints and mapping, use separate functions */
|
|
55
|
-
getExporterDetail(): PCEngineExporterDetail;
|
|
56
|
-
/** Get temporary URL to which exporter was unpacked */
|
|
57
|
-
getLocalFSPackageUrl(): string;
|
|
58
|
-
setUserConfiguration(data: Object): void;
|
|
59
|
-
/** Get all blueprints associated with loaded exporter */
|
|
60
|
-
getSources(): Array<PCEngineSourceDetail>;
|
|
61
|
-
/** Get specific source associated with loaded exporter */
|
|
62
|
-
getSourceById(blueprintId: string): PCEngineSourceDetail;
|
|
63
|
-
/** Get reference store containing description of all elements in the DSM, including all context categories */
|
|
64
|
-
getDSMContextStore(dsmBridgeConfig: DSMBridgeConfiguration): Promise<DSMReferenceStore>;
|
|
65
|
-
/** Get reference store containing description of all elements in the DSM, including all context categories. Note this can be called as static method to see the store content regardless of the exporter */
|
|
66
|
-
static getDSMContextStoreStatic(dsmBridgeConfig: DSMBridgeConfiguration): Promise<DSMReferenceStore>;
|
|
67
|
-
/** Get reference store containing description of all elements in the DSM, including all context categories */
|
|
68
|
-
getRequiredDSMData(dsmBridgeConfig: DSMBridgeConfiguration): Promise<DSMReferenceStore>;
|
|
69
|
-
/** Execute source code and retrieve the resulting code. This also retrieves any emitted extra files. Throws error when source is not found */
|
|
70
|
-
executeSourceById(blueprintId: string, dsmBridgeConfig: DSMBridgeConfiguration, contextKey: string, contextId: string): Promise<PCEngineSourceProcessingResult>;
|
|
71
|
-
/** Update source code definition. Overview can be empty. Throws error when source is not found */
|
|
72
|
-
updateSourceCodeDefinitionForSourceId(sourceId: string, definition: string): void;
|
|
73
|
-
/** Suggest next characters, words or snippets to be inserted into pulsar code as user types */
|
|
74
|
-
suggestNextFromSourceCode(code: string, selectionLocation: number, selectionLength: number): Array<PLAutocompleteEngineSuggestion>;
|
|
75
|
-
/** Apply autocompletion result to specified pulsar code */
|
|
76
|
-
applyAutocompletionResultToCode(code: string, selectionLocation: number, selectionLength: number, apply: PLAutocompleteEngineSuggestion): PLAutocompleteEngineApplicationResult;
|
|
77
|
-
/** Execute source code and retrieve the resulting code in generic mode, with test data. Only use internally for tests */
|
|
78
|
-
executeSourceByIdAsGeneric(blueprintId: string): Promise<PCEngineSourceProcessingResult>;
|
|
79
|
-
/** Compute highlight tokens for the provided pulsar code */
|
|
80
|
-
suggestHighlightFromSourceCode(code: string): Array<PLHighlightEngineToken>;
|
|
81
|
-
/** Execute entire exporter and retrieve all files produced as a result of this export */
|
|
82
|
-
executeExporter(dsmBridgeConfig: DSMBridgeConfiguration, debugMode: boolean): Promise<PCEngineExporterProcessingResult>;
|
|
83
|
-
/** Retrieve intermediate output of exporter in progress */
|
|
84
|
-
retrieveRunningExporterState(): PCEngineExporterProcessingResult | null;
|
|
85
|
-
/** Clean up after the exporter */
|
|
86
|
-
cleanup(): void;
|
|
87
|
-
private validateCanManipulateState;
|
|
88
|
-
private convertExporterToDetail;
|
|
89
|
-
private convertSourceToDetail;
|
|
90
|
-
private convertSourcesToDetails;
|
|
91
|
-
}
|