@walde.ai/walde-sdk 0.1.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 (447) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +47 -0
  3. package/dist/index.d.ts +3 -0
  4. package/dist/index.d.ts.map +1 -0
  5. package/dist/index.js +5 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/sdk/contracts/frontend-content/v1/content-format-v1.d.ts +8 -0
  8. package/dist/sdk/contracts/frontend-content/v1/content-format-v1.d.ts.map +1 -0
  9. package/dist/sdk/contracts/frontend-content/v1/content-format-v1.js +2 -0
  10. package/dist/sdk/contracts/frontend-content/v1/content-format-v1.js.map +1 -0
  11. package/dist/sdk/contracts/frontend-content/v1/content-part-v1.d.ts +8 -0
  12. package/dist/sdk/contracts/frontend-content/v1/content-part-v1.d.ts.map +1 -0
  13. package/dist/sdk/contracts/frontend-content/v1/content-part-v1.js +2 -0
  14. package/dist/sdk/contracts/frontend-content/v1/content-part-v1.js.map +1 -0
  15. package/dist/sdk/contracts/frontend-content/v1/frontend-content-v1.d.ts +13 -0
  16. package/dist/sdk/contracts/frontend-content/v1/frontend-content-v1.d.ts.map +1 -0
  17. package/dist/sdk/contracts/frontend-content/v1/frontend-content-v1.js +2 -0
  18. package/dist/sdk/contracts/frontend-content/v1/frontend-content-v1.js.map +1 -0
  19. package/dist/sdk/contracts/manifest/v1/manifest-content-v1.d.ts +12 -0
  20. package/dist/sdk/contracts/manifest/v1/manifest-content-v1.d.ts.map +1 -0
  21. package/dist/sdk/contracts/manifest/v1/manifest-content-v1.js +2 -0
  22. package/dist/sdk/contracts/manifest/v1/manifest-content-v1.js.map +1 -0
  23. package/dist/sdk/contracts/manifest/v1/manifest-v1.d.ts +9 -0
  24. package/dist/sdk/contracts/manifest/v1/manifest-v1.d.ts.map +1 -0
  25. package/dist/sdk/contracts/manifest/v1/manifest-v1.js +2 -0
  26. package/dist/sdk/contracts/manifest/v1/manifest-v1.js.map +1 -0
  27. package/dist/sdk/domain/entities/content-format.d.ts +9 -0
  28. package/dist/sdk/domain/entities/content-format.d.ts.map +1 -0
  29. package/dist/sdk/domain/entities/content-format.js +12 -0
  30. package/dist/sdk/domain/entities/content-format.js.map +1 -0
  31. package/dist/sdk/domain/entities/content-part.d.ts +26 -0
  32. package/dist/sdk/domain/entities/content-part.d.ts.map +1 -0
  33. package/dist/sdk/domain/entities/content-part.js +36 -0
  34. package/dist/sdk/domain/entities/content-part.js.map +1 -0
  35. package/dist/sdk/domain/entities/content-state.d.ts +8 -0
  36. package/dist/sdk/domain/entities/content-state.d.ts.map +1 -0
  37. package/dist/sdk/domain/entities/content-state.js +9 -0
  38. package/dist/sdk/domain/entities/content-state.js.map +1 -0
  39. package/dist/sdk/domain/entities/content-version.d.ts +27 -0
  40. package/dist/sdk/domain/entities/content-version.d.ts.map +1 -0
  41. package/dist/sdk/domain/entities/content-version.js +37 -0
  42. package/dist/sdk/domain/entities/content-version.js.map +1 -0
  43. package/dist/sdk/domain/entities/content.d.ts +21 -0
  44. package/dist/sdk/domain/entities/content.d.ts.map +1 -0
  45. package/dist/sdk/domain/entities/content.js +26 -0
  46. package/dist/sdk/domain/entities/content.js.map +1 -0
  47. package/dist/sdk/domain/entities/credentials.d.ts +14 -0
  48. package/dist/sdk/domain/entities/credentials.d.ts.map +1 -0
  49. package/dist/sdk/domain/entities/credentials.js +20 -0
  50. package/dist/sdk/domain/entities/credentials.js.map +1 -0
  51. package/dist/sdk/domain/entities/dns-entry.d.ts +10 -0
  52. package/dist/sdk/domain/entities/dns-entry.d.ts.map +1 -0
  53. package/dist/sdk/domain/entities/dns-entry.js +14 -0
  54. package/dist/sdk/domain/entities/dns-entry.js.map +1 -0
  55. package/dist/sdk/domain/entities/file.d.ts +14 -0
  56. package/dist/sdk/domain/entities/file.d.ts.map +1 -0
  57. package/dist/sdk/domain/entities/file.js +17 -0
  58. package/dist/sdk/domain/entities/file.js.map +1 -0
  59. package/dist/sdk/domain/entities/format-part.d.ts +16 -0
  60. package/dist/sdk/domain/entities/format-part.d.ts.map +1 -0
  61. package/dist/sdk/domain/entities/format-part.js +2 -0
  62. package/dist/sdk/domain/entities/format-part.js.map +1 -0
  63. package/dist/sdk/domain/entities/format.d.ts +14 -0
  64. package/dist/sdk/domain/entities/format.d.ts.map +1 -0
  65. package/dist/sdk/domain/entities/format.js +23 -0
  66. package/dist/sdk/domain/entities/format.js.map +1 -0
  67. package/dist/sdk/domain/entities/frontend-content.d.ts +13 -0
  68. package/dist/sdk/domain/entities/frontend-content.d.ts.map +1 -0
  69. package/dist/sdk/domain/entities/frontend-content.js +16 -0
  70. package/dist/sdk/domain/entities/frontend-content.js.map +1 -0
  71. package/dist/sdk/domain/entities/key-value-part.d.ts +20 -0
  72. package/dist/sdk/domain/entities/key-value-part.d.ts.map +1 -0
  73. package/dist/sdk/domain/entities/key-value-part.js +31 -0
  74. package/dist/sdk/domain/entities/key-value-part.js.map +1 -0
  75. package/dist/sdk/domain/entities/manifest-content.d.ts +12 -0
  76. package/dist/sdk/domain/entities/manifest-content.d.ts.map +1 -0
  77. package/dist/sdk/domain/entities/manifest-content.js +18 -0
  78. package/dist/sdk/domain/entities/manifest-content.js.map +1 -0
  79. package/dist/sdk/domain/entities/manifest.d.ts +9 -0
  80. package/dist/sdk/domain/entities/manifest.d.ts.map +1 -0
  81. package/dist/sdk/domain/entities/manifest.js +10 -0
  82. package/dist/sdk/domain/entities/manifest.js.map +1 -0
  83. package/dist/sdk/domain/entities/markdown-part.d.ts +14 -0
  84. package/dist/sdk/domain/entities/markdown-part.d.ts.map +1 -0
  85. package/dist/sdk/domain/entities/markdown-part.js +15 -0
  86. package/dist/sdk/domain/entities/markdown-part.js.map +1 -0
  87. package/dist/sdk/domain/entities/site.d.ts +16 -0
  88. package/dist/sdk/domain/entities/site.d.ts.map +1 -0
  89. package/dist/sdk/domain/entities/site.js +21 -0
  90. package/dist/sdk/domain/entities/site.js.map +1 -0
  91. package/dist/sdk/domain/entities/string-part.d.ts +14 -0
  92. package/dist/sdk/domain/entities/string-part.d.ts.map +1 -0
  93. package/dist/sdk/domain/entities/string-part.js +15 -0
  94. package/dist/sdk/domain/entities/string-part.js.map +1 -0
  95. package/dist/sdk/domain/entities/ui-upload-credentials.d.ts +22 -0
  96. package/dist/sdk/domain/entities/ui-upload-credentials.d.ts.map +1 -0
  97. package/dist/sdk/domain/entities/ui-upload-credentials.js +38 -0
  98. package/dist/sdk/domain/entities/ui-upload-credentials.js.map +1 -0
  99. package/dist/sdk/domain/entities/walde-admin-config.d.ts +51 -0
  100. package/dist/sdk/domain/entities/walde-admin-config.d.ts.map +1 -0
  101. package/dist/sdk/domain/entities/walde-admin-config.js +69 -0
  102. package/dist/sdk/domain/entities/walde-admin-config.js.map +1 -0
  103. package/dist/sdk/domain/entities/workspace-config.d.ts +20 -0
  104. package/dist/sdk/domain/entities/workspace-config.d.ts.map +1 -0
  105. package/dist/sdk/domain/entities/workspace-config.js +17 -0
  106. package/dist/sdk/domain/entities/workspace-config.js.map +1 -0
  107. package/dist/sdk/domain/errors/index.d.ts +11 -0
  108. package/dist/sdk/domain/errors/index.d.ts.map +1 -0
  109. package/dist/sdk/domain/errors/index.js +11 -0
  110. package/dist/sdk/domain/errors/index.js.map +1 -0
  111. package/dist/sdk/domain/errors/walde-authentication-error.d.ts +21 -0
  112. package/dist/sdk/domain/errors/walde-authentication-error.d.ts.map +1 -0
  113. package/dist/sdk/domain/errors/walde-authentication-error.js +23 -0
  114. package/dist/sdk/domain/errors/walde-authentication-error.js.map +1 -0
  115. package/dist/sdk/domain/errors/walde-configuration-error.d.ts +21 -0
  116. package/dist/sdk/domain/errors/walde-configuration-error.d.ts.map +1 -0
  117. package/dist/sdk/domain/errors/walde-configuration-error.js +23 -0
  118. package/dist/sdk/domain/errors/walde-configuration-error.js.map +1 -0
  119. package/dist/sdk/domain/errors/walde-error.d.ts +9 -0
  120. package/dist/sdk/domain/errors/walde-error.d.ts.map +1 -0
  121. package/dist/sdk/domain/errors/walde-error.js +12 -0
  122. package/dist/sdk/domain/errors/walde-error.js.map +1 -0
  123. package/dist/sdk/domain/errors/walde-local-error.d.ts +22 -0
  124. package/dist/sdk/domain/errors/walde-local-error.d.ts.map +1 -0
  125. package/dist/sdk/domain/errors/walde-local-error.js +24 -0
  126. package/dist/sdk/domain/errors/walde-local-error.js.map +1 -0
  127. package/dist/sdk/domain/errors/walde-network-error.d.ts +21 -0
  128. package/dist/sdk/domain/errors/walde-network-error.d.ts.map +1 -0
  129. package/dist/sdk/domain/errors/walde-network-error.js +23 -0
  130. package/dist/sdk/domain/errors/walde-network-error.js.map +1 -0
  131. package/dist/sdk/domain/errors/walde-system-error.d.ts +10 -0
  132. package/dist/sdk/domain/errors/walde-system-error.d.ts.map +1 -0
  133. package/dist/sdk/domain/errors/walde-system-error.js +13 -0
  134. package/dist/sdk/domain/errors/walde-system-error.js.map +1 -0
  135. package/dist/sdk/domain/errors/walde-unexpected-error.d.ts +21 -0
  136. package/dist/sdk/domain/errors/walde-unexpected-error.d.ts.map +1 -0
  137. package/dist/sdk/domain/errors/walde-unexpected-error.js +23 -0
  138. package/dist/sdk/domain/errors/walde-unexpected-error.js.map +1 -0
  139. package/dist/sdk/domain/errors/walde-usage-error.d.ts +21 -0
  140. package/dist/sdk/domain/errors/walde-usage-error.d.ts.map +1 -0
  141. package/dist/sdk/domain/errors/walde-usage-error.js +23 -0
  142. package/dist/sdk/domain/errors/walde-usage-error.js.map +1 -0
  143. package/dist/sdk/domain/errors/walde-user-error.d.ts +9 -0
  144. package/dist/sdk/domain/errors/walde-user-error.d.ts.map +1 -0
  145. package/dist/sdk/domain/errors/walde-user-error.js +11 -0
  146. package/dist/sdk/domain/errors/walde-user-error.js.map +1 -0
  147. package/dist/sdk/domain/errors/walde-validation-error.d.ts +20 -0
  148. package/dist/sdk/domain/errors/walde-validation-error.d.ts.map +1 -0
  149. package/dist/sdk/domain/errors/walde-validation-error.js +22 -0
  150. package/dist/sdk/domain/errors/walde-validation-error.js.map +1 -0
  151. package/dist/sdk/domain/interactors/api-call.d.ts +19 -0
  152. package/dist/sdk/domain/interactors/api-call.d.ts.map +1 -0
  153. package/dist/sdk/domain/interactors/api-call.js +31 -0
  154. package/dist/sdk/domain/interactors/api-call.js.map +1 -0
  155. package/dist/sdk/domain/interactors/associate-site-certificates.d.ts +11 -0
  156. package/dist/sdk/domain/interactors/associate-site-certificates.d.ts.map +1 -0
  157. package/dist/sdk/domain/interactors/associate-site-certificates.js +20 -0
  158. package/dist/sdk/domain/interactors/associate-site-certificates.js.map +1 -0
  159. package/dist/sdk/domain/interactors/content/list-contents.d.ts +16 -0
  160. package/dist/sdk/domain/interactors/content/list-contents.d.ts.map +1 -0
  161. package/dist/sdk/domain/interactors/content/list-contents.js +18 -0
  162. package/dist/sdk/domain/interactors/content/list-contents.js.map +1 -0
  163. package/dist/sdk/domain/interactors/content/parse-content-file.d.ts +19 -0
  164. package/dist/sdk/domain/interactors/content/parse-content-file.d.ts.map +1 -0
  165. package/dist/sdk/domain/interactors/content/parse-content-file.js +68 -0
  166. package/dist/sdk/domain/interactors/content/parse-content-file.js.map +1 -0
  167. package/dist/sdk/domain/interactors/content/push-content.d.ts +21 -0
  168. package/dist/sdk/domain/interactors/content/push-content.d.ts.map +1 -0
  169. package/dist/sdk/domain/interactors/content/push-content.js +31 -0
  170. package/dist/sdk/domain/interactors/content/push-content.js.map +1 -0
  171. package/dist/sdk/domain/interactors/create-site.d.ts +9 -0
  172. package/dist/sdk/domain/interactors/create-site.d.ts.map +1 -0
  173. package/dist/sdk/domain/interactors/create-site.js +19 -0
  174. package/dist/sdk/domain/interactors/create-site.js.map +1 -0
  175. package/dist/sdk/domain/interactors/get-credentials.d.ts +14 -0
  176. package/dist/sdk/domain/interactors/get-credentials.d.ts.map +1 -0
  177. package/dist/sdk/domain/interactors/get-credentials.js +16 -0
  178. package/dist/sdk/domain/interactors/get-credentials.js.map +1 -0
  179. package/dist/sdk/domain/interactors/get-token.d.ts +13 -0
  180. package/dist/sdk/domain/interactors/get-token.d.ts.map +1 -0
  181. package/dist/sdk/domain/interactors/get-token.js +21 -0
  182. package/dist/sdk/domain/interactors/get-token.js.map +1 -0
  183. package/dist/sdk/domain/interactors/list-sites.d.ts +9 -0
  184. package/dist/sdk/domain/interactors/list-sites.d.ts.map +1 -0
  185. package/dist/sdk/domain/interactors/list-sites.js +17 -0
  186. package/dist/sdk/domain/interactors/list-sites.js.map +1 -0
  187. package/dist/sdk/domain/interactors/refresh-credentials.d.ts +16 -0
  188. package/dist/sdk/domain/interactors/refresh-credentials.d.ts.map +1 -0
  189. package/dist/sdk/domain/interactors/refresh-credentials.js +25 -0
  190. package/dist/sdk/domain/interactors/refresh-credentials.js.map +1 -0
  191. package/dist/sdk/domain/interactors/ui/upload-ui-from-folder.d.ts +24 -0
  192. package/dist/sdk/domain/interactors/ui/upload-ui-from-folder.d.ts.map +1 -0
  193. package/dist/sdk/domain/interactors/ui/upload-ui-from-folder.js +58 -0
  194. package/dist/sdk/domain/interactors/ui/upload-ui-from-folder.js.map +1 -0
  195. package/dist/sdk/domain/interactors/update-site.d.ts +9 -0
  196. package/dist/sdk/domain/interactors/update-site.d.ts.map +1 -0
  197. package/dist/sdk/domain/interactors/update-site.js +19 -0
  198. package/dist/sdk/domain/interactors/update-site.js.map +1 -0
  199. package/dist/sdk/domain/interactors/workspace/init-workspace.d.ts +19 -0
  200. package/dist/sdk/domain/interactors/workspace/init-workspace.d.ts.map +1 -0
  201. package/dist/sdk/domain/interactors/workspace/init-workspace.js +26 -0
  202. package/dist/sdk/domain/interactors/workspace/init-workspace.js.map +1 -0
  203. package/dist/sdk/domain/ports/backend/backend-client.d.ts +7 -0
  204. package/dist/sdk/domain/ports/backend/backend-client.d.ts.map +1 -0
  205. package/dist/sdk/domain/ports/backend/backend-client.js +2 -0
  206. package/dist/sdk/domain/ports/backend/backend-client.js.map +1 -0
  207. package/dist/sdk/domain/ports/in/content-file-reader.d.ts +15 -0
  208. package/dist/sdk/domain/ports/in/content-file-reader.d.ts.map +1 -0
  209. package/dist/sdk/domain/ports/in/content-file-reader.js +2 -0
  210. package/dist/sdk/domain/ports/in/content-file-reader.js.map +1 -0
  211. package/dist/sdk/domain/ports/in/token-provider.d.ts +10 -0
  212. package/dist/sdk/domain/ports/in/token-provider.d.ts.map +1 -0
  213. package/dist/sdk/domain/ports/in/token-provider.js +2 -0
  214. package/dist/sdk/domain/ports/in/token-provider.js.map +1 -0
  215. package/dist/sdk/domain/ports/out/backend-communication.d.ts +22 -0
  216. package/dist/sdk/domain/ports/out/backend-communication.d.ts.map +1 -0
  217. package/dist/sdk/domain/ports/out/backend-communication.js +2 -0
  218. package/dist/sdk/domain/ports/out/backend-communication.js.map +1 -0
  219. package/dist/sdk/domain/ports/out/content-file-writer.d.ts +12 -0
  220. package/dist/sdk/domain/ports/out/content-file-writer.d.ts.map +1 -0
  221. package/dist/sdk/domain/ports/out/content-file-writer.js +2 -0
  222. package/dist/sdk/domain/ports/out/content-file-writer.js.map +1 -0
  223. package/dist/sdk/domain/ports/out/content-repo.d.ts +27 -0
  224. package/dist/sdk/domain/ports/out/content-repo.d.ts.map +1 -0
  225. package/dist/sdk/domain/ports/out/content-repo.js +2 -0
  226. package/dist/sdk/domain/ports/out/content-repo.js.map +1 -0
  227. package/dist/sdk/domain/ports/out/credentials-provider.d.ts +15 -0
  228. package/dist/sdk/domain/ports/out/credentials-provider.d.ts.map +1 -0
  229. package/dist/sdk/domain/ports/out/credentials-provider.js +2 -0
  230. package/dist/sdk/domain/ports/out/credentials-provider.js.map +1 -0
  231. package/dist/sdk/domain/ports/out/file-system-reader.d.ts +13 -0
  232. package/dist/sdk/domain/ports/out/file-system-reader.d.ts.map +1 -0
  233. package/dist/sdk/domain/ports/out/file-system-reader.js +2 -0
  234. package/dist/sdk/domain/ports/out/file-system-reader.js.map +1 -0
  235. package/dist/sdk/domain/ports/out/remote-files-repo.d.ts +20 -0
  236. package/dist/sdk/domain/ports/out/remote-files-repo.d.ts.map +1 -0
  237. package/dist/sdk/domain/ports/out/remote-files-repo.js +2 -0
  238. package/dist/sdk/domain/ports/out/remote-files-repo.js.map +1 -0
  239. package/dist/sdk/domain/ports/out/site-repository.d.ts +35 -0
  240. package/dist/sdk/domain/ports/out/site-repository.d.ts.map +1 -0
  241. package/dist/sdk/domain/ports/out/site-repository.js +2 -0
  242. package/dist/sdk/domain/ports/out/site-repository.js.map +1 -0
  243. package/dist/sdk/domain/ports/out/token-refresh-provider.d.ts +11 -0
  244. package/dist/sdk/domain/ports/out/token-refresh-provider.d.ts.map +1 -0
  245. package/dist/sdk/domain/ports/out/token-refresh-provider.js +2 -0
  246. package/dist/sdk/domain/ports/out/token-refresh-provider.js.map +1 -0
  247. package/dist/sdk/domain/ports/out/ui-upload-credentials-repo.d.ts +11 -0
  248. package/dist/sdk/domain/ports/out/ui-upload-credentials-repo.d.ts.map +1 -0
  249. package/dist/sdk/domain/ports/out/ui-upload-credentials-repo.js +2 -0
  250. package/dist/sdk/domain/ports/out/ui-upload-credentials-repo.js.map +1 -0
  251. package/dist/sdk/domain/ports/out/upload-progress-callback.d.ts +26 -0
  252. package/dist/sdk/domain/ports/out/upload-progress-callback.d.ts.map +1 -0
  253. package/dist/sdk/domain/ports/out/upload-progress-callback.js +2 -0
  254. package/dist/sdk/domain/ports/out/upload-progress-callback.js.map +1 -0
  255. package/dist/sdk/domain/ports/out/workspace-config-repo.d.ts +25 -0
  256. package/dist/sdk/domain/ports/out/workspace-config-repo.d.ts.map +1 -0
  257. package/dist/sdk/domain/ports/out/workspace-config-repo.js +2 -0
  258. package/dist/sdk/domain/ports/out/workspace-config-repo.js.map +1 -0
  259. package/dist/sdk/index.d.ts +35 -0
  260. package/dist/sdk/index.d.ts.map +1 -0
  261. package/dist/sdk/index.js +35 -0
  262. package/dist/sdk/index.js.map +1 -0
  263. package/dist/sdk/infra/adapters/api-client.d.ts +58 -0
  264. package/dist/sdk/infra/adapters/api-client.d.ts.map +1 -0
  265. package/dist/sdk/infra/adapters/api-client.js +73 -0
  266. package/dist/sdk/infra/adapters/api-client.js.map +1 -0
  267. package/dist/sdk/infra/adapters/base-http-client.d.ts +25 -0
  268. package/dist/sdk/infra/adapters/base-http-client.d.ts.map +1 -0
  269. package/dist/sdk/infra/adapters/base-http-client.js +110 -0
  270. package/dist/sdk/infra/adapters/base-http-client.js.map +1 -0
  271. package/dist/sdk/infra/adapters/cognito-token-refresh-provider.d.ts +16 -0
  272. package/dist/sdk/infra/adapters/cognito-token-refresh-provider.d.ts.map +1 -0
  273. package/dist/sdk/infra/adapters/cognito-token-refresh-provider.js +46 -0
  274. package/dist/sdk/infra/adapters/cognito-token-refresh-provider.js.map +1 -0
  275. package/dist/sdk/infra/adapters/default-http-client.d.ts +38 -0
  276. package/dist/sdk/infra/adapters/default-http-client.d.ts.map +1 -0
  277. package/dist/sdk/infra/adapters/default-http-client.js +133 -0
  278. package/dist/sdk/infra/adapters/default-http-client.js.map +1 -0
  279. package/dist/sdk/infra/adapters/default-token-provider.d.ts +14 -0
  280. package/dist/sdk/infra/adapters/default-token-provider.d.ts.map +1 -0
  281. package/dist/sdk/infra/adapters/default-token-provider.js +23 -0
  282. package/dist/sdk/infra/adapters/default-token-provider.js.map +1 -0
  283. package/dist/sdk/infra/adapters/filesystem/file-content-reader.d.ts +16 -0
  284. package/dist/sdk/infra/adapters/filesystem/file-content-reader.d.ts.map +1 -0
  285. package/dist/sdk/infra/adapters/filesystem/file-content-reader.js +27 -0
  286. package/dist/sdk/infra/adapters/filesystem/file-content-reader.js.map +1 -0
  287. package/dist/sdk/infra/adapters/filesystem/file-content-writer.d.ts +13 -0
  288. package/dist/sdk/infra/adapters/filesystem/file-content-writer.d.ts.map +1 -0
  289. package/dist/sdk/infra/adapters/filesystem/file-content-writer.js +36 -0
  290. package/dist/sdk/infra/adapters/filesystem/file-content-writer.js.map +1 -0
  291. package/dist/sdk/infra/adapters/filesystem/file-system-local-files-reader.d.ts +21 -0
  292. package/dist/sdk/infra/adapters/filesystem/file-system-local-files-reader.d.ts.map +1 -0
  293. package/dist/sdk/infra/adapters/filesystem/file-system-local-files-reader.js +52 -0
  294. package/dist/sdk/infra/adapters/filesystem/file-system-local-files-reader.js.map +1 -0
  295. package/dist/sdk/infra/adapters/frontend-http-client.d.ts +12 -0
  296. package/dist/sdk/infra/adapters/frontend-http-client.d.ts.map +1 -0
  297. package/dist/sdk/infra/adapters/frontend-http-client.js +18 -0
  298. package/dist/sdk/infra/adapters/frontend-http-client.js.map +1 -0
  299. package/dist/sdk/infra/adapters/http/http-content-repo.d.ts +33 -0
  300. package/dist/sdk/infra/adapters/http/http-content-repo.d.ts.map +1 -0
  301. package/dist/sdk/infra/adapters/http/http-content-repo.js +85 -0
  302. package/dist/sdk/infra/adapters/http/http-content-repo.js.map +1 -0
  303. package/dist/sdk/infra/adapters/repositories/aws-s3-files-repo.d.ts +22 -0
  304. package/dist/sdk/infra/adapters/repositories/aws-s3-files-repo.d.ts.map +1 -0
  305. package/dist/sdk/infra/adapters/repositories/aws-s3-files-repo.js +73 -0
  306. package/dist/sdk/infra/adapters/repositories/aws-s3-files-repo.js.map +1 -0
  307. package/dist/sdk/infra/adapters/repositories/credentials-file-repo.d.ts +18 -0
  308. package/dist/sdk/infra/adapters/repositories/credentials-file-repo.d.ts.map +1 -0
  309. package/dist/sdk/infra/adapters/repositories/credentials-file-repo.js +41 -0
  310. package/dist/sdk/infra/adapters/repositories/credentials-file-repo.js.map +1 -0
  311. package/dist/sdk/infra/adapters/repositories/default-walde-admin-config.d.ts +11 -0
  312. package/dist/sdk/infra/adapters/repositories/default-walde-admin-config.d.ts.map +1 -0
  313. package/dist/sdk/infra/adapters/repositories/default-walde-admin-config.js +20 -0
  314. package/dist/sdk/infra/adapters/repositories/default-walde-admin-config.js.map +1 -0
  315. package/dist/sdk/infra/adapters/repositories/file-walde-admin-config.d.ts +11 -0
  316. package/dist/sdk/infra/adapters/repositories/file-walde-admin-config.d.ts.map +1 -0
  317. package/dist/sdk/infra/adapters/repositories/file-walde-admin-config.js +38 -0
  318. package/dist/sdk/infra/adapters/repositories/file-walde-admin-config.js.map +1 -0
  319. package/dist/sdk/infra/adapters/repositories/file-workspace-config-repo.d.ts +26 -0
  320. package/dist/sdk/infra/adapters/repositories/file-workspace-config-repo.d.ts.map +1 -0
  321. package/dist/sdk/infra/adapters/repositories/file-workspace-config-repo.js +86 -0
  322. package/dist/sdk/infra/adapters/repositories/file-workspace-config-repo.js.map +1 -0
  323. package/dist/sdk/infra/adapters/repositories/http-site-repo.d.ts +15 -0
  324. package/dist/sdk/infra/adapters/repositories/http-site-repo.d.ts.map +1 -0
  325. package/dist/sdk/infra/adapters/repositories/http-site-repo.js +51 -0
  326. package/dist/sdk/infra/adapters/repositories/http-site-repo.js.map +1 -0
  327. package/dist/sdk/infra/adapters/repositories/static-walde-admin-config.d.ts +9 -0
  328. package/dist/sdk/infra/adapters/repositories/static-walde-admin-config.d.ts.map +1 -0
  329. package/dist/sdk/infra/adapters/repositories/static-walde-admin-config.js +13 -0
  330. package/dist/sdk/infra/adapters/repositories/static-walde-admin-config.js.map +1 -0
  331. package/dist/sdk/infra/adapters/repositories/writer-api-aws-ui-upload-credentials-repo.d.ts +15 -0
  332. package/dist/sdk/infra/adapters/repositories/writer-api-aws-ui-upload-credentials-repo.d.ts.map +1 -0
  333. package/dist/sdk/infra/adapters/repositories/writer-api-aws-ui-upload-credentials-repo.js +25 -0
  334. package/dist/sdk/infra/adapters/repositories/writer-api-aws-ui-upload-credentials-repo.js.map +1 -0
  335. package/dist/sdk/infra/backend/walde-client.d.ts +13 -0
  336. package/dist/sdk/infra/backend/walde-client.d.ts.map +1 -0
  337. package/dist/sdk/infra/backend/walde-client.js +29 -0
  338. package/dist/sdk/infra/backend/walde-client.js.map +1 -0
  339. package/dist/sdk/infra/factories/s3-files-repo-factory.d.ts +9 -0
  340. package/dist/sdk/infra/factories/s3-files-repo-factory.d.ts.map +1 -0
  341. package/dist/sdk/infra/factories/s3-files-repo-factory.js +10 -0
  342. package/dist/sdk/infra/factories/s3-files-repo-factory.js.map +1 -0
  343. package/dist/sdk/infra/factories/walde-admin-config-factory.d.ts +24 -0
  344. package/dist/sdk/infra/factories/walde-admin-config-factory.d.ts.map +1 -0
  345. package/dist/sdk/infra/factories/walde-admin-config-factory.js +99 -0
  346. package/dist/sdk/infra/factories/walde-admin-config-factory.js.map +1 -0
  347. package/dist/sdk/infra/factories/walde-admin-factory.d.ts +17 -0
  348. package/dist/sdk/infra/factories/walde-admin-factory.d.ts.map +1 -0
  349. package/dist/sdk/infra/factories/walde-admin-factory.js +42 -0
  350. package/dist/sdk/infra/factories/walde-admin-factory.js.map +1 -0
  351. package/dist/sdk/infra/factories/walde-factory.d.ts +13 -0
  352. package/dist/sdk/infra/factories/walde-factory.d.ts.map +1 -0
  353. package/dist/sdk/infra/factories/walde-factory.js +19 -0
  354. package/dist/sdk/infra/factories/walde-factory.js.map +1 -0
  355. package/dist/sdk/infra/futures/api-future.d.ts +15 -0
  356. package/dist/sdk/infra/futures/api-future.d.ts.map +1 -0
  357. package/dist/sdk/infra/futures/api-future.js +28 -0
  358. package/dist/sdk/infra/futures/api-future.js.map +1 -0
  359. package/dist/sdk/infra/futures/content-future.d.ts +26 -0
  360. package/dist/sdk/infra/futures/content-future.d.ts.map +1 -0
  361. package/dist/sdk/infra/futures/content-future.js +63 -0
  362. package/dist/sdk/infra/futures/content-future.js.map +1 -0
  363. package/dist/sdk/infra/futures/content-item-future.d.ts +25 -0
  364. package/dist/sdk/infra/futures/content-item-future.d.ts.map +1 -0
  365. package/dist/sdk/infra/futures/content-item-future.js +47 -0
  366. package/dist/sdk/infra/futures/content-item-future.js.map +1 -0
  367. package/dist/sdk/infra/futures/content-iterator.d.ts +44 -0
  368. package/dist/sdk/infra/futures/content-iterator.d.ts.map +1 -0
  369. package/dist/sdk/infra/futures/content-iterator.js +123 -0
  370. package/dist/sdk/infra/futures/content-iterator.js.map +1 -0
  371. package/dist/sdk/infra/futures/content-list-future.d.ts +16 -0
  372. package/dist/sdk/infra/futures/content-list-future.d.ts.map +1 -0
  373. package/dist/sdk/infra/futures/content-list-future.js +19 -0
  374. package/dist/sdk/infra/futures/content-list-future.js.map +1 -0
  375. package/dist/sdk/infra/futures/contents-future.d.ts +23 -0
  376. package/dist/sdk/infra/futures/contents-future.d.ts.map +1 -0
  377. package/dist/sdk/infra/futures/contents-future.js +33 -0
  378. package/dist/sdk/infra/futures/contents-future.js.map +1 -0
  379. package/dist/sdk/infra/futures/credentials-future.d.ts +14 -0
  380. package/dist/sdk/infra/futures/credentials-future.d.ts.map +1 -0
  381. package/dist/sdk/infra/futures/credentials-future.js +67 -0
  382. package/dist/sdk/infra/futures/credentials-future.js.map +1 -0
  383. package/dist/sdk/infra/futures/frontend-contents-future.d.ts +37 -0
  384. package/dist/sdk/infra/futures/frontend-contents-future.d.ts.map +1 -0
  385. package/dist/sdk/infra/futures/frontend-contents-future.js +62 -0
  386. package/dist/sdk/infra/futures/frontend-contents-future.js.map +1 -0
  387. package/dist/sdk/infra/futures/manifest-future.d.ts +18 -0
  388. package/dist/sdk/infra/futures/manifest-future.d.ts.map +1 -0
  389. package/dist/sdk/infra/futures/manifest-future.js +28 -0
  390. package/dist/sdk/infra/futures/manifest-future.js.map +1 -0
  391. package/dist/sdk/infra/futures/site-future.d.ts +41 -0
  392. package/dist/sdk/infra/futures/site-future.d.ts.map +1 -0
  393. package/dist/sdk/infra/futures/site-future.js +113 -0
  394. package/dist/sdk/infra/futures/site-future.js.map +1 -0
  395. package/dist/sdk/infra/futures/sites-future.d.ts +19 -0
  396. package/dist/sdk/infra/futures/sites-future.d.ts.map +1 -0
  397. package/dist/sdk/infra/futures/sites-future.js +35 -0
  398. package/dist/sdk/infra/futures/sites-future.js.map +1 -0
  399. package/dist/sdk/infra/futures/ui-future.d.ts +25 -0
  400. package/dist/sdk/infra/futures/ui-future.d.ts.map +1 -0
  401. package/dist/sdk/infra/futures/ui-future.js +35 -0
  402. package/dist/sdk/infra/futures/ui-future.js.map +1 -0
  403. package/dist/sdk/infra/futures/walde-admin-future.d.ts +41 -0
  404. package/dist/sdk/infra/futures/walde-admin-future.d.ts.map +1 -0
  405. package/dist/sdk/infra/futures/walde-admin-future.js +50 -0
  406. package/dist/sdk/infra/futures/walde-admin-future.js.map +1 -0
  407. package/dist/sdk/infra/futures/walde-future.d.ts +40 -0
  408. package/dist/sdk/infra/futures/walde-future.d.ts.map +1 -0
  409. package/dist/sdk/infra/futures/walde-future.js +66 -0
  410. package/dist/sdk/infra/futures/walde-future.js.map +1 -0
  411. package/dist/sdk/infra/futures/workspace-future.d.ts +38 -0
  412. package/dist/sdk/infra/futures/workspace-future.d.ts.map +1 -0
  413. package/dist/sdk/infra/futures/workspace-future.js +45 -0
  414. package/dist/sdk/infra/futures/workspace-future.js.map +1 -0
  415. package/dist/sdk/infra/mappers/dto/frontend-content-dto-mapper.d.ts +20 -0
  416. package/dist/sdk/infra/mappers/dto/frontend-content-dto-mapper.d.ts.map +1 -0
  417. package/dist/sdk/infra/mappers/dto/frontend-content-dto-mapper.js +54 -0
  418. package/dist/sdk/infra/mappers/dto/frontend-content-dto-mapper.js.map +1 -0
  419. package/dist/sdk/infra/mappers/dto/manifest-dto-mapper.d.ts +24 -0
  420. package/dist/sdk/infra/mappers/dto/manifest-dto-mapper.d.ts.map +1 -0
  421. package/dist/sdk/infra/mappers/dto/manifest-dto-mapper.js +49 -0
  422. package/dist/sdk/infra/mappers/dto/manifest-dto-mapper.js.map +1 -0
  423. package/dist/sdk/make-walde-admin.d.ts +15 -0
  424. package/dist/sdk/make-walde-admin.d.ts.map +1 -0
  425. package/dist/sdk/make-walde-admin.js +8 -0
  426. package/dist/sdk/make-walde-admin.js.map +1 -0
  427. package/dist/sdk/make-walde.d.ts +12 -0
  428. package/dist/sdk/make-walde.d.ts.map +1 -0
  429. package/dist/sdk/make-walde.js +8 -0
  430. package/dist/sdk/make-walde.js.map +1 -0
  431. package/dist/std/domain/entities/future.d.ts +28 -0
  432. package/dist/std/domain/entities/future.d.ts.map +1 -0
  433. package/dist/std/domain/entities/future.js +21 -0
  434. package/dist/std/domain/entities/future.js.map +1 -0
  435. package/dist/std/domain/entities/option.d.ts +53 -0
  436. package/dist/std/domain/entities/option.d.ts.map +1 -0
  437. package/dist/std/domain/entities/option.js +58 -0
  438. package/dist/std/domain/entities/option.js.map +1 -0
  439. package/dist/std/domain/entities/result.d.ts +87 -0
  440. package/dist/std/domain/entities/result.d.ts.map +1 -0
  441. package/dist/std/domain/entities/result.js +104 -0
  442. package/dist/std/domain/entities/result.js.map +1 -0
  443. package/dist/std/index.d.ts +6 -0
  444. package/dist/std/index.d.ts.map +1 -0
  445. package/dist/std/index.js +4 -0
  446. package/dist/std/index.js.map +1 -0
  447. package/package.json +33 -0
