@biorate/migrations 1.165.12 → 2.0.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 (134) hide show
  1. package/dist/{index.js → cjs/index.js} +0 -1
  2. package/dist/cjs/package.json +3 -0
  3. package/dist/cjs/src/default.config.js +5 -0
  4. package/dist/{src → cjs/src}/errors.js +0 -1
  5. package/dist/cjs/src/event-emitter.js +7 -0
  6. package/dist/{src → cjs/src}/index.js +3 -5
  7. package/dist/cjs/src/interfaces.js +1 -0
  8. package/dist/cjs/src/require-cjs.js +5 -0
  9. package/dist/cjs/src/require-esm.js +5 -0
  10. package/dist/{src → cjs/src}/root.js +3 -4
  11. package/dist/{src → cjs/src}/types/amqp.js +2 -2
  12. package/dist/{src → cjs/src}/types/clickhouse.js +0 -1
  13. package/dist/{src → cjs/src}/types/index.js +0 -1
  14. package/dist/{src → cjs/src}/types/kafka.js +2 -2
  15. package/dist/{src → cjs/src}/types/migration.js +0 -1
  16. package/dist/{src → cjs/src}/types/minio.js +2 -2
  17. package/dist/{src → cjs/src}/types/mongodb.js +2 -2
  18. package/dist/{src → cjs/src}/types/schema-registry.js +2 -2
  19. package/dist/{src → cjs/src}/types/sequelize.js +0 -1
  20. package/dist/esm/index.js +1 -0
  21. package/dist/esm/package.json +3 -0
  22. package/dist/esm/src/default.config.js +3 -0
  23. package/dist/esm/src/errors.js +8 -0
  24. package/dist/esm/src/event-emitter.js +3 -0
  25. package/dist/esm/src/index.js +8 -0
  26. package/dist/esm/src/interfaces.js +1 -0
  27. package/dist/esm/src/require-cjs.js +2 -0
  28. package/dist/esm/src/require-esm.js +2 -0
  29. package/dist/esm/src/root.js +136 -0
  30. package/dist/esm/src/types/amqp.js +31 -0
  31. package/dist/esm/src/types/clickhouse.js +61 -0
  32. package/dist/esm/src/types/index.js +7 -0
  33. package/dist/esm/src/types/kafka.js +27 -0
  34. package/dist/esm/src/types/migration.js +66 -0
  35. package/dist/esm/src/types/minio.js +35 -0
  36. package/dist/esm/src/types/mongodb.js +30 -0
  37. package/dist/esm/src/types/schema-registry.js +48 -0
  38. package/dist/esm/src/types/sequelize.js +38 -0
  39. package/dist/types/src/default.config.d.ts +1 -0
  40. package/dist/types/src/errors.d.ts +4 -0
  41. package/dist/types/src/event-emitter.d.ts +3 -0
  42. package/dist/types/src/index.d.ts +3 -0
  43. package/dist/types/src/require-cjs.d.ts +1 -0
  44. package/dist/types/src/require-esm.d.ts +1 -0
  45. package/dist/types/src/root.d.ts +27 -0
  46. package/dist/types/src/types/amqp.d.ts +6 -0
  47. package/dist/types/src/types/clickhouse.d.ts +6 -0
  48. package/dist/types/src/types/kafka.d.ts +6 -0
  49. package/dist/types/src/types/migration.d.ts +16 -0
  50. package/dist/types/src/types/minio.d.ts +6 -0
  51. package/dist/types/src/types/mongodb.d.ts +6 -0
  52. package/dist/types/src/types/schema-registry.d.ts +7 -0
  53. package/dist/types/src/types/sequelize.d.ts +6 -0
  54. package/package.json +48 -23
  55. package/.nyc_output/5dd7a2aa-147b-4304-84bf-effac0f982fd.json +0 -1
  56. package/.nyc_output/8ed41da4-40ec-49dc-8dbc-0ebaa3847e76.json +0 -1
  57. package/.nyc_output/f0726e72-3148-4051-b1f5-0768a33e5118.json +0 -1
  58. package/.nyc_output/processinfo/5dd7a2aa-147b-4304-84bf-effac0f982fd.json +0 -1
  59. package/.nyc_output/processinfo/8ed41da4-40ec-49dc-8dbc-0ebaa3847e76.json +0 -1
  60. package/.nyc_output/processinfo/f0726e72-3148-4051-b1f5-0768a33e5118.json +0 -1
  61. package/.nyc_output/processinfo/index.json +0 -1
  62. package/CHANGELOG.md +0 -1171
  63. package/coverage/base.css +0 -224
  64. package/coverage/block-navigation.js +0 -87
  65. package/coverage/clover.xml +0 -242
  66. package/coverage/coverage-final.json +0 -20
  67. package/coverage/favicon.png +0 -0
  68. package/coverage/index.html +0 -206
  69. package/coverage/prettify.css +0 -1
  70. package/coverage/prettify.js +0 -2
  71. package/coverage/sort-arrow-sprite.png +0 -0
  72. package/coverage/sorter.js +0 -210
  73. package/coverage/src/errors.ts.html +0 -112
  74. package/coverage/src/index.html +0 -131
  75. package/coverage/src/root.ts.html +0 -385
  76. package/coverage/src/types/amqp.ts.html +0 -223
  77. package/coverage/src/types/clickhouse.ts.html +0 -271
  78. package/coverage/src/types/index.html +0 -236
  79. package/coverage/src/types/index.ts.html +0 -106
  80. package/coverage/src/types/kafka.ts.html +0 -190
  81. package/coverage/src/types/migration.ts.html +0 -361
  82. package/coverage/src/types/minio.ts.html +0 -202
  83. package/coverage/src/types/mongodb.ts.html +0 -193
  84. package/coverage/src/types/schema-registry.ts.html +0 -250
  85. package/coverage/src/types/sequelize.ts.html +0 -229
  86. package/coverage/tests/__mocks__/index.html +0 -116
  87. package/coverage/tests/__mocks__/index.ts.html +0 -439
  88. package/coverage/tests/migrations/amqp/test/00001_create-test.js.html +0 -94
  89. package/coverage/tests/migrations/amqp/test/00002_delete-test.js.html +0 -94
  90. package/coverage/tests/migrations/amqp/test/index.html +0 -131
  91. package/coverage/tests/migrations/kafka/admin/00001_create-test.js.html +0 -109
  92. package/coverage/tests/migrations/kafka/admin/00002_delete-test.js.html +0 -100
  93. package/coverage/tests/migrations/kafka/admin/index.html +0 -131
  94. package/coverage/tests/migrations/minio/minio/00001_create-test.js.html +0 -91
  95. package/coverage/tests/migrations/minio/minio/00002_delete-test.js.html +0 -94
  96. package/coverage/tests/migrations/minio/minio/index.html +0 -131
  97. package/coverage/tests/migrations/mongodb/mongodb/00001_create-index-test.js.html +0 -91
  98. package/coverage/tests/migrations/mongodb/mongodb/index.html +0 -116
  99. package/dist/index.js.map +0 -1
  100. package/dist/src/default.config.js +0 -6
  101. package/dist/src/default.config.js.map +0 -1
  102. package/dist/src/errors.js.map +0 -1
  103. package/dist/src/index.js.map +0 -1
  104. package/dist/src/interfaces.js +0 -2
  105. package/dist/src/interfaces.js.map +0 -1
  106. package/dist/src/root.js.map +0 -1
  107. package/dist/src/types/amqp.js.map +0 -1
  108. package/dist/src/types/clickhouse.js.map +0 -1
  109. package/dist/src/types/index.js.map +0 -1
  110. package/dist/src/types/kafka.js.map +0 -1
  111. package/dist/src/types/migration.js.map +0 -1
  112. package/dist/src/types/minio.js.map +0 -1
  113. package/dist/src/types/mongodb.js.map +0 -1
  114. package/dist/src/types/schema-registry.js.map +0 -1
  115. package/dist/src/types/sequelize.js.map +0 -1
  116. package/dist/tsconfig.build.tsbuildinfo +0 -1
  117. package/index.d.ts +0 -26
  118. package/src/default.config.ts +0 -4
  119. package/src/errors.ts +0 -9
  120. package/src/index.ts +0 -10
  121. package/src/root.ts +0 -100
  122. package/src/types/amqp.ts +0 -46
  123. package/src/types/clickhouse.ts +0 -62
  124. package/src/types/kafka.ts +0 -35
  125. package/src/types/migration.ts +0 -92
  126. package/src/types/minio.ts +0 -39
  127. package/src/types/mongodb.ts +0 -36
  128. package/src/types/schema-registry.ts +0 -55
  129. package/src/types/sequelize.ts +0 -48
  130. package/tsconfig.build.json +0 -5
  131. package/tsconfig.json +0 -9
  132. /package/{index.ts → dist/types/index.d.ts} +0 -0
  133. /package/{src/interfaces.ts → dist/types/src/interfaces.d.ts} +0 -0
  134. /package/{src/types/index.ts → dist/types/src/types/index.d.ts} +0 -0
