pure-orm 4.0.0-2 → 4.0.0-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/README.md +49 -6
- package/coverage/clover.xml +273 -289
- package/coverage/coverage-final.json +18 -18
- package/coverage/lcov-report/dist/src/factory.js.html +24 -9
- package/coverage/lcov-report/dist/src/index.html +5 -5
- package/coverage/lcov-report/dist/src/index.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/blog/index.html +7 -7
- package/coverage/lcov-report/dist/test-utils/blog/models/article.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/blog/models/article_tag.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/blog/models/index.html +1 -1
- package/coverage/lcov-report/dist/test-utils/blog/models/person.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/blog/models/tag.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/blog/orm.js.html +6 -6
- package/coverage/lcov-report/dist/test-utils/five/index.html +7 -7
- package/coverage/lcov-report/dist/test-utils/five/models/index.html +1 -1
- package/coverage/lcov-report/dist/test-utils/five/models/line-item.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/five/models/order.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/five/models/parcel-event.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/five/models/parcel-line-item.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/five/models/parcel.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/five/orm.js.html +6 -6
- package/coverage/lcov-report/dist/test-utils/nine/index.html +7 -7
- package/coverage/lcov-report/dist/test-utils/nine/models/feature-switch.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/nine/models/index.html +1 -1
- package/coverage/lcov-report/dist/test-utils/nine/orm.js.html +6 -6
- package/coverage/lcov-report/dist/test-utils/order/index.html +7 -7
- package/coverage/lcov-report/dist/test-utils/order/models/index.html +1 -1
- package/coverage/lcov-report/dist/test-utils/order/models/line-item.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/order/models/order.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/order/models/product-variant.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/order/models/product.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/order/models/utm-source.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/order/orm.js.html +6 -6
- package/coverage/lcov-report/dist/test-utils/order-more/index.html +7 -7
- package/coverage/lcov-report/dist/test-utils/order-more/models/actual-product-variant.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/order-more/models/color.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/order-more/models/customer.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/order-more/models/gender.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/order-more/models/index.html +1 -1
- package/coverage/lcov-report/dist/test-utils/order-more/models/inventory-level.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/order-more/models/line-item.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/order-more/models/order.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/order-more/models/parcel-event.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/order-more/models/parcel-line-item.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/order-more/models/parcel.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/order-more/models/physical-address.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/order-more/models/product-variant-image.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/order-more/models/product-variant.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/order-more/models/product.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/order-more/models/refund.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/order-more/models/shipment-actual-product-variant.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/order-more/models/shipment.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/order-more/models/size.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/order-more/models/utm-medium.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/order-more/models/utm-source.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/order-more/orm.js.html +6 -6
- package/coverage/lcov-report/dist/test-utils/six/index.html +7 -7
- package/coverage/lcov-report/dist/test-utils/six/models/customer.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/six/models/index.html +1 -1
- package/coverage/lcov-report/dist/test-utils/six/models/line-item.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/six/models/order.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/six/models/parcel-line-item.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/six/models/parcel.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/six/orm.js.html +6 -6
- package/coverage/lcov-report/dist/test-utils/thirteen/index.html +7 -7
- package/coverage/lcov-report/dist/test-utils/thirteen/models/audience.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/thirteen/models/brand.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/thirteen/models/category.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/thirteen/models/index.html +1 -1
- package/coverage/lcov-report/dist/test-utils/thirteen/models/member.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/thirteen/models/passion.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/thirteen/models/product.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/thirteen/models/recommendation-audience.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/thirteen/models/recommendation.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/thirteen/orm.js.html +6 -6
- package/coverage/lcov-report/dist/test-utils/three/index.html +1 -1
- package/coverage/lcov-report/dist/test-utils/three/results.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/twelve/index.html +7 -7
- package/coverage/lcov-report/dist/test-utils/twelve/models/index.html +1 -1
- package/coverage/lcov-report/dist/test-utils/twelve/models/member.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/twelve/models/prompt.js.html +1 -1
- package/coverage/lcov-report/dist/test-utils/twelve/orm.js.html +6 -6
- package/coverage/lcov-report/dist/test-utils/two/index.html +1 -1
- package/coverage/lcov-report/dist/test-utils/two/results.js.html +1 -1
- package/coverage/lcov-report/index.html +61 -61
- package/coverage/lcov-report/src/factory.ts.html +48 -15
- package/coverage/lcov-report/src/index.html +5 -5
- package/coverage/lcov-report/src/index.ts.html +1 -1
- package/coverage/lcov-report/test-utils/blog/index.html +7 -7
- package/coverage/lcov-report/test-utils/blog/models/article.ts.html +1 -1
- package/coverage/lcov-report/test-utils/blog/models/article_tag.ts.html +1 -1
- package/coverage/lcov-report/test-utils/blog/models/index.html +1 -1
- package/coverage/lcov-report/test-utils/blog/models/person.ts.html +1 -1
- package/coverage/lcov-report/test-utils/blog/models/tag.ts.html +1 -1
- package/coverage/lcov-report/test-utils/blog/orm.ts.html +6 -6
- package/coverage/lcov-report/test-utils/five/index.html +7 -7
- package/coverage/lcov-report/test-utils/five/models/index.html +1 -1
- package/coverage/lcov-report/test-utils/five/models/line-item.ts.html +1 -1
- package/coverage/lcov-report/test-utils/five/models/order.ts.html +1 -1
- package/coverage/lcov-report/test-utils/five/models/parcel-event.ts.html +1 -1
- package/coverage/lcov-report/test-utils/five/models/parcel-line-item.ts.html +1 -1
- package/coverage/lcov-report/test-utils/five/models/parcel.ts.html +1 -1
- package/coverage/lcov-report/test-utils/five/orm.ts.html +6 -6
- package/coverage/lcov-report/test-utils/nine/index.html +7 -7
- package/coverage/lcov-report/test-utils/nine/models/feature-switch.ts.html +1 -1
- package/coverage/lcov-report/test-utils/nine/models/index.html +1 -1
- package/coverage/lcov-report/test-utils/nine/orm.ts.html +6 -6
- package/coverage/lcov-report/test-utils/order/index.html +7 -7
- package/coverage/lcov-report/test-utils/order/models/index.html +1 -1
- package/coverage/lcov-report/test-utils/order/models/line-item.ts.html +1 -1
- package/coverage/lcov-report/test-utils/order/models/order.ts.html +1 -1
- package/coverage/lcov-report/test-utils/order/models/product-variant.ts.html +1 -1
- package/coverage/lcov-report/test-utils/order/models/product.ts.html +1 -1
- package/coverage/lcov-report/test-utils/order/models/utm-source.ts.html +1 -1
- package/coverage/lcov-report/test-utils/order/orm.ts.html +6 -6
- package/coverage/lcov-report/test-utils/order-more/index.html +7 -7
- package/coverage/lcov-report/test-utils/order-more/models/actual-product-variant.ts.html +1 -1
- package/coverage/lcov-report/test-utils/order-more/models/color.ts.html +1 -1
- package/coverage/lcov-report/test-utils/order-more/models/customer.ts.html +1 -1
- package/coverage/lcov-report/test-utils/order-more/models/gender.ts.html +1 -1
- package/coverage/lcov-report/test-utils/order-more/models/index.html +1 -1
- package/coverage/lcov-report/test-utils/order-more/models/inventory-level.ts.html +1 -1
- package/coverage/lcov-report/test-utils/order-more/models/line-item.ts.html +1 -1
- package/coverage/lcov-report/test-utils/order-more/models/order.ts.html +1 -1
- package/coverage/lcov-report/test-utils/order-more/models/parcel-event.ts.html +1 -1
- package/coverage/lcov-report/test-utils/order-more/models/parcel-line-item.ts.html +1 -1
- package/coverage/lcov-report/test-utils/order-more/models/parcel.ts.html +1 -1
- package/coverage/lcov-report/test-utils/order-more/models/physical-address.ts.html +1 -1
- package/coverage/lcov-report/test-utils/order-more/models/product-variant-image.ts.html +1 -1
- package/coverage/lcov-report/test-utils/order-more/models/product-variant.ts.html +1 -1
- package/coverage/lcov-report/test-utils/order-more/models/product.ts.html +1 -1
- package/coverage/lcov-report/test-utils/order-more/models/refund.ts.html +1 -1
- package/coverage/lcov-report/test-utils/order-more/models/shipment-actual-product-variant.ts.html +1 -1
- package/coverage/lcov-report/test-utils/order-more/models/shipment.ts.html +1 -1
- package/coverage/lcov-report/test-utils/order-more/models/size.ts.html +1 -1
- package/coverage/lcov-report/test-utils/order-more/models/utm-medium.ts.html +1 -1
- package/coverage/lcov-report/test-utils/order-more/models/utm-source.ts.html +1 -1
- package/coverage/lcov-report/test-utils/order-more/orm.ts.html +6 -6
- package/coverage/lcov-report/test-utils/six/index.html +7 -7
- package/coverage/lcov-report/test-utils/six/models/customer.ts.html +1 -1
- package/coverage/lcov-report/test-utils/six/models/index.html +1 -1
- package/coverage/lcov-report/test-utils/six/models/line-item.ts.html +1 -1
- package/coverage/lcov-report/test-utils/six/models/order.ts.html +1 -1
- package/coverage/lcov-report/test-utils/six/models/parcel-line-item.ts.html +1 -1
- package/coverage/lcov-report/test-utils/six/models/parcel.ts.html +1 -1
- package/coverage/lcov-report/test-utils/six/orm.ts.html +6 -6
- package/coverage/lcov-report/test-utils/thirteen/index.html +7 -7
- package/coverage/lcov-report/test-utils/thirteen/models/audience.ts.html +1 -1
- package/coverage/lcov-report/test-utils/thirteen/models/brand.ts.html +1 -1
- package/coverage/lcov-report/test-utils/thirteen/models/category.ts.html +1 -1
- package/coverage/lcov-report/test-utils/thirteen/models/index.html +1 -1
- package/coverage/lcov-report/test-utils/thirteen/models/member.ts.html +1 -1
- package/coverage/lcov-report/test-utils/thirteen/models/passion.ts.html +1 -1
- package/coverage/lcov-report/test-utils/thirteen/models/product.ts.html +1 -1
- package/coverage/lcov-report/test-utils/thirteen/models/recommendation-audience.ts.html +1 -1
- package/coverage/lcov-report/test-utils/thirteen/models/recommendation.ts.html +1 -1
- package/coverage/lcov-report/test-utils/thirteen/orm.ts.html +6 -6
- package/coverage/lcov-report/test-utils/three/index.html +1 -1
- package/coverage/lcov-report/test-utils/three/results.js.html +1 -1
- package/coverage/lcov-report/test-utils/twelve/index.html +7 -7
- package/coverage/lcov-report/test-utils/twelve/models/index.html +1 -1
- package/coverage/lcov-report/test-utils/twelve/models/member.ts.html +1 -1
- package/coverage/lcov-report/test-utils/twelve/models/prompt.ts.html +1 -1
- package/coverage/lcov-report/test-utils/twelve/orm.ts.html +6 -6
- package/coverage/lcov-report/test-utils/two/index.html +1 -1
- package/coverage/lcov-report/test-utils/two/results.js.html +1 -1
- package/coverage/lcov.info +591 -635
- package/dist/example/factories/orm.d.ts +2 -1
- package/dist/example/factories/orm.js +1 -1
- package/dist/example/models/employer.d.ts +1 -1
- package/dist/example/models/job.d.ts +1 -1
- package/dist/example/models/person.d.ts +1 -1
- package/dist/src/factory.d.ts +5 -4
- package/dist/src/factory.js +10 -5
- package/dist/src/factory.spec.js +5 -5
- package/dist/test-utils/blog/models/article.d.ts +1 -1
- package/dist/test-utils/blog/models/article_tag.d.ts +1 -1
- package/dist/test-utils/blog/models/person.d.ts +1 -1
- package/dist/test-utils/blog/models/tag.d.ts +1 -1
- package/dist/test-utils/blog/orm.js +1 -1
- package/dist/test-utils/blog/orm.ts +1 -1
- package/dist/test-utils/five/models/line-item.d.ts +1 -1
- package/dist/test-utils/five/models/order.d.ts +1 -1
- package/dist/test-utils/five/models/parcel-event.d.ts +1 -1
- package/dist/test-utils/five/models/parcel-line-item.d.ts +1 -1
- package/dist/test-utils/five/models/parcel.d.ts +1 -1
- package/dist/test-utils/five/orm.d.ts +2 -1
- package/dist/test-utils/five/orm.js +1 -1
- package/dist/test-utils/five/orm.ts +1 -1
- package/dist/test-utils/nine/models/feature-switch.d.ts +1 -1
- package/dist/test-utils/nine/orm.d.ts +2 -1
- package/dist/test-utils/nine/orm.js +1 -1
- package/dist/test-utils/nine/orm.ts +1 -1
- package/dist/test-utils/order/models/line-item.d.ts +1 -1
- package/dist/test-utils/order/models/order.d.ts +1 -1
- package/dist/test-utils/order/models/product-variant.d.ts +1 -1
- package/dist/test-utils/order/models/product.d.ts +1 -1
- package/dist/test-utils/order/models/utm-source.d.ts +1 -1
- package/dist/test-utils/order/orm.d.ts +2 -1
- package/dist/test-utils/order/orm.js +1 -1
- package/dist/test-utils/order/orm.ts +1 -1
- package/dist/test-utils/order-more/models/actual-product-variant.d.ts +1 -1
- package/dist/test-utils/order-more/models/color.d.ts +1 -1
- package/dist/test-utils/order-more/models/customer.d.ts +1 -1
- package/dist/test-utils/order-more/models/gender.d.ts +1 -1
- package/dist/test-utils/order-more/models/inventory-level.d.ts +1 -1
- package/dist/test-utils/order-more/models/line-item.d.ts +1 -1
- package/dist/test-utils/order-more/models/order.d.ts +1 -1
- package/dist/test-utils/order-more/models/parcel-event.d.ts +1 -1
- package/dist/test-utils/order-more/models/parcel-line-item.d.ts +1 -1
- package/dist/test-utils/order-more/models/parcel.d.ts +1 -1
- package/dist/test-utils/order-more/models/physical-address.d.ts +1 -1
- package/dist/test-utils/order-more/models/product-variant-image.d.ts +1 -1
- package/dist/test-utils/order-more/models/product-variant.d.ts +1 -1
- package/dist/test-utils/order-more/models/product.d.ts +1 -1
- package/dist/test-utils/order-more/models/refund.d.ts +1 -1
- package/dist/test-utils/order-more/models/shipment-actual-product-variant.d.ts +1 -1
- package/dist/test-utils/order-more/models/shipment.d.ts +1 -1
- package/dist/test-utils/order-more/models/size.d.ts +1 -1
- package/dist/test-utils/order-more/models/utm-medium.d.ts +1 -1
- package/dist/test-utils/order-more/models/utm-source.d.ts +1 -1
- package/dist/test-utils/order-more/orm.d.ts +2 -1
- package/dist/test-utils/order-more/orm.js +1 -1
- package/dist/test-utils/order-more/orm.ts +1 -1
- package/dist/test-utils/six/models/customer.d.ts +1 -1
- package/dist/test-utils/six/models/line-item.d.ts +1 -1
- package/dist/test-utils/six/models/order.d.ts +1 -1
- package/dist/test-utils/six/models/parcel-line-item.d.ts +1 -1
- package/dist/test-utils/six/models/parcel.d.ts +1 -1
- package/dist/test-utils/six/orm.d.ts +2 -1
- package/dist/test-utils/six/orm.js +1 -1
- package/dist/test-utils/six/orm.ts +1 -1
- package/dist/test-utils/thirteen/models/audience.d.ts +1 -1
- package/dist/test-utils/thirteen/models/brand.d.ts +1 -1
- package/dist/test-utils/thirteen/models/category.d.ts +1 -1
- package/dist/test-utils/thirteen/models/member.d.ts +1 -1
- package/dist/test-utils/thirteen/models/passion.d.ts +1 -1
- package/dist/test-utils/thirteen/models/product.d.ts +1 -1
- package/dist/test-utils/thirteen/models/recommendation-audience.d.ts +1 -1
- package/dist/test-utils/thirteen/models/recommendation.d.ts +1 -1
- package/dist/test-utils/thirteen/orm.d.ts +2 -1
- package/dist/test-utils/thirteen/orm.js +1 -1
- package/dist/test-utils/thirteen/orm.ts +1 -1
- package/dist/test-utils/twelve/models/member.d.ts +1 -1
- package/dist/test-utils/twelve/models/prompt.d.ts +1 -1
- package/dist/test-utils/twelve/orm.d.ts +2 -1
- package/dist/test-utils/twelve/orm.js +1 -1
- package/dist/test-utils/twelve/orm.ts +1 -1
- package/example/factories/orm.ts +1 -1
- package/package.json +1 -1
- package/src/factory.spec.ts +5 -5
- package/src/factory.ts +22 -11
- package/test-utils/blog/orm.ts +1 -1
- package/test-utils/five/orm.ts +1 -1
- package/test-utils/nine/orm.ts +1 -1
- package/test-utils/order/orm.ts +1 -1
- package/test-utils/order-more/orm.ts +1 -1
- package/test-utils/six/orm.ts +1 -1
- package/test-utils/thirteen/orm.ts +1 -1
- package/test-utils/twelve/orm.ts +1 -1
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
<span class='fraction'>176/278</span>
|
|
26
26
|
</div>
|
|
27
27
|
<div class='fl pad1y space-right2'>
|
|
28
|
-
<span class="strong">
|
|
28
|
+
<span class="strong">57.89% </span>
|
|
29
29
|
<span class="quiet">Branches</span>
|
|
30
|
-
<span class='fraction'>
|
|
30
|
+
<span class='fraction'>66/114</span>
|
|
31
31
|
</div>
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
33
|
<span class="strong">46.24% </span>
|
|
@@ -558,7 +558,12 @@
|
|
|
558
558
|
<a name='L510'></a><a href='#L510'>510</a>
|
|
559
559
|
<a name='L511'></a><a href='#L511'>511</a>
|
|
560
560
|
<a name='L512'></a><a href='#L512'>512</a>
|
|
561
|
-
<a name='L513'></a><a href='#L513'>513</a
|
|
561
|
+
<a name='L513'></a><a href='#L513'>513</a>
|
|
562
|
+
<a name='L514'></a><a href='#L514'>514</a>
|
|
563
|
+
<a name='L515'></a><a href='#L515'>515</a>
|
|
564
|
+
<a name='L516'></a><a href='#L516'>516</a>
|
|
565
|
+
<a name='L517'></a><a href='#L517'>517</a>
|
|
566
|
+
<a name='L518'></a><a href='#L518'>518</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
562
567
|
<span class="cline-any cline-yes">1x</span>
|
|
563
568
|
<span class="cline-any cline-yes">1x</span>
|
|
564
569
|
<span class="cline-any cline-yes">1x</span>
|
|
@@ -1064,22 +1069,27 @@
|
|
|
1064
1069
|
<span class="cline-any cline-neutral"> </span>
|
|
1065
1070
|
<span class="cline-any cline-neutral"> </span>
|
|
1066
1071
|
<span class="cline-any cline-neutral"> </span>
|
|
1072
|
+
<span class="cline-any cline-neutral"> </span>
|
|
1067
1073
|
<span class="cline-any cline-yes">50x</span>
|
|
1074
|
+
<span class="cline-any cline-neutral"> </span>
|
|
1075
|
+
<span class="cline-any cline-neutral"> </span>
|
|
1068
1076
|
<span class="cline-any cline-yes">50x</span>
|
|
1069
1077
|
<span class="cline-any cline-neutral"> </span>
|
|
1070
1078
|
<span class="cline-any cline-neutral"> </span>
|
|
1071
1079
|
<span class="cline-any cline-neutral"> </span>
|
|
1080
|
+
<span class="cline-any cline-neutral"> </span>
|
|
1081
|
+
<span class="cline-any cline-neutral"> </span>
|
|
1072
1082
|
<span class="cline-any cline-yes">1x</span>
|
|
1073
1083
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">"use strict";
|
|
1074
1084
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1075
1085
|
exports.create = void 0;
|
|
1076
1086
|
const camelCase = require('camelcase');
|
|
1077
|
-
const create = ({
|
|
1078
|
-
const entities =
|
|
1087
|
+
const create = ({ entities: externalEntities, db, logError }) => {
|
|
1088
|
+
const entities = externalEntities.map((d) => {
|
|
1079
1089
|
const tableName = d.tableName;
|
|
1080
1090
|
const displayName = d.displayName || camelCase(d.tableName);
|
|
1081
1091
|
const collectionDisplayName = d.collectionDisplayName || `${displayName}s`;
|
|
1082
|
-
const columns = d.columns.map((d) => {
|
|
1092
|
+
const columns = (typeof d.columns === 'function' ? <span class="branch-0 cbranch-no" title="branch not covered" >d.columns() </span>: d.columns).map((d) => {
|
|
1083
1093
|
if (typeof d === 'string') {
|
|
1084
1094
|
return {
|
|
1085
1095
|
column: d,
|
|
@@ -1575,10 +1585,15 @@ const create = ({ getEntities, db, logError }) => {
|
|
|
1575
1585
|
getOneOrNoneMatching,
|
|
1576
1586
|
getAnyMatching,
|
|
1577
1587
|
getAllMatching,
|
|
1588
|
+
// tables property for access to select columns clause string
|
|
1578
1589
|
tables: entities.reduce((accum, data) => {
|
|
1579
|
-
accum[data.displayName] =
|
|
1590
|
+
accum[data.displayName] = {
|
|
1591
|
+
columns: data.selectColumnsClause
|
|
1592
|
+
};
|
|
1580
1593
|
return accum;
|
|
1581
|
-
}, {})
|
|
1594
|
+
}, {}),
|
|
1595
|
+
// provide direct access to db
|
|
1596
|
+
db
|
|
1582
1597
|
};
|
|
1583
1598
|
};
|
|
1584
1599
|
exports.create = create;
|
|
@@ -1588,7 +1603,7 @@ exports.create = create;
|
|
|
1588
1603
|
</div><!-- /wrapper -->
|
|
1589
1604
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1590
1605
|
Code coverage
|
|
1591
|
-
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at
|
|
1606
|
+
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Thu May 05 2022 11:10:01 GMT-0400 (Eastern Daylight Time)
|
|
1592
1607
|
</div>
|
|
1593
1608
|
</div>
|
|
1594
1609
|
<script src="../../prettify.js"></script>
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
<span class='fraction'>181/283</span>
|
|
26
26
|
</div>
|
|
27
27
|
<div class='fl pad1y space-right2'>
|
|
28
|
-
<span class="strong">
|
|
28
|
+
<span class="strong">57.89% </span>
|
|
29
29
|
<span class="quiet">Branches</span>
|
|
30
|
-
<span class='fraction'>
|
|
30
|
+
<span class='fraction'>66/114</span>
|
|
31
31
|
</div>
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
33
|
<span class="strong">46.81% </span>
|
|
@@ -66,8 +66,8 @@
|
|
|
66
66
|
<td data-value="63.31" class="pic medium"><div class="chart"><div class="cover-fill" style="width: 63%;"></div><div class="cover-empty" style="width:37%;"></div></div></td>
|
|
67
67
|
<td data-value="63.31" class="pct medium">63.31%</td>
|
|
68
68
|
<td data-value="278" class="abs medium">176/278</td>
|
|
69
|
-
<td data-value="
|
|
70
|
-
<td data-value="
|
|
69
|
+
<td data-value="57.89" class="pct medium">57.89%</td>
|
|
70
|
+
<td data-value="114" class="abs medium">66/114</td>
|
|
71
71
|
<td data-value="46.24" class="pct low">46.24%</td>
|
|
72
72
|
<td data-value="93" class="abs low">43/93</td>
|
|
73
73
|
<td data-value="62.07" class="pct medium">62.07%</td>
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
</div><!-- /wrapper -->
|
|
94
94
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
95
95
|
Code coverage
|
|
96
|
-
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at
|
|
96
|
+
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Thu May 05 2022 11:10:01 GMT-0400 (Eastern Daylight Time)
|
|
97
97
|
</div>
|
|
98
98
|
</div>
|
|
99
99
|
<script src="../../prettify.js"></script>
|
|
@@ -67,7 +67,7 @@ Object.defineProperty(exports, "create", { enumerable: true, get: function () {
|
|
|
67
67
|
</div><!-- /wrapper -->
|
|
68
68
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
69
69
|
Code coverage
|
|
70
|
-
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at
|
|
70
|
+
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Thu May 05 2022 11:10:01 GMT-0400 (Eastern Daylight Time)
|
|
71
71
|
</div>
|
|
72
72
|
</div>
|
|
73
73
|
<script src="../../prettify.js"></script>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<div class='fl pad1y space-right2'>
|
|
23
23
|
<span class="strong">100% </span>
|
|
24
24
|
<span class="quiet">Statements</span>
|
|
25
|
-
<span class='fraction'>
|
|
25
|
+
<span class='fraction'>8/8</span>
|
|
26
26
|
</div>
|
|
27
27
|
<div class='fl pad1y space-right2'>
|
|
28
28
|
<span class="strong">100% </span>
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
33
|
<span class="strong">100% </span>
|
|
34
34
|
<span class="quiet">Functions</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>0/0</span>
|
|
36
36
|
</div>
|
|
37
37
|
<div class='fl pad1y space-right2'>
|
|
38
38
|
<span class="strong">100% </span>
|
|
39
39
|
<span class="quiet">Lines</span>
|
|
40
|
-
<span class='fraction'>
|
|
40
|
+
<span class='fraction'>8/8</span>
|
|
41
41
|
</div>
|
|
42
42
|
</div>
|
|
43
43
|
<p class="quiet">
|
|
@@ -65,13 +65,13 @@
|
|
|
65
65
|
<td class="file high" data-value="orm.js"><a href="orm.js.html">orm.js</a></td>
|
|
66
66
|
<td data-value="100" class="pic high"><div class="chart"><div class="cover-fill cover-full" style="width: 100%;"></div><div class="cover-empty" style="width:0%;"></div></div></td>
|
|
67
67
|
<td data-value="100" class="pct high">100%</td>
|
|
68
|
-
<td data-value="
|
|
68
|
+
<td data-value="8" class="abs high">8/8</td>
|
|
69
69
|
<td data-value="100" class="pct high">100%</td>
|
|
70
70
|
<td data-value="0" class="abs high">0/0</td>
|
|
71
71
|
<td data-value="100" class="pct high">100%</td>
|
|
72
|
-
<td data-value="
|
|
72
|
+
<td data-value="0" class="abs high">0/0</td>
|
|
73
73
|
<td data-value="100" class="pct high">100%</td>
|
|
74
|
-
<td data-value="
|
|
74
|
+
<td data-value="8" class="abs high">8/8</td>
|
|
75
75
|
</tr>
|
|
76
76
|
|
|
77
77
|
</tbody>
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
</div><!-- /wrapper -->
|
|
81
81
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
82
82
|
Code coverage
|
|
83
|
-
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at
|
|
83
|
+
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Thu May 05 2022 11:10:01 GMT-0400 (Eastern Daylight Time)
|
|
84
84
|
</div>
|
|
85
85
|
</div>
|
|
86
86
|
<script src="../../../prettify.js"></script>
|
|
@@ -199,7 +199,7 @@ exports.articleEntity = {
|
|
|
199
199
|
</div><!-- /wrapper -->
|
|
200
200
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
201
201
|
Code coverage
|
|
202
|
-
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at
|
|
202
|
+
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Thu May 05 2022 11:10:01 GMT-0400 (Eastern Daylight Time)
|
|
203
203
|
</div>
|
|
204
204
|
</div>
|
|
205
205
|
<script src="../../../../prettify.js"></script>
|
|
@@ -151,7 +151,7 @@ exports.articleTagEntity = {
|
|
|
151
151
|
</div><!-- /wrapper -->
|
|
152
152
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
153
153
|
Code coverage
|
|
154
|
-
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at
|
|
154
|
+
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Thu May 05 2022 11:10:01 GMT-0400 (Eastern Daylight Time)
|
|
155
155
|
</div>
|
|
156
156
|
</div>
|
|
157
157
|
<script src="../../../../prettify.js"></script>
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
</div><!-- /wrapper -->
|
|
120
120
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
121
121
|
Code coverage
|
|
122
|
-
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at
|
|
122
|
+
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Thu May 05 2022 11:10:01 GMT-0400 (Eastern Daylight Time)
|
|
123
123
|
</div>
|
|
124
124
|
</div>
|
|
125
125
|
<script src="../../../../prettify.js"></script>
|
|
@@ -196,7 +196,7 @@ exports.personEntity = {
|
|
|
196
196
|
</div><!-- /wrapper -->
|
|
197
197
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
198
198
|
Code coverage
|
|
199
|
-
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at
|
|
199
|
+
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Thu May 05 2022 11:10:01 GMT-0400 (Eastern Daylight Time)
|
|
200
200
|
</div>
|
|
201
201
|
</div>
|
|
202
202
|
<script src="../../../../prettify.js"></script>
|
|
@@ -127,7 +127,7 @@ exports.tagEntity = {
|
|
|
127
127
|
</div><!-- /wrapper -->
|
|
128
128
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
129
129
|
Code coverage
|
|
130
|
-
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at
|
|
130
|
+
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Thu May 05 2022 11:10:01 GMT-0400 (Eastern Daylight Time)
|
|
131
131
|
</div>
|
|
132
132
|
</div>
|
|
133
133
|
<script src="../../../../prettify.js"></script>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<div class='fl pad1y space-right2'>
|
|
23
23
|
<span class="strong">100% </span>
|
|
24
24
|
<span class="quiet">Statements</span>
|
|
25
|
-
<span class='fraction'>
|
|
25
|
+
<span class='fraction'>8/8</span>
|
|
26
26
|
</div>
|
|
27
27
|
<div class='fl pad1y space-right2'>
|
|
28
28
|
<span class="strong">100% </span>
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
33
|
<span class="strong">100% </span>
|
|
34
34
|
<span class="quiet">Functions</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>0/0</span>
|
|
36
36
|
</div>
|
|
37
37
|
<div class='fl pad1y space-right2'>
|
|
38
38
|
<span class="strong">100% </span>
|
|
39
39
|
<span class="quiet">Lines</span>
|
|
40
|
-
<span class='fraction'>
|
|
40
|
+
<span class='fraction'>8/8</span>
|
|
41
41
|
</div>
|
|
42
42
|
</div>
|
|
43
43
|
<p class="quiet">
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
<span class="cline-any cline-yes">1x</span>
|
|
67
67
|
<span class="cline-any cline-yes">1x</span>
|
|
68
68
|
<span class="cline-any cline-yes">1x</span>
|
|
69
|
-
<span class="cline-any cline-
|
|
69
|
+
<span class="cline-any cline-neutral"> </span>
|
|
70
70
|
<span class="cline-any cline-neutral"> </span>
|
|
71
71
|
<span class="cline-any cline-neutral"> </span>
|
|
72
72
|
<span class="cline-any cline-yes">1x</span>
|
|
@@ -78,7 +78,7 @@ const { personEntity } = require('./models/person');
|
|
|
78
78
|
const { articleTagEntity } = require('./models/article_tag');
|
|
79
79
|
const { tagEntity } = require('./models/tag');
|
|
80
80
|
const orm = create({
|
|
81
|
-
|
|
81
|
+
entities: [articleEntity, personEntity, articleTagEntity, tagEntity],
|
|
82
82
|
db: void 0
|
|
83
83
|
});
|
|
84
84
|
exports.default = orm;
|
|
@@ -88,7 +88,7 @@ exports.default = orm;
|
|
|
88
88
|
</div><!-- /wrapper -->
|
|
89
89
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
90
90
|
Code coverage
|
|
91
|
-
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at
|
|
91
|
+
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Thu May 05 2022 11:10:01 GMT-0400 (Eastern Daylight Time)
|
|
92
92
|
</div>
|
|
93
93
|
</div>
|
|
94
94
|
<script src="../../../prettify.js"></script>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<div class='fl pad1y space-right2'>
|
|
23
23
|
<span class="strong">100% </span>
|
|
24
24
|
<span class="quiet">Statements</span>
|
|
25
|
-
<span class='fraction'>
|
|
25
|
+
<span class='fraction'>9/9</span>
|
|
26
26
|
</div>
|
|
27
27
|
<div class='fl pad1y space-right2'>
|
|
28
28
|
<span class="strong">100% </span>
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
33
|
<span class="strong">100% </span>
|
|
34
34
|
<span class="quiet">Functions</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>0/0</span>
|
|
36
36
|
</div>
|
|
37
37
|
<div class='fl pad1y space-right2'>
|
|
38
38
|
<span class="strong">100% </span>
|
|
39
39
|
<span class="quiet">Lines</span>
|
|
40
|
-
<span class='fraction'>
|
|
40
|
+
<span class='fraction'>9/9</span>
|
|
41
41
|
</div>
|
|
42
42
|
</div>
|
|
43
43
|
<p class="quiet">
|
|
@@ -65,13 +65,13 @@
|
|
|
65
65
|
<td class="file high" data-value="orm.js"><a href="orm.js.html">orm.js</a></td>
|
|
66
66
|
<td data-value="100" class="pic high"><div class="chart"><div class="cover-fill cover-full" style="width: 100%;"></div><div class="cover-empty" style="width:0%;"></div></div></td>
|
|
67
67
|
<td data-value="100" class="pct high">100%</td>
|
|
68
|
-
<td data-value="
|
|
68
|
+
<td data-value="9" class="abs high">9/9</td>
|
|
69
69
|
<td data-value="100" class="pct high">100%</td>
|
|
70
70
|
<td data-value="0" class="abs high">0/0</td>
|
|
71
71
|
<td data-value="100" class="pct high">100%</td>
|
|
72
|
-
<td data-value="
|
|
72
|
+
<td data-value="0" class="abs high">0/0</td>
|
|
73
73
|
<td data-value="100" class="pct high">100%</td>
|
|
74
|
-
<td data-value="
|
|
74
|
+
<td data-value="9" class="abs high">9/9</td>
|
|
75
75
|
</tr>
|
|
76
76
|
|
|
77
77
|
</tbody>
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
</div><!-- /wrapper -->
|
|
81
81
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
82
82
|
Code coverage
|
|
83
|
-
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at
|
|
83
|
+
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Thu May 05 2022 11:10:01 GMT-0400 (Eastern Daylight Time)
|
|
84
84
|
</div>
|
|
85
85
|
</div>
|
|
86
86
|
<script src="../../../prettify.js"></script>
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
</div><!-- /wrapper -->
|
|
133
133
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
134
134
|
Code coverage
|
|
135
|
-
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at
|
|
135
|
+
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Thu May 05 2022 11:10:01 GMT-0400 (Eastern Daylight Time)
|
|
136
136
|
</div>
|
|
137
137
|
</div>
|
|
138
138
|
<script src="../../../../prettify.js"></script>
|
|
@@ -139,7 +139,7 @@ exports.lineItemEntity = {
|
|
|
139
139
|
</div><!-- /wrapper -->
|
|
140
140
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
141
141
|
Code coverage
|
|
142
|
-
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at
|
|
142
|
+
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Thu May 05 2022 11:10:01 GMT-0400 (Eastern Daylight Time)
|
|
143
143
|
</div>
|
|
144
144
|
</div>
|
|
145
145
|
<script src="../../../../prettify.js"></script>
|
|
@@ -124,7 +124,7 @@ exports.orderEntity = {
|
|
|
124
124
|
</div><!-- /wrapper -->
|
|
125
125
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
126
126
|
Code coverage
|
|
127
|
-
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at
|
|
127
|
+
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Thu May 05 2022 11:10:01 GMT-0400 (Eastern Daylight Time)
|
|
128
128
|
</div>
|
|
129
129
|
</div>
|
|
130
130
|
<script src="../../../../prettify.js"></script>
|
|
@@ -151,7 +151,7 @@ exports.parcelEventEntity = {
|
|
|
151
151
|
</div><!-- /wrapper -->
|
|
152
152
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
153
153
|
Code coverage
|
|
154
|
-
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at
|
|
154
|
+
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Thu May 05 2022 11:10:01 GMT-0400 (Eastern Daylight Time)
|
|
155
155
|
</div>
|
|
156
156
|
</div>
|
|
157
157
|
<script src="../../../../prettify.js"></script>
|
|
@@ -151,7 +151,7 @@ exports.parcelLineItemEntity = {
|
|
|
151
151
|
</div><!-- /wrapper -->
|
|
152
152
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
153
153
|
Code coverage
|
|
154
|
-
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at
|
|
154
|
+
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Thu May 05 2022 11:10:01 GMT-0400 (Eastern Daylight Time)
|
|
155
155
|
</div>
|
|
156
156
|
</div>
|
|
157
157
|
<script src="../../../../prettify.js"></script>
|
|
@@ -121,7 +121,7 @@ exports.parcelEntity = {
|
|
|
121
121
|
</div><!-- /wrapper -->
|
|
122
122
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
123
123
|
Code coverage
|
|
124
|
-
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at
|
|
124
|
+
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Thu May 05 2022 11:10:01 GMT-0400 (Eastern Daylight Time)
|
|
125
125
|
</div>
|
|
126
126
|
</div>
|
|
127
127
|
<script src="../../../../prettify.js"></script>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<div class='fl pad1y space-right2'>
|
|
23
23
|
<span class="strong">100% </span>
|
|
24
24
|
<span class="quiet">Statements</span>
|
|
25
|
-
<span class='fraction'>
|
|
25
|
+
<span class='fraction'>9/9</span>
|
|
26
26
|
</div>
|
|
27
27
|
<div class='fl pad1y space-right2'>
|
|
28
28
|
<span class="strong">100% </span>
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
33
|
<span class="strong">100% </span>
|
|
34
34
|
<span class="quiet">Functions</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>0/0</span>
|
|
36
36
|
</div>
|
|
37
37
|
<div class='fl pad1y space-right2'>
|
|
38
38
|
<span class="strong">100% </span>
|
|
39
39
|
<span class="quiet">Lines</span>
|
|
40
|
-
<span class='fraction'>
|
|
40
|
+
<span class='fraction'>9/9</span>
|
|
41
41
|
</div>
|
|
42
42
|
</div>
|
|
43
43
|
<p class="quiet">
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
<span class="cline-any cline-yes">1x</span>
|
|
75
75
|
<span class="cline-any cline-yes">1x</span>
|
|
76
76
|
<span class="cline-any cline-yes">1x</span>
|
|
77
|
-
<span class="cline-any cline-
|
|
77
|
+
<span class="cline-any cline-neutral"> </span>
|
|
78
78
|
<span class="cline-any cline-neutral"> </span>
|
|
79
79
|
<span class="cline-any cline-neutral"> </span>
|
|
80
80
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -93,7 +93,7 @@ const parcel_line_item_1 = require("./models/parcel-line-item");
|
|
|
93
93
|
const parcel_1 = require("./models/parcel");
|
|
94
94
|
const parcel_event_1 = require("./models/parcel-event");
|
|
95
95
|
const orm = (0, index_1.create)({
|
|
96
|
-
|
|
96
|
+
entities: [
|
|
97
97
|
order_1.orderEntity,
|
|
98
98
|
line_item_1.lineItemEntity,
|
|
99
99
|
parcel_line_item_1.parcelLineItemEntity,
|
|
@@ -109,7 +109,7 @@ exports.default = orm;
|
|
|
109
109
|
</div><!-- /wrapper -->
|
|
110
110
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
111
111
|
Code coverage
|
|
112
|
-
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at
|
|
112
|
+
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Thu May 05 2022 11:10:01 GMT-0400 (Eastern Daylight Time)
|
|
113
113
|
</div>
|
|
114
114
|
</div>
|
|
115
115
|
<script src="../../../prettify.js"></script>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<div class='fl pad1y space-right2'>
|
|
23
23
|
<span class="strong">100% </span>
|
|
24
24
|
<span class="quiet">Statements</span>
|
|
25
|
-
<span class='fraction'>
|
|
25
|
+
<span class='fraction'>5/5</span>
|
|
26
26
|
</div>
|
|
27
27
|
<div class='fl pad1y space-right2'>
|
|
28
28
|
<span class="strong">100% </span>
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
33
|
<span class="strong">100% </span>
|
|
34
34
|
<span class="quiet">Functions</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>0/0</span>
|
|
36
36
|
</div>
|
|
37
37
|
<div class='fl pad1y space-right2'>
|
|
38
38
|
<span class="strong">100% </span>
|
|
39
39
|
<span class="quiet">Lines</span>
|
|
40
|
-
<span class='fraction'>
|
|
40
|
+
<span class='fraction'>5/5</span>
|
|
41
41
|
</div>
|
|
42
42
|
</div>
|
|
43
43
|
<p class="quiet">
|
|
@@ -65,13 +65,13 @@
|
|
|
65
65
|
<td class="file high" data-value="orm.js"><a href="orm.js.html">orm.js</a></td>
|
|
66
66
|
<td data-value="100" class="pic high"><div class="chart"><div class="cover-fill cover-full" style="width: 100%;"></div><div class="cover-empty" style="width:0%;"></div></div></td>
|
|
67
67
|
<td data-value="100" class="pct high">100%</td>
|
|
68
|
-
<td data-value="
|
|
68
|
+
<td data-value="5" class="abs high">5/5</td>
|
|
69
69
|
<td data-value="100" class="pct high">100%</td>
|
|
70
70
|
<td data-value="0" class="abs high">0/0</td>
|
|
71
71
|
<td data-value="100" class="pct high">100%</td>
|
|
72
|
-
<td data-value="
|
|
72
|
+
<td data-value="0" class="abs high">0/0</td>
|
|
73
73
|
<td data-value="100" class="pct high">100%</td>
|
|
74
|
-
<td data-value="
|
|
74
|
+
<td data-value="5" class="abs high">5/5</td>
|
|
75
75
|
</tr>
|
|
76
76
|
|
|
77
77
|
</tbody>
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
</div><!-- /wrapper -->
|
|
81
81
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
82
82
|
Code coverage
|
|
83
|
-
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at
|
|
83
|
+
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Thu May 05 2022 11:10:01 GMT-0400 (Eastern Daylight Time)
|
|
84
84
|
</div>
|
|
85
85
|
</div>
|
|
86
86
|
<script src="../../../prettify.js"></script>
|
|
@@ -130,7 +130,7 @@ exports.featureSwitchEntity = {
|
|
|
130
130
|
</div><!-- /wrapper -->
|
|
131
131
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
132
132
|
Code coverage
|
|
133
|
-
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at
|
|
133
|
+
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Thu May 05 2022 11:10:01 GMT-0400 (Eastern Daylight Time)
|
|
134
134
|
</div>
|
|
135
135
|
</div>
|
|
136
136
|
<script src="../../../../prettify.js"></script>
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
</div><!-- /wrapper -->
|
|
81
81
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
82
82
|
Code coverage
|
|
83
|
-
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at
|
|
83
|
+
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Thu May 05 2022 11:10:01 GMT-0400 (Eastern Daylight Time)
|
|
84
84
|
</div>
|
|
85
85
|
</div>
|
|
86
86
|
<script src="../../../../prettify.js"></script>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<div class='fl pad1y space-right2'>
|
|
23
23
|
<span class="strong">100% </span>
|
|
24
24
|
<span class="quiet">Statements</span>
|
|
25
|
-
<span class='fraction'>
|
|
25
|
+
<span class='fraction'>5/5</span>
|
|
26
26
|
</div>
|
|
27
27
|
<div class='fl pad1y space-right2'>
|
|
28
28
|
<span class="strong">100% </span>
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
33
|
<span class="strong">100% </span>
|
|
34
34
|
<span class="quiet">Functions</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>0/0</span>
|
|
36
36
|
</div>
|
|
37
37
|
<div class='fl pad1y space-right2'>
|
|
38
38
|
<span class="strong">100% </span>
|
|
39
39
|
<span class="quiet">Lines</span>
|
|
40
|
-
<span class='fraction'>
|
|
40
|
+
<span class='fraction'>5/5</span>
|
|
41
41
|
</div>
|
|
42
42
|
</div>
|
|
43
43
|
<p class="quiet">
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
<span class="cline-any cline-yes">1x</span>
|
|
61
61
|
<span class="cline-any cline-yes">1x</span>
|
|
62
62
|
<span class="cline-any cline-yes">1x</span>
|
|
63
|
-
<span class="cline-any cline-
|
|
63
|
+
<span class="cline-any cline-neutral"> </span>
|
|
64
64
|
<span class="cline-any cline-neutral"> </span>
|
|
65
65
|
<span class="cline-any cline-neutral"> </span>
|
|
66
66
|
<span class="cline-any cline-yes">1x</span>
|
|
@@ -69,7 +69,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
69
69
|
const index_1 = require("../../src/index");
|
|
70
70
|
const feature_switch_1 = require("./models/feature-switch");
|
|
71
71
|
const orm = (0, index_1.create)({
|
|
72
|
-
|
|
72
|
+
entities: [feature_switch_1.featureSwitchEntity],
|
|
73
73
|
db: void 0
|
|
74
74
|
});
|
|
75
75
|
exports.default = orm;
|
|
@@ -79,7 +79,7 @@ exports.default = orm;
|
|
|
79
79
|
</div><!-- /wrapper -->
|
|
80
80
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
81
81
|
Code coverage
|
|
82
|
-
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at
|
|
82
|
+
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Thu May 05 2022 11:10:01 GMT-0400 (Eastern Daylight Time)
|
|
83
83
|
</div>
|
|
84
84
|
</div>
|
|
85
85
|
<script src="../../../prettify.js"></script>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<div class='fl pad1y space-right2'>
|
|
23
23
|
<span class="strong">100% </span>
|
|
24
24
|
<span class="quiet">Statements</span>
|
|
25
|
-
<span class='fraction'>
|
|
25
|
+
<span class='fraction'>9/9</span>
|
|
26
26
|
</div>
|
|
27
27
|
<div class='fl pad1y space-right2'>
|
|
28
28
|
<span class="strong">100% </span>
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
33
|
<span class="strong">100% </span>
|
|
34
34
|
<span class="quiet">Functions</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>0/0</span>
|
|
36
36
|
</div>
|
|
37
37
|
<div class='fl pad1y space-right2'>
|
|
38
38
|
<span class="strong">100% </span>
|
|
39
39
|
<span class="quiet">Lines</span>
|
|
40
|
-
<span class='fraction'>
|
|
40
|
+
<span class='fraction'>9/9</span>
|
|
41
41
|
</div>
|
|
42
42
|
</div>
|
|
43
43
|
<p class="quiet">
|
|
@@ -65,13 +65,13 @@
|
|
|
65
65
|
<td class="file high" data-value="orm.js"><a href="orm.js.html">orm.js</a></td>
|
|
66
66
|
<td data-value="100" class="pic high"><div class="chart"><div class="cover-fill cover-full" style="width: 100%;"></div><div class="cover-empty" style="width:0%;"></div></div></td>
|
|
67
67
|
<td data-value="100" class="pct high">100%</td>
|
|
68
|
-
<td data-value="
|
|
68
|
+
<td data-value="9" class="abs high">9/9</td>
|
|
69
69
|
<td data-value="100" class="pct high">100%</td>
|
|
70
70
|
<td data-value="0" class="abs high">0/0</td>
|
|
71
71
|
<td data-value="100" class="pct high">100%</td>
|
|
72
|
-
<td data-value="
|
|
72
|
+
<td data-value="0" class="abs high">0/0</td>
|
|
73
73
|
<td data-value="100" class="pct high">100%</td>
|
|
74
|
-
<td data-value="
|
|
74
|
+
<td data-value="9" class="abs high">9/9</td>
|
|
75
75
|
</tr>
|
|
76
76
|
|
|
77
77
|
</tbody>
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
</div><!-- /wrapper -->
|
|
81
81
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
82
82
|
Code coverage
|
|
83
|
-
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at
|
|
83
|
+
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Thu May 05 2022 11:10:01 GMT-0400 (Eastern Daylight Time)
|
|
84
84
|
</div>
|
|
85
85
|
</div>
|
|
86
86
|
<script src="../../../prettify.js"></script>
|