@blue-labs/language 1.20.0

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 (381) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +133 -0
  3. package/dist/index.d.ts +5 -0
  4. package/dist/index.d.ts.map +1 -0
  5. package/dist/index.js +34 -0
  6. package/dist/index.mjs +4476 -0
  7. package/dist/lib/Blue.d.ts +99 -0
  8. package/dist/lib/Blue.d.ts.map +1 -0
  9. package/dist/lib/NodeProvider.d.ts +26 -0
  10. package/dist/lib/NodeProvider.d.ts.map +1 -0
  11. package/dist/lib/index.d.ts +9 -0
  12. package/dist/lib/index.d.ts.map +1 -0
  13. package/dist/lib/mapping/AnyConverter.d.ts +6 -0
  14. package/dist/lib/mapping/AnyConverter.d.ts.map +1 -0
  15. package/dist/lib/mapping/ArrayConverter.d.ts +10 -0
  16. package/dist/lib/mapping/ArrayConverter.d.ts.map +1 -0
  17. package/dist/lib/mapping/ComplexObjectConverter.d.ts +15 -0
  18. package/dist/lib/mapping/ComplexObjectConverter.d.ts.map +1 -0
  19. package/dist/lib/mapping/Converter.d.ts +6 -0
  20. package/dist/lib/mapping/Converter.d.ts.map +1 -0
  21. package/dist/lib/mapping/ConverterFactory.d.ts +14 -0
  22. package/dist/lib/mapping/ConverterFactory.d.ts.map +1 -0
  23. package/dist/lib/mapping/MapConverter.d.ts +14 -0
  24. package/dist/lib/mapping/MapConverter.d.ts.map +1 -0
  25. package/dist/lib/mapping/NodeToObjectConverter.d.ts +13 -0
  26. package/dist/lib/mapping/NodeToObjectConverter.d.ts.map +1 -0
  27. package/dist/lib/mapping/NullConverter.d.ts +5 -0
  28. package/dist/lib/mapping/NullConverter.d.ts.map +1 -0
  29. package/dist/lib/mapping/PrimitiveConverter.d.ts +7 -0
  30. package/dist/lib/mapping/PrimitiveConverter.d.ts.map +1 -0
  31. package/dist/lib/mapping/SetConverter.d.ts +10 -0
  32. package/dist/lib/mapping/SetConverter.d.ts.map +1 -0
  33. package/dist/lib/mapping/TupleConverter.d.ts +13 -0
  34. package/dist/lib/mapping/TupleConverter.d.ts.map +1 -0
  35. package/dist/lib/mapping/UnknownConverter.d.ts +6 -0
  36. package/dist/lib/mapping/UnknownConverter.d.ts.map +1 -0
  37. package/dist/lib/mapping/ValueConverter.d.ts +12 -0
  38. package/dist/lib/mapping/ValueConverter.d.ts.map +1 -0
  39. package/dist/lib/mapping/__tests__/schema/contract.d.ts +364 -0
  40. package/dist/lib/mapping/__tests__/schema/contract.d.ts.map +1 -0
  41. package/dist/lib/mapping/__tests__/schema/doctor.d.ts +19 -0
  42. package/dist/lib/mapping/__tests__/schema/doctor.d.ts.map +1 -0
  43. package/dist/lib/mapping/__tests__/schema/index.d.ts +3389 -0
  44. package/dist/lib/mapping/__tests__/schema/index.d.ts.map +1 -0
  45. package/dist/lib/mapping/__tests__/schema/nurse.d.ts +19 -0
  46. package/dist/lib/mapping/__tests__/schema/nurse.d.ts.map +1 -0
  47. package/dist/lib/mapping/__tests__/schema/person.d.ts +15 -0
  48. package/dist/lib/mapping/__tests__/schema/person.d.ts.map +1 -0
  49. package/dist/lib/mapping/__tests__/schema/personDictionaryExample.d.ts +75 -0
  50. package/dist/lib/mapping/__tests__/schema/personDictionaryExample.d.ts.map +1 -0
  51. package/dist/lib/mapping/__tests__/schema/personListExample.d.ts +61 -0
  52. package/dist/lib/mapping/__tests__/schema/personListExample.d.ts.map +1 -0
  53. package/dist/lib/mapping/__tests__/schema/personObjectExample.d.ts +61 -0
  54. package/dist/lib/mapping/__tests__/schema/personObjectExample.d.ts.map +1 -0
  55. package/dist/lib/mapping/__tests__/schema/personValueExample.d.ts +25 -0
  56. package/dist/lib/mapping/__tests__/schema/personValueExample.d.ts.map +1 -0
  57. package/dist/lib/mapping/__tests__/schema/x.d.ts +67 -0
  58. package/dist/lib/mapping/__tests__/schema/x.d.ts.map +1 -0
  59. package/dist/lib/mapping/__tests__/schema/x1.d.ts +73 -0
  60. package/dist/lib/mapping/__tests__/schema/x1.d.ts.map +1 -0
  61. package/dist/lib/mapping/__tests__/schema/x11.d.ts +80 -0
  62. package/dist/lib/mapping/__tests__/schema/x11.d.ts.map +1 -0
  63. package/dist/lib/mapping/__tests__/schema/x12.d.ts +80 -0
  64. package/dist/lib/mapping/__tests__/schema/x12.d.ts.map +1 -0
  65. package/dist/lib/mapping/__tests__/schema/x2.d.ts +67 -0
  66. package/dist/lib/mapping/__tests__/schema/x2.d.ts.map +1 -0
  67. package/dist/lib/mapping/__tests__/schema/x3.d.ts +77 -0
  68. package/dist/lib/mapping/__tests__/schema/x3.d.ts.map +1 -0
  69. package/dist/lib/mapping/__tests__/schema/xSubscription.d.ts +10 -0
  70. package/dist/lib/mapping/__tests__/schema/xSubscription.d.ts.map +1 -0
  71. package/dist/lib/mapping/__tests__/schema/y.d.ts +990 -0
  72. package/dist/lib/mapping/__tests__/schema/y.d.ts.map +1 -0
  73. package/dist/lib/mapping/__tests__/schema/y1.d.ts +1381 -0
  74. package/dist/lib/mapping/__tests__/schema/y1.d.ts.map +1 -0
  75. package/dist/lib/mapping/index.d.ts +4 -0
  76. package/dist/lib/mapping/index.d.ts.map +1 -0
  77. package/dist/lib/mapping/serializeBlueAnnotated.d.ts +3 -0
  78. package/dist/lib/mapping/serializeBlueAnnotated.d.ts.map +1 -0
  79. package/dist/lib/model/BigDecimalNumber.d.ts +9 -0
  80. package/dist/lib/model/BigDecimalNumber.d.ts.map +1 -0
  81. package/dist/lib/model/BigIntegerNumber.d.ts +9 -0
  82. package/dist/lib/model/BigIntegerNumber.d.ts.map +1 -0
  83. package/dist/lib/model/Node.d.ts +53 -0
  84. package/dist/lib/model/Node.d.ts.map +1 -0
  85. package/dist/lib/model/NodeDeserializer.d.ts +8 -0
  86. package/dist/lib/model/NodeDeserializer.d.ts.map +1 -0
  87. package/dist/lib/model/index.d.ts +5 -0
  88. package/dist/lib/model/index.d.ts.map +1 -0
  89. package/dist/lib/preprocess/BlueDirectivePreprocessor.d.ts +85 -0
  90. package/dist/lib/preprocess/BlueDirectivePreprocessor.d.ts.map +1 -0
  91. package/dist/lib/preprocess/Preprocessor.d.ts +68 -0
  92. package/dist/lib/preprocess/Preprocessor.d.ts.map +1 -0
  93. package/dist/lib/preprocess/index.d.ts +5 -0
  94. package/dist/lib/preprocess/index.d.ts.map +1 -0
  95. package/dist/lib/preprocess/interfaces.d.ts +24 -0
  96. package/dist/lib/preprocess/interfaces.d.ts.map +1 -0
  97. package/dist/lib/preprocess/processor/InferBasicTypesForUntypedValues.d.ts +20 -0
  98. package/dist/lib/preprocess/processor/InferBasicTypesForUntypedValues.d.ts.map +1 -0
  99. package/dist/lib/preprocess/processor/ReplaceInlineValuesForTypeAttributesWithImports.d.ts +23 -0
  100. package/dist/lib/preprocess/processor/ReplaceInlineValuesForTypeAttributesWithImports.d.ts.map +1 -0
  101. package/dist/lib/preprocess/processor/index.d.ts +3 -0
  102. package/dist/lib/preprocess/processor/index.d.ts.map +1 -0
  103. package/dist/lib/preprocess/utils/BlueIdsMappingGenerator.d.ts +53 -0
  104. package/dist/lib/preprocess/utils/BlueIdsMappingGenerator.d.ts.map +1 -0
  105. package/dist/lib/processor/BlueDocumentProcessor.d.ts +54 -0
  106. package/dist/lib/processor/BlueDocumentProcessor.d.ts.map +1 -0
  107. package/dist/lib/processor/context.d.ts +21 -0
  108. package/dist/lib/processor/context.d.ts.map +1 -0
  109. package/dist/lib/processor/processors/BaseChannelProcessor.d.ts +27 -0
  110. package/dist/lib/processor/processors/BaseChannelProcessor.d.ts.map +1 -0
  111. package/dist/lib/processor/processors/ChannelEventCheckpointProcessor.d.ts +13 -0
  112. package/dist/lib/processor/processors/ChannelEventCheckpointProcessor.d.ts.map +1 -0
  113. package/dist/lib/processor/processors/CompositeTimelineChannelProcessor.d.ts +9 -0
  114. package/dist/lib/processor/processors/CompositeTimelineChannelProcessor.d.ts.map +1 -0
  115. package/dist/lib/processor/processors/DocumentUpdateChannelProcessor.d.ts +9 -0
  116. package/dist/lib/processor/processors/DocumentUpdateChannelProcessor.d.ts.map +1 -0
  117. package/dist/lib/processor/processors/EmbeddedNodeChannelProcessor.d.ts +9 -0
  118. package/dist/lib/processor/processors/EmbeddedNodeChannelProcessor.d.ts.map +1 -0
  119. package/dist/lib/processor/processors/MyOSAgentChannelProcessor.d.ts +60 -0
  120. package/dist/lib/processor/processors/MyOSAgentChannelProcessor.d.ts.map +1 -0
  121. package/dist/lib/processor/processors/MyOSTimelineChannelProcessor.d.ts +9 -0
  122. package/dist/lib/processor/processors/MyOSTimelineChannelProcessor.d.ts.map +1 -0
  123. package/dist/lib/processor/processors/OperationProcessor.d.ts +11 -0
  124. package/dist/lib/processor/processors/OperationProcessor.d.ts.map +1 -0
  125. package/dist/lib/processor/processors/ProcessEmbeddedProcessor.d.ts +10 -0
  126. package/dist/lib/processor/processors/ProcessEmbeddedProcessor.d.ts.map +1 -0
  127. package/dist/lib/processor/processors/SequentialWorkflowOperationProcessor.d.ts +12 -0
  128. package/dist/lib/processor/processors/SequentialWorkflowOperationProcessor.d.ts.map +1 -0
  129. package/dist/lib/processor/processors/SequentialWorkflowProcessor/SequentialWorkflowProcessor.d.ts +15 -0
  130. package/dist/lib/processor/processors/SequentialWorkflowProcessor/SequentialWorkflowProcessor.d.ts.map +1 -0
  131. package/dist/lib/processor/processors/SequentialWorkflowProcessor/index.d.ts +2 -0
  132. package/dist/lib/processor/processors/SequentialWorkflowProcessor/index.d.ts.map +1 -0
  133. package/dist/lib/processor/processors/SequentialWorkflowProcessor/steps/JavaScriptCodeExecutor.d.ts +8 -0
  134. package/dist/lib/processor/processors/SequentialWorkflowProcessor/steps/JavaScriptCodeExecutor.d.ts.map +1 -0
  135. package/dist/lib/processor/processors/SequentialWorkflowProcessor/steps/TriggerEventExecutor.d.ts +8 -0
  136. package/dist/lib/processor/processors/SequentialWorkflowProcessor/steps/TriggerEventExecutor.d.ts.map +1 -0
  137. package/dist/lib/processor/processors/SequentialWorkflowProcessor/steps/UpdateDocumentExecutor.d.ts +12 -0
  138. package/dist/lib/processor/processors/SequentialWorkflowProcessor/steps/UpdateDocumentExecutor.d.ts.map +1 -0
  139. package/dist/lib/processor/processors/SequentialWorkflowProcessor/types.d.ts +7 -0
  140. package/dist/lib/processor/processors/SequentialWorkflowProcessor/types.d.ts.map +1 -0
  141. package/dist/lib/processor/processors/SequentialWorkflowProcessor/utils/BindingsFactory.d.ts +12 -0
  142. package/dist/lib/processor/processors/SequentialWorkflowProcessor/utils/BindingsFactory.d.ts.map +1 -0
  143. package/dist/lib/processor/processors/SequentialWorkflowProcessor/utils/ExpressionEvaluator.d.ts +59 -0
  144. package/dist/lib/processor/processors/SequentialWorkflowProcessor/utils/ExpressionEvaluator.d.ts.map +1 -0
  145. package/dist/lib/processor/processors/TimelineChannelProcessor.d.ts +9 -0
  146. package/dist/lib/processor/processors/TimelineChannelProcessor.d.ts.map +1 -0
  147. package/dist/lib/processor/processors/index.d.ts +12 -0
  148. package/dist/lib/processor/processors/index.d.ts.map +1 -0
  149. package/dist/lib/processor/queue/TaskKey.d.ts +22 -0
  150. package/dist/lib/processor/queue/TaskKey.d.ts.map +1 -0
  151. package/dist/lib/processor/queue/TaskQueue.d.ts +31 -0
  152. package/dist/lib/processor/queue/TaskQueue.d.ts.map +1 -0
  153. package/dist/lib/processor/registry/ContractRegistry.d.ts +47 -0
  154. package/dist/lib/processor/registry/ContractRegistry.d.ts.map +1 -0
  155. package/dist/lib/processor/routing/EventRouter.d.ts +51 -0
  156. package/dist/lib/processor/routing/EventRouter.d.ts.map +1 -0
  157. package/dist/lib/processor/types.d.ts +112 -0
  158. package/dist/lib/processor/types.d.ts.map +1 -0
  159. package/dist/lib/processor/utils/CheckpointCache.d.ts +9 -0
  160. package/dist/lib/processor/utils/CheckpointCache.d.ts.map +1 -0
  161. package/dist/lib/processor/utils/EventTraceManager.d.ts +46 -0
  162. package/dist/lib/processor/utils/EventTraceManager.d.ts.map +1 -0
  163. package/dist/lib/processor/utils/checkpoint.d.ts +3 -0
  164. package/dist/lib/processor/utils/checkpoint.d.ts.map +1 -0
  165. package/dist/lib/processor/utils/document.d.ts +19 -0
  166. package/dist/lib/processor/utils/document.d.ts.map +1 -0
  167. package/dist/lib/processor/utils/exceptions.d.ts +28 -0
  168. package/dist/lib/processor/utils/exceptions.d.ts.map +1 -0
  169. package/dist/lib/processor/utils/fetchText.d.ts +2 -0
  170. package/dist/lib/processor/utils/fetchText.d.ts.map +1 -0
  171. package/dist/lib/processor/utils/logPatchError.d.ts +3 -0
  172. package/dist/lib/processor/utils/logPatchError.d.ts.map +1 -0
  173. package/dist/lib/processor/utils/path.d.ts +2 -0
  174. package/dist/lib/processor/utils/path.d.ts.map +1 -0
  175. package/dist/lib/processor/utils/typeGuard.d.ts +5 -0
  176. package/dist/lib/processor/utils/typeGuard.d.ts.map +1 -0
  177. package/dist/lib/provider/BaseContentNodeProvider.d.ts +9 -0
  178. package/dist/lib/provider/BaseContentNodeProvider.d.ts.map +1 -0
  179. package/dist/lib/provider/BootstrapProvider.d.ts +13 -0
  180. package/dist/lib/provider/BootstrapProvider.d.ts.map +1 -0
  181. package/dist/lib/provider/InMemoryNodeProvider.d.ts +13 -0
  182. package/dist/lib/provider/InMemoryNodeProvider.d.ts.map +1 -0
  183. package/dist/lib/provider/SequentialNodeProvider.d.ts +14 -0
  184. package/dist/lib/provider/SequentialNodeProvider.d.ts.map +1 -0
  185. package/dist/lib/provider/UrlContentFetcher.d.ts +65 -0
  186. package/dist/lib/provider/UrlContentFetcher.d.ts.map +1 -0
  187. package/dist/lib/provider/index.d.ts +6 -0
  188. package/dist/lib/provider/index.d.ts.map +1 -0
  189. package/dist/lib/utils/Base58Sha256Provider.d.ts +11 -0
  190. package/dist/lib/utils/Base58Sha256Provider.d.ts.map +1 -0
  191. package/dist/lib/utils/BlueIdCalculator.d.ts +22 -0
  192. package/dist/lib/utils/BlueIdCalculator.d.ts.map +1 -0
  193. package/dist/lib/utils/BlueIdResolver.d.ts +9 -0
  194. package/dist/lib/utils/BlueIdResolver.d.ts.map +1 -0
  195. package/dist/lib/utils/BlueIdToCid.d.ts +4 -0
  196. package/dist/lib/utils/BlueIdToCid.d.ts.map +1 -0
  197. package/dist/lib/utils/BlueIds.d.ts +7 -0
  198. package/dist/lib/utils/BlueIds.d.ts.map +1 -0
  199. package/dist/lib/utils/CidToBlueId.d.ts +4 -0
  200. package/dist/lib/utils/CidToBlueId.d.ts.map +1 -0
  201. package/dist/lib/utils/CryptoEnvironment.d.ts +13 -0
  202. package/dist/lib/utils/CryptoEnvironment.d.ts.map +1 -0
  203. package/dist/lib/utils/JsonCanonicalizer.d.ts +4 -0
  204. package/dist/lib/utils/JsonCanonicalizer.d.ts.map +1 -0
  205. package/dist/lib/utils/NodeExtender.d.ts +31 -0
  206. package/dist/lib/utils/NodeExtender.d.ts.map +1 -0
  207. package/dist/lib/utils/NodePatch/NodePatch.d.ts +28 -0
  208. package/dist/lib/utils/NodePatch/NodePatch.d.ts.map +1 -0
  209. package/dist/lib/utils/NodePatch/index.d.ts +2 -0
  210. package/dist/lib/utils/NodePatch/index.d.ts.map +1 -0
  211. package/dist/lib/utils/NodePatch/patch-operations.d.ts +8 -0
  212. package/dist/lib/utils/NodePatch/patch-operations.d.ts.map +1 -0
  213. package/dist/lib/utils/NodePatch/patch-utils.d.ts +34 -0
  214. package/dist/lib/utils/NodePatch/patch-utils.d.ts.map +1 -0
  215. package/dist/lib/utils/NodePathAccessor.d.ts +8 -0
  216. package/dist/lib/utils/NodePathAccessor.d.ts.map +1 -0
  217. package/dist/lib/utils/NodeProviderWrapper.d.ts +13 -0
  218. package/dist/lib/utils/NodeProviderWrapper.d.ts.map +1 -0
  219. package/dist/lib/utils/NodeToMapListOrValue.d.ts +24 -0
  220. package/dist/lib/utils/NodeToMapListOrValue.d.ts.map +1 -0
  221. package/dist/lib/utils/NodeTransformer.d.ts +14 -0
  222. package/dist/lib/utils/NodeTransformer.d.ts.map +1 -0
  223. package/dist/lib/utils/Properties.d.ts +31 -0
  224. package/dist/lib/utils/Properties.d.ts.map +1 -0
  225. package/dist/lib/utils/TinyQueue.d.ts +12 -0
  226. package/dist/lib/utils/TinyQueue.d.ts.map +1 -0
  227. package/dist/lib/utils/TypeSchema.d.ts +6 -0
  228. package/dist/lib/utils/TypeSchema.d.ts.map +1 -0
  229. package/dist/lib/utils/TypeSchemaResolver.d.ts +11 -0
  230. package/dist/lib/utils/TypeSchemaResolver.d.ts.map +1 -0
  231. package/dist/lib/utils/__tests__/calculateCID.d.ts +3 -0
  232. package/dist/lib/utils/__tests__/calculateCID.d.ts.map +1 -0
  233. package/dist/lib/utils/index.d.ts +10 -0
  234. package/dist/lib/utils/index.d.ts.map +1 -0
  235. package/dist/lib/utils/limits/Limits.d.ts +31 -0
  236. package/dist/lib/utils/limits/Limits.d.ts.map +1 -0
  237. package/dist/lib/utils/limits/NoLimits.d.ts +25 -0
  238. package/dist/lib/utils/limits/NoLimits.d.ts.map +1 -0
  239. package/dist/lib/utils/limits/PathLimits.d.ts +100 -0
  240. package/dist/lib/utils/limits/PathLimits.d.ts.map +1 -0
  241. package/dist/lib/utils/limits/index.d.ts +9 -0
  242. package/dist/lib/utils/limits/index.d.ts.map +1 -0
  243. package/dist/repo/core/blue-ids/index.d.ts +21 -0
  244. package/dist/repo/core/blue-ids/index.d.ts.map +1 -0
  245. package/dist/repo/core/index.d.ts +191 -0
  246. package/dist/repo/core/index.d.ts.map +1 -0
  247. package/dist/repo/core/schema/Channel.d.ts +13 -0
  248. package/dist/repo/core/schema/Channel.d.ts.map +1 -0
  249. package/dist/repo/core/schema/CompositeTimelineChannel.d.ts +17 -0
  250. package/dist/repo/core/schema/CompositeTimelineChannel.d.ts.map +1 -0
  251. package/dist/repo/core/schema/DocumentUpdateChannel.d.ts +17 -0
  252. package/dist/repo/core/schema/DocumentUpdateChannel.d.ts.map +1 -0
  253. package/dist/repo/core/schema/EmbeddedNodeChannel.d.ts +17 -0
  254. package/dist/repo/core/schema/EmbeddedNodeChannel.d.ts.map +1 -0
  255. package/dist/repo/core/schema/JavaScriptCode.d.ts +10 -0
  256. package/dist/repo/core/schema/JavaScriptCode.d.ts.map +1 -0
  257. package/dist/repo/core/schema/JsonPatchEntry.d.ts +22 -0
  258. package/dist/repo/core/schema/JsonPatchEntry.d.ts.map +1 -0
  259. package/dist/repo/core/schema/Operation.d.ts +16 -0
  260. package/dist/repo/core/schema/Operation.d.ts.map +1 -0
  261. package/dist/repo/core/schema/OperationRequest.d.ts +29 -0
  262. package/dist/repo/core/schema/OperationRequest.d.ts.map +1 -0
  263. package/dist/repo/core/schema/ProcessEmbedded.d.ts +10 -0
  264. package/dist/repo/core/schema/ProcessEmbedded.d.ts.map +1 -0
  265. package/dist/repo/core/schema/SequentialWorkflow.d.ts +13 -0
  266. package/dist/repo/core/schema/SequentialWorkflow.d.ts.map +1 -0
  267. package/dist/repo/core/schema/SequentialWorkflowOperation.d.ts +15 -0
  268. package/dist/repo/core/schema/SequentialWorkflowOperation.d.ts.map +1 -0
  269. package/dist/repo/core/schema/SequentialWorkflowStep.d.ts +13 -0
  270. package/dist/repo/core/schema/SequentialWorkflowStep.d.ts.map +1 -0
  271. package/dist/repo/core/schema/TimelineChannel.d.ts +17 -0
  272. package/dist/repo/core/schema/TimelineChannel.d.ts.map +1 -0
  273. package/dist/repo/core/schema/TimelineEntry.d.ts +25 -0
  274. package/dist/repo/core/schema/TimelineEntry.d.ts.map +1 -0
  275. package/dist/repo/core/schema/TriggerEvent.d.ts +10 -0
  276. package/dist/repo/core/schema/TriggerEvent.d.ts.map +1 -0
  277. package/dist/repo/core/schema/UpdateDocument.d.ts +40 -0
  278. package/dist/repo/core/schema/UpdateDocument.d.ts.map +1 -0
  279. package/dist/repo/core/schema/index.d.ts +14 -0
  280. package/dist/repo/core/schema/index.d.ts.map +1 -0
  281. package/dist/repo/myos/blue-ids/index.d.ts +8 -0
  282. package/dist/repo/myos/blue-ids/index.d.ts.map +1 -0
  283. package/dist/repo/myos/index.d.ts +99 -0
  284. package/dist/repo/myos/index.d.ts.map +1 -0
  285. package/dist/repo/myos/schema/MyOSAgent.d.ts +10 -0
  286. package/dist/repo/myos/schema/MyOSAgent.d.ts.map +1 -0
  287. package/dist/repo/myos/schema/MyOSAgentChannel.d.ts +30 -0
  288. package/dist/repo/myos/schema/MyOSAgentChannel.d.ts.map +1 -0
  289. package/dist/repo/myos/schema/MyOSAgentEvent.d.ts +19 -0
  290. package/dist/repo/myos/schema/MyOSAgentEvent.d.ts.map +1 -0
  291. package/dist/repo/myos/schema/MyOSTimelineChannel.d.ts +24 -0
  292. package/dist/repo/myos/schema/MyOSTimelineChannel.d.ts.map +1 -0
  293. package/dist/repo/myos/schema/MyOSTimelineEntry.d.ts +32 -0
  294. package/dist/repo/myos/schema/MyOSTimelineEntry.d.ts.map +1 -0
  295. package/dist/repo/myos/schema/index.d.ts +6 -0
  296. package/dist/repo/myos/schema/index.d.ts.map +1 -0
  297. package/dist/schema/annotations/annotations.d.ts +10 -0
  298. package/dist/schema/annotations/annotations.d.ts.map +1 -0
  299. package/dist/schema/annotations/blueDescription.d.ts +5 -0
  300. package/dist/schema/annotations/blueDescription.d.ts.map +1 -0
  301. package/dist/schema/annotations/blueId.d.ts +5 -0
  302. package/dist/schema/annotations/blueId.d.ts.map +1 -0
  303. package/dist/schema/annotations/blueName.d.ts +5 -0
  304. package/dist/schema/annotations/blueName.d.ts.map +1 -0
  305. package/dist/schema/annotations/blueNode.d.ts +7 -0
  306. package/dist/schema/annotations/blueNode.d.ts.map +1 -0
  307. package/dist/schema/annotations/extends.d.ts +8 -0
  308. package/dist/schema/annotations/extends.d.ts.map +1 -0
  309. package/dist/schema/annotations/index.d.ts +7 -0
  310. package/dist/schema/annotations/index.d.ts.map +1 -0
  311. package/dist/schema/annotations/typeBlueId/index.d.ts +2 -0
  312. package/dist/schema/annotations/typeBlueId/index.d.ts.map +1 -0
  313. package/dist/schema/annotations/typeBlueId/proxySchema.d.ts +3 -0
  314. package/dist/schema/annotations/typeBlueId/proxySchema.d.ts.map +1 -0
  315. package/dist/schema/annotations/typeBlueId/typeBlueId.d.ts +19 -0
  316. package/dist/schema/annotations/typeBlueId/typeBlueId.d.ts.map +1 -0
  317. package/dist/schema/blueId.d.ts +4 -0
  318. package/dist/schema/blueId.d.ts.map +1 -0
  319. package/dist/schema/blueObjectPredicates.d.ts +11 -0
  320. package/dist/schema/blueObjectPredicates.d.ts.map +1 -0
  321. package/dist/schema/generated/blueObject.d.ts +37 -0
  322. package/dist/schema/generated/blueObject.d.ts.map +1 -0
  323. package/dist/schema/generated/blueObject.zod.d.ts +100 -0
  324. package/dist/schema/generated/blueObject.zod.d.ts.map +1 -0
  325. package/dist/schema/generated/index.d.ts +3 -0
  326. package/dist/schema/generated/index.d.ts.map +1 -0
  327. package/dist/schema/index.d.ts +5 -0
  328. package/dist/schema/index.d.ts.map +1 -0
  329. package/dist/schema/jsonBlue.d.ts +18 -0
  330. package/dist/schema/jsonBlue.d.ts.map +1 -0
  331. package/dist/types/index.d.ts +2 -0
  332. package/dist/types/index.d.ts.map +1 -0
  333. package/dist/types/zod.d.ts +5 -0
  334. package/dist/types/zod.d.ts.map +1 -0
  335. package/dist/utils/blueId/calculateBlueId.d.ts +15 -0
  336. package/dist/utils/blueId/calculateBlueId.d.ts.map +1 -0
  337. package/dist/utils/blueId/index.d.ts +2 -0
  338. package/dist/utils/blueId/index.d.ts.map +1 -0
  339. package/dist/utils/blueObject/enrichWithBlueId.d.ts +11 -0
  340. package/dist/utils/blueObject/enrichWithBlueId.d.ts.map +1 -0
  341. package/dist/utils/blueObject/getBlueObjectProperties.d.ts +6 -0
  342. package/dist/utils/blueObject/getBlueObjectProperties.d.ts.map +1 -0
  343. package/dist/utils/blueObject/getBlueObjectTypeLabel.d.ts +6 -0
  344. package/dist/utils/blueObject/getBlueObjectTypeLabel.d.ts.map +1 -0
  345. package/dist/utils/blueObject/getters.d.ts +7 -0
  346. package/dist/utils/blueObject/getters.d.ts.map +1 -0
  347. package/dist/utils/blueObject/index.d.ts +8 -0
  348. package/dist/utils/blueObject/index.d.ts.map +1 -0
  349. package/dist/utils/blueObject/isBlueObjectResolved.d.ts +3 -0
  350. package/dist/utils/blueObject/isBlueObjectResolved.d.ts.map +1 -0
  351. package/dist/utils/blueObject/normalizeToBlueObject.d.ts +10 -0
  352. package/dist/utils/blueObject/normalizeToBlueObject.d.ts.map +1 -0
  353. package/dist/utils/blueObject/resolveBlueObjectItems.d.ts +24 -0
  354. package/dist/utils/blueObject/resolveBlueObjectItems.d.ts.map +1 -0
  355. package/dist/utils/bs58/bs58.d.ts +3 -0
  356. package/dist/utils/bs58/bs58.d.ts.map +1 -0
  357. package/dist/utils/bs58/index.d.ts +2 -0
  358. package/dist/utils/bs58/index.d.ts.map +1 -0
  359. package/dist/utils/deepFreeze.d.ts +8 -0
  360. package/dist/utils/deepFreeze.d.ts.map +1 -0
  361. package/dist/utils/index.d.ts +5 -0
  362. package/dist/utils/index.d.ts.map +1 -0
  363. package/dist/utils/typeGuards/index.d.ts +2 -0
  364. package/dist/utils/typeGuards/index.d.ts.map +1 -0
  365. package/dist/utils/typeGuards/isBigNumber.d.ts +6 -0
  366. package/dist/utils/typeGuards/isBigNumber.d.ts.map +1 -0
  367. package/dist/utils/url.d.ts +7 -0
  368. package/dist/utils/url.d.ts.map +1 -0
  369. package/dist/utils/yamlBlue/dump.d.ts +5 -0
  370. package/dist/utils/yamlBlue/dump.d.ts.map +1 -0
  371. package/dist/utils/yamlBlue/index.d.ts +3 -0
  372. package/dist/utils/yamlBlue/index.d.ts.map +1 -0
  373. package/dist/utils/yamlBlue/parse.d.ts +9 -0
  374. package/dist/utils/yamlBlue/parse.d.ts.map +1 -0
  375. package/dist/utils/yamlBlue/schema.d.ts +3 -0
  376. package/dist/utils/yamlBlue/schema.d.ts.map +1 -0
  377. package/dist/utils/yamlBlue/type/float.d.ts +3 -0
  378. package/dist/utils/yamlBlue/type/float.d.ts.map +1 -0
  379. package/dist/utils/yamlBlue/type/int.d.ts +3 -0
  380. package/dist/utils/yamlBlue/type/int.d.ts.map +1 -0
  381. package/package.json +52 -0
