@nlabs/reaktor 0.10.1 → 0.10.5

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 (494) hide show
  1. package/coverage/actions/index.html +21 -36
  2. package/coverage/actions/notifications.ts.html +223 -0
  3. package/coverage/actions/posts.ts.html +2356 -0
  4. package/coverage/adapters/arangoAdapter.ts.html +170 -20
  5. package/coverage/adapters/fileAdapter.ts.html +445 -0
  6. package/coverage/adapters/index.html +72 -42
  7. package/coverage/adapters/postAdapter.ts.html +436 -0
  8. package/coverage/adapters/reaktorAdapter.ts.html +201 -18
  9. package/coverage/adapters/tagAdapter.ts.html +274 -25
  10. package/coverage/adapters/userAdapter.ts.html +829 -0
  11. package/coverage/analyticsUtils.ts.html +286 -0
  12. package/coverage/block-navigation.js +1 -1
  13. package/coverage/config.ts.html +766 -0
  14. package/coverage/index.html +83 -53
  15. package/coverage/mocks/group.ts.html +5 -5
  16. package/coverage/mocks/image.ts.html +18 -12
  17. package/coverage/mocks/index.html +37 -7
  18. package/coverage/mocks/post.ts.html +8 -8
  19. package/coverage/mocks/tag.ts.html +2 -2
  20. package/coverage/mocks/user.ts.html +18 -15
  21. package/coverage/sorter.js +21 -7
  22. package/coverage/testUtils.ts.html +1309 -0
  23. package/coverage/translationQueue.ts.html +592 -0
  24. package/coverage/types/error.types.ts.html +148 -0
  25. package/coverage/types/index.html +2 -2
  26. package/coverage/utils/adapterUtils.ts.html +39 -27
  27. package/coverage/utils/analyticsUtils.ts.html +35 -41
  28. package/coverage/utils/authUtils.ts.html +328 -0
  29. package/coverage/utils/dbI18n.ts.html +280 -0
  30. package/coverage/utils/googleTranslate.ts.html +385 -0
  31. package/coverage/utils/index.html +29 -44
  32. package/coverage/utils/localeUtils.ts.html +193 -0
  33. package/coverage/utils/sessionUtils.ts.html +211 -0
  34. package/coverage/utils/testUtils.ts.html +1309 -0
  35. package/lex.config.mjs +34 -0
  36. package/lib/actions/apps.d.ts +25 -0
  37. package/lib/actions/connections.d.ts +5 -0
  38. package/lib/actions/content.d.ts +13 -0
  39. package/lib/actions/conversations.d.ts +16 -0
  40. package/lib/actions/dynamodb.d.ts +12 -0
  41. package/lib/actions/email.d.ts +8 -0
  42. package/lib/actions/files.d.ts +19 -0
  43. package/lib/actions/groups.d.ts +13 -0
  44. package/lib/actions/images.d.ts +33 -0
  45. package/lib/actions/index.d.ts +28 -0
  46. package/lib/actions/ios.d.ts +7 -0
  47. package/lib/actions/locations.d.ts +6 -0
  48. package/lib/actions/messages.d.ts +13 -0
  49. package/lib/actions/notifications.d.ts +9 -0
  50. package/lib/actions/payments.d.ts +12 -0
  51. package/lib/actions/posts.d.ts +25 -0
  52. package/lib/actions/profiles.d.ts +4 -0
  53. package/lib/actions/reactions.d.ts +32 -0
  54. package/lib/actions/s3.d.ts +11 -0
  55. package/lib/actions/search.d.ts +3 -0
  56. package/lib/actions/sms.d.ts +2 -0
  57. package/lib/actions/statistics.d.ts +4 -0
  58. package/lib/actions/subscriptions.d.ts +7 -0
  59. package/lib/actions/tags.d.ts +34 -0
  60. package/lib/actions/users.d.ts +73 -0
  61. package/lib/actions/videos.d.ts +25 -0
  62. package/lib/actions/websockets.d.ts +20 -0
  63. package/lib/adapters/arangoAdapter.d.ts +8 -0
  64. package/lib/adapters/contentAdapter.d.ts +8 -0
  65. package/lib/adapters/fileAdapter.d.ts +9 -0
  66. package/lib/adapters/imageAdapter.d.ts +8 -0
  67. package/lib/adapters/index.d.ts +9 -0
  68. package/lib/adapters/messageAdapter.d.ts +8 -0
  69. package/lib/adapters/postAdapter.d.ts +8 -0
  70. package/lib/adapters/reaktorAdapter.d.ts +16 -0
  71. package/lib/adapters/tagAdapter.d.ts +9 -0
  72. package/lib/adapters/userAdapter.d.ts +13 -0
  73. package/lib/config.d.ts +57 -0
  74. package/lib/handlers/graphqlHandler.d.ts +4 -0
  75. package/lib/index.d.ts +19 -0
  76. package/lib/lambdas/actions/websockets.d.ts +7 -0
  77. package/lib/lambdas/authorizer.d.ts +20 -0
  78. package/lib/lambdas/connection.d.ts +12 -0
  79. package/lib/lambdas/utils/message.d.ts +1 -0
  80. package/lib/lambdas/utils/websocket.d.ts +7 -0
  81. package/lib/mocks/conversation.d.ts +8 -0
  82. package/lib/mocks/file.d.ts +11 -0
  83. package/lib/mocks/group.d.ts +17 -0
  84. package/lib/mocks/image.d.ts +3 -0
  85. package/lib/mocks/post.d.ts +38 -0
  86. package/lib/mocks/tag.d.ts +2 -0
  87. package/lib/mocks/user.d.ts +4 -0
  88. package/lib/mocks/video.d.ts +3 -0
  89. package/lib/mutations/content.d.ts +2 -0
  90. package/lib/mutations/index.d.ts +11 -0
  91. package/lib/mutations/locations.d.ts +2 -0
  92. package/lib/mutations/messages.d.ts +2 -0
  93. package/lib/mutations/posts.d.ts +2 -0
  94. package/lib/mutations/profiles.d.ts +2 -0
  95. package/lib/mutations/reactions.d.ts +2 -0
  96. package/lib/mutations/statistics.d.ts +2 -0
  97. package/lib/mutations/subscriptions.d.ts +2 -0
  98. package/lib/mutations/tags.d.ts +2 -0
  99. package/lib/mutations/users.d.ts +1 -0
  100. package/lib/objectTypes/app.d.ts +3 -0
  101. package/lib/objectTypes/bankAccount.d.ts +1 -0
  102. package/lib/objectTypes/connection.d.ts +1 -0
  103. package/lib/objectTypes/content.d.ts +2 -0
  104. package/lib/objectTypes/conversation.d.ts +2 -0
  105. package/lib/objectTypes/creditCard.d.ts +1 -0
  106. package/lib/objectTypes/document.d.ts +1 -0
  107. package/lib/objectTypes/error.d.ts +1 -0
  108. package/lib/objectTypes/external.d.ts +1 -0
  109. package/lib/objectTypes/file.d.ts +2 -0
  110. package/lib/objectTypes/filter.d.ts +1 -0
  111. package/lib/objectTypes/group.d.ts +3 -0
  112. package/lib/objectTypes/iapSubscription.d.ts +1 -0
  113. package/lib/objectTypes/image.d.ts +6 -0
  114. package/lib/objectTypes/index.d.ts +26 -0
  115. package/lib/objectTypes/location.d.ts +2 -0
  116. package/lib/objectTypes/message.d.ts +2 -0
  117. package/lib/objectTypes/passcode.d.ts +1 -0
  118. package/lib/objectTypes/plan.d.ts +2 -0
  119. package/lib/objectTypes/post.d.ts +2 -0
  120. package/lib/objectTypes/profile.d.ts +3 -0
  121. package/lib/objectTypes/reaction.d.ts +2 -0
  122. package/lib/objectTypes/relation.d.ts +1 -0
  123. package/lib/objectTypes/search.d.ts +1 -0
  124. package/lib/objectTypes/statistics.d.ts +1 -0
  125. package/lib/objectTypes/subscription.d.ts +2 -0
  126. package/lib/objectTypes/tag.d.ts +2 -0
  127. package/lib/objectTypes/user.d.ts +4 -0
  128. package/lib/queries/content.d.ts +2 -0
  129. package/lib/queries/index.d.ts +10 -0
  130. package/lib/queries/locations.d.ts +2 -0
  131. package/lib/queries/messages.d.ts +2 -0
  132. package/lib/queries/posts.d.ts +2 -0
  133. package/lib/queries/reactions.d.ts +2 -0
  134. package/lib/queries/statistics.d.ts +2 -0
  135. package/lib/queries/subscriptions.d.ts +2 -0
  136. package/lib/queries/tags.d.ts +2 -0
  137. package/lib/queries/users.d.ts +1 -0
  138. package/lib/templates/email/layout.d.ts +2 -0
  139. package/lib/templates/email/passwordForgot.d.ts +2 -0
  140. package/lib/templates/email/passwordRecovery.d.ts +2 -0
  141. package/lib/templates/email/verifyEmail.d.ts +2 -0
  142. package/lib/templates/email/welcome.d.ts +2 -0
  143. package/lib/templates/sms/passwordForgot.d.ts +2 -0
  144. package/lib/templates/sms/passwordRecovery.d.ts +2 -0
  145. package/lib/templates/sms/verifyEmail.d.ts +2 -0
  146. package/lib/templates/sms/verifyPhone.d.ts +2 -0
  147. package/lib/templates/sms/welcome.d.ts +2 -0
  148. package/lib/types/apps.types.d.ts +50 -0
  149. package/lib/types/arangodb.types.d.ts +38 -0
  150. package/lib/types/auth.types.d.ts +15 -0
  151. package/lib/types/connections.types.d.ts +9 -0
  152. package/lib/types/content.types.d.ts +31 -0
  153. package/lib/types/conversations.types.d.ts +31 -0
  154. package/lib/types/email.types.d.ts +17 -0
  155. package/lib/types/error.types.d.ts +21 -0
  156. package/lib/types/files.types.d.ts +27 -0
  157. package/lib/types/google.types.d.ts +33 -0
  158. package/lib/types/groups.types.d.ts +22 -0
  159. package/lib/types/images.types.d.ts +56 -0
  160. package/lib/types/index.d.ts +27 -0
  161. package/lib/types/locations.types.d.ts +22 -0
  162. package/lib/types/messages.types.d.ts +20 -0
  163. package/lib/types/notifications.types.d.ts +23 -0
  164. package/lib/types/payments.types.d.ts +113 -0
  165. package/lib/types/posts.types.d.ts +32 -0
  166. package/lib/types/profiles.types.d.ts +20 -0
  167. package/lib/types/statistics.types.d.ts +3 -0
  168. package/lib/types/tags.types.d.ts +19 -0
  169. package/lib/types/users.types.d.ts +110 -0
  170. package/lib/types/videos.types.d.ts +46 -0
  171. package/lib/types/websockets.types.d.ts +22 -0
  172. package/lib/utils/adapterUtils.d.ts +5 -0
  173. package/lib/utils/analyticsUtils.d.ts +25 -0
  174. package/lib/utils/arangodbUtils.d.ts +70 -0
  175. package/lib/utils/authUtils.d.ts +23 -0
  176. package/lib/utils/contextUtils.d.ts +3 -0
  177. package/lib/utils/dbI18n.d.ts +10 -0
  178. package/lib/utils/dbI18n.example.d.ts +20 -0
  179. package/lib/utils/googleTranslate.d.ts +6 -0
  180. package/lib/utils/graphqlUtils.d.ts +10 -0
  181. package/lib/utils/index.d.ts +18 -0
  182. package/lib/utils/languageDetection.d.ts +8 -0
  183. package/lib/utils/localeUtils.d.ts +11 -0
  184. package/lib/utils/localeUtils.example.d.ts +5 -0
  185. package/lib/utils/middlewareUtils.d.ts +2 -0
  186. package/lib/utils/sessionUtils.d.ts +18 -0
  187. package/lib/utils/stripeUtils.d.ts +7 -0
  188. package/lib/utils/templateUtils.d.ts +3 -0
  189. package/lib/utils/testUtils.d.ts +95 -0
  190. package/lib/utils/translationQueue.d.ts +29 -0
  191. package/lib/utils/translationQueue.example.d.ts +33 -0
  192. package/package.json +28 -28
  193. package/tsconfig.build.json +21 -0
  194. package/tsconfig.lint.json +33 -0
  195. package/tsconfig.test.json +31 -0
  196. package/dist/actions/apps.js +0 -242
  197. package/dist/actions/connections.js +0 -90
  198. package/dist/actions/conversations.js +0 -350
  199. package/dist/actions/dynamodb.js +0 -150
  200. package/dist/actions/email.js +0 -152
  201. package/dist/actions/files.js +0 -283
  202. package/dist/actions/groups.js +0 -292
  203. package/dist/actions/images.js +0 -735
  204. package/dist/actions/index.js +0 -66
  205. package/dist/actions/ios.js +0 -164
  206. package/dist/actions/locations.js +0 -122
  207. package/dist/actions/messages.js +0 -208
  208. package/dist/actions/notifications.js +0 -59
  209. package/dist/actions/payments.js +0 -497
  210. package/dist/actions/personas.js +0 -110
  211. package/dist/actions/posts.js +0 -595
  212. package/dist/actions/reactions.js +0 -322
  213. package/dist/actions/s3.js +0 -133
  214. package/dist/actions/search.js +0 -90
  215. package/dist/actions/sms.js +0 -108
  216. package/dist/actions/statistics.js +0 -62
  217. package/dist/actions/subscription.js +0 -220
  218. package/dist/actions/tags.js +0 -292
  219. package/dist/actions/users.js +0 -784
  220. package/dist/actions/websockets.js +0 -174
  221. package/dist/adapters/arangoAdapter.js +0 -46
  222. package/dist/adapters/fileAdapter.js +0 -76
  223. package/dist/adapters/imageAdapter.js +0 -40
  224. package/dist/adapters/messageAdapter.js +0 -49
  225. package/dist/adapters/postAdapter.js +0 -70
  226. package/dist/adapters/reaktorAdapter.js +0 -44
  227. package/dist/adapters/tagAdapter.js +0 -50
  228. package/dist/adapters/userAdapter.js +0 -115
  229. package/dist/config.js +0 -125
  230. package/dist/index.js +0 -66
  231. package/dist/lambdas/actions/websockets.js +0 -132
  232. package/dist/lambdas/authorizer.js +0 -67
  233. package/dist/lambdas/connection.js +0 -91
  234. package/dist/lambdas/utils/message.js +0 -42
  235. package/dist/lambdas/utils/websocket.js +0 -105
  236. package/dist/mocks/conversation.js +0 -35
  237. package/dist/mocks/file.js +0 -38
  238. package/dist/mocks/group.js +0 -47
  239. package/dist/mocks/image.js +0 -44
  240. package/dist/mocks/nlabs.png +0 -0
  241. package/dist/mocks/post.js +0 -55
  242. package/dist/mocks/tag.js +0 -37
  243. package/dist/mocks/user.js +0 -88
  244. package/dist/mutations/index.js +0 -26
  245. package/dist/mutations/locations.js +0 -44
  246. package/dist/mutations/messages.js +0 -86
  247. package/dist/mutations/personas.js +0 -100
  248. package/dist/mutations/posts.js +0 -53
  249. package/dist/mutations/reactions.js +0 -51
  250. package/dist/mutations/statistics.js +0 -39
  251. package/dist/mutations/subscriptions.js +0 -56
  252. package/dist/mutations/tags.js +0 -120
  253. package/dist/mutations/users.js +0 -116
  254. package/dist/objectTypes/app.js +0 -173
  255. package/dist/objectTypes/bankAccount.js +0 -76
  256. package/dist/objectTypes/connection.js +0 -48
  257. package/dist/objectTypes/conversation.js +0 -77
  258. package/dist/objectTypes/creditCard.js +0 -86
  259. package/dist/objectTypes/document.js +0 -46
  260. package/dist/objectTypes/error.js +0 -46
  261. package/dist/objectTypes/external.js +0 -74
  262. package/dist/objectTypes/file.js +0 -100
  263. package/dist/objectTypes/filter.js +0 -43
  264. package/dist/objectTypes/group.js +0 -123
  265. package/dist/objectTypes/iapSubscription.js +0 -40
  266. package/dist/objectTypes/image.js +0 -129
  267. package/dist/objectTypes/index.js +0 -68
  268. package/dist/objectTypes/location.js +0 -109
  269. package/dist/objectTypes/message.js +0 -96
  270. package/dist/objectTypes/passcode.js +0 -42
  271. package/dist/objectTypes/persona.js +0 -87
  272. package/dist/objectTypes/plan.js +0 -95
  273. package/dist/objectTypes/post.js +0 -125
  274. package/dist/objectTypes/reaction.js +0 -61
  275. package/dist/objectTypes/relation.js +0 -49
  276. package/dist/objectTypes/search.js +0 -72
  277. package/dist/objectTypes/statistics.js +0 -39
  278. package/dist/objectTypes/subscription.js +0 -117
  279. package/dist/objectTypes/tag.js +0 -65
  280. package/dist/objectTypes/user.js +0 -144
  281. package/dist/queries/index.js +0 -33
  282. package/dist/queries/locations.js +0 -45
  283. package/dist/queries/messages.js +0 -52
  284. package/dist/queries/posts.js +0 -154
  285. package/dist/queries/reactions.js +0 -56
  286. package/dist/queries/statistics.js +0 -39
  287. package/dist/queries/subscriptions.js +0 -44
  288. package/dist/queries/tags.js +0 -75
  289. package/dist/queries/users.js +0 -64
  290. package/dist/templates/email/layout.js +0 -302
  291. package/dist/templates/email/passwordForgot.js +0 -38
  292. package/dist/templates/email/passwordRecovery.js +0 -35
  293. package/dist/templates/email/verifyEmail.js +0 -38
  294. package/dist/templates/email/welcome.js +0 -38
  295. package/dist/templates/sms/passwordForgot.js +0 -24
  296. package/dist/templates/sms/passwordRecovery.js +0 -24
  297. package/dist/templates/sms/verifyEmail.js +0 -24
  298. package/dist/templates/sms/verifyPhone.js +0 -24
  299. package/dist/templates/sms/welcome.js +0 -24
  300. package/dist/types/apps.js +0 -32
  301. package/dist/types/arangodb.js +0 -16
  302. package/dist/types/auth.js +0 -16
  303. package/dist/types/connections.js +0 -16
  304. package/dist/types/conversations.js +0 -16
  305. package/dist/types/email.js +0 -16
  306. package/dist/types/error.js +0 -44
  307. package/dist/types/files.js +0 -16
  308. package/dist/types/google.js +0 -16
  309. package/dist/types/groups.js +0 -16
  310. package/dist/types/images.js +0 -16
  311. package/dist/types/index.js +0 -60
  312. package/dist/types/locations.js +0 -16
  313. package/dist/types/messages.js +0 -16
  314. package/dist/types/notifications.js +0 -16
  315. package/dist/types/payments.js +0 -16
  316. package/dist/types/personas.js +0 -16
  317. package/dist/types/posts.js +0 -16
  318. package/dist/types/statistics.js +0 -16
  319. package/dist/types/tags.js +0 -16
  320. package/dist/types/users.js +0 -16
  321. package/dist/types/websockets.js +0 -16
  322. package/dist/utils/adapterUtils.js +0 -45
  323. package/dist/utils/analyticsUtils.js +0 -72
  324. package/dist/utils/arangodbUtils.js +0 -165
  325. package/dist/utils/auth.js +0 -57
  326. package/dist/utils/index.js +0 -30
  327. package/dist/utils/session.js +0 -60
  328. package/jest.config.js +0 -17
  329. package/jest.setup.js +0 -36
  330. package/lex.config.cjs +0 -13
  331. package/lib/actions/apps.js +0 -20
  332. package/lib/actions/connections.js +0 -7
  333. package/lib/actions/content.js +0 -17
  334. package/lib/actions/conversations.js +0 -33
  335. package/lib/actions/dynamodb.js +0 -2
  336. package/lib/actions/email.js +0 -2
  337. package/lib/actions/files.js +0 -5
  338. package/lib/actions/groups.js +0 -52
  339. package/lib/actions/images.js +0 -66
  340. package/lib/actions/index.js +0 -2
  341. package/lib/actions/ios.js +0 -11
  342. package/lib/actions/locations.js +0 -7
  343. package/lib/actions/messages.js +0 -33
  344. package/lib/actions/notifications.js +0 -2
  345. package/lib/actions/payments.js +0 -32
  346. package/lib/actions/posts.js +0 -143
  347. package/lib/actions/profiles.js +0 -8
  348. package/lib/actions/reactions.js +0 -35
  349. package/lib/actions/s3.js +0 -2
  350. package/lib/actions/search.js +0 -5
  351. package/lib/actions/sms.js +0 -2
  352. package/lib/actions/statistics.js +0 -8
  353. package/lib/actions/subscriptions.js +0 -12
  354. package/lib/actions/tags.js +0 -24
  355. package/lib/actions/users.js +0 -84
  356. package/lib/actions/websockets.js +0 -30
  357. package/lib/adapters/arangoAdapter.js +0 -2
  358. package/lib/adapters/contentAdapter.js +0 -2
  359. package/lib/adapters/fileAdapter.js +0 -2
  360. package/lib/adapters/imageAdapter.js +0 -2
  361. package/lib/adapters/messageAdapter.js +0 -2
  362. package/lib/adapters/postAdapter.js +0 -2
  363. package/lib/adapters/reaktorAdapter.js +0 -2
  364. package/lib/adapters/tagAdapter.js +0 -2
  365. package/lib/adapters/userAdapter.js +0 -2
  366. package/lib/config.js +0 -2
  367. package/lib/handlers/graphqlHandler.js +0 -2
  368. package/lib/index.js +0 -2
  369. package/lib/lambdas/actions/websockets.js +0 -30
  370. package/lib/lambdas/authorizer.js +0 -2
  371. package/lib/lambdas/connection.js +0 -2
  372. package/lib/lambdas/utils/message.js +0 -2
  373. package/lib/lambdas/utils/websocket.js +0 -2
  374. package/lib/mocks/conversation.js +0 -2
  375. package/lib/mocks/file.js +0 -2
  376. package/lib/mocks/group.js +0 -2
  377. package/lib/mocks/image.js +0 -2
  378. package/lib/mocks/post.js +0 -2
  379. package/lib/mocks/tag.js +0 -2
  380. package/lib/mocks/user.js +0 -2
  381. package/lib/mutations/index.js +0 -2
  382. package/lib/mutations/locations.integration.js +0 -2
  383. package/lib/mutations/locations.js +0 -2
  384. package/lib/mutations/messages.integration.js +0 -2
  385. package/lib/mutations/messages.js +0 -2
  386. package/lib/mutations/posts.integration.js +0 -2
  387. package/lib/mutations/posts.js +0 -2
  388. package/lib/mutations/profiles.integration.js +0 -2
  389. package/lib/mutations/profiles.js +0 -2
  390. package/lib/mutations/reactions.integration.js +0 -2
  391. package/lib/mutations/reactions.js +0 -2
  392. package/lib/mutations/statistics.integration.js +0 -2
  393. package/lib/mutations/statistics.js +0 -2
  394. package/lib/mutations/subscriptions.integration.js +0 -2
  395. package/lib/mutations/subscriptions.js +0 -2
  396. package/lib/mutations/tags.integration.js +0 -2
  397. package/lib/mutations/tags.js +0 -2
  398. package/lib/mutations/users.integration.js +0 -2
  399. package/lib/mutations/users.js +0 -2
  400. package/lib/objectTypes/app.js +0 -2
  401. package/lib/objectTypes/bankAccount.js +0 -2
  402. package/lib/objectTypes/connection.js +0 -2
  403. package/lib/objectTypes/conversation.js +0 -2
  404. package/lib/objectTypes/creditCard.js +0 -2
  405. package/lib/objectTypes/document.js +0 -2
  406. package/lib/objectTypes/error.js +0 -2
  407. package/lib/objectTypes/external.js +0 -2
  408. package/lib/objectTypes/file.js +0 -2
  409. package/lib/objectTypes/filter.js +0 -2
  410. package/lib/objectTypes/group.js +0 -2
  411. package/lib/objectTypes/iapSubscription.js +0 -2
  412. package/lib/objectTypes/image.js +0 -2
  413. package/lib/objectTypes/index.js +0 -2
  414. package/lib/objectTypes/location.js +0 -2
  415. package/lib/objectTypes/message.js +0 -2
  416. package/lib/objectTypes/passcode.js +0 -2
  417. package/lib/objectTypes/plan.js +0 -2
  418. package/lib/objectTypes/post.js +0 -2
  419. package/lib/objectTypes/profile.js +0 -2
  420. package/lib/objectTypes/reaction.js +0 -2
  421. package/lib/objectTypes/relation.js +0 -2
  422. package/lib/objectTypes/search.js +0 -2
  423. package/lib/objectTypes/statistics.js +0 -2
  424. package/lib/objectTypes/subscription.js +0 -2
  425. package/lib/objectTypes/tag.js +0 -2
  426. package/lib/objectTypes/user.js +0 -2
  427. package/lib/queries/index.js +0 -2
  428. package/lib/queries/locations.integration.js +0 -2
  429. package/lib/queries/locations.js +0 -2
  430. package/lib/queries/messages.integration.js +0 -2
  431. package/lib/queries/messages.js +0 -2
  432. package/lib/queries/posts.integration.js +0 -2
  433. package/lib/queries/posts.js +0 -2
  434. package/lib/queries/reactions.integration.js +0 -2
  435. package/lib/queries/reactions.js +0 -2
  436. package/lib/queries/statistics.js +0 -2
  437. package/lib/queries/subscriptions.js +0 -2
  438. package/lib/queries/tags.integration.js +0 -2
  439. package/lib/queries/tags.js +0 -2
  440. package/lib/queries/users.integration.js +0 -2
  441. package/lib/queries/users.js +0 -2
  442. package/lib/templates/email/layout.js +0 -280
  443. package/lib/templates/email/passwordForgot.js +0 -16
  444. package/lib/templates/email/passwordRecovery.js +0 -13
  445. package/lib/templates/email/verifyEmail.js +0 -16
  446. package/lib/templates/email/welcome.js +0 -16
  447. package/lib/templates/sms/passwordForgot.js +0 -2
  448. package/lib/templates/sms/passwordRecovery.js +0 -2
  449. package/lib/templates/sms/verifyEmail.js +0 -2
  450. package/lib/templates/sms/verifyPhone.js +0 -2
  451. package/lib/templates/sms/welcome.js +0 -2
  452. package/lib/types/apps.types.js +0 -2
  453. package/lib/types/arangodb.types.js +0 -1
  454. package/lib/types/auth.types.js +0 -1
  455. package/lib/types/connections.types.js +0 -1
  456. package/lib/types/content.types.js +0 -1
  457. package/lib/types/conversations.types.js +0 -1
  458. package/lib/types/email.types.js +0 -1
  459. package/lib/types/error.types.js +0 -2
  460. package/lib/types/files.types.js +0 -1
  461. package/lib/types/google.types.js +0 -1
  462. package/lib/types/groups.types.js +0 -1
  463. package/lib/types/images.types.js +0 -1
  464. package/lib/types/index.js +0 -2
  465. package/lib/types/locations.types.js +0 -1
  466. package/lib/types/messages.types.js +0 -1
  467. package/lib/types/notifications.types.js +0 -1
  468. package/lib/types/payments.types.js +0 -1
  469. package/lib/types/posts.types.js +0 -1
  470. package/lib/types/profiles.types.js +0 -1
  471. package/lib/types/statistics.types.js +0 -1
  472. package/lib/types/tags.types.js +0 -1
  473. package/lib/types/users.types.js +0 -1
  474. package/lib/types/websockets.types.js +0 -1
  475. package/lib/utils/adapterUtils.js +0 -2
  476. package/lib/utils/analyticsUtils.js +0 -2
  477. package/lib/utils/arangodbUtils.js +0 -7
  478. package/lib/utils/authUtils.js +0 -2
  479. package/lib/utils/contextUtils.js +0 -2
  480. package/lib/utils/dbI18n.example.js +0 -6
  481. package/lib/utils/dbI18n.js +0 -2
  482. package/lib/utils/googleTranslate.js +0 -2
  483. package/lib/utils/graphqlUtils.js +0 -2
  484. package/lib/utils/index.js +0 -2
  485. package/lib/utils/languageDetection.js +0 -2
  486. package/lib/utils/localeUtils.example.js +0 -2
  487. package/lib/utils/localeUtils.js +0 -2
  488. package/lib/utils/middlewareUtils.js +0 -2
  489. package/lib/utils/sessionUtils.js +0 -2
  490. package/lib/utils/stripeUtils.js +0 -2
  491. package/lib/utils/templateUtils.js +0 -2
  492. package/lib/utils/testUtils.js +0 -2
  493. package/lib/utils/translationQueue.example.js +0 -2
  494. package/lib/utils/translationQueue.js +0 -2