package/coverage/base.css DELETED
@@ -1,224 +0,0 @@
1
- body, html {
2
- margin:0; padding: 0;
3
- height: 100%;
4
- }
5
- body {
6
- font-family: Helvetica Neue, Helvetica, Arial;
7
- font-size: 14px;
8
- color:#333;
9
- }
10
- .small { font-size: 12px; }
11
- *, *:after, *:before {
12
- -webkit-box-sizing:border-box;
13
- -moz-box-sizing:border-box;
14
- box-sizing:border-box;
15
- }
16
- h1 { font-size: 20px; margin: 0;}
17
- h2 { font-size: 14px; }
18
- pre {
19
- font: 12px/1.4 Consolas, "Liberation Mono", Menlo, Courier, monospace;
20
- margin: 0;
21
- padding: 0;
22
- -moz-tab-size: 2;
23
- -o-tab-size: 2;
24
- tab-size: 2;
25
- }
26
- a { color:#0074D9; text-decoration:none; }
27
- a:hover { text-decoration:underline; }
28
- .strong { font-weight: bold; }
29
- .space-top1 { padding: 10px 0 0 0; }
30
- .pad2y { padding: 20px 0; }
31
- .pad1y { padding: 10px 0; }
32
- .pad2x { padding: 0 20px; }
33
- .pad2 { padding: 20px; }
34
- .pad1 { padding: 10px; }
35
- .space-left2 { padding-left:55px; }
36
- .space-right2 { padding-right:20px; }
37
- .center { text-align:center; }
38
- .clearfix { display:block; }
39
- .clearfix:after {
40
- content:'';
41
- display:block;
42
- height:0;
43
- clear:both;
44
- visibility:hidden;
45
- }
46
- .fl { float: left; }
47
- @media only screen and (max-width:640px) {
48
- .col3 { width:100%; max-width:100%; }
49
- .hide-mobile { display:none!important; }
50
- }
51
-
52
- .quiet {
53
- color: #7f7f7f;
54
- color: rgba(0,0,0,0.5);
55
- }
56
- .quiet a { opacity: 0.7; }
57
-
58
- .fraction {
59
- font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
60
- font-size: 10px;
61
- color: #555;
62
- background: #E8E8E8;
63
- padding: 4px 5px;
64
- border-radius: 3px;
65
- vertical-align: middle;
66
- }
67
-
68
- div.path a:link, div.path a:visited { color: #333; }
69
- table.coverage {
70
- border-collapse: collapse;
71
- margin: 10px 0 0 0;
72
- padding: 0;
73
- }
74
-
75
- table.coverage td {
76
- margin: 0;
77
- padding: 0;
78
- vertical-align: top;
79
- }
80
- table.coverage td.line-count {
81
- text-align: right;
82
- padding: 0 5px 0 20px;
83
- }
84
- table.coverage td.line-coverage {
85
- text-align: right;
86
- padding-right: 10px;
87
- min-width:20px;
88
- }
89
-
90
- table.coverage td span.cline-any {
91
- display: inline-block;
92
- padding: 0 5px;
93
- width: 100%;
94
- }
95
- .missing-if-branch {
96
- display: inline-block;
97
- margin-right: 5px;
98
- border-radius: 3px;
99
- position: relative;
100
- padding: 0 4px;
101
- background: #333;
102
- color: yellow;
103
- }
104
-
105
- .skip-if-branch {
106
- display: none;
107
- margin-right: 10px;
108
- position: relative;
109
- padding: 0 4px;
110
- background: #ccc;
111
- color: white;
112
- }
113
- .missing-if-branch .typ, .skip-if-branch .typ {
114
- color: inherit !important;
115
- }
116
- .coverage-summary {
117
- border-collapse: collapse;
118
- width: 100%;
119
- }
120
- .coverage-summary tr { border-bottom: 1px solid #bbb; }
121
- .keyline-all { border: 1px solid #ddd; }
122
- .coverage-summary td, .coverage-summary th { padding: 10px; }
123
- .coverage-summary tbody { border: 1px solid #bbb; }
124
- .coverage-summary td { border-right: 1px solid #bbb; }
125
- .coverage-summary td:last-child { border-right: none; }
126
- .coverage-summary th {
127
- text-align: left;
128
- font-weight: normal;
129
- white-space: nowrap;
130
- }
131
- .coverage-summary th.file { border-right: none !important; }
132
- .coverage-summary th.pct { }
133
- .coverage-summary th.pic,
134
- .coverage-summary th.abs,
135
- .coverage-summary td.pct,
136
- .coverage-summary td.abs { text-align: right; }
137
- .coverage-summary td.file { white-space: nowrap; }
138
- .coverage-summary td.pic { min-width: 120px !important; }
139
- .coverage-summary tfoot td { }
140
-
141
- .coverage-summary .sorter {
142
- height: 10px;
143
- width: 7px;
144
- display: inline-block;
145
- margin-left: 0.5em;
146
- background: url(sort-arrow-sprite.png) no-repeat scroll 0 0 transparent;
147
- }
148
- .coverage-summary .sorted .sorter {
149
- background-position: 0 -20px;
150
- }
151
- .coverage-summary .sorted-desc .sorter {
152
- background-position: 0 -10px;
153
- }
154
- .status-line { height: 10px; }
155
- /* yellow */
156
- .cbranch-no { background: yellow !important; color: #111; }
157
- /* dark red */
158
- .red.solid, .status-line.low, .low .cover-fill { background:#C21F39 }
159
- .low .chart { border:1px solid #C21F39 }
160
- .highlighted,
161
- .highlighted .cstat-no, .highlighted .fstat-no, .highlighted .cbranch-no{
162
- background: #C21F39 !important;
163
- }
164
- /* medium red */
165
- .cstat-no, .fstat-no, .cbranch-no, .cbranch-no { background:#F6C6CE }
166
- /* light red */
167
- .low, .cline-no { background:#FCE1E5 }
168
- /* light green */
169
- .high, .cline-yes { background:rgb(230,245,208) }
170
- /* medium green */
171
- .cstat-yes { background:rgb(161,215,106) }
172
- /* dark green */
173
- .status-line.high, .high .cover-fill { background:rgb(77,146,33) }
174
- .high .chart { border:1px solid rgb(77,146,33) }
175
- /* dark yellow (gold) */
176
- .status-line.medium, .medium .cover-fill { background: #f9cd0b; }
177
- .medium .chart { border:1px solid #f9cd0b; }
178
- /* light yellow */
179
- .medium { background: #fff4c2; }
180
-
181
- .cstat-skip { background: #ddd; color: #111; }
182
- .fstat-skip { background: #ddd; color: #111 !important; }
183
- .cbranch-skip { background: #ddd !important; color: #111; }
184
-
185
- span.cline-neutral { background: #eaeaea; }
186
-
187
- .coverage-summary td.empty {
188
- opacity: .5;
189
- padding-top: 4px;
190
- padding-bottom: 4px;
191
- line-height: 1;
192
- color: #888;
193
- }
194
-
195
- .cover-fill, .cover-empty {
196
- display:inline-block;
197
- height: 12px;
198
- }
199
- .chart {
200
- line-height: 0;
201
- }
202
- .cover-empty {
203
- background: white;
204
- }
205
- .cover-full {
206
- border-right: none !important;
207
- }
208
- pre.prettyprint {
209
- border: none !important;
210
- padding: 0 !important;
211
- margin: 0 !important;
212
- }
213
- .com { color: #999 !important; }
214
- .ignore-none { color: #999; font-weight: normal; }
215
-
216
- .wrapper {
217
- min-height: 100%;
218
- height: auto !important;
219
- height: 100%;
220
- margin: 0 auto -48px;
221
- }
222
- .footer, .push {
223
- height: 48px;
224
- }
@@ -1,87 +0,0 @@
1
- /* eslint-disable */
2
- var jumpToCode = (function init() {
3
- // Classes of code we would like to highlight in the file view
4
- var missingCoverageClasses = ['.cbranch-no', '.cstat-no', '.fstat-no'];
5
-
6
- // Elements to highlight in the file listing view
7
- var fileListingElements = ['td.pct.low'];
8
-
9
- // We don't want to select elements that are direct descendants of another match
10
- var notSelector = ':not(' + missingCoverageClasses.join('):not(') + ') > '; // becomes `:not(a):not(b) > `
11
-
12
- // Selector that finds elements on the page to which we can jump
13
- var selector =
14
- fileListingElements.join(', ') +
15
- ', ' +
16
- notSelector +
17
- missingCoverageClasses.join(', ' + notSelector); // becomes `:not(a):not(b) > a, :not(a):not(b) > b`
18
-
19
- // The NodeList of matching elements
20
- var missingCoverageElements = document.querySelectorAll(selector);
21
-
22
- var currentIndex;
23
-
24
- function toggleClass(index) {
25
- missingCoverageElements
26
- .item(currentIndex)
27
- .classList.remove('highlighted');
28
- missingCoverageElements.item(index).classList.add('highlighted');
29
- }
30
-
31
- function makeCurrent(index) {
32
- toggleClass(index);
33
- currentIndex = index;
34
- missingCoverageElements.item(index).scrollIntoView({
35
- behavior: 'smooth',
36
- block: 'center',
37
- inline: 'center'
38
- });
39
- }
40
-
41
- function goToPrevious() {
42
- var nextIndex = 0;
43
- if (typeof currentIndex !== 'number' || currentIndex === 0) {
44
- nextIndex = missingCoverageElements.length - 1;
45
- } else if (missingCoverageElements.length > 1) {
46
- nextIndex = currentIndex - 1;
47
- }
48
-
49
- makeCurrent(nextIndex);
50
- }
51
-
52
- function goToNext() {
53
- var nextIndex = 0;
54
-
55
- if (
56
- typeof currentIndex === 'number' &&
57
- currentIndex < missingCoverageElements.length - 1
58
- ) {
59
- nextIndex = currentIndex + 1;
60
- }
61
-
62
- makeCurrent(nextIndex);
63
- }
64
-
65
- return function jump(event) {
66
- if (
67
- document.getElementById('fileSearch') === document.activeElement &&
68
- document.activeElement != null
69
- ) {
70
- // if we're currently focused on the search input, we don't want to navigate
71
- return;
72
- }
73
-
74
- switch (event.which) {
75
- case 78: // n
76
- case 74: // j
77
- goToNext();
78
- break;
79
- case 66: // b
80
- case 75: // k
81
- case 80: // p
82
- goToPrevious();
83
- break;
84
- }
85
- };
86
- })();
87
- window.addEventListener('keydown', jumpToCode);
@@ -1,242 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1776775311738" clover="3.2.0">
3
- <project timestamp="1776775311738" name="All files">
4
- <metrics statements="158" coveredstatements="151" conditionals="14" coveredconditionals="8" methods="43" coveredmethods="40" elements="215" coveredelements="199" complexity="0" loc="158" ncloc="158" packages="7" files="19" classes="19"/>
5
- <package name="src">
6
- <metrics statements="39" coveredstatements="37" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
7
- <file name="errors.ts" path="/www/biorate/core/packages/@biorate/migrations/src/errors.ts">
8
- <metrics statements="1" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/>
9
- <line num="5" count="0" type="stmt"/>
10
- </file>
11
- <file name="root.ts" path="/www/biorate/core/packages/@biorate/migrations/src/root.ts">
12
- <metrics statements="38" coveredstatements="37" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/>
13
- <line num="23" count="1" type="stmt"/>
14
- <line num="24" count="1" type="stmt"/>
15
- <line num="26" count="1" type="stmt"/>
16
- <line num="28" count="1" type="stmt"/>
17
- <line num="30" count="1" type="stmt"/>
18
- <line num="32" count="1" type="stmt"/>
19
- <line num="34" count="1" type="stmt"/>
20
- <line num="36" count="1" type="stmt"/>
21
- <line num="38" count="1" type="stmt"/>
22
- <line num="40" count="1" type="stmt"/>
23
- <line num="42" count="1" type="stmt"/>
24
- <line num="44" count="1" type="stmt"/>
25
- <line num="46" count="1" type="stmt"/>
26
- <line num="49" count="1" type="stmt"/>
27
- <line num="51" count="1" type="stmt"/>
28
- <line num="52" count="0" type="stmt"/>
29
- <line num="57" count="1" type="stmt"/>
30
- <line num="59" count="1" type="stmt"/>
31
- <line num="60" count="1" type="stmt"/>
32
- <line num="64" count="1" type="stmt"/>
33
- <line num="65" count="1" type="stmt"/>
34
- <line num="69" count="1" type="stmt"/>
35
- <line num="70" count="1" type="stmt"/>
36
- <line num="74" count="1" type="stmt"/>
37
- <line num="75" count="1" type="stmt"/>
38
- <line num="76" count="1" type="stmt"/>
39
- <line num="80" count="1" type="stmt"/>
40
- <line num="81" count="1" type="stmt"/>
41
- <line num="85" count="1" type="stmt"/>
42
- <line num="86" count="1" type="stmt"/>
43
- <line num="90" count="1" type="stmt"/>
44
- <line num="91" count="1" type="stmt"/>
45
- <line num="92" count="1" type="stmt"/>
46
- <line num="93" count="1" type="stmt"/>
47
- <line num="94" count="1" type="stmt"/>
48
- <line num="95" count="1" type="stmt"/>
49
- <line num="96" count="1" type="stmt"/>
50
- <line num="100" count="1" type="stmt"/>
51
- </file>
52
- </package>
53
- <package name="src.types">
54
- <metrics statements="88" coveredstatements="84" conditionals="12" coveredconditionals="7" methods="31" coveredmethods="30"/>
55
- <file name="amqp.ts" path="/www/biorate/core/packages/@biorate/migrations/src/types/amqp.ts">
56
- <metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
57
- <line num="15" count="1" type="stmt"/>
58
- <line num="20" count="1" type="stmt"/>
59
- <line num="23" count="1" type="stmt"/>
60
- <line num="29" count="1" type="stmt"/>
61
- <line num="30" count="1" type="stmt"/>
62
- <line num="31" count="2" type="stmt"/>
63
- <line num="32" count="2" type="stmt"/>
64
- <line num="40" count="2" type="stmt"/>
65
- </file>
66
- <file name="clickhouse.ts" path="/www/biorate/core/packages/@biorate/migrations/src/types/clickhouse.ts">
67
- <metrics statements="12" coveredstatements="12" conditionals="2" coveredconditionals="1" methods="3" coveredmethods="3"/>
68
- <line num="13" count="1" type="stmt"/>
69
- <line num="18" count="1" type="stmt"/>
70
- <line num="21" count="1" type="stmt"/>
71
- <line num="22" count="1" type="stmt"/>
72
- <line num="29" count="1" type="stmt"/>
73
- <line num="36" count="1" type="stmt"/>
74
- <line num="37" count="3" type="stmt"/>
75
- <line num="42" count="3" type="stmt"/>
76
- <line num="43" count="3" type="cond" truecount="1" falsecount="1"/>
77
- <line num="44" count="3" type="stmt"/>
78
- <line num="50" count="3" type="stmt"/>
79
- <line num="57" count="3" type="stmt"/>
80
- </file>
81
- <file name="index.ts" path="/www/biorate/core/packages/@biorate/migrations/src/types/index.ts">
82
- <metrics statements="0" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
83
- </file>
84
- <file name="kafka.ts" path="/www/biorate/core/packages/@biorate/migrations/src/types/kafka.ts">
85
- <metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
86
- <line num="13" count="1" type="stmt"/>
87
- <line num="18" count="1" type="stmt"/>
88
- <line num="21" count="1" type="stmt"/>
89
- <line num="22" count="2" type="stmt"/>
90
- <line num="23" count="2" type="stmt"/>
91
- <line num="30" count="2" type="stmt"/>
92
- </file>
93
- <file name="migration.ts" path="/www/biorate/core/packages/@biorate/migrations/src/types/migration.ts">
94
- <metrics statements="21" coveredstatements="18" conditionals="4" coveredconditionals="2" methods="8" coveredmethods="8"/>
95
- <line num="10" count="1" type="stmt"/>
96
- <line num="14" count="1" type="stmt"/>
97
- <line num="23" count="32" type="stmt"/>
98
- <line num="29" count="7" type="stmt"/>
99
- <line num="30" count="7" type="stmt"/>
100
- <line num="31" count="17" type="stmt"/>
101
- <line num="34" count="0" type="stmt"/>
102
- <line num="41" count="24" type="stmt"/>
103
- <line num="52" count="17" type="stmt"/>
104
- <line num="57" count="1" type="stmt"/>
105
- <line num="58" count="7" type="stmt"/>
106
- <line num="59" count="7" type="stmt"/>
107
- <line num="68" count="7" type="stmt"/>
108
- <line num="69" count="7" type="stmt"/>
109
- <line num="70" count="7" type="cond" truecount="1" falsecount="1"/>
110
- <line num="71" count="7" type="stmt"/>
111
- <line num="72" count="7" type="cond" truecount="1" falsecount="1"/>
112
- <line num="73" count="0" type="stmt"/>
113
- <line num="74" count="0" type="stmt"/>
114
- <line num="76" count="7" type="stmt"/>
115
- <line num="86" count="17" type="stmt"/>
116
- </file>
117
- <file name="minio.ts" path="/www/biorate/core/packages/@biorate/migrations/src/types/minio.ts">
118
- <metrics statements="11" coveredstatements="11" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
119
- <line num="9" count="1" type="stmt"/>
120
- <line num="14" count="1" type="stmt"/>
121
- <line num="17" count="1" type="stmt"/>
122
- <line num="18" count="2" type="stmt"/>
123
- <line num="19" count="2" type="stmt"/>
124
- <line num="20" count="2" type="stmt"/>
125
- <line num="23" count="2" type="stmt"/>
126
- <line num="24" count="2" type="stmt"/>
127
- <line num="26" count="2" type="stmt"/>
128
- <line num="33" count="2" type="stmt"/>
129
- <line num="34" count="2" type="stmt"/>
130
- </file>
131
- <file name="mongodb.ts" path="/www/biorate/core/packages/@biorate/migrations/src/types/mongodb.ts">
132
- <metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
133
- <line num="9" count="1" type="stmt"/>
134
- <line num="14" count="1" type="stmt"/>
135
- <line num="17" count="1" type="stmt"/>
136
- <line num="18" count="1" type="stmt"/>
137
- <line num="19" count="1" type="stmt"/>
138
- <line num="26" count="1" type="stmt"/>
139
- <line num="31" count="1" type="stmt"/>
140
- </file>
141
- <file name="schema-registry.ts" path="/www/biorate/core/packages/@biorate/migrations/src/types/schema-registry.ts">
142
- <metrics statements="12" coveredstatements="11" conditionals="4" coveredconditionals="3" methods="4" coveredmethods="3"/>
143
- <line num="15" count="1" type="stmt"/>
144
- <line num="20" count="0" type="stmt"/>
145
- <line num="26" count="1" type="stmt"/>
146
- <line num="32" count="1" type="stmt"/>
147
- <line num="33" count="4" type="stmt"/>
148
- <line num="34" count="4" type="cond" truecount="1" falsecount="1"/>
149
- <line num="35" count="4" type="stmt"/>
150
- <line num="36" count="4" type="stmt"/>
151
- <line num="40" count="4" type="stmt"/>
152
- <line num="41" count="4" type="stmt"/>
153
- <line num="46" count="4" type="stmt"/>
154
- <line num="50" count="4" type="stmt"/>
155
- </file>
156
- <file name="sequelize.ts" path="/www/biorate/core/packages/@biorate/migrations/src/types/sequelize.ts">
157
- <metrics statements="11" coveredstatements="11" conditionals="2" coveredconditionals="1" methods="4" coveredmethods="4"/>
158
- <line num="15" count="1" type="stmt"/>
159
- <line num="20" count="1" type="stmt"/>
160
- <line num="23" count="1" type="stmt"/>
161
- <line num="33" count="1" type="stmt"/>
162
- <line num="34" count="1" type="stmt"/>
163
- <line num="37" count="3" type="stmt"/>
164
- <line num="38" count="3" type="stmt"/>
165
- <line num="39" count="3" type="cond" truecount="1" falsecount="1"/>
166
- <line num="40" count="3" type="stmt"/>
167
- <line num="41" count="3" type="stmt"/>
168
- <line num="42" count="3" type="stmt"/>
169
- </file>
170
- </package>
171
- <package name="tests.__mocks__">
172
- <metrics statements="16" coveredstatements="16" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
173
- <file name="index.ts" path="/www/biorate/core/packages/@biorate/migrations/tests/__mocks__/index.ts">
174
- <metrics statements="16" coveredstatements="16" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
175
- <line num="11" count="1" type="stmt"/>
176
- <line num="13" count="1" type="stmt"/>
177
- <line num="14" count="1" type="stmt"/>
178
- <line num="19" count="9" type="stmt"/>
179
- <line num="23" count="1" type="stmt"/>
180
- <line num="24" count="1" type="stmt"/>
181
- <line num="27" count="1" type="stmt"/>
182
- <line num="41" count="1" type="stmt"/>
183
- <line num="42" count="1" type="stmt"/>
184
- <line num="46" count="1" type="stmt"/>
185
- <line num="47" count="1" type="stmt"/>
186
- <line num="48" count="1" type="stmt"/>
187
- <line num="49" count="1" type="stmt"/>
188
- <line num="54" count="1" type="stmt"/>
189
- <line num="56" count="1" type="stmt"/>
190
- <line num="58" count="1" type="stmt"/>
191
- </file>
192
- </package>
193
- <package name="tests.migrations.amqp.test">
194
- <metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
195
- <file name="00001_create-test.js" path="/www/biorate/core/packages/@biorate/migrations/tests/migrations/amqp/test/00001_create-test.js">
196
- <metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
197
- <line num="1" count="1" type="stmt"/>
198
- <line num="2" count="1" type="stmt"/>
199
- </file>
200
- <file name="00002_delete-test.js" path="/www/biorate/core/packages/@biorate/migrations/tests/migrations/amqp/test/00002_delete-test.js">
201
- <metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
202
- <line num="1" count="1" type="stmt"/>
203
- <line num="2" count="1" type="stmt"/>
204
- </file>
205
- </package>
206
- <package name="tests.migrations.kafka.admin">
207
- <metrics statements="5" coveredstatements="4" conditionals="2" coveredconditionals="1" methods="2" coveredmethods="2"/>
208
- <file name="00001_create-test.js" path="/www/biorate/core/packages/@biorate/migrations/tests/migrations/kafka/admin/00001_create-test.js">
209
- <metrics statements="3" coveredstatements="2" conditionals="2" coveredconditionals="1" methods="1" coveredmethods="1"/>
210
- <line num="1" count="1" type="stmt"/>
211
- <line num="2" count="1" type="cond" truecount="1" falsecount="1"/>
212
- <line num="7" count="0" type="stmt"/>
213
- </file>
214
- <file name="00002_delete-test.js" path="/www/biorate/core/packages/@biorate/migrations/tests/migrations/kafka/admin/00002_delete-test.js">
215
- <metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
216
- <line num="1" count="1" type="stmt"/>
217
- <line num="2" count="1" type="stmt"/>
218
- </file>
219
- </package>
220
- <package name="tests.migrations.minio.minio">
221
- <metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
222
- <file name="00001_create-test.js" path="/www/biorate/core/packages/@biorate/migrations/tests/migrations/minio/minio/00001_create-test.js">
223
- <metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
224
- <line num="1" count="1" type="stmt"/>
225
- <line num="2" count="1" type="stmt"/>
226
- </file>
227
- <file name="00002_delete-test.js" path="/www/biorate/core/packages/@biorate/migrations/tests/migrations/minio/minio/00002_delete-test.js">
228
- <metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
229
- <line num="1" count="1" type="stmt"/>
230
- <line num="2" count="1" type="stmt"/>
231
- </file>
232
- </package>
233
- <package name="tests.migrations.mongodb.mongodb">
234
- <metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
235
- <file name="00001_create-index-test.js" path="/www/biorate/core/packages/@biorate/migrations/tests/migrations/mongodb/mongodb/00001_create-index-test.js">
236
- <metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
237
- <line num="1" count="1" type="stmt"/>
238
- <line num="2" count="1" type="stmt"/>
239
- </file>
240
- </package>
241
- </project>
242
- </coverage>