@nlabs/reaktor 0.8.0 → 0.9.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.
- package/.eslintrc +10 -0
- package/.prettierrc.js +4 -0
- package/README.md +1 -1
- package/coverage/actions/groups.ts.html +1039 -0
- package/coverage/actions/images.ts.html +2500 -0
- package/coverage/actions/index.html +131 -0
- package/coverage/actions/tags.ts.html +1000 -0
- package/coverage/adapters/arangoAdapter.ts.html +151 -0
- package/coverage/adapters/index.html +146 -0
- package/coverage/adapters/reaktorAdapter.ts.html +127 -0
- package/coverage/adapters/tagAdapter.ts.html +160 -0
- package/coverage/base.css +224 -0
- package/coverage/block-navigation.js +87 -0
- package/coverage/clover.xml +6 -0
- package/coverage/coverage-final.json +1 -0
- package/coverage/favicon.png +0 -0
- package/coverage/index.html +176 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +101 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +196 -0
- package/coverage/lcov.info +0 -0
- package/coverage/mocks/file.ts.html +118 -0
- package/coverage/mocks/group.ts.html +145 -0
- package/coverage/mocks/image.ts.html +136 -0
- package/coverage/mocks/index.html +146 -0
- package/coverage/mocks/post.ts.html +169 -0
- package/coverage/mocks/tag.ts.html +121 -0
- package/coverage/mocks/user.ts.html +268 -0
- package/coverage/prettify.css +1 -0
- package/coverage/prettify.js +2 -0
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +196 -0
- package/coverage/types/error.ts.html +145 -0
- package/coverage/types/index.html +116 -0
- package/coverage/utils/adapterUtils.ts.html +151 -0
- package/coverage/utils/analyticsUtils.ts.html +292 -0
- package/coverage/utils/arangodbUtils.ts.html +463 -0
- package/coverage/utils/index.html +146 -0
- package/jest.setup.js +0 -0
- package/jpg:- +0 -0
- package/lib/actions/apps.d.ts +25 -0
- package/lib/actions/apps.js +252 -0
- package/lib/actions/conversations.d.ts +14 -0
- package/lib/actions/conversations.js +131 -126
- package/lib/actions/dynamodb.d.ts +8 -0
- package/lib/actions/dynamodb.js +35 -32
- package/lib/actions/email.d.ts +5 -0
- package/lib/actions/email.js +23 -53
- package/lib/actions/files.d.ts +19 -0
- package/lib/actions/files.js +188 -202
- package/lib/actions/groups.d.ts +14 -0
- package/lib/actions/groups.js +38 -36
- package/lib/actions/images.d.ts +26 -0
- package/lib/actions/images.js +236 -229
- package/lib/actions/index.d.ts +21 -0
- package/lib/actions/index.js +3 -1
- package/lib/actions/ios.d.ts +7 -0
- package/lib/actions/ios.js +11 -10
- package/lib/actions/locations.d.ts +5 -0
- package/lib/actions/locations.js +29 -37
- package/lib/actions/messages.d.ts +13 -0
- package/lib/actions/messages.js +10 -10
- package/lib/actions/notifications.d.ts +5 -0
- package/lib/actions/notifications.js +1 -1
- package/lib/actions/payments.d.ts +10 -0
- package/lib/actions/payments.js +27 -26
- package/lib/actions/posts.d.ts +19 -0
- package/lib/actions/posts.js +176 -156
- package/lib/actions/reactions.d.ts +30 -0
- package/lib/actions/reactions.js +30 -28
- package/lib/actions/s3.d.ts +7 -0
- package/lib/actions/s3.js +37 -32
- package/lib/actions/search.d.ts +3 -0
- package/lib/actions/search.js +11 -9
- package/lib/actions/sms.d.ts +3 -0
- package/lib/actions/sms.js +58 -34
- package/lib/actions/statistics.d.ts +3 -0
- package/lib/actions/statistics.js +21 -18
- package/lib/actions/subscription.d.ts +7 -0
- package/lib/actions/subscription.js +24 -21
- package/lib/actions/tags.d.ts +29 -0
- package/lib/actions/tags.js +129 -198
- package/lib/actions/users.d.ts +47 -0
- package/lib/actions/users.js +188 -194
- package/lib/actions/websockets.d.ts +19 -0
- package/lib/actions/websockets.js +60 -34
- package/lib/adapters/arangoAdapter.d.ts +2 -0
- package/lib/adapters/arangoAdapter.js +46 -0
- package/lib/adapters/fileAdapter.d.ts +3 -0
- package/lib/adapters/fileAdapter.js +76 -0
- package/lib/adapters/postAdapter.d.ts +2 -0
- package/lib/adapters/postAdapter.js +70 -0
- package/lib/adapters/reaktorAdapter.d.ts +6 -0
- package/lib/adapters/reaktorAdapter.js +44 -0
- package/lib/adapters/tagAdapter.d.ts +2 -0
- package/lib/adapters/tagAdapter.js +50 -0
- package/lib/adapters/userAdapter.d.ts +2 -0
- package/lib/adapters/userAdapter.js +110 -0
- package/lib/config.d.ts +20 -0
- package/lib/config.js +14 -15
- package/lib/index.d.ts +5 -0
- package/lib/lambdas/actions/websockets.d.ts +6 -0
- package/lib/lambdas/actions/websockets.js +7 -7
- package/lib/lambdas/authorizer.d.ts +20 -0
- package/lib/lambdas/authorizer.js +1 -1
- package/lib/lambdas/connection.d.ts +12 -0
- package/lib/lambdas/connection.js +5 -4
- package/lib/lambdas/utils/message.d.ts +1 -0
- package/lib/lambdas/utils/websocket.d.ts +7 -0
- package/lib/lambdas/utils/websocket.js +8 -6
- package/lib/mocks/conversation.d.ts +8 -0
- package/lib/mocks/conversation.js +35 -0
- package/lib/mocks/file.d.ts +11 -0
- package/lib/mocks/file.js +38 -0
- package/lib/mocks/group.d.ts +17 -0
- package/lib/mocks/group.js +47 -0
- package/lib/mocks/image.d.ts +3 -0
- package/lib/mocks/image.js +43 -0
- package/lib/mocks/nlabs.png +0 -0
- package/lib/mocks/post.d.ts +38 -0
- package/lib/mocks/post.js +55 -0
- package/lib/mocks/tag.d.ts +2 -0
- package/lib/mocks/tag.js +37 -0
- package/lib/mocks/user.d.ts +4 -0
- package/lib/mocks/user.js +88 -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.d.ts +46 -0
- package/lib/types/apps.js +17 -1
- package/lib/types/arangodb.d.ts +30 -0
- package/lib/types/arangodb.js +1 -1
- package/lib/types/auth.d.ts +7 -0
- package/lib/types/auth.js +1 -1
- package/lib/types/connections.d.ts +7 -0
- package/lib/types/connections.js +1 -1
- package/lib/types/conversations.d.ts +29 -0
- package/lib/types/conversations.js +1 -1
- package/lib/types/email.d.ts +13 -0
- package/lib/types/email.js +1 -1
- package/lib/types/error.d.ts +20 -0
- package/lib/types/error.js +44 -0
- package/lib/types/files.d.ts +26 -0
- package/lib/types/files.js +1 -1
- package/lib/types/google.d.ts +29 -0
- package/lib/types/google.js +1 -1
- package/lib/types/groups.d.ts +21 -0
- package/lib/types/groups.js +1 -1
- package/lib/types/images.d.ts +51 -0
- package/lib/types/images.js +1 -1
- package/lib/types/index.d.ts +18 -0
- package/lib/types/locations.d.ts +20 -0
- package/lib/types/locations.js +1 -1
- package/lib/types/messages.d.ts +16 -0
- package/lib/types/messages.js +1 -1
- package/lib/types/notifications.d.ts +17 -0
- package/lib/types/notifications.js +1 -1
- package/lib/types/payments.d.ts +112 -0
- package/lib/types/payments.js +1 -1
- package/lib/types/posts.d.ts +31 -0
- package/lib/types/posts.js +1 -1
- package/lib/types/statistics.d.ts +3 -0
- package/lib/types/statistics.js +1 -1
- package/lib/types/tags.d.ts +10 -0
- package/lib/types/tags.js +1 -1
- package/lib/types/users.d.ts +76 -0
- package/lib/types/users.js +1 -1
- package/lib/types/websocket.d.ts +13 -0
- package/lib/types/websocket.js +1 -1
- package/lib/utils/adapterUtils.d.ts +1 -0
- package/lib/utils/adapterUtils.js +45 -0
- package/lib/utils/analyticsUtils.d.ts +21 -0
- package/lib/utils/analyticsUtils.js +72 -0
- package/lib/utils/arangodbUtils.d.ts +65 -0
- package/lib/utils/arangodbUtils.js +144 -0
- package/lib/utils/auth.d.ts +20 -0
- package/lib/utils/auth.js +13 -30
- package/lib/utils/index.d.ts +5 -0
- package/lib/utils/index.js +7 -9
- package/lib/utils/session.d.ts +16 -0
- package/lib/utils/session.js +11 -2
- package/package.json +12 -5
- package/lib/utils/analytics.js +0 -88
- package/lib/utils/arangodb.js +0 -118
- package/lib/utils/graphql.js +0 -46
- package/lib/utils/objects.js +0 -59
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
|
|
2
|
+
<!doctype html>
|
|
3
|
+
<html lang="en">
|
|
4
|
+
|
|
5
|
+
<head>
|
|
6
|
+
<title>Code coverage report for actions</title>
|
|
7
|
+
<meta charset="utf-8" />
|
|
8
|
+
<link rel="stylesheet" href="../prettify.css" />
|
|
9
|
+
<link rel="stylesheet" href="../base.css" />
|
|
10
|
+
<link rel="shortcut icon" type="image/x-icon" href="../favicon.png" />
|
|
11
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
12
|
+
<style type='text/css'>
|
|
13
|
+
.coverage-summary .sorter {
|
|
14
|
+
background-image: url(../sort-arrow-sprite.png);
|
|
15
|
+
}
|
|
16
|
+
</style>
|
|
17
|
+
</head>
|
|
18
|
+
|
|
19
|
+
<body>
|
|
20
|
+
<div class='wrapper'>
|
|
21
|
+
<div class='pad1'>
|
|
22
|
+
<h1><a href="../index.html">All files</a> actions</h1>
|
|
23
|
+
<div class='clearfix'>
|
|
24
|
+
|
|
25
|
+
<div class='fl pad1y space-right2'>
|
|
26
|
+
<span class="strong">57.53% </span>
|
|
27
|
+
<span class="quiet">Statements</span>
|
|
28
|
+
<span class='fraction'>168/292</span>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
<div class='fl pad1y space-right2'>
|
|
33
|
+
<span class="strong">33.33% </span>
|
|
34
|
+
<span class="quiet">Branches</span>
|
|
35
|
+
<span class='fraction'>7/21</span>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
<div class='fl pad1y space-right2'>
|
|
40
|
+
<span class="strong">45.91% </span>
|
|
41
|
+
<span class="quiet">Functions</span>
|
|
42
|
+
<span class='fraction'>45/98</span>
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
<div class='fl pad1y space-right2'>
|
|
47
|
+
<span class="strong">53.78% </span>
|
|
48
|
+
<span class="quiet">Lines</span>
|
|
49
|
+
<span class='fraction'>142/264</span>
|
|
50
|
+
</div>
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
</div>
|
|
54
|
+
<p class="quiet">
|
|
55
|
+
Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
|
|
56
|
+
</p>
|
|
57
|
+
<template id="filterTemplate">
|
|
58
|
+
<div class="quiet">
|
|
59
|
+
Filter:
|
|
60
|
+
<input type="search" id="fileSearch">
|
|
61
|
+
</div>
|
|
62
|
+
</template>
|
|
63
|
+
</div>
|
|
64
|
+
<div class='status-line medium'></div>
|
|
65
|
+
<div class="pad1">
|
|
66
|
+
<table class="coverage-summary">
|
|
67
|
+
<thead>
|
|
68
|
+
<tr>
|
|
69
|
+
<th data-col="file" data-fmt="html" data-html="true" class="file">File</th>
|
|
70
|
+
<th data-col="pic" data-type="number" data-fmt="html" data-html="true" class="pic"></th>
|
|
71
|
+
<th data-col="statements" data-type="number" data-fmt="pct" class="pct">Statements</th>
|
|
72
|
+
<th data-col="statements_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
73
|
+
<th data-col="branches" data-type="number" data-fmt="pct" class="pct">Branches</th>
|
|
74
|
+
<th data-col="branches_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
75
|
+
<th data-col="functions" data-type="number" data-fmt="pct" class="pct">Functions</th>
|
|
76
|
+
<th data-col="functions_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
77
|
+
<th data-col="lines" data-type="number" data-fmt="pct" class="pct">Lines</th>
|
|
78
|
+
<th data-col="lines_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
79
|
+
</tr>
|
|
80
|
+
</thead>
|
|
81
|
+
<tbody><tr>
|
|
82
|
+
<td class="file high" data-value="groups.ts"><a href="groups.ts.html">groups.ts</a></td>
|
|
83
|
+
<td data-value="93.15" class="pic high">
|
|
84
|
+
<div class="chart"><div class="cover-fill" style="width: 93%"></div><div class="cover-empty" style="width: 7%"></div></div>
|
|
85
|
+
</td>
|
|
86
|
+
<td data-value="93.15" class="pct high">93.15%</td>
|
|
87
|
+
<td data-value="146" class="abs high">136/146</td>
|
|
88
|
+
<td data-value="100" class="pct high">100%</td>
|
|
89
|
+
<td data-value="7" class="abs high">7/7</td>
|
|
90
|
+
<td data-value="81.13" class="pct high">81.13%</td>
|
|
91
|
+
<td data-value="53" class="abs high">43/53</td>
|
|
92
|
+
<td data-value="92.42" class="pct high">92.42%</td>
|
|
93
|
+
<td data-value="132" class="abs high">122/132</td>
|
|
94
|
+
</tr>
|
|
95
|
+
|
|
96
|
+
<tr>
|
|
97
|
+
<td class="file low" data-value="tags.ts"><a href="tags.ts.html">tags.ts</a></td>
|
|
98
|
+
<td data-value="21.91" class="pic low">
|
|
99
|
+
<div class="chart"><div class="cover-fill" style="width: 21%"></div><div class="cover-empty" style="width: 79%"></div></div>
|
|
100
|
+
</td>
|
|
101
|
+
<td data-value="21.91" class="pct low">21.91%</td>
|
|
102
|
+
<td data-value="146" class="abs low">32/146</td>
|
|
103
|
+
<td data-value="0" class="pct low">0%</td>
|
|
104
|
+
<td data-value="14" class="abs low">0/14</td>
|
|
105
|
+
<td data-value="4.44" class="pct low">4.44%</td>
|
|
106
|
+
<td data-value="45" class="abs low">2/45</td>
|
|
107
|
+
<td data-value="15.15" class="pct low">15.15%</td>
|
|
108
|
+
<td data-value="132" class="abs low">20/132</td>
|
|
109
|
+
</tr>
|
|
110
|
+
|
|
111
|
+
</tbody>
|
|
112
|
+
</table>
|
|
113
|
+
</div>
|
|
114
|
+
<div class='push'></div><!-- for sticky footer -->
|
|
115
|
+
</div><!-- /wrapper -->
|
|
116
|
+
<div class='footer quiet pad2 space-top1 center small'>
|
|
117
|
+
Code coverage generated by
|
|
118
|
+
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
119
|
+
at 2025-02-04T16:39:29.322Z
|
|
120
|
+
</div>
|
|
121
|
+
<script src="../prettify.js"></script>
|
|
122
|
+
<script>
|
|
123
|
+
window.onload = function () {
|
|
124
|
+
prettyPrint();
|
|
125
|
+
};
|
|
126
|
+
</script>
|
|
127
|
+
<script src="../sorter.js"></script>
|
|
128
|
+
<script src="../block-navigation.js"></script>
|
|
129
|
+
</body>
|
|
130
|
+
</html>
|
|
131
|
+
|