create-auto-app 0.2.3 → 0.3.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 (320) hide show
  1. package/dist/index.js +5 -0
  2. package/dist/index.js.map +1 -1
  3. package/package.json +4 -3
  4. package/templates/.gitkeep +0 -0
  5. package/templates/shopping-app/.context/schema.json +11 -51
  6. package/templates/shopping-app/.context/server/server/package.json +26 -0
  7. package/templates/shopping-app/.context/server/server/scripts/generate-schema.ts +34 -0
  8. package/templates/shopping-app/.context/server/server/src/domain/flows/seasonal-assistant/accepts-items-and-adds-to-their-cart/commands.ts +8 -0
  9. package/templates/shopping-app/.context/server/server/src/domain/flows/seasonal-assistant/accepts-items-and-adds-to-their-cart/decide.specs.ts +46 -0
  10. package/templates/shopping-app/.context/server/server/src/domain/flows/seasonal-assistant/accepts-items-and-adds-to-their-cart/decide.ts +33 -0
  11. package/templates/shopping-app/.context/server/server/src/domain/flows/seasonal-assistant/accepts-items-and-adds-to-their-cart/events.ts +10 -0
  12. package/templates/shopping-app/.context/server/server/src/domain/flows/seasonal-assistant/accepts-items-and-adds-to-their-cart/evolve.ts +28 -0
  13. package/templates/shopping-app/.context/server/server/src/domain/flows/seasonal-assistant/accepts-items-and-adds-to-their-cart/handle.ts +24 -0
  14. package/templates/shopping-app/.context/server/server/src/domain/flows/seasonal-assistant/accepts-items-and-adds-to-their-cart/mutation.resolver.ts +25 -0
  15. package/templates/shopping-app/.context/server/server/src/domain/flows/seasonal-assistant/accepts-items-and-adds-to-their-cart/register.ts +7 -0
  16. package/templates/shopping-app/.context/server/server/src/domain/flows/seasonal-assistant/accepts-items-and-adds-to-their-cart/state.ts +47 -0
  17. package/templates/shopping-app/.context/server/server/src/domain/flows/seasonal-assistant/creates-a-chat-session-/react.specs.ts +51 -0
  18. package/templates/shopping-app/.context/server/server/src/domain/flows/seasonal-assistant/creates-a-chat-session-/react.ts +43 -0
  19. package/templates/shopping-app/.context/server/server/src/domain/flows/seasonal-assistant/creates-a-chat-session-/register.ts +24 -0
  20. package/templates/shopping-app/.context/server/server/src/domain/flows/seasonal-assistant/enters-shopping-criteria-into-assistant/commands.ts +8 -0
  21. package/templates/shopping-app/.context/server/server/src/domain/flows/seasonal-assistant/enters-shopping-criteria-into-assistant/decide.specs.ts +38 -0
  22. package/templates/shopping-app/.context/server/server/src/domain/flows/seasonal-assistant/enters-shopping-criteria-into-assistant/decide.ts +33 -0
  23. package/templates/shopping-app/.context/server/server/src/domain/flows/seasonal-assistant/enters-shopping-criteria-into-assistant/events.ts +10 -0
  24. package/templates/shopping-app/.context/server/server/src/domain/flows/seasonal-assistant/enters-shopping-criteria-into-assistant/evolve.ts +28 -0
  25. package/templates/shopping-app/.context/server/server/src/domain/flows/seasonal-assistant/enters-shopping-criteria-into-assistant/handle.ts +24 -0
  26. package/templates/shopping-app/.context/server/server/src/domain/flows/seasonal-assistant/enters-shopping-criteria-into-assistant/mutation.resolver.ts +25 -0
  27. package/templates/shopping-app/.context/server/server/src/domain/flows/seasonal-assistant/enters-shopping-criteria-into-assistant/register.ts +7 -0
  28. package/templates/shopping-app/.context/server/server/src/domain/flows/seasonal-assistant/enters-shopping-criteria-into-assistant/state.ts +47 -0
  29. package/templates/shopping-app/.context/server/server/src/domain/flows/seasonal-assistant/selects-items-relevant-to-the-shopping-criteria-/commands.ts +8 -0
  30. package/templates/shopping-app/.context/server/server/src/domain/flows/seasonal-assistant/selects-items-relevant-to-the-shopping-criteria-/decide.specs.ts +61 -0
  31. package/templates/shopping-app/.context/server/server/src/domain/flows/seasonal-assistant/selects-items-relevant-to-the-shopping-criteria-/decide.ts +35 -0
  32. package/templates/shopping-app/.context/server/server/src/domain/flows/seasonal-assistant/selects-items-relevant-to-the-shopping-criteria-/events.ts +9 -0
  33. package/templates/shopping-app/.context/server/server/src/domain/flows/seasonal-assistant/selects-items-relevant-to-the-shopping-criteria-/evolve.ts +28 -0
  34. package/templates/shopping-app/.context/server/server/src/domain/flows/seasonal-assistant/selects-items-relevant-to-the-shopping-criteria-/handle.ts +49 -0
  35. package/templates/shopping-app/.context/server/server/src/domain/flows/seasonal-assistant/selects-items-relevant-to-the-shopping-criteria-/mutation.resolver.ts +25 -0
  36. package/templates/shopping-app/.context/server/server/src/domain/flows/seasonal-assistant/selects-items-relevant-to-the-shopping-criteria-/register.ts +7 -0
  37. package/templates/shopping-app/.context/server/server/src/domain/flows/seasonal-assistant/selects-items-relevant-to-the-shopping-criteria-/state.ts +47 -0
  38. package/templates/shopping-app/.context/server/server/src/domain/flows/seasonal-assistant/views-suggested-items/projection.specs.ts +94 -0
  39. package/templates/shopping-app/.context/server/server/src/domain/flows/seasonal-assistant/views-suggested-items/projection.ts +37 -0
  40. package/templates/shopping-app/.context/server/server/src/domain/flows/seasonal-assistant/views-suggested-items/query.resolver.ts +56 -0
  41. package/templates/shopping-app/.context/server/server/src/domain/flows/seasonal-assistant/views-suggested-items/state.ts +4 -0
  42. package/templates/shopping-app/.context/server/server/src/domain/shared/ReadModel.ts +26 -0
  43. package/templates/shopping-app/{server/src/domain/shared/index.d.ts → .context/server/server/src/domain/shared/index.ts} +0 -1
  44. package/templates/shopping-app/{server/src/domain/shared/reactorSpecification.js → .context/server/server/src/domain/shared/reactorSpecification.ts} +116 -22
  45. package/templates/shopping-app/.context/server/server/src/domain/shared/sendCommand.ts +21 -0
  46. package/templates/shopping-app/{server/src/domain/shared/types.d.ts → .context/server/server/src/domain/shared/types.ts} +17 -5
  47. package/templates/shopping-app/.context/server/server/src/server.ts +43 -0
  48. package/templates/shopping-app/{server/src/utils/index.d.ts → .context/server/server/src/utils/index.ts} +0 -1
  49. package/templates/shopping-app/{server/src/utils/loadProjections.js → .context/server/server/src/utils/loadProjections.ts} +11 -6
  50. package/templates/shopping-app/.context/server/server/src/utils/loadRegisterFiles.ts +41 -0
  51. package/templates/shopping-app/{server/src/utils/loadResolvers.js → .context/server/server/src/utils/loadResolvers.ts} +16 -7
  52. package/templates/shopping-app/.context/server/server/tsconfig.json +13 -0
  53. package/templates/shopping-app/.context/server/server/vitest.config.ts +7 -0
  54. package/templates/shopping-app/auto.config.ts +78 -45
  55. package/templates/shopping-app/client/src/App.tsx +13 -13
  56. package/templates/shopping-app/client/src/components/molecules/QuantitySelector.tsx +4 -4
  57. package/templates/shopping-app/client/src/components/molecules/ShoppingCriteriaForm.tsx +4 -4
  58. package/templates/shopping-app/client/src/components/molecules/SuggestedItemCard.tsx +6 -6
  59. package/templates/shopping-app/client/src/components/organisms/AssistantChatInterface.tsx +3 -3
  60. package/templates/shopping-app/client/src/components/organisms/PageHeader.tsx +2 -3
  61. package/templates/shopping-app/client/src/components/organisms/SuggestedItemsList.tsx +3 -3
  62. package/templates/shopping-app/client/src/index.css +10 -14
  63. package/templates/shopping-app/client/src/pages/AssistantChatPage.tsx +4 -4
  64. package/templates/shopping-app/client/src/pages/SuggestedItemsPage.tsx +4 -4
  65. package/templates/shopping-app/example-integrations/product-catalogue/src/product-catalogue-integration.ts +122 -115
  66. package/templates/shopping-app/flows/shopping-assistant.flow.ts +0 -1
  67. package/templates/shopping-app/package.json +13 -10
  68. package/templates/shopping-app/server/package.json +1 -1
  69. package/templates/shopping-app/.env +0 -8
  70. package/templates/shopping-app/example-integrations/ai-chat-completion/.turbo/turbo-build.log +0 -4
  71. package/templates/shopping-app/example-integrations/ai-chat-completion/.turbo/turbo-format.log +0 -12
  72. package/templates/shopping-app/example-integrations/ai-chat-completion/.turbo/turbo-lint.log +0 -4
  73. package/templates/shopping-app/example-integrations/ai-chat-completion/.turbo/turbo-test.log +0 -12
  74. package/templates/shopping-app/example-integrations/ai-chat-completion/.turbo/turbo-type-check.log +0 -5
  75. package/templates/shopping-app/example-integrations/ai-chat-completion/dist/ai-integration.d.ts +0 -23
  76. package/templates/shopping-app/example-integrations/ai-chat-completion/dist/ai-integration.d.ts.map +0 -1
  77. package/templates/shopping-app/example-integrations/ai-chat-completion/dist/ai-integration.js +0 -41
  78. package/templates/shopping-app/example-integrations/ai-chat-completion/dist/ai-integration.js.map +0 -1
  79. package/templates/shopping-app/example-integrations/ai-chat-completion/dist/index.d.ts +0 -2
  80. package/templates/shopping-app/example-integrations/ai-chat-completion/dist/index.d.ts.map +0 -1
  81. package/templates/shopping-app/example-integrations/ai-chat-completion/dist/index.js +0 -2
  82. package/templates/shopping-app/example-integrations/ai-chat-completion/dist/index.js.map +0 -1
  83. package/templates/shopping-app/example-integrations/ai-chat-completion/node_modules/.bin/eslint +0 -21
  84. package/templates/shopping-app/example-integrations/ai-chat-completion/node_modules/.bin/jiti +0 -21
  85. package/templates/shopping-app/example-integrations/ai-chat-completion/node_modules/.bin/msw +0 -21
  86. package/templates/shopping-app/example-integrations/ai-chat-completion/node_modules/.bin/tsc +0 -21
  87. package/templates/shopping-app/example-integrations/ai-chat-completion/node_modules/.bin/tsserver +0 -21
  88. package/templates/shopping-app/example-integrations/ai-chat-completion/node_modules/.bin/vite +0 -21
  89. package/templates/shopping-app/example-integrations/ai-chat-completion/node_modules/.bin/vitest +0 -21
  90. package/templates/shopping-app/example-integrations/cart/.turbo/turbo-build.log +0 -4
  91. package/templates/shopping-app/example-integrations/cart/.turbo/turbo-format.log +0 -12
  92. package/templates/shopping-app/example-integrations/cart/.turbo/turbo-lint.log +0 -5
  93. package/templates/shopping-app/example-integrations/cart/.turbo/turbo-test.log +0 -12
  94. package/templates/shopping-app/example-integrations/cart/.turbo/turbo-type-check.log +0 -5
  95. package/templates/shopping-app/example-integrations/cart/dist/cart-integration.d.ts +0 -30
  96. package/templates/shopping-app/example-integrations/cart/dist/cart-integration.d.ts.map +0 -1
  97. package/templates/shopping-app/example-integrations/cart/dist/cart-integration.js +0 -134
  98. package/templates/shopping-app/example-integrations/cart/dist/cart-integration.js.map +0 -1
  99. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/client/client.gen.d.ts +0 -3
  100. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/client/client.gen.d.ts.map +0 -1
  101. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/client/client.gen.js +0 -149
  102. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/client/client.gen.js.map +0 -1
  103. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/client/index.d.ts +0 -8
  104. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/client/index.d.ts.map +0 -1
  105. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/client/index.js +0 -6
  106. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/client/index.js.map +0 -1
  107. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/client/types.gen.d.ts +0 -123
  108. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/client/types.gen.d.ts.map +0 -1
  109. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/client/types.gen.js +0 -3
  110. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/client/types.gen.js.map +0 -1
  111. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/client/utils.gen.d.ts +0 -46
  112. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/client/utils.gen.d.ts.map +0 -1
  113. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/client/utils.gen.js +0 -285
  114. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/client/utils.gen.js.map +0 -1
  115. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/client.gen.d.ts +0 -13
  116. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/client.gen.d.ts.map +0 -1
  117. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/client.gen.js +0 -6
  118. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/client.gen.js.map +0 -1
  119. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/core/auth.gen.d.ts +0 -19
  120. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/core/auth.gen.d.ts.map +0 -1
  121. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/core/auth.gen.js +0 -15
  122. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/core/auth.gen.js.map +0 -1
  123. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/core/bodySerializer.gen.d.ts +0 -18
  124. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/core/bodySerializer.gen.d.ts.map +0 -1
  125. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/core/bodySerializer.gen.js +0 -58
  126. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/core/bodySerializer.gen.js.map +0 -1
  127. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/core/params.gen.d.ts +0 -34
  128. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/core/params.gen.d.ts.map +0 -1
  129. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/core/params.gen.js +0 -89
  130. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/core/params.gen.js.map +0 -1
  131. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/core/pathSerializer.gen.d.ts +0 -34
  132. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/core/pathSerializer.gen.d.ts.map +0 -1
  133. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/core/pathSerializer.gen.js +0 -115
  134. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/core/pathSerializer.gen.js.map +0 -1
  135. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/core/types.gen.d.ts +0 -79
  136. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/core/types.gen.d.ts.map +0 -1
  137. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/core/types.gen.js +0 -3
  138. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/core/types.gen.js.map +0 -1
  139. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/index.d.ts +0 -2
  140. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/index.d.ts.map +0 -1
  141. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/index.js +0 -3
  142. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/index.js.map +0 -1
  143. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/types.gen.d.ts +0 -158
  144. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/types.gen.d.ts.map +0 -1
  145. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/types.gen.js +0 -3
  146. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/types.gen.js.map +0 -1
  147. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/zod.gen.d.ts +0 -382
  148. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/zod.gen.d.ts.map +0 -1
  149. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/zod.gen.js +0 -68
  150. package/templates/shopping-app/example-integrations/cart/dist/generated/cart/zod.gen.js.map +0 -1
  151. package/templates/shopping-app/example-integrations/cart/dist/index.d.ts +0 -2
  152. package/templates/shopping-app/example-integrations/cart/dist/index.d.ts.map +0 -1
  153. package/templates/shopping-app/example-integrations/cart/dist/index.js +0 -2
  154. package/templates/shopping-app/example-integrations/cart/dist/index.js.map +0 -1
  155. package/templates/shopping-app/example-integrations/cart/node_modules/.bin/eslint +0 -21
  156. package/templates/shopping-app/example-integrations/cart/node_modules/.bin/jiti +0 -21
  157. package/templates/shopping-app/example-integrations/cart/node_modules/.bin/msw +0 -21
  158. package/templates/shopping-app/example-integrations/cart/node_modules/.bin/tsc +0 -21
  159. package/templates/shopping-app/example-integrations/cart/node_modules/.bin/tsserver +0 -21
  160. package/templates/shopping-app/example-integrations/cart/node_modules/.bin/vitest +0 -21
  161. package/templates/shopping-app/example-integrations/cart-api/.turbo/turbo-build.log +0 -4
  162. package/templates/shopping-app/example-integrations/cart-api/.turbo/turbo-format.log +0 -10
  163. package/templates/shopping-app/example-integrations/cart-api/.turbo/turbo-lint.log +0 -4
  164. package/templates/shopping-app/example-integrations/cart-api/.turbo/turbo-test.log +0 -12
  165. package/templates/shopping-app/example-integrations/cart-api/.turbo/turbo-type-check.log +0 -4
  166. package/templates/shopping-app/example-integrations/cart-api/dist/data/cart.d.ts +0 -18
  167. package/templates/shopping-app/example-integrations/cart-api/dist/data/cart.d.ts.map +0 -1
  168. package/templates/shopping-app/example-integrations/cart-api/dist/data/cart.js +0 -28
  169. package/templates/shopping-app/example-integrations/cart-api/dist/data/cart.js.map +0 -1
  170. package/templates/shopping-app/example-integrations/cart-api/dist/index.d.ts +0 -4
  171. package/templates/shopping-app/example-integrations/cart-api/dist/index.d.ts.map +0 -1
  172. package/templates/shopping-app/example-integrations/cart-api/dist/index.js +0 -49
  173. package/templates/shopping-app/example-integrations/cart-api/dist/index.js.map +0 -1
  174. package/templates/shopping-app/example-integrations/cart-api/dist/routes/cart.d.ts +0 -4
  175. package/templates/shopping-app/example-integrations/cart-api/dist/routes/cart.d.ts.map +0 -1
  176. package/templates/shopping-app/example-integrations/cart-api/dist/routes/cart.js +0 -261
  177. package/templates/shopping-app/example-integrations/cart-api/dist/routes/cart.js.map +0 -1
  178. package/templates/shopping-app/example-integrations/cart-api/node_modules/.bin/nodemon +0 -21
  179. package/templates/shopping-app/example-integrations/cart-api/node_modules/.bin/swagger-jsdoc +0 -21
  180. package/templates/shopping-app/example-integrations/cart-api/node_modules/.bin/ts-node +0 -21
  181. package/templates/shopping-app/example-integrations/cart-api/node_modules/.bin/ts-node-cwd +0 -21
  182. package/templates/shopping-app/example-integrations/cart-api/node_modules/.bin/ts-node-esm +0 -21
  183. package/templates/shopping-app/example-integrations/cart-api/node_modules/.bin/ts-node-script +0 -21
  184. package/templates/shopping-app/example-integrations/cart-api/node_modules/.bin/ts-node-transpile-only +0 -21
  185. package/templates/shopping-app/example-integrations/cart-api/node_modules/.bin/ts-script +0 -21
  186. package/templates/shopping-app/example-integrations/cart-api/node_modules/.bin/tsc +0 -21
  187. package/templates/shopping-app/example-integrations/cart-api/node_modules/.bin/tsserver +0 -21
  188. package/templates/shopping-app/example-integrations/cart-api/node_modules/.bin/tsx +0 -21
  189. package/templates/shopping-app/example-integrations/cart-api/node_modules/.bin/vitest +0 -21
  190. package/templates/shopping-app/example-integrations/product-catalogue/.turbo/turbo-build.log +0 -4
  191. package/templates/shopping-app/example-integrations/product-catalogue/.turbo/turbo-format.log +0 -12
  192. package/templates/shopping-app/example-integrations/product-catalogue/.turbo/turbo-lint.log +0 -5
  193. package/templates/shopping-app/example-integrations/product-catalogue/.turbo/turbo-test.log +0 -12
  194. package/templates/shopping-app/example-integrations/product-catalogue/.turbo/turbo-type-check.log +0 -5
  195. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/client/client.gen.d.ts +0 -3
  196. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/client/client.gen.d.ts.map +0 -1
  197. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/client/client.gen.js +0 -149
  198. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/client/client.gen.js.map +0 -1
  199. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/client/index.d.ts +0 -8
  200. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/client/index.d.ts.map +0 -1
  201. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/client/index.js +0 -6
  202. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/client/index.js.map +0 -1
  203. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/client/types.gen.d.ts +0 -123
  204. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/client/types.gen.d.ts.map +0 -1
  205. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/client/types.gen.js +0 -3
  206. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/client/types.gen.js.map +0 -1
  207. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/client/utils.gen.d.ts +0 -46
  208. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/client/utils.gen.d.ts.map +0 -1
  209. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/client/utils.gen.js +0 -285
  210. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/client/utils.gen.js.map +0 -1
  211. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/client.gen.d.ts +0 -13
  212. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/client.gen.d.ts.map +0 -1
  213. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/client.gen.js +0 -6
  214. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/client.gen.js.map +0 -1
  215. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/core/auth.gen.d.ts +0 -19
  216. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/core/auth.gen.d.ts.map +0 -1
  217. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/core/auth.gen.js +0 -15
  218. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/core/auth.gen.js.map +0 -1
  219. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/core/bodySerializer.gen.d.ts +0 -18
  220. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/core/bodySerializer.gen.d.ts.map +0 -1
  221. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/core/bodySerializer.gen.js +0 -58
  222. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/core/bodySerializer.gen.js.map +0 -1
  223. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/core/params.gen.d.ts +0 -34
  224. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/core/params.gen.d.ts.map +0 -1
  225. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/core/params.gen.js +0 -89
  226. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/core/params.gen.js.map +0 -1
  227. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/core/pathSerializer.gen.d.ts +0 -34
  228. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/core/pathSerializer.gen.d.ts.map +0 -1
  229. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/core/pathSerializer.gen.js +0 -115
  230. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/core/pathSerializer.gen.js.map +0 -1
  231. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/core/types.gen.d.ts +0 -79
  232. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/core/types.gen.d.ts.map +0 -1
  233. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/core/types.gen.js +0 -3
  234. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/core/types.gen.js.map +0 -1
  235. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/index.d.ts +0 -2
  236. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/index.d.ts.map +0 -1
  237. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/index.js +0 -3
  238. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/index.js.map +0 -1
  239. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/types.gen.d.ts +0 -115
  240. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/types.gen.d.ts.map +0 -1
  241. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/types.gen.js +0 -3
  242. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/types.gen.js.map +0 -1
  243. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/zod.gen.d.ts +0 -206
  244. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/zod.gen.d.ts.map +0 -1
  245. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/zod.gen.js +0 -53
  246. package/templates/shopping-app/example-integrations/product-catalogue/dist/generated/product-catalog/zod.gen.js.map +0 -1
  247. package/templates/shopping-app/example-integrations/product-catalogue/dist/index.d.ts +0 -2
  248. package/templates/shopping-app/example-integrations/product-catalogue/dist/index.d.ts.map +0 -1
  249. package/templates/shopping-app/example-integrations/product-catalogue/dist/index.js +0 -2
  250. package/templates/shopping-app/example-integrations/product-catalogue/dist/index.js.map +0 -1
  251. package/templates/shopping-app/example-integrations/product-catalogue/dist/product-catalogue-integration.d.ts +0 -32
  252. package/templates/shopping-app/example-integrations/product-catalogue/dist/product-catalogue-integration.d.ts.map +0 -1
  253. package/templates/shopping-app/example-integrations/product-catalogue/dist/product-catalogue-integration.js +0 -163
  254. package/templates/shopping-app/example-integrations/product-catalogue/dist/product-catalogue-integration.js.map +0 -1
  255. package/templates/shopping-app/example-integrations/product-catalogue/node_modules/.bin/eslint +0 -21
  256. package/templates/shopping-app/example-integrations/product-catalogue/node_modules/.bin/jiti +0 -21
  257. package/templates/shopping-app/example-integrations/product-catalogue/node_modules/.bin/msw +0 -21
  258. package/templates/shopping-app/example-integrations/product-catalogue/node_modules/.bin/tsc +0 -21
  259. package/templates/shopping-app/example-integrations/product-catalogue/node_modules/.bin/tsserver +0 -21
  260. package/templates/shopping-app/example-integrations/product-catalogue/node_modules/.bin/vitest +0 -21
  261. package/templates/shopping-app/example-integrations/product-catalogue-api/.turbo/turbo-build.log +0 -4
  262. package/templates/shopping-app/example-integrations/product-catalogue-api/.turbo/turbo-format.log +0 -10
  263. package/templates/shopping-app/example-integrations/product-catalogue-api/.turbo/turbo-lint.log +0 -5
  264. package/templates/shopping-app/example-integrations/product-catalogue-api/.turbo/turbo-test.log +0 -13
  265. package/templates/shopping-app/example-integrations/product-catalogue-api/.turbo/turbo-type-check.log +0 -5
  266. package/templates/shopping-app/example-integrations/product-catalogue-api/dist/data/products.d.ts +0 -10
  267. package/templates/shopping-app/example-integrations/product-catalogue-api/dist/data/products.d.ts.map +0 -1
  268. package/templates/shopping-app/example-integrations/product-catalogue-api/dist/data/products.js +0 -75
  269. package/templates/shopping-app/example-integrations/product-catalogue-api/dist/data/products.js.map +0 -1
  270. package/templates/shopping-app/example-integrations/product-catalogue-api/dist/index.d.ts +0 -4
  271. package/templates/shopping-app/example-integrations/product-catalogue-api/dist/index.d.ts.map +0 -1
  272. package/templates/shopping-app/example-integrations/product-catalogue-api/dist/index.js +0 -49
  273. package/templates/shopping-app/example-integrations/product-catalogue-api/dist/index.js.map +0 -1
  274. package/templates/shopping-app/example-integrations/product-catalogue-api/dist/routes/products.d.ts +0 -4
  275. package/templates/shopping-app/example-integrations/product-catalogue-api/dist/routes/products.d.ts.map +0 -1
  276. package/templates/shopping-app/example-integrations/product-catalogue-api/dist/routes/products.js +0 -170
  277. package/templates/shopping-app/example-integrations/product-catalogue-api/dist/routes/products.js.map +0 -1
  278. package/templates/shopping-app/example-integrations/product-catalogue-api/node_modules/.bin/nodemon +0 -21
  279. package/templates/shopping-app/example-integrations/product-catalogue-api/node_modules/.bin/swagger-jsdoc +0 -21
  280. package/templates/shopping-app/example-integrations/product-catalogue-api/node_modules/.bin/ts-node +0 -21
  281. package/templates/shopping-app/example-integrations/product-catalogue-api/node_modules/.bin/ts-node-cwd +0 -21
  282. package/templates/shopping-app/example-integrations/product-catalogue-api/node_modules/.bin/ts-node-esm +0 -21
  283. package/templates/shopping-app/example-integrations/product-catalogue-api/node_modules/.bin/ts-node-script +0 -21
  284. package/templates/shopping-app/example-integrations/product-catalogue-api/node_modules/.bin/ts-node-transpile-only +0 -21
  285. package/templates/shopping-app/example-integrations/product-catalogue-api/node_modules/.bin/ts-script +0 -21
  286. package/templates/shopping-app/example-integrations/product-catalogue-api/node_modules/.bin/tsc +0 -21
  287. package/templates/shopping-app/example-integrations/product-catalogue-api/node_modules/.bin/tsserver +0 -21
  288. package/templates/shopping-app/example-integrations/product-catalogue-api/node_modules/.bin/tsx +0 -21
  289. package/templates/shopping-app/example-integrations/product-catalogue-api/node_modules/.bin/vitest +0 -21
  290. package/templates/shopping-app/pnpm-workspace.yaml +0 -2
  291. package/templates/shopping-app/server/src/domain/shared/ReadModel.d.ts +0 -10
  292. package/templates/shopping-app/server/src/domain/shared/ReadModel.d.ts.map +0 -1
  293. package/templates/shopping-app/server/src/domain/shared/ReadModel.js +0 -19
  294. package/templates/shopping-app/server/src/domain/shared/ReadModel.js.map +0 -1
  295. package/templates/shopping-app/server/src/domain/shared/index.d.ts.map +0 -1
  296. package/templates/shopping-app/server/src/domain/shared/index.js +0 -5
  297. package/templates/shopping-app/server/src/domain/shared/index.js.map +0 -1
  298. package/templates/shopping-app/server/src/domain/shared/reactorSpecification.d.ts +0 -56
  299. package/templates/shopping-app/server/src/domain/shared/reactorSpecification.d.ts.map +0 -1
  300. package/templates/shopping-app/server/src/domain/shared/reactorSpecification.js.map +0 -1
  301. package/templates/shopping-app/server/src/domain/shared/sendCommand.d.ts +0 -7
  302. package/templates/shopping-app/server/src/domain/shared/sendCommand.d.ts.map +0 -1
  303. package/templates/shopping-app/server/src/domain/shared/sendCommand.js +0 -16
  304. package/templates/shopping-app/server/src/domain/shared/sendCommand.js.map +0 -1
  305. package/templates/shopping-app/server/src/domain/shared/types.d.ts.map +0 -1
  306. package/templates/shopping-app/server/src/domain/shared/types.js +0 -40
  307. package/templates/shopping-app/server/src/domain/shared/types.js.map +0 -1
  308. package/templates/shopping-app/server/src/utils/index.d.ts.map +0 -1
  309. package/templates/shopping-app/server/src/utils/index.js +0 -4
  310. package/templates/shopping-app/server/src/utils/index.js.map +0 -1
  311. package/templates/shopping-app/server/src/utils/loadProjections.d.ts +0 -3
  312. package/templates/shopping-app/server/src/utils/loadProjections.d.ts.map +0 -1
  313. package/templates/shopping-app/server/src/utils/loadProjections.js.map +0 -1
  314. package/templates/shopping-app/server/src/utils/loadRegisterFiles.d.ts +0 -6
  315. package/templates/shopping-app/server/src/utils/loadRegisterFiles.d.ts.map +0 -1
  316. package/templates/shopping-app/server/src/utils/loadRegisterFiles.js +0 -26
  317. package/templates/shopping-app/server/src/utils/loadRegisterFiles.js.map +0 -1
  318. package/templates/shopping-app/server/src/utils/loadResolvers.d.ts +0 -5
  319. package/templates/shopping-app/server/src/utils/loadResolvers.d.ts.map +0 -1
  320. package/templates/shopping-app/server/src/utils/loadResolvers.js.map +0 -1