@@ -0,0 +1,14 @@
1
+ import { FormatPart } from './format-part';
2
+ /**
3
+ * Represents a format definition with named parts
4
+ */
5
+ export declare class Format {
6
+ readonly id: string;
7
+ readonly name: string;
8
+ private readonly parts;
9
+ constructor(id: string, name: string, parts: Map<string, FormatPart>);
10
+ getName(): string;
11
+ getParts(): Map<string, FormatPart>;
12
+ getPart(key: string): FormatPart | undefined;
13
+ }
14
+ //# sourceMappingURL=format.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../../src/sdk/domain/entities/format.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C;;GAEG;AACH,qBAAa,MAAM;aAEC,EAAE,EAAE,MAAM;aACV,IAAI,EAAE,MAAM;IAC5B,OAAO,CAAC,QAAQ,CAAC,KAAK;gBAFN,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,MAAM,EACX,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC;IAG1C,OAAO,IAAI,MAAM;IAIjB,QAAQ,IAAI,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC;IAInC,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,GAAG,SAAS;CAGpD"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Represents a format definition with named parts
3
+ */
4
+ export class Format {
5
+ id;
6
+ name;
7
+ parts;
8
+ constructor(id, name, parts) {
9
+ this.id = id;
10
+ this.name = name;
11
+ this.parts = parts;
12
+ }
13
+ getName() {
14
+ return this.name;
15
+ }
16
+ getParts() {
17
+ return new Map(this.parts);
18
+ }
19
+ getPart(key) {
20
+ return this.parts.get(key);
21
+ }
22
+ }
23
+ //# sourceMappingURL=format.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"format.js","sourceRoot":"","sources":["../../../../src/sdk/domain/entities/format.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,OAAO,MAAM;IAEC;IACA;IACC;IAHnB,YACkB,EAAU,EACV,IAAY,EACX,KAA8B;QAF/B,OAAE,GAAF,EAAE,CAAQ;QACV,SAAI,GAAJ,IAAI,CAAQ;QACX,UAAK,GAAL,KAAK,CAAyB;IAC9C,CAAC;IAEG,OAAO;QACZ,OAAO,IAAI,CAAC,IAAI,CAAC;IACnB,CAAC;IAEM,QAAQ;QACb,OAAO,IAAI,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;IAEM,OAAO,CAAC,GAAW;QACxB,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC7B,CAAC;CACF"}
@@ -0,0 +1,13 @@
1
+ import { ContentFormat } from './content-format';
2
+ import { ContentPart } from './content-part';
3
+ /**
4
+ * Version-agnostic frontend content representation
5
+ */
6
+ export declare class FrontendContent {
7
+ readonly name: string;
8
+ readonly key: string;
9
+ readonly format: ContentFormat;
10
+ readonly parts: Record<string, ContentPart>;
11
+ constructor(name: string, key: string, format: ContentFormat, parts: Record<string, ContentPart>);
12
+ }
13
+ //# sourceMappingURL=frontend-content.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"frontend-content.d.ts","sourceRoot":"","sources":["../../../../src/sdk/domain/entities/frontend-content.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C;;GAEG;AACH,qBAAa,eAAe;aAER,IAAI,EAAE,MAAM;aACZ,GAAG,EAAE,MAAM;aACX,MAAM,EAAE,aAAa;aACrB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC;gBAHlC,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,aAAa,EACrB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC;CAErD"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Version-agnostic frontend content representation
3
+ */
4
+ export class FrontendContent {
5
+ name;
6
+ key;
7
+ format;
8
+ parts;
9
+ constructor(name, key, format, parts) {
10
+ this.name = name;
11
+ this.key = key;
12
+ this.format = format;
13
+ this.parts = parts;
14
+ }
15
+ }
16
+ //# sourceMappingURL=frontend-content.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"frontend-content.js","sourceRoot":"","sources":["../../../../src/sdk/domain/entities/frontend-content.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,MAAM,OAAO,eAAe;IAER;IACA;IACA;IACA;IAJlB,YACkB,IAAY,EACZ,GAAW,EACX,MAAqB,EACrB,KAAkC;QAHlC,SAAI,GAAJ,IAAI,CAAQ;QACZ,QAAG,GAAH,GAAG,CAAQ;QACX,WAAM,GAAN,MAAM,CAAe;QACrB,UAAK,GAAL,KAAK,CAA6B;IACjD,CAAC;CACL"}
@@ -0,0 +1,20 @@
1
+ import { FormatPart } from './format-part';
2
+ /**
3
+ * Format part that validates key-value pair objects
4
+ */
5
+ export declare class KeyValuePart implements FormatPart {
6
+ readonly name: string;
7
+ /**
8
+ * Validates if the given value is a key-value object with primitive values
9
+ * @param value - The value to validate
10
+ * @returns true if the value is a plain object with string keys and primitive values
11
+ */
12
+ validate(value: unknown): boolean;
13
+ /**
14
+ * Checks if a value is a primitive type
15
+ * @param value - The value to check
16
+ * @returns true if the value is a primitive (string, number, boolean, null, undefined)
17
+ */
18
+ private isPrimitive;
19
+ }
20
+ //# sourceMappingURL=key-value-part.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"key-value-part.d.ts","sourceRoot":"","sources":["../../../../src/sdk/domain/entities/key-value-part.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C;;GAEG;AACH,qBAAa,YAAa,YAAW,UAAU;IAC7C,SAAgB,IAAI,EAAE,MAAM,CAAc;IAE1C;;;;OAIG;IACI,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO;IAWxC;;;;OAIG;IACH,OAAO,CAAC,WAAW;CAOpB"}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Format part that validates key-value pair objects
3
+ */
4
+ export class KeyValuePart {
5
+ name = 'keyvalue';
6
+ /**
7
+ * Validates if the given value is a key-value object with primitive values
8
+ * @param value - The value to validate
9
+ * @returns true if the value is a plain object with string keys and primitive values
10
+ */
11
+ validate(value) {
12
+ if (typeof value !== 'object' || value === null || Array.isArray(value)) {
13
+ return false;
14
+ }
15
+ const obj = value;
16
+ return Object.entries(obj).every(([key, val]) => typeof key === 'string' && this.isPrimitive(val));
17
+ }
18
+ /**
19
+ * Checks if a value is a primitive type
20
+ * @param value - The value to check
21
+ * @returns true if the value is a primitive (string, number, boolean, null, undefined)
22
+ */
23
+ isPrimitive(value) {
24
+ return value === null ||
25
+ value === undefined ||
26
+ typeof value === 'string' ||
27
+ typeof value === 'number' ||
28
+ typeof value === 'boolean';
29
+ }
30
+ }
31
+ //# sourceMappingURL=key-value-part.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"key-value-part.js","sourceRoot":"","sources":["../../../../src/sdk/domain/entities/key-value-part.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,OAAO,YAAY;IACP,IAAI,GAAW,UAAU,CAAC;IAE1C;;;;OAIG;IACI,QAAQ,CAAC,KAAc;QAC5B,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;YACxE,OAAO,KAAK,CAAC;QACf,CAAC;QAED,MAAM,GAAG,GAAG,KAAgC,CAAC;QAC7C,OAAO,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,EAAE,CAC9C,OAAO,GAAG,KAAK,QAAQ,IAAI,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CACjD,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACK,WAAW,CAAC,KAAc;QAChC,OAAO,KAAK,KAAK,IAAI;YACd,KAAK,KAAK,SAAS;YACnB,OAAO,KAAK,KAAK,QAAQ;YACzB,OAAO,KAAK,KAAK,QAAQ;YACzB,OAAO,KAAK,KAAK,SAAS,CAAC;IACpC,CAAC;CACF"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Content metadata within manifest
3
+ */
4
+ export declare class ManifestContent {
5
+ readonly id: string;
6
+ readonly name: string;
7
+ readonly key: string;
8
+ readonly format: string;
9
+ readonly locales: string[];
10
+ constructor(id: string, name: string, key: string, format: string, locales: string[]);
11
+ }
12
+ //# sourceMappingURL=manifest-content.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"manifest-content.d.ts","sourceRoot":"","sources":["../../../../src/sdk/domain/entities/manifest-content.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,eAAe;aAER,EAAE,EAAE,MAAM;aACV,IAAI,EAAE,MAAM;aACZ,GAAG,EAAE,MAAM;aACX,MAAM,EAAE,MAAM;aACd,OAAO,EAAE,MAAM,EAAE;gBAJjB,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,EAAE;CAEpC"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Content metadata within manifest
3
+ */
4
+ export class ManifestContent {
5
+ id;
6
+ name;
7
+ key;
8
+ format;
9
+ locales;
10
+ constructor(id, name, key, format, locales) {
11
+ this.id = id;
12
+ this.name = name;
13
+ this.key = key;
14
+ this.format = format;
15
+ this.locales = locales;
16
+ }
17
+ }
18
+ //# sourceMappingURL=manifest-content.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"manifest-content.js","sourceRoot":"","sources":["../../../../src/sdk/domain/entities/manifest-content.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,OAAO,eAAe;IAER;IACA;IACA;IACA;IACA;IALlB,YACkB,EAAU,EACV,IAAY,EACZ,GAAW,EACX,MAAc,EACd,OAAiB;QAJjB,OAAE,GAAF,EAAE,CAAQ;QACV,SAAI,GAAJ,IAAI,CAAQ;QACZ,QAAG,GAAH,GAAG,CAAQ;QACX,WAAM,GAAN,MAAM,CAAQ;QACd,YAAO,GAAP,OAAO,CAAU;IAChC,CAAC;CACL"}
@@ -0,0 +1,9 @@
1
+ import { ManifestContent } from './manifest-content';
2
+ /**
3
+ * Version-agnostic manifest representation containing content metadata
4
+ */
5
+ export declare class Manifest {
6
+ readonly contents: ManifestContent[];
7
+ constructor(contents: ManifestContent[]);
8
+ }
9
+ //# sourceMappingURL=manifest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../../../../src/sdk/domain/entities/manifest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD;;GAEG;AACH,qBAAa,QAAQ;aAED,QAAQ,EAAE,eAAe,EAAE;gBAA3B,QAAQ,EAAE,eAAe,EAAE;CAE9C"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Version-agnostic manifest representation containing content metadata
3
+ */
4
+ export class Manifest {
5
+ contents;
6
+ constructor(contents) {
7
+ this.contents = contents;
8
+ }
9
+ }
10
+ //# sourceMappingURL=manifest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"manifest.js","sourceRoot":"","sources":["../../../../src/sdk/domain/entities/manifest.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,OAAO,QAAQ;IAED;IADlB,YACkB,QAA2B;QAA3B,aAAQ,GAAR,QAAQ,CAAmB;IAC1C,CAAC;CACL"}
@@ -0,0 +1,14 @@
1
+ import { FormatPart } from './format-part';
2
+ /**
3
+ * Format part that validates markdown content (string values)
4
+ */
5
+ export declare class MarkdownPart implements FormatPart {
6
+ readonly name: string;
7
+ /**
8
+ * Validates if the given value is valid markdown (string)
9
+ * @param value - The value to validate
10
+ * @returns true if the value is a string (valid markdown)
11
+ */
12
+ validate(value: unknown): boolean;
13
+ }
14
+ //# sourceMappingURL=markdown-part.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdown-part.d.ts","sourceRoot":"","sources":["../../../../src/sdk/domain/entities/markdown-part.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C;;GAEG;AACH,qBAAa,YAAa,YAAW,UAAU;IAC7C,SAAgB,IAAI,EAAE,MAAM,CAAc;IAE1C;;;;OAIG;IACI,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO;CAGzC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Format part that validates markdown content (string values)
3
+ */
4
+ export class MarkdownPart {
5
+ name = 'markdown';
6
+ /**
7
+ * Validates if the given value is valid markdown (string)
8
+ * @param value - The value to validate
9
+ * @returns true if the value is a string (valid markdown)
10
+ */
11
+ validate(value) {
12
+ return typeof value === 'string';
13
+ }
14
+ }
15
+ //# sourceMappingURL=markdown-part.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdown-part.js","sourceRoot":"","sources":["../../../../src/sdk/domain/entities/markdown-part.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,OAAO,YAAY;IACP,IAAI,GAAW,UAAU,CAAC;IAE1C;;;;OAIG;IACI,QAAQ,CAAC,KAAc;QAC5B,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC;IACnC,CAAC;CACF"}
@@ -0,0 +1,16 @@
1
+ import { DnsEntry } from './dns-entry';
2
+ export declare enum SiteState {
3
+ UPDATED = "UPDATED",
4
+ UPDATE_REQUESTED = "UPDATE_REQUESTED"
5
+ }
6
+ /**
7
+ * Represents a website with its configuration and DNS settings
8
+ */
9
+ export declare class Site {
10
+ readonly id: string;
11
+ readonly domainName: string;
12
+ readonly dnsEntries: Record<string, DnsEntry>;
13
+ readonly state: SiteState;
14
+ constructor(id: string, domainName: string, dnsEntries: Record<string, DnsEntry>, state: SiteState);
15
+ }
16
+ //# sourceMappingURL=site.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"site.d.ts","sourceRoot":"","sources":["../../../../src/sdk/domain/entities/site.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,oBAAY,SAAS;IACnB,OAAO,YAAY;IACnB,gBAAgB,qBAAqB;CACtC;AAED;;GAEG;AACH,qBAAa,IAAI;aAEG,EAAE,EAAE,MAAM;aACV,UAAU,EAAE,MAAM;aAClB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC;aACpC,KAAK,EAAE,SAAS;gBAHhB,EAAE,EAAE,MAAM,EACV,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,EACpC,KAAK,EAAE,SAAS;CAEnC"}
@@ -0,0 +1,21 @@
1
+ export var SiteState;
2
+ (function (SiteState) {
3
+ SiteState["UPDATED"] = "UPDATED";
4
+ SiteState["UPDATE_REQUESTED"] = "UPDATE_REQUESTED";
5
+ })(SiteState || (SiteState = {}));
6
+ /**
7
+ * Represents a website with its configuration and DNS settings
8
+ */
9
+ export class Site {
10
+ id;
11
+ domainName;
12
+ dnsEntries;
13
+ state;
14
+ constructor(id, domainName, dnsEntries, state) {
15
+ this.id = id;
16
+ this.domainName = domainName;
17
+ this.dnsEntries = dnsEntries;
18
+ this.state = state;
19
+ }
20
+ }
21
+ //# sourceMappingURL=site.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"site.js","sourceRoot":"","sources":["../../../../src/sdk/domain/entities/site.ts"],"names":[],"mappings":"AAEA,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,gCAAmB,CAAA;IACnB,kDAAqC,CAAA;AACvC,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAED;;GAEG;AACH,MAAM,OAAO,IAAI;IAEG;IACA;IACA;IACA;IAJlB,YACkB,EAAU,EACV,UAAkB,EAClB,UAAoC,EACpC,KAAgB;QAHhB,OAAE,GAAF,EAAE,CAAQ;QACV,eAAU,GAAV,UAAU,CAAQ;QAClB,eAAU,GAAV,UAAU,CAA0B;QACpC,UAAK,GAAL,KAAK,CAAW;IAC/B,CAAC;CACL"}
@@ -0,0 +1,14 @@
1
+ import { FormatPart } from './format-part';
2
+ /**
3
+ * Format part that validates string values
4
+ */
5
+ export declare class StringPart implements FormatPart {
6
+ readonly name: string;
7
+ /**
8
+ * Validates if the given value is a string
9
+ * @param value - The value to validate
10
+ * @returns true if the value is a string
11
+ */
12
+ validate(value: unknown): boolean;
13
+ }
14
+ //# sourceMappingURL=string-part.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"string-part.d.ts","sourceRoot":"","sources":["../../../../src/sdk/domain/entities/string-part.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C;;GAEG;AACH,qBAAa,UAAW,YAAW,UAAU;IAC3C,SAAgB,IAAI,EAAE,MAAM,CAAY;IAExC;;;;OAIG;IACI,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO;CAGzC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Format part that validates string values
3
+ */
4
+ export class StringPart {
5
+ name = 'string';
6
+ /**
7
+ * Validates if the given value is a string
8
+ * @param value - The value to validate
9
+ * @returns true if the value is a string
10
+ */
11
+ validate(value) {
12
+ return typeof value === 'string';
13
+ }
14
+ }
15
+ //# sourceMappingURL=string-part.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"string-part.js","sourceRoot":"","sources":["../../../../src/sdk/domain/entities/string-part.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,OAAO,UAAU;IACL,IAAI,GAAW,QAAQ,CAAC;IAExC;;;;OAIG;IACI,QAAQ,CAAC,KAAc;QAC5B,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC;IACnC,CAAC;CACF"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Upload credentials for UI file operations
3
+ * Framework-agnostic representation of temporary upload credentials
4
+ */
5
+ export declare class UiUploadCredentials {
6
+ readonly accessKey: string;
7
+ readonly secretKey: string;
8
+ readonly sessionToken: string;
9
+ readonly expiration: Date;
10
+ readonly region: string;
11
+ readonly bucketName: string;
12
+ constructor(accessKey: string, secretKey: string, sessionToken: string, expiration: Date, region: string, bucketName: string);
13
+ /**
14
+ * Check if credentials have expired
15
+ */
16
+ isExpired(): boolean;
17
+ /**
18
+ * Check if credentials are valid (not expired and have required fields)
19
+ */
20
+ isValid(): boolean;
21
+ }
22
+ //# sourceMappingURL=ui-upload-credentials.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-upload-credentials.d.ts","sourceRoot":"","sources":["../../../../src/sdk/domain/entities/ui-upload-credentials.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,qBAAa,mBAAmB;aAEZ,SAAS,EAAE,MAAM;aACjB,SAAS,EAAE,MAAM;aACjB,YAAY,EAAE,MAAM;aACpB,UAAU,EAAE,IAAI;aAChB,MAAM,EAAE,MAAM;aACd,UAAU,EAAE,MAAM;gBALlB,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,EACjB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,IAAI,EAChB,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,MAAM;IAGpC;;OAEG;IACI,SAAS,IAAI,OAAO;IAI3B;;OAEG;IACI,OAAO,IAAI,OAAO;CAQ1B"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Upload credentials for UI file operations
3
+ * Framework-agnostic representation of temporary upload credentials
4
+ */
5
+ export class UiUploadCredentials {
6
+ accessKey;
7
+ secretKey;
8
+ sessionToken;
9
+ expiration;
10
+ region;
11
+ bucketName;
12
+ constructor(accessKey, secretKey, sessionToken, expiration, region, bucketName) {
13
+ this.accessKey = accessKey;
14
+ this.secretKey = secretKey;
15
+ this.sessionToken = sessionToken;
16
+ this.expiration = expiration;
17
+ this.region = region;
18
+ this.bucketName = bucketName;
19
+ }
20
+ /**
21
+ * Check if credentials have expired
22
+ */
23
+ isExpired() {
24
+ return new Date() > this.expiration;
25
+ }
26
+ /**
27
+ * Check if credentials are valid (not expired and have required fields)
28
+ */
29
+ isValid() {
30
+ return !this.isExpired() &&
31
+ !!this.accessKey &&
32
+ !!this.secretKey &&
33
+ !!this.sessionToken &&
34
+ !!this.region &&
35
+ !!this.bucketName;
36
+ }
37
+ }
38
+ //# sourceMappingURL=ui-upload-credentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-upload-credentials.js","sourceRoot":"","sources":["../../../../src/sdk/domain/entities/ui-upload-credentials.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,OAAO,mBAAmB;IAEZ;IACA;IACA;IACA;IACA;IACA;IANlB,YACkB,SAAiB,EACjB,SAAiB,EACjB,YAAoB,EACpB,UAAgB,EAChB,MAAc,EACd,UAAkB;QALlB,cAAS,GAAT,SAAS,CAAQ;QACjB,cAAS,GAAT,SAAS,CAAQ;QACjB,iBAAY,GAAZ,YAAY,CAAQ;QACpB,eAAU,GAAV,UAAU,CAAM;QAChB,WAAM,GAAN,MAAM,CAAQ;QACd,eAAU,GAAV,UAAU,CAAQ;IACjC,CAAC;IAEJ;;OAEG;IACI,SAAS;QACd,OAAO,IAAI,IAAI,EAAE,GAAG,IAAI,CAAC,UAAU,CAAC;IACtC,CAAC;IAED;;OAEG;IACI,OAAO;QACZ,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE;YACjB,CAAC,CAAC,IAAI,CAAC,SAAS;YAChB,CAAC,CAAC,IAAI,CAAC,SAAS;YAChB,CAAC,CAAC,IAAI,CAAC,YAAY;YACnB,CAAC,CAAC,IAAI,CAAC,MAAM;YACb,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC;IAC3B,CAAC;CACF"}
@@ -0,0 +1,51 @@
1
+ import { Result } from '@/std';
2
+ /**
3
+ * Partial configuration data for Walde SDK (all optional)
4
+ */
5
+ export interface PartialWaldeAdminConfigData {
6
+ endpoint?: string;
7
+ clientId?: string;
8
+ region?: string;
9
+ userPoolId?: string;
10
+ }
11
+ /**
12
+ * Complete configuration data for Walde SDK (all required)
13
+ */
14
+ export interface WaldeAdminConfigData {
15
+ endpoint: string;
16
+ clientId: string;
17
+ region: string;
18
+ userPoolId: string;
19
+ }
20
+ /**
21
+ * Abstract base class for Walde configuration
22
+ */
23
+ export declare abstract class WaldeAdminConfig {
24
+ protected data: PartialWaldeAdminConfigData;
25
+ constructor(data?: PartialWaldeAdminConfigData);
26
+ /**
27
+ * Get configuration value
28
+ */
29
+ get endpoint(): string | undefined;
30
+ get clientId(): string | undefined;
31
+ get region(): string | undefined;
32
+ get userPoolId(): string | undefined;
33
+ /**
34
+ * Merge with another config, current values override merged ones when set
35
+ */
36
+ merge(other: WaldeAdminConfig): WaldeAdminConfig;
37
+ /**
38
+ * Create new instance of the same type with given data
39
+ * Must be implemented by subclasses
40
+ */
41
+ protected abstract createInstance(data: PartialWaldeAdminConfigData): WaldeAdminConfig;
42
+ /**
43
+ * Get all configuration data
44
+ */
45
+ getData(): PartialWaldeAdminConfigData;
46
+ /**
47
+ * Promote to complete configuration if all required fields are set
48
+ */
49
+ promote(): Result<WaldeAdminConfigData, string>;
50
+ }
51
+ //# sourceMappingURL=walde-admin-config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"walde-admin-config.d.ts","sourceRoot":"","sources":["../../../../src/sdk/domain/entities/walde-admin-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAW,MAAM,OAAO,CAAC;AAExC;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,8BAAsB,gBAAgB;IACpC,SAAS,CAAC,IAAI,EAAE,2BAA2B,CAAC;gBAEhC,IAAI,GAAE,2BAAgC;IAIlD;;OAEG;IACH,IAAI,QAAQ,IAAI,MAAM,GAAG,SAAS,CAEjC;IAED,IAAI,QAAQ,IAAI,MAAM,GAAG,SAAS,CAEjC;IAED,IAAI,MAAM,IAAI,MAAM,GAAG,SAAS,CAE/B;IAED,IAAI,UAAU,IAAI,MAAM,GAAG,SAAS,CAEnC;IAED;;OAEG;IACH,KAAK,CAAC,KAAK,EAAE,gBAAgB,GAAG,gBAAgB;IAahD;;;OAGG;IACH,SAAS,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI,EAAE,2BAA2B,GAAG,gBAAgB;IAEtF;;OAEG;IACH,OAAO,IAAI,2BAA2B;IAItC;;OAEG;IACH,OAAO,IAAI,MAAM,CAAC,oBAAoB,EAAE,MAAM,CAAC;CAmBhD"}
@@ -0,0 +1,69 @@
1
+ import { ok, err } from '@/std';
2
+ /**
3
+ * Abstract base class for Walde configuration
4
+ */
5
+ export class WaldeAdminConfig {
6
+ data;
7
+ constructor(data = {}) {
8
+ this.data = { ...data };
9
+ }
10
+ /**
11
+ * Get configuration value
12
+ */
13
+ get endpoint() {
14
+ return this.data.endpoint;
15
+ }
16
+ get clientId() {
17
+ return this.data.clientId;
18
+ }
19
+ get region() {
20
+ return this.data.region;
21
+ }
22
+ get userPoolId() {
23
+ return this.data.userPoolId;
24
+ }
25
+ /**
26
+ * Merge with another config, current values override merged ones when set
27
+ */
28
+ merge(other) {
29
+ const otherData = other.getData();
30
+ const mergedData = {
31
+ endpoint: this.data.endpoint ?? otherData.endpoint,
32
+ clientId: this.data.clientId ?? otherData.clientId,
33
+ region: this.data.region ?? otherData.region,
34
+ userPoolId: this.data.userPoolId ?? otherData.userPoolId
35
+ };
36
+ // Create new instance of same type with merged data
37
+ return this.createInstance(mergedData);
38
+ }
39
+ /**
40
+ * Get all configuration data
41
+ */
42
+ getData() {
43
+ return { ...this.data };
44
+ }
45
+ /**
46
+ * Promote to complete configuration if all required fields are set
47
+ */
48
+ promote() {
49
+ const missing = [];
50
+ if (!this.data.endpoint)
51
+ missing.push('endpoint');
52
+ if (!this.data.clientId)
53
+ missing.push('clientId');
54
+ if (!this.data.region)
55
+ missing.push('region');
56
+ if (!this.data.userPoolId)
57
+ missing.push('userPoolId');
58
+ if (missing.length > 0) {
59
+ return err(`Missing required configuration: ${missing.join(', ')}`);
60
+ }
61
+ return ok({
62
+ endpoint: this.data.endpoint,
63
+ clientId: this.data.clientId,
64
+ region: this.data.region,
65
+ userPoolId: this.data.userPoolId
66
+ });
67
+ }
68
+ }
69
+ //# sourceMappingURL=walde-admin-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"walde-admin-config.js","sourceRoot":"","sources":["../../../../src/sdk/domain/entities/walde-admin-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,EAAE,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAsBxC;;GAEG;AACH,MAAM,OAAgB,gBAAgB;IAC1B,IAAI,CAA8B;IAE5C,YAAY,OAAoC,EAAE;QAChD,IAAI,CAAC,IAAI,GAAG,EAAE,GAAG,IAAI,EAAE,CAAC;IAC1B,CAAC;IAED;;OAEG;IACH,IAAI,QAAQ;QACV,OAAO,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC;IAC5B,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC;IAC5B,CAAC;IAED,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC;IAC1B,CAAC;IAED,IAAI,UAAU;QACZ,OAAO,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC;IAC9B,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,KAAuB;QAC3B,MAAM,SAAS,GAAG,KAAK,CAAC,OAAO,EAAE,CAAC;QAClC,MAAM,UAAU,GAAgC;YAC9C,QAAQ,EAAE,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,SAAS,CAAC,QAAQ;YAClD,QAAQ,EAAE,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,SAAS,CAAC,QAAQ;YAClD,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,MAAM,IAAI,SAAS,CAAC,MAAM;YAC5C,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,UAAU,IAAI,SAAS,CAAC,UAAU;SACzD,CAAC;QAEF,oDAAoD;QACpD,OAAO,IAAI,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC;IACzC,CAAC;IAQD;;OAEG;IACH,OAAO;QACL,OAAO,EAAE,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC;IAC1B,CAAC;IAED;;OAEG;IACH,OAAO;QACL,MAAM,OAAO,GAAa,EAAE,CAAC;QAE7B,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ;YAAE,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAClD,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ;YAAE,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAClD,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM;YAAE,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC9C,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU;YAAE,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAEtD,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACvB,OAAO,GAAG,CAAC,mCAAmC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACtE,CAAC;QAED,OAAO,EAAE,CAAC;YACR,QAAQ,EAAE,IAAI,CAAC,IAAI,CAAC,QAAS;YAC7B,QAAQ,EAAE,IAAI,CAAC,IAAI,CAAC,QAAS;YAC7B,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,MAAO;YACzB,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,UAAW;SAClC,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Represents workspace configuration stored in walde.json
3
+ */
4
+ export declare class WorkspaceConfig {
5
+ readonly siteId: string;
6
+ readonly paths: {
7
+ content: string;
8
+ ui: string;
9
+ };
10
+ /**
11
+ * Creates a new WorkspaceConfig instance
12
+ * @param siteId - The site identifier this workspace belongs to
13
+ * @param paths - The paths configuration for content and ui directories
14
+ */
15
+ constructor(siteId: string, paths: {
16
+ content: string;
17
+ ui: string;
18
+ });
19
+ }
20
+ //# sourceMappingURL=workspace-config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspace-config.d.ts","sourceRoot":"","sources":["../../../../src/sdk/domain/entities/workspace-config.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,eAAe;aAOR,MAAM,EAAE,MAAM;aACd,KAAK,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAA;KAAE;IAPxD;;;;OAIG;gBAEe,MAAM,EAAE,MAAM,EACd,KAAK,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAA;KAAE;CAEzD"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Represents workspace configuration stored in walde.json
3
+ */
4
+ export class WorkspaceConfig {
5
+ siteId;
6
+ paths;
7
+ /**
8
+ * Creates a new WorkspaceConfig instance
9
+ * @param siteId - The site identifier this workspace belongs to
10
+ * @param paths - The paths configuration for content and ui directories
11
+ */
12
+ constructor(siteId, paths) {
13
+ this.siteId = siteId;
14
+ this.paths = paths;
15
+ }
16
+ }
17
+ //# sourceMappingURL=workspace-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspace-config.js","sourceRoot":"","sources":["../../../../src/sdk/domain/entities/workspace-config.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,OAAO,eAAe;IAOR;IACA;IAPlB;;;;OAIG;IACH,YACkB,MAAc,EACd,KAAsC;QADtC,WAAM,GAAN,MAAM,CAAQ;QACd,UAAK,GAAL,KAAK,CAAiC;IACrD,CAAC;CACL"}
@@ -0,0 +1,11 @@
1
+ export { WaldeError } from './walde-error';
2
+ export { WaldeUserError } from './walde-user-error';
3
+ export { WaldeSystemError } from './walde-system-error';
4
+ export { WaldeValidationError } from './walde-validation-error';
5
+ export { WaldeAuthenticationError } from './walde-authentication-error';
6
+ export { WaldeConfigurationError } from './walde-configuration-error';
7
+ export { WaldeUsageError } from './walde-usage-error';
8
+ export { WaldeNetworkError } from './walde-network-error';
9
+ export { WaldeLocalError } from './walde-local-error';
10
+ export { WaldeUnexpectedError } from './walde-unexpected-error';
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/domain/errors/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC"}
@@ -0,0 +1,11 @@
1
+ export { WaldeError } from './walde-error';
2
+ export { WaldeUserError } from './walde-user-error';
3
+ export { WaldeSystemError } from './walde-system-error';
4
+ export { WaldeValidationError } from './walde-validation-error';
5
+ export { WaldeAuthenticationError } from './walde-authentication-error';
6
+ export { WaldeConfigurationError } from './walde-configuration-error';
7
+ export { WaldeUsageError } from './walde-usage-error';
8
+ export { WaldeNetworkError } from './walde-network-error';
9
+ export { WaldeLocalError } from './walde-local-error';
10
+ export { WaldeUnexpectedError } from './walde-unexpected-error';
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/sdk/domain/errors/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC"}