@osdk/maker-experimental 0.6.0-beta.2 → 0.6.0-beta.4

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 (302) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/bin/maker-experimental.mjs +6 -0
  3. package/build/browser/api/defineOntologyV2.js +35 -0
  4. package/build/browser/api/defineOntologyV2.js.map +1 -0
  5. package/build/browser/cli/main.js +120 -0
  6. package/build/browser/cli/main.js.map +1 -0
  7. package/build/browser/cli/marketplaceSerialization/BlockGeneratorResult.js +2 -0
  8. package/build/browser/cli/marketplaceSerialization/BlockGeneratorResult.js.map +1 -0
  9. package/build/browser/cli/marketplaceSerialization/CodeBlockSetSpec.js +2 -0
  10. package/build/browser/cli/marketplaceSerialization/CodeBlockSetSpec.js.map +1 -0
  11. package/build/browser/cli/marketplaceSerialization/CodeBlockSpec.js +53 -0
  12. package/build/browser/cli/marketplaceSerialization/CodeBlockSpec.js.map +1 -0
  13. package/build/browser/cli/marketplaceSerialization/StoreManifestEntry.js +2 -0
  14. package/build/browser/cli/marketplaceSerialization/StoreManifestEntry.js.map +1 -0
  15. package/build/browser/cli/marketplaceSerialization/index.js +2 -0
  16. package/build/browser/cli/marketplaceSerialization/index.js.map +1 -0
  17. package/build/browser/cli/marketplaceSerialization/specGenerators.js +70 -0
  18. package/build/browser/cli/marketplaceSerialization/specGenerators.js.map +1 -0
  19. package/build/browser/cli/marketplaceSerialization/supportingTypes.js +2 -0
  20. package/build/browser/cli/marketplaceSerialization/supportingTypes.js.map +1 -0
  21. package/build/browser/conversion/toConjure/distributeTypeHelper.js +23 -0
  22. package/build/browser/conversion/toConjure/distributeTypeHelper.js.map +1 -0
  23. package/build/browser/conversion/toMarketplace/convertActionHelpers.js +469 -0
  24. package/build/browser/conversion/toMarketplace/convertActionHelpers.js.map +1 -0
  25. package/build/browser/conversion/toMarketplace/convertActionParameterConditionalOverride.js +96 -0
  26. package/build/browser/conversion/toMarketplace/convertActionParameterConditionalOverride.js.map +1 -0
  27. package/build/browser/conversion/toMarketplace/convertActionParameters.js +81 -0
  28. package/build/browser/conversion/toMarketplace/convertActionParameters.js.map +1 -0
  29. package/build/browser/conversion/toMarketplace/convertActionSections.js +45 -0
  30. package/build/browser/conversion/toMarketplace/convertActionSections.js.map +1 -0
  31. package/build/browser/conversion/toMarketplace/convertActionValidation.js +160 -0
  32. package/build/browser/conversion/toMarketplace/convertActionValidation.js.map +1 -0
  33. package/build/browser/conversion/toMarketplace/convertActionVisibility.js +41 -0
  34. package/build/browser/conversion/toMarketplace/convertActionVisibility.js.map +1 -0
  35. package/build/browser/conversion/toMarketplace/convertCardinality.js +23 -0
  36. package/build/browser/conversion/toMarketplace/convertCardinality.js.map +1 -0
  37. package/build/browser/conversion/toMarketplace/convertConditionDefinition.js +88 -0
  38. package/build/browser/conversion/toMarketplace/convertConditionDefinition.js.map +1 -0
  39. package/build/browser/conversion/toMarketplace/convertDataConstraintToDataConstraints.js +26 -0
  40. package/build/browser/conversion/toMarketplace/convertDataConstraintToDataConstraints.js.map +1 -0
  41. package/build/browser/conversion/toMarketplace/convertDatasourceDefinition.js +352 -0
  42. package/build/browser/conversion/toMarketplace/convertDatasourceDefinition.js.map +1 -0
  43. package/build/browser/conversion/toMarketplace/convertInterface.js +75 -0
  44. package/build/browser/conversion/toMarketplace/convertInterface.js.map +1 -0
  45. package/build/browser/conversion/toMarketplace/convertInterfacePropertyType.js +62 -0
  46. package/build/browser/conversion/toMarketplace/convertInterfacePropertyType.js.map +1 -0
  47. package/build/browser/conversion/toMarketplace/convertLink.js +247 -0
  48. package/build/browser/conversion/toMarketplace/convertLink.js.map +1 -0
  49. package/build/browser/conversion/toMarketplace/convertMappingValue.js +76 -0
  50. package/build/browser/conversion/toMarketplace/convertMappingValue.js.map +1 -0
  51. package/build/browser/conversion/toMarketplace/convertNullabilityToDataConstraint.js +42 -0
  52. package/build/browser/conversion/toMarketplace/convertNullabilityToDataConstraint.js.map +1 -0
  53. package/build/browser/conversion/toMarketplace/convertObject.js +262 -0
  54. package/build/browser/conversion/toMarketplace/convertObject.js.map +1 -0
  55. package/build/browser/conversion/toMarketplace/convertObjectPropertyType.js +59 -0
  56. package/build/browser/conversion/toMarketplace/convertObjectPropertyType.js.map +1 -0
  57. package/build/browser/conversion/toMarketplace/convertOntologyDefinition.js +29 -0
  58. package/build/browser/conversion/toMarketplace/convertOntologyDefinition.js.map +1 -0
  59. package/build/browser/conversion/toMarketplace/convertOntologyDefinitionToWireBlockData.js +236 -0
  60. package/build/browser/conversion/toMarketplace/convertOntologyDefinitionToWireBlockData.js.map +1 -0
  61. package/build/browser/conversion/toMarketplace/convertOntologyToValueTypeIr.js +24 -0
  62. package/build/browser/conversion/toMarketplace/convertOntologyToValueTypeIr.js.map +1 -0
  63. package/build/browser/conversion/toMarketplace/convertSectionConditionalOverride.js +35 -0
  64. package/build/browser/conversion/toMarketplace/convertSectionConditionalOverride.js.map +1 -0
  65. package/build/browser/conversion/toMarketplace/convertSpt.js +65 -0
  66. package/build/browser/conversion/toMarketplace/convertSpt.js.map +1 -0
  67. package/build/browser/conversion/toMarketplace/convertValueType.js +20 -0
  68. package/build/browser/conversion/toMarketplace/convertValueType.js.map +1 -0
  69. package/build/browser/conversion/toMarketplace/convertValueTypeDataConstraints.js +30 -0
  70. package/build/browser/conversion/toMarketplace/convertValueTypeDataConstraints.js.map +1 -0
  71. package/build/browser/conversion/toMarketplace/convertValueTypesToIr.js +34 -0
  72. package/build/browser/conversion/toMarketplace/convertValueTypesToIr.js.map +1 -0
  73. package/build/browser/conversion/toMarketplace/dataConstraintToPropertyTypeDataConstraint.js +83 -0
  74. package/build/browser/conversion/toMarketplace/dataConstraintToPropertyTypeDataConstraint.js.map +1 -0
  75. package/build/browser/conversion/toMarketplace/getFormContentOrdering.js +39 -0
  76. package/build/browser/conversion/toMarketplace/getFormContentOrdering.js.map +1 -0
  77. package/build/browser/conversion/toMarketplace/propertyTypeTypeToOntologyIrInterfaceType.js +146 -0
  78. package/build/browser/conversion/toMarketplace/propertyTypeTypeToOntologyIrInterfaceType.js.map +1 -0
  79. package/build/browser/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.js +156 -0
  80. package/build/browser/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.js.map +1 -0
  81. package/build/browser/conversion/toMarketplace/shapeExtractors/ActionTypeShapeExtractor.js +442 -0
  82. package/build/browser/conversion/toMarketplace/shapeExtractors/ActionTypeShapeExtractor.js.map +1 -0
  83. package/build/browser/conversion/toMarketplace/shapeExtractors/ActionTypeShapeExtractor.test.js +562 -0
  84. package/build/browser/conversion/toMarketplace/shapeExtractors/ActionTypeShapeExtractor.test.js.map +1 -0
  85. package/build/browser/conversion/toMarketplace/shapeExtractors/IrShapeExtractor.js +513 -0
  86. package/build/browser/conversion/toMarketplace/shapeExtractors/IrShapeExtractor.js.map +1 -0
  87. package/build/browser/conversion/toMarketplace/shapeExtractors/LinkTypeShapeExtractor.js +274 -0
  88. package/build/browser/conversion/toMarketplace/shapeExtractors/LinkTypeShapeExtractor.js.map +1 -0
  89. package/build/browser/conversion/toMarketplace/shapeExtractors/ObjectTypeShapeExtractor.js +425 -0
  90. package/build/browser/conversion/toMarketplace/shapeExtractors/ObjectTypeShapeExtractor.js.map +1 -0
  91. package/build/browser/conversion/toMarketplace/shapeExtractors/ObjectTypeShapeExtractor.test.js +677 -0
  92. package/build/browser/conversion/toMarketplace/shapeExtractors/ObjectTypeShapeExtractor.test.js.map +1 -0
  93. package/build/browser/conversion/toMarketplace/typeVisitors.js +615 -0
  94. package/build/browser/conversion/toMarketplace/typeVisitors.js.map +1 -0
  95. package/build/browser/index.js +2 -0
  96. package/build/browser/index.js.map +1 -1
  97. package/build/browser/util/generateRid.js +476 -0
  98. package/build/browser/util/generateRid.js.map +1 -0
  99. package/build/cjs/ActionTypeShapeExtractor-5IVLHAPH.cjs +395 -0
  100. package/build/cjs/ActionTypeShapeExtractor-5IVLHAPH.cjs.map +1 -0
  101. package/build/cjs/chunk-AWYOBJ25.cjs +440 -0
  102. package/build/cjs/chunk-AWYOBJ25.cjs.map +1 -0
  103. package/build/cjs/index.cjs +3965 -2663
  104. package/build/cjs/index.cjs.map +1 -1
  105. package/build/cjs/index.d.cts +103 -1
  106. package/build/esm/api/defineOntologyV2.js +35 -0
  107. package/build/esm/api/defineOntologyV2.js.map +1 -0
  108. package/build/esm/cli/main.js +120 -0
  109. package/build/esm/cli/main.js.map +1 -0
  110. package/build/esm/cli/marketplaceSerialization/BlockGeneratorResult.js +2 -0
  111. package/build/esm/cli/marketplaceSerialization/BlockGeneratorResult.js.map +1 -0
  112. package/build/esm/cli/marketplaceSerialization/CodeBlockSetSpec.js +2 -0
  113. package/build/esm/cli/marketplaceSerialization/CodeBlockSetSpec.js.map +1 -0
  114. package/build/esm/cli/marketplaceSerialization/CodeBlockSpec.js +53 -0
  115. package/build/esm/cli/marketplaceSerialization/CodeBlockSpec.js.map +1 -0
  116. package/build/esm/cli/marketplaceSerialization/StoreManifestEntry.js +2 -0
  117. package/build/esm/cli/marketplaceSerialization/StoreManifestEntry.js.map +1 -0
  118. package/build/esm/cli/marketplaceSerialization/index.js +2 -0
  119. package/build/esm/cli/marketplaceSerialization/index.js.map +1 -0
  120. package/build/esm/cli/marketplaceSerialization/specGenerators.js +70 -0
  121. package/build/esm/cli/marketplaceSerialization/specGenerators.js.map +1 -0
  122. package/build/esm/cli/marketplaceSerialization/supportingTypes.js +2 -0
  123. package/build/esm/cli/marketplaceSerialization/supportingTypes.js.map +1 -0
  124. package/build/esm/conversion/toConjure/distributeTypeHelper.js +23 -0
  125. package/build/esm/conversion/toConjure/distributeTypeHelper.js.map +1 -0
  126. package/build/esm/conversion/toMarketplace/convertActionHelpers.js +469 -0
  127. package/build/esm/conversion/toMarketplace/convertActionHelpers.js.map +1 -0
  128. package/build/esm/conversion/toMarketplace/convertActionParameterConditionalOverride.js +96 -0
  129. package/build/esm/conversion/toMarketplace/convertActionParameterConditionalOverride.js.map +1 -0
  130. package/build/esm/conversion/toMarketplace/convertActionParameters.js +81 -0
  131. package/build/esm/conversion/toMarketplace/convertActionParameters.js.map +1 -0
  132. package/build/esm/conversion/toMarketplace/convertActionSections.js +45 -0
  133. package/build/esm/conversion/toMarketplace/convertActionSections.js.map +1 -0
  134. package/build/esm/conversion/toMarketplace/convertActionValidation.js +160 -0
  135. package/build/esm/conversion/toMarketplace/convertActionValidation.js.map +1 -0
  136. package/build/esm/conversion/toMarketplace/convertActionVisibility.js +41 -0
  137. package/build/esm/conversion/toMarketplace/convertActionVisibility.js.map +1 -0
  138. package/build/esm/conversion/toMarketplace/convertCardinality.js +23 -0
  139. package/build/esm/conversion/toMarketplace/convertCardinality.js.map +1 -0
  140. package/build/esm/conversion/toMarketplace/convertConditionDefinition.js +88 -0
  141. package/build/esm/conversion/toMarketplace/convertConditionDefinition.js.map +1 -0
  142. package/build/esm/conversion/toMarketplace/convertDataConstraintToDataConstraints.js +26 -0
  143. package/build/esm/conversion/toMarketplace/convertDataConstraintToDataConstraints.js.map +1 -0
  144. package/build/esm/conversion/toMarketplace/convertDatasourceDefinition.js +352 -0
  145. package/build/esm/conversion/toMarketplace/convertDatasourceDefinition.js.map +1 -0
  146. package/build/esm/conversion/toMarketplace/convertInterface.js +75 -0
  147. package/build/esm/conversion/toMarketplace/convertInterface.js.map +1 -0
  148. package/build/esm/conversion/toMarketplace/convertInterfacePropertyType.js +62 -0
  149. package/build/esm/conversion/toMarketplace/convertInterfacePropertyType.js.map +1 -0
  150. package/build/esm/conversion/toMarketplace/convertLink.js +247 -0
  151. package/build/esm/conversion/toMarketplace/convertLink.js.map +1 -0
  152. package/build/esm/conversion/toMarketplace/convertMappingValue.js +76 -0
  153. package/build/esm/conversion/toMarketplace/convertMappingValue.js.map +1 -0
  154. package/build/esm/conversion/toMarketplace/convertNullabilityToDataConstraint.js +42 -0
  155. package/build/esm/conversion/toMarketplace/convertNullabilityToDataConstraint.js.map +1 -0
  156. package/build/esm/conversion/toMarketplace/convertObject.js +262 -0
  157. package/build/esm/conversion/toMarketplace/convertObject.js.map +1 -0
  158. package/build/esm/conversion/toMarketplace/convertObjectPropertyType.js +59 -0
  159. package/build/esm/conversion/toMarketplace/convertObjectPropertyType.js.map +1 -0
  160. package/build/esm/conversion/toMarketplace/convertOntologyDefinition.js +29 -0
  161. package/build/esm/conversion/toMarketplace/convertOntologyDefinition.js.map +1 -0
  162. package/build/esm/conversion/toMarketplace/convertOntologyDefinitionToWireBlockData.js +236 -0
  163. package/build/esm/conversion/toMarketplace/convertOntologyDefinitionToWireBlockData.js.map +1 -0
  164. package/build/esm/conversion/toMarketplace/convertOntologyToValueTypeIr.js +24 -0
  165. package/build/esm/conversion/toMarketplace/convertOntologyToValueTypeIr.js.map +1 -0
  166. package/build/esm/conversion/toMarketplace/convertSectionConditionalOverride.js +35 -0
  167. package/build/esm/conversion/toMarketplace/convertSectionConditionalOverride.js.map +1 -0
  168. package/build/esm/conversion/toMarketplace/convertSpt.js +65 -0
  169. package/build/esm/conversion/toMarketplace/convertSpt.js.map +1 -0
  170. package/build/esm/conversion/toMarketplace/convertValueType.js +20 -0
  171. package/build/esm/conversion/toMarketplace/convertValueType.js.map +1 -0
  172. package/build/esm/conversion/toMarketplace/convertValueTypeDataConstraints.js +30 -0
  173. package/build/esm/conversion/toMarketplace/convertValueTypeDataConstraints.js.map +1 -0
  174. package/build/esm/conversion/toMarketplace/convertValueTypesToIr.js +34 -0
  175. package/build/esm/conversion/toMarketplace/convertValueTypesToIr.js.map +1 -0
  176. package/build/esm/conversion/toMarketplace/dataConstraintToPropertyTypeDataConstraint.js +83 -0
  177. package/build/esm/conversion/toMarketplace/dataConstraintToPropertyTypeDataConstraint.js.map +1 -0
  178. package/build/esm/conversion/toMarketplace/getFormContentOrdering.js +39 -0
  179. package/build/esm/conversion/toMarketplace/getFormContentOrdering.js.map +1 -0
  180. package/build/esm/conversion/toMarketplace/propertyTypeTypeToOntologyIrInterfaceType.js +146 -0
  181. package/build/esm/conversion/toMarketplace/propertyTypeTypeToOntologyIrInterfaceType.js.map +1 -0
  182. package/build/esm/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.js +156 -0
  183. package/build/esm/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.js.map +1 -0
  184. package/build/esm/conversion/toMarketplace/shapeExtractors/ActionTypeShapeExtractor.js +442 -0
  185. package/build/esm/conversion/toMarketplace/shapeExtractors/ActionTypeShapeExtractor.js.map +1 -0
  186. package/build/esm/conversion/toMarketplace/shapeExtractors/ActionTypeShapeExtractor.test.js +562 -0
  187. package/build/esm/conversion/toMarketplace/shapeExtractors/ActionTypeShapeExtractor.test.js.map +1 -0
  188. package/build/esm/conversion/toMarketplace/shapeExtractors/IrShapeExtractor.js +513 -0
  189. package/build/esm/conversion/toMarketplace/shapeExtractors/IrShapeExtractor.js.map +1 -0
  190. package/build/esm/conversion/toMarketplace/shapeExtractors/LinkTypeShapeExtractor.js +274 -0
  191. package/build/esm/conversion/toMarketplace/shapeExtractors/LinkTypeShapeExtractor.js.map +1 -0
  192. package/build/esm/conversion/toMarketplace/shapeExtractors/ObjectTypeShapeExtractor.js +425 -0
  193. package/build/esm/conversion/toMarketplace/shapeExtractors/ObjectTypeShapeExtractor.js.map +1 -0
  194. package/build/esm/conversion/toMarketplace/shapeExtractors/ObjectTypeShapeExtractor.test.js +677 -0
  195. package/build/esm/conversion/toMarketplace/shapeExtractors/ObjectTypeShapeExtractor.test.js.map +1 -0
  196. package/build/esm/conversion/toMarketplace/typeVisitors.js +615 -0
  197. package/build/esm/conversion/toMarketplace/typeVisitors.js.map +1 -0
  198. package/build/esm/index.js +2 -0
  199. package/build/esm/index.js.map +1 -1
  200. package/build/esm/util/generateRid.js +476 -0
  201. package/build/esm/util/generateRid.js.map +1 -0
  202. package/build/types/api/defineOntologyV2.d.ts +3 -0
  203. package/build/types/api/defineOntologyV2.d.ts.map +1 -0
  204. package/build/types/cli/main.d.ts +1 -0
  205. package/build/types/cli/main.d.ts.map +1 -0
  206. package/build/types/cli/marketplaceSerialization/BlockGeneratorResult.d.ts +69 -0
  207. package/build/types/cli/marketplaceSerialization/BlockGeneratorResult.d.ts.map +1 -0
  208. package/build/types/cli/marketplaceSerialization/CodeBlockSetSpec.d.ts +60 -0
  209. package/build/types/cli/marketplaceSerialization/CodeBlockSetSpec.d.ts.map +1 -0
  210. package/build/types/cli/marketplaceSerialization/CodeBlockSpec.d.ts +48 -0
  211. package/build/types/cli/marketplaceSerialization/CodeBlockSpec.d.ts.map +1 -0
  212. package/build/types/cli/marketplaceSerialization/StoreManifestEntry.d.ts +13 -0
  213. package/build/types/cli/marketplaceSerialization/StoreManifestEntry.d.ts.map +1 -0
  214. package/build/types/cli/marketplaceSerialization/index.d.ts +11 -0
  215. package/build/types/cli/marketplaceSerialization/index.d.ts.map +1 -0
  216. package/build/types/cli/marketplaceSerialization/specGenerators.d.ts +10 -0
  217. package/build/types/cli/marketplaceSerialization/specGenerators.d.ts.map +1 -0
  218. package/build/types/cli/marketplaceSerialization/supportingTypes.d.ts +31 -0
  219. package/build/types/cli/marketplaceSerialization/supportingTypes.d.ts.map +1 -0
  220. package/build/types/conversion/toConjure/distributeTypeHelper.d.ts +3 -0
  221. package/build/types/conversion/toConjure/distributeTypeHelper.d.ts.map +1 -0
  222. package/build/types/conversion/toMarketplace/convertActionHelpers.d.ts +7 -0
  223. package/build/types/conversion/toMarketplace/convertActionHelpers.d.ts.map +1 -0
  224. package/build/types/conversion/toMarketplace/convertActionParameterConditionalOverride.d.ts +4 -0
  225. package/build/types/conversion/toMarketplace/convertActionParameterConditionalOverride.d.ts.map +1 -0
  226. package/build/types/conversion/toMarketplace/convertActionParameters.d.ts +4 -0
  227. package/build/types/conversion/toMarketplace/convertActionParameters.d.ts.map +1 -0
  228. package/build/types/conversion/toMarketplace/convertActionSections.d.ts +4 -0
  229. package/build/types/conversion/toMarketplace/convertActionSections.d.ts.map +1 -0
  230. package/build/types/conversion/toMarketplace/convertActionValidation.d.ts +4 -0
  231. package/build/types/conversion/toMarketplace/convertActionValidation.d.ts.map +1 -0
  232. package/build/types/conversion/toMarketplace/convertActionVisibility.d.ts +2 -0
  233. package/build/types/conversion/toMarketplace/convertActionVisibility.d.ts.map +1 -0
  234. package/build/types/conversion/toMarketplace/convertCardinality.d.ts +3 -0
  235. package/build/types/conversion/toMarketplace/convertCardinality.d.ts.map +1 -0
  236. package/build/types/conversion/toMarketplace/convertConditionDefinition.d.ts +3 -0
  237. package/build/types/conversion/toMarketplace/convertConditionDefinition.d.ts.map +1 -0
  238. package/build/types/conversion/toMarketplace/convertDataConstraintToDataConstraints.d.ts +2 -0
  239. package/build/types/conversion/toMarketplace/convertDataConstraintToDataConstraints.d.ts.map +1 -0
  240. package/build/types/conversion/toMarketplace/convertDatasourceDefinition.d.ts +4 -0
  241. package/build/types/conversion/toMarketplace/convertDatasourceDefinition.d.ts.map +1 -0
  242. package/build/types/conversion/toMarketplace/convertInterface.d.ts +4 -0
  243. package/build/types/conversion/toMarketplace/convertInterface.d.ts.map +1 -0
  244. package/build/types/conversion/toMarketplace/convertInterfacePropertyType.d.ts +4 -0
  245. package/build/types/conversion/toMarketplace/convertInterfacePropertyType.d.ts.map +1 -0
  246. package/build/types/conversion/toMarketplace/convertLink.d.ts +9 -0
  247. package/build/types/conversion/toMarketplace/convertLink.d.ts.map +1 -0
  248. package/build/types/conversion/toMarketplace/convertMappingValue.d.ts +4 -0
  249. package/build/types/conversion/toMarketplace/convertMappingValue.d.ts.map +1 -0
  250. package/build/types/conversion/toMarketplace/convertNullabilityToDataConstraint.d.ts +6 -0
  251. package/build/types/conversion/toMarketplace/convertNullabilityToDataConstraint.d.ts.map +1 -0
  252. package/build/types/conversion/toMarketplace/convertObject.d.ts +10 -0
  253. package/build/types/conversion/toMarketplace/convertObject.d.ts.map +1 -0
  254. package/build/types/conversion/toMarketplace/convertObjectPropertyType.d.ts +4 -0
  255. package/build/types/conversion/toMarketplace/convertObjectPropertyType.d.ts.map +1 -0
  256. package/build/types/conversion/toMarketplace/convertOntologyDefinition.d.ts +4 -0
  257. package/build/types/conversion/toMarketplace/convertOntologyDefinition.d.ts.map +1 -0
  258. package/build/types/conversion/toMarketplace/convertOntologyDefinitionToWireBlockData.d.ts +4 -0
  259. package/build/types/conversion/toMarketplace/convertOntologyDefinitionToWireBlockData.d.ts.map +1 -0
  260. package/build/types/conversion/toMarketplace/convertOntologyToValueTypeIr.d.ts +3 -0
  261. package/build/types/conversion/toMarketplace/convertOntologyToValueTypeIr.d.ts.map +1 -0
  262. package/build/types/conversion/toMarketplace/convertSectionConditionalOverride.d.ts +3 -0
  263. package/build/types/conversion/toMarketplace/convertSectionConditionalOverride.d.ts.map +1 -0
  264. package/build/types/conversion/toMarketplace/convertSpt.d.ts +4 -0
  265. package/build/types/conversion/toMarketplace/convertSpt.d.ts.map +1 -0
  266. package/build/types/conversion/toMarketplace/convertValueType.d.ts +4 -0
  267. package/build/types/conversion/toMarketplace/convertValueType.d.ts.map +1 -0
  268. package/build/types/conversion/toMarketplace/convertValueTypeDataConstraints.d.ts +2 -0
  269. package/build/types/conversion/toMarketplace/convertValueTypeDataConstraints.d.ts.map +1 -0
  270. package/build/types/conversion/toMarketplace/convertValueTypesToIr.d.ts +3 -0
  271. package/build/types/conversion/toMarketplace/convertValueTypesToIr.d.ts.map +1 -0
  272. package/build/types/conversion/toMarketplace/dataConstraintToPropertyTypeDataConstraint.d.ts +2 -0
  273. package/build/types/conversion/toMarketplace/dataConstraintToPropertyTypeDataConstraint.d.ts.map +1 -0
  274. package/build/types/conversion/toMarketplace/getFormContentOrdering.d.ts +3 -0
  275. package/build/types/conversion/toMarketplace/getFormContentOrdering.d.ts.map +1 -0
  276. package/build/types/conversion/toMarketplace/propertyTypeTypeToOntologyIrInterfaceType.d.ts +4 -0
  277. package/build/types/conversion/toMarketplace/propertyTypeTypeToOntologyIrInterfaceType.d.ts.map +1 -0
  278. package/build/types/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.d.ts +4 -0
  279. package/build/types/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.d.ts.map +1 -0
  280. package/build/types/conversion/toMarketplace/shapeExtractors/ActionTypeShapeExtractor.d.ts +13 -0
  281. package/build/types/conversion/toMarketplace/shapeExtractors/ActionTypeShapeExtractor.d.ts.map +1 -0
  282. package/build/types/conversion/toMarketplace/shapeExtractors/ActionTypeShapeExtractor.test.d.ts +1 -0
  283. package/build/types/conversion/toMarketplace/shapeExtractors/ActionTypeShapeExtractor.test.d.ts.map +1 -0
  284. package/build/types/conversion/toMarketplace/shapeExtractors/IrShapeExtractor.d.ts +11 -0
  285. package/build/types/conversion/toMarketplace/shapeExtractors/IrShapeExtractor.d.ts.map +1 -0
  286. package/build/types/conversion/toMarketplace/shapeExtractors/LinkTypeShapeExtractor.d.ts +43 -0
  287. package/build/types/conversion/toMarketplace/shapeExtractors/LinkTypeShapeExtractor.d.ts.map +1 -0
  288. package/build/types/conversion/toMarketplace/shapeExtractors/ObjectTypeShapeExtractor.d.ts +28 -0
  289. package/build/types/conversion/toMarketplace/shapeExtractors/ObjectTypeShapeExtractor.d.ts.map +1 -0
  290. package/build/types/conversion/toMarketplace/shapeExtractors/ObjectTypeShapeExtractor.test.d.ts +1 -0
  291. package/build/types/conversion/toMarketplace/shapeExtractors/ObjectTypeShapeExtractor.test.d.ts.map +1 -0
  292. package/build/types/conversion/toMarketplace/typeVisitors.d.ts +17 -0
  293. package/build/types/conversion/toMarketplace/typeVisitors.d.ts.map +1 -0
  294. package/build/types/index.d.ts +3 -0
  295. package/build/types/index.d.ts.map +1 -1
  296. package/build/types/util/generateRid.d.ts +216 -0
  297. package/build/types/util/generateRid.d.ts.map +1 -0
  298. package/package.json +10 -4
  299. package/build/cjs/chunk-ZPP374PZ.cjs +0 -17
  300. package/build/cjs/chunk-ZPP374PZ.cjs.map +0 -1
  301. package/build/cjs/prompt-VSXFWPU4.cjs +0 -955
  302. package/build/cjs/prompt-VSXFWPU4.cjs.map +0 -1