@@ -0,0 +1,16 @@
1
+ export declare class ReaktorValidationError extends Error {
2
+ field?: string;
3
+ constructor(message: string, field?: string);
4
+ }
5
+ export declare const validateReaktorContent: (content?: string, length?: number) => string | undefined;
6
+ export declare const validateReaktorDate: (date?: number) => number | undefined;
7
+ export declare const validateReaktorItemId: (itemId?: string) => string | undefined;
8
+ export declare const validateReaktorName: (name?: string) => string | undefined;
9
+ export declare const validateReaktorType: (type?: string) => string | undefined;
10
+ export declare const validateReaktorUrl: (url?: string) => string | undefined;
11
+ export declare const parseReaktorContent: (content?: string, length?: number) => string | undefined;
12
+ export declare const parseReaktorDate: (date?: number) => number | undefined;
13
+ export declare const parseReaktorItemId: (itemId?: string) => string | undefined;
14
+ export declare const parseReaktorName: (name?: string) => string | undefined;
15
+ export declare const parseReaktorType: (type?: string) => string | undefined;
16
+ export declare const parseReaktorUrl: (url?: string) => string | undefined;
@@ -0,0 +1,9 @@
1
+ import type { TagType } from '../types/tags.types.js';
2
+ export declare class TagValidationError extends Error {
3
+ field?: string;
4
+ constructor(message: string, field?: string);
5
+ }
6
+ export declare const validateTagInput: (tag: unknown) => TagType;
7
+ export declare const formatTagOutput: (tag: TagType) => TagType;
8
+ export declare const parseTag: (tag: TagType) => TagType;
9
+ export declare const parseTagLegacy: (tag: TagType) => TagType;
@@ -0,0 +1,13 @@
1
+ import type { UserType } from '../types/users.types.js';
2
+ export declare class UserValidationError extends Error {
3
+ field?: string;
4
+ constructor(message: string, field?: string);
5
+ }
6
+ declare const userCache: Map<string, UserType>;
7
+ export declare const validateUserInput: (user: unknown) => UserType;
8
+ export declare const formatUserOutput: (user: UserType) => UserType;
9
+ export declare const parseUser: (user: UserType) => UserType;
10
+ export declare const clearUserCache: () => void;
11
+ export declare const getUserCacheSize: () => number;
12
+ export { userCache };
13
+ export declare const parseUserLegacy: (user: UserType) => UserType;
@@ -0,0 +1,57 @@
1
+ export interface ArangoDBConfig {
2
+ readonly database?: string;
3
+ readonly dump?: string;
4
+ readonly password?: string;
5
+ readonly port?: string;
6
+ readonly restore?: string;
7
+ readonly url?: string;
8
+ readonly username?: string;
9
+ }
10
+ export interface AppConfig {
11
+ readonly [key: string]: any;
12
+ readonly details?: AppDetails;
13
+ readonly arangodb?: ArangoDBConfig;
14
+ readonly aws?: AwsConfig;
15
+ readonly giphy?: object;
16
+ readonly google?: object;
17
+ readonly image?: object;
18
+ readonly stripe?: object;
19
+ readonly twilio?: object;
20
+ }
21
+ export interface AppDetails {
22
+ readonly id?: string;
23
+ readonly locale?: string;
24
+ readonly name?: string;
25
+ readonly supportEmail?: string;
26
+ readonly supportName?: string;
27
+ readonly url?: string;
28
+ readonly version?: string;
29
+ }
30
+ export interface AwsConfig {
31
+ readonly credentials?: {
32
+ readonly accessKeyId?: string;
33
+ readonly secretAccessKey?: string;
34
+ };
35
+ readonly maxRetries?: number;
36
+ readonly region?: string;
37
+ readonly s3?: {
38
+ readonly Bucket?: string;
39
+ };
40
+ readonly signatureVersion?: string;
41
+ }
42
+ export interface EnvConfig {
43
+ readonly local: AppConfig;
44
+ readonly development: AppConfig;
45
+ readonly production: AppConfig;
46
+ readonly test: AppConfig;
47
+ }
48
+ export interface GoogleConfig {
49
+ readonly apiKey: string;
50
+ }
51
+ export declare class Config {
52
+ private static updatedConfig;
53
+ static values(): EnvConfig;
54
+ static set(override: object, environment?: string): object;
55
+ static reset(): void;
56
+ static get<T = any>(path?: string | string[], defaultValue?: T): T;
57
+ }
@@ -0,0 +1,4 @@
1
+ import type { ApiContext } from '../types/auth.types.js';
2
+ import type { APIGatewayEvent } from 'aws-lambda';
3
+ import type { ExecutionResult } from 'graphql';
4
+ export declare const createGraphqlHandler: (context: ApiContext) => (event: APIGatewayEvent) => Promise<ExecutionResult | Record<string, unknown>>;
package/lib/index.d.ts ADDED
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Copyright (c) 2019-Present, Nitrogen Labs, Inc.
3
+ * Copyrights licensed under the MIT License. See the accompanying LICENSE file for terms.
4
+ */
5
+ export { graphql, GraphQLBoolean, GraphQLFloat, GraphQLID, GraphQLInt, GraphQLList, GraphQLNonNull, GraphQLObjectType, GraphQLString, graphqlSync } from 'graphql';
6
+ export { schemaComposer } from 'graphql-compose';
7
+ export type { ExecutionResult } from 'graphql';
8
+ export type { InputTypeComposer, ObjectTypeComposer } from 'graphql-compose';
9
+ export * from './actions/index.js';
10
+ export * from './adapters/index.js';
11
+ export * from './config.js';
12
+ export * from './handlers/graphqlHandler.js';
13
+ export * from './lambdas/authorizer.js';
14
+ export * from './lambdas/connection.js';
15
+ export * from './mutations/index.js';
16
+ export * from './objectTypes/index.js';
17
+ export * from './queries/index.js';
18
+ export * from './types/index.js';
19
+ export * from './utils/index.js';
@@ -0,0 +1,7 @@
1
+ import type { ApiContext } from '../../types/auth.types.js';
2
+ import type { WebsocketConnection } from '../../types/websockets.types.js';
3
+ export declare const addConnection: (connectionId: string, token: string) => Promise<WebsocketConnection>;
4
+ export declare const getConnectionByUserId: (userId?: string) => Promise<WebsocketConnection>;
5
+ export declare const getConnectionById: (socketId: string) => Promise<WebsocketConnection>;
6
+ export declare const getConnectionByConvo: (context: ApiContext, convoId: string) => Promise<WebsocketConnection[]>;
7
+ export declare const removeConnection: (connectionId: string) => Promise<WebsocketConnection>;
@@ -0,0 +1,20 @@
1
+ export declare const generatePolicyDocument: (effect: any, methodArn: any) => {
2
+ Version: string;
3
+ Statement: {
4
+ Action: string;
5
+ Effect: any;
6
+ Resource: any;
7
+ }[];
8
+ };
9
+ export declare const generateAuthResponse: (principalId: any, effect: any, methodArn: any) => {
10
+ principalId: any;
11
+ policyDocument: {
12
+ Version: string;
13
+ Statement: {
14
+ Action: string;
15
+ Effect: any;
16
+ Resource: any;
17
+ }[];
18
+ };
19
+ };
20
+ export declare const authorizer: (event: any, context: any, callback: any) => any;
@@ -0,0 +1,12 @@
1
+ export declare const connectHandler: (event: any) => Promise<{
2
+ statusCode: number;
3
+ } | {
4
+ message: any;
5
+ statusCode: number;
6
+ }>;
7
+ export declare const defaultHandler: (event: any) => Promise<{
8
+ statusCode: number;
9
+ }>;
10
+ export declare const messageHandler: (event: any) => Promise<{
11
+ statusCode: number;
12
+ }>;
@@ -0,0 +1 @@
1
+ export declare const parseMessage: (content: string) => string;
@@ -0,0 +1,7 @@
1
+ export declare class WebsocketClient {
2
+ client: any;
3
+ constructor(config?: any);
4
+ setupClient(config: any): void;
5
+ send(connections: any, payload: any): Promise<boolean>;
6
+ }
7
+ export declare const wsClient: WebsocketClient;
@@ -0,0 +1,8 @@
1
+ export declare const mockConversation: {
2
+ _id: string;
3
+ _key: string;
4
+ id: string;
5
+ added: number;
6
+ userId: string;
7
+ users: any[];
8
+ };
@@ -0,0 +1,11 @@
1
+ export declare const mockFile: {
2
+ _id: string;
3
+ _key: string;
4
+ description: string;
5
+ fileId: string;
6
+ fileSize: number;
7
+ fileType: string;
8
+ name: string;
9
+ url: string;
10
+ userId: string;
11
+ };
@@ -0,0 +1,17 @@
1
+ export declare const mockGroup: {
2
+ _id: string;
3
+ _key: string;
4
+ added: number;
5
+ description: string;
6
+ id: string;
7
+ modified: number;
8
+ name: string;
9
+ type: string;
10
+ userId: string;
11
+ };
12
+ export declare const mockGroupEdge: {
13
+ _id: string;
14
+ _key: string;
15
+ _from: string;
16
+ _to: string;
17
+ };
@@ -0,0 +1,3 @@
1
+ import type { ImageEdgeType, ImageType } from '../types/images.types.js';
2
+ export declare const mockImage: ImageType;
3
+ export declare const mockImageEdge: ImageEdgeType;
@@ -0,0 +1,38 @@
1
+ export declare const mockPost: {
2
+ _id: string;
3
+ _key: string;
4
+ added: number;
5
+ content: string;
6
+ endDate: number;
7
+ groupId: string;
8
+ id: string;
9
+ latitude: number;
10
+ location: string;
11
+ longitude: number;
12
+ name: string;
13
+ parentId: string;
14
+ postId: string;
15
+ privacy: string;
16
+ startDate: number;
17
+ type: string;
18
+ userId: string;
19
+ };
20
+ export declare const mockPostInGroup: {
21
+ groupId: string;
22
+ _id: string;
23
+ _key: string;
24
+ added: number;
25
+ content: string;
26
+ endDate: number;
27
+ id: string;
28
+ latitude: number;
29
+ location: string;
30
+ longitude: number;
31
+ name: string;
32
+ parentId: string;
33
+ postId: string;
34
+ privacy: string;
35
+ startDate: number;
36
+ type: string;
37
+ userId: string;
38
+ };
@@ -0,0 +1,2 @@
1
+ import type { TagType } from '../types/tags.types.js';
2
+ export declare const mockTag: TagType;
@@ -0,0 +1,4 @@
1
+ import type { UserType } from '../types/users.types.js';
2
+ export declare const mockUser: UserType;
3
+ export declare const mockAdmin: UserType;
4
+ export declare const mockJwt = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyQWNjZXNzIjoxLCJ1c2VySWQiOiJ1c2VyMSIsInVzZXJuYW1lIjoiamFtZXNib25kIiwiaWF0IjoxNzE2NTA4MTA3fQ.IRfNMLPXEXi6UGPG_TepcqSHREAJJjvVPs7jnvojhMI";
@@ -0,0 +1,3 @@
1
+ import type { VideoEdgeType, VideoType } from '../types/videos.types.js';
2
+ export declare const mockVideo: VideoType;
3
+ export declare const mockVideoEdge: VideoEdgeType;
@@ -0,0 +1,2 @@
1
+ import type { ApiContext } from '../types/auth.types.js';
2
+ export declare const contentMutations: import("graphql-compose").ObjectTypeComposer<ApiContext, any>;
@@ -0,0 +1,11 @@
1
+ import { contentMutations } from './content.js';
2
+ import { locationsMutations } from './locations.js';
3
+ import { messagesMutations } from './messages.js';
4
+ import { postMutations } from './posts.js';
5
+ import { profileMutations } from './profiles.js';
6
+ import { reactionsMutations } from './reactions.js';
7
+ import { statisticsMutations } from './statistics.js';
8
+ import { subscriptionMutations } from './subscriptions.js';
9
+ import { tagMutations } from './tags.js';
10
+ import { userMutations } from './users.js';
11
+ export { contentMutations, locationsMutations, messagesMutations, postMutations, profileMutations, reactionsMutations, statisticsMutations, subscriptionMutations, tagMutations, userMutations };
@@ -0,0 +1,2 @@
1
+ import type { ApiContext } from '../types/auth.types.js';
2
+ export declare const locationsMutations: import("graphql-compose").ObjectTypeComposer<ApiContext, any>;
@@ -0,0 +1,2 @@
1
+ import type { ApiContext } from '../types/auth.types.js';
2
+ export declare const messagesMutations: import("graphql-compose").ObjectTypeComposer<ApiContext, any>;
@@ -0,0 +1,2 @@
1
+ import type { ApiContext } from '../types/auth.types.js';
2
+ export declare const postMutations: import("graphql-compose").ObjectTypeComposer<ApiContext, any>;
@@ -0,0 +1,2 @@
1
+ import type { ApiContext } from '../types/auth.types.js';
2
+ export declare const profileMutations: import("graphql-compose").ObjectTypeComposer<ApiContext, any>;
@@ -0,0 +1,2 @@
1
+ import type { ApiContext } from '../types/auth.types.js';
2
+ export declare const reactionsMutations: import("graphql-compose").ObjectTypeComposer<ApiContext, any>;
@@ -0,0 +1,2 @@
1
+ import type { ApiContext } from '../types/auth.types.js';
2
+ export declare const statisticsMutations: import("graphql-compose").ObjectTypeComposer<ApiContext, any>;
@@ -0,0 +1,2 @@
1
+ import type { ApiContext } from '../types/auth.types.js';
2
+ export declare const subscriptionMutations: import("graphql-compose").ObjectTypeComposer<ApiContext, any>;
@@ -0,0 +1,2 @@
1
+ import type { ApiContext } from '../types/auth.types.js';
2
+ export declare const tagMutations: import("graphql-compose").ObjectTypeComposer<ApiContext, any>;
@@ -0,0 +1 @@
1
+ export declare const userMutations: import("graphql-compose").ObjectTypeComposer<any, any>;
@@ -0,0 +1,3 @@
1
+ export declare const appType: import("graphql-compose").ObjectTypeComposer<any, any>;
2
+ export declare const appInputType: import("graphql-compose").InputTypeComposer<any>;
3
+ export declare const appInfoType: import("graphql-compose").ObjectTypeComposer<any, any>;
@@ -0,0 +1 @@
1
+ export declare const bankInputType: import("graphql-compose").InputTypeComposer<any>;
@@ -0,0 +1 @@
1
+ export declare const connectionType: import("graphql-compose").ObjectTypeComposer<any, any>;
@@ -0,0 +1,2 @@
1
+ export declare const contentType: import("graphql-compose").ObjectTypeComposer<any, any>;
2
+ export declare const contentInputType: import("graphql-compose").InputTypeComposer<any>;
@@ -0,0 +1,2 @@
1
+ export declare const conversationType: import("graphql-compose").ObjectTypeComposer<any, any>;
2
+ export declare const conversationInputType: import("graphql-compose").InputTypeComposer<any>;
@@ -0,0 +1 @@
1
+ export declare const creditCardInputType: import("graphql-compose").ObjectTypeComposer<any, any>;
@@ -0,0 +1 @@
1
+ export declare const document: import("graphql-compose").ObjectTypeComposer<any, any>;
@@ -0,0 +1 @@
1
+ export declare const errorInputType: import("graphql-compose").InputTypeComposer<any>;
@@ -0,0 +1 @@
1
+ export declare const externalType: import("graphql-compose").ObjectTypeComposer<any, any>;
@@ -0,0 +1,2 @@
1
+ export declare const fileType: import("graphql-compose").ObjectTypeComposer<any, any>;
2
+ export declare const fileInputType: import("graphql-compose").InputTypeComposer<any>;
@@ -0,0 +1 @@
1
+ export declare const filterInputType: import("graphql-compose").ObjectTypeComposer<any, any>;
@@ -0,0 +1,3 @@
1
+ export declare const groupType: import("graphql-compose").ObjectTypeComposer<any, any>;
2
+ export declare const groupUserInputType: import("graphql-compose").InputTypeComposer<any>;
3
+ export declare const groupInputType: import("graphql-compose").InputTypeComposer<any>;
@@ -0,0 +1 @@
1
+ export declare const iapSubscriptionInputType: import("graphql-compose").InputTypeComposer<any>;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Copyright (c) 2019-Present, Nitrogen Labs, Inc.
3
+ * Copyrights licensed under the MIT License. See the accompanying LICENSE file for terms.
4
+ */
5
+ export declare const imageType: import("graphql-compose").ObjectTypeComposer<any, any>;
6
+ export declare const imageInputType: import("graphql-compose").InputTypeComposer<any>;
@@ -0,0 +1,26 @@
1
+ export * from './app.js';
2
+ export * from './bankAccount.js';
3
+ export * from './connection.js';
4
+ export { contentInputType, contentType } from './content.js';
5
+ export * from './conversation.js';
6
+ export * from './creditCard.js';
7
+ export * from './document.js';
8
+ export * from './error.js';
9
+ export * from './external.js';
10
+ export * from './file.js';
11
+ export * from './filter.js';
12
+ export * from './group.js';
13
+ export * from './image.js';
14
+ export * from './location.js';
15
+ export * from './message.js';
16
+ export * from './passcode.js';
17
+ export * from './plan.js';
18
+ export * from './post.js';
19
+ export * from './profile.js';
20
+ export * from './reaction.js';
21
+ export * from './relation.js';
22
+ export * from './search.js';
23
+ export * from './statistics.js';
24
+ export * from './subscription.js';
25
+ export * from './tag.js';
26
+ export * from './user.js';
@@ -0,0 +1,2 @@
1
+ export declare const locationType: import("graphql-compose").ObjectTypeComposer<any, any>;
2
+ export declare const locationInputType: import("graphql-compose").InputTypeComposer<any>;
@@ -0,0 +1,2 @@
1
+ export declare const messageType: import("graphql-compose").ObjectTypeComposer<any, any>;
2
+ export declare const messageInputType: import("graphql-compose").InputTypeComposer<any>;
@@ -0,0 +1 @@
1
+ export declare const passcodeType: import("graphql-compose").ObjectTypeComposer<any, any>;
@@ -0,0 +1,2 @@
1
+ export declare const planType: import("graphql-compose").ObjectTypeComposer<any, any>;
2
+ export declare const planInputType: import("graphql-compose").InputTypeComposer<any>;
@@ -0,0 +1,2 @@
1
+ export declare const postType: import("graphql-compose").ObjectTypeComposer<any, any>;
2
+ export declare const postInputType: import("graphql-compose").InputTypeComposer<any>;
@@ -0,0 +1,3 @@
1
+ import type { ProfileType } from '../types/profiles.types.js';
2
+ export declare const profileType: import("graphql-compose").ObjectTypeComposer<ProfileType, any>;
3
+ export declare const profileInputType: import("graphql-compose").InputTypeComposer<any>;
@@ -0,0 +1,2 @@
1
+ export declare const reactionType: import("graphql-compose").ObjectTypeComposer<any, any>;
2
+ export declare const reactionInputType: import("graphql-compose").InputTypeComposer<any>;
@@ -0,0 +1 @@
1
+ export declare const relationType: import("graphql-compose").ObjectTypeComposer<any, any>;
@@ -0,0 +1 @@
1
+ export declare const searchType: import("graphql-compose").ObjectTypeComposer<any, any>;
@@ -0,0 +1 @@
1
+ export declare const statisticsType: import("graphql-compose").ObjectTypeComposer<any, any>;
@@ -0,0 +1,2 @@
1
+ export declare const subscriptionType: import("graphql-compose").ObjectTypeComposer<any, any>;
2
+ export declare const subscriptionInputType: import("graphql-compose").InputTypeComposer<any>;
@@ -0,0 +1,2 @@
1
+ export declare const tagType: import("graphql-compose").ObjectTypeComposer<any, any>;
2
+ export declare const tagInputType: import("graphql-compose").InputTypeComposer<any>;
@@ -0,0 +1,4 @@
1
+ export declare const userType: import("graphql-compose").ObjectTypeComposer<any, any>;
2
+ export declare const userInputType: import("graphql-compose").InputTypeComposer<any>;
3
+ export declare const loginInputType: import("graphql-compose").InputTypeComposer<any>;
4
+ export declare const sessionTokenType: import("graphql-compose").ObjectTypeComposer<any, any>;
@@ -0,0 +1,2 @@
1
+ import type { ApiContext } from '../types/index.js';
2
+ export declare const contentQueries: import("graphql-compose").ObjectTypeComposer<ApiContext, any>;
@@ -0,0 +1,10 @@
1
+ import { contentQueries } from './content.js';
2
+ import { locationsQueries } from './locations.js';
3
+ import { messagesQueries } from './messages.js';
4
+ import { postQueries } from './posts.js';
5
+ import { reactionsQueries } from './reactions.js';
6
+ import { statisticsQueries } from './statistics.js';
7
+ import { subscriptionQueries } from './subscriptions.js';
8
+ import { tagQueries } from './tags.js';
9
+ import { userQueries } from './users.js';
10
+ export { contentQueries, locationsQueries, messagesQueries, postQueries, reactionsQueries, statisticsQueries, subscriptionQueries, tagQueries, userQueries };
@@ -0,0 +1,2 @@
1
+ import type { ApiContext } from '../types/auth.types.js';
2
+ export declare const locationsQueries: import("graphql-compose").ObjectTypeComposer<ApiContext, any>;
@@ -0,0 +1,2 @@
1
+ import type { ApiContext } from '../types/auth.types.js';
2
+ export declare const messagesQueries: import("graphql-compose").ObjectTypeComposer<ApiContext, any>;
@@ -0,0 +1,2 @@
1
+ import type { ApiContext } from '../types/auth.types.js';
2
+ export declare const postQueries: import("graphql-compose").ObjectTypeComposer<ApiContext, any>;
@@ -0,0 +1,2 @@
1
+ import type { ApiContext } from '../types/auth.types.js';
2
+ export declare const reactionsQueries: import("graphql-compose").ObjectTypeComposer<ApiContext, any>;
@@ -0,0 +1,2 @@
1
+ import type { ApiContext } from '../types/auth.types.js';
2
+ export declare const statisticsQueries: import("graphql-compose").ObjectTypeComposer<ApiContext, any>;
@@ -0,0 +1,2 @@
1
+ import type { ApiContext } from '../types/auth.types.js';
2
+ export declare const subscriptionQueries: import("graphql-compose").ObjectTypeComposer<ApiContext, any>;
@@ -0,0 +1,2 @@
1
+ import type { ApiContext } from '../types/index.js';
2
+ export declare const tagQueries: import("graphql-compose").ObjectTypeComposer<ApiContext, any>;
@@ -0,0 +1 @@
1
+ export declare const userQueries: import("graphql-compose").ObjectTypeComposer<any, any>;
@@ -0,0 +1,2 @@
1
+ declare const _default: "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>\n <title>[appName]</title>\n <link type=\"text/css\" rel=\"stylesheet\" href=\"https://fonts.googleapis.com/css?family=Open+Sans:400,700\"/>\n <style type=\"text/css\">\n .ExternalClass,\n .ExternalClass p,\n .ExternalClass span,\n .ExternalClass font,\n .ExternalClass td,\n .ExternalClass div {\n line-height: 100%;\n }\n\n body, img, div, p, ul, li, span, strong, a {\n margin: 0;\n padding: 0;\n }\n\n table {\n border-spacing: 0;\n }\n\n table td {\n border-collapse: collapse;\n }\n\n body {\n color: #000;\n font-family: 'Open Sans', sans-serif, Arial, Helvetica;\n font-size: 14px;\n line-height: 1;\n background-color: #EAEAEA;\n width: 100% !important;\n -webkit-text-size-adjust: none;\n -ms-text-size-adjust: none;\n }\n\n a,\n a:link,\n a:hover,\n a[href^=\"tel\"], a[href^=\"sms\"] {\n color: #000;\n outline: none;\n text-decoration: none !important;\n }\n\n a {\n border: none !important;\n outline: none !important;\n }\n\n a[href^=\"tel\"], a[href^=\"sms\"] {\n pointer-events: none;\n cursor: default;\n }\n\n .mobile_link a[href^=\"tel\"],\n .mobile_link a[href^=\"sms\"] {\n text-decoration: default;\n color: #000 !important;\n pointer-events: auto;\n cursor: default;\n }\n\n img {\n border: none;\n outline: none;\n text-decoration: none;\n height: auto;\n max-width: 100%;\n }\n\n table {\n border-collapse: collapse;\n mso-table-lspace: 0pt;\n mso-table-rspace: 0pt;\n }\n\n tr,\n td {\n margin: 0;\n padding: 0;\n }\n\n @media only screen and (max-width: 799px) {\n table[class=\"Externalmain\"] {\n width: 100% !important;\n }\n }\n\n @media only screen and (max-width: 499px) {\n table[class=\"ExternalClass\"] {\n width: 100% !important;\n }\n }\n </style>\n</head>\n\n<body text=\"#333333\" link=\"#9d470a\" bgcolor=\"#EAEAEA\" alink=\"#9d470a\" yahoo=\"fix\" style=\"width:100% !important; color:#ffffff; font-family: 'Open Sans', Arial, Helvetica, sans-serif; font-size:12px; line-height:1;\">\n<table width=\"100%\" class=\"Externalmain\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" align=\"center\">\n <tr>\n <td>\n <table width=\"600\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" align=\"center\" class=\"ExternalClass\">\n <tr>\n <td>\n <table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" align=\"center\">\n <tr>\n <td>\n <table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" align=\"center\">\n <tr>\n <td>\n <table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\n <tr>\n <td height=\"35\" style=\"background:#000000;\">\n <img width=\"1\" height=\"1\" title=\"\" alt=\"\" src=\"https://box.reaktor.io/images/email/spacer.png\"/>\n </td>\n </tr>\n <tr>\n <td align=\"center\" style=\"background:#000000;\">\n <img width=\"130\" height=\"130\" title=\"\" alt=\"\" src=\"https://box.reaktor.io/apps/[appId]/images/email/logo.png\"/>\n </td>\n </tr>\n <tr>\n <td height=\"30\" style=\"background:#000000;\">\n <img width=\"1\" height=\"1\" title=\"\" alt=\"\" src=\"https://box.reaktor.io/images/email/spacer.png\"/>\n </td>\n </tr>\n <tr>\n <td>\n <table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" style=\"text-align: center;background: #ffffff;\">\n <tr>\n <td height=\"50\">\n <img width=\"1\" height=\"1\" border=\"0\" src=\"https://box.reaktor.io/images/email/spacer.png\" alt=\"\" title=\"\"/>\n </td>\n </tr>\n <tr>\n <td width=\"100%\" style=\"font-family: 'Open Sans', Arial, Helvetica, sans-serif; color: #77737b; font-size: 14px; letter-spacing: 1px; text-transform: uppercase;\">\n [subTitle]\n </td>\n </tr>\n <tr>\n <td height=\"15\">\n <img width=\"1\" height=\"1\" border=\"0\" src=\"https://box.reaktor.io/images/email/spacer.png\" alt=\"\" title=\"\"/>\n </td>\n </tr>\n <tr>\n <td align=\"center\">\n <img width=\"56\" height=\"1\" border=\"0\" src=\"https://box.reaktor.io/images/email/border.png\" alt=\"\" title=\"\"/>\n </td>\n </tr>\n <tr>\n <td height=\"15\">\n <img width=\"1\" height=\"1\" border=\"0\" src=\"https://box.reaktor.io/images/email/spacer.png\" alt=\"\" title=\"\"/>\n </td>\n </tr>\n <tr>\n <td width=\"100%\" style=\"font-family: 'Open Sans', Arial, Helvetica, sans-serif; color: #1e1c20; font-size: 30px; letter-spacing: 3px; text-transform: uppercase; font-weight: bold;\">\n [title]\n </td>\n </tr>\n <tr>\n <td height=\"30\">\n <img width=\"1\" height=\"1\" border=\"0\" src=\"https://box.reaktor.io/images/email/spacer.png\" alt=\"\" title=\"\"/>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n <tr>\n <td>\n <table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" style=\"color: #000000; text-align: center;background: #ffffff;\">\n <tr>\n <td width=\"30\">\n <img width=\"1\" height=\"1\" border=\"0\" src=\"https://box.reaktor.io/images/email/spacer.png\" alt=\"\" title=\"\"/>\n </td>\n <td>\n [message]\n </td>\n <td width=\"30\">\n <img width=\"1\" height=\"1\" border=\"0\" src=\"https://box.reaktor.io/images/email/spacer.png\" alt=\"\" title=\"\"/>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n <tr>\n <td>\n <table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" style=\"background: #000000;\">\n <tr>\n <td height=\"20\">\n <img width=\"1\" height=\"1\" border=\"0\" title=\"\" alt=\"\" src=\"https://box.reaktor.io/images/email/spacer.png\"/>\n </td>\n </tr>\n <tr>\n <td>\n <table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\n <tr>\n <td align=\"center\" width=\"89\">\n <a href=\"#\">\n <img width=\"90\" height=\"30\" border=\"0\" title=\"\" alt=\"[appName]\" src=\"https://box.reaktor.io/apps/[appId]/images/email/logo-txt.png\"/>\n </a>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n <tr>\n <td height=\"20\">\n <img width=\"1\" height=\"1\" border=\"0\" title=\"\" alt=\"\" src=\"https://box.reaktor.io/images/email/spacer.png\"/>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n <tr>\n <td height=\"23\">\n <img width=\"1\" height=\"1\" border=\"0\" title=\"\" alt=\"\" src=\"https://box.reaktor.io/images/email/spacer.png\"/>\n </td>\n </tr>\n <tr>\n <td align=\"center\">\n <table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" align=\"center\">\n <tr>\n [links]\n </tr>\n </table>\n </td>\n </tr>\n <tr>\n <td>\n <table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" style=\"text-align: center;\">\n <tr>\n <td height=\"30\">\n <img width=\"1\" height=\"1\" border=\"0\" title=\"\" alt=\"\" src=\"https://box.reaktor.io/images/email/spacer.png\"/>\n </td>\n </tr>\n <tr>\n <td style=\"font-family: 'Open Sans', Arial, Helvetica, sans-serif; color: #333;font-size: 12px;\">\n To stop receiving these emails\n <a style=\"font-size: 12px; font-family: 'Open Sans', Arial, Helvetica, sans-serif; color: #333; text-decoration: underline;\" href=\"#\"> unsubscribe</a>.\n </td>\n </tr>\n <tr>\n <td height=\"13\">\n <img width=\"1\" height=\"1\" border=\"0\" title=\"\" alt=\"\" src=\"https://box.reaktor.io/images/email/spacer.png\"/>\n </td>\n </tr>\n <tr>\n <td style=\"font-family: 'Open Sans', Arial, Helvetica, sans-serif; color: #333; font-size: 12px;\">\n Powered by <a style=\"color: #333;\" href=\"https://reaktor.io\">Reaktor.io</a>\n </td>\n </tr>\n <tr>\n <td height=\"35\">\n <img width=\"1\" height=\"1\" border=\"0\" title=\"\" alt=\"\" src=\"https://box.reaktor.io/images/email/spacer.png\"/>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n</table>\n</body>\n</html>";
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: "<table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\n <tr>\n <td style=\"font-family: 'Open Sans', Arial, Helvetica, sans-serif; color: #000; font-size: 16px; line-height: 24px;\">\n <p>[appName] password reset code: <strong>[resetCode]</strong></p>\n <p style=\"font-size: 12px; line-height: 18px; color: #77737b\">\n <em>Please use the code above to reset your password. It will expire after 15 minutes.</em>\n </p>\n </td>\n </tr>\n <tr>\n <td height=\"60\">\n <img width=\"1\" height=\"1\" title=\"\" alt=\"\" src=\"https://box.reaktor.io/images/email/spacer.png\"/>\n </td>\n </tr>\n</table>";
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: "<table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\n <tr>\n <td style=\"font-family: 'Open Sans', Arial, Helvetica, sans-serif; color: #77737b; font-size: 14px; line-height: 24px;\">\n Your password has been sucessfully updated!\n </td>\n </tr>\n <tr>\n <td height=\"63\">\n <img width=\"1\" height=\"1\" title=\"\" alt=\"\" src=\"https://box.reaktor.io/images/email/spacer.gif\"/>\n </td>\n </tr>\n</table>";
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: "<table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\n <tr>\n <td style=\"font-family: 'Open Sans', Arial, Helvetica, sans-serif; color: #77737b; font-size: 14px;\">\n <p style=\"font-size: 14px; line-height: 26px;\">[appName] email verification code: [emailCode]</p>\n <span style=\"font-size: 12px; line-height: 18px;\">\n Please use the code above to verify your email address.\n </span>\n </td>\n </tr>\n <tr>\n <td height=\"63\">\n <img width=\"1\" height=\"1\" title=\"\" alt=\"\" src=\"https://box.reaktor.io/images/email/spacer.gif\"/>\n </td>\n </tr>\n</table>";
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: "<table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\n <tr>\n <td style=\"font-family: 'Open Sans', Arial, Helvetica, sans-serif; color: #000; font-size: 16px; line-height: 24px;\">\n <h1>Welcome to [appName]!</h1>\n <p style=\"font-size: 12px; line-height: 18px; color: #77737b\">\n Your user account is setup and activated. You may start updating your profile.\n </p>\n </td>\n </tr>\n <tr>\n <td height=\"60\">\n <img width=\"1\" height=\"1\" title=\"\" alt=\"\" src=\"https://box.reaktor.io/images/email/spacer.png\"/>\n </td>\n </tr>\n</table>";
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: "[appName] password reset code: [resetCode]";
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: "Your password for [appName] has been successfully changed.";
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: "Email verification code is: [emailCode]";
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: "Phone verification code is: [phoneCode]";
2
+ export default _default;