@@ -1,32 +0,0 @@
1
- import type { State, Integration } from '@auto-engineer/flow';
2
- import type { ProductCatalogItem } from './generated/product-catalog';
3
- export type Product = ProductCatalogItem;
4
- export type Products = State<'Products', {
5
- products: Product[];
6
- }>;
7
- export type ProductsByCategory = State<'ProductsByCategory', {
8
- category: string;
9
- products: Product[];
10
- }>;
11
- export type ProductSearchResults = State<'ProductSearchResults', {
12
- query: string;
13
- products: Product[];
14
- }>;
15
- export type ProductDetails = State<'ProductDetails', {
16
- product: Product | null;
17
- }>;
18
- type ProductCatalogQueries = {
19
- Products: () => Promise<Products>;
20
- ProductsByCategory: (params: {
21
- category: string;
22
- }) => Promise<ProductsByCategory>;
23
- ProductSearchResults: (params: {
24
- query: string;
25
- }) => Promise<ProductSearchResults>;
26
- ProductDetails: (params: {
27
- id: string;
28
- }) => Promise<ProductDetails>;
29
- };
30
- export declare const ProductCatalog: Integration<'product-catalog', ProductCatalogQueries>;
31
- export {};
32
- //# sourceMappingURL=product-catalogue-integration.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"product-catalogue-integration.d.ts","sourceRoot":"","sources":["../src/product-catalogue-integration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAI9D,OAAO,KAAK,EACV,kBAAkB,EAOnB,MAAM,6BAA6B,CAAC;AAQrC,MAAM,MAAM,OAAO,GAAG,kBAAkB,CAAC;AAEzC,MAAM,MAAM,QAAQ,GAAG,KAAK,CAAC,UAAU,EAAE;IAAE,QAAQ,EAAE,OAAO,EAAE,CAAA;CAAE,CAAC,CAAC;AAClE,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,oBAAoB,EAAE;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,OAAO,EAAE,CAAA;CAAE,CAAC,CAAC;AACxG,MAAM,MAAM,oBAAoB,GAAG,KAAK,CAAC,sBAAsB,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,OAAO,EAAE,CAAA;CAAE,CAAC,CAAC;AACzG,MAAM,MAAM,cAAc,GAAG,KAAK,CAAC,gBAAgB,EAAE;IAAE,OAAO,EAAE,OAAO,GAAG,IAAI,CAAA;CAAE,CAAC,CAAC;AAQlF,KAAK,qBAAqB,GAAG;IAC3B,QAAQ,EAAE,MAAM,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClC,kBAAkB,EAAE,CAAC,MAAM,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,KAAK,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAClF,oBAAoB,EAAE,CAAC,MAAM,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,KAAK,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACnF,cAAc,EAAE,CAAC,MAAM,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,KAAK,OAAO,CAAC,cAAc,CAAC,CAAC;CACrE,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,WAAW,CAAC,iBAAiB,EAAE,qBAAqB,CAsEhF,CAAC"}
@@ -1,163 +0,0 @@
1
- import { registerTool, z } from '@auto-engineer/ai-gateway';
2
- import { createClient } from './generated/product-catalog/client';
3
- import { zGetApiProductsResponse, zGetApiProductsSearchResponse, zGetApiProductsCategoryByCategoryResponse, zGetApiProductsByIdResponse, } from './generated/product-catalog/zod.gen';
4
- // ---------- Generated client instance ----------
5
- const productClient = createClient({
6
- baseUrl: 'http://localhost:3001',
7
- });
8
- export const ProductCatalog = {
9
- __brand: 'Integration',
10
- type: 'product-catalog',
11
- name: 'product-catalog',
12
- Queries: {
13
- // GET /api/products
14
- Products: async () => {
15
- try {
16
- const res = await productClient.get({
17
- url: '/api/products',
18
- });
19
- if (res.error !== undefined)
20
- console.error('Failed to fetch products:', res.error);
21
- return { type: 'Products', data: { products: res.data ?? [] } };
22
- }
23
- catch (err) {
24
- console.error('Failed to fetch products:', err);
25
- return { type: 'Products', data: { products: [] } };
26
- }
27
- },
28
- // GET /api/products/category/{category}
29
- ProductsByCategory: async ({ category }) => {
30
- try {
31
- const res = await productClient.get({
32
- url: '/api/products/category/{category}',
33
- path: { category },
34
- });
35
- if (res.error !== undefined)
36
- console.error(`Category "${category}" error:`, res.error);
37
- return { type: 'ProductsByCategory', data: { category, products: res.data ?? [] } };
38
- }
39
- catch (err) {
40
- console.error(`Failed to fetch products for category ${category}:`, err);
41
- return { type: 'ProductsByCategory', data: { category, products: [] } };
42
- }
43
- },
44
- // GET /api/products/search?q=...
45
- ProductSearchResults: async ({ query }) => {
46
- try {
47
- const res = await productClient.get({
48
- url: '/api/products/search',
49
- query: { q: query },
50
- });
51
- if (res.error !== undefined)
52
- console.error(`Search "${query}" error:`, res.error);
53
- return { type: 'ProductSearchResults', data: { query, products: res.data ?? [] } };
54
- }
55
- catch (err) {
56
- console.error(`Failed to search products with query "${query}":`, err);
57
- return { type: 'ProductSearchResults', data: { query, products: [] } };
58
- }
59
- },
60
- // GET /api/products/{id}
61
- ProductDetails: async ({ id }) => {
62
- try {
63
- const res = await productClient.get({
64
- url: '/api/products/{id}',
65
- path: { id },
66
- });
67
- if (res.response.status === 404 || res.error !== undefined) {
68
- if (res.response.status !== 404) {
69
- console.error(`Error fetching product "${id}":`, res.error);
70
- }
71
- return { type: 'ProductDetails', data: { product: null } };
72
- }
73
- return { type: 'ProductDetails', data: { product: res.data ?? null } };
74
- }
75
- catch (err) {
76
- console.error(`Failed to fetch product details for ID ${id}:`, err);
77
- return { type: 'ProductDetails', data: { product: null } };
78
- }
79
- },
80
- },
81
- };
82
- // ---------- MCP tools ----------
83
- // All products
84
- registerTool('PRODUCT_CATALOGUE_PRODUCTS', {
85
- title: 'Get All Products',
86
- description: 'Fetches all products from the product catalog',
87
- inputSchema: {},
88
- schema: zGetApiProductsResponse,
89
- schemaName: 'GetApiProductsResponse',
90
- schemaDescription: 'Array of ProductCatalogItem',
91
- }, async () => {
92
- const queries = ProductCatalog.Queries;
93
- if (queries?.Products == null) {
94
- return {
95
- content: [{ type: 'text', text: 'ProductCatalog.Queries.Products is not available' }],
96
- isError: true,
97
- };
98
- }
99
- const productsQuery = queries.Products;
100
- const result = await productsQuery();
101
- return { content: [{ type: 'text', text: JSON.stringify(result.data.products, null, 2) }] };
102
- });
103
- registerTool('PRODUCT_CATALOGUE_PRODUCTS_BY_CATEGORY', {
104
- title: 'Get Products by Category',
105
- description: 'Fetches products from a specific category',
106
- inputSchema: { category: z.string().min(1, 'Category is required') },
107
- schema: zGetApiProductsCategoryByCategoryResponse,
108
- schemaName: 'GetApiProductsCategoryByCategoryResponse',
109
- schemaDescription: 'Array of ProductCatalogItem',
110
- }, async ({ category }) => {
111
- const queries = ProductCatalog.Queries;
112
- if (queries?.ProductsByCategory == null) {
113
- return {
114
- content: [{ type: 'text', text: 'ProductCatalog.Queries.ProductsByCategory is not available' }],
115
- isError: true,
116
- };
117
- }
118
- const categoryQuery = queries.ProductsByCategory;
119
- const result = await categoryQuery({ category });
120
- return { content: [{ type: 'text', text: JSON.stringify(result.data.products, null, 2) }] };
121
- });
122
- registerTool('PRODUCT_CATALOGUE_SEARCH', {
123
- title: 'Search Products',
124
- description: 'Search for products using a query string',
125
- inputSchema: { query: z.string().min(1, 'Search query is required') },
126
- schema: zGetApiProductsSearchResponse,
127
- schemaName: 'GetApiProductsSearchResponse',
128
- schemaDescription: 'Array of ProductCatalogItem',
129
- }, async ({ query }) => {
130
- const queries = ProductCatalog.Queries;
131
- if (queries?.ProductSearchResults == null) {
132
- return {
133
- content: [{ type: 'text', text: 'ProductCatalog.Queries.ProductSearchResults is not available' }],
134
- isError: true,
135
- };
136
- }
137
- const searchQuery = queries.ProductSearchResults;
138
- const result = await searchQuery({ query });
139
- return { content: [{ type: 'text', text: JSON.stringify(result.data.products, null, 2) }] };
140
- });
141
- registerTool('PRODUCT_CATALOGUE_PRODUCT_DETAILS', {
142
- title: 'Get Product Details',
143
- description: 'Fetches detailed information about a specific product',
144
- inputSchema: { id: z.string().min(1, 'Product ID is required') },
145
- schema: zGetApiProductsByIdResponse,
146
- schemaName: 'GetApiProductsByIdResponse',
147
- schemaDescription: 'Single ProductCatalogItem',
148
- }, async ({ id }) => {
149
- const queries = ProductCatalog.Queries;
150
- if (queries?.ProductDetails == null) {
151
- return {
152
- content: [{ type: 'text', text: 'ProductCatalog.Queries.ProductDetails is not available' }],
153
- isError: true,
154
- };
155
- }
156
- const detailsQuery = queries.ProductDetails;
157
- const result = await detailsQuery({ id });
158
- if (result.data.product === null) {
159
- return { content: [{ type: 'text', text: `Product with ID "${id}" not found` }], isError: true };
160
- }
161
- return { content: [{ type: 'text', text: JSON.stringify(result.data.product, null, 2) }] };
162
- });
163
- //# sourceMappingURL=product-catalogue-integration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"product-catalogue-integration.js","sourceRoot":"","sources":["../src/product-catalogue-integration.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,CAAC,EAAE,MAAM,2BAA2B,CAAC;AAE5D,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAUlE,OAAO,EACL,uBAAuB,EACvB,6BAA6B,EAC7B,yCAAyC,EACzC,2BAA2B,GAC5B,MAAM,qCAAqC,CAAC;AAS7C,kDAAkD;AAClD,MAAM,aAAa,GAAG,YAAY,CAAC;IACjC,OAAO,EAAE,uBAAuB;CACjC,CAAC,CAAC;AAUH,MAAM,CAAC,MAAM,cAAc,GAA0D;IACnF,OAAO,EAAE,aAAsB;IAC/B,IAAI,EAAE,iBAA0B;IAChC,IAAI,EAAE,iBAAiB;IAEvB,OAAO,EAAE;QACP,oBAAoB;QACpB,QAAQ,EAAE,KAAK,IAAuB,EAAE;YACtC,IAAI,CAAC;gBACH,MAAM,GAAG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ACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAe,EAAE,IAAI,EAAE,wDAAwD,EAAE,CAAC;YACpG,OAAO,EAAE,IAAI;SACd,CAAC;IACJ,CAAC;IACD,MAAM,YAAY,GAAG,OAAO,CAAC,cAAc,CAAC;IAC5C,MAAM,MAAM,GAAG,MAAM,YAAY,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1C,IAAI,MAAM,CAAC,IAAI,CAAC,OAAO,KAAK,IAAI,EAAE,CAAC;QACjC,OAAO,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAe,EAAE,IAAI,EAAE,oBAAoB,EAAE,aAAa,EAAE,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IAC5G,CAAC;IACD,OAAO,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAe,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC;AACtG,CAAC,CACF,CAAC"}
@@ -1,21 +0,0 @@
1
- #!/bin/sh
2
- basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
-
4
- case `uname` in
5
- *CYGWIN*|*MINGW*|*MSYS*)
6
- if command -v cygpath > /dev/null 2>&1; then
7
- basedir=`cygpath -w "$basedir"`
8
- fi
9
- ;;
10
- esac
11
-
12
- if [ -z "$NODE_PATH" ]; then
13
- export NODE_PATH="/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/eslint@9.34.0_jiti@2.5.1/node_modules/eslint/bin/node_modules:/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/eslint@9.34.0_jiti@2.5.1/node_modules/eslint/node_modules:/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/eslint@9.34.0_jiti@2.5.1/node_modules:/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/node_modules"
14
- else
15
- export NODE_PATH="/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/eslint@9.34.0_jiti@2.5.1/node_modules/eslint/bin/node_modules:/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/eslint@9.34.0_jiti@2.5.1/node_modules/eslint/node_modules:/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/eslint@9.34.0_jiti@2.5.1/node_modules:/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/node_modules:$NODE_PATH"
16
- fi
17
- if [ -x "$basedir/node" ]; then
18
- exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/eslint@9.34.0_jiti@2.5.1/node_modules/eslint/bin/eslint.js" "$@"
19
- else
20
- exec node "$basedir/../../../../node_modules/.pnpm/eslint@9.34.0_jiti@2.5.1/node_modules/eslint/bin/eslint.js" "$@"
21
- fi
@@ -1,21 +0,0 @@
1
- #!/bin/sh
2
- basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
-
4
- case `uname` in
5
- *CYGWIN*|*MINGW*|*MSYS*)
6
- if command -v cygpath > /dev/null 2>&1; then
7
- basedir=`cygpath -w "$basedir"`
8
- fi
9
- ;;
10
- esac
11
-
12
- if [ -z "$NODE_PATH" ]; then
13
- export NODE_PATH="/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/jiti@2.5.1/node_modules/jiti/lib/node_modules:/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/jiti@2.5.1/node_modules/jiti/node_modules:/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/jiti@2.5.1/node_modules:/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/node_modules"
14
- else
15
- export NODE_PATH="/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/jiti@2.5.1/node_modules/jiti/lib/node_modules:/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/jiti@2.5.1/node_modules/jiti/node_modules:/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/jiti@2.5.1/node_modules:/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/node_modules:$NODE_PATH"
16
- fi
17
- if [ -x "$basedir/node" ]; then
18
- exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/jiti@2.5.1/node_modules/jiti/lib/jiti-cli.mjs" "$@"
19
- else
20
- exec node "$basedir/../../../../node_modules/.pnpm/jiti@2.5.1/node_modules/jiti/lib/jiti-cli.mjs" "$@"
21
- fi
@@ -1,21 +0,0 @@
1
- #!/bin/sh
2
- basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
-
4
- case `uname` in
5
- *CYGWIN*|*MINGW*|*MSYS*)
6
- if command -v cygpath > /dev/null 2>&1; then
7
- basedir=`cygpath -w "$basedir"`
8
- fi
9
- ;;
10
- esac
11
-
12
- if [ -z "$NODE_PATH" ]; then
13
- export NODE_PATH="/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/msw@2.10.4_@types+node@24.3.0_typescript@5.8.3/node_modules/msw/cli/node_modules:/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/msw@2.10.4_@types+node@24.3.0_typescript@5.8.3/node_modules/msw/node_modules:/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/msw@2.10.4_@types+node@24.3.0_typescript@5.8.3/node_modules:/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/node_modules"
14
- else
15
- export NODE_PATH="/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/msw@2.10.4_@types+node@24.3.0_typescript@5.8.3/node_modules/msw/cli/node_modules:/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/msw@2.10.4_@types+node@24.3.0_typescript@5.8.3/node_modules/msw/node_modules:/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/msw@2.10.4_@types+node@24.3.0_typescript@5.8.3/node_modules:/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/node_modules:$NODE_PATH"
16
- fi
17
- if [ -x "$basedir/node" ]; then
18
- exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/msw@2.10.4_@types+node@24.3.0_typescript@5.8.3/node_modules/msw/cli/index.js" "$@"
19
- else
20
- exec node "$basedir/../../../../node_modules/.pnpm/msw@2.10.4_@types+node@24.3.0_typescript@5.8.3/node_modules/msw/cli/index.js" "$@"
21
- fi
@@ -1,21 +0,0 @@
1
- #!/bin/sh
2
- basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
-
4
- case `uname` in
5
- *CYGWIN*|*MINGW*|*MSYS*)
6
- if command -v cygpath > /dev/null 2>&1; then
7
- basedir=`cygpath -w "$basedir"`
8
- fi
9
- ;;
10
- esac
11
-
12
- if [ -z "$NODE_PATH" ]; then
13
- export NODE_PATH="/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/bin/node_modules:/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/node_modules:/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/typescript@5.8.3/node_modules:/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/node_modules"
14
- else
15
- export NODE_PATH="/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/bin/node_modules:/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/node_modules:/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/typescript@5.8.3/node_modules:/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/node_modules:$NODE_PATH"
16
- fi
17
- if [ -x "$basedir/node" ]; then
18
- exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/bin/tsc" "$@"
19
- else
20
- exec node "$basedir/../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/bin/tsc" "$@"
21
- fi
@@ -1,21 +0,0 @@
1
- #!/bin/sh
2
- basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
-
4
- case `uname` in
5
- *CYGWIN*|*MINGW*|*MSYS*)
6
- if command -v cygpath > /dev/null 2>&1; then
7
- basedir=`cygpath -w "$basedir"`
8
- fi
9
- ;;
10
- esac
11
-
12
- if [ -z "$NODE_PATH" ]; then
13
- export NODE_PATH="/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/bin/node_modules:/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/node_modules:/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/typescript@5.8.3/node_modules:/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/node_modules"
14
- else
15
- export NODE_PATH="/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/bin/node_modules:/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/node_modules:/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/typescript@5.8.3/node_modules:/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/node_modules:$NODE_PATH"
16
- fi
17
- if [ -x "$basedir/node" ]; then
18
- exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/bin/tsserver" "$@"
19
- else
20
- exec node "$basedir/../../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/bin/tsserver" "$@"
21
- fi
@@ -1,21 +0,0 @@
1
- #!/bin/sh
2
- basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
-
4
- case `uname` in
5
- *CYGWIN*|*MINGW*|*MSYS*)
6
- if command -v cygpath > /dev/null 2>&1; then
7
- basedir=`cygpath -w "$basedir"`
8
- fi
9
- ;;
10
- esac
11
-
12
- if [ -z "$NODE_PATH" ]; then
13
- export NODE_PATH="/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/vitest@3.2.4_@types+debug@4.1.12_@types+node@22.18.0_jsdom@26.1.0/node_modules/vitest/node_modules:/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/vitest@3.2.4_@types+debug@4.1.12_@types+node@22.18.0_jsdom@26.1.0/node_modules:/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/node_modules"
14
- else
15
- export NODE_PATH="/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/vitest@3.2.4_@types+debug@4.1.12_@types+node@22.18.0_jsdom@26.1.0/node_modules/vitest/node_modules:/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/vitest@3.2.4_@types+debug@4.1.12_@types+node@22.18.0_jsdom@26.1.0/node_modules:/Users/sam/WebstormProjects/top/auto-engineer/node_modules/.pnpm/node_modules:$NODE_PATH"
16
- fi
17
- if [ -x "$basedir/node" ]; then
18
- exec "$basedir/node" "$basedir/../vitest/vitest.mjs" "$@"
19
- else
20
- exec node "$basedir/../vitest/vitest.mjs" "$@"
21
- fi
@@ -1,4 +0,0 @@
1
-
2
- > @examples/product-catalogue-service@0.0.1 build /Users/sam/WebstormProjects/top/auto-engineer/examples/product-catalogue-api
3
- > tsc
4
-
@@ -1,10 +0,0 @@
1
-
2
- 
3
- > @examples/product-catalogue-service@0.0.1 format /Users/sam/WebstormProjects/top/auto-engineer/examples/product-catalogue-api
4
- > prettier --write "**/*.{js,ts,json,md,yml,yaml}" --ignore-path ../../.prettierignore
5
-
6
- package.jsonpackage.json 16ms (unchanged)
7
- src/data/products.tssrc/data/products.ts 29ms (unchanged)
8
- src/index.tssrc/index.ts 10ms (unchanged)
9
- src/routes/products.tssrc/routes/products.ts 10ms (unchanged)
10
- tsconfig.jsontsconfig.json 1ms (unchanged)
@@ -1,5 +0,0 @@
1
-
2
- 
3
- > @examples/product-catalogue-service@0.0.1 lint /Users/sam/WebstormProjects/top/auto-engineer/examples/product-catalogue-api
4
- > eslint 'src/**/*.ts' --max-warnings 0 --config ../../eslint.config.ts
5
-
@@ -1,13 +0,0 @@
1
-
2
- 
3
- > @examples/product-catalogue-service@0.0.1 test /Users/sam/WebstormProjects/top/auto-engineer/examples/product-catalogue-api
4
- > vitest run
5
-
6
-
7
-  RUN  v1.6.1 /Users/sam/WebstormProjects/top/auto-engineer/examples/product-catalogue-api
8
-
9
- include: **/*.specs.{js,ts}
10
- exclude: **/.tmp/**, **/node_modules/**, **/dist/**
11
- watch exclude: **/node_modules/**, **/dist/**
12
- No test files found, exiting with code 0
13
-
@@ -1,5 +0,0 @@
1
-
2
- 
3
- > @examples/product-catalogue-service@0.0.1 type-check /Users/sam/WebstormProjects/top/auto-engineer/examples/product-catalogue-api
4
- > tsc --noEmit
5
-
@@ -1,10 +0,0 @@
1
- export interface ProductCatalogItem {
2
- productId: string;
3
- name: string;
4
- category: string;
5
- price: number;
6
- tags: string[];
7
- imageUrl: string;
8
- }
9
- export declare const mockProducts: ProductCatalogItem[];
10
- //# sourceMappingURL=products.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"products.d.ts","sourceRoot":"","sources":["../../src/data/products.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,YAAY,EAAE,kBAAkB,EAgF5C,CAAC"}
@@ -1,75 +0,0 @@
1
- export const mockProducts = [
2
- {
3
- productId: 'prod-soccer-ball',
4
- name: 'Super Soccer Ball',
5
- category: 'Sports',
6
- price: 10,
7
- tags: ['soccer', 'sports'],
8
- imageUrl: 'https://plus.unsplash.com/premium_photo-1658506638118-524a66dc5cee?q=80&w=3544&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D',
9
- },
10
- {
11
- productId: 'prod-craft-kit',
12
- name: 'Deluxe Craft Kit',
13
- category: 'Arts & Crafts',
14
- price: 25,
15
- tags: ['crafts', 'art', 'creative'],
16
- imageUrl: 'https://m.media-amazon.com/images/I/81ekd9gpb5L._UF894,1000_QL80_.jpg',
17
- },
18
- {
19
- productId: 'prod-laptop-bag',
20
- name: 'Tech Laptop Backpack',
21
- category: 'School Supplies',
22
- price: 45,
23
- tags: ['computers', 'tech', 'school'],
24
- imageUrl: 'https://images.unsplash.com/photo-1630522521764-9ec0064a7e6e?q=80&w=1587&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D',
25
- },
26
- {
27
- productId: 'prod-mtg-starter',
28
- name: 'Magic the Gathering Starter Set',
29
- category: 'Games',
30
- price: 30,
31
- tags: ['magic', 'tcg', 'games'],
32
- imageUrl: 'https://www.steelcitycollectibles.com/storage/img/uploads/products/full/mtgbloomstarterbox90586.jpg',
33
- },
34
- {
35
- productId: 'prod-pencils',
36
- name: 'Colorful Pencil Set',
37
- category: 'School Supplies',
38
- price: 8,
39
- tags: ['school', 'art', 'writing'],
40
- imageUrl: 'https://images.unsplash.com/photo-1616014578457-c7f3cd043291?q=80&w=3540&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D',
41
- },
42
- {
43
- productId: 'prod-notebook',
44
- name: 'Spiral Notebook',
45
- category: 'School Supplies',
46
- price: 5,
47
- tags: ['school', 'writing', 'paper'],
48
- imageUrl: 'https://images.unsplash.com/photo-1598620616337-cb8f766489bd?q=80&w=1943&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D',
49
- },
50
- {
51
- productId: 'prod-running-shoes',
52
- name: 'Kids Running Shoes',
53
- category: 'Sports',
54
- price: 35,
55
- tags: ['sports', 'running', 'shoes'],
56
- imageUrl: 'https://images.unsplash.com/photo-1571395770221-867c6e2251bc?q=80&w=3540&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D',
57
- },
58
- {
59
- productId: 'prod-paint-set',
60
- name: 'Watercolor Paint Set',
61
- category: 'Arts & Crafts',
62
- price: 15,
63
- tags: ['art', 'paint', 'creative'],
64
- imageUrl: 'https://images.unsplash.com/photo-1748100377329-429f657842de?q=80&w=3534&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D',
65
- },
66
- {
67
- productId: 'prod-craft-glue',
68
- name: 'All-Purpose Craft Glue',
69
- category: 'Arts & Crafts',
70
- price: 6,
71
- tags: ['crafts', 'glue', 'art'],
72
- imageUrl: 'https://images.unsplash.com/photo-1511944239253-86eb39473667?q=80&w=3540&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D',
73
- },
74
- ];
75
- //# sourceMappingURL=products.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"products.js","sourceRoot":"","sources":["../../src/data/products.ts"],"names":[],"mappings":"AASA,MAAM,CAAC,MAAM,YAAY,GAAyB;IAChD;QACE,SAAS,EAAE,kBAAkB;QAC7B,IAAI,EAAE,mBAAmB;QACzB,QAAQ,EAAE,QAAQ;QAClB,KAAK,EAAE,EAAE;QACT,IAAI,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC;QAC1B,QAAQ,EACN,8KAA8K;KACjL;IACD;QACE,SAAS,EAAE,gBAAgB;QAC3B,IAAI,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C5B,QAAQ,EAAE,eAAe;QACzB,KAAK,EAAE,EAAE;QACT,IAAI,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,UAAU,CAAC;QAClC,QAAQ,EACN,wKAAwK;KAC3K;IACD;QACE,SAAS,EAAE,iBAAiB;QAC5B,IAAI,EAAE,wBAAwB;QAC9B,QAAQ,EAAE,eAAe;QACzB,KAAK,EAAE,CAAC;QACR,IAAI,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,CAAC;QAC/B,QAAQ,EACN,wKAAwK;KAC3K;CACF,CAAC"}
@@ -1,4 +0,0 @@
1
- import { type Express } from 'express';
2
- declare const app: Express;
3
- export default app;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAgB,EAAE,KAAK,OAAO,EAAE,MAAM,SAAS,CAAC;AAMhD,QAAA,MAAM,GAAG,EAAE,OAAmB,CAAC;AAoD/B,eAAe,GAAG,CAAC"}
@@ -1,49 +0,0 @@
1
- import express from 'express';
2
- import cors from 'cors';
3
- import swaggerUi from 'swagger-ui-express';
4
- import swaggerJsdoc from 'swagger-jsdoc';
5
- import productsRouter from './routes/products';
6
- const app = express();
7
- const PORT = process.env.PORT ?? '3001';
8
- // Swagger configuration
9
- const swaggerOptions = {
10
- definition: {
11
- openapi: '3.0.0',
12
- info: {
13
- title: 'Product Catalog Service API',
14
- version: '1.0.0',
15
- description: 'A product catalog service with interactive documentation',
16
- },
17
- servers: [
18
- {
19
- url: `http://localhost:${PORT}`,
20
- description: 'Development server',
21
- },
22
- ],
23
- },
24
- apis: ['./src/routes/products.ts'],
25
- };
26
- const swaggerSpec = swaggerJsdoc(swaggerOptions);
27
- // Middleware
28
- app.use(cors({
29
- origin: '*',
30
- }));
31
- app.use(express.json());
32
- // Swagger UI
33
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
34
- app.use('/docs', ...swaggerUi.serve, swaggerUi.setup(swaggerSpec));
35
- // Routes
36
- app.use('/api/products', productsRouter);
37
- // Health check endpoint
38
- app.get('/health', (req, res) => {
39
- res.json({ status: 'OK', timestamp: new Date().toISOString() });
40
- });
41
- // Only start server if not in test environment
42
- if (process.env.NODE_ENV !== 'test') {
43
- app.listen(PORT, () => {
44
- console.log(`Product catalog service running on port ${PORT}`);
45
- console.log(`Swagger UI available at http://localhost:${PORT}/docs`);
46
- });
47
- }
48
- export default app;
49
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAyB,MAAM,SAAS,CAAC;AAChD,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAC3C,OAAO,YAAY,MAAM,eAAe,CAAC;AACzC,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAE/C,MAAM,GAAG,GAAY,OAAO,EAAE,CAAC;AAC/B,MAAM,IAAI,GAAW,OAAO,CAAC,GAAG,CAAC,IAAI,IAAI,MAAM,CAAC;AAEhD,wBAAwB;AACxB,MAAM,cAAc,GAAG;IACrB,UAAU,EAAE;QACV,OAAO,EAAE,OAAO;QAChB,IAAI,EAAE;YACJ,KAAK,EAAE,6BAA6B;YACpC,OAAO,EAAE,OAAO;YAChB,WAAW,EAAE,0DAA0D;SACxE;QACD,OAAO,EAAE;YACP;gBACE,GAAG,EAAE,oBAAoB,IAAI,EAAE;gBAC/B,WAAW,EAAE,oBAAoB;aAClC;SACF;KACF;IACD,IAAI,EAAE,CAAC,0BAA0B,CAAC;CACnC,CAAC;AAEF,MAAM,WAAW,GAAG,YAAY,CAAC,cAAc,CAAC,CAAC;AAEjD,aAAa;AACb,GAAG,CAAC,GAAG,CACL,IAAI,CAAC;IACH,MAAM,EAAE,GAAG;CACZ,CAAC,CACH,CAAC;AACF,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC;AAExB,aAAa;AACb,8DAA8D;AAC9D,GAAG,CAAC,GAAG,CAAC,OAAO,EAAE,GAAI,SAAS,CAAC,KAAa,EAAE,SAAS,CAAC,KAAK,CAAC,WAAW,CAAQ,CAAC,CAAC;AAEnF,SAAS;AACT,GAAG,CAAC,GAAG,CAAC,eAAe,EAAE,cAAc,CAAC,CAAC;AAEzC,wBAAwB;AACxB,GAAG,CAAC,GAAG,CAAC,SAAS,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE;IAC9B,GAAG,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC;AAClE,CAAC,CAAC,CAAC;AAEH,+CAA+C;AAC/C,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,MAAM,EAAE,CAAC;IACpC,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,EAAE;QACpB,OAAO,CAAC,GAAG,CAAC,2CAA2C,IAAI,EAAE,CAAC,CAAC;QAC/D,OAAO,CAAC,GAAG,CAAC,4CAA4C,IAAI,OAAO,CAAC,CAAC;IACvE,CAAC,CAAC,CAAC;AACL,CAAC;AAED,eAAe,GAAG,CAAC"}
@@ -1,4 +0,0 @@
1
- import type { Router as ExpressRouter } from 'express';
2
- declare const router: ExpressRouter;
3
- export default router;
4
- //# sourceMappingURL=products.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"products.d.ts","sourceRoot":"","sources":["../../src/routes/products.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,IAAI,aAAa,EAAE,MAAM,SAAS,CAAC;AAGvD,QAAA,MAAM,MAAM,EAAE,aAAwB,CAAC;AAgLvC,eAAe,MAAM,CAAC"}