@@ -0,0 +1,60 @@
1
+ import type { BlockSetVersion, Changelog, CreationTimestamp, InstallationMode, LocalizedTitleAndDescription } from "@osdk/client.unstable/api";
2
+ import type { CodeBlockSpec } from "./CodeBlockSpec.js";
3
+ import type { SemverVersion } from "./specGenerators.js";
4
+ /**
5
+ * The spec for a blockset created from code blocks. This is transported as a marketplace product artifact.
6
+ *
7
+ * This TypeScript interface mirrors the Java CodeBlockSetSpec class and is designed
8
+ * to be JSON serialization-compatible.
9
+ */
10
+ export interface CodeBlockSetSpec {
11
+ /**
12
+ * Use this for more deterministic import logic. If you add a default for example.
13
+ * Optional schema version number.
14
+ */
15
+ specSchemaVersion?: number;
16
+ /**
17
+ * The package name for this block set (e.g., "com.example.my-package").
18
+ * This should only be optional if there is a parent rid!
19
+ */
20
+ packageName?: string;
21
+ /**
22
+ * The semantic version of this block set (e.g., "1.0.0").
23
+ */
24
+ version: SemverVersion;
25
+ /**
26
+ * ISO timestamp of when this block set version was created.
27
+ */
28
+ creationTimestamp: CreationTimestamp;
29
+ /**
30
+ * Localized title and description for this block set.
31
+ * Includes fallback title/description and locale-specific translations.
32
+ */
33
+ about: LocalizedTitleAndDescription;
34
+ /**
35
+ * Map of generated blocks keyed by UUID.
36
+ * Each UUID is a unique identifier for a block within this block set.
37
+ */
38
+ generatedBlocks: Record<string, CodeBlockSpec>;
39
+ /**
40
+ * The installation mode for this block set.
41
+ * Can be "bootstrap", "production", or "singleton".
42
+ */
43
+ installMode?: InstallationMode;
44
+ /**
45
+ * Optional changelog describing what changed in this version.
46
+ * Currently supports markdown format.
47
+ */
48
+ changelog?: Changelog;
49
+ /**
50
+ * Optional reference to the last known version before a breaking change.
51
+ * Used for version compatibility tracking.
52
+ */
53
+ lastKnownVersionBeforeBreak?: BlockSetVersion;
54
+ /**
55
+ * MUST be the same as the one in the block spec.
56
+ * Optional UUID used as a salt for deterministic RID generation.
57
+ * This enables reproducible builds across environments.
58
+ */
59
+ randomnessKey?: string;
60
+ }
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cACE,iBACA,WACA,mBACA,kBACA,oCACK,2BAA4B;AACnC,cAAc,qBAAqB,oBAAqB;AACxD,cAAc,qBAAqB,qBAAsB;;;;;;;AAQzD,iBAAiB,iBAAiB;;;;;CAKhC;;;;;CAMA;;;;CAKA,SAAS;;;;CAKT,mBAAmB;;;;;CAMnB,OAAO;;;;;CAMP,iBAAiB,eAAe;;;;;CAMhC,cAAc;;;;;CAMd,YAAY;;;;;CAMZ,8BAA8B;;;;;;CAO9B;AACD","names":[],"sources":["../../../../src/cli/marketplaceSerialization/CodeBlockSetSpec.ts"],"version":3,"file":"CodeBlockSetSpec.d.ts"}
@@ -0,0 +1,48 @@
1
+ import type { BlockType, InputShape, InputShapeMetadata, OutputShape, SerializedDataLocator } from "@osdk/client.unstable/api";
2
+ import type { UUID } from "crypto";
3
+ import type { ReadableId } from "../../util/generateRid.js";
4
+ import type { SemverVersion } from "./specGenerators.js";
5
+ import type { GeneratedBlockExternalRecommendations, InputMappingEntry } from "./supportingTypes.js";
6
+ /**
7
+ * The spec for a code block. This is transported as a marketplace product artifact.
8
+ *
9
+ * This TypeScript interface mirrors the Java CodeBlockSpec class and is designed
10
+ * to be JSON serialization-compatible.
11
+ */
12
+ export interface CodeBlockSpec {
13
+ /** Maven coordinate identifying this block (e.g., "com.example:my-block") */
14
+ blockMavenCoordinate: string;
15
+ /**
16
+ * Map of input shapes keyed by ReadableId.
17
+ * These define what inputs this block requires.
18
+ */
19
+ inputs: Record<ReadableId, InputShape>;
20
+ /**
21
+ * Map of output shapes keyed by ReadableId.
22
+ * These define what outputs this block provides.
23
+ */
24
+ outputs: Record<ReadableId, OutputShape>;
25
+ /**
26
+ * List of serialized data locators pointing to the actual block implementation artifacts.
27
+ * Can include maven, npm, pypi, conda, files, etc.
28
+ */
29
+ blockData: SerializedDataLocator[];
30
+ /** The type of this block (e.g., ONTOLOGY, FUNCTIONS, EDDIE_PIPELINE, etc.) */
31
+ blockType: BlockType;
32
+ /**
33
+ * List of input mapping entries that provide hints for how to connect blocks.
34
+ * Each entry maps an input ReadableId to an output ReadableId.
35
+ */
36
+ inputMappingEntries: InputMappingEntry[];
37
+ /**
38
+ * External recommendations for connecting this block to upstream packages.
39
+ */
40
+ externalRecommendations: GeneratedBlockExternalRecommendations[];
41
+ /**
42
+ * Metadata about each input shape, keyed by ReadableId.
43
+ * Includes information like whether the input is optional, accessed in reconcile, etc.
44
+ */
45
+ inputShapeMetadata: Record<ReadableId, InputShapeMetadata>;
46
+ }
47
+ export declare function getBlockVersionId(blockSpec: CodeBlockSpec, blockSetVersion: SemverVersion, randomnessKey?: string): UUID;
48
+ export declare function toBlockShapeId(readableId: string, salt?: string): string;
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cACE,WACA,YACA,oBACA,aACA,6BACK,2BAA4B;AACnC,cAAc,YAAY,QAAS;AAEnC,cAAc,kBAAkB,2BAA4B;AAC5D,cAAc,qBAAqB,qBAAsB;AACzD,cACE,uCACA,yBACK,sBAAuB;;;;;;;AAQ9B,iBAAiB,cAAc;;CAE7B;;;;;CAMA,QAAQ,OAAO,YAAY;;;;;CAM3B,SAAS,OAAO,YAAY;;;;;CAM5B,WAAW;;CAGX,WAAW;;;;;CAMX,qBAAqB;;;;CAKrB,yBAAyB;;;;;CAMzB,oBAAoB,OAAO,YAAY;AACxC;AAED,OAAO,iBAAS,kBACdA,WAAW,eACXC,iBAAiB,eACjBC,yBACC;AAwBH,OAAO,iBAAS,eAAeC,oBAAoBC","names":["blockSpec: CodeBlockSpec","blockSetVersion: SemverVersion","randomnessKey?: string","readableId: string","salt?: string"],"sources":["../../../../src/cli/marketplaceSerialization/CodeBlockSpec.ts"],"version":3,"file":"CodeBlockSpec.d.ts"}
@@ -0,0 +1,13 @@
1
+ import type { UUID } from "crypto";
2
+ import type { SemverVersion } from "./specGenerators.js";
3
+ export interface MarketplaceBundleManifestEntry {
4
+ blockSetVersionId: UUID;
5
+ blockSetVersion: SemverVersion;
6
+ titleAndDescription: {
7
+ localizedTitle: {}
8
+ localizedDescription: {}
9
+ fallbackTitle: string
10
+ fallbackDescription: string
11
+ };
12
+ mavenProductId: string | undefined;
13
+ }
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cAAc,YAAY,QAAS;AACnC,cAAc,qBAAqB,qBAAsB;AAEzD,iBAAiB,+BAA+B;CAC9C,mBAAmB;CAEnB,iBAAiB;CAEjB,qBAAqB;EACnB,gBAAgB,CAAE;EAClB,sBAAsB,CAAE;EACxB;EACA;CACD;CAED;AACD","names":[],"sources":["../../../../src/cli/marketplaceSerialization/StoreManifestEntry.ts"],"version":3,"file":"StoreManifestEntry.d.ts"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * TypeScript serialization types for Marketplace Code Block specifications.
3
+ *
4
+ * These types mirror the Java classes in marketplace-foundry-as-code-api and are
5
+ * designed to be JSON-serialization compatible for interop between TypeScript and Java.
6
+ *
7
+ * @module marketplaceSerialization
8
+ */
9
+ export type { CodeBlockSetSpec } from "./CodeBlockSetSpec.js";
10
+ export type { CodeBlockSpec } from "./CodeBlockSpec.js";
11
+ export type { GeneratedBlockExternalRecommendations, InputMappingEntry, ReadableIdMappingPair } from "./supportingTypes.js";
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;AA0BA,cAAc,wBAAwB;AACtC,cAAc,qBAAqB;AAGnC,cACE,uCACA,mBACA,6BACK","names":[],"sources":["../../../../src/cli/marketplaceSerialization/index.ts"],"version":3,"file":"index.d.ts"}
@@ -0,0 +1,10 @@
1
+ import type { OntologyIrV2 } from "@osdk/client.unstable";
2
+ import type { UUID } from "crypto";
3
+ import type { CodeBlockSetSpec } from "./CodeBlockSetSpec.js";
4
+ import type { CodeBlockSpec } from "./CodeBlockSpec.js";
5
+ import type { MarketplaceBundleManifestEntry } from "./StoreManifestEntry.js";
6
+ export type SemverVersion = `${number}.${number}.${number}`;
7
+ export declare function isSemver(maybeSemver: string): maybeSemver is SemverVersion;
8
+ export declare function generateBlockSetSpec(version: SemverVersion, productName: string, productDesc: string, packageName: string, codeBlocks: Record<UUID, CodeBlockSpec>): CodeBlockSetSpec;
9
+ export declare function generateStoreManifest(blockSetSpecs: Record<UUID, CodeBlockSetSpec>): MarketplaceBundleManifestEntry[];
10
+ export declare function generateOntologyBlockSpec(mavenGroup: string, ontologyBlockDataV2: OntologyIrV2, randomnessKey?: string): Promise<CodeBlockSpec>;
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cAAc,oBAAoB,uBAAwB;AAE1D,cAAc,YAAY,QAAS;AAGnC,cAAc,wBAAwB,uBAAwB;AAC9D,cAAc,qBAAqB,oBAAqB;AACxD,cAAc,sCAAsC,yBAA0B;AAS9E,YAAY;AAEZ,OAAO,iBAAS,SAASA,sBAAsB,eAAe;AAK9D,OAAO,iBAAS,qBACdC,SAAS,eACTC,qBACAC,qBACAC,qBACAC,YAAY,OAAO,MAAM,iBACxB;AAeH,OAAO,iBAAS,sBACdC,eAAe,OAAO,MAAM,oBAC3B;AAWH,OAAO,iBAAe,0BACpBC,oBACAC,qBAAqB,cACrBC,yBACC,QAAQ","names":["maybeSemver: string","version: SemverVersion","productName: string","productDesc: string","packageName: string","codeBlocks: Record<UUID, CodeBlockSpec>","blockSetSpecs: Record<UUID, CodeBlockSetSpec>","mavenGroup: string","ontologyBlockDataV2: OntologyIrV2","randomnessKey?: string"],"sources":["../../../../src/cli/marketplaceSerialization/specGenerators.ts"],"version":3,"file":"specGenerators.d.ts"}
@@ -0,0 +1,31 @@
1
+ import type { BlockSetVersionRange } from "@osdk/client.unstable/api";
2
+ import type { ReadableId } from "../../util/generateRid.js";
3
+ /**
4
+ * Description of an install hint for code blocks.
5
+ * Maps an input ReadableId to an output ReadableId to indicate how blocks can be connected.
6
+ */
7
+ export interface InputMappingEntry {
8
+ input: ReadableId;
9
+ output: ReadableId;
10
+ }
11
+ /**
12
+ * A mapping pair within external recommendations, linking upstream outputs to target inputs.
13
+ */
14
+ export interface ReadableIdMappingPair {
15
+ upstreamOutputReadableId: ReadableId;
16
+ targetInputReadableId: ReadableId;
17
+ }
18
+ /**
19
+ * External block set recommendations for generated blocks.
20
+ * Describes how this block can be connected to upstream packages.
21
+ */
22
+ export interface GeneratedBlockExternalRecommendations {
23
+ /** The package name of the upstream block set */
24
+ upstreamPackageName: string;
25
+ /** The version range of the upstream block set this is compatible with */
26
+ upstreamVersionCompatibility: BlockSetVersionRange;
27
+ /** Mappings from upstream outputs to this block's inputs */
28
+ mappings: ReadableIdMappingPair[];
29
+ /** Optional randomness key for deterministic UUID generation in the upstream package */
30
+ upstreamRandomnessKey?: string;
31
+ }
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cAAc,4BAA4B,2BAA4B;AACtE,cAAc,kBAAkB,2BAA4B;;;;;AAM5D,iBAAiB,kBAAkB;CACjC,OAAO;CACP,QAAQ;AACT;;;;AAKD,iBAAiB,sBAAsB;CACrC,0BAA0B;CAC1B,uBAAuB;AACxB;;;;;AAMD,iBAAiB,sCAAsC;;CAErD;;CAGA,8BAA8B;;CAG9B,UAAU;;CAGV;AACD","names":[],"sources":["../../../../src/cli/marketplaceSerialization/supportingTypes.ts"],"version":3,"file":"supportingTypes.d.ts"}
@@ -0,0 +1,3 @@
1
+ export declare function distributeTypeHelper<T extends string>(type: T): T extends any ? {
2
+ type: T
3
+ } & { [K in T] : {} } : never;
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,OAAO,iBAAS,qBAAqB,kBACnCA,MAAM,IACL,gBACG;CAAE,MAAM;AAAG,OAEV,KAAK,KAAI,CAAE","names":["type: T"],"sources":["../../../../src/conversion/toConjure/distributeTypeHelper.ts"],"version":3,"file":"distributeTypeHelper.d.ts"}
@@ -0,0 +1,7 @@
1
+ import type { ActionTypeBlockDataV2, ObjectTypeDatasource, ObjectTypeDatasourceDefinition, OntologyIrAllowedParameterValues, ParameterRenderHint } from "@osdk/client.unstable";
2
+ import type { ActionParameter, ActionParameterAllowedValues, ActionParameterValidation, ActionType } from "@osdk/maker";
3
+ import type { OntologyRidGenerator } from "../../util/generateRid.js";
4
+ export declare function buildDatasource(apiName: string, definition: ObjectTypeDatasourceDefinition, ridGenerator: OntologyRidGenerator, classificationMarkingGroupName?: string, mandatoryMarkingGroupName?: string): ObjectTypeDatasource;
5
+ export declare function convertAction(action: ActionType, ridGenerator: OntologyRidGenerator): ActionTypeBlockDataV2;
6
+ export declare function extractAllowedValues(allowedValues: ActionParameterAllowedValues, ridGenerator: OntologyRidGenerator): OntologyIrAllowedParameterValues;
7
+ export declare function renderHintFromBaseType(parameter: ActionParameter, validation?: ActionParameterValidation): ParameterRenderHint;
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cACE,uBAGA,sBACA,gCACA,kCAGA,2BAGK,uBAAwB;AAC/B,cACE,iBACA,8BACA,2BACA,kBAEK,aAAc;AAErB,cAAc,4BAA4B,2BAA4B;AAQtE,OAAO,iBAAS,gBACdA,iBACAC,YAAY,gCACZC,cAAc,sBACdC,yCACAC,qCACC;AA6BH,OAAO,iBAAS,cACdC,QAAQ,YACRH,cAAc,uBACb;AA4PH,OAAO,iBAAS,qBACdI,eAAe,8BACfJ,cAAc,uBACb;AAkJH,OAAO,iBAAS,uBACdK,WAAW,iBACXC,aAAa,4BACZ","names":["apiName: string","definition: ObjectTypeDatasourceDefinition","ridGenerator: OntologyRidGenerator","classificationMarkingGroupName?: string","mandatoryMarkingGroupName?: string","action: ActionType","allowedValues: ActionParameterAllowedValues","parameter: ActionParameter","validation?: ActionParameterValidation"],"sources":["../../../../src/conversion/toMarketplace/convertActionHelpers.ts"],"version":3,"file":"convertActionHelpers.d.ts"}
@@ -0,0 +1,4 @@
1
+ import type { OntologyIrConditionalOverride } from "@osdk/client.unstable";
2
+ import type { ActionParameter, ActionParameterConditionalOverride, ActionParameterValidation } from "@osdk/maker";
3
+ import type { OntologyRidGenerator } from "../../util/generateRid.js";
4
+ export declare function convertActionParameterConditionalOverride(override: ActionParameterConditionalOverride, validation: ActionParameterValidation, ridGenerator: OntologyRidGenerator, actionParameters?: ActionParameter[]): OntologyIrConditionalOverride;
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cACE,qCAEK,uBAAwB;AAC/B,cACE,iBACA,oCACA,iCACK,aAAc;AACrB,cAAc,4BAA4B,2BAA4B;AAItE,OAAO,iBAAS,0CACdA,UAAU,oCACVC,YAAY,2BACZC,cAAc,sBACdC,mBAAmB,oBAClB","names":["override: ActionParameterConditionalOverride","validation: ActionParameterValidation","ridGenerator: OntologyRidGenerator","actionParameters?: ActionParameter[]"],"sources":["../../../../src/conversion/toMarketplace/convertActionParameterConditionalOverride.ts"],"version":3,"file":"convertActionParameterConditionalOverride.d.ts"}
@@ -0,0 +1,4 @@
1
+ import type { Parameter, ParameterId } from "@osdk/client.unstable";
2
+ import type { ActionType } from "@osdk/maker";
3
+ import type { OntologyRidGenerator } from "../../util/generateRid.js";
4
+ export declare function convertActionParameters(action: ActionType, ridGenerator: OntologyRidGenerator): Record<ParameterId, Parameter>;
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cAAc,WAAW,mBAAmB,uBAAwB;AAEpE,cAAc,kBAAkB,aAAc;AAC9C,cAAc,4BAA4B,2BAA4B;AAEtE,OAAO,iBAAS,wBACdA,QAAQ,YACRC,cAAc,uBACb,OAAO,aAAa","names":["action: ActionType","ridGenerator: OntologyRidGenerator"],"sources":["../../../../src/conversion/toMarketplace/convertActionParameters.ts"],"version":3,"file":"convertActionParameters.d.ts"}
@@ -0,0 +1,4 @@
1
+ import type { Section, SectionId } from "@osdk/client.unstable";
2
+ import type { ActionType } from "@osdk/maker";
3
+ import type { OntologyRidGenerator } from "../../util/generateRid.js";
4
+ export declare function convertActionSections(action: ActionType, ridGenerator: OntologyRidGenerator): Record<SectionId, Section>;
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cAAc,SAAS,iBAAiB,uBAAwB;AAChE,cAAc,kBAAkB,aAAc;AAE9C,cAAc,4BAA4B,2BAA4B;AAEtE,OAAO,iBAAS,sBACdA,QAAQ,YACRC,cAAc,uBACb,OAAO,WAAW","names":["action: ActionType","ridGenerator: OntologyRidGenerator"],"sources":["../../../../src/conversion/toMarketplace/convertActionSections.ts"],"version":3,"file":"convertActionSections.d.ts"}
@@ -0,0 +1,4 @@
1
+ import type { ActionValidation } from "@osdk/client.unstable";
2
+ import type { ActionType } from "@osdk/maker";
3
+ import type { OntologyRidGenerator } from "../../util/generateRid.js";
4
+ export declare function convertActionValidation(action: ActionType, ridGenerator: OntologyRidGenerator): ActionValidation;
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cACE,wBAEK,uBAAwB;AAC/B,cAEE,kBACK,aAAc;AACrB,cAAc,4BAA4B,2BAA4B;AA2EtE,OAAO,iBAAS,wBACdA,QAAQ,YACRC,cAAc,uBACb","names":["action: ActionType","ridGenerator: OntologyRidGenerator"],"sources":["../../../../src/conversion/toMarketplace/convertActionValidation.ts"],"version":3,"file":"convertActionValidation.d.ts"}
@@ -0,0 +1,2 @@
1
+ import type { ParameterVisibility } from "@osdk/client.unstable";
2
+ export declare function convertActionVisibility(visibility: "editable" | "disabled" | "hidden" | undefined): ParameterVisibility;
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cAAc,2BAA2B,uBAAwB;AAEjE,OAAO,iBAAS,wBACdA,YAAY,aAAa,aAAa,uBACrC","names":["visibility: \"editable\" | \"disabled\" | \"hidden\" | undefined"],"sources":["../../../../src/conversion/toMarketplace/convertActionVisibility.ts"],"version":3,"file":"convertActionVisibility.d.ts"}
@@ -0,0 +1,3 @@
1
+ import type { OntologyIrOneToManyLinkDefinition } from "@osdk/client.unstable";
2
+ import type { OneToManyLinkTypeDefinition } from "@osdk/maker";
3
+ export declare function convertCardinality(cardinality: OneToManyLinkTypeDefinition["cardinality"]): OntologyIrOneToManyLinkDefinition["cardinalityHint"];
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cAAc,yCAAyC,uBAAwB;AAC/E,cAAc,mCAAmC,aAAc;AAE/D,OAAO,iBAAS,mBACdA,aAAa,4BAA4B,iBACxC,kCAAkC","names":["cardinality: OneToManyLinkTypeDefinition[\"cardinality\"]"],"sources":["../../../../src/conversion/toMarketplace/convertCardinality.ts"],"version":3,"file":"convertCardinality.d.ts"}
@@ -0,0 +1,3 @@
1
+ import type { OntologyIrCondition } from "@osdk/client.unstable";
2
+ import type { ActionParameter, ConditionDefinition } from "@osdk/maker";
3
+ export declare function convertConditionDefinition(condition: ConditionDefinition, actionParameters?: ActionParameter[]): OntologyIrCondition;
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cAAc,2BAA2B,uBAAwB;AACjE,cAAc,iBAAiB,2BAA2B,aAAc;AAGxE,OAAO,iBAAS,2BACdA,WAAW,qBACXC,mBAAmB,oBAClB","names":["condition: ConditionDefinition","actionParameters?: ActionParameter[]"],"sources":["../../../../src/conversion/toMarketplace/convertConditionDefinition.ts"],"version":3,"file":"convertConditionDefinition.d.ts"}
@@ -0,0 +1,2 @@
1
+ import type { DataConstraint, DataConstraints } from "@osdk/client.unstable";
2
+ export declare function convertDataConstraintToDataConstraints(dc: DataConstraint): DataConstraints;
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cAAc,gBAAgB,uBAAuB,uBAAwB;AAG7E,OAAO,iBAAS,uCACdA,IAAI,iBACH","names":["dc: DataConstraint"],"sources":["../../../../src/conversion/toMarketplace/convertDataConstraintToDataConstraints.ts"],"version":3,"file":"convertDataConstraintToDataConstraints.d.ts"}
@@ -0,0 +1,4 @@
1
+ import type { ObjectTypeDatasourceDefinition } from "@osdk/client.unstable";
2
+ import type { ObjectPropertyType, ObjectType } from "@osdk/maker";
3
+ import { type OntologyRidGenerator } from "../../util/generateRid.js";
4
+ export declare function convertDatasourceDefinition(objectType: ObjectType, properties: ObjectPropertyType[], ridGenerator: OntologyRidGenerator): ObjectTypeDatasourceDefinition;
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cAEE,sCAOK,uBAAwB;AAC/B,cACE,oBACA,kBAIK,aAAc;AAErB,cACO,4BAEA,2BAA4B;AAEnC,OAAO,iBAAS,4BACdA,YAAY,YACZC,YAAY,sBACZC,cAAc,uBACb","names":["objectType: ObjectType","properties: ObjectPropertyType[]","ridGenerator: OntologyRidGenerator"],"sources":["../../../../src/conversion/toMarketplace/convertDatasourceDefinition.ts"],"version":3,"file":"convertDatasourceDefinition.d.ts"}
@@ -0,0 +1,4 @@
1
+ import type { MarketplaceInterfaceType } from "@osdk/client.unstable";
2
+ import type { InterfaceType } from "@osdk/maker";
3
+ import type { OntologyRidGenerator } from "../../util/generateRid.js";
4
+ export declare function convertInterface(interfaceType: InterfaceType, ridGenerator: OntologyRidGenerator): MarketplaceInterfaceType;
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cAAc,gCAAgC,uBAAwB;AACtE,cAAc,qBAAqB,aAAc;AACjD,cAAc,4BAA4B,2BAA4B;AAItE,OAAO,iBAAS,iBACdA,eAAe,eACfC,cAAc,uBACb","names":["interfaceType: InterfaceType","ridGenerator: OntologyRidGenerator"],"sources":["../../../../src/conversion/toMarketplace/convertInterface.ts"],"version":3,"file":"convertInterface.d.ts"}
@@ -0,0 +1,4 @@
1
+ import type { MarketplaceInterfacePropertyType } from "@osdk/client.unstable";
2
+ import type { InterfacePropertyType } from "@osdk/maker";
3
+ import type { OntologyRidGenerator } from "../../util/generateRid.js";
4
+ export declare function convertInterfaceProperty(prop: InterfacePropertyType, apiName: string, interfaceApiName: string, ridGenerator: OntologyRidGenerator): [string, MarketplaceInterfacePropertyType];
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cAAc,wCAAwC,uBAAwB;AAC9E,cAAc,6BAA6B,aAAc;AAEzD,cAAc,4BAA4B,2BAA4B;AAKtE,OAAO,iBAAS,yBACdA,MAAM,uBACNC,iBACAC,0BACAC,cAAc,gCACJ","names":["prop: InterfacePropertyType","apiName: string","interfaceApiName: string","ridGenerator: OntologyRidGenerator"],"sources":["../../../../src/conversion/toMarketplace/convertInterfacePropertyType.ts"],"version":3,"file":"convertInterfacePropertyType.d.ts"}
@@ -0,0 +1,9 @@
1
+ import type { LinkTypeBlockDataV2, LinkTypeStatus } from "@osdk/client.unstable";
2
+ import type { LinkType, ObjectType, ObjectTypeDefinition, UserLinkTypeStatus } from "@osdk/maker";
3
+ import type { OntologyRidGenerator } from "../../util/generateRid.js";
4
+ export declare function convertLink(linkType: LinkType, ridGenerator: OntologyRidGenerator): LinkTypeBlockDataV2;
5
+ export declare function getObject(object: string | ObjectTypeDefinition): {
6
+ apiName: string
7
+ object: ObjectType
8
+ };
9
+ export declare function convertLinkStatus(status: UserLinkTypeStatus | undefined, ridGenerator: OntologyRidGenerator): LinkTypeStatus;
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cAEE,qBACA,sBAEK,uBAAwB;AAC/B,cACE,UACA,YACA,sBACA,0BACK,aAAc;AAOrB,cAAc,4BAA4B,2BAA4B;AAGtE,OAAO,iBAAS,YACdA,UAAU,UACVC,cAAc,uBACb;AAqPH,OAAO,iBAAS,UACdC,iBAAiB,uBAChB;CAAE;CAAiB,QAAQ;AAAY;AAW1C,OAAO,iBAAS,kBACdC,QAAQ,gCACRF,cAAc,uBACb","names":["linkType: LinkType","ridGenerator: OntologyRidGenerator","object: string | ObjectTypeDefinition","status: UserLinkTypeStatus | undefined"],"sources":["../../../../src/conversion/toMarketplace/convertLink.ts"],"version":3,"file":"convertLink.d.ts"}
@@ -0,0 +1,4 @@
1
+ import type { OntologyIrInterfacePropertyLogicRuleValue, OntologyIrLogicRuleValue } from "@osdk/client.unstable";
2
+ import type { MappingValue } from "@osdk/maker";
3
+ export declare function convertInterfacePropertyMappingValue(value: MappingValue): OntologyIrInterfacePropertyLogicRuleValue;
4
+ export declare function convertMappingValue(value: MappingValue): OntologyIrLogicRuleValue;
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cACE,2CACA,gCACK,uBAAwB;AAC/B,cAAc,oBAAoB,aAAc;AAGhD,OAAO,iBAAS,qCACdA,OAAO,eACN;AAoCH,OAAO,iBAAS,oBACdA,OAAO,eACN","names":["value: MappingValue"],"sources":["../../../../src/conversion/toMarketplace/convertMappingValue.ts"],"version":3,"file":"convertMappingValue.d.ts"}
@@ -0,0 +1,6 @@
1
+ import type { DataConstraints } from "@osdk/client.unstable";
2
+ import type { Nullability, PropertyTypeType } from "@osdk/maker";
3
+ export declare function convertNullabilityToDataConstraint(prop: {
4
+ type: PropertyTypeType
5
+ nullability?: Nullability
6
+ }): DataConstraints | undefined;
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cAAc,uBAAuB,uBAAwB;AAC7D,cAAc,aAAa,wBAAwB,aAAc;AAGjE,OAAO,iBAAS,mCACdA,MAAM;CAAE,MAAM;CAAkB,cAAc;AAAa,IAC1D","names":["prop: { type: PropertyTypeType; nullability?: Nullability }"],"sources":["../../../../src/conversion/toMarketplace/convertNullabilityToDataConstraint.ts"],"version":3,"file":"convertNullabilityToDataConstraint.d.ts"}
@@ -0,0 +1,10 @@
1
+ import type { ObjectTypeBlockDataV2, ObjectTypeDatasource } from "@osdk/client.unstable";
2
+ import type { InterfaceType, ObjectPropertyType, ObjectType } from "@osdk/maker";
3
+ import type { OntologyRidGenerator } from "../../util/generateRid.js";
4
+ export declare function convertObject(objectType: ObjectType, ridGenerator: OntologyRidGenerator): ObjectTypeBlockDataV2;
5
+ /**
6
+ * Extracts marking group names of a specific type from object properties
7
+ */
8
+ export declare function extractMarkingGroups(properties: ObjectPropertyType[], markingType: "CBAC" | "MANDATORY"): string[];
9
+ export declare function extractPropertyDatasource(property: ObjectPropertyType, objectTypeApiName: string, ridGenerator: OntologyRidGenerator): ObjectTypeDatasource[];
10
+ export declare function flattenInterface(interfaceType: InterfaceType, seen: Set<string>): Array<InterfaceType>;
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cAIE,uBACA,4BAGK,uBAAwB;AAC/B,cAEE,eACA,oBACA,kBAEK,aAAc;AAMrB,cAAc,4BAA4B,2BAA4B;AAKtE,OAAO,iBAAS,cACdA,YAAY,YACZC,cAAc,uBACb;;;;AAyJH,OAAO,iBAAS,qBACdC,YAAY,sBACZC,aAAa,SAAS;AAexB,OAAO,iBAAS,0BACdC,UAAU,oBACVC,2BACAJ,cAAc,uBACb;AAgNH,OAAO,iBAAS,iBACdK,eAAe,eACfC,MAAM,cACL,MAAM","names":["objectType: ObjectType","ridGenerator: OntologyRidGenerator","properties: ObjectPropertyType[]","markingType: \"CBAC\" | \"MANDATORY\"","property: ObjectPropertyType","objectTypeApiName: string","interfaceType: InterfaceType","seen: Set<string>"],"sources":["../../../../src/conversion/toMarketplace/convertObject.ts"],"version":3,"file":"convertObject.d.ts"}
@@ -0,0 +1,4 @@
1
+ import type { PropertyType } from "@osdk/client.unstable";
2
+ import type { ObjectPropertyType } from "@osdk/maker";
3
+ import type { OntologyRidGenerator } from "../../util/generateRid.js";
4
+ export declare function convertObjectPropertyType(property: ObjectPropertyType, objectTypeApiName: string, ridGenerator: OntologyRidGenerator): PropertyType;
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cAAc,oBAAoB,uBAAwB;AAC1D,cAAc,0BAA0B,aAAc;AAWtD,cAAc,4BAA4B,2BAA4B;AAMtE,OAAO,iBAAS,0BACdA,UAAU,oBACVC,2BACAC,cAAc,uBACb","names":["property: ObjectPropertyType","objectTypeApiName: string","ridGenerator: OntologyRidGenerator"],"sources":["../../../../src/conversion/toMarketplace/convertObjectPropertyType.ts"],"version":3,"file":"convertObjectPropertyType.d.ts"}
@@ -0,0 +1,4 @@
1
+ import type { OntologyIrV2 } from "@osdk/client.unstable";
2
+ import type { OntologyDefinition } from "@osdk/maker";
3
+ import type { OntologyRidGeneratorImpl } from "../../util/generateRid.js";
4
+ export declare function convertOntologyDefinition(ontology: OntologyDefinition, ridGenerator: OntologyRidGeneratorImpl, randomnessKey?: string): OntologyIrV2;
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cAAc,oBAAoB,uBAAwB;AAC1D,cAAc,0BAA0B,aAAc;AAEtD,cAAc,gCAAgC,2BAA4B;AAI1E,OAAO,iBAAS,0BACdA,UAAU,oBACVC,cAAc,0BACdC,yBACC","names":["ontology: OntologyDefinition","ridGenerator: OntologyRidGeneratorImpl","randomnessKey?: string"],"sources":["../../../../src/conversion/toMarketplace/convertOntologyDefinition.ts"],"version":3,"file":"convertOntologyDefinition.d.ts"}
@@ -0,0 +1,4 @@
1
+ import type { OntologyBlockDataV2 } from "@osdk/client.unstable";
2
+ import type { OntologyDefinition } from "@osdk/maker";
3
+ import type { OntologyRidGenerator } from "../../util/generateRid.js";
4
+ export declare function convertOntologyDefinitionToWireBlockData(ontology: OntologyDefinition, ridGenerator: OntologyRidGenerator): OntologyBlockDataV2;
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cAME,2BAEK,uBAAwB;AAC/B,cAAc,0BAA0B,aAAc;AAKtD,cAAc,4BAA4B,2BAA4B;AAStE,OAAO,iBAAS,yCACdA,UAAU,oBACVC,cAAc,uBACb","names":["ontology: OntologyDefinition","ridGenerator: OntologyRidGenerator"],"sources":["../../../../src/conversion/toMarketplace/convertOntologyDefinitionToWireBlockData.ts"],"version":3,"file":"convertOntologyDefinitionToWireBlockData.d.ts"}
@@ -0,0 +1,3 @@
1
+ import type { OntologyIrValueTypeBlockData } from "@osdk/client.unstable";
2
+ import type { OntologyDefinition } from "@osdk/maker";
3
+ export declare function convertOntologyToValueTypeIr(ontology: OntologyDefinition): OntologyIrValueTypeBlockData;
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cAAc,oCAAoC,uBAAwB;AAC1E,cAAc,0BAA0B,aAAc;AAItD,OAAO,iBAAS,6BACdA,UAAU,qBACT","names":["ontology: OntologyDefinition"],"sources":["../../../../src/conversion/toMarketplace/convertOntologyToValueTypeIr.ts"],"version":3,"file":"convertOntologyToValueTypeIr.d.ts"}
@@ -0,0 +1,3 @@
1
+ import type { OntologyIrSectionConditionalOverride } from "@osdk/client.unstable";
2
+ import type { ActionParameter, SectionConditionalOverride } from "@osdk/maker";
3
+ export declare function convertSectionConditionalOverride(override: SectionConditionalOverride, defaultVisibility: "visible" | "hidden", actionParameters?: ActionParameter[]): OntologyIrSectionConditionalOverride;
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cAAc,4CAA4C,uBAAwB;AAClF,cAAc,iBAAiB,kCAAkC,aAAc;AAG/E,OAAO,iBAAS,kCACdA,UAAU,4BACVC,mBAAmB,YAAY,UAC/BC,mBAAmB,oBAClB","names":["override: SectionConditionalOverride","defaultVisibility: \"visible\" | \"hidden\"","actionParameters?: ActionParameter[]"],"sources":["../../../../src/conversion/toMarketplace/convertSectionConditionalOverride.ts"],"version":3,"file":"convertSectionConditionalOverride.d.ts"}
@@ -0,0 +1,4 @@
1
+ import type { SharedPropertyType as SharedPropertyTypeWire } from "@osdk/client.unstable";
2
+ import type { SharedPropertyType } from "@osdk/maker";
3
+ import type { OntologyRidGenerator } from "../../util/generateRid.js";
4
+ export declare function convertSpt({ type, array, description, apiName, displayName, visibility, gothamMapping, typeClasses, aliases, valueType, nullability, baseFormatter }: SharedPropertyType, ridGenerator: OntologyRidGenerator): SharedPropertyTypeWire;
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cAEE,sBAAsB,8BACjB,uBAAwB;AAC/B,cAAc,0BAA0B,aAAc;AACtD,cAAc,4BAA4B,2BAA4B;AAItE,OAAO,iBAAS,WACd,EACE,MACA,OACA,aACA,SACA,aACA,YACA,eACA,aACA,SACA,WACA,aACA,eACmB,EAAlB,oBACHA,cAAc,uBACb","names":["ridGenerator: OntologyRidGenerator"],"sources":["../../../../src/conversion/toMarketplace/convertSpt.ts"],"version":3,"file":"convertSpt.d.ts"}
@@ -0,0 +1,4 @@
1
+ import type { ValueTypeReference } from "@osdk/client.unstable";
2
+ import type { ValueTypeDefinitionVersion } from "@osdk/maker";
3
+ import type { OntologyRidGenerator } from "../../util/generateRid.js";
4
+ export declare function convertValueType(valueType: ValueTypeDefinitionVersion, ridGenerator: OntologyRidGenerator): ValueTypeReference;
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cAAc,0BAA0B,uBAAwB;AAChE,cAAc,kCAAkC,aAAc;AAC9D,cAAc,4BAA4B,2BAA4B;AAEtE,OAAO,iBAAS,iBACdA,WAAW,4BACXC,cAAc,uBACb","names":["valueType: ValueTypeDefinitionVersion","ridGenerator: OntologyRidGenerator"],"sources":["../../../../src/conversion/toMarketplace/convertValueType.ts"],"version":3,"file":"convertValueType.d.ts"}
@@ -0,0 +1,2 @@
1
+ import type { DataConstraints, ValueTypeDataConstraint } from "@osdk/client.unstable";
2
+ export declare function convertValueTypeDataConstraints(dataConstraints: ValueTypeDataConstraint[]): DataConstraints | undefined;
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cACE,iBAEA,+BACK,uBAAwB;AAG/B,OAAO,iBAAS,gCACdA,iBAAiB,4BAChB","names":["dataConstraints: ValueTypeDataConstraint[]"],"sources":["../../../../src/conversion/toMarketplace/convertValueTypeDataConstraints.ts"],"version":3,"file":"convertValueTypeDataConstraints.d.ts"}
@@ -0,0 +1,3 @@
1
+ import type { OntologyIrValueTypeBlockDataEntry } from "@osdk/client.unstable";
2
+ import type { ValueTypeDefinitionVersion } from "@osdk/maker";
3
+ export declare function convertValueTypesToIr(valueTypes: Record<string, ValueTypeDefinitionVersion[]>): OntologyIrValueTypeBlockDataEntry[];
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cAAc,yCAAyC,uBAAwB;AAC/E,cAAc,kCAAkC,aAAc;AAE9D,OAAO,iBAAS,sBACdA,YAAY,eAAe,gCAC1B","names":["valueTypes: Record<string, ValueTypeDefinitionVersion[]>"],"sources":["../../../../src/conversion/toMarketplace/convertValueTypesToIr.ts"],"version":3,"file":"convertValueTypesToIr.d.ts"}
@@ -0,0 +1,2 @@
1
+ import type { DataConstraint, PropertyTypeDataConstraints } from "@osdk/client.unstable";
2
+ export declare function dataConstraintToPropertyTypeDataConstraint(dc: DataConstraint): PropertyTypeDataConstraints;
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cACE,gBACA,mCAaK,uBAAwB;AAG/B,OAAO,iBAAS,2CACdA,IAAI,iBACH","names":["dc: DataConstraint"],"sources":["../../../../src/conversion/toMarketplace/dataConstraintToPropertyTypeDataConstraint.ts"],"version":3,"file":"dataConstraintToPropertyTypeDataConstraint.d.ts"}
@@ -0,0 +1,3 @@
1
+ import type { OntologyIrFormContent } from "@osdk/client.unstable";
2
+ import type { ActionType } from "@osdk/maker";
3
+ export declare function getFormContentOrdering(action: ActionType, parameterOrdering: string[]): OntologyIrFormContent[];
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cAAc,6BAA6B,uBAAwB;AACnE,cAAc,kBAAkB,aAAc;AAE9C,OAAO,iBAAS,uBACdA,QAAQ,YACRC,8BACC","names":["action: ActionType","parameterOrdering: string[]"],"sources":["../../../../src/conversion/toMarketplace/getFormContentOrdering.ts"],"version":3,"file":"getFormContentOrdering.d.ts"}
@@ -0,0 +1,4 @@
1
+ import type { InterfacePropertyTypeType } from "@osdk/client.unstable";
2
+ import type { PropertyTypeType } from "@osdk/maker";
3
+ import type { OntologyRidGenerator } from "../../util/generateRid.js";
4
+ export declare function propertyTypeTypeToOntologyIrInterfaceType(type: PropertyTypeType, propertyApiName: string, ridGenerator: OntologyRidGenerator): InterfacePropertyTypeType;
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cACE,iCAEK,uBAAwB;AAC/B,cAAc,wBAAwB,aAAc;AACpD,cAAc,4BAA4B,2BAA4B;AAGtE,OAAO,iBAAS,0CACdA,MAAM,kBACNC,yBACAC,cAAc,uBACb","names":["type: PropertyTypeType","propertyApiName: string","ridGenerator: OntologyRidGenerator"],"sources":["../../../../src/conversion/toMarketplace/propertyTypeTypeToOntologyIrInterfaceType.ts"],"version":3,"file":"propertyTypeTypeToOntologyIrInterfaceType.d.ts"}
@@ -0,0 +1,4 @@
1
+ import type { Type } from "@osdk/client.unstable";
2
+ import type { PropertyTypeType } from "@osdk/maker";
3
+ import type { OntologyRidGenerator } from "../../util/generateRid.js";
4
+ export declare function propertyTypeTypeToOntologyIrType(type: PropertyTypeType, ridGenerator: OntologyRidGenerator, propertyApiName?: string, includeMainValue?: boolean): Type;
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cAA+B,YAAY,uBAAwB;AACnE,cAAc,wBAAwB,aAAc;AACpD,cAAc,4BAA4B,2BAA4B;AAGtE,OAAO,iBAAS,iCACdA,MAAM,kBACNC,cAAc,sBACdC,0BACAC,6BACC","names":["type: PropertyTypeType","ridGenerator: OntologyRidGenerator","propertyApiName?: string","includeMainValue?: boolean"],"sources":["../../../../src/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.ts"],"version":3,"file":"propertyTypeTypeToOntologyIrType.d.ts"}
@@ -0,0 +1,13 @@
1
+ import type { ActionTypeBlockDataV2, KnownMarketplaceIdentifiers } from "@osdk/client.unstable";
2
+ import { type BlockShapes, type OntologyRidGenerator } from "../../../util/generateRid.js";
3
+ /**
4
+ * Extracts action type shapes from an ActionTypeBlockDataV2
5
+ */
6
+ export declare class ActionTypeShapeExtractor {
7
+ /**
8
+ * Extract action type shapes from block data
9
+ */
10
+ extract(actionType: ActionTypeBlockDataV2, ridGenerator: OntologyRidGenerator, knownIdentifiers: KnownMarketplaceIdentifiers): BlockShapes;
11
+ private getParameterReadableId;
12
+ private toBlockInternalId;
13
+ }
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cAEE,uBACA,mCACK,uBAAwB;AAQ/B,cACO,kBACA,4BAGA,8BAA+B;;;;AA4StC,OAAO,cAAM,yBAAyB;;;;CAIpC,QACEA,YAAY,uBACZC,cAAc,sBACdC,kBAAkB,8BACjB;CAsFH,QAAQ;CAOR,QAAQ;AAMT","names":["actionType: ActionTypeBlockDataV2","ridGenerator: OntologyRidGenerator","knownIdentifiers: KnownMarketplaceIdentifiers"],"sources":["../../../../../src/conversion/toMarketplace/shapeExtractors/ActionTypeShapeExtractor.ts"],"version":3,"file":"ActionTypeShapeExtractor.d.ts"}
@@ -0,0 +1 @@
1
+ {"mappings":"","names":[],"sources":["../../../../../src/conversion/toMarketplace/shapeExtractors/ActionTypeShapeExtractor.test.ts"],"version":3,"file":"ActionTypeShapeExtractor.test.d.ts"}
@@ -0,0 +1,11 @@
1
+ import type { OntologyBlockDataV2, Type, ValueTypeReference } from "@osdk/client.unstable";
2
+ import { type BlockShapes, type OntologyRidGenerator, type ReadableId } from "../../../util/generateRid.js";
3
+ export declare const MIGRATION_SHAPE_READABLE_ID: ReadableId;
4
+ /**
5
+ * Main entry point for extracting all shapes from an ontology
6
+ */
7
+ export declare function getShapes(ontologyBlockDataV2: OntologyBlockDataV2, ridGenerator: OntologyRidGenerator, randomnessKey?: string): Promise<BlockShapes>;
8
+ /**
9
+ * Extract value type input shape if present
10
+ */
11
+ export declare function extractValueTypeInputShapeIfPresent(maybeValueTypeReference: ValueTypeReference | undefined, displayName: string, type: Type, blockShapes: BlockShapes, ridGenerator: OntologyRidGenerator): void;
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cAME,qBAEA,MACA,0BACK,uBAAwB;AAa/B,cACO,kBACA,2BACA,kBAEA,8BAA+B;AAQtC,OAAO,cAAMA,6BAA6B;;;;AAqB1C,OAAO,iBAAe,UACpBC,qBAAqB,qBACrBC,cAAc,sBACdC,yBACC,QAAQ;;;;AAkUX,OAAO,iBAAS,oCACdC,yBAAyB,gCACzBC,qBACAC,MAAM,MACNC,aAAa,aACbL,cAAc","names":["MIGRATION_SHAPE_READABLE_ID: ReadableId","ontologyBlockDataV2: OntologyBlockDataV2","ridGenerator: OntologyRidGenerator","randomnessKey?: string","maybeValueTypeReference: ValueTypeReference | undefined","displayName: string","type: Type","blockShapes: BlockShapes"],"sources":["../../../../../src/conversion/toMarketplace/shapeExtractors/IrShapeExtractor.ts"],"version":3,"file":"IrShapeExtractor.d.ts"}