@nlabs/reaktor 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/lib/config.js +153 -0
  2. package/lib/data/conversations.js +311 -0
  3. package/lib/data/dynamodb.js +206 -0
  4. package/lib/data/email.js +222 -0
  5. package/lib/data/files.js +525 -0
  6. package/lib/data/groups.js +435 -0
  7. package/lib/data/images.d.ts +3 -2
  8. package/lib/data/images.js +1051 -0
  9. package/lib/data/index.js +266 -0
  10. package/lib/data/ios.js +355 -0
  11. package/lib/data/locations.js +172 -0
  12. package/lib/data/messages.js +299 -0
  13. package/lib/data/notifications.d.ts +2 -2
  14. package/lib/data/notifications.js +59 -0
  15. package/lib/data/payments.js +771 -0
  16. package/lib/data/posts.d.ts +1 -1
  17. package/lib/data/posts.js +766 -0
  18. package/lib/data/reactions.js +529 -0
  19. package/lib/data/s3.js +155 -0
  20. package/lib/data/search.js +155 -0
  21. package/lib/data/sms.js +83 -0
  22. package/lib/data/subscription.js +337 -0
  23. package/lib/data/tags.js +397 -0
  24. package/lib/data/users.d.ts +7 -4
  25. package/lib/data/users.js +470 -0
  26. package/lib/data/websockets.js +250 -0
  27. package/lib/index.js +45 -0
  28. package/lib/types/apps.js +2 -0
  29. package/lib/types/arangodb.js +2 -0
  30. package/lib/types/auth.js +2 -0
  31. package/lib/types/conversations.d.ts +2 -0
  32. package/lib/types/conversations.js +2 -0
  33. package/lib/types/email.js +2 -0
  34. package/lib/types/files.js +2 -0
  35. package/lib/types/google.js +2 -0
  36. package/lib/types/groups.js +2 -0
  37. package/lib/types/images.js +2 -0
  38. package/lib/types/index.js +227 -0
  39. package/lib/types/locations.js +2 -0
  40. package/lib/types/messages.js +2 -0
  41. package/lib/types/notifications.js +2 -0
  42. package/lib/types/payments.js +2 -0
  43. package/lib/types/posts.js +2 -0
  44. package/lib/types/reactions.d.ts +2 -0
  45. package/lib/types/reactions.js +2 -0
  46. package/lib/types/tags.js +2 -0
  47. package/lib/types/users.d.ts +1 -0
  48. package/lib/types/users.js +2 -0
  49. package/lib/utils/analytics.js +83 -0
  50. package/lib/utils/arangodb.js +143 -0
  51. package/lib/utils/auth.js +75 -0
  52. package/lib/utils/graphql.js +21 -0
  53. package/lib/utils/index.js +84 -0
  54. package/lib/utils/objects.js +62 -0
  55. package/lib/utils/redis.js +36 -0
  56. package/package.json +30 -30
@@ -12,7 +12,7 @@ export declare const getPostList: (context: ApiContext, options?: PostOptions) =
12
12
  export declare const getPostsByArea: (context: ApiContext, latitude: number, longitude: number, options?: PostOptions) => Promise<PostType[]>;
13
13
  export declare const getPostsByGroup: (context: ApiContext, groupId: string, options?: PostOptions) => Promise<PostType[]>;
14
14
  export declare const getPostsByLatest: (context: ApiContext, options?: PostOptions) => Promise<PostType[]>;
15
- export declare const getPostsByReaction: (context: ApiContext, reactionName: string, options?: PostOptions) => Promise<PostType>;
15
+ export declare const getPostsByReaction: (context: ApiContext, reactionName: string, options?: PostOptions) => Promise<PostType[]>;
16
16
  export declare const getPostsByTags: (context: ApiContext, tagNames: string[], options?: PostOptions) => Promise<PostType[]>;
17
17
  export declare const getPostsByUser: (context: ApiContext, userId: string, options?: PostOptions) => Promise<PostType[]>;
18
18
  export declare const getPostComments: (context: ApiContext, itemId: string, options?: PostOptions) => Promise<PostType[]>;