@supernova-studio/pulsar-core 1.0.10 → 1.0.12

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.
Files changed (211) hide show
  1. package/build/browser/pulsar.js +2011 -2123
  2. package/build/browser/pulsar.min.js +3 -3
  3. package/build/main/browser-bundle.js +7 -8
  4. package/build/main/browser-bundle.js.map +1 -1
  5. package/build/main/engine/ExportEngine.d.ts +14 -14
  6. package/build/main/engine/ExportEngine.js +6 -6
  7. package/build/main/engine/ExportEngine.js.map +1 -1
  8. package/build/main/engine/configuration/ExportConfiguration.d.ts +10 -10
  9. package/build/main/engine/configuration/ExportConfiguration.js +8 -8
  10. package/build/main/engine/configuration/ExportConfiguration.js.map +1 -1
  11. package/build/main/engine/generation/ExportDataProducer.d.ts +13 -13
  12. package/build/main/engine/generation/ExportDataProducer.js +12 -12
  13. package/build/main/engine/generation/ExportDataProducer.js.map +1 -1
  14. package/build/main/engine/generation/queue/ExportDataQueue.d.ts +11 -11
  15. package/build/main/engine/generation/queue/ExportDataQueue.js +5 -5
  16. package/build/main/engine/generation/queue/ExportDataQueue.js.map +1 -1
  17. package/build/main/engine/generation/queue/ExportDataQueueOperation.d.ts +5 -5
  18. package/build/main/engine/generation/queue/ExportDataQueueOperation.js +4 -4
  19. package/build/main/engine/generation/queue/ExportDataQueueOperation.js.map +1 -1
  20. package/build/main/engine/generation/requests/ExportDataEmittedResponseProducer.d.ts +5 -5
  21. package/build/main/engine/generation/requests/ExportDataEmittedResponseProducer.js +7 -7
  22. package/build/main/engine/generation/requests/ExportDataEmittedResponseProducer.js.map +1 -1
  23. package/build/main/engine/generation/requests/ExportDataPrimaryResponseProducer.d.ts +5 -5
  24. package/build/main/engine/generation/requests/ExportDataPrimaryResponseProducer.js +5 -5
  25. package/build/main/engine/generation/requests/ExportDataPrimaryResponseProducer.js.map +1 -1
  26. package/build/main/engine/generation/requests/ExportDataRequest.d.ts +15 -15
  27. package/build/main/engine/generation/requests/ExportDataRequest.js +8 -8
  28. package/build/main/engine/generation/requests/ExportDataRequest.js.map +1 -1
  29. package/build/main/engine/generation/requests/ExportDataRequestDataStore.d.ts +6 -6
  30. package/build/main/engine/generation/requests/ExportDataRequestDataStore.js +12 -12
  31. package/build/main/engine/generation/requests/ExportDataRequestDataStore.js.map +1 -1
  32. package/build/main/engine/generation/requests/ExportDataRequestNameStore.d.ts +8 -8
  33. package/build/main/engine/generation/requests/ExportDataRequestNameStore.js +19 -19
  34. package/build/main/engine/generation/requests/ExportDataRequestNameStore.js.map +1 -1
  35. package/build/main/engine/generation/requests/ExportDataRequestProducer.d.ts +15 -15
  36. package/build/main/engine/generation/requests/ExportDataRequestProducer.js +27 -40
  37. package/build/main/engine/generation/requests/ExportDataRequestProducer.js.map +1 -1
  38. package/build/main/engine/generation/requests/ExportDataResponse.d.ts +12 -12
  39. package/build/main/engine/generation/requests/ExportDataResponse.js +4 -4
  40. package/build/main/engine/generation/requests/ExportDataResponse.js.map +1 -1
  41. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestBlueprint.d.ts +11 -11
  42. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestBlueprint.js +9 -10
  43. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestBlueprint.js.map +1 -1
  44. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMComponent.d.ts +10 -10
  45. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMComponent.js +3 -3
  46. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMComponent.js.map +1 -1
  47. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMComponentGroup.d.ts +10 -10
  48. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMComponentGroup.js +3 -3
  49. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMComponentGroup.js.map +1 -1
  50. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMGeneric.d.ts +10 -10
  51. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMGeneric.js +3 -3
  52. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMGeneric.js.map +1 -1
  53. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMTheme.d.ts +10 -10
  54. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMTheme.js +3 -3
  55. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMTheme.js.map +1 -1
  56. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMTokenGroup.d.ts +10 -10
  57. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMTokenGroup.js +3 -3
  58. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMTokenGroup.js.map +1 -1
  59. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMTokenType.d.ts +10 -10
  60. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMTokenType.js +3 -3
  61. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMTokenType.js.map +1 -1
  62. package/build/main/engine/items/ExportItemProducer.d.ts +12 -12
  63. package/build/main/engine/items/ExportItemProducer.js +7 -7
  64. package/build/main/engine/items/ExportItemProducer.js.map +1 -1
  65. package/build/main/engine/items/construction/ExportItem.d.ts +4 -4
  66. package/build/main/engine/items/construction/ExportItem.js +4 -4
  67. package/build/main/engine/items/construction/ExportItem.js.map +1 -1
  68. package/build/main/engine/items/construction/ExportItemBuilder.d.ts +7 -7
  69. package/build/main/engine/items/construction/ExportItemBuilder.js +7 -11
  70. package/build/main/engine/items/construction/ExportItemBuilder.js.map +1 -1
  71. package/build/main/engine/items/queue/ExportItemQueue.d.ts +11 -11
  72. package/build/main/engine/items/queue/ExportItemQueue.js +5 -5
  73. package/build/main/engine/items/queue/ExportItemQueue.js.map +1 -1
  74. package/build/main/engine/items/queue/ExportItemQueueOperation.d.ts +5 -5
  75. package/build/main/engine/items/queue/ExportItemQueueOperation.js +3 -3
  76. package/build/main/engine/items/queue/ExportItemQueueOperation.js.map +1 -1
  77. package/build/main/engine/items/requests/ExportItemRequest.d.ts +10 -10
  78. package/build/main/engine/items/requests/ExportItemRequest.js +5 -5
  79. package/build/main/engine/items/requests/ExportItemRequest.js.map +1 -1
  80. package/build/main/engine/items/requests/ExportItemRequestProducer.d.ts +7 -7
  81. package/build/main/engine/items/requests/ExportItemRequestProducer.js +4 -4
  82. package/build/main/engine/items/requests/ExportItemRequestProducer.js.map +1 -1
  83. package/build/main/engine/items/requests/ExportItemResponse.d.ts +8 -8
  84. package/build/main/engine/items/requests/ExportItemResponse.js +4 -4
  85. package/build/main/engine/items/requests/ExportItemResponse.js.map +1 -1
  86. package/build/main/engine/items/requests/ExportItemResponseProducer.d.ts +5 -5
  87. package/build/main/engine/items/requests/ExportItemResponseProducer.js +5 -5
  88. package/build/main/engine/items/requests/ExportItemResponseProducer.js.map +1 -1
  89. package/build/main/engine/loaders/BlueprintLoader.d.ts +8 -8
  90. package/build/main/engine/loaders/BlueprintLoader.js +11 -11
  91. package/build/main/engine/loaders/BlueprintLoader.js.map +1 -1
  92. package/build/main/engine/writing/queue/ExportWriterQueue.d.ts +11 -11
  93. package/build/main/engine/writing/queue/ExportWriterQueue.js +5 -5
  94. package/build/main/engine/writing/queue/ExportWriterQueue.js.map +1 -1
  95. package/build/main/engine/writing/queue/ExportWriterQueueOperation.d.ts +5 -5
  96. package/build/main/engine/writing/queue/ExportWriterQueueOperation.js +4 -4
  97. package/build/main/engine/writing/queue/ExportWriterQueueOperation.js.map +1 -1
  98. package/build/main/engine/writing/requests/ExportWriterRequest.d.ts +10 -10
  99. package/build/main/engine/writing/requests/ExportWriterRequest.js +4 -4
  100. package/build/main/engine/writing/requests/ExportWriterRequest.js.map +1 -1
  101. package/build/main/engine/writing/requests/ExportWriterRequestProducer.d.ts +7 -7
  102. package/build/main/engine/writing/requests/ExportWriterRequestProducer.js +5 -5
  103. package/build/main/engine/writing/requests/ExportWriterRequestProducer.js.map +1 -1
  104. package/build/main/engine/writing/requests/ExportWriterResponse.d.ts +8 -8
  105. package/build/main/engine/writing/requests/ExportWriterResponse.js +4 -4
  106. package/build/main/engine/writing/requests/ExportWriterResponse.js.map +1 -1
  107. package/build/main/engine/writing/requests/ExportWriterResponseProducer.d.ts +5 -5
  108. package/build/main/engine/writing/requests/ExportWriterResponseProducer.js +4 -4
  109. package/build/main/engine/writing/requests/ExportWriterResponseProducer.js.map +1 -1
  110. package/build/main/engine/writing/writers/ExportItemWriter.d.ts +12 -12
  111. package/build/main/engine/writing/writers/ExportItemWriter.js +7 -7
  112. package/build/main/engine/writing/writers/ExportItemWriter.js.map +1 -1
  113. package/build/main/engine/writing/writers/ExportWriterRuleProcessor.d.ts +6 -6
  114. package/build/main/engine/writing/writers/ExportWriterRuleProcessor.js +7 -7
  115. package/build/main/engine/writing/writers/ExportWriterRuleProcessor.js.map +1 -1
  116. package/build/main/engine/writing/writers/memory/ExportWriterMemory.d.ts +2 -2
  117. package/build/main/engine/writing/writers/memory/ExportWriterMemory.js +4 -4
  118. package/build/main/engine/writing/writers/memory/ExportWriterMemory.js.map +1 -1
  119. package/build/main/engine/writing/writers/memory/ExportWriterMemoryRequest.d.ts +4 -4
  120. package/build/main/engine/writing/writers/memory/ExportWriterMemoryRequest.js +6 -6
  121. package/build/main/engine/writing/writers/memory/ExportWriterMemoryRequest.js.map +1 -1
  122. package/build/main/engine/writing/writers/memory/ExportWriterStore.d.ts +1 -1
  123. package/build/main/engine/writing/writers/memory/ExportWriterStore.js +4 -4
  124. package/build/main/engine/writing/writers/memory/ExportWriterStore.js.map +1 -1
  125. package/build/main/exports.d.ts +3 -3
  126. package/build/main/exports.js +3 -3
  127. package/build/main/exports.js.map +1 -1
  128. package/build/main/index.js.map +1 -1
  129. package/build/main/model/dsm/DSMReferenceStore.js +6 -6
  130. package/build/main/model/dsm/DSMReferenceStore.js.map +1 -1
  131. package/build/main/model/exporters/Exporter.d.ts +17 -16
  132. package/build/main/model/exporters/Exporter.js +14 -4
  133. package/build/main/model/exporters/Exporter.js.map +1 -1
  134. package/build/main/model/maps/ExporterMapBlueprint.d.ts +4 -4
  135. package/build/main/model/maps/ExporterMapBlueprint.js +3 -3
  136. package/build/main/model/maps/ExporterMapBlueprint.js.map +1 -1
  137. package/build/main/model/sources/ExporterSource.d.ts +6 -6
  138. package/build/main/model/sources/ExporterSource.js +13 -13
  139. package/build/main/model/sources/ExporterSource.js.map +1 -1
  140. package/build/main/pulsar/Pulsar.d.ts +35 -35
  141. package/build/main/pulsar/Pulsar.js +40 -40
  142. package/build/main/pulsar/Pulsar.js.map +1 -1
  143. package/build/main/pulsar/PulsarInterface.d.ts +54 -54
  144. package/build/main/pulsar/PulsarInterface.js +14 -14
  145. package/build/main/pulsar/PulsarInterface.js.map +1 -1
  146. package/build/main/pulsar/PulsarStaticAnalysis.d.ts +12 -12
  147. package/build/main/pulsar/PulsarStaticAnalysis.js +19 -19
  148. package/build/main/pulsar/PulsarStaticAnalysis.js.map +1 -1
  149. package/build/main/pulsar/PulsarStaticAnalysisInterface.d.ts +9 -9
  150. package/build/main/pulsar/PulsarStaticAnalysisInterface.js +1 -1
  151. package/build/main/pulsar/PulsarStaticAnalysisInterface.js.map +1 -1
  152. package/build/main/pulsar/managers/PulsarBlueprintManager.d.ts +8 -8
  153. package/build/main/pulsar/managers/PulsarBlueprintManager.js +4 -4
  154. package/build/main/pulsar/managers/PulsarBlueprintManager.js.map +1 -1
  155. package/build/main/pulsar/managers/PulsarCIManager.d.ts +8 -8
  156. package/build/main/pulsar/managers/PulsarCIManager.js +13 -13
  157. package/build/main/pulsar/managers/PulsarCIManager.js.map +1 -1
  158. package/build/main/pulsar/managers/PulsarCodeManager.d.ts +15 -15
  159. package/build/main/pulsar/managers/PulsarCodeManager.js +29 -29
  160. package/build/main/pulsar/managers/PulsarCodeManager.js.map +1 -1
  161. package/build/main/pulsar/managers/PulsarConfigurationManager.d.ts +3 -3
  162. package/build/main/pulsar/managers/PulsarConfigurationManager.js +4 -4
  163. package/build/main/pulsar/managers/PulsarConfigurationManager.js.map +1 -1
  164. package/build/main/pulsar/managers/PulsarExporterManager.d.ts +11 -11
  165. package/build/main/pulsar/managers/PulsarExporterManager.js +5 -5
  166. package/build/main/pulsar/managers/PulsarExporterManager.js.map +1 -1
  167. package/build/main/pulsar/managers/generators/PulsarExporterJSONGenerator.d.ts +4 -4
  168. package/build/main/pulsar/managers/generators/PulsarExporterJSONGenerator.js +10 -13
  169. package/build/main/pulsar/managers/generators/PulsarExporterJSONGenerator.js.map +1 -1
  170. package/build/main/pulsar/managers/generators/PulsarExporterZIPGenerator.d.ts +5 -5
  171. package/build/main/pulsar/managers/generators/PulsarExporterZIPGenerator.js +4 -4
  172. package/build/main/pulsar/managers/generators/PulsarExporterZIPGenerator.js.map +1 -1
  173. package/build/main/pulsar/managers/loaders/PulsarBaseLoader.d.ts +3 -3
  174. package/build/main/pulsar/managers/loaders/PulsarBaseLoader.js +3 -3
  175. package/build/main/pulsar/managers/loaders/PulsarBaseLoader.js.map +1 -1
  176. package/build/main/pulsar/managers/loaders/local/PulsarFSLoader.d.ts +4 -4
  177. package/build/main/pulsar/managers/loaders/local/PulsarFSLoader.js +7 -9
  178. package/build/main/pulsar/managers/loaders/local/PulsarFSLoader.js.map +1 -1
  179. package/build/main/pulsar/managers/loaders/memory/PulsarExporterJSONLoader.d.ts +4 -4
  180. package/build/main/pulsar/managers/loaders/memory/PulsarExporterJSONLoader.js +4 -4
  181. package/build/main/pulsar/managers/loaders/memory/PulsarExporterJSONLoader.js.map +1 -1
  182. package/build/main/pulsar/managers/loaders/memory/PulsarExporterMemoryLoader.d.ts +4 -4
  183. package/build/main/pulsar/managers/loaders/memory/PulsarExporterMemoryLoader.js +16 -27
  184. package/build/main/pulsar/managers/loaders/memory/PulsarExporterMemoryLoader.js.map +1 -1
  185. package/build/main/pulsar/managers/loaders/remote/PulsarExporterGitHubLoader.d.ts +4 -4
  186. package/build/main/pulsar/managers/loaders/remote/PulsarExporterGitHubLoader.js +6 -6
  187. package/build/main/pulsar/managers/loaders/remote/PulsarExporterGitHubLoader.js.map +1 -1
  188. package/build/main/pulsar/managers/loaders/remote/PulsarExporterZIPLoader.d.ts +4 -4
  189. package/build/main/pulsar/managers/loaders/remote/PulsarExporterZIPLoader.js +6 -6
  190. package/build/main/pulsar/managers/loaders/remote/PulsarExporterZIPLoader.js.map +1 -1
  191. package/build/main/tests/TestConfiguration.js.map +1 -1
  192. package/build/main/tests/casebuilders/ci.d.ts +8 -8
  193. package/build/main/tests/casebuilders/ci.js +1 -1
  194. package/build/main/tests/casebuilders/ci.js.map +1 -1
  195. package/build/main/tests/casebuilders/configuration.d.ts +4 -4
  196. package/build/main/tests/casebuilders/configuration.js +3 -3
  197. package/build/main/tests/casebuilders/configuration.js.map +1 -1
  198. package/build/main/tests/casebuilders/dsm.d.ts +2 -2
  199. package/build/main/tests/casebuilders/dsm.js +3 -3
  200. package/build/main/tests/casebuilders/dsm.js.map +1 -1
  201. package/build/main/tests/casebuilders/modelObjects.d.ts +13 -13
  202. package/build/main/tests/casebuilders/modelObjects.js +14 -14
  203. package/build/main/tests/casebuilders/modelObjects.js.map +1 -1
  204. package/build/main/tools/Logger.d.ts +14 -14
  205. package/build/main/tools/Logger.js +18 -18
  206. package/build/main/tools/Logger.js.map +1 -1
  207. package/build/main/tools/LoggerDefaultMessages.d.ts +10 -10
  208. package/build/main/tools/LoggerDefaultMessages.js +16 -16
  209. package/build/main/tools/LoggerDefaultMessages.js.map +1 -1
  210. package/build/tsconfig.tsbuildinfo +221 -221
  211. package/package.json +9 -3
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  //
3
- // PLSExportWriterFileSystemRequest.swift
3
+ // PCExportWriterFileSystemRequest.swift
4
4
  // Supernova
