@xxmachina/common 19.0.0-preview.2 → 19.0.0-preview.21

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 (581) hide show
  1. package/_shared/meta/index.d.ts +1 -0
  2. package/_shared/meta/redis/redis.repository.d.ts +6 -3
  3. package/auth/auth.service.d.ts +3 -0
  4. package/azure-auth/auth.service.d.ts +3 -0
  5. package/domain/builder/command/command.builder.d.ts +1 -2
  6. package/domain/builder/command-action/command-action.builder.d.ts +1 -1
  7. package/domain/builder/index.d.ts +4 -0
  8. package/domain/builder/screen-item/screen-item.builder.d.ts +2 -2
  9. package/domain/index.d.ts +2 -1
  10. package/domain/models/index.d.ts +8 -2
  11. package/domain/models/links/index.d.ts +1 -0
  12. package/{domain/invoice → domain-invoice}/builders/email/email.builder.d.ts +1 -1
  13. package/domain-invoice/builders/index.d.ts +3 -0
  14. package/{domain/invoice → domain-invoice}/builders/message/message.builder.d.ts +1 -1
  15. package/{domain/invoice → domain-invoice}/builders/title/title.builder.d.ts +1 -1
  16. package/domain-invoice/index.d.ts +3 -0
  17. package/{domain/invoice → domain-invoice}/models/backoffice/invoice.d.ts +1 -1
  18. package/{domain/invoice → domain-invoice}/models/backoffice/order.d.ts +1 -1
  19. package/{domain/invoice → domain-invoice}/models/backoffice/partner.d.ts +1 -1
  20. package/{domain → domain-invoice}/resolvers/invoice.resolver.d.ts +1 -1
  21. package/fesm2022/xxmachina-common-_shared-auth-passports-anonymous.mjs +20 -0
  22. package/fesm2022/xxmachina-common-_shared-auth-passports-anonymous.mjs.map +1 -0
  23. package/fesm2022/xxmachina-common-_shared-auth-passports-firebase.mjs +41 -0
  24. package/fesm2022/xxmachina-common-_shared-auth-passports-firebase.mjs.map +1 -0
  25. package/fesm2022/xxmachina-common-_shared-auth-passports-internal.mjs +34 -0
  26. package/fesm2022/xxmachina-common-_shared-auth-passports-internal.mjs.map +1 -0
  27. package/fesm2022/xxmachina-common-_shared-auth-passports-msal.mjs +49 -0
  28. package/fesm2022/xxmachina-common-_shared-auth-passports-msal.mjs.map +1 -0
  29. package/fesm2022/xxmachina-common-_shared-auth.mjs +25 -0
  30. package/fesm2022/xxmachina-common-_shared-auth.mjs.map +1 -0
  31. package/fesm2022/xxmachina-common-_shared-meta-redis.mjs +99 -0
  32. package/fesm2022/xxmachina-common-_shared-meta-redis.mjs.map +1 -0
  33. package/fesm2022/xxmachina-common-_shared-meta.mjs +26 -0
  34. package/fesm2022/xxmachina-common-_shared-meta.mjs.map +1 -0
  35. package/fesm2022/xxmachina-common-auth.mjs +17 -0
  36. package/fesm2022/xxmachina-common-auth.mjs.map +1 -0
  37. package/fesm2022/xxmachina-common-azure-auth.mjs +160 -0
  38. package/fesm2022/xxmachina-common-azure-auth.mjs.map +1 -0
  39. package/{domain/builder/screen-item/screen-item.builder.js → fesm2022/xxmachina-common-domain-builder-screen-item.mjs} +10 -11
  40. package/fesm2022/xxmachina-common-domain-builder-screen-item.mjs.map +1 -0
  41. package/fesm2022/xxmachina-common-domain-builder.mjs +470 -0
  42. package/fesm2022/xxmachina-common-domain-builder.mjs.map +1 -0
  43. package/fesm2022/xxmachina-common-domain-invoice-builders.mjs +70 -0
  44. package/fesm2022/xxmachina-common-domain-invoice-builders.mjs.map +1 -0
  45. package/fesm2022/xxmachina-common-domain-invoice-models.mjs +427 -0
  46. package/fesm2022/xxmachina-common-domain-invoice-models.mjs.map +1 -0
  47. package/fesm2022/xxmachina-common-domain-invoice-resolvers.mjs +39 -0
  48. package/fesm2022/xxmachina-common-domain-invoice-resolvers.mjs.map +1 -0
  49. package/fesm2022/xxmachina-common-domain-invoice.mjs +8 -0
  50. package/fesm2022/xxmachina-common-domain-invoice.mjs.map +1 -0
  51. package/fesm2022/xxmachina-common-domain-models.mjs +783 -0
  52. package/fesm2022/xxmachina-common-domain-models.mjs.map +1 -0
  53. package/fesm2022/xxmachina-common-domain.mjs +7 -0
  54. package/fesm2022/xxmachina-common-domain.mjs.map +1 -0
  55. package/fesm2022/xxmachina-common-infra-converters-google.mjs +36 -0
  56. package/fesm2022/xxmachina-common-infra-converters-google.mjs.map +1 -0
  57. package/fesm2022/xxmachina-common-infra-external-data-connect.mjs +13 -0
  58. package/fesm2022/xxmachina-common-infra-external-data-connect.mjs.map +1 -0
  59. package/fesm2022/xxmachina-common-infra-external-quick-js.mjs +44 -0
  60. package/fesm2022/xxmachina-common-infra-external-quick-js.mjs.map +1 -0
  61. package/fesm2022/xxmachina-common-infra-external-resend.mjs +10 -0
  62. package/fesm2022/xxmachina-common-infra-external-resend.mjs.map +1 -0
  63. package/fesm2022/xxmachina-common-infra-external.mjs +36 -0
  64. package/fesm2022/xxmachina-common-infra-external.mjs.map +1 -0
  65. package/fesm2022/xxmachina-common-infra-query-firestore.mjs +34 -0
  66. package/fesm2022/xxmachina-common-infra-query-firestore.mjs.map +1 -0
  67. package/fesm2022/xxmachina-common-infra-query-hasura.mjs +20 -0
  68. package/fesm2022/xxmachina-common-infra-query-hasura.mjs.map +1 -0
  69. package/fesm2022/xxmachina-common-infra-repository-dataconnect.mjs +18 -0
  70. package/fesm2022/xxmachina-common-infra-repository-dataconnect.mjs.map +1 -0
  71. package/fesm2022/xxmachina-common-infra-repository-firestore.mjs +74 -0
  72. package/fesm2022/xxmachina-common-infra-repository-firestore.mjs.map +1 -0
  73. package/fesm2022/xxmachina-common-infra-repository-hasura.mjs +41 -0
  74. package/fesm2022/xxmachina-common-infra-repository-hasura.mjs.map +1 -0
  75. package/fesm2022/xxmachina-common-infra-repository-notion.mjs +112 -0
  76. package/fesm2022/xxmachina-common-infra-repository-notion.mjs.map +1 -0
  77. package/fesm2022/xxmachina-common-infra.mjs +377 -0
  78. package/fesm2022/xxmachina-common-infra.mjs.map +1 -0
  79. package/fesm2022/xxmachina-common-stores-firestore.mjs +33 -0
  80. package/fesm2022/xxmachina-common-stores-firestore.mjs.map +1 -0
  81. package/fesm2022/xxmachina-common-stores-hasura.mjs +32 -0
  82. package/fesm2022/xxmachina-common-stores-hasura.mjs.map +1 -0
  83. package/fesm2022/xxmachina-common-stores.mjs +16 -0
  84. package/fesm2022/xxmachina-common-stores.mjs.map +1 -0
  85. package/fesm2022/xxmachina-common-usecase-assistant.mjs +67 -0
  86. package/fesm2022/xxmachina-common-usecase-assistant.mjs.map +1 -0
  87. package/fesm2022/xxmachina-common-usecase-database.mjs +95 -0
  88. package/fesm2022/xxmachina-common-usecase-database.mjs.map +1 -0
  89. package/fesm2022/xxmachina-common-usecase-graphql.mjs +51 -0
  90. package/fesm2022/xxmachina-common-usecase-graphql.mjs.map +1 -0
  91. package/fesm2022/xxmachina-common-usecase-invoice.mjs +67 -0
  92. package/fesm2022/xxmachina-common-usecase-invoice.mjs.map +1 -0
  93. package/fesm2022/xxmachina-common-usecase-link.mjs +26 -0
  94. package/fesm2022/xxmachina-common-usecase-link.mjs.map +1 -0
  95. package/fesm2022/xxmachina-common-usecase-order.mjs +29 -0
  96. package/fesm2022/xxmachina-common-usecase-order.mjs.map +1 -0
  97. package/fesm2022/xxmachina-common-usecase-project.mjs +35 -0
  98. package/fesm2022/xxmachina-common-usecase-project.mjs.map +1 -0
  99. package/fesm2022/xxmachina-common-usecase-spec.mjs +45 -0
  100. package/fesm2022/xxmachina-common-usecase-spec.mjs.map +1 -0
  101. package/fesm2022/xxmachina-common-usecase.mjs +198 -0
  102. package/fesm2022/xxmachina-common-usecase.mjs.map +1 -0
  103. package/{utils/crypto.js → fesm2022/xxmachina-common-utils-crypto.mjs} +10 -12
  104. package/fesm2022/xxmachina-common-utils-crypto.mjs.map +1 -0
  105. package/{utils/extract-display-fields.js → fesm2022/xxmachina-common-utils.mjs} +7 -4
  106. package/fesm2022/xxmachina-common-utils.mjs.map +1 -0
  107. package/fesm2022/xxmachina-common.mjs +6 -0
  108. package/fesm2022/xxmachina-common.mjs.map +1 -0
  109. package/index.d.ts +1 -0
  110. package/{infrastructure → infra}/converters/google/google.converter.d.ts +4 -1
  111. package/{infrastructure → infra}/external/external.config.d.ts +2 -2
  112. package/{infrastructure → infra}/external/external.service.d.ts +4 -1
  113. package/{infrastructure → infra}/external/quick-js/quick-js.service.d.ts +3 -0
  114. package/infra/external/resend/resend.service.d.ts +2 -0
  115. package/{infrastructure → infra}/external/resend/resend.service.impl.d.ts +4 -8
  116. package/{infrastructure → infra}/infrastructure.config.d.ts +5 -5
  117. package/{infrastructure → infra}/infrastructure.service.d.ts +3 -0
  118. package/infra/query/firestore/index.d.ts +2 -0
  119. package/{infrastructure → infra}/query/firestore/query/query.query.d.ts +3 -0
  120. package/{infrastructure → infra}/query/firestore/resource/resource.query.d.ts +3 -0
  121. package/infra/query/hasura/index.d.ts +1 -0
  122. package/infra/query/hasura/resource/resource.query.d.ts +6 -0
  123. package/infra/repository/dataconnect/index.d.ts +2 -0
  124. package/{infrastructure → infra}/repository/dataconnect/invoice/invoice.repository.impl.d.ts +4 -1
  125. package/{infrastructure → infra}/repository/dataconnect/order/order.repository.impl.d.ts +4 -1
  126. package/infra/repository/firestore/firestore.repository.d.ts +8 -0
  127. package/infra/repository/firestore/index.d.ts +3 -0
  128. package/infra/repository/firestore/link/google/google.repository.d.ts +10 -0
  129. package/infra/repository/firestore/link/link.repository.d.ts +8 -0
  130. package/{infrastructure → infra}/repository/firestore/query/query.repository.d.ts +4 -1
  131. package/{infrastructure → infra}/repository/firestore/resource/resource.repository.d.ts +4 -1
  132. package/infra/repository/hasura/index.d.ts +2 -0
  133. package/{infrastructure → infra}/repository/hasura/query/query.repository.d.ts +3 -0
  134. package/{infrastructure → infra}/repository/hasura/resource/resource.repository.d.ts +3 -0
  135. package/{infrastructure → infra}/repository/notion/contract/contract.repository.d.ts +4 -1
  136. package/infra/repository/notion/index.d.ts +6 -0
  137. package/{infrastructure → infra}/repository/notion/invoice/invoice.repository.d.ts +4 -1
  138. package/{infrastructure → infra}/repository/notion/notion.repository.d.ts +3 -0
  139. package/{infrastructure → infra}/repository/notion/order/order.repository.d.ts +4 -1
  140. package/{infrastructure → infra}/repository/notion/partner/partner.repository.d.ts +4 -1
  141. package/{infrastructure → infra}/repository/redis/operator/operator.repository.d.ts +3 -0
  142. package/{infrastructure → infra}/repository/redis/project/project.repository.d.ts +3 -0
  143. package/{infrastructure → infra}/repository/redis/redis.service.d.ts +3 -0
  144. package/{infrastructure → infra}/repository/redis/spec/spec.repository.d.ts +5 -3
  145. package/infra/repository/redis/system/system.repository.d.ts +6 -0
  146. package/{infrastructure → infra}/repository/repository.config.d.ts +4 -4
  147. package/{infrastructure → infra}/repository/repository.service.d.ts +3 -0
  148. package/package.json +199 -13
  149. package/stores/firestore/firestore.store.d.ts +12 -0
  150. package/stores/firestore/index.d.ts +1 -0
  151. package/stores/hasura/hasura.store.d.ts +12 -0
  152. package/stores/hasura/index.d.ts +1 -0
  153. package/stores/index.d.ts +4 -28
  154. package/usecase/assistant/assistant.service.d.ts +4 -1
  155. package/usecase/database/database.service.d.ts +3 -0
  156. package/usecase/graphql/graphql.service.d.ts +3 -0
  157. package/usecase/invoice/invoice.service.d.ts +9 -13
  158. package/usecase/link/link.service.d.ts +5 -2
  159. package/usecase/order/order.service.d.ts +5 -2
  160. package/usecase/project/project.service.d.ts +4 -1
  161. package/usecase/spec/spec.service.d.ts +4 -1
  162. package/usecase/usecase.service.d.ts +3 -0
  163. package/utils/crypto/index.d.ts +1 -0
  164. package/README.md +0 -11
  165. package/_shared/auth/auth.module.js +0 -22
  166. package/_shared/auth/auth.module.js.map +0 -1
  167. package/_shared/auth/index.js +0 -5
  168. package/_shared/auth/index.js.map +0 -1
  169. package/_shared/auth/passports/anonymous/anonymous.strategy.js +0 -19
  170. package/_shared/auth/passports/anonymous/anonymous.strategy.js.map +0 -1
  171. package/_shared/auth/passports/anonymous/index.js +0 -5
  172. package/_shared/auth/passports/anonymous/index.js.map +0 -1
  173. package/_shared/auth/passports/firebase/firebase.guard.js +0 -23
  174. package/_shared/auth/passports/firebase/firebase.guard.js.map +0 -1
  175. package/_shared/auth/passports/firebase/firebase.strategy.js +0 -22
  176. package/_shared/auth/passports/firebase/firebase.strategy.js.map +0 -1
  177. package/_shared/auth/passports/firebase/index.js +0 -6
  178. package/_shared/auth/passports/firebase/index.js.map +0 -1
  179. package/_shared/auth/passports/internal/index.js +0 -5
  180. package/_shared/auth/passports/internal/index.js.map +0 -1
  181. package/_shared/auth/passports/internal/internal.strategy.js +0 -33
  182. package/_shared/auth/passports/internal/internal.strategy.js.map +0 -1
  183. package/_shared/auth/passports/msal/index.js +0 -6
  184. package/_shared/auth/passports/msal/index.js.map +0 -1
  185. package/_shared/auth/passports/msal/msal.guard.js +0 -13
  186. package/_shared/auth/passports/msal/msal.guard.js.map +0 -1
  187. package/_shared/auth/passports/msal/msal.strategy.js +0 -43
  188. package/_shared/auth/passports/msal/msal.strategy.js.map +0 -1
  189. package/_shared/meta/decorators.js +0 -25
  190. package/_shared/meta/decorators.js.map +0 -1
  191. package/_shared/meta/redis/index.js +0 -6
  192. package/_shared/meta/redis/index.js.map +0 -1
  193. package/_shared/meta/redis/redis.config.js +0 -10
  194. package/_shared/meta/redis/redis.config.js.map +0 -1
  195. package/_shared/meta/redis/redis.repository.js +0 -108
  196. package/_shared/meta/redis/redis.repository.js.map +0 -1
  197. package/auth/auth.service.js +0 -12
  198. package/auth/auth.service.js.map +0 -1
  199. package/auth/index.js +0 -5
  200. package/auth/index.js.map +0 -1
  201. package/azure-auth/auth.di.js +0 -56
  202. package/azure-auth/auth.di.js.map +0 -1
  203. package/azure-auth/auth.service.js +0 -115
  204. package/azure-auth/auth.service.js.map +0 -1
  205. package/azure-auth/index.js +0 -6
  206. package/azure-auth/index.js.map +0 -1
  207. package/domain/builder/command/command.builder.js +0 -30
  208. package/domain/builder/command/command.builder.js.map +0 -1
  209. package/domain/builder/command/index.js +0 -5
  210. package/domain/builder/command/index.js.map +0 -1
  211. package/domain/builder/command-action/command-action.builder.js +0 -139
  212. package/domain/builder/command-action/command-action.builder.js.map +0 -1
  213. package/domain/builder/command-action/index.js +0 -5
  214. package/domain/builder/command-action/index.js.map +0 -1
  215. package/domain/builder/er/er.builder.js +0 -112
  216. package/domain/builder/er/er.builder.js.map +0 -1
  217. package/domain/builder/er/index.js +0 -5
  218. package/domain/builder/er/index.js.map +0 -1
  219. package/domain/builder/screen-item/index.js +0 -5
  220. package/domain/builder/screen-item/index.js.map +0 -1
  221. package/domain/builder/screen-item/screen-item.builder.js.map +0 -1
  222. package/domain/index.js +0 -5
  223. package/domain/index.js.map +0 -1
  224. package/domain/invoice/builders/email/email.builder.js +0 -29
  225. package/domain/invoice/builders/email/email.builder.js.map +0 -1
  226. package/domain/invoice/builders/email/index.js +0 -5
  227. package/domain/invoice/builders/email/index.js.map +0 -1
  228. package/domain/invoice/builders/message/index.js +0 -5
  229. package/domain/invoice/builders/message/index.js.map +0 -1
  230. package/domain/invoice/builders/message/message.builder.js +0 -43
  231. package/domain/invoice/builders/message/message.builder.js.map +0 -1
  232. package/domain/invoice/builders/title/index.js +0 -5
  233. package/domain/invoice/builders/title/index.js.map +0 -1
  234. package/domain/invoice/builders/title/title.builder.js +0 -11
  235. package/domain/invoice/builders/title/title.builder.js.map +0 -1
  236. package/domain/invoice/models/backoffice/contract.js +0 -50
  237. package/domain/invoice/models/backoffice/contract.js.map +0 -1
  238. package/domain/invoice/models/backoffice/index.js +0 -9
  239. package/domain/invoice/models/backoffice/index.js.map +0 -1
  240. package/domain/invoice/models/backoffice/invoice-mail.js +0 -7
  241. package/domain/invoice/models/backoffice/invoice-mail.js.map +0 -1
  242. package/domain/invoice/models/backoffice/invoice.js +0 -91
  243. package/domain/invoice/models/backoffice/invoice.js.map +0 -1
  244. package/domain/invoice/models/backoffice/order.js +0 -157
  245. package/domain/invoice/models/backoffice/order.js.map +0 -1
  246. package/domain/invoice/models/backoffice/partner.js +0 -96
  247. package/domain/invoice/models/backoffice/partner.js.map +0 -1
  248. package/domain/invoice/models/index.js +0 -5
  249. package/domain/invoice/models/index.js.map +0 -1
  250. package/domain/models/agent/assistant.js +0 -31
  251. package/domain/models/agent/assistant.js.map +0 -1
  252. package/domain/models/agent/index.js +0 -5
  253. package/domain/models/agent/index.js.map +0 -1
  254. package/domain/models/bookmarklet/bookmarklet.js +0 -34
  255. package/domain/models/bookmarklet/bookmarklet.js.map +0 -1
  256. package/domain/models/bookmarklet/index.js +0 -5
  257. package/domain/models/bookmarklet/index.js.map +0 -1
  258. package/domain/models/calendar-utils.d.ts +0 -5
  259. package/domain/models/calendar-utils.js +0 -43
  260. package/domain/models/calendar-utils.js.map +0 -1
  261. package/domain/models/command/command.helper.js +0 -14
  262. package/domain/models/command/command.helper.js.map +0 -1
  263. package/domain/models/command/command.js +0 -40
  264. package/domain/models/command/command.js.map +0 -1
  265. package/domain/models/command/index.js +0 -6
  266. package/domain/models/command/index.js.map +0 -1
  267. package/domain/models/database/database.js +0 -7
  268. package/domain/models/database/database.js.map +0 -1
  269. package/domain/models/database/index.js +0 -5
  270. package/domain/models/database/index.js.map +0 -1
  271. package/domain/models/endpoint/endpoint.helper.js +0 -21
  272. package/domain/models/endpoint/endpoint.helper.js.map +0 -1
  273. package/domain/models/endpoint/index.js +0 -5
  274. package/domain/models/endpoint/index.js.map +0 -1
  275. package/domain/models/index.js +0 -12
  276. package/domain/models/index.js.map +0 -1
  277. package/domain/models/links/google/google.js +0 -47
  278. package/domain/models/links/google/google.js.map +0 -1
  279. package/domain/models/links/google/index.js +0 -5
  280. package/domain/models/links/google/index.js.map +0 -1
  281. package/domain/models/openapi/index.js +0 -6
  282. package/domain/models/openapi/index.js.map +0 -1
  283. package/domain/models/openapi/openapi.js +0 -87
  284. package/domain/models/openapi/openapi.js.map +0 -1
  285. package/domain/models/openapi/openapi.schema.js +0 -3
  286. package/domain/models/openapi/openapi.schema.js.map +0 -1
  287. package/domain/models/operators/assistancts/base.js +0 -13
  288. package/domain/models/operators/assistancts/base.js.map +0 -1
  289. package/domain/models/operators/assistancts/index.js +0 -5
  290. package/domain/models/operators/assistancts/index.js.map +0 -1
  291. package/domain/models/operators/base.js +0 -10
  292. package/domain/models/operators/base.js.map +0 -1
  293. package/domain/models/operators/index.js +0 -8
  294. package/domain/models/operators/index.js.map +0 -1
  295. package/domain/models/operators/systems/base.js +0 -3
  296. package/domain/models/operators/systems/base.js.map +0 -1
  297. package/domain/models/operators/systems/graphql.js +0 -3
  298. package/domain/models/operators/systems/graphql.js.map +0 -1
  299. package/domain/models/operators/systems/index.js +0 -7
  300. package/domain/models/operators/systems/index.js.map +0 -1
  301. package/domain/models/operators/systems/rest.js +0 -3
  302. package/domain/models/operators/systems/rest.js.map +0 -1
  303. package/domain/models/operators/workflows/index.js +0 -5
  304. package/domain/models/operators/workflows/index.js.map +0 -1
  305. package/domain/models/operators/workflows/workflow.js +0 -3
  306. package/domain/models/operators/workflows/workflow.js.map +0 -1
  307. package/domain/models/project.js +0 -9
  308. package/domain/models/project.js.map +0 -1
  309. package/domain/models/query/index.js +0 -6
  310. package/domain/models/query/index.js.map +0 -1
  311. package/domain/models/query/query.helper.js +0 -172
  312. package/domain/models/query/query.helper.js.map +0 -1
  313. package/domain/models/query/query.js +0 -122
  314. package/domain/models/query/query.js.map +0 -1
  315. package/domain/models/resource/index.js +0 -6
  316. package/domain/models/resource/index.js.map +0 -1
  317. package/domain/models/resource/resource.helper.js +0 -16
  318. package/domain/models/resource/resource.helper.js.map +0 -1
  319. package/domain/models/resource/resource.js +0 -73
  320. package/domain/models/resource/resource.js.map +0 -1
  321. package/domain/models/scheduler/index.js +0 -5
  322. package/domain/models/scheduler/index.js.map +0 -1
  323. package/domain/models/scheduler/schedule.js +0 -89
  324. package/domain/models/scheduler/schedule.js.map +0 -1
  325. package/domain/models/screen-item/index.js +0 -5
  326. package/domain/models/screen-item/index.js.map +0 -1
  327. package/domain/models/screen-item/screen-item.js +0 -3
  328. package/domain/models/screen-item/screen-item.js.map +0 -1
  329. package/domain/models/spec.js +0 -3
  330. package/domain/models/spec.js.map +0 -1
  331. package/domain/resolvers/index.js +0 -5
  332. package/domain/resolvers/index.js.map +0 -1
  333. package/domain/resolvers/invoice.resolver.js +0 -31
  334. package/domain/resolvers/invoice.resolver.js.map +0 -1
  335. package/infrastructure/converters/bookmarklet/bookmarklet.converter.d.ts +0 -0
  336. package/infrastructure/converters/bookmarklet/bookmarklet.converter.js +0 -1
  337. package/infrastructure/converters/bookmarklet/bookmarklet.converter.js.map +0 -1
  338. package/infrastructure/converters/google/google.converter.js +0 -27
  339. package/infrastructure/converters/google/google.converter.js.map +0 -1
  340. package/infrastructure/converters/google/index.js +0 -5
  341. package/infrastructure/converters/google/index.js.map +0 -1
  342. package/infrastructure/external/data-connect/data-connect.service.impl.d.ts +0 -7
  343. package/infrastructure/external/data-connect/data-connect.service.impl.js +0 -20
  344. package/infrastructure/external/data-connect/data-connect.service.impl.js.map +0 -1
  345. package/infrastructure/external/data-connect/data-connect.service.js +0 -11
  346. package/infrastructure/external/data-connect/data-connect.service.js.map +0 -1
  347. package/infrastructure/external/data-connect/index.js +0 -5
  348. package/infrastructure/external/data-connect/index.js.map +0 -1
  349. package/infrastructure/external/external.config.js +0 -13
  350. package/infrastructure/external/external.config.js.map +0 -1
  351. package/infrastructure/external/external.service.js +0 -23
  352. package/infrastructure/external/external.service.js.map +0 -1
  353. package/infrastructure/external/index.js +0 -6
  354. package/infrastructure/external/index.js.map +0 -1
  355. package/infrastructure/external/quick-js/index.js +0 -5
  356. package/infrastructure/external/quick-js/index.js.map +0 -1
  357. package/infrastructure/external/quick-js/quick-js.service.js +0 -44
  358. package/infrastructure/external/quick-js/quick-js.service.js.map +0 -1
  359. package/infrastructure/external/resend/index.js +0 -5
  360. package/infrastructure/external/resend/index.js.map +0 -1
  361. package/infrastructure/external/resend/resend.service.d.ts +0 -9
  362. package/infrastructure/external/resend/resend.service.impl.js +0 -27
  363. package/infrastructure/external/resend/resend.service.impl.js.map +0 -1
  364. package/infrastructure/external/resend/resend.service.js +0 -6
  365. package/infrastructure/external/resend/resend.service.js.map +0 -1
  366. package/infrastructure/index.js +0 -6
  367. package/infrastructure/index.js.map +0 -1
  368. package/infrastructure/infrastructure.config.js +0 -12
  369. package/infrastructure/infrastructure.config.js.map +0 -1
  370. package/infrastructure/infrastructure.service.js +0 -20
  371. package/infrastructure/infrastructure.service.js.map +0 -1
  372. package/infrastructure/query/firestore/query/index.js +0 -5
  373. package/infrastructure/query/firestore/query/index.js.map +0 -1
  374. package/infrastructure/query/firestore/query/query.query.js +0 -20
  375. package/infrastructure/query/firestore/query/query.query.js.map +0 -1
  376. package/infrastructure/query/firestore/resource/index.js +0 -5
  377. package/infrastructure/query/firestore/resource/index.js.map +0 -1
  378. package/infrastructure/query/firestore/resource/resource.query.js +0 -20
  379. package/infrastructure/query/firestore/resource/resource.query.js.map +0 -1
  380. package/infrastructure/query/hasura/resource/index.js +0 -5
  381. package/infrastructure/query/hasura/resource/index.js.map +0 -1
  382. package/infrastructure/query/hasura/resource/resource.query.d.ts +0 -3
  383. package/infrastructure/query/hasura/resource/resource.query.js +0 -14
  384. package/infrastructure/query/hasura/resource/resource.query.js.map +0 -1
  385. package/infrastructure/repository/dataconnect/invoice/index.js +0 -5
  386. package/infrastructure/repository/dataconnect/invoice/index.js.map +0 -1
  387. package/infrastructure/repository/dataconnect/invoice/invoice.repository.impl.js +0 -54
  388. package/infrastructure/repository/dataconnect/invoice/invoice.repository.impl.js.map +0 -1
  389. package/infrastructure/repository/dataconnect/invoice/invoice.repository.js +0 -11
  390. package/infrastructure/repository/dataconnect/invoice/invoice.repository.js.map +0 -1
  391. package/infrastructure/repository/dataconnect/order/index.js +0 -5
  392. package/infrastructure/repository/dataconnect/order/index.js.map +0 -1
  393. package/infrastructure/repository/dataconnect/order/order.repository.impl.js +0 -74
  394. package/infrastructure/repository/dataconnect/order/order.repository.impl.js.map +0 -1
  395. package/infrastructure/repository/dataconnect/order/order.repository.js +0 -11
  396. package/infrastructure/repository/dataconnect/order/order.repository.js.map +0 -1
  397. package/infrastructure/repository/firestore/bookmarklet/bookmarklet.repository.d.ts +0 -6
  398. package/infrastructure/repository/firestore/bookmarklet/bookmarklet.repository.js +0 -20
  399. package/infrastructure/repository/firestore/bookmarklet/bookmarklet.repository.js.map +0 -1
  400. package/infrastructure/repository/firestore/bookmarklet/index.d.ts +0 -1
  401. package/infrastructure/repository/firestore/bookmarklet/index.js +0 -5
  402. package/infrastructure/repository/firestore/bookmarklet/index.js.map +0 -1
  403. package/infrastructure/repository/firestore/firestore.repository.d.ts +0 -7
  404. package/infrastructure/repository/firestore/firestore.repository.js +0 -20
  405. package/infrastructure/repository/firestore/firestore.repository.js.map +0 -1
  406. package/infrastructure/repository/firestore/index.d.ts +0 -1
  407. package/infrastructure/repository/firestore/index.js +0 -5
  408. package/infrastructure/repository/firestore/index.js.map +0 -1
  409. package/infrastructure/repository/firestore/link/google/google.repository.d.ts +0 -7
  410. package/infrastructure/repository/firestore/link/google/google.repository.js +0 -19
  411. package/infrastructure/repository/firestore/link/google/google.repository.js.map +0 -1
  412. package/infrastructure/repository/firestore/link/google/index.js +0 -5
  413. package/infrastructure/repository/firestore/link/google/index.js.map +0 -1
  414. package/infrastructure/repository/firestore/link/index.js +0 -5
  415. package/infrastructure/repository/firestore/link/index.js.map +0 -1
  416. package/infrastructure/repository/firestore/link/link.repository.d.ts +0 -5
  417. package/infrastructure/repository/firestore/link/link.repository.js +0 -17
  418. package/infrastructure/repository/firestore/link/link.repository.js.map +0 -1
  419. package/infrastructure/repository/firestore/query/index.js +0 -5
  420. package/infrastructure/repository/firestore/query/index.js.map +0 -1
  421. package/infrastructure/repository/firestore/query/query.repository.js +0 -20
  422. package/infrastructure/repository/firestore/query/query.repository.js.map +0 -1
  423. package/infrastructure/repository/firestore/resource/index.js +0 -5
  424. package/infrastructure/repository/firestore/resource/index.js.map +0 -1
  425. package/infrastructure/repository/firestore/resource/resource.repository.js +0 -20
  426. package/infrastructure/repository/firestore/resource/resource.repository.js.map +0 -1
  427. package/infrastructure/repository/hasura/query/index.js +0 -5
  428. package/infrastructure/repository/hasura/query/index.js.map +0 -1
  429. package/infrastructure/repository/hasura/query/query.repository.js +0 -23
  430. package/infrastructure/repository/hasura/query/query.repository.js.map +0 -1
  431. package/infrastructure/repository/hasura/resource/index.js +0 -5
  432. package/infrastructure/repository/hasura/resource/index.js.map +0 -1
  433. package/infrastructure/repository/hasura/resource/resource.repository.js +0 -23
  434. package/infrastructure/repository/hasura/resource/resource.repository.js.map +0 -1
  435. package/infrastructure/repository/index.js +0 -6
  436. package/infrastructure/repository/index.js.map +0 -1
  437. package/infrastructure/repository/notion/contract/contract.config.js +0 -10
  438. package/infrastructure/repository/notion/contract/contract.config.js.map +0 -1
  439. package/infrastructure/repository/notion/contract/contract.repository.js +0 -22
  440. package/infrastructure/repository/notion/contract/contract.repository.js.map +0 -1
  441. package/infrastructure/repository/notion/contract/index.js +0 -6
  442. package/infrastructure/repository/notion/contract/index.js.map +0 -1
  443. package/infrastructure/repository/notion/index.d.ts +0 -2
  444. package/infrastructure/repository/notion/index.js +0 -6
  445. package/infrastructure/repository/notion/index.js.map +0 -1
  446. package/infrastructure/repository/notion/invoice/index.js +0 -6
  447. package/infrastructure/repository/notion/invoice/index.js.map +0 -1
  448. package/infrastructure/repository/notion/invoice/invoice.config.js +0 -10
  449. package/infrastructure/repository/notion/invoice/invoice.config.js.map +0 -1
  450. package/infrastructure/repository/notion/invoice/invoice.repository.js +0 -22
  451. package/infrastructure/repository/notion/invoice/invoice.repository.js.map +0 -1
  452. package/infrastructure/repository/notion/notion.config.js +0 -18
  453. package/infrastructure/repository/notion/notion.config.js.map +0 -1
  454. package/infrastructure/repository/notion/notion.repository.js +0 -26
  455. package/infrastructure/repository/notion/notion.repository.js.map +0 -1
  456. package/infrastructure/repository/notion/order/index.js +0 -5
  457. package/infrastructure/repository/notion/order/index.js.map +0 -1
  458. package/infrastructure/repository/notion/order/order.config.js +0 -10
  459. package/infrastructure/repository/notion/order/order.config.js.map +0 -1
  460. package/infrastructure/repository/notion/order/order.repository.js +0 -22
  461. package/infrastructure/repository/notion/order/order.repository.js.map +0 -1
  462. package/infrastructure/repository/notion/partner/index.js +0 -6
  463. package/infrastructure/repository/notion/partner/index.js.map +0 -1
  464. package/infrastructure/repository/notion/partner/partner.config.js +0 -10
  465. package/infrastructure/repository/notion/partner/partner.config.js.map +0 -1
  466. package/infrastructure/repository/notion/partner/partner.repository.js +0 -22
  467. package/infrastructure/repository/notion/partner/partner.repository.js.map +0 -1
  468. package/infrastructure/repository/redis/index.js +0 -6
  469. package/infrastructure/repository/redis/index.js.map +0 -1
  470. package/infrastructure/repository/redis/operator/index.js +0 -5
  471. package/infrastructure/repository/redis/operator/index.js.map +0 -1
  472. package/infrastructure/repository/redis/operator/operator.repository.js +0 -17
  473. package/infrastructure/repository/redis/operator/operator.repository.js.map +0 -1
  474. package/infrastructure/repository/redis/project/index.js +0 -5
  475. package/infrastructure/repository/redis/project/index.js.map +0 -1
  476. package/infrastructure/repository/redis/project/project.repository.js +0 -33
  477. package/infrastructure/repository/redis/project/project.repository.js.map +0 -1
  478. package/infrastructure/repository/redis/redis.config.js +0 -10
  479. package/infrastructure/repository/redis/redis.config.js.map +0 -1
  480. package/infrastructure/repository/redis/redis.service.js +0 -22
  481. package/infrastructure/repository/redis/redis.service.js.map +0 -1
  482. package/infrastructure/repository/redis/spec/index.js +0 -5
  483. package/infrastructure/repository/redis/spec/index.js.map +0 -1
  484. package/infrastructure/repository/redis/spec/spec.repository.js +0 -94
  485. package/infrastructure/repository/redis/spec/spec.repository.js.map +0 -1
  486. package/infrastructure/repository/redis/system/index.js +0 -5
  487. package/infrastructure/repository/redis/system/index.js.map +0 -1
  488. package/infrastructure/repository/redis/system/system.repository.d.ts +0 -3
  489. package/infrastructure/repository/redis/system/system.repository.js +0 -15
  490. package/infrastructure/repository/redis/system/system.repository.js.map +0 -1
  491. package/infrastructure/repository/repository.config.js +0 -12
  492. package/infrastructure/repository/repository.config.js.map +0 -1
  493. package/infrastructure/repository/repository.service.js +0 -20
  494. package/infrastructure/repository/repository.service.js.map +0 -1
  495. package/stores/index.js +0 -66
  496. package/stores/index.js.map +0 -1
  497. package/usecase/assistant/assistant.service.js +0 -72
  498. package/usecase/assistant/assistant.service.js.map +0 -1
  499. package/usecase/assistant/index.js +0 -5
  500. package/usecase/assistant/index.js.map +0 -1
  501. package/usecase/database/database.service.js +0 -103
  502. package/usecase/database/database.service.js.map +0 -1
  503. package/usecase/database/index.js +0 -5
  504. package/usecase/database/index.js.map +0 -1
  505. package/usecase/graphql/graphql.service.js +0 -49
  506. package/usecase/graphql/graphql.service.js.map +0 -1
  507. package/usecase/graphql/index.js +0 -5
  508. package/usecase/graphql/index.js.map +0 -1
  509. package/usecase/index.js +0 -5
  510. package/usecase/index.js.map +0 -1
  511. package/usecase/invoice/index.js +0 -5
  512. package/usecase/invoice/index.js.map +0 -1
  513. package/usecase/invoice/invoice.service.js +0 -69
  514. package/usecase/invoice/invoice.service.js.map +0 -1
  515. package/usecase/link/index.js +0 -5
  516. package/usecase/link/index.js.map +0 -1
  517. package/usecase/link/link.service.js +0 -20
  518. package/usecase/link/link.service.js.map +0 -1
  519. package/usecase/order/index.js +0 -5
  520. package/usecase/order/index.js.map +0 -1
  521. package/usecase/order/order.service.js +0 -27
  522. package/usecase/order/order.service.js.map +0 -1
  523. package/usecase/project/index.js +0 -5
  524. package/usecase/project/index.js.map +0 -1
  525. package/usecase/project/project.service.js +0 -37
  526. package/usecase/project/project.service.js.map +0 -1
  527. package/usecase/spec/index.js +0 -5
  528. package/usecase/spec/index.js.map +0 -1
  529. package/usecase/spec/spec.service.js +0 -49
  530. package/usecase/spec/spec.service.js.map +0 -1
  531. package/usecase/usecase.service.js +0 -24
  532. package/usecase/usecase.service.js.map +0 -1
  533. package/utils/crypto.js.map +0 -1
  534. package/utils/extract-display-fields.js.map +0 -1
  535. package/utils/index.js +0 -5
  536. package/utils/index.js.map +0 -1
  537. /package/{domain/invoice → domain-invoice}/builders/email/index.d.ts +0 -0
  538. /package/{domain/invoice → domain-invoice}/builders/message/index.d.ts +0 -0
  539. /package/{domain/invoice → domain-invoice}/builders/title/index.d.ts +0 -0
  540. /package/{domain/invoice → domain-invoice}/models/backoffice/contract.d.ts +0 -0
  541. /package/{domain/invoice → domain-invoice}/models/backoffice/index.d.ts +0 -0
  542. /package/{domain/invoice → domain-invoice}/models/backoffice/invoice-mail.d.ts +0 -0
  543. /package/{domain/invoice → domain-invoice}/models/index.d.ts +0 -0
  544. /package/{domain → domain-invoice}/resolvers/index.d.ts +0 -0
  545. /package/{infrastructure → infra}/converters/google/index.d.ts +0 -0
  546. /package/{infrastructure → infra}/external/data-connect/data-connect.service.d.ts +0 -0
  547. /package/{infrastructure → infra}/external/data-connect/index.d.ts +0 -0
  548. /package/{infrastructure → infra}/external/index.d.ts +0 -0
  549. /package/{infrastructure → infra}/external/quick-js/index.d.ts +0 -0
  550. /package/{infrastructure → infra}/external/resend/index.d.ts +0 -0
  551. /package/{infrastructure → infra}/index.d.ts +0 -0
  552. /package/{infrastructure → infra}/query/firestore/query/index.d.ts +0 -0
  553. /package/{infrastructure → infra}/query/firestore/resource/index.d.ts +0 -0
  554. /package/{infrastructure → infra}/query/hasura/resource/index.d.ts +0 -0
  555. /package/{infrastructure → infra}/repository/dataconnect/invoice/index.d.ts +0 -0
  556. /package/{infrastructure → infra}/repository/dataconnect/invoice/invoice.repository.d.ts +0 -0
  557. /package/{infrastructure → infra}/repository/dataconnect/order/index.d.ts +0 -0
  558. /package/{infrastructure → infra}/repository/dataconnect/order/order.repository.d.ts +0 -0
  559. /package/{infrastructure → infra}/repository/firestore/link/google/index.d.ts +0 -0
  560. /package/{infrastructure → infra}/repository/firestore/link/index.d.ts +0 -0
  561. /package/{infrastructure → infra}/repository/firestore/query/index.d.ts +0 -0
  562. /package/{infrastructure → infra}/repository/firestore/resource/index.d.ts +0 -0
  563. /package/{infrastructure → infra}/repository/hasura/query/index.d.ts +0 -0
  564. /package/{infrastructure → infra}/repository/hasura/resource/index.d.ts +0 -0
  565. /package/{infrastructure → infra}/repository/index.d.ts +0 -0
  566. /package/{infrastructure → infra}/repository/notion/contract/contract.config.d.ts +0 -0
  567. /package/{infrastructure → infra}/repository/notion/contract/index.d.ts +0 -0
  568. /package/{infrastructure → infra}/repository/notion/invoice/index.d.ts +0 -0
  569. /package/{infrastructure → infra}/repository/notion/invoice/invoice.config.d.ts +0 -0
  570. /package/{infrastructure → infra}/repository/notion/notion.config.d.ts +0 -0
  571. /package/{infrastructure → infra}/repository/notion/order/index.d.ts +0 -0
  572. /package/{infrastructure → infra}/repository/notion/order/order.config.d.ts +0 -0
  573. /package/{infrastructure → infra}/repository/notion/partner/index.d.ts +0 -0
  574. /package/{infrastructure → infra}/repository/notion/partner/partner.config.d.ts +0 -0
  575. /package/{infrastructure → infra}/repository/redis/index.d.ts +0 -0
  576. /package/{infrastructure → infra}/repository/redis/operator/index.d.ts +0 -0
  577. /package/{infrastructure → infra}/repository/redis/project/index.d.ts +0 -0
  578. /package/{infrastructure → infra}/repository/redis/redis.config.d.ts +0 -0
  579. /package/{infrastructure → infra}/repository/redis/spec/index.d.ts +0 -0
  580. /package/{infrastructure → infra}/repository/redis/system/index.d.ts +0 -0
  581. /package/utils/{crypto.d.ts → crypto/crypto.d.ts} +0 -0
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ORDER_REPOSITORY_TOKEN = void 0;
4
- exports.injectOrderRepository = injectOrderRepository;
5
- const core_1 = require("@angular/core");
6
- exports.ORDER_REPOSITORY_TOKEN = new core_1.InjectionToken('[@xxmachina/common] OrderRepository');
7
- function injectOrderRepository() {
8
- var _a;
9
- return (_a = (0, core_1.inject)(exports.ORDER_REPOSITORY_TOKEN, { optional: true })) !== null && _a !== void 0 ? _a : null;
10
- }
11
- //# sourceMappingURL=order.repository.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"order.repository.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/dataconnect/order/order.repository.ts"],"names":[],"mappings":";;;AAKA,sDAEC;AAPD,wCAAuD;AAG1C,QAAA,sBAAsB,GAAG,IAAI,qBAAc,CAAkB,qCAAqC,CAAC,CAAC;AAEjH,SAAgB,qBAAqB;;IACnC,OAAO,MAAA,IAAA,aAAM,EAAC,8BAAsB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,mCAAI,IAAI,CAAC;AACpE,CAAC"}
@@ -1,6 +0,0 @@
1
- import { Bookmarklet } from "@xxmachina/common/domain/models/bookmarklet";
2
- import { FirestoreRepository } from "@nx-ddd/firestore/repository";
3
- export declare class BookmarkletRepository extends FirestoreRepository<Bookmarklet> {
4
- readonly collectionPath = "users/:userId/bookmarklets/:id";
5
- protected converter: import("@nx-ddd/firestore").IFirestoreConverter<Bookmarklet>;
6
- }
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BookmarkletRepository = void 0;
4
- const tslib_1 = require("tslib");
5
- const bookmarklet_1 = require("@xxmachina/common/domain/models/bookmarklet");
6
- const core_1 = require("@angular/core");
7
- const repository_1 = require("@nx-ddd/firestore/repository");
8
- const firestore_1 = require("@nx-ddd/firestore");
9
- let BookmarkletRepository = class BookmarkletRepository extends repository_1.FirestoreRepository {
10
- constructor() {
11
- super(...arguments);
12
- this.collectionPath = 'users/:userId/bookmarklets/:id';
13
- this.converter = (0, firestore_1.injectConverter)(bookmarklet_1.Bookmarklet);
14
- }
15
- };
16
- exports.BookmarkletRepository = BookmarkletRepository;
17
- exports.BookmarkletRepository = BookmarkletRepository = tslib_1.__decorate([
18
- (0, core_1.Injectable)({ providedIn: 'root' })
19
- ], BookmarkletRepository);
20
- //# sourceMappingURL=bookmarklet.repository.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bookmarklet.repository.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/firestore/bookmarklet/bookmarklet.repository.ts"],"names":[],"mappings":";;;;AAAA,6EAA0E;AAC1E,wCAA2C;AAC3C,6DAAmE;AACnE,iDAAoD;AAG7C,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,gCAAgC;IAApE;;QACI,mBAAc,GAAG,gCAAgC,CAAC;QACjD,cAAS,GAAG,IAAA,2BAAe,EAAC,yBAAW,CAAC,CAAC;IACrD,CAAC;CAAA,CAAA;AAHY,sDAAqB;gCAArB,qBAAqB;IADjC,IAAA,iBAAU,EAAC,EAAC,UAAU,EAAE,MAAM,EAAC,CAAC;GACpB,qBAAqB,CAGjC"}
@@ -1 +0,0 @@
1
- export * from './bookmarklet.repository';
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./bookmarklet.repository"), exports);
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/firestore/bookmarklet/index.ts"],"names":[],"mappings":";;;AAAA,mEAAyC"}
@@ -1,7 +0,0 @@
1
- import { BookmarkletRepository } from "./bookmarklet";
2
- import { LinkRepository } from "./link";
3
- export declare class FirestoreRepository {
4
- bookmarklet: BookmarkletRepository;
5
- link: LinkRepository;
6
- constructor(bookmarklet: BookmarkletRepository, link: LinkRepository);
7
- }
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FirestoreRepository = void 0;
4
- const tslib_1 = require("tslib");
5
- const core_1 = require("@angular/core");
6
- const bookmarklet_1 = require("./bookmarklet");
7
- const link_1 = require("./link");
8
- let FirestoreRepository = class FirestoreRepository {
9
- constructor(bookmarklet, link) {
10
- this.bookmarklet = bookmarklet;
11
- this.link = link;
12
- }
13
- };
14
- exports.FirestoreRepository = FirestoreRepository;
15
- exports.FirestoreRepository = FirestoreRepository = tslib_1.__decorate([
16
- (0, core_1.Injectable)({ providedIn: 'root' }),
17
- tslib_1.__metadata("design:paramtypes", [bookmarklet_1.BookmarkletRepository,
18
- link_1.LinkRepository])
19
- ], FirestoreRepository);
20
- //# sourceMappingURL=firestore.repository.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"firestore.repository.js","sourceRoot":"","sources":["../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/firestore/firestore.repository.ts"],"names":[],"mappings":";;;;AAAA,wCAA2C;AAC3C,+CAAsD;AACtD,iCAAwC;AAGjC,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAC9B,YACS,WAAkC,EAClC,IAAoB;QADpB,gBAAW,GAAX,WAAW,CAAuB;QAClC,SAAI,GAAJ,IAAI,CAAgB;IAC1B,CAAC;CACL,CAAA;AALY,kDAAmB;8BAAnB,mBAAmB;IAD/B,IAAA,iBAAU,EAAC,EAAC,UAAU,EAAE,MAAM,EAAC,CAAC;6CAGT,mCAAqB;QAC5B,qBAAc;GAHlB,mBAAmB,CAK/B"}
@@ -1 +0,0 @@
1
- export * from './firestore.repository';
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./firestore.repository"), exports);
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/firestore/index.ts"],"names":[],"mappings":";;;AAAA,iEAAuC"}
@@ -1,7 +0,0 @@
1
- import { Google } from "@xxmachina/common/domain/models/links/google";
2
- import { GoogleConverter } from "@xxmachina/common/infrastructure/converters/google";
3
- import { FirestoreRepository } from "@nx-ddd/firestore/repository";
4
- export declare class GoogleRepository extends FirestoreRepository<Google> {
5
- readonly collectionPath = "users/:userId/links/:id";
6
- protected converter: GoogleConverter;
7
- }
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GoogleRepository = void 0;
4
- const tslib_1 = require("tslib");
5
- const google_1 = require("@xxmachina/common/infrastructure/converters/google");
6
- const core_1 = require("@angular/core");
7
- const repository_1 = require("@nx-ddd/firestore/repository");
8
- let GoogleRepository = class GoogleRepository extends repository_1.FirestoreRepository {
9
- constructor() {
10
- super(...arguments);
11
- this.collectionPath = 'users/:userId/links/:id';
12
- this.converter = (0, core_1.inject)(google_1.GoogleConverter);
13
- }
14
- };
15
- exports.GoogleRepository = GoogleRepository;
16
- exports.GoogleRepository = GoogleRepository = tslib_1.__decorate([
17
- (0, core_1.Injectable)({ providedIn: 'root' })
18
- ], GoogleRepository);
19
- //# sourceMappingURL=google.repository.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"google.repository.js","sourceRoot":"","sources":["../../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/firestore/link/google/google.repository.ts"],"names":[],"mappings":";;;;AACA,+EAAqF;AACrF,wCAAmD;AACnD,6DAAmE;AAG5D,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,gCAA2B;IAA1D;;QACI,mBAAc,GAAG,yBAAyB,CAAC;QAC1C,cAAS,GAAG,IAAA,aAAM,EAAC,wBAAe,CAAC,CAAC;IAChD,CAAC;CAAA,CAAA;AAHY,4CAAgB;2BAAhB,gBAAgB;IAD5B,IAAA,iBAAU,EAAC,EAAC,UAAU,EAAE,MAAM,EAAC,CAAC;GACpB,gBAAgB,CAG5B"}
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./google.repository"), exports);
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/firestore/link/google/index.ts"],"names":[],"mappings":";;;AAAA,8DAAoC"}
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./link.repository"), exports);
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/firestore/link/index.ts"],"names":[],"mappings":";;;AAAA,4DAAkC"}
@@ -1,5 +0,0 @@
1
- import { GoogleRepository } from "./google";
2
- export declare class LinkRepository {
3
- google: GoogleRepository;
4
- constructor(google: GoogleRepository);
5
- }
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LinkRepository = void 0;
4
- const tslib_1 = require("tslib");
5
- const core_1 = require("@angular/core");
6
- const google_1 = require("./google");
7
- let LinkRepository = class LinkRepository {
8
- constructor(google) {
9
- this.google = google;
10
- }
11
- };
12
- exports.LinkRepository = LinkRepository;
13
- exports.LinkRepository = LinkRepository = tslib_1.__decorate([
14
- (0, core_1.Injectable)({ providedIn: 'root' }),
15
- tslib_1.__metadata("design:paramtypes", [google_1.GoogleRepository])
16
- ], LinkRepository);
17
- //# sourceMappingURL=link.repository.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"link.repository.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/firestore/link/link.repository.ts"],"names":[],"mappings":";;;;AAAA,wCAA2C;AAC3C,qCAA4C;AAGrC,IAAM,cAAc,GAApB,MAAM,cAAc;IACzB,YACS,MAAwB;QAAxB,WAAM,GAAN,MAAM,CAAkB;IAC7B,CAAC;CACN,CAAA;AAJY,wCAAc;yBAAd,cAAc;IAD1B,IAAA,iBAAU,EAAC,EAAC,UAAU,EAAE,MAAM,EAAC,CAAC;6CAGd,yBAAgB;GAFtB,cAAc,CAI1B"}
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./query.repository"), exports);
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/firestore/query/index.ts"],"names":[],"mappings":";;;AAAA,6DAAmC"}
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.QueryFirestoreRepository = void 0;
4
- const tslib_1 = require("tslib");
5
- const core_1 = require("@angular/core");
6
- const query_1 = require("@xxmachina/common/domain/models/query");
7
- const repository_1 = require("@nx-ddd/firestore/repository");
8
- const firestore_1 = require("@nx-ddd/firestore");
9
- let QueryFirestoreRepository = class QueryFirestoreRepository extends repository_1.FirestoreRepository {
10
- constructor() {
11
- super(...arguments);
12
- this.collectionPath = 'projects/:projectId/queries/:id';
13
- this.converter = (0, firestore_1.injectConverter)(query_1.Query);
14
- }
15
- };
16
- exports.QueryFirestoreRepository = QueryFirestoreRepository;
17
- exports.QueryFirestoreRepository = QueryFirestoreRepository = tslib_1.__decorate([
18
- (0, core_1.Injectable)({ providedIn: 'root' })
19
- ], QueryFirestoreRepository);
20
- //# sourceMappingURL=query.repository.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"query.repository.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/firestore/query/query.repository.ts"],"names":[],"mappings":";;;;AAAA,wCAA2C;AAC3C,iEAA8D;AAC9D,6DAAmE;AACnE,iDAAoD;AAG7C,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,gCAA0B;IAAjE;;QACI,mBAAc,GAAG,iCAAiC,CAAC;QAClD,cAAS,GAAG,IAAA,2BAAe,EAAC,aAAK,CAAC,CAAC;IAC/C,CAAC;CAAA,CAAA;AAHY,4DAAwB;mCAAxB,wBAAwB;IADpC,IAAA,iBAAU,EAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC;GACtB,wBAAwB,CAGpC"}
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./resource.repository"), exports);
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/firestore/resource/index.ts"],"names":[],"mappings":";;;AAAA,gEAAsC"}
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResourceFirestoreRepository = void 0;
4
- const tslib_1 = require("tslib");
5
- const core_1 = require("@angular/core");
6
- const repository_1 = require("@nx-ddd/firestore/repository");
7
- const resource_1 = require("@xxmachina/common/domain/models/resource");
8
- const firestore_1 = require("@nx-ddd/firestore");
9
- let ResourceFirestoreRepository = class ResourceFirestoreRepository extends repository_1.FirestoreRepository {
10
- constructor() {
11
- super(...arguments);
12
- this.collectionPath = 'projects/:projectId/resources/:id';
13
- this.converter = (0, firestore_1.injectConverter)(resource_1.Resource);
14
- }
15
- };
16
- exports.ResourceFirestoreRepository = ResourceFirestoreRepository;
17
- exports.ResourceFirestoreRepository = ResourceFirestoreRepository = tslib_1.__decorate([
18
- (0, core_1.Injectable)({ providedIn: 'root' })
19
- ], ResourceFirestoreRepository);
20
- //# sourceMappingURL=resource.repository.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resource.repository.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/firestore/resource/resource.repository.ts"],"names":[],"mappings":";;;;AAAA,wCAA2C;AAC3C,6DAAmE;AACnE,uEAAoE;AACpE,iDAAoD;AAG7C,IAAM,2BAA2B,GAAjC,MAAM,2BAA4B,SAAQ,gCAA6B;IAAvE;;QACI,mBAAc,GAAG,mCAAmC,CAAC;QACpD,cAAS,GAAG,IAAA,2BAAe,EAAC,mBAAQ,CAAC,CAAC;IAClD,CAAC;CAAA,CAAA;AAHY,kEAA2B;sCAA3B,2BAA2B;IADvC,IAAA,iBAAU,EAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC;GACtB,2BAA2B,CAGvC"}
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./query.repository"), exports);
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/hasura/query/index.ts"],"names":[],"mappings":";;;AAAA,6DAAmC"}
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.QueryHasuraRepository = void 0;
4
- const tslib_1 = require("tslib");
5
- const core_1 = require("@angular/core");
6
- const models_1 = require("@xxmachina/common/domain/models");
7
- const hasura_1 = require("@nx-ddd/hasura");
8
- let QueryHasuraRepository = class QueryHasuraRepository extends hasura_1.HasuraRepository {
9
- constructor() {
10
- super(...arguments);
11
- this.tableName = 'meta_queries';
12
- this.converter = (0, hasura_1.makeConverter)(models_1.Query);
13
- this.updateColumns = (0, hasura_1.getFields)(models_1.Query, { case: 'snake' });
14
- }
15
- get pkey() {
16
- return `queries_pkey`;
17
- }
18
- };
19
- exports.QueryHasuraRepository = QueryHasuraRepository;
20
- exports.QueryHasuraRepository = QueryHasuraRepository = tslib_1.__decorate([
21
- (0, core_1.Injectable)({ providedIn: 'root' })
22
- ], QueryHasuraRepository);
23
- //# sourceMappingURL=query.repository.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"query.repository.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/hasura/query/query.repository.ts"],"names":[],"mappings":";;;;AAAA,wCAA2C;AAC3C,4DAAwD;AACxD,2CAA4E;AAGrE,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,yBAAuB;IAA3D;;QACI,cAAS,GAAG,cAAc,CAAC;QAC1B,cAAS,GAAG,IAAA,sBAAa,EAAC,cAAK,CAAC,CAAC;QAClC,kBAAa,GAAG,IAAA,kBAAS,EAAC,cAAK,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;IAK/D,CAAC;IAHC,IAAI,IAAI;QACN,OAAO,cAAc,CAAC;IACxB,CAAC;CACF,CAAA;AARY,sDAAqB;gCAArB,qBAAqB;IADjC,IAAA,iBAAU,EAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC;GACtB,qBAAqB,CAQjC"}
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./resource.repository"), exports);
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/hasura/resource/index.ts"],"names":[],"mappings":";;;AAAA,gEAAsC"}
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResourceHasuraRepository = void 0;
4
- const tslib_1 = require("tslib");
5
- const core_1 = require("@angular/core");
6
- const models_1 = require("@xxmachina/common/domain/models");
7
- const hasura_1 = require("@nx-ddd/hasura");
8
- let ResourceHasuraRepository = class ResourceHasuraRepository extends hasura_1.HasuraRepository {
9
- constructor() {
10
- super(...arguments);
11
- this.tableName = 'meta_resources';
12
- this.converter = (0, hasura_1.makeConverter)(models_1.Resource);
13
- this.updateColumns = (0, hasura_1.getFields)(models_1.Resource, { case: 'snake' });
14
- }
15
- get pkey() {
16
- return `resources_pkey`;
17
- }
18
- };
19
- exports.ResourceHasuraRepository = ResourceHasuraRepository;
20
- exports.ResourceHasuraRepository = ResourceHasuraRepository = tslib_1.__decorate([
21
- (0, core_1.Injectable)({ providedIn: 'root' })
22
- ], ResourceHasuraRepository);
23
- //# sourceMappingURL=resource.repository.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resource.repository.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/hasura/resource/resource.repository.ts"],"names":[],"mappings":";;;;AAAA,wCAA2C;AAC3C,4DAA2D;AAC3D,2CAA4E;AAGrE,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,yBAA0B;IAAjE;;QACI,cAAS,GAAG,gBAAgB,CAAC;QAC5B,cAAS,GAAG,IAAA,sBAAa,EAAC,iBAAQ,CAAC,CAAC;QACrC,kBAAa,GAAG,IAAA,kBAAS,EAAC,iBAAQ,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;IAKlE,CAAC;IAHC,IAAI,IAAI;QACN,OAAO,gBAAgB,CAAC;IAC1B,CAAC;CACF,CAAA;AARY,4DAAwB;mCAAxB,wBAAwB;IADpC,IAAA,iBAAU,EAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC;GACtB,wBAAwB,CAQpC"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./repository.config"), exports);
5
- tslib_1.__exportStar(require("./repository.service"), exports);
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/index.ts"],"names":[],"mappings":";;;AAAA,8DAAoC;AACpC,+DAAqC"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CONTRACT_CONFIG = void 0;
4
- exports.provideContractConfig = provideContractConfig;
5
- const core_1 = require("@angular/core");
6
- exports.CONTRACT_CONFIG = new core_1.InjectionToken('CONTRACT_CONFIG');
7
- function provideContractConfig(config) {
8
- return { provide: exports.CONTRACT_CONFIG, useValue: config };
9
- }
10
- //# sourceMappingURL=contract.config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"contract.config.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/notion/contract/contract.config.ts"],"names":[],"mappings":";;;AAQA,sDAEC;AAVD,wCAA+C;AAMlC,QAAA,eAAe,GAAG,IAAI,qBAAc,CAAiB,iBAAiB,CAAC,CAAC;AAErF,SAAgB,qBAAqB,CAAC,MAAsB;IAC1D,OAAO,EAAE,OAAO,EAAE,uBAAe,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC;AACxD,CAAC"}
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ContractRepository = void 0;
4
- const tslib_1 = require("tslib");
5
- const core_1 = require("@angular/core");
6
- const notion_1 = require("@nx-ddd/notion");
7
- const models_1 = require("@xxmachina/common/domain/invoice/models");
8
- const contract_config_1 = require("./contract.config");
9
- let ContractRepository = class ContractRepository extends notion_1.NotionRepository {
10
- constructor() {
11
- super(...arguments);
12
- this.converter = (0, notion_1.createConverter)(models_1.Contract);
13
- this.config = (0, core_1.inject)(contract_config_1.CONTRACT_CONFIG);
14
- this.accessToken = (0, core_1.inject)(notion_1.NOTION_ACCESS_TOKEN);
15
- this.databaseId = this.config.databaseId;
16
- }
17
- };
18
- exports.ContractRepository = ContractRepository;
19
- exports.ContractRepository = ContractRepository = tslib_1.__decorate([
20
- (0, core_1.Injectable)({ providedIn: 'root' })
21
- ], ContractRepository);
22
- //# sourceMappingURL=contract.repository.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"contract.repository.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/notion/contract/contract.repository.ts"],"names":[],"mappings":";;;;AAAA,wCAAmD;AACnD,2CAAwF;AACxF,oEAAmE;AACnE,uDAAoD;AAG7C,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,yBAA0B;IAA3D;;QACK,cAAS,GAAG,IAAA,wBAAe,EAAC,iBAAQ,CAAC,CAAC;QACtC,WAAM,GAAG,IAAA,aAAM,EAAC,iCAAe,CAAC,CAAC;QACjC,gBAAW,GAAG,IAAA,aAAM,EAAC,4BAAmB,CAAC,CAAC;QAC1C,eAAU,GAAG,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC;IAChD,CAAC;CAAA,CAAA;AALY,gDAAkB;6BAAlB,kBAAkB;IAD9B,IAAA,iBAAU,EAAC,EAAC,UAAU,EAAE,MAAM,EAAC,CAAC;GACpB,kBAAkB,CAK9B"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./contract.config"), exports);
5
- tslib_1.__exportStar(require("./contract.repository"), exports);
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/notion/contract/index.ts"],"names":[],"mappings":";;;AAAA,4DAAkC;AAClC,gEAAsC"}
@@ -1,2 +0,0 @@
1
- export * from './notion.config';
2
- export * from './notion.repository';
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./notion.config"), exports);
5
- tslib_1.__exportStar(require("./notion.repository"), exports);
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/notion/index.ts"],"names":[],"mappings":";;;AAAA,0DAAgC;AAChC,8DAAoC"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./invoice.config"), exports);
5
- tslib_1.__exportStar(require("./invoice.repository"), exports);
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/notion/invoice/index.ts"],"names":[],"mappings":";;;AAAA,2DAAiC;AACjC,+DAAqC"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.INVOICE_CONFIG = void 0;
4
- exports.provideInvoiceConfig = provideInvoiceConfig;
5
- const core_1 = require("@angular/core");
6
- exports.INVOICE_CONFIG = new core_1.InjectionToken('Invoice Config');
7
- function provideInvoiceConfig(config) {
8
- return { provide: exports.INVOICE_CONFIG, useValue: config };
9
- }
10
- //# sourceMappingURL=invoice.config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"invoice.config.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/notion/invoice/invoice.config.ts"],"names":[],"mappings":";;;AAQA,oDAEC;AAVD,wCAA+C;AAMlC,QAAA,cAAc,GAAG,IAAI,qBAAc,CAAgB,gBAAgB,CAAC,CAAC;AAElF,SAAgB,oBAAoB,CAAC,MAAqB;IACxD,OAAO,EAAE,OAAO,EAAE,sBAAc,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC;AACvD,CAAC"}
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InvoiceRepository = void 0;
4
- const tslib_1 = require("tslib");
5
- const core_1 = require("@angular/core");
6
- const notion_1 = require("@nx-ddd/notion");
7
- const models_1 = require("@xxmachina/common/domain/invoice/models");
8
- const invoice_config_1 = require("./invoice.config");
9
- let InvoiceRepository = class InvoiceRepository extends notion_1.NotionRepository {
10
- constructor() {
11
- super(...arguments);
12
- this.converter = (0, notion_1.createConverter)(models_1.Invoice);
13
- this.config = (0, core_1.inject)(invoice_config_1.INVOICE_CONFIG);
14
- this.accessToken = (0, core_1.inject)(notion_1.NOTION_ACCESS_TOKEN);
15
- this.databaseId = this.config.databaseId;
16
- }
17
- };
18
- exports.InvoiceRepository = InvoiceRepository;
19
- exports.InvoiceRepository = InvoiceRepository = tslib_1.__decorate([
20
- (0, core_1.Injectable)({ providedIn: 'root' })
21
- ], InvoiceRepository);
22
- //# sourceMappingURL=invoice.repository.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"invoice.repository.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/notion/invoice/invoice.repository.ts"],"names":[],"mappings":";;;;AAAA,wCAAmD;AACnD,2CAAwF;AACxF,oEAAkE;AAClE,qDAAkD;AAG3C,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,yBAAyB;IAAzD;;QACK,cAAS,GAAG,IAAA,wBAAe,EAAC,gBAAO,CAAC,CAAC;QACrC,WAAM,GAAG,IAAA,aAAM,EAAC,+BAAc,CAAC,CAAC;QAChC,gBAAW,GAAG,IAAA,aAAM,EAAC,4BAAmB,CAAC,CAAC;QAC1C,eAAU,GAAG,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC;IAChD,CAAC;CAAA,CAAA;AALY,8CAAiB;4BAAjB,iBAAiB;IAD7B,IAAA,iBAAU,EAAC,EAAC,UAAU,EAAE,MAAM,EAAC,CAAC;GACpB,iBAAiB,CAK7B"}
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.provideNotionConfig = provideNotionConfig;
4
- const contract_1 = require("./contract");
5
- const invoice_1 = require("./invoice");
6
- const order_config_1 = require("./order/order.config");
7
- const partner_1 = require("./partner");
8
- const notion_1 = require("@nx-ddd/notion");
9
- function provideNotionConfig(config) {
10
- return [
11
- (0, contract_1.provideContractConfig)(config.contract),
12
- (0, invoice_1.provideInvoiceConfig)(config.invoice),
13
- (0, order_config_1.provideOrderConfig)(config.order),
14
- (0, partner_1.providePartnerConfig)(config.partner),
15
- (0, notion_1.provideNotionConfig)({ accessToken: config.accessToken }),
16
- ];
17
- }
18
- //# sourceMappingURL=notion.config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"notion.config.js","sourceRoot":"","sources":["../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/notion/notion.config.ts"],"names":[],"mappings":";;AAcA,kDAQC;AAtBD,yCAAmE;AACnE,uCAAgE;AAChE,uDAA0D;AAC1D,uCAAgE;AAChE,2CAA6E;AAU7E,SAAgB,mBAAmB,CAAC,MAAoB;IACtD,OAAO;QACL,IAAA,gCAAqB,EAAC,MAAM,CAAC,QAAQ,CAAC;QACtC,IAAA,8BAAoB,EAAC,MAAM,CAAC,OAAO,CAAC;QACpC,IAAA,iCAAkB,EAAC,MAAM,CAAC,KAAK,CAAC;QAChC,IAAA,8BAAoB,EAAC,MAAM,CAAC,OAAO,CAAC;QACpC,IAAA,4BAAoB,EAAC,EAAC,WAAW,EAAE,MAAM,CAAC,WAAW,EAAE,CAAC;KACzD,CAAC;AACJ,CAAC"}
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NotionRepository = void 0;
4
- const tslib_1 = require("tslib");
5
- const core_1 = require("@angular/core");
6
- const contract_1 = require("./contract");
7
- const invoice_1 = require("./invoice");
8
- const order_1 = require("./order");
9
- const partner_1 = require("./partner");
10
- let NotionRepository = class NotionRepository {
11
- constructor(contract, invoice, order, partner) {
12
- this.contract = contract;
13
- this.invoice = invoice;
14
- this.order = order;
15
- this.partner = partner;
16
- }
17
- };
18
- exports.NotionRepository = NotionRepository;
19
- exports.NotionRepository = NotionRepository = tslib_1.__decorate([
20
- (0, core_1.Injectable)({ providedIn: 'root' }),
21
- tslib_1.__metadata("design:paramtypes", [contract_1.ContractRepository,
22
- invoice_1.InvoiceRepository,
23
- order_1.OrderRepository,
24
- partner_1.PartnerRepository])
25
- ], NotionRepository);
26
- //# sourceMappingURL=notion.repository.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"notion.repository.js","sourceRoot":"","sources":["../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/notion/notion.repository.ts"],"names":[],"mappings":";;;;AAAA,wCAA2C;AAC3C,yCAAgD;AAChD,uCAA8C;AAC9C,mCAA0C;AAC1C,uCAA8C;AAGvC,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;IAC3B,YACS,QAA4B,EAC5B,OAA0B,EAC1B,KAAsB,EACtB,OAA0B;QAH1B,aAAQ,GAAR,QAAQ,CAAoB;QAC5B,YAAO,GAAP,OAAO,CAAmB;QAC1B,UAAK,GAAL,KAAK,CAAiB;QACtB,YAAO,GAAP,OAAO,CAAmB;IAChC,CAAC;CACL,CAAA;AAPY,4CAAgB;2BAAhB,gBAAgB;IAD5B,IAAA,iBAAU,EAAC,EAAC,UAAU,EAAE,MAAM,EAAC,CAAC;6CAGZ,6BAAkB;QACnB,2BAAiB;QACnB,uBAAe;QACb,2BAAiB;GALxB,gBAAgB,CAO5B"}
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./order.repository"), exports);
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/notion/order/index.ts"],"names":[],"mappings":";;;AAAA,6DAAmC"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ORDER_CONFIG = void 0;
4
- exports.provideOrderConfig = provideOrderConfig;
5
- const core_1 = require("@angular/core");
6
- exports.ORDER_CONFIG = new core_1.InjectionToken('ORDER_CONFIG');
7
- function provideOrderConfig(config) {
8
- return { provide: exports.ORDER_CONFIG, useValue: config };
9
- }
10
- //# sourceMappingURL=order.config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"order.config.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/notion/order/order.config.ts"],"names":[],"mappings":";;;AAQA,gDAEC;AAVD,wCAA+C;AAMlC,QAAA,YAAY,GAAG,IAAI,qBAAc,CAAc,cAAc,CAAC,CAAC;AAE5E,SAAgB,kBAAkB,CAAC,MAAmB;IACpD,OAAO,EAAE,OAAO,EAAE,oBAAY,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC;AACrD,CAAC"}
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.OrderRepository = void 0;
4
- const tslib_1 = require("tslib");
5
- const core_1 = require("@angular/core");
6
- const notion_1 = require("@nx-ddd/notion");
7
- const models_1 = require("@xxmachina/common/domain/invoice/models");
8
- const order_config_1 = require("./order.config");
9
- let OrderRepository = class OrderRepository extends notion_1.NotionRepository {
10
- constructor() {
11
- super(...arguments);
12
- this.converter = (0, notion_1.createConverter)(models_1.Order);
13
- this.config = (0, core_1.inject)(order_config_1.ORDER_CONFIG);
14
- this.accessToken = (0, core_1.inject)(notion_1.NOTION_ACCESS_TOKEN);
15
- this.databaseId = this.config.databaseId;
16
- }
17
- };
18
- exports.OrderRepository = OrderRepository;
19
- exports.OrderRepository = OrderRepository = tslib_1.__decorate([
20
- (0, core_1.Injectable)({ providedIn: 'root' })
21
- ], OrderRepository);
22
- //# sourceMappingURL=order.repository.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"order.repository.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/notion/order/order.repository.ts"],"names":[],"mappings":";;;;AAAA,wCAAmD;AACnD,2CAAwF;AACxF,oEAAgE;AAChE,iDAA8C;AAGvC,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,yBAAuB;IAArD;;QACK,cAAS,GAAG,IAAA,wBAAe,EAAC,cAAK,CAAC,CAAC;QACnC,WAAM,GAAG,IAAA,aAAM,EAAC,2BAAY,CAAC,CAAC;QAC9B,gBAAW,GAAG,IAAA,aAAM,EAAC,4BAAmB,CAAC,CAAC;QAC1C,eAAU,GAAG,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC;IAChD,CAAC;CAAA,CAAA;AALY,0CAAe;0BAAf,eAAe;IAD3B,IAAA,iBAAU,EAAC,EAAC,UAAU,EAAE,MAAM,EAAC,CAAC;GACpB,eAAe,CAK3B"}