@@ -0,0 +1,99 @@
1
+ export * from './schema';
2
+ export { blueIds } from './blue-ids';
3
+ export declare const allSchemas: (import('zod').ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
4
+ name: import('zod').ZodOptional<import('zod').ZodString>;
5
+ description: import('zod').ZodOptional<import('zod').ZodString>;
6
+ }, {
7
+ timelineId: import('zod').ZodOptional<import('zod').ZodString>;
8
+ }>, {
9
+ account: import('zod').ZodOptional<import('zod').ZodString>;
10
+ email: import('zod').ZodOptional<import('zod').ZodString>;
11
+ }>, "strip", import('zod').ZodTypeAny, {
12
+ name?: string | undefined;
13
+ description?: string | undefined;
14
+ timelineId?: string | undefined;
15
+ account?: string | undefined;
16
+ email?: string | undefined;
17
+ }, {
18
+ name?: string | undefined;
19
+ description?: string | undefined;
20
+ timelineId?: string | undefined;
21
+ account?: string | undefined;
22
+ email?: string | undefined;
23
+ }> | import('zod').ZodObject<import("zod").objectUtil.extendShape<{
24
+ timelineId: import('zod').ZodOptional<import('zod').ZodString>;
25
+ timelinePrev: import('zod').ZodOptional<import('zod').ZodString>;
26
+ thread: import('zod').ZodOptional<import('zod').ZodString>;
27
+ threadPrev: import('zod').ZodOptional<import('zod').ZodString>;
28
+ message: import('zod').ZodType<import('../..').BlueNode, import('zod').ZodTypeDef, import('../..').BlueNode>;
29
+ signature: import('zod').ZodOptional<import('zod').ZodString>;
30
+ }, {
31
+ account: import('zod').ZodOptional<import('zod').ZodString>;
32
+ email: import('zod').ZodOptional<import('zod').ZodString>;
33
+ }>, "strip", import('zod').ZodTypeAny, {
34
+ message: import('../..').BlueNode;
35
+ timelineId?: string | undefined;
36
+ timelinePrev?: string | undefined;
37
+ thread?: string | undefined;
38
+ threadPrev?: string | undefined;
39
+ signature?: string | undefined;
40
+ account?: string | undefined;
41
+ email?: string | undefined;
42
+ }, {
43
+ message: import('../..').BlueNode;
44
+ timelineId?: string | undefined;
45
+ timelinePrev?: string | undefined;
46
+ thread?: string | undefined;
47
+ threadPrev?: string | undefined;
48
+ signature?: string | undefined;
49
+ account?: string | undefined;
50
+ email?: string | undefined;
51
+ }> | import('zod').ZodObject<{
52
+ agentId: import('zod').ZodOptional<import('zod').ZodString>;
53
+ }, "strip", import('zod').ZodTypeAny, {
54
+ agentId?: string | undefined;
55
+ }, {
56
+ agentId?: string | undefined;
57
+ }> | import('zod').ZodObject<import("zod").objectUtil.extendShape<{
58
+ name: import('zod').ZodOptional<import('zod').ZodString>;
59
+ description: import('zod').ZodOptional<import('zod').ZodString>;
60
+ }, {
61
+ agent: import('zod').ZodOptional<import('zod').ZodObject<{
62
+ agentId: import('zod').ZodOptional<import('zod').ZodString>;
63
+ }, "strip", import('zod').ZodTypeAny, {
64
+ agentId?: string | undefined;
65
+ }, {
66
+ agentId?: string | undefined;
67
+ }>>;
68
+ event: import('zod').ZodOptional<import('zod').ZodType<import('../..').BlueNode, import('zod').ZodTypeDef, import('../..').BlueNode>>;
69
+ }>, "strip", import('zod').ZodTypeAny, {
70
+ name?: string | undefined;
71
+ description?: string | undefined;
72
+ event?: import('../..').BlueNode | undefined;
73
+ agent?: {
74
+ agentId?: string | undefined;
75
+ } | undefined;
76
+ }, {
77
+ name?: string | undefined;
78
+ description?: string | undefined;
79
+ event?: import('../..').BlueNode | undefined;
80
+ agent?: {
81
+ agentId?: string | undefined;
82
+ } | undefined;
83
+ }> | import('zod').ZodObject<{
84
+ agentId: import('zod').ZodOptional<import('zod').ZodString>;
85
+ id: import('zod').ZodOptional<import('zod').ZodNumber>;
86
+ timestamp: import('zod').ZodOptional<import('zod').ZodNumber>;
87
+ event: import('zod').ZodOptional<import('zod').ZodType<import('../..').BlueNode, import('zod').ZodTypeDef, import('../..').BlueNode>>;
88
+ }, "strip", import('zod').ZodTypeAny, {
89
+ event?: import('../..').BlueNode | undefined;
90
+ agentId?: string | undefined;
91
+ id?: number | undefined;
92
+ timestamp?: number | undefined;
93
+ }, {
94
+ event?: import('../..').BlueNode | undefined;
95
+ agentId?: string | undefined;
96
+ id?: number | undefined;
97
+ timestamp?: number | undefined;
98
+ }>)[];
99
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/repo/myos/index.ts"],"names":[],"mappings":"AAEA,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAAyB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { z } from 'zod';
2
+ export declare const MyOSAgentSchema: z.ZodObject<{
3
+ agentId: z.ZodOptional<z.ZodString>;
4
+ }, "strip", z.ZodTypeAny, {
5
+ agentId?: string | undefined;
6
+ }, {
7
+ agentId?: string | undefined;
8
+ }>;
9
+ export type MyOSAgent = z.infer<typeof MyOSAgentSchema>;
10
+ //# sourceMappingURL=MyOSAgent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MyOSAgent.d.ts","sourceRoot":"","sources":["../../../../src/repo/myos/schema/MyOSAgent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,eAAe;;;;;;EAI3B,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC"}
@@ -0,0 +1,30 @@
1
+ import { z } from 'zod';
2
+ export declare const MyOSAgentChannelSchema: z.ZodObject<z.objectUtil.extendShape<{
3
+ name: z.ZodOptional<z.ZodString>;
4
+ description: z.ZodOptional<z.ZodString>;
5
+ }, {
6
+ agent: z.ZodOptional<z.ZodObject<{
7
+ agentId: z.ZodOptional<z.ZodString>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ agentId?: string | undefined;
10
+ }, {
11
+ agentId?: string | undefined;
12
+ }>>;
13
+ event: z.ZodOptional<z.ZodType<import('../../..').BlueNode, z.ZodTypeDef, import('../../..').BlueNode>>;
14
+ }>, "strip", z.ZodTypeAny, {
15
+ name?: string | undefined;
16
+ description?: string | undefined;
17
+ event?: import('../../..').BlueNode | undefined;
18
+ agent?: {
19
+ agentId?: string | undefined;
20
+ } | undefined;
21
+ }, {
22
+ name?: string | undefined;
23
+ description?: string | undefined;
24
+ event?: import('../../..').BlueNode | undefined;
25
+ agent?: {
26
+ agentId?: string | undefined;
27
+ } | undefined;
28
+ }>;
29
+ export type MyOSAgentChannel = z.infer<typeof MyOSAgentChannelSchema>;
30
+ //# sourceMappingURL=MyOSAgentChannel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MyOSAgentChannel.d.ts","sourceRoot":"","sources":["../../../../src/repo/myos/schema/MyOSAgentChannel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;EAOlC,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { z } from 'zod';
2
+ export declare const MyOSAgentEventSchema: z.ZodObject<{
3
+ agentId: z.ZodOptional<z.ZodString>;
4
+ id: z.ZodOptional<z.ZodNumber>;
5
+ timestamp: z.ZodOptional<z.ZodNumber>;
6
+ event: z.ZodOptional<z.ZodType<import('../../..').BlueNode, z.ZodTypeDef, import('../../..').BlueNode>>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ event?: import('../../..').BlueNode | undefined;
9
+ agentId?: string | undefined;
10
+ id?: number | undefined;
11
+ timestamp?: number | undefined;
12
+ }, {
13
+ event?: import('../../..').BlueNode | undefined;
14
+ agentId?: string | undefined;
15
+ id?: number | undefined;
16
+ timestamp?: number | undefined;
17
+ }>;
18
+ export type MyOSAgentEvent = z.infer<typeof MyOSAgentEventSchema>;
19
+ //# sourceMappingURL=MyOSAgentEvent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MyOSAgentEvent.d.ts","sourceRoot":"","sources":["../../../../src/repo/myos/schema/MyOSAgentEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;EAOhC,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { z } from 'zod';
2
+ export declare const MyOSTimelineChannelSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3
+ name: z.ZodOptional<z.ZodString>;
4
+ description: z.ZodOptional<z.ZodString>;
5
+ }, {
6
+ timelineId: z.ZodOptional<z.ZodString>;
7
+ }>, {
8
+ account: z.ZodOptional<z.ZodString>;
9
+ email: z.ZodOptional<z.ZodString>;
10
+ }>, "strip", z.ZodTypeAny, {
11
+ name?: string | undefined;
12
+ description?: string | undefined;
13
+ timelineId?: string | undefined;
14
+ account?: string | undefined;
15
+ email?: string | undefined;
16
+ }, {
17
+ name?: string | undefined;
18
+ description?: string | undefined;
19
+ timelineId?: string | undefined;
20
+ account?: string | undefined;
21
+ email?: string | undefined;
22
+ }>;
23
+ export type MyOSTimelineChannel = z.infer<typeof MyOSTimelineChannelSchema>;
24
+ //# sourceMappingURL=MyOSTimelineChannel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MyOSTimelineChannel.d.ts","sourceRoot":"","sources":["../../../../src/repo/myos/schema/MyOSTimelineChannel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;EAOrC,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
@@ -0,0 +1,32 @@
1
+ import { z } from 'zod';
2
+ export declare const MyOSTimelineEntrySchema: z.ZodObject<z.objectUtil.extendShape<{
3
+ timelineId: z.ZodOptional<z.ZodString>;
4
+ timelinePrev: z.ZodOptional<z.ZodString>;
5
+ thread: z.ZodOptional<z.ZodString>;
6
+ threadPrev: z.ZodOptional<z.ZodString>;
7
+ message: z.ZodType<import('../../..').BlueNode, z.ZodTypeDef, import('../../..').BlueNode>;
8
+ signature: z.ZodOptional<z.ZodString>;
9
+ }, {
10
+ account: z.ZodOptional<z.ZodString>;
11
+ email: z.ZodOptional<z.ZodString>;
12
+ }>, "strip", z.ZodTypeAny, {
13
+ message: import('../../..').BlueNode;
14
+ timelineId?: string | undefined;
15
+ timelinePrev?: string | undefined;
16
+ thread?: string | undefined;
17
+ threadPrev?: string | undefined;
18
+ signature?: string | undefined;
19
+ account?: string | undefined;
20
+ email?: string | undefined;
21
+ }, {
22
+ message: import('../../..').BlueNode;
23
+ timelineId?: string | undefined;
24
+ timelinePrev?: string | undefined;
25
+ thread?: string | undefined;
26
+ threadPrev?: string | undefined;
27
+ signature?: string | undefined;
28
+ account?: string | undefined;
29
+ email?: string | undefined;
30
+ }>;
31
+ export type MyOSTimelineEntry = z.infer<typeof MyOSTimelineEntrySchema>;
32
+ //# sourceMappingURL=MyOSTimelineEntry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MyOSTimelineEntry.d.ts","sourceRoot":"","sources":["../../../../src/repo/myos/schema/MyOSTimelineEntry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOnC,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
@@ -0,0 +1,6 @@
1
+ export * from './MyOSTimelineChannel';
2
+ export * from './MyOSTimelineEntry';
3
+ export * from './MyOSAgent';
4
+ export * from './MyOSAgentChannel';
5
+ export * from './MyOSAgentEvent';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/repo/myos/schema/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { ZodType, ZodTypeAny, ZodTypeDef } from 'zod';
2
+ /**
3
+ * A helper to define annotations on a Zod schema.
4
+ * @param schema Any Zod type
5
+ * @param annotations Annotations to define
6
+ * @returns The same schema as input
7
+ */
8
+ export declare function setAnnotations<Output = any, Def extends ZodTypeDef = ZodTypeDef, Input = Output, Schema extends ZodType<Output, Def, Input> = ZodType<Output, Def, Input>>(schema: Schema, annotations: Record<string, unknown>): Schema;
9
+ export declare const getAnnotations: (schema: ZodTypeAny) => Record<string, unknown> | undefined;
10
+ //# sourceMappingURL=annotations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"annotations.d.ts","sourceRoot":"","sources":["../../../src/schema/annotations/annotations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAItD;;;;;GAKG;AACH,wBAAgB,cAAc,CAE5B,MAAM,GAAG,GAAG,EACZ,GAAG,SAAS,UAAU,GAAG,UAAU,EACnC,KAAK,GAAG,MAAM,EACd,MAAM,SAAS,OAAO,CAAC,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,GAAG,OAAO,CAAC,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,EACxE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAK9D;AAED,eAAO,MAAM,cAAc,WAAY,UAAU,wCAEhD,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { z, ZodTypeAny } from 'zod';
2
+ export declare const withBlueDescription: (value: string) => <Schema extends ZodTypeAny = z.ZodTypeAny>(schema: Schema) => Schema;
3
+ export declare const getBlueDescriptionAnnotation: (schema: ZodTypeAny) => string | null;
4
+ export declare const blueDescriptionField: (fieldName: string) => z.ZodOptional<z.ZodString>;
5
+ //# sourceMappingURL=blueDescription.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blueDescription.d.ts","sourceRoot":"","sources":["../../../src/schema/annotations/blueDescription.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAGpC,eAAO,MAAM,mBAAmB,UACtB,MAAM,MACb,MAAM,SAAS,UAAU,yBAAuB,MAAM,WAOtD,CAAC;AAEJ,eAAO,MAAM,4BAA4B,WAAY,UAAU,kBAM9D,CAAC;AAEF,eAAO,MAAM,oBAAoB,cAAe,MAAM,+BACC,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { z, ZodTypeAny } from 'zod';
2
+ export declare const withBlueId: (value: string | boolean) => <Schema extends ZodTypeAny = z.ZodTypeAny>(schema: Schema) => Schema;
3
+ export declare const getBlueIdAnnotation: (schema: ZodTypeAny) => string | boolean | null;
4
+ export declare const blueIdField: (fieldName?: string) => z.ZodString;
5
+ //# sourceMappingURL=blueId.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blueId.d.ts","sourceRoot":"","sources":["../../../src/schema/annotations/blueId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAKpC,eAAO,MAAM,UAAU,UACb,MAAM,GAAG,OAAO,MACvB,MAAM,SAAS,UAAU,yBAAuB,MAAM,WAOtD,CAAC;AAEJ,eAAO,MAAM,mBAAmB,WAAY,UAAU,4BAOrD,CAAC;AAEF,eAAO,MAAM,WAAW,eAAgB,MAAM,gBACH,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { z, ZodTypeAny } from 'zod';
2
+ export declare const withBlueName: (value: string) => <Schema extends ZodTypeAny = z.ZodTypeAny>(schema: Schema) => Schema;
3
+ export declare const getBlueNameAnnotation: (schema: ZodTypeAny) => string | null;
4
+ export declare const blueNameField: (fieldName: string) => z.ZodOptional<z.ZodString>;
5
+ //# sourceMappingURL=blueName.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blueName.d.ts","sourceRoot":"","sources":["../../../src/schema/annotations/blueName.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAGpC,eAAO,MAAM,YAAY,UACf,MAAM,MACb,MAAM,SAAS,UAAU,yBAAuB,MAAM,WAOtD,CAAC;AAEJ,eAAO,MAAM,qBAAqB,WAAY,UAAU,kBAMvD,CAAC;AAEF,eAAO,MAAM,aAAa,cAAe,MAAM,+BAG9C,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { z, ZodTypeAny } from 'zod';
2
+ import { BlueNode } from '../../lib/model/Node';
3
+ export declare const withBlueNode: () => <Schema extends ZodTypeAny = z.ZodTypeAny>(schema: Schema) => Schema;
4
+ export declare const getBlueNodeAnnotation: (schema: ZodTypeAny) => true | null;
5
+ export declare const isBlueNodeSchema: (schema: ZodTypeAny) => boolean;
6
+ export declare const blueNodeField: () => z.ZodType<BlueNode, z.ZodTypeDef, BlueNode>;
7
+ //# sourceMappingURL=blueNode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blueNode.d.ts","sourceRoot":"","sources":["../../../src/schema/annotations/blueNode.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAEpC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,eAAO,MAAM,YAAY,SAEtB,MAAM,SAAS,UAAU,yBAAuB,MAAM,WAOtD,CAAC;AAEJ,eAAO,MAAM,qBAAqB,WAAY,UAAU,gBAUvD,CAAC;AAEF,eAAO,MAAM,gBAAgB,WAAY,UAAU,YAElD,CAAC;AAEF,eAAO,MAAM,aAAa,mDAGzB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { AnyZodObject, ZodType, ZodTypeAny } from 'zod';
2
+ export declare const withExtendedFromSchema: <Schema extends AnyZodObject = AnyZodObject, BaseSchema extends ZodTypeAny = ZodTypeAny>({ schema, baseSchema, }: {
3
+ schema: Schema;
4
+ baseSchema: BaseSchema;
5
+ }) => Schema;
6
+ export declare const getExtendedFromSchemaAnnotation: (schema: ZodTypeAny) => ZodTypeAny | null;
7
+ export declare const isSchemaExtendedFrom: (schema: ZodType, baseSchema: ZodType) => boolean;
8
+ //# sourceMappingURL=extends.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extends.d.ts","sourceRoot":"","sources":["../../../src/schema/annotations/extends.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAKxD,eAAO,MAAM,sBAAsB,GACjC,MAAM,SAAS,YAAY,iBAC3B,UAAU,SAAS,UAAU,wCAI5B;IACD,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,UAAU,CAAC;CACxB,WAOA,CAAC;AAEF,eAAO,MAAM,+BAA+B,WAAY,UAAU,sBAOjE,CAAC;AAEF,eAAO,MAAM,oBAAoB,WACvB,OAAO,cACH,OAAO,KAClB,OAYF,CAAC"}
@@ -0,0 +1,7 @@
1
+ export * from './blueDescription';
2
+ export * from './blueId';
3
+ export * from './blueName';
4
+ export * from './blueNode';
5
+ export * from './typeBlueId';
6
+ export * from './extends';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schema/annotations/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './typeBlueId';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/schema/annotations/typeBlueId/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { objectInputType, objectOutputType, UnknownKeysParam, ZodObject, ZodRawShape, ZodTypeAny } from 'zod';
2
+ export declare const proxySchema: <T extends ZodRawShape, UnknownKeys extends UnknownKeysParam = UnknownKeysParam, Catchall extends ZodTypeAny = ZodTypeAny, Output = objectOutputType<T, Catchall, UnknownKeys>, Input = objectInputType<T, Catchall, UnknownKeys>>(schema: ZodObject<T, UnknownKeys, Catchall, Output, Input>) => ZodObject<T, UnknownKeys, Catchall, Output, Input>;
3
+ //# sourceMappingURL=proxySchema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"proxySchema.d.ts","sourceRoot":"","sources":["../../../../src/schema/annotations/typeBlueId/proxySchema.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,SAAS,EACT,WAAW,EACX,UAAU,EACX,MAAM,KAAK,CAAC;AAGb,eAAO,MAAM,WAAW,GACtB,CAAC,SAAS,WAAW,EACrB,WAAW,SAAS,gBAAgB,qBACpC,QAAQ,SAAS,UAAU,eAC3B,MAAM,+CACN,KAAK,sDAEG,SAAS,CAAC,CAAC,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,CAAC,uDAoB3D,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { objectInputType, objectOutputType, UnknownKeysParam, z, ZodObject, ZodRawShape, ZodTypeAny } from 'zod';
2
+ declare const typeBlueIdAnnotation: z.ZodObject<{
3
+ value: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4
+ defaultValue: z.ZodOptional<z.ZodString>;
5
+ }, "strip", z.ZodTypeAny, {
6
+ value?: string[] | undefined;
7
+ defaultValue?: string | undefined;
8
+ }, {
9
+ value?: string[] | undefined;
10
+ defaultValue?: string | undefined;
11
+ }>;
12
+ type TypeBlueIdAnnotation = z.infer<typeof typeBlueIdAnnotation>;
13
+ export declare const getTypeBlueIdAnnotation: (schema: ZodTypeAny) => objectOutputType<{
14
+ value: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15
+ defaultValue: z.ZodOptional<z.ZodString>;
16
+ }, z.ZodTypeAny, "passthrough"> | null;
17
+ export declare const withTypeBlueId: (value: string | TypeBlueIdAnnotation) => <T extends ZodRawShape, UnknownKeys extends UnknownKeysParam = UnknownKeysParam, Catchall extends ZodTypeAny = z.ZodTypeAny, Output = objectOutputType<T, Catchall, UnknownKeys>, Input = objectInputType<T, Catchall, UnknownKeys>>(schema: ZodObject<T, UnknownKeys, Catchall, Output, Input>) => z.ZodObject<T, UnknownKeys, Catchall, Output, Input>;
18
+ export {};
19
+ //# sourceMappingURL=typeBlueId.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typeBlueId.d.ts","sourceRoot":"","sources":["../../../../src/schema/annotations/typeBlueId/typeBlueId.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,CAAC,EACD,SAAS,EACT,WAAW,EACX,UAAU,EACX,MAAM,KAAK,CAAC;AAIb,QAAA,MAAM,oBAAoB;;;;;;;;;EAGxB,CAAC;AAEH,KAAK,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAEjE,eAAO,MAAM,uBAAuB,WAAY,UAAU;;;sCAUzD,CAAC;AAEF,eAAO,MAAM,cAAc,UACjB,MAAM,GAAG,oBAAoB,MAEnC,CAAC,SAAS,WAAW,EACrB,WAAW,SAAS,gBAAgB,qBACpC,QAAQ,SAAS,UAAU,iBAC3B,MAAM,+CACN,KAAK,sDAEG,SAAS,CAAC,CAAC,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,CAAC,yDAe3D,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { z } from 'zod';
2
+ export declare const blueIdSchema: z.ZodEffects<z.ZodString, string, string>;
3
+ export type BlueId = z.infer<typeof blueIdSchema>;
4
+ //# sourceMappingURL=blueId.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blueId.d.ts","sourceRoot":"","sources":["../../src/schema/blueId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,YAAY,2CAoBtB,CAAC;AAEJ,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { SetRequired } from 'type-fest';
2
+ import { BlueObject, BlueObjectWithId } from './generated';
3
+ import { objectInputType, objectOutputType, UnknownKeysParam, z, ZodRawShape, ZodTypeAny } from 'zod';
4
+ export declare const isBlueObject: (value: unknown) => value is BlueObject;
5
+ export declare const hasBlueObjectBlueIdDefined: (value?: BlueObject) => value is BlueObjectWithId;
6
+ export declare const hasBlueObjectNameDefined: (value?: BlueObject) => value is SetRequired<BlueObject, "name">;
7
+ export declare const hasBlueObjectItemsDefined: (value?: BlueObject) => value is SetRequired<BlueObject, "items">;
8
+ export declare const hasBlueObjectTypeDefined: (value?: BlueObject) => value is SetRequired<BlueObject, "type">;
9
+ export declare const hasBlueObjectValueDefined: (value?: BlueObject) => value is SetRequired<BlueObject, "value">;
10
+ export declare const isGivenBlueObjectTypeSchema: <T extends ZodRawShape, UnknownKeys extends UnknownKeysParam = UnknownKeysParam, Catchall extends ZodTypeAny = z.ZodTypeAny, Output = objectOutputType<T, Catchall, UnknownKeys>, Input = objectInputType<T, Catchall, UnknownKeys>>(schema: z.ZodObject<T, UnknownKeys, Catchall, Output, Input>, value: unknown) => value is Output;
11
+ //# sourceMappingURL=blueObjectPredicates.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blueObjectPredicates.d.ts","sourceRoot":"","sources":["../../src/schema/blueObjectPredicates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAoB,UAAU,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE7E,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,CAAC,EACD,WAAW,EACX,UAAU,EACX,MAAM,KAAK,CAAC;AAEb,eAAO,MAAM,YAAY,UAAW,OAAO,KAAG,KAAK,IAAI,UAGtD,CAAC;AAEF,eAAO,MAAM,0BAA0B,WAC7B,UAAU,KACjB,KAAK,IAAI,gBAIX,CAAC;AAEF,eAAO,MAAM,wBAAwB,WAC3B,UAAU,KACjB,KAAK,IAAI,WAAW,CAAC,UAAU,EAAE,MAAM,CAEzC,CAAC;AAEF,eAAO,MAAM,yBAAyB,WAC5B,UAAU,KACjB,KAAK,IAAI,WAAW,CAAC,UAAU,EAAE,OAAO,CAE1C,CAAC;AAEF,eAAO,MAAM,wBAAwB,WAC3B,UAAU,KACjB,KAAK,IAAI,WAAW,CAAC,UAAU,EAAE,MAAM,CAEzC,CAAC;AAEF,eAAO,MAAM,yBAAyB,WAC5B,UAAU,KACjB,KAAK,IAAI,WAAW,CAAC,UAAU,EAAE,OAAO,CAE1C,CAAC;AAEF,eAAO,MAAM,2BAA2B,GACtC,CAAC,SAAS,WAAW,EACrB,WAAW,SAAS,gBAAgB,qBACpC,QAAQ,SAAS,UAAU,iBAC3B,MAAM,+CACN,KAAK,sDAEG,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,CAAC,SACrD,OAAO,KACb,KAAK,IAAI,MAGX,CAAC"}
@@ -0,0 +1,37 @@
1
+ import { SetRequired } from 'type-fest';
2
+ export interface BlueObject {
3
+ blueId?: string;
4
+ name?: string;
5
+ description?: string;
6
+ type?: BlueObject;
7
+ value?: string | number | boolean | null;
8
+ items?: BlueObject[];
9
+ [k: string]: unknown;
10
+ }
11
+ export interface BaseBlueObject {
12
+ blueId?: string;
13
+ name?: string;
14
+ description?: string;
15
+ type?: BlueObject;
16
+ }
17
+ export interface BlueObjectStringValue extends BaseBlueObject {
18
+ value?: string;
19
+ }
20
+ export interface BlueObjectNumberValue extends BaseBlueObject {
21
+ value?: number;
22
+ }
23
+ export interface BlueObjectBooleanValue extends BaseBlueObject {
24
+ value?: boolean;
25
+ }
26
+ export interface BlueObjectStringListItems extends BaseBlueObject {
27
+ items?: string[];
28
+ }
29
+ /**
30
+ * @ts-to-zod-ignore
31
+ */
32
+ export type BlueObjectWithId = SetRequired<BlueObject, 'blueId'>;
33
+ /**
34
+ * @ts-to-zod-ignore
35
+ */
36
+ export type BaseBlueObjectWithId = SetRequired<BaseBlueObject, 'blueId'>;
37
+ //# sourceMappingURL=blueObject.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blueObject.d.ts","sourceRoot":"","sources":["../../../src/schema/generated/blueObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,MAAM,WAAW,UAAU;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC;IACzC,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC;IACrB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB;AAGD,MAAM,WAAW,cAAc;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,UAAU,CAAC;CACnB;AAED,MAAM,WAAW,qBAAsB,SAAQ,cAAc;IAC3D,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,qBAAsB,SAAQ,cAAc;IAC3D,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,sBAAuB,SAAQ,cAAc;IAC5D,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,yBAA0B,SAAQ,cAAc;IAC/D,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,WAAW,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;AACjE;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,WAAW,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC"}
@@ -0,0 +1,100 @@
1
+ import { z } from 'zod';
2
+ import { BlueObject } from './blueObject';
3
+ export declare const blueObjectSchema: z.ZodSchema<BlueObject>;
4
+ export declare const baseBlueObjectSchema: z.ZodObject<{
5
+ blueId: z.ZodOptional<z.ZodString>;
6
+ name: z.ZodOptional<z.ZodString>;
7
+ description: z.ZodOptional<z.ZodString>;
8
+ type: z.ZodOptional<z.ZodType<BlueObject, z.ZodTypeDef, BlueObject>>;
9
+ }, "strip", z.ZodTypeAny, {
10
+ name?: string | undefined;
11
+ description?: string | undefined;
12
+ type?: BlueObject | undefined;
13
+ blueId?: string | undefined;
14
+ }, {
15
+ name?: string | undefined;
16
+ description?: string | undefined;
17
+ type?: BlueObject | undefined;
18
+ blueId?: string | undefined;
19
+ }>;
20
+ export declare const blueObjectStringValueSchema: z.ZodObject<z.objectUtil.extendShape<{
21
+ blueId: z.ZodOptional<z.ZodString>;
22
+ name: z.ZodOptional<z.ZodString>;
23
+ description: z.ZodOptional<z.ZodString>;
24
+ type: z.ZodOptional<z.ZodType<BlueObject, z.ZodTypeDef, BlueObject>>;
25
+ }, {
26
+ value: z.ZodOptional<z.ZodString>;
27
+ }>, "strip", z.ZodTypeAny, {
28
+ name?: string | undefined;
29
+ description?: string | undefined;
30
+ type?: BlueObject | undefined;
31
+ value?: string | undefined;
32
+ blueId?: string | undefined;
33
+ }, {
34
+ name?: string | undefined;
35
+ description?: string | undefined;
36
+ type?: BlueObject | undefined;
37
+ value?: string | undefined;
38
+ blueId?: string | undefined;
39
+ }>;
40
+ export declare const blueObjectNumberValueSchema: z.ZodObject<z.objectUtil.extendShape<{
41
+ blueId: z.ZodOptional<z.ZodString>;
42
+ name: z.ZodOptional<z.ZodString>;
43
+ description: z.ZodOptional<z.ZodString>;
44
+ type: z.ZodOptional<z.ZodType<BlueObject, z.ZodTypeDef, BlueObject>>;
45
+ }, {
46
+ value: z.ZodOptional<z.ZodNumber>;
47
+ }>, "strip", z.ZodTypeAny, {
48
+ name?: string | undefined;
49
+ description?: string | undefined;
50
+ type?: BlueObject | undefined;
51
+ value?: number | undefined;
52
+ blueId?: string | undefined;
53
+ }, {
54
+ name?: string | undefined;
55
+ description?: string | undefined;
56
+ type?: BlueObject | undefined;
57
+ value?: number | undefined;
58
+ blueId?: string | undefined;
59
+ }>;
60
+ export declare const blueObjectBooleanValueSchema: z.ZodObject<z.objectUtil.extendShape<{
61
+ blueId: z.ZodOptional<z.ZodString>;
62
+ name: z.ZodOptional<z.ZodString>;
63
+ description: z.ZodOptional<z.ZodString>;
64
+ type: z.ZodOptional<z.ZodType<BlueObject, z.ZodTypeDef, BlueObject>>;
65
+ }, {
66
+ value: z.ZodOptional<z.ZodBoolean>;
67
+ }>, "strip", z.ZodTypeAny, {
68
+ name?: string | undefined;
69
+ description?: string | undefined;
70
+ type?: BlueObject | undefined;
71
+ value?: boolean | undefined;
72
+ blueId?: string | undefined;
73
+ }, {
74
+ name?: string | undefined;
75
+ description?: string | undefined;
76
+ type?: BlueObject | undefined;
77
+ value?: boolean | undefined;
78
+ blueId?: string | undefined;
79
+ }>;
80
+ export declare const blueObjectStringListItemsSchema: z.ZodObject<z.objectUtil.extendShape<{
81
+ blueId: z.ZodOptional<z.ZodString>;
82
+ name: z.ZodOptional<z.ZodString>;
83
+ description: z.ZodOptional<z.ZodString>;
84
+ type: z.ZodOptional<z.ZodType<BlueObject, z.ZodTypeDef, BlueObject>>;
85
+ }, {
86
+ items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
87
+ }>, "strip", z.ZodTypeAny, {
88
+ name?: string | undefined;
89
+ description?: string | undefined;
90
+ type?: BlueObject | undefined;
91
+ blueId?: string | undefined;
92
+ items?: string[] | undefined;
93
+ }, {
94
+ name?: string | undefined;
95
+ description?: string | undefined;
96
+ type?: BlueObject | undefined;
97
+ blueId?: string | undefined;
98
+ items?: string[] | undefined;
99
+ }>;
100
+ //# sourceMappingURL=blueObject.zod.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blueObject.zod.d.ts","sourceRoot":"","sources":["../../../src/schema/generated/blueObject.zod.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,eAAO,MAAM,gBAAgB,EAAE,CAAC,CAAC,SAAS,CAAC,UAAU,CAcpD,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;EAK/B,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;EAEtC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;EAEtC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;EAEvC,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;EAE1C,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './blueObject';
2
+ export * from './blueObject.zod';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schema/generated/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC"}
@@ -0,0 +1,5 @@
1
+ export * from './blueId';
2
+ export * from './generated';
3
+ export * from './blueObjectPredicates';
4
+ export * from './jsonBlue';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schema/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,wBAAwB,CAAC;AACvC,cAAc,YAAY,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { z } from 'zod';
2
+ import { default as Big } from 'big.js';
3
+ import { JsonPrimitive } from '@blue-labs/shared-utils';
4
+ export type JsonBlueObject = {
5
+ [Key in string]: JsonBlueValue;
6
+ };
7
+ export type JsonBlueArray = JsonBlueValue[] | readonly JsonBlueValue[];
8
+ /**
9
+ * JSON Blue value.
10
+ * Cannot be a function, a symbol, or undefined.
11
+ * Additional to basic JSON value, it can be a Big.js instance to represent a number with arbitrary precision.
12
+ */
13
+ export type JsonBlueValue = JsonPrimitive | JsonBlueObject | JsonBlueArray | Big;
14
+ export declare const jsonBlueValueSchema: z.ZodType<JsonBlueValue>;
15
+ export declare const isJsonBlueObject: (value: unknown) => value is JsonBlueObject;
16
+ export declare const isJsonBlueArray: (value: unknown) => value is JsonBlueArray;
17
+ export declare const isJsonBlueValue: (value: unknown) => value is JsonBlueValue;
18
+ //# sourceMappingURL=jsonBlue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jsonBlue.d.ts","sourceRoot":"","sources":["../../src/schema/jsonBlue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,QAAQ,CAAC;AACxC,OAAO,EAEL,aAAa,EAGd,MAAM,yBAAyB,CAAC;AAIjC,MAAM,MAAM,cAAc,GAAG;KAAG,GAAG,IAAI,MAAM,GAAG,aAAa;CAAE,CAAC;AAEhE,MAAM,MAAM,aAAa,GAAG,aAAa,EAAE,GAAG,SAAS,aAAa,EAAE,CAAC;AAEvE;;;;GAIG;AACH,MAAM,MAAM,aAAa,GACrB,aAAa,GACb,cAAc,GACd,aAAa,GACb,GAAG,CAAC;AAaR,eAAO,MAAM,mBAAmB,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAOxD,CAAC;AAEF,eAAO,MAAM,gBAAgB,UAAW,OAAO,KAAG,KAAK,IAAI,cAO1D,CAAC;AAEF,eAAO,MAAM,eAAe,UAAW,OAAO,KAAG,KAAK,IAAI,aAEzD,CAAC;AAEF,eAAO,MAAM,eAAe,UAAW,OAAO,KAAG,KAAK,IAAI,aAOzD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './zod';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { z } from 'zod';
2
+ export type InferZodObjectRawShape<T> = T extends z.ZodObject<infer Shape> ? Shape : never;
3
+ export type InferZodObjectUnknownKeys<T> = T extends z.ZodObject<any, infer UnknownKeys> ? UnknownKeys : never;
4
+ export type InferZodObjectCatchAll<T> = T extends z.ZodObject<any, any, infer CatchAll> ? CatchAll : never;
5
+ //# sourceMappingURL=zod.d.ts.map