5
5
  //
6
6
  // Created by Jiri Trecak.
7
7
  // Copyright © 2020 Jiri Trecak. All rights reserved.
8
8
  //
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.PLSExportWriterMemoryRequest = void 0;
10
+ exports.PCExportWriterMemoryRequest = void 0;
11
11
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
12
12
  // MARK: - Imports
13
13
  const ExportWriterRequest_1 = require("./../../requests/ExportWriterRequest");
@@ -16,7 +16,7 @@ const ExportWriterRuleProcessor_1 = require("./../ExportWriterRuleProcessor");
16
16
  // MARK: - Definitions
17
17
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
18
18
  // MARK: - Object definition
19
- class PLSExportWriterMemoryRequest extends ExportWriterRequest_1.PLSExportWriterRequest {
19
+ class PCExportWriterMemoryRequest extends ExportWriterRequest_1.PCExportWriterRequest {
20
20
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
21
21
  // MARK: - Properties
22
22
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
@@ -26,7 +26,7 @@ class PLSExportWriterMemoryRequest extends ExportWriterRequest_1.PLSExportWriter
26
26
  writeItem() {
27
27
  return new Promise(async (respond, _) => {
28
28
  // Build the url to write to
29
- let processor = new ExportWriterRuleProcessor_1.PLSExportWriterRuleProcessor(this.configuration);
29
+ let processor = new ExportWriterRuleProcessor_1.PCExportWriterRuleProcessor(this.configuration);
30
30
  let destinationURL;
31
31
  if (this.item.resolvedName) {
32
32
  destinationURL = processor.resolvedDestinationURL(this.item.resolvedName, this.configuration.outputPathPrefix);
@@ -36,7 +36,7 @@ class PLSExportWriterMemoryRequest extends ExportWriterRequest_1.PLSExportWriter
36
36
  destinationURL = await processor.resolveDestinationURL(this.item.map.write_to, this.item.nameData, this.configuration.outputPathPrefix);
37
37
  }
38
38
  else if (this.item.map.write_using) {
39
- let source = this.configuration.exporter.sourceById(this.item.map.write_using);
39
+ let source = this.configuration.exporter.sourceByIdIgnoringExecutableExtension(this.item.map.write_using);
40
40
  if (!source) {
41
41
  throw `Output defines unknown source '${this.item.map.write_using}'`;
42
42
  }
@@ -55,5 +55,5 @@ class PLSExportWriterMemoryRequest extends ExportWriterRequest_1.PLSExportWriter
55
55
  });
56
56
  }
57
57
  }
58
- exports.PLSExportWriterMemoryRequest = PLSExportWriterMemoryRequest;
58
+ exports.PCExportWriterMemoryRequest = PCExportWriterMemoryRequest;
59
59
  //# sourceMappingURL=ExportWriterMemoryRequest.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExportWriterMemoryRequest.js","sourceRoot":"","sources":["../../../../../../src/engine/writing/writers/memory/ExportWriterMemoryRequest.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0CAA0C;AAC1C,aAAa;AACb,EAAE;AACF,2BAA2B;AAC3B,sDAAsD;AACtD,EAAE;;;AAEF,8GAA8G;AAC9G,kBAAkB;AAElB,8EAA8E;AAE9E,8EAA8E;AAE9E,8GAA8G;AAC9G,sBAAsB;AAEtB,8GAA8G;AAC9G,4BAA4B;AAE5B,MAAa,4BAA6B,SAAQ,4CAAsB;IACtE,8GAA8G;IAC9G,qBAAqB;IAErB,8GAA8G;IAC9G,eAAe;IAEf,8GAA8G;IAC9G,6BAA6B;IAE7B,SAAS;QACP,OAAO,IAAI,OAAO,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE;YACtC,4BAA4B;YAC5B,IAAI,SAAS,GAAG,IAAI,wDAA4B,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;YACrE,IAAI,cAAsB,CAAC;YAC3B,IAAI,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE;gBAC1B,cAAc,GAAG,SAAS,CAAC,sBAAsB,CAC/C,IAAI,CAAC,IAAI,CAAC,YAAY,EACtB,IAAI,CAAC,aAAa,CAAC,gBAAgB,CACpC,CAAC;aACH;iBAAM;gBACL,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE;oBAC1B,cAAc,GAAG,MAAM,SAAS,CAAC,qBAAqB,CACpD,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,EACtB,IAAI,CAAC,IAAI,CAAC,QAAQ,EAClB,IAAI,CAAC,aAAa,CAAC,gBAAgB,CACpC,CAAC;iBACH;qBAAM,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,WAAW,EAAE;oBACpC,IAAI,MAAM,GAAG,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,UAAU,CACjD,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,WAAW,CAC1B,CAAC;oBACF,IAAI,CAAC,MAAM,EAAE;wBACX,MAAM,kCAAkC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,WAAW,GAAG,CAAC;qBACtE;oBACD,cAAc,GAAG,MAAM,SAAS,CAAC,qBAAqB,CACpD,MAAM,CAAC,OAAO,EACd,IAAI,CAAC,IAAI,CAAC,QAAQ,EAClB,IAAI,CAAC,aAAa,CAAC,gBAAgB,CACpC,CAAC;iBACH;qBAAM;oBACL,MAAM,2DAA2D,CAAC;iBACnE;aACF;YAED,oBAAoB;YACpB,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,OAAO,CAC/B,WAAW,cAAc,CAAC,OAAO,CAC/B,IAAI,CAAC,aAAa,CAAC,gBAAgB,EACnC,EAAE,CACH,EAAE,EACH,EAAE,CACH,CAAC;YAEF,oCAAoC;YACpC,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC,SAAS,CACtC,IAAI,CAAC,IAAI,CAAC,WAAW,EACrB,cAAc,CACf,CAAC;YAEF,4BAA4B;YAC5B,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrB,CAAC,CAAC,CAAC;IACL,CAAC;CACF;AA/DD,oEA+DC"}
1
+ {"version":3,"file":"ExportWriterMemoryRequest.js","sourceRoot":"","sources":["../../../../../../src/engine/writing/writers/memory/ExportWriterMemoryRequest.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,yCAAyC;AACzC,aAAa;AACb,EAAE;AACF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rE;oBACD,cAAc,GAAG,MAAM,SAAS,CAAC,qBAAqB,CACpD,MAAM,CAAC,OAAO,EACd,IAAI,CAAC,IAAI,CAAC,QAAQ,EAClB,IAAI,CAAC,aAAa,CAAC,gBAAgB,CACpC,CAAA;iBACF;qBAAM;oBACL,MAAM,2DAA2D,CAAA;iBAClE;aACF;YAED,oBAAoB;YACpB,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,OAAO,CAC/B,WAAW,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,gBAAgB,EAAE,EAAE,CAAC,EAAE,EAC5E,EAAE,CACH,CAAA;YAED,oCAAoC;YACpC,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,cAAc,CAAC,CAAA;YAE/E,4BAA4B;YAC5B,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QACpB,CAAC,CAAC,CAAA;IACJ,CAAC;CACF;AApDD,kEAoDC"}
@@ -1,4 +1,4 @@
1
- export declare class PLSExportWriterMemoryStore {
1
+ export declare class PCExportWriterMemoryStore {
2
2
  dataStore: Map<string, any>;
3
3
  constructor();
4
4
  storeItem(item: any, path: string): void;
@@ -1,20 +1,20 @@
1
1
  "use strict";
2
2
  //
3
- // PLSExportWriterMemoryStore.swift
3
+ // PCExportWriterMemoryStore.swift
4
4
  // Supernova
5
5
  //
6
6
  // Created by Jiri Trecak.
7
7
  // Copyright © 2020 Jiri Trecak. All rights reserved.
8
8
  //
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.PLSExportWriterMemoryStore = void 0;
10
+ exports.PCExportWriterMemoryStore = void 0;
11
11
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
12
12
  // MARK: - Imports
13
13
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
14
14
  // MARK: - Definitions
15
15
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
16
16
  // MARK: - Object definition
17
- class PLSExportWriterMemoryStore {
17
+ class PCExportWriterMemoryStore {
18
18
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
19
19
  // MARK: - Init
20
20
  constructor() {
@@ -29,5 +29,5 @@ class PLSExportWriterMemoryStore {
29
29
  this.dataStore.set(path, item);
30
30
  }
31
31
  }
32
- exports.PLSExportWriterMemoryStore = PLSExportWriterMemoryStore;
32
+ exports.PCExportWriterMemoryStore = PCExportWriterMemoryStore;
33
33
  //# sourceMappingURL=ExportWriterStore.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExportWriterStore.js","sourceRoot":"","sources":["../../../../../../src/engine/writing/writers/memory/ExportWriterStore.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,oCAAoC;AACpC,aAAa;AACb,EAAE;AACF,2BAA2B;AAC3B,sDAAsD;AACtD,EAAE;;;AAEF,8GAA8G;AAC9G,kBAAkB;AAElB,8GAA8G;AAC9G,sBAAsB;AAEtB,8GAA8G;AAC9G,4BAA4B;AAE5B,MAAa,0BAA0B;IAMrC,8GAA8G;IAC9G,eAAe;IAEf;QACE,IAAI,CAAC,SAAS,GAAG,IAAI,GAAG,EAAe,CAAC;IAC1C,CAAC;IAED,8GAA8G;IAC9G,0BAA0B;IAE1B,SAAS,CAAC,IAAS,EAAE,IAAY;QAC/B,IAAI,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;YAC5B,MAAM,KAAK,CAAC,+BAA+B,IAAI,EAAE,CAAC,CAAC;SACpD;QAED,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACjC,CAAC;CACF;AAvBD,gEAuBC"}
1
+ {"version":3,"file":"ExportWriterStore.js","sourceRoot":"","sources":["../../../../../../src/engine/writing/writers/memory/ExportWriterStore.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,mCAAmC;AACnC,aAAa;AACb,EAAE;AACF,2BAA2B;AAC3B,sDAAsD;AACtD,EAAE;;;AAEF,8GAA8G;AAC9G,kBAAkB;AAElB,8GAA8G;AAC9G,sBAAsB;AAEtB,8GAA8G;AAC9G,4BAA4B;AAE5B,MAAa,yBAAyB;IAMpC,8GAA8G;IAC9G,eAAe;IAEf;QACE,IAAI,CAAC,SAAS,GAAG,IAAI,GAAG,EAAe,CAAA;IACzC,CAAC;IAED,8GAA8G;IAC9G,0BAA0B;IAE1B,SAAS,CAAC,IAAS,EAAE,IAAY;QAC/B,IAAI,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;YAC5B,MAAM,KAAK,CAAC,+BAA+B,IAAI,EAAE,CAAC,CAAA;SACnD;QAED,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,CAAA;IAChC,CAAC;CACF;AAvBD,8DAuBC"}
@@ -1,4 +1,4 @@
1
- export { PLSPulsar } from './pulsar/Pulsar';
2
- export { PLSPulsarStaticAnalysis } from './pulsar/PulsarStaticAnalysis';
1
+ export { PCPulsar } from './pulsar/Pulsar';
2
+ export { PCPulsarStaticAnalysis } from './pulsar/PulsarStaticAnalysis';
3
3
  export { DSMReferenceStore } from './model/dsm/DSMReferenceStore';
4
- export { PLSPulsarZIPGenerator } from './pulsar/managers/generators/PulsarExporterZIPGenerator';
4
+ export { PCPulsarZIPGenerator } from './pulsar/managers/generators/PulsarExporterZIPGenerator';
@@ -2,12 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  // Pulsar core
4
4
  var Pulsar_1 = require("./pulsar/Pulsar");
5
- Object.defineProperty(exports, "PLSPulsar", { enumerable: true, get: function () { return Pulsar_1.PLSPulsar; } });
5
+ Object.defineProperty(exports, "PCPulsar", { enumerable: true, get: function () { return Pulsar_1.PCPulsar; } });
6
6
  var PulsarStaticAnalysis_1 = require("./pulsar/PulsarStaticAnalysis");
7
- Object.defineProperty(exports, "PLSPulsarStaticAnalysis", { enumerable: true, get: function () { return PulsarStaticAnalysis_1.PLSPulsarStaticAnalysis; } });
7
+ Object.defineProperty(exports, "PCPulsarStaticAnalysis", { enumerable: true, get: function () { return PulsarStaticAnalysis_1.PCPulsarStaticAnalysis; } });
8
8
  var DSMReferenceStore_1 = require("./model/dsm/DSMReferenceStore");
9
9
  Object.defineProperty(exports, "DSMReferenceStore", { enumerable: true, get: function () { return DSMReferenceStore_1.DSMReferenceStore; } });
10
10
  // Utilities
11
11
  var PulsarExporterZIPGenerator_1 = require("./pulsar/managers/generators/PulsarExporterZIPGenerator");
12
- Object.defineProperty(exports, "PLSPulsarZIPGenerator", { enumerable: true, get: function () { return PulsarExporterZIPGenerator_1.PLSPulsarZIPGenerator; } });
12
+ Object.defineProperty(exports, "PCPulsarZIPGenerator", { enumerable: true, get: function () { return PulsarExporterZIPGenerator_1.PCPulsarZIPGenerator; } });
13
13
  //# sourceMappingURL=exports.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"exports.js","sourceRoot":"","sources":["../../src/exports.ts"],"names":[],"mappings":";;AAAA,cAAc;AACd,0CAA4C;AAAnC,mGAAA,SAAS,OAAA;AAClB,sEAAwE;AAA/D,+HAAA,uBAAuB,OAAA;AAChC,mEAAkE;AAAzD,sHAAA,iBAAiB,OAAA;AAE1B,YAAY;AACZ,sGAAgG;AAAvF,mIAAA,qBAAqB,OAAA"}
1
+ {"version":3,"file":"exports.js","sourceRoot":"","sources":["../../src/exports.ts"],"names":[],"mappings":";;AAAA,cAAc;AACd,0CAA0C;AAAjC,kGAAA,QAAQ,OAAA;AACjB,sEAAsE;AAA7D,8HAAA,sBAAsB,OAAA;AAC/B,mEAAiE;AAAxD,sHAAA,iBAAiB,OAAA;AAE1B,YAAY;AACZ,sGAA8F;AAArF,kIAAA,oBAAoB,OAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAA0B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAyB"}
@@ -40,27 +40,27 @@ class DSMReferenceStore {
40
40
  // Construct contexts statically
41
41
  this.contexts = [
42
42
  {
43
- id: ExporterSource_1.PLSExporterSourceContextType.generic,
43
+ id: ExporterSource_1.PCExporterSourceContextType.generic,
44
44
  name: 'Generic'
45
45
  },
46
46
  {
47
- id: ExporterSource_1.PLSExporterSourceContextType.component,
47
+ id: ExporterSource_1.PCExporterSourceContextType.component,
48
48
  name: 'Components'
49
49
  },
50
50
  {
51
- id: ExporterSource_1.PLSExporterSourceContextType.componentGroup,
51
+ id: ExporterSource_1.PCExporterSourceContextType.componentGroup,
52
52
  name: 'Component Groups'
53
53
  },
54
54
  {
55
- id: ExporterSource_1.PLSExporterSourceContextType.tokenGroup,
55
+ id: ExporterSource_1.PCExporterSourceContextType.tokenGroup,
56
56
  name: 'Token Group'
57
57
  },
58
58
  {
59
- id: ExporterSource_1.PLSExporterSourceContextType.tokenType,
59
+ id: ExporterSource_1.PCExporterSourceContextType.tokenType,
60
60
  name: 'Token Type'
61
61
  },
62
62
  {
63
- id: ExporterSource_1.PLSExporterSourceContextType.theme,
63
+ id: ExporterSource_1.PCExporterSourceContextType.theme,
64
64
  name: 'Themes'
65
65
  }
66
66
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"DSMReferenceStore.js","sourceRoot":"","sources":["../../../../src/model/dsm/DSMReferenceStore.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,wBAAwB;AACxB,UAAU;AACV,EAAE;AACF,2BAA2B;AAC3B,oDAAoD;AACpD,EAAE;;;AAEF,8DAAyE;AAqBzE,8GAA8G;AAC9G,iCAAiC;AAEjC,MAAa,iBAAiB;IAW5B,0GAA0G;IAC1G,sBAAsB;IAEtB,Y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AI,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAA;IACnD,CAAC;IAEO,iBAAiB,CAAC,KAAoC;QAC5D,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK,MAAM,EAAE;YAChD,OAAO,IAAI,CAAA;SACZ;QAED,OAAO,KAAK,CAAA;IACd,CAAC;CACF;AA1GD,8CA0GC"}
@@ -1,6 +1,6 @@
1
- import { PLSExporterSource } from '../sources/ExporterSource';
2
- import { PLSExporterMapBlueprint } from './../maps/ExporterMapBlueprint';
3
- export declare type PLSExporterModel = {
1
+ import { PCExporterSource } from '../sources/ExporterSource';
2
+ import { PCExporterMapBlueprint } from './../maps/ExporterMapBlueprint';
3
+ export declare type PCExporterModel = {
4
4
  id: string;
5
5
  name: string;
6
6
  description: string;
@@ -15,12 +15,12 @@ export declare type PLSExporterModel = {
15
15
  output?: string;
16
16
  };
17
17
  engines?: {
18
- blazar?: string;
18
+ pulsar?: string;
19
19
  supernova?: string;
20
20
  };
21
21
  tags: Array<string>;
22
22
  };
23
- export declare class PLSExporter {
23
+ export declare class PCExporter {
24
24
  id: string;
25
25
  name: string;
26
26
  description: string;
@@ -32,19 +32,20 @@ export declare class PLSExporter {
32
32
  version: string;
33
33
  sourceConfigFilePath: string | null;
34
34
  outputConfigFilePath: string | null;
35
- blazarEngineVersion: string | null;
35
+ pulsarEngineVersion: string | null;
36
36
  supernovaEngineVersion: string | null;
37
37
  tags: Array<string>;
38
- sources: Map<string, PLSExporterSource>;
39
- outputs: Array<PLSExporterMapBlueprint>;
40
- constructor(data: PLSExporterModel);
41
- linkSources(sources: Array<PLSExporterSource>): void;
42
- linkOutputs(outputs: Array<PLSExporterMapBlueprint>): void;
43
- sourceById(sourceId: string): PLSExporterSource | null;
44
- storeNewSource(source: PLSExporterSource): void;
45
- removeSource(source: PLSExporterSource): void;
38
+ sources: Map<string, PCExporterSource>;
39
+ outputs: Array<PCExporterMapBlueprint>;
40
+ constructor(data: PCExporterModel);
41
+ linkSources(sources: Array<PCExporterSource>): void;
42
+ linkOutputs(outputs: Array<PCExporterMapBlueprint>): void;
43
+ sourceByIdIgnoringExecutableExtension(sourceId: string): PCExporterSource | null;
44
+ sourceById(sourceId: string): PCExporterSource | null;
45
+ storeNewSource(source: PCExporterSource): void;
46
+ removeSource(source: PCExporterSource): void;
46
47
  removeSourceById(sourceId: string): void;
47
- storeSources(sources: Array<PLSExporterSource>): void;
48
- removeSources(sources: Array<PLSExporterSource>): void;
48
+ storeSources(sources: Array<PCExporterSource>): void;
49
+ removeSources(sources: Array<PCExporterSource>): void;
49
50
  moveBlueprintSource(oldId: string, newId: string, newPath: string | null): void;
50
51
  }
@@ -7,10 +7,10 @@
7
7
  // Copyright © 2020 Supernova. All rights reserved.
8
8
  //
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.PLSExporter = void 0;
10
+ exports.PCExporter = void 0;
11
11
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
12
12
  // MARK: - Exporter Object
13
- class PLSExporter {
13
+ class PCExporter {
14
14
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
15
15
  // MARK: - Constructor
16
16
  constructor(data) {
@@ -28,7 +28,7 @@ class PLSExporter {
28
28
  this.tags = data.tags;
29
29
  this.sourceConfigFilePath = (_f = (_e = data.config) === null || _e === void 0 ? void 0 : _e.sources) !== null && _f !== void 0 ? _f : null;
30
30
  this.outputConfigFilePath = (_h = (_g = data.config) === null || _g === void 0 ? void 0 : _g.output) !== null && _h !== void 0 ? _h : null;
31
- this.blazarEngineVersion = (_k = (_j = data.engines) === null || _j === void 0 ? void 0 : _j.blazar) !== null && _k !== void 0 ? _k : null;
31
+ this.pulsarEngineVersion = (_k = (_j = data.engines) === null || _j === void 0 ? void 0 : _j.pulsar) !== null && _k !== void 0 ? _k : null;
32
32
  this.supernovaEngineVersion = (_m = (_l = data.engines) === null || _l === void 0 ? void 0 : _l.supernova) !== null && _m !== void 0 ? _m : null;
33
33
  this.sources = new Map();
34
34
  this.outputs = new Array();
@@ -45,6 +45,16 @@ class PLSExporter {
45
45
  }
46
46
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
47
47
  // MARK: - Convenience
48
+ sourceByIdIgnoringExecutableExtension(sourceId) {
49
+ if (sourceId.endsWith('.pr')) {
50
+ // Ignore extension and seek without it
51
+ return this.sourceById(sourceId.substr(0, sourceId.length - 3));
52
+ // TODO: Javascript ignore
53
+ }
54
+ else {
55
+ return this.sourceById(sourceId);
56
+ }
57
+ }
48
58
  sourceById(sourceId) {
49
59
  var _a;
50
60
  return (_a = this.sources.get(sourceId)) !== null && _a !== void 0 ? _a : null;
@@ -84,5 +94,5 @@ class PLSExporter {
84
94
  sourceObject.path = newPath;
85
95
  }
86
96
  }
87
- exports.PLSExporter = PLSExporter;
97
+ exports.PCExporter = PCExporter;
88
98
  //# sourceMappingURL=Exporter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Exporter.js","sourceRoot":"","sources":["../../../../src/model/exporters/Exporter.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,eAAe;AACf,UAAU;AACV,EAAE;AACF,2BAA2B;AAC3B,oDAAoD;AACpD,EAAE;;;AAmCF,8GAA8G;AAC9G,0BAA0B;AAE1B,MAAa,WAAW;IA0BtB,0GAA0G;IAC1G,sBAAsB;IAEtB,YAAY,IAAsB;;QAChC,4EAA4E;QAC5E,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;QACtB,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QACpC,IAAI,CAAC,MAAM,SAAG,IAAI,CAAC,MAAM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CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;IAChC,CAAC;IAED,gBAAgB,CAAC,QAAgB;QAC/B,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAA;IAC/B,CAAC;IAED,YAAY,CAAC,OAAgC;QAC3C,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE;YAClB,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,CAAA;QACxB,CAAC,CAAC,CAAA;IACJ,CAAC;IAED,aAAa,CAAC,OAAgC;QAC5C,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE;YAClB,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,CAAA;QACtB,CAAC,CAAC,CAAA;IACJ,CAAC;IAED,mBAAmB,CAAC,KAAa,EAAE,KAAa,EAAE,OAAsB;QACtE,2DAA2D;QAC3D,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE;YAC5B,OAAM;SACP;QAED,sDAAsD;QACtD,IAAI,YAAY,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;QAC1C,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;QAC1B,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,EAAE,YAAY,CAAC,CAAA;QACrC,YAAY,CAAC,IAAI,GAAG,OAAO,CAAA;IAC7B,CAAC;CAMF;AA/HD,gCA+HC"}
@@ -1,12 +1,12 @@
1
- export declare type PLSExporterMapBlueprintModel = {
1
+ export declare type PCExporterMapBlueprintModel = {
2
2
  invoke: string;
3
3
  write_to?: string;
4
4
  write_using?: string;
5
5
  };
6
- export declare class PLSExporterMapBlueprint {
6
+ export declare class PCExporterMapBlueprint {
7
7
  invoke: string;
8
8
  write_to: string | null;
9
9
  write_using: string | null;
10
- constructor(data: PLSExporterMapBlueprintModel);
11
- toObject(): PLSExporterMapBlueprintModel;
10
+ constructor(data: PCExporterMapBlueprintModel);
11
+ toObject(): PCExporterMapBlueprintModel;
12
12
  }
@@ -7,10 +7,10 @@
7
7
  // Copyright © 2020 Supernova. All rights reserved.
8
8
  //
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.PLSExporterMapBlueprint = void 0;
10
+ exports.PCExporterMapBlueprint = void 0;
11
11
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
12
12
  // MARK: - Interpreter Definition
13
- class PLSExporterMapBlueprint {
13
+ class PCExporterMapBlueprint {
14
14
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
15
15
  // MARK: - Constructor
16
16
  constructor(data) {
@@ -35,5 +35,5 @@ class PLSExporterMapBlueprint {
35
35
  return data;
36
36
  }
37
37
  }
38
- exports.PLSExporterMapBlueprint = PLSExporterMapBlueprint;
38
+ exports.PCExporterMapBlueprint = PCExporterMapBlueprint;
39
39
  //# sourceMappingURL=ExporterMapBlueprint.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExporterMapBlueprint.js","sourceRoot":"","sources":["../../../../src/model/maps/ExporterMapBlueprint.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,2BAA2B;AAC3B,UAAU;AACV,EAAE;AACF,2BAA2B;AAC3B,oDAAoD;AACpD,EAAE;;;AAcF,8GAA8G;AAC9G,iCAAiC;AAEjC,MAAa,uBAAuB;IASlC,0GAA0G;IAC1G,sBAAsB;IAEtB,YAAY,IAAkC;;QAC5C,2BAA2B;QAC3B,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAC1B,IAAI,CAAC,QAAQ,SAAG,IAAI,CAAC,QAAQ,mCAAI,IAAI,CAAC;QACtC,IAAI,CAAC,WAAW,SAAG,IAAI,CAAC,WAAW,mCAAI,IAAI,CAAC;IAC9C,CAAC;IAED,0GAA0G;IAC1G,wBAAwB;IAExB,QAAQ;QACN,IAAI,IAAI,GAAG;YACT,MAAM,EAAE,IAAI,CAAC,MAAM;SACpB,CAAC;QAEF,IAAI,IAAI,CAAC,WAAW,EAAE;YACpB,IAAI,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC;SACxC;QAED,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,IAAI,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAClC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AArCD,0DAqCC"}
1
+ {"version":3,"file":"ExporterMapBlueprint.js","sourceRoot":"","sources":["../../../../src/model/maps/ExporterMapBlueprint.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,2BAA2B;AAC3B,UAAU;AACV,EAAE;AACF,2BAA2B;AAC3B,oDAAoD;AACpD,EAAE;;;AAcF,8GAA8G;AAC9G,iCAAiC;AAEjC,MAAa,sBAAsB;IASjC,0GAA0G;IAC1G,sBAAsB;IAEtB,YAAY,IAAiC;;QAC3C,2BAA2B;QAC3B,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAA;QACzB,IAAI,CAAC,QAAQ,SAAG,IAAI,CAAC,QAAQ,mCAAI,IAAI,CAAA;QACrC,IAAI,CAAC,WAAW,SAAG,IAAI,CAAC,WAAW,mCAAI,IAAI,CAAA;IAC7C,CAAC;IAED,0GAA0G;IAC1G,wBAAwB;IAExB,QAAQ;QACN,IAAI,IAAI,GAAG;YACT,MAAM,EAAE,IAAI,CAAC,MAAM;SACpB,CAAA;QAED,IAAI,IAAI,CAAC,WAAW,EAAE;YACpB,IAAI,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,WAAW,CAAA;SACvC;QAED,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,IAAI,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAA;SACjC;QAED,OAAO,IAAI,CAAA;IACb,CAAC;CACF;AArCD,wDAqCC"}
@@ -1,4 +1,4 @@
1
- export declare enum PLSExporterSourceContextType {
1
+ export declare enum PCExporterSourceContextType {
2
2
  generic = "generic",
3
3
  component = "component",
4
4
  componentGroup = "componentGroup",
@@ -6,20 +6,20 @@ export declare enum PLSExporterSourceContextType {
6
6
  tokenGroup = "tokenGroup",
7
7
  theme = "theme"
8
8
  }
9
- export declare type PLSExporterBlueprintModel = {
9
+ export declare type PCExporterBlueprintModel = {
10
10
  targets_ci?: boolean;
11
11
  targets_sandbox?: boolean;
12
12
  targets_documentation?: boolean;
13
- context?: PLSExporterSourceContextType;
13
+ context?: PCExporterSourceContextType;
14
14
  };
15
- export declare class PLSExporterSource {
15
+ export declare class PCExporterSource {
16
16
  id: string;
17
17
  path: string;
18
18
  targetsCI: boolean;
19
19
  targetsSandbox: boolean;
20
20
  targetsDocumentation: boolean;
21
- context: PLSExporterSourceContextType;
21
+ context: PCExporterSourceContextType;
22
22
  content: string;
23
23
  constructor(id: string, path: string | null, content: string);
24
- loadBlueprintConfiguration(data: PLSExporterBlueprintModel): void;
24
+ loadBlueprintConfiguration(data: PCExporterBlueprintModel): void;
25
25
  }
@@ -7,27 +7,27 @@
7
7
  // Copyright © 2020 Supernova. All rights reserved.
8
8
  //
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.PLSExporterSource = exports.PLSExporterSourceContextType = void 0;
10
+ exports.PCExporterSource = exports.PCExporterSourceContextType = void 0;
11
11
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
12
12
  // MARK: - Imports
13
13
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
14
14
  // MARK: - Definitions
15
- var PLSExporterSourceContextType;
16
- (function (PLSExporterSourceContextType) {
15
+ var PCExporterSourceContextType;
16
+ (function (PCExporterSourceContextType) {
17
17
  // General-purpose
18
- PLSExporterSourceContextType["generic"] = "generic";
18
+ PCExporterSourceContextType["generic"] = "generic";
19
19
  // Components
20
- PLSExporterSourceContextType["component"] = "component";
21
- PLSExporterSourceContextType["componentGroup"] = "componentGroup";
20
+ PCExporterSourceContextType["component"] = "component";
21
+ PCExporterSourceContextType["componentGroup"] = "componentGroup";
22
22
  // Tokens
23
- PLSExporterSourceContextType["tokenType"] = "tokenType";
24
- PLSExporterSourceContextType["tokenGroup"] = "tokenGroup";
23
+ PCExporterSourceContextType["tokenType"] = "tokenType";
24
+ PCExporterSourceContextType["tokenGroup"] = "tokenGroup";
25
25
  // Themes
26
- PLSExporterSourceContextType["theme"] = "theme";
27
- })(PLSExporterSourceContextType = exports.PLSExporterSourceContextType || (exports.PLSExporterSourceContextType = {}));
26
+ PCExporterSourceContextType["theme"] = "theme";
27
+ })(PCExporterSourceContextType = exports.PCExporterSourceContextType || (exports.PCExporterSourceContextType = {}));
28
28
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
29
29
  // MARK: - Blueprint Object
30
- class PLSExporterSource {
30
+ class PCExporterSource {
31
31
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
32
32
  // MARK: - Constructor
33
33
  constructor(id, path, content) {
@@ -37,7 +37,7 @@ class PLSExporterSource {
37
37
  this.targetsCI = true;
38
38
  this.targetsDocumentation = false;
39
39
  this.targetsSandbox = false;
40
- this.context = PLSExporterSourceContextType.generic;
40
+ this.context = PCExporterSourceContextType.generic;
41
41
  }
42
42
  loadBlueprintConfiguration(data) {
43
43
  if (data.targets_ci) {
@@ -54,5 +54,5 @@ class PLSExporterSource {
54
54
  }
55
55
  }
56
56
  }
57
- exports.PLSExporterSource = PLSExporterSource;
57
+ exports.PCExporterSource = PCExporterSource;
58
58
  //# sourceMappingURL=ExporterSource.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExporterSource.js","sourceRoot":"","sources":["../../../../src/model/sources/ExporterSource.ts"],"names":[],"mappings":";AAAA,EAAE;AACF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AAC;SACxD;QACD,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;SAC7B;IACH,CAAC;CACF;AA5CD,8CA4CC"}
1
+ {"version":3,"file":"ExporterSource.js","sourceRoot":"","sources":["../../../../src/model/sources/ExporterSource.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,gBAAgB;AAChB,UAAU;AACV,EAAE;AACF,2BAA2B;AAC3B,oDAAoD;AACpD,EAAE;;;AAEF,8GAA8G;AAC9G,kBAAkB;AAElB,8GAA8G;AAC9G,sBAAsB;AAEtB,IAAY,2BAcX;AAdD,WAAY,2BAA2B;IACrC,kBAAkB;IAClB,kDAAmB,CAAA;IAEnB,aAAa;IACb,sDAAuB,CAAA;IACvB,gEAAiC,CAAA;IAEjC,SAAS;IACT,sDAAuB,CAAA;IACvB,wDAAyB,CAAA;IAEzB,SAAS;IACT,8CAAe,CAAA;AACjB,CAAC,EAdW,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QActC;AAUD,8GAA8G;AAC9G,2BAA2B;AAE3B,MAAa,gBAAgB;IAe3B,0GAA0G;IAC1G,sBAAsB;IAEtB,YAAY,EAAU,EAAE,IAAmB,EAAE,OAAe;QAC1D,IAAI,CAAC,EAAE,GAAG,EAAE,CAAA;QACZ,IAAI,CAAC,IAAI,GAAG,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,IAAI,CAAA,CAAC,4CAA4C;QACrE,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;QAEtB,IAAI,CAAC,SAAS,GAAG,IAAI,CAAA;QACrB,IAAI,CAAC,oBAAoB,GAAG,KAAK,CAAA;QACjC,IAAI,CAAC,cAAc,GAAG,KAAK,CAAA;QAE3B,IAAI,CAAC,OAAO,GAAG,2BAA2B,CAAC,OAAO,CAAA;IACpD,CAAC;IAED,0BAA0B,CAAC,IAA8B;QACvD,IAAI,IAAI,CAAC,UAAU,EAAE;YACnB,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,UAAU,CAAA;SACjC;QACD,IAAI,IAAI,CAAC,eAAe,EAAE;YACxB,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,eAAe,CAAA;SAC3C;QACD,IAAI,IAAI,CAAC,qBAAqB,EAAE;YAC9B,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC,qBAAqB,CAAA;SACvD;QACD,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAA;SAC5B;IACH,CAAC;CACF;AA5CD,4CA4CC"}
@@ -1,19 +1,19 @@
1
- import { PLSExporter } from '../model/exporters/Exporter';
2
- import { PLSEngineExporterDetail, PLSEngineExporterProcessingResult, PLSPulsarInterface, PLSEngineSourceDetail, PLSEngineSourceProcessingResult } from './PulsarInterface';
3
- import { BLZHighlightEngineToken, DSMBridgeConfiguration } from '@supernova-studio/pulsar-language';
4
- import { BLZAutocompleteEngineApplicationResult, BLZAutocompleteEngineSuggestion } from '@supernova-studio/pulsar-language/build/main/tools/autocomplete/AutocompleteEngine';
1
+ import { PCExporter } from '../model/exporters/Exporter';
2
+ import { PCEngineExporterDetail, PCEngineExporterProcessingResult, PCPulsarInterface, PCEngineSourceDetail, PCEngineSourceProcessingResult } from './PulsarInterface';
3
+ import { PLHighlightEngineToken, DSMBridgeConfiguration } from '@supernova-studio/pulsar-language';
4
+ import { PLAutocompleteEngineApplicationResult, PLAutocompleteEngineSuggestion } from '@supernova-studio/pulsar-language/build/main/tools/autocomplete/AutocompleteEngine';
5
5
  import { DSMReferenceStore } from '../model/dsm/DSMReferenceStore';
6
- export declare enum PLSPulsarEngineState {
6
+ export declare enum PCPulsarEngineState {
7
7
  waiting = "waiting",
8
8
  loading = "loading",
9
9
  ready = "ready"
10
10
  }
11
- export declare enum PLSPulsarExporterMode {
11
+ export declare enum PCPulsarExporterMode {
12
12
  ci = "ci",
13
13
  sandbox = "sandbox",
14
14
  docs = "docs"
15
15
  }
16
- export declare class PLSPulsar implements PLSPulsarInterface {
16
+ export declare class PCPulsar implements PCPulsarInterface {
17
17
  private state;
18
18
  private exporter;
19
19
  private sourceManager;
@@ -23,35 +23,35 @@ export declare class PLSPulsar implements PLSPulsarInterface {
23
23
  private configurationManager;
24
24
  constructor();
25
25
  /** 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! */
26
- initiateWithExporter(exporter: PLSExporter): Promise<PLSEngineExporterDetail>;
26
+ initiateWithExporter(exporter: PCExporter): Promise<PCEngineExporterDetail>;
27
27
  /** Initiates Pulsar library from a local filepath. Note that this has to always be called before using the library, as all calls require the exporter to be present. This fully handles loading and validation of the package, including download of the package, unzipping and more */
28
- initiateWithLocalURL(url: string): Promise<PLSEngineExporterDetail>;
28
+ initiateWithLocalURL(url: string): Promise<PCEngineExporterDetail>;
29
29
  /** Initiates Pulsar library from remote S3 URL. Note that this has to always be called before using the library, as all calls require the exporter to be present. This fully handles loading and validation of the package, including download of the package, unzipping and more */
30
- initiateWithPackageS3URL(s3URL: string): Promise<PLSEngineExporterDetail>;
30
+ initiateWithPackageS3URL(s3URL: string): Promise<PCEngineExporterDetail>;
31
31
  /** Initiates Pulsar library from github URL. Note that this has to always be called before using the library, as all calls require the exporter to be present. This fully handles loading and validation of the package, including download of the package, unzipping and more */
32
- initiateWithPackageGitHubURL(githubURL: string): Promise<PLSEngineExporterDetail>;
32
+ initiateWithPackageGitHubURL(githubURL: string): Promise<PCEngineExporterDetail>;
33
33
  /** Initiates Pulsar library from JSON blob or already parsed object. Note that this has to always be called before using the library, as all calls require the exporter to be present. This fully handles loading and validation of the package */
34
- initiateWithPackageBlob(blob: Object | string): Promise<PLSEngineExporterDetail>;
34
+ initiateWithPackageBlob(blob: Object | string): Promise<PCEngineExporterDetail>;
35
35
  private preInit;
36
36
  private postInit;
37
37
  /** Retrieve underlaying exporter object. Not to be used on the client, as it exposes other properties of exporter that are not to be consumed */
38
- getExporterBackingObject(): PLSExporter;
38
+ getExporterBackingObject(): PCExporter;
39
39
  /** Retrieve details about currently loaded exporter. Note that this only retrieves settings of the exporter, to request blueprints and mapping, use separate functions */
40
- getExporterDetail(): PLSEngineExporterDetail;
40
+ getExporterDetail(): PCEngineExporterDetail;
41
41
  /** Update exporter name. Name must be non-empty and contain at least 6 characters */
42
- updateExporterName(name: string): PLSEngineExporterDetail;
42
+ updateExporterName(name: string): PCEngineExporterDetail;
43
43
  /** Update exporter description. Description must be non-empty and contain at least 20 characters */
44
- updateExporterDescription(description: string): PLSEngineExporterDetail;
44
+ updateExporterDescription(description: string): PCEngineExporterDetail;
45
45
  /** Update exporter version. Exporter version needs to follow standard major.minor.patch versioning. Patch is optional */
46
- updateExporterVersion(version: string): PLSEngineExporterDetail;
46
+ updateExporterVersion(version: string): PCEngineExporterDetail;
47
47
  /** Update exporter author. Author can be empty. If non-empty, only alpha-numerics are allowed */
48
- updateExporterAuthor(author: string | null): PLSEngineExporterDetail;
48
+ updateExporterAuthor(author: string | null): PCEngineExporterDetail;
49
49
  /** Update exporter homepage. Homepage can be empty. If non-empty, validates the URL */
50
- updateExporterHomepage(homepage: string): PLSEngineExporterDetail;
50
+ updateExporterHomepage(homepage: string): PCEngineExporterDetail;
51
51
  /** Update exporter icon. Not available at the moment */
52
- updateExporterIcon(icon: string): PLSEngineExporterDetail;
52
+ updateExporterIcon(icon: string): PCEngineExporterDetail;
53
53
  /** Update exporter tags. Each tag must consist of letters and numbers */
54
- updateExporterTags(tags: string[]): PLSEngineExporterDetail;
54
+ updateExporterTags(tags: string[]): PCEngineExporterDetail;
55
55
  /** Get exporter configuration JSON */
56
56
  getExporterConfigurationJSON(): string;
57
57
  /** Get source configuration JSON */
@@ -65,39 +65,39 @@ export declare class PLSPulsar implements PLSPulsarInterface {
65
65
  /** Update output configuration JSON */
66
66
  updateOutputConfigurationJSON(content: string): void;
67
67
  /** Get all blueprints associated with loaded exporter */
68
- getSources(): Array<PLSEngineSourceDetail>;
68
+ getSources(): Array<PCEngineSourceDetail>;
69
69
  /** Get specific source associated with loaded exporter */
70
- getSourceById(blueprintId: string): PLSEngineSourceDetail;
70
+ getSourceById(blueprintId: string): PCEngineSourceDetail;
71
71
  /** Create new source for loaded exporter. Source comes with default name and code and uses generic context */
72
- createNewSource(): PLSEngineSourceDetail;
72
+ createNewSource(): PCEngineSourceDetail;
73
73
  /** Delete specified source. Throws error when source is not found */
74
74
  deleteSourceById(blueprintId: string): void;
75
75
  /** Update source location. Id must be non-empty and contain at least 3 characters. It must also be unique in scope of the entire exporter */
76
- updateSourceLocation(oldSourceId: string, newSourceId: string, newPath: string): PLSEngineSourceDetail;
76
+ updateSourceLocation(oldSourceId: string, newSourceId: string, newPath: string): PCEngineSourceDetail;
77
77
  /** Get reference store containing description of all elements in the DSM, including all context categories */
78
78
  getDSMContextStore(dsmBridgeConfig: DSMBridgeConfiguration): Promise<DSMReferenceStore>;
79
79
  /** 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 */
80
80
  static getDSMContextStoreStatic(dsmBridgeConfig: DSMBridgeConfiguration): Promise<DSMReferenceStore>;
81
81
  /** Execute source code and retrieve the resulting code. This also retrieves any emitted extra files. Throws error when source is not found */
82
- executeSourceById(blueprintId: string, dsmBridgeConfig: DSMBridgeConfiguration, contextKey: string, contextId: string): Promise<PLSEngineSourceProcessingResult>;
82
+ executeSourceById(blueprintId: string, dsmBridgeConfig: DSMBridgeConfiguration, contextKey: string, contextId: string): Promise<PCEngineSourceProcessingResult>;
83
83
  /** Update source code definition. Overview can be empty. Throws error when source is not found */
84
84
  updateSourceCodeDefinitionForSourceId(sourceId: string, definition: string): void;
85
- /** Suggest next characters, words or snippets to be inserted into blazar code as user types */
86
- suggestNextFromSourceCode(code: string, selectionLocation: number, selectionLength: number): Array<BLZAutocompleteEngineSuggestion>;
87
- /** Apply autocompletion result to specified blazar code */
88
- applyAutocompletionResultToCode(code: string, selectionLocation: number, selectionLength: number, apply: BLZAutocompleteEngineSuggestion): BLZAutocompleteEngineApplicationResult;
89
- /** Compute highlight tokens for the provided blazar code */
90
- suggestHighlightFromSourceCode(code: string): Array<BLZHighlightEngineToken>;
85
+ /** Suggest next characters, words or snippets to be inserted into pulsar code as user types */
86
+ suggestNextFromSourceCode(code: string, selectionLocation: number, selectionLength: number): Array<PLAutocompleteEngineSuggestion>;
87
+ /** Apply autocompletion result to specified pulsar code */
88
+ applyAutocompletionResultToCode(code: string, selectionLocation: number, selectionLength: number, apply: PLAutocompleteEngineSuggestion): PLAutocompleteEngineApplicationResult;
89
+ /** Compute highlight tokens for the provided pulsar code */
90
+ suggestHighlightFromSourceCode(code: string): Array<PLHighlightEngineToken>;
91
91
  /** Serialize entire exporter into single javascript object. Returns object representation */
92
92
  getExporterBlob(): Object;
93
93
  /** Serialize entire exporter into single javascript object. Returns JSON-string representation */
94
94
  getExporterBlobJSONSerialized(): string;
95
95
  /** Execute entire exporter and retrieve all files produced as a result of this export */
96
- executeExporter(dsmBridgeConfig: DSMBridgeConfiguration, exportMode?: PLSPulsarExporterMode): Promise<PLSEngineExporterProcessingResult>;
96
+ executeExporter(dsmBridgeConfig: DSMBridgeConfiguration, exportMode?: PCPulsarExporterMode): Promise<PCEngineExporterProcessingResult>;
97
97
  /** Execute exporter in sandbox mode for a specific component */
98
- executeExporterForSingleSandboxedComponent(dsmBridgeConfig: DSMBridgeConfiguration, sandboxComponentId: string, serializedSandboxData: string): Promise<PLSEngineExporterProcessingResult>;
98
+ executeExporterForSingleSandboxedComponent(dsmBridgeConfig: DSMBridgeConfiguration, sandboxComponentId: string, serializedSandboxData: string): Promise<PCEngineExporterProcessingResult>;
99
99
  /** Retrieve intermediate output of exporter in progress */
100
- retrieveRunningExporterState(): PLSEngineExporterProcessingResult | null;
100
+ retrieveRunningExporterState(): PCEngineExporterProcessingResult | null;
101
101
  private validateCanManipulateState;
102
102
  private convertExporterToDetail;
103
103
  private convertSourceToDetail;