@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.
- package/coverage/actions/index.html +21 -36
- package/coverage/actions/notifications.ts.html +223 -0
- package/coverage/actions/posts.ts.html +2356 -0
- package/coverage/adapters/arangoAdapter.ts.html +170 -20
- package/coverage/adapters/fileAdapter.ts.html +445 -0
- package/coverage/adapters/index.html +72 -42
- package/coverage/adapters/postAdapter.ts.html +436 -0
- package/coverage/adapters/reaktorAdapter.ts.html +201 -18
- package/coverage/adapters/tagAdapter.ts.html +274 -25
- package/coverage/adapters/userAdapter.ts.html +829 -0
- package/coverage/analyticsUtils.ts.html +286 -0
- package/coverage/block-navigation.js +1 -1
- package/coverage/config.ts.html +766 -0
- package/coverage/index.html +83 -53
- package/coverage/mocks/group.ts.html +5 -5
- package/coverage/mocks/image.ts.html +18 -12
- package/coverage/mocks/index.html +37 -7
- package/coverage/mocks/post.ts.html +8 -8
- package/coverage/mocks/tag.ts.html +2 -2
- package/coverage/mocks/user.ts.html +18 -15
- package/coverage/sorter.js +21 -7
- package/coverage/testUtils.ts.html +1309 -0
- package/coverage/translationQueue.ts.html +592 -0
- package/coverage/types/error.types.ts.html +148 -0
- package/coverage/types/index.html +2 -2
- package/coverage/utils/adapterUtils.ts.html +39 -27
- package/coverage/utils/analyticsUtils.ts.html +35 -41
- package/coverage/utils/authUtils.ts.html +328 -0
- package/coverage/utils/dbI18n.ts.html +280 -0
- package/coverage/utils/googleTranslate.ts.html +385 -0
- package/coverage/utils/index.html +29 -44
- package/coverage/utils/localeUtils.ts.html +193 -0
- package/coverage/utils/sessionUtils.ts.html +211 -0
- package/coverage/utils/testUtils.ts.html +1309 -0
- package/lex.config.mjs +34 -0
- package/lib/actions/apps.d.ts +25 -0
- package/lib/actions/connections.d.ts +5 -0
- package/lib/actions/content.d.ts +13 -0
- package/lib/actions/conversations.d.ts +16 -0
- package/lib/actions/dynamodb.d.ts +12 -0
- package/lib/actions/email.d.ts +8 -0
- package/lib/actions/files.d.ts +19 -0
- package/lib/actions/groups.d.ts +13 -0
- package/lib/actions/images.d.ts +33 -0
- package/lib/actions/index.d.ts +28 -0
- package/lib/actions/ios.d.ts +7 -0
- package/lib/actions/locations.d.ts +6 -0
- package/lib/actions/messages.d.ts +13 -0
- package/lib/actions/notifications.d.ts +9 -0
- package/lib/actions/payments.d.ts +12 -0
- package/lib/actions/posts.d.ts +25 -0
- package/lib/actions/profiles.d.ts +4 -0
- package/lib/actions/reactions.d.ts +32 -0
- package/lib/actions/s3.d.ts +11 -0
- package/lib/actions/search.d.ts +3 -0
- package/lib/actions/sms.d.ts +2 -0
- package/lib/actions/statistics.d.ts +4 -0
- package/lib/actions/subscriptions.d.ts +7 -0
- package/lib/actions/tags.d.ts +34 -0
- package/lib/actions/users.d.ts +73 -0
- package/lib/actions/videos.d.ts +25 -0
- package/lib/actions/websockets.d.ts +20 -0
- package/lib/adapters/arangoAdapter.d.ts +8 -0
- package/lib/adapters/contentAdapter.d.ts +8 -0
- package/lib/adapters/fileAdapter.d.ts +9 -0
- package/lib/adapters/imageAdapter.d.ts +8 -0
- package/lib/adapters/index.d.ts +9 -0
- package/lib/adapters/messageAdapter.d.ts +8 -0
- package/lib/adapters/postAdapter.d.ts +8 -0
- package/lib/adapters/reaktorAdapter.d.ts +16 -0
- package/lib/adapters/tagAdapter.d.ts +9 -0
- package/lib/adapters/userAdapter.d.ts +13 -0
- package/lib/config.d.ts +57 -0
- package/lib/handlers/graphqlHandler.d.ts +4 -0
- package/lib/index.d.ts +19 -0
- package/lib/lambdas/actions/websockets.d.ts +7 -0
- package/lib/lambdas/authorizer.d.ts +20 -0
- package/lib/lambdas/connection.d.ts +12 -0
- package/lib/lambdas/utils/message.d.ts +1 -0
- package/lib/lambdas/utils/websocket.d.ts +7 -0
- package/lib/mocks/conversation.d.ts +8 -0
- package/lib/mocks/file.d.ts +11 -0
- package/lib/mocks/group.d.ts +17 -0
- package/lib/mocks/image.d.ts +3 -0
- package/lib/mocks/post.d.ts +38 -0
- package/lib/mocks/tag.d.ts +2 -0
- package/lib/mocks/user.d.ts +4 -0
- package/lib/mocks/video.d.ts +3 -0
- package/lib/mutations/content.d.ts +2 -0
- package/lib/mutations/index.d.ts +11 -0
- package/lib/mutations/locations.d.ts +2 -0
- package/lib/mutations/messages.d.ts +2 -0
- package/lib/mutations/posts.d.ts +2 -0
- package/lib/mutations/profiles.d.ts +2 -0
- package/lib/mutations/reactions.d.ts +2 -0
- package/lib/mutations/statistics.d.ts +2 -0
- package/lib/mutations/subscriptions.d.ts +2 -0
- package/lib/mutations/tags.d.ts +2 -0
- package/lib/mutations/users.d.ts +1 -0
- package/lib/objectTypes/app.d.ts +3 -0
- package/lib/objectTypes/bankAccount.d.ts +1 -0
- package/lib/objectTypes/connection.d.ts +1 -0
- package/lib/objectTypes/content.d.ts +2 -0
- package/lib/objectTypes/conversation.d.ts +2 -0
- package/lib/objectTypes/creditCard.d.ts +1 -0
- package/lib/objectTypes/document.d.ts +1 -0
- package/lib/objectTypes/error.d.ts +1 -0
- package/lib/objectTypes/external.d.ts +1 -0
- package/lib/objectTypes/file.d.ts +2 -0
- package/lib/objectTypes/filter.d.ts +1 -0
- package/lib/objectTypes/group.d.ts +3 -0
- package/lib/objectTypes/iapSubscription.d.ts +1 -0
- package/lib/objectTypes/image.d.ts +6 -0
- package/lib/objectTypes/index.d.ts +26 -0
- package/lib/objectTypes/location.d.ts +2 -0
- package/lib/objectTypes/message.d.ts +2 -0
- package/lib/objectTypes/passcode.d.ts +1 -0
- package/lib/objectTypes/plan.d.ts +2 -0
- package/lib/objectTypes/post.d.ts +2 -0
- package/lib/objectTypes/profile.d.ts +3 -0
- package/lib/objectTypes/reaction.d.ts +2 -0
- package/lib/objectTypes/relation.d.ts +1 -0
- package/lib/objectTypes/search.d.ts +1 -0
- package/lib/objectTypes/statistics.d.ts +1 -0
- package/lib/objectTypes/subscription.d.ts +2 -0
- package/lib/objectTypes/tag.d.ts +2 -0
- package/lib/objectTypes/user.d.ts +4 -0
- package/lib/queries/content.d.ts +2 -0
- package/lib/queries/index.d.ts +10 -0
- package/lib/queries/locations.d.ts +2 -0
- package/lib/queries/messages.d.ts +2 -0
- package/lib/queries/posts.d.ts +2 -0
- package/lib/queries/reactions.d.ts +2 -0
- package/lib/queries/statistics.d.ts +2 -0
- package/lib/queries/subscriptions.d.ts +2 -0
- package/lib/queries/tags.d.ts +2 -0
- package/lib/queries/users.d.ts +1 -0
- package/lib/templates/email/layout.d.ts +2 -0
- package/lib/templates/email/passwordForgot.d.ts +2 -0
- package/lib/templates/email/passwordRecovery.d.ts +2 -0
- package/lib/templates/email/verifyEmail.d.ts +2 -0
- package/lib/templates/email/welcome.d.ts +2 -0
- package/lib/templates/sms/passwordForgot.d.ts +2 -0
- package/lib/templates/sms/passwordRecovery.d.ts +2 -0
- package/lib/templates/sms/verifyEmail.d.ts +2 -0
- package/lib/templates/sms/verifyPhone.d.ts +2 -0
- package/lib/templates/sms/welcome.d.ts +2 -0
- package/lib/types/apps.types.d.ts +50 -0
- package/lib/types/arangodb.types.d.ts +38 -0
- package/lib/types/auth.types.d.ts +15 -0
- package/lib/types/connections.types.d.ts +9 -0
- package/lib/types/content.types.d.ts +31 -0
- package/lib/types/conversations.types.d.ts +31 -0
- package/lib/types/email.types.d.ts +17 -0
- package/lib/types/error.types.d.ts +21 -0
- package/lib/types/files.types.d.ts +27 -0
- package/lib/types/google.types.d.ts +33 -0
- package/lib/types/groups.types.d.ts +22 -0
- package/lib/types/images.types.d.ts +56 -0
- package/lib/types/index.d.ts +27 -0
- package/lib/types/locations.types.d.ts +22 -0
- package/lib/types/messages.types.d.ts +20 -0
- package/lib/types/notifications.types.d.ts +23 -0
- package/lib/types/payments.types.d.ts +113 -0
- package/lib/types/posts.types.d.ts +32 -0
- package/lib/types/profiles.types.d.ts +20 -0
- package/lib/types/statistics.types.d.ts +3 -0
- package/lib/types/tags.types.d.ts +19 -0
- package/lib/types/users.types.d.ts +110 -0
- package/lib/types/videos.types.d.ts +46 -0
- package/lib/types/websockets.types.d.ts +22 -0
- package/lib/utils/adapterUtils.d.ts +5 -0
- package/lib/utils/analyticsUtils.d.ts +25 -0
- package/lib/utils/arangodbUtils.d.ts +70 -0
- package/lib/utils/authUtils.d.ts +23 -0
- package/lib/utils/contextUtils.d.ts +3 -0
- package/lib/utils/dbI18n.d.ts +10 -0
- package/lib/utils/dbI18n.example.d.ts +20 -0
- package/lib/utils/googleTranslate.d.ts +6 -0
- package/lib/utils/graphqlUtils.d.ts +10 -0
- package/lib/utils/index.d.ts +18 -0
- package/lib/utils/languageDetection.d.ts +8 -0
- package/lib/utils/localeUtils.d.ts +11 -0
- package/lib/utils/localeUtils.example.d.ts +5 -0
- package/lib/utils/middlewareUtils.d.ts +2 -0
- package/lib/utils/sessionUtils.d.ts +18 -0
- package/lib/utils/stripeUtils.d.ts +7 -0
- package/lib/utils/templateUtils.d.ts +3 -0
- package/lib/utils/testUtils.d.ts +95 -0
- package/lib/utils/translationQueue.d.ts +29 -0
- package/lib/utils/translationQueue.example.d.ts +33 -0
- package/package.json +28 -28
- package/tsconfig.build.json +21 -0
- package/tsconfig.lint.json +33 -0
- package/tsconfig.test.json +31 -0
- package/dist/actions/apps.js +0 -242
- package/dist/actions/connections.js +0 -90
- package/dist/actions/conversations.js +0 -350
- package/dist/actions/dynamodb.js +0 -150
- package/dist/actions/email.js +0 -152
- package/dist/actions/files.js +0 -283
- package/dist/actions/groups.js +0 -292
- package/dist/actions/images.js +0 -735
- package/dist/actions/index.js +0 -66
- package/dist/actions/ios.js +0 -164
- package/dist/actions/locations.js +0 -122
- package/dist/actions/messages.js +0 -208
- package/dist/actions/notifications.js +0 -59
- package/dist/actions/payments.js +0 -497
- package/dist/actions/personas.js +0 -110
- package/dist/actions/posts.js +0 -595
- package/dist/actions/reactions.js +0 -322
- package/dist/actions/s3.js +0 -133
- package/dist/actions/search.js +0 -90
- package/dist/actions/sms.js +0 -108
- package/dist/actions/statistics.js +0 -62
- package/dist/actions/subscription.js +0 -220
- package/dist/actions/tags.js +0 -292
- package/dist/actions/users.js +0 -784
- package/dist/actions/websockets.js +0 -174
- package/dist/adapters/arangoAdapter.js +0 -46
- package/dist/adapters/fileAdapter.js +0 -76
- package/dist/adapters/imageAdapter.js +0 -40
- package/dist/adapters/messageAdapter.js +0 -49
- package/dist/adapters/postAdapter.js +0 -70
- package/dist/adapters/reaktorAdapter.js +0 -44
- package/dist/adapters/tagAdapter.js +0 -50
- package/dist/adapters/userAdapter.js +0 -115
- package/dist/config.js +0 -125
- package/dist/index.js +0 -66
- package/dist/lambdas/actions/websockets.js +0 -132
- package/dist/lambdas/authorizer.js +0 -67
- package/dist/lambdas/connection.js +0 -91
- package/dist/lambdas/utils/message.js +0 -42
- package/dist/lambdas/utils/websocket.js +0 -105
- package/dist/mocks/conversation.js +0 -35
- package/dist/mocks/file.js +0 -38
- package/dist/mocks/group.js +0 -47
- package/dist/mocks/image.js +0 -44
- package/dist/mocks/nlabs.png +0 -0
- package/dist/mocks/post.js +0 -55
- package/dist/mocks/tag.js +0 -37
- package/dist/mocks/user.js +0 -88
- package/dist/mutations/index.js +0 -26
- package/dist/mutations/locations.js +0 -44
- package/dist/mutations/messages.js +0 -86
- package/dist/mutations/personas.js +0 -100
- package/dist/mutations/posts.js +0 -53
- package/dist/mutations/reactions.js +0 -51
- package/dist/mutations/statistics.js +0 -39
- package/dist/mutations/subscriptions.js +0 -56
- package/dist/mutations/tags.js +0 -120
- package/dist/mutations/users.js +0 -116
- package/dist/objectTypes/app.js +0 -173
- package/dist/objectTypes/bankAccount.js +0 -76
- package/dist/objectTypes/connection.js +0 -48
- package/dist/objectTypes/conversation.js +0 -77
- package/dist/objectTypes/creditCard.js +0 -86
- package/dist/objectTypes/document.js +0 -46
- package/dist/objectTypes/error.js +0 -46
- package/dist/objectTypes/external.js +0 -74
- package/dist/objectTypes/file.js +0 -100
- package/dist/objectTypes/filter.js +0 -43
- package/dist/objectTypes/group.js +0 -123
- package/dist/objectTypes/iapSubscription.js +0 -40
- package/dist/objectTypes/image.js +0 -129
- package/dist/objectTypes/index.js +0 -68
- package/dist/objectTypes/location.js +0 -109
- package/dist/objectTypes/message.js +0 -96
- package/dist/objectTypes/passcode.js +0 -42
- package/dist/objectTypes/persona.js +0 -87
- package/dist/objectTypes/plan.js +0 -95
- package/dist/objectTypes/post.js +0 -125
- package/dist/objectTypes/reaction.js +0 -61
- package/dist/objectTypes/relation.js +0 -49
- package/dist/objectTypes/search.js +0 -72
- package/dist/objectTypes/statistics.js +0 -39
- package/dist/objectTypes/subscription.js +0 -117
- package/dist/objectTypes/tag.js +0 -65
- package/dist/objectTypes/user.js +0 -144
- package/dist/queries/index.js +0 -33
- package/dist/queries/locations.js +0 -45
- package/dist/queries/messages.js +0 -52
- package/dist/queries/posts.js +0 -154
- package/dist/queries/reactions.js +0 -56
- package/dist/queries/statistics.js +0 -39
- package/dist/queries/subscriptions.js +0 -44
- package/dist/queries/tags.js +0 -75
- package/dist/queries/users.js +0 -64
- package/dist/templates/email/layout.js +0 -302
- package/dist/templates/email/passwordForgot.js +0 -38
- package/dist/templates/email/passwordRecovery.js +0 -35
- package/dist/templates/email/verifyEmail.js +0 -38
- package/dist/templates/email/welcome.js +0 -38
- package/dist/templates/sms/passwordForgot.js +0 -24
- package/dist/templates/sms/passwordRecovery.js +0 -24
- package/dist/templates/sms/verifyEmail.js +0 -24
- package/dist/templates/sms/verifyPhone.js +0 -24
- package/dist/templates/sms/welcome.js +0 -24
- package/dist/types/apps.js +0 -32
- package/dist/types/arangodb.js +0 -16
- package/dist/types/auth.js +0 -16
- package/dist/types/connections.js +0 -16
- package/dist/types/conversations.js +0 -16
- package/dist/types/email.js +0 -16
- package/dist/types/error.js +0 -44
- package/dist/types/files.js +0 -16
- package/dist/types/google.js +0 -16
- package/dist/types/groups.js +0 -16
- package/dist/types/images.js +0 -16
- package/dist/types/index.js +0 -60
- package/dist/types/locations.js +0 -16
- package/dist/types/messages.js +0 -16
- package/dist/types/notifications.js +0 -16
- package/dist/types/payments.js +0 -16
- package/dist/types/personas.js +0 -16
- package/dist/types/posts.js +0 -16
- package/dist/types/statistics.js +0 -16
- package/dist/types/tags.js +0 -16
- package/dist/types/users.js +0 -16
- package/dist/types/websockets.js +0 -16
- package/dist/utils/adapterUtils.js +0 -45
- package/dist/utils/analyticsUtils.js +0 -72
- package/dist/utils/arangodbUtils.js +0 -165
- package/dist/utils/auth.js +0 -57
- package/dist/utils/index.js +0 -30
- package/dist/utils/session.js +0 -60
- package/jest.config.js +0 -17
- package/jest.setup.js +0 -36
- package/lex.config.cjs +0 -13
- package/lib/actions/apps.js +0 -20
- package/lib/actions/connections.js +0 -7
- package/lib/actions/content.js +0 -17
- package/lib/actions/conversations.js +0 -33
- package/lib/actions/dynamodb.js +0 -2
- package/lib/actions/email.js +0 -2
- package/lib/actions/files.js +0 -5
- package/lib/actions/groups.js +0 -52
- package/lib/actions/images.js +0 -66
- package/lib/actions/index.js +0 -2
- package/lib/actions/ios.js +0 -11
- package/lib/actions/locations.js +0 -7
- package/lib/actions/messages.js +0 -33
- package/lib/actions/notifications.js +0 -2
- package/lib/actions/payments.js +0 -32
- package/lib/actions/posts.js +0 -143
- package/lib/actions/profiles.js +0 -8
- package/lib/actions/reactions.js +0 -35
- package/lib/actions/s3.js +0 -2
- package/lib/actions/search.js +0 -5
- package/lib/actions/sms.js +0 -2
- package/lib/actions/statistics.js +0 -8
- package/lib/actions/subscriptions.js +0 -12
- package/lib/actions/tags.js +0 -24
- package/lib/actions/users.js +0 -84
- package/lib/actions/websockets.js +0 -30
- package/lib/adapters/arangoAdapter.js +0 -2
- package/lib/adapters/contentAdapter.js +0 -2
- package/lib/adapters/fileAdapter.js +0 -2
- package/lib/adapters/imageAdapter.js +0 -2
- package/lib/adapters/messageAdapter.js +0 -2
- package/lib/adapters/postAdapter.js +0 -2
- package/lib/adapters/reaktorAdapter.js +0 -2
- package/lib/adapters/tagAdapter.js +0 -2
- package/lib/adapters/userAdapter.js +0 -2
- package/lib/config.js +0 -2
- package/lib/handlers/graphqlHandler.js +0 -2
- package/lib/index.js +0 -2
- package/lib/lambdas/actions/websockets.js +0 -30
- package/lib/lambdas/authorizer.js +0 -2
- package/lib/lambdas/connection.js +0 -2
- package/lib/lambdas/utils/message.js +0 -2
- package/lib/lambdas/utils/websocket.js +0 -2
- package/lib/mocks/conversation.js +0 -2
- package/lib/mocks/file.js +0 -2
- package/lib/mocks/group.js +0 -2
- package/lib/mocks/image.js +0 -2
- package/lib/mocks/post.js +0 -2
- package/lib/mocks/tag.js +0 -2
- package/lib/mocks/user.js +0 -2
- package/lib/mutations/index.js +0 -2
- package/lib/mutations/locations.integration.js +0 -2
- package/lib/mutations/locations.js +0 -2
- package/lib/mutations/messages.integration.js +0 -2
- package/lib/mutations/messages.js +0 -2
- package/lib/mutations/posts.integration.js +0 -2
- package/lib/mutations/posts.js +0 -2
- package/lib/mutations/profiles.integration.js +0 -2
- package/lib/mutations/profiles.js +0 -2
- package/lib/mutations/reactions.integration.js +0 -2
- package/lib/mutations/reactions.js +0 -2
- package/lib/mutations/statistics.integration.js +0 -2
- package/lib/mutations/statistics.js +0 -2
- package/lib/mutations/subscriptions.integration.js +0 -2
- package/lib/mutations/subscriptions.js +0 -2
- package/lib/mutations/tags.integration.js +0 -2
- package/lib/mutations/tags.js +0 -2
- package/lib/mutations/users.integration.js +0 -2
- package/lib/mutations/users.js +0 -2
- package/lib/objectTypes/app.js +0 -2
- package/lib/objectTypes/bankAccount.js +0 -2
- package/lib/objectTypes/connection.js +0 -2
- package/lib/objectTypes/conversation.js +0 -2
- package/lib/objectTypes/creditCard.js +0 -2
- package/lib/objectTypes/document.js +0 -2
- package/lib/objectTypes/error.js +0 -2
- package/lib/objectTypes/external.js +0 -2
- package/lib/objectTypes/file.js +0 -2
- package/lib/objectTypes/filter.js +0 -2
- package/lib/objectTypes/group.js +0 -2
- package/lib/objectTypes/iapSubscription.js +0 -2
- package/lib/objectTypes/image.js +0 -2
- package/lib/objectTypes/index.js +0 -2
- package/lib/objectTypes/location.js +0 -2
- package/lib/objectTypes/message.js +0 -2
- package/lib/objectTypes/passcode.js +0 -2
- package/lib/objectTypes/plan.js +0 -2
- package/lib/objectTypes/post.js +0 -2
- package/lib/objectTypes/profile.js +0 -2
- package/lib/objectTypes/reaction.js +0 -2
- package/lib/objectTypes/relation.js +0 -2
- package/lib/objectTypes/search.js +0 -2
- package/lib/objectTypes/statistics.js +0 -2
- package/lib/objectTypes/subscription.js +0 -2
- package/lib/objectTypes/tag.js +0 -2
- package/lib/objectTypes/user.js +0 -2
- package/lib/queries/index.js +0 -2
- package/lib/queries/locations.integration.js +0 -2
- package/lib/queries/locations.js +0 -2
- package/lib/queries/messages.integration.js +0 -2
- package/lib/queries/messages.js +0 -2
- package/lib/queries/posts.integration.js +0 -2
- package/lib/queries/posts.js +0 -2
- package/lib/queries/reactions.integration.js +0 -2
- package/lib/queries/reactions.js +0 -2
- package/lib/queries/statistics.js +0 -2
- package/lib/queries/subscriptions.js +0 -2
- package/lib/queries/tags.integration.js +0 -2
- package/lib/queries/tags.js +0 -2
- package/lib/queries/users.integration.js +0 -2
- package/lib/queries/users.js +0 -2
- package/lib/templates/email/layout.js +0 -280
- package/lib/templates/email/passwordForgot.js +0 -16
- package/lib/templates/email/passwordRecovery.js +0 -13
- package/lib/templates/email/verifyEmail.js +0 -16
- package/lib/templates/email/welcome.js +0 -16
- package/lib/templates/sms/passwordForgot.js +0 -2
- package/lib/templates/sms/passwordRecovery.js +0 -2
- package/lib/templates/sms/verifyEmail.js +0 -2
- package/lib/templates/sms/verifyPhone.js +0 -2
- package/lib/templates/sms/welcome.js +0 -2
- package/lib/types/apps.types.js +0 -2
- package/lib/types/arangodb.types.js +0 -1
- package/lib/types/auth.types.js +0 -1
- package/lib/types/connections.types.js +0 -1
- package/lib/types/content.types.js +0 -1
- package/lib/types/conversations.types.js +0 -1
- package/lib/types/email.types.js +0 -1
- package/lib/types/error.types.js +0 -2
- package/lib/types/files.types.js +0 -1
- package/lib/types/google.types.js +0 -1
- package/lib/types/groups.types.js +0 -1
- package/lib/types/images.types.js +0 -1
- package/lib/types/index.js +0 -2
- package/lib/types/locations.types.js +0 -1
- package/lib/types/messages.types.js +0 -1
- package/lib/types/notifications.types.js +0 -1
- package/lib/types/payments.types.js +0 -1
- package/lib/types/posts.types.js +0 -1
- package/lib/types/profiles.types.js +0 -1
- package/lib/types/statistics.types.js +0 -1
- package/lib/types/tags.types.js +0 -1
- package/lib/types/users.types.js +0 -1
- package/lib/types/websockets.types.js +0 -1
- package/lib/utils/adapterUtils.js +0 -2
- package/lib/utils/analyticsUtils.js +0 -2
- package/lib/utils/arangodbUtils.js +0 -7
- package/lib/utils/authUtils.js +0 -2
- package/lib/utils/contextUtils.js +0 -2
- package/lib/utils/dbI18n.example.js +0 -6
- package/lib/utils/dbI18n.js +0 -2
- package/lib/utils/googleTranslate.js +0 -2
- package/lib/utils/graphqlUtils.js +0 -2
- package/lib/utils/index.js +0 -2
- package/lib/utils/languageDetection.js +0 -2
- package/lib/utils/localeUtils.example.js +0 -2
- package/lib/utils/localeUtils.js +0 -2
- package/lib/utils/middlewareUtils.js +0 -2
- package/lib/utils/sessionUtils.js +0 -2
- package/lib/utils/stripeUtils.js +0 -2
- package/lib/utils/templateUtils.js +0 -2
- package/lib/utils/testUtils.js +0 -2
- package/lib/utils/translationQueue.example.js +0 -2
- 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;
|
package/lib/config.d.ts
ADDED
|
@@ -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,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,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,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,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 @@
|
|
|
1
|
+
export declare const userMutations: 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 @@
|
|
|
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 @@
|
|
|
1
|
+
export declare const filterInputType: import("graphql-compose").ObjectTypeComposer<any, 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 @@
|
|
|
1
|
+
export declare const passcodeType: import("graphql-compose").ObjectTypeComposer<any, 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,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,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 @@
|
|
|
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;
|