@luminix/support 0.0.1-beta.6 → 0.0.1-beta.7

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/graph.svg ADDED
@@ -0,0 +1,421 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
3
+ "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <!-- Generated by graphviz version 2.43.0 (0)
5
+ -->
6
+ <!-- Title: G Pages: 1 -->
7
+ <svg width="1280pt" height="952pt"
8
+ viewBox="0.00 0.00 1280.20 952.34" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
9
+ <g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(21.6 930.74)">
10
+ <title>G</title>
11
+ <polygon fill="#111111" stroke="transparent" points="-21.6,21.6 -21.6,-930.74 1258.6,-930.74 1258.6,21.6 -21.6,21.6"/>
12
+ <!-- App/Application.ts -->
13
+ <g id="node1" class="node">
14
+ <title>App/Application.ts</title>
15
+ <path fill="none" stroke="#c6c5fe" d="M508.33,-804.11C508.33,-804.11 398.67,-804.11 398.67,-804.11 394.83,-804.11 391,-800.28 391,-796.44 391,-796.44 391,-788.78 391,-788.78 391,-784.94 394.83,-781.11 398.67,-781.11 398.67,-781.11 508.33,-781.11 508.33,-781.11 512.17,-781.11 516,-784.94 516,-788.78 516,-788.78 516,-796.44 516,-796.44 516,-800.28 512.17,-804.11 508.33,-804.11"/>
16
+ <text text-anchor="middle" x="453.5" y="-788.91" font-family="Arial" font-size="14.00" fill="#c6c5fe">App/Application.ts</text>
17
+ </g>
18
+ <!-- App/Interfaces.ts -->
19
+ <g id="node2" class="node">
20
+ <title>App/Interfaces.ts</title>
21
+ <path fill="none" stroke="#c6c5fe" d="M971.83,-744.11C971.83,-744.11 869.17,-744.11 869.17,-744.11 865.33,-744.11 861.5,-740.28 861.5,-736.44 861.5,-736.44 861.5,-728.78 861.5,-728.78 861.5,-724.94 865.33,-721.11 869.17,-721.11 869.17,-721.11 971.83,-721.11 971.83,-721.11 975.67,-721.11 979.5,-724.94 979.5,-728.78 979.5,-728.78 979.5,-736.44 979.5,-736.44 979.5,-740.28 975.67,-744.11 971.83,-744.11"/>
22
+ <text text-anchor="middle" x="920.5" y="-728.91" font-family="Arial" font-size="14.00" fill="#c6c5fe">App/Interfaces.ts</text>
23
+ </g>
24
+ <!-- App/Application.ts&#45;&gt;App/Interfaces.ts -->
25
+ <g id="edge1" class="edge">
26
+ <title>App/Application.ts&#45;&gt;App/Interfaces.ts</title>
27
+ <path fill="none" stroke="#757575" d="M516.19,-792.86C580.87,-792.21 685.23,-788.58 774,-773.61 809.19,-767.68 848.04,-756.48 876.74,-747.28"/>
28
+ <polygon fill="#757575" stroke="#757575" points="878.02,-750.55 886.45,-744.13 875.85,-743.89 878.02,-750.55"/>
29
+ </g>
30
+ <!-- App/ServiceProvider.ts -->
31
+ <g id="node3" class="node">
32
+ <title>App/ServiceProvider.ts</title>
33
+ <path fill="none" stroke="#c6c5fe" d="M766.33,-764.11C766.33,-764.11 628.67,-764.11 628.67,-764.11 624.83,-764.11 621,-760.28 621,-756.44 621,-756.44 621,-748.78 621,-748.78 621,-744.94 624.83,-741.11 628.67,-741.11 628.67,-741.11 766.33,-741.11 766.33,-741.11 770.17,-741.11 774,-744.94 774,-748.78 774,-748.78 774,-756.44 774,-756.44 774,-760.28 770.17,-764.11 766.33,-764.11"/>
34
+ <text text-anchor="middle" x="697.5" y="-748.91" font-family="Arial" font-size="14.00" fill="#c6c5fe">App/ServiceProvider.ts</text>
35
+ </g>
36
+ <!-- App/Application.ts&#45;&gt;App/ServiceProvider.ts -->
37
+ <g id="edge2" class="edge">
38
+ <title>App/Application.ts&#45;&gt;App/ServiceProvider.ts</title>
39
+ <path fill="none" stroke="#757575" d="M516.19,-782.41C546.78,-777.36 584.08,-771.19 616.8,-765.78"/>
40
+ <polygon fill="#757575" stroke="#757575" points="617.5,-769.21 626.8,-764.13 616.36,-762.31 617.5,-769.21"/>
41
+ </g>
42
+ <!-- Contracts/EventSource.ts -->
43
+ <g id="node4" class="node">
44
+ <title>Contracts/EventSource.ts</title>
45
+ <path fill="none" stroke="#cfffac" d="M1229.33,-491.11C1229.33,-491.11 1074.67,-491.11 1074.67,-491.11 1070.83,-491.11 1067,-487.28 1067,-483.44 1067,-483.44 1067,-475.78 1067,-475.78 1067,-471.94 1070.83,-468.11 1074.67,-468.11 1074.67,-468.11 1229.33,-468.11 1229.33,-468.11 1233.17,-468.11 1237,-471.94 1237,-475.78 1237,-475.78 1237,-483.44 1237,-483.44 1237,-487.28 1233.17,-491.11 1229.33,-491.11"/>
46
+ <text text-anchor="middle" x="1152" y="-475.91" font-family="Arial" font-size="14.00" fill="#cfffac">Contracts/EventSource.ts</text>
47
+ </g>
48
+ <!-- App/Application.ts&#45;&gt;Contracts/EventSource.ts -->
49
+ <g id="edge3" class="edge">
50
+ <title>App/Application.ts&#45;&gt;Contracts/EventSource.ts</title>
51
+ <path fill="none" stroke="#757575" d="M496.92,-804.11C600.47,-829.46 869.49,-878.47 1031,-753.61 1114.62,-688.97 1141.13,-553.93 1148.48,-501.28"/>
52
+ <polygon fill="#757575" stroke="#757575" points="1151.95,-501.72 1149.77,-491.35 1145.01,-500.82 1151.95,-501.72"/>
53
+ </g>
54
+ <!-- reader.ts -->
55
+ <g id="node5" class="node">
56
+ <title>reader.ts</title>
57
+ <path fill="none" stroke="#c6c5fe" d="M724.33,-882.11C724.33,-882.11 670.67,-882.11 670.67,-882.11 666.83,-882.11 663,-878.28 663,-874.44 663,-874.44 663,-866.78 663,-866.78 663,-862.94 666.83,-859.11 670.67,-859.11 670.67,-859.11 724.33,-859.11 724.33,-859.11 728.17,-859.11 732,-862.94 732,-866.78 732,-866.78 732,-874.44 732,-874.44 732,-878.28 728.17,-882.11 724.33,-882.11"/>
58
+ <text text-anchor="middle" x="697.5" y="-866.91" font-family="Arial" font-size="14.00" fill="#c6c5fe">reader.ts</text>
59
+ </g>
60
+ <!-- App/Application.ts&#45;&gt;reader.ts -->
61
+ <g id="edge4" class="edge">
62
+ <title>App/Application.ts&#45;&gt;reader.ts</title>
63
+ <path fill="none" stroke="#757575" d="M490.21,-804.12C533.57,-818.09 606.66,-841.65 653.19,-856.65"/>
64
+ <polygon fill="#757575" stroke="#757575" points="652.39,-860.07 662.99,-859.81 654.54,-853.41 652.39,-860.07"/>
65
+ </g>
66
+ <!-- App/Interfaces.ts&#45;&gt;Contracts/EventSource.ts -->
67
+ <g id="edge5" class="edge">
68
+ <title>App/Interfaces.ts&#45;&gt;Contracts/EventSource.ts</title>
69
+ <path fill="none" stroke="#757575" d="M931.96,-721.08C968.17,-681.16 1088.49,-548.52 1133.66,-498.72"/>
70
+ <polygon fill="#757575" stroke="#757575" points="1136.35,-500.96 1140.48,-491.21 1131.17,-496.26 1136.35,-500.96"/>
71
+ </g>
72
+ <!-- App/ServiceProvider.ts&#45;&gt;App/Interfaces.ts -->
73
+ <g id="edge6" class="edge">
74
+ <title>App/ServiceProvider.ts&#45;&gt;App/Interfaces.ts</title>
75
+ <path fill="none" stroke="#757575" d="M774.25,-745.75C799.17,-743.5 826.73,-741.01 851.08,-738.8"/>
76
+ <polygon fill="#757575" stroke="#757575" points="851.66,-742.26 861.3,-737.88 851.03,-735.29 851.66,-742.26"/>
77
+ </g>
78
+ <!-- Exceptions/NoEmbedException.ts -->
79
+ <g id="node11" class="node">
80
+ <title>Exceptions/NoEmbedException.ts</title>
81
+ <path fill="none" stroke="#cfffac" d="M1023.33,-882.11C1023.33,-882.11 817.67,-882.11 817.67,-882.11 813.83,-882.11 810,-878.28 810,-874.44 810,-874.44 810,-866.78 810,-866.78 810,-862.94 813.83,-859.11 817.67,-859.11 817.67,-859.11 1023.33,-859.11 1023.33,-859.11 1027.17,-859.11 1031,-862.94 1031,-866.78 1031,-866.78 1031,-874.44 1031,-874.44 1031,-878.28 1027.17,-882.11 1023.33,-882.11"/>
82
+ <text text-anchor="middle" x="920.5" y="-866.91" font-family="Arial" font-size="14.00" fill="#cfffac">Exceptions/NoEmbedException.ts</text>
83
+ </g>
84
+ <!-- reader.ts&#45;&gt;Exceptions/NoEmbedException.ts -->
85
+ <g id="edge46" class="edge">
86
+ <title>reader.ts&#45;&gt;Exceptions/NoEmbedException.ts</title>
87
+ <path fill="none" stroke="#757575" d="M732.07,-870.61C750.53,-870.61 774.69,-870.61 799.49,-870.61"/>
88
+ <polygon fill="#757575" stroke="#757575" points="799.76,-874.11 809.76,-870.61 799.76,-867.11 799.76,-874.11"/>
89
+ </g>
90
+ <!-- Arr.ts -->
91
+ <g id="node6" class="node">
92
+ <title>Arr.ts</title>
93
+ <path fill="none" stroke="#cfffac" d="M716.83,-550.11C716.83,-550.11 678.17,-550.11 678.17,-550.11 674.33,-550.11 670.5,-546.28 670.5,-542.44 670.5,-542.44 670.5,-534.78 670.5,-534.78 670.5,-530.94 674.33,-527.11 678.17,-527.11 678.17,-527.11 716.83,-527.11 716.83,-527.11 720.67,-527.11 724.5,-530.94 724.5,-534.78 724.5,-534.78 724.5,-542.44 724.5,-542.44 724.5,-546.28 720.67,-550.11 716.83,-550.11"/>
94
+ <text text-anchor="middle" x="697.5" y="-534.91" font-family="Arial" font-size="14.00" fill="#cfffac">Arr.ts</text>
95
+ </g>
96
+ <!-- Collection.ts -->
97
+ <g id="node7" class="node">
98
+ <title>Collection.ts</title>
99
+ <path fill="none" stroke="#c6c5fe" d="M490.83,-451.11C490.83,-451.11 416.17,-451.11 416.17,-451.11 412.33,-451.11 408.5,-447.28 408.5,-443.44 408.5,-443.44 408.5,-435.78 408.5,-435.78 408.5,-431.94 412.33,-428.11 416.17,-428.11 416.17,-428.11 490.83,-428.11 490.83,-428.11 494.67,-428.11 498.5,-431.94 498.5,-435.78 498.5,-435.78 498.5,-443.44 498.5,-443.44 498.5,-447.28 494.67,-451.11 490.83,-451.11"/>
100
+ <text text-anchor="middle" x="453.5" y="-435.91" font-family="Arial" font-size="14.00" fill="#c6c5fe">Collection.ts</text>
101
+ </g>
102
+ <!-- Collection.ts&#45;&gt;Contracts/EventSource.ts -->
103
+ <g id="edge8" class="edge">
104
+ <title>Collection.ts&#45;&gt;Contracts/EventSource.ts</title>
105
+ <path fill="none" stroke="#757575" d="M498.66,-442.66C532.21,-444.95 579.5,-448.1 621,-450.61 773.6,-459.83 951,-469.28 1056.96,-474.79"/>
106
+ <polygon fill="#757575" stroke="#757575" points="1056.82,-478.28 1066.99,-475.31 1057.19,-471.29 1056.82,-478.28"/>
107
+ </g>
108
+ <!-- Collection.ts&#45;&gt;Arr.ts -->
109
+ <g id="edge7" class="edge">
110
+ <title>Collection.ts&#45;&gt;Arr.ts</title>
111
+ <path fill="none" stroke="#757575" d="M498.71,-440.42C524.91,-442.4 558.15,-447.61 585,-460.61 604.54,-470.07 603.59,-480.65 621,-493.61 634.96,-504 651.46,-514.06 665.47,-522.02"/>
112
+ <polygon fill="#757575" stroke="#757575" points="663.83,-525.12 674.27,-526.94 667.24,-519 663.83,-525.12"/>
113
+ </g>
114
+ <!-- Js.ts -->
115
+ <g id="node8" class="node">
116
+ <title>Js.ts</title>
117
+ <path fill="none" stroke="#cfffac" d="M716.83,-610.11C716.83,-610.11 678.17,-610.11 678.17,-610.11 674.33,-610.11 670.5,-606.28 670.5,-602.44 670.5,-602.44 670.5,-594.78 670.5,-594.78 670.5,-590.94 674.33,-587.11 678.17,-587.11 678.17,-587.11 716.83,-587.11 716.83,-587.11 720.67,-587.11 724.5,-590.94 724.5,-594.78 724.5,-594.78 724.5,-602.44 724.5,-602.44 724.5,-606.28 720.67,-610.11 716.83,-610.11"/>
118
+ <text text-anchor="middle" x="697.5" y="-594.91" font-family="Arial" font-size="14.00" fill="#cfffac">Js.ts</text>
119
+ </g>
120
+ <!-- Collection.ts&#45;&gt;Js.ts -->
121
+ <g id="edge9" class="edge">
122
+ <title>Collection.ts&#45;&gt;Js.ts</title>
123
+ <path fill="none" stroke="#757575" d="M498.71,-436.02C526.4,-436.15 561.21,-440.94 585,-460.61 621.09,-490.44 590.08,-524.45 621,-559.61 631.61,-571.67 646.85,-580.53 660.86,-586.72"/>
124
+ <polygon fill="#757575" stroke="#757575" points="659.72,-590.04 670.3,-590.59 662.37,-583.56 659.72,-590.04"/>
125
+ </g>
126
+ <!-- Obj.ts -->
127
+ <g id="node9" class="node">
128
+ <title>Obj.ts</title>
129
+ <path fill="none" stroke="#cfffac" d="M939.83,-296.11C939.83,-296.11 901.17,-296.11 901.17,-296.11 897.33,-296.11 893.5,-292.28 893.5,-288.44 893.5,-288.44 893.5,-280.78 893.5,-280.78 893.5,-276.94 897.33,-273.11 901.17,-273.11 901.17,-273.11 939.83,-273.11 939.83,-273.11 943.67,-273.11 947.5,-276.94 947.5,-280.78 947.5,-280.78 947.5,-288.44 947.5,-288.44 947.5,-292.28 943.67,-296.11 939.83,-296.11"/>
130
+ <text text-anchor="middle" x="920.5" y="-280.91" font-family="Arial" font-size="14.00" fill="#cfffac">Obj.ts</text>
131
+ </g>
132
+ <!-- Collection.ts&#45;&gt;Obj.ts -->
133
+ <g id="edge10" class="edge">
134
+ <title>Collection.ts&#45;&gt;Obj.ts</title>
135
+ <path fill="none" stroke="#757575" d="M498.5,-446.51C562.18,-454.51 682.4,-461.99 774,-422.61 833.09,-397.2 882.68,-336.59 905.7,-304.82"/>
136
+ <polygon fill="#757575" stroke="#757575" points="908.8,-306.5 911.72,-296.32 903.08,-302.45 908.8,-306.5"/>
137
+ </g>
138
+ <!-- Query.ts -->
139
+ <g id="node10" class="node">
140
+ <title>Query.ts</title>
141
+ <path fill="none" stroke="#c6c5fe" d="M723.83,-139.11C723.83,-139.11 671.17,-139.11 671.17,-139.11 667.33,-139.11 663.5,-135.28 663.5,-131.44 663.5,-131.44 663.5,-123.78 663.5,-123.78 663.5,-119.94 667.33,-116.11 671.17,-116.11 671.17,-116.11 723.83,-116.11 723.83,-116.11 727.67,-116.11 731.5,-119.94 731.5,-123.78 731.5,-123.78 731.5,-131.44 731.5,-131.44 731.5,-135.28 727.67,-139.11 723.83,-139.11"/>
142
+ <text text-anchor="middle" x="697.5" y="-123.91" font-family="Arial" font-size="14.00" fill="#c6c5fe">Query.ts</text>
143
+ </g>
144
+ <!-- Collection.ts&#45;&gt;Query.ts -->
145
+ <g id="edge11" class="edge">
146
+ <title>Collection.ts&#45;&gt;Query.ts</title>
147
+ <path fill="none" stroke="#757575" d="M463.69,-427.76C500.23,-380.65 635.47,-206.3 681.24,-147.28"/>
148
+ <polygon fill="#757575" stroke="#757575" points="684.19,-149.19 687.56,-139.14 678.66,-144.9 684.19,-149.19"/>
149
+ </g>
150
+ <!-- Query.ts&#45;&gt;Obj.ts -->
151
+ <g id="edge25" class="edge">
152
+ <title>Query.ts&#45;&gt;Obj.ts</title>
153
+ <path fill="none" stroke="#757575" d="M731.71,-135.9C745.36,-140.09 760.98,-145.94 774,-153.61 826.78,-184.7 877.35,-236.93 902.67,-265.14"/>
154
+ <polygon fill="#757575" stroke="#757575" points="900.16,-267.58 909.41,-272.74 905.4,-262.94 900.16,-267.58"/>
155
+ </g>
156
+ <!-- Str.ts -->
157
+ <g id="node21" class="node">
158
+ <title>Str.ts</title>
159
+ <path fill="none" stroke="#cfffac" d="M939.83,-119.11C939.83,-119.11 901.17,-119.11 901.17,-119.11 897.33,-119.11 893.5,-115.28 893.5,-111.44 893.5,-111.44 893.5,-103.78 893.5,-103.78 893.5,-99.94 897.33,-96.11 901.17,-96.11 901.17,-96.11 939.83,-96.11 939.83,-96.11 943.67,-96.11 947.5,-99.94 947.5,-103.78 947.5,-103.78 947.5,-111.44 947.5,-111.44 947.5,-115.28 943.67,-119.11 939.83,-119.11"/>
160
+ <text text-anchor="middle" x="920.5" y="-103.91" font-family="Arial" font-size="14.00" fill="#cfffac">Str.ts</text>
161
+ </g>
162
+ <!-- Query.ts&#45;&gt;Str.ts -->
163
+ <g id="edge26" class="edge">
164
+ <title>Query.ts&#45;&gt;Str.ts</title>
165
+ <path fill="none" stroke="#757575" d="M731.59,-124.62C772.33,-120.93 841.28,-114.69 883.37,-110.88"/>
166
+ <polygon fill="#757575" stroke="#757575" points="883.81,-114.35 893.46,-109.97 883.18,-107.38 883.81,-114.35"/>
167
+ </g>
168
+ <!-- Exceptions/ReducerOverrideException.ts -->
169
+ <g id="node12" class="node">
170
+ <title>Exceptions/ReducerOverrideException.ts</title>
171
+ <path fill="none" stroke="#cfffac" d="M577.33,-492.11C577.33,-492.11 329.67,-492.11 329.67,-492.11 325.83,-492.11 322,-488.28 322,-484.44 322,-484.44 322,-476.78 322,-476.78 322,-472.94 325.83,-469.11 329.67,-469.11 329.67,-469.11 577.33,-469.11 577.33,-469.11 581.17,-469.11 585,-472.94 585,-476.78 585,-476.78 585,-484.44 585,-484.44 585,-488.28 581.17,-492.11 577.33,-492.11"/>
172
+ <text text-anchor="middle" x="453.5" y="-476.91" font-family="Arial" font-size="14.00" fill="#cfffac">Exceptions/ReducerOverrideException.ts</text>
173
+ </g>
174
+ <!-- Http/Client.ts -->
175
+ <g id="node13" class="node">
176
+ <title>Http/Client.ts</title>
177
+ <path fill="none" stroke="#c6c5fe" d="M231.83,-177.11C231.83,-177.11 153.17,-177.11 153.17,-177.11 149.33,-177.11 145.5,-173.28 145.5,-169.44 145.5,-169.44 145.5,-161.78 145.5,-161.78 145.5,-157.94 149.33,-154.11 153.17,-154.11 153.17,-154.11 231.83,-154.11 231.83,-154.11 235.67,-154.11 239.5,-157.94 239.5,-161.78 239.5,-161.78 239.5,-169.44 239.5,-169.44 239.5,-173.28 235.67,-177.11 231.83,-177.11"/>
178
+ <text text-anchor="middle" x="192.5" y="-161.91" font-family="Arial" font-size="14.00" fill="#c6c5fe">Http/Client.ts</text>
179
+ </g>
180
+ <!-- Http/Client.ts&#45;&gt;Obj.ts -->
181
+ <g id="edge13" class="edge">
182
+ <title>Http/Client.ts&#45;&gt;Obj.ts</title>
183
+ <path fill="none" stroke="#757575" d="M239.69,-164.65C313.31,-163.89 461.55,-165.51 585,-186.61 696.31,-205.64 823.08,-249 883.63,-271.11"/>
184
+ <polygon fill="#757575" stroke="#757575" points="882.52,-274.43 893.11,-274.59 884.94,-267.86 882.52,-274.43"/>
185
+ </g>
186
+ <!-- Http/Request.ts -->
187
+ <g id="node14" class="node">
188
+ <title>Http/Request.ts</title>
189
+ <path fill="none" stroke="#c6c5fe" d="M500.83,-219.11C500.83,-219.11 406.17,-219.11 406.17,-219.11 402.33,-219.11 398.5,-215.28 398.5,-211.44 398.5,-211.44 398.5,-203.78 398.5,-203.78 398.5,-199.94 402.33,-196.11 406.17,-196.11 406.17,-196.11 500.83,-196.11 500.83,-196.11 504.67,-196.11 508.5,-199.94 508.5,-203.78 508.5,-203.78 508.5,-211.44 508.5,-211.44 508.5,-215.28 504.67,-219.11 500.83,-219.11"/>
190
+ <text text-anchor="middle" x="453.5" y="-203.91" font-family="Arial" font-size="14.00" fill="#c6c5fe">Http/Request.ts</text>
191
+ </g>
192
+ <!-- Http/Client.ts&#45;&gt;Http/Request.ts -->
193
+ <g id="edge12" class="edge">
194
+ <title>Http/Client.ts&#45;&gt;Http/Request.ts</title>
195
+ <path fill="none" stroke="#757575" d="M239.51,-173.07C280.95,-179.79 342.27,-189.73 388.49,-197.23"/>
196
+ <polygon fill="#757575" stroke="#757575" points="387.98,-200.69 398.41,-198.84 389.1,-193.78 387.98,-200.69"/>
197
+ </g>
198
+ <!-- Http/Response.ts -->
199
+ <g id="node15" class="node">
200
+ <title>Http/Response.ts</title>
201
+ <path fill="none" stroke="#c6c5fe" d="M749.83,-277.11C749.83,-277.11 645.17,-277.11 645.17,-277.11 641.33,-277.11 637.5,-273.28 637.5,-269.44 637.5,-269.44 637.5,-261.78 637.5,-261.78 637.5,-257.94 641.33,-254.11 645.17,-254.11 645.17,-254.11 749.83,-254.11 749.83,-254.11 753.67,-254.11 757.5,-257.94 757.5,-261.78 757.5,-261.78 757.5,-269.44 757.5,-269.44 757.5,-273.28 753.67,-277.11 749.83,-277.11"/>
202
+ <text text-anchor="middle" x="697.5" y="-261.91" font-family="Arial" font-size="14.00" fill="#c6c5fe">Http/Response.ts</text>
203
+ </g>
204
+ <!-- Http/Request.ts&#45;&gt;Http/Response.ts -->
205
+ <g id="edge14" class="edge">
206
+ <title>Http/Request.ts&#45;&gt;Http/Response.ts</title>
207
+ <path fill="none" stroke="#757575" d="M508.69,-217.36C532.24,-221.87 560.08,-227.56 585,-233.61 606.35,-238.79 629.74,-245.36 649.57,-251.21"/>
208
+ <polygon fill="#757575" stroke="#757575" points="648.7,-254.6 659.28,-254.09 650.7,-247.89 648.7,-254.6"/>
209
+ </g>
210
+ <!-- Http/Response.ts&#45;&gt;Obj.ts -->
211
+ <g id="edge15" class="edge">
212
+ <title>Http/Response.ts&#45;&gt;Obj.ts</title>
213
+ <path fill="none" stroke="#757575" d="M757.72,-270.7C797.64,-274.13 849.03,-278.55 883.06,-281.48"/>
214
+ <polygon fill="#757575" stroke="#757575" points="883.2,-285 893.46,-282.37 883.8,-278.03 883.2,-285"/>
215
+ </g>
216
+ <!-- Http/Utils/isValidationError.ts -->
217
+ <g id="node16" class="node">
218
+ <title>Http/Utils/isValidationError.ts</title>
219
+ <path fill="none" stroke="#c6c5fe" d="M278.33,-257.11C278.33,-257.11 106.67,-257.11 106.67,-257.11 102.83,-257.11 99,-253.28 99,-249.44 99,-249.44 99,-241.78 99,-241.78 99,-237.94 102.83,-234.11 106.67,-234.11 106.67,-234.11 278.33,-234.11 278.33,-234.11 282.17,-234.11 286,-237.94 286,-241.78 286,-241.78 286,-249.44 286,-249.44 286,-253.28 282.17,-257.11 278.33,-257.11"/>
220
+ <text text-anchor="middle" x="192.5" y="-241.91" font-family="Arial" font-size="14.00" fill="#c6c5fe">Http/Utils/isValidationError.ts</text>
221
+ </g>
222
+ <!-- Http/Utils/isValidationError.ts&#45;&gt;Http/Response.ts -->
223
+ <g id="edge16" class="edge">
224
+ <title>Http/Utils/isValidationError.ts&#45;&gt;Http/Response.ts</title>
225
+ <path fill="none" stroke="#757575" d="M286.05,-249.29C384.58,-253.21 538.26,-259.32 626.96,-262.84"/>
226
+ <polygon fill="#757575" stroke="#757575" points="627.05,-266.35 637.18,-263.25 627.33,-259.36 627.05,-266.35"/>
227
+ </g>
228
+ <!-- Mixins/Macroable.ts -->
229
+ <g id="node17" class="node">
230
+ <title>Mixins/Macroable.ts</title>
231
+ <path fill="none" stroke="#c6c5fe" d="M514.33,-610.11C514.33,-610.11 392.67,-610.11 392.67,-610.11 388.83,-610.11 385,-606.28 385,-602.44 385,-602.44 385,-594.78 385,-594.78 385,-590.94 388.83,-587.11 392.67,-587.11 392.67,-587.11 514.33,-587.11 514.33,-587.11 518.17,-587.11 522,-590.94 522,-594.78 522,-594.78 522,-602.44 522,-602.44 522,-606.28 518.17,-610.11 514.33,-610.11"/>
232
+ <text text-anchor="middle" x="453.5" y="-594.91" font-family="Arial" font-size="14.00" fill="#c6c5fe">Mixins/Macroable.ts</text>
233
+ </g>
234
+ <!-- Mixins/Macroable.ts&#45;&gt;Js.ts -->
235
+ <g id="edge17" class="edge">
236
+ <title>Mixins/Macroable.ts&#45;&gt;Js.ts</title>
237
+ <path fill="none" stroke="#757575" d="M522.23,-598.61C566.9,-598.61 623.67,-598.61 660.05,-598.61"/>
238
+ <polygon fill="#757575" stroke="#757575" points="660.2,-602.11 670.2,-598.61 660.2,-595.11 660.2,-602.11"/>
239
+ </g>
240
+ <!-- Mixins/MakeFacade.ts -->
241
+ <g id="node18" class="node">
242
+ <title>Mixins/MakeFacade.ts</title>
243
+ <path fill="none" stroke="#c6c5fe" d="M260.83,-686.11C260.83,-686.11 124.17,-686.11 124.17,-686.11 120.33,-686.11 116.5,-682.28 116.5,-678.44 116.5,-678.44 116.5,-670.78 116.5,-670.78 116.5,-666.94 120.33,-663.11 124.17,-663.11 124.17,-663.11 260.83,-663.11 260.83,-663.11 264.67,-663.11 268.5,-666.94 268.5,-670.78 268.5,-670.78 268.5,-678.44 268.5,-678.44 268.5,-682.28 264.67,-686.11 260.83,-686.11"/>
244
+ <text text-anchor="middle" x="192.5" y="-670.91" font-family="Arial" font-size="14.00" fill="#c6c5fe">Mixins/MakeFacade.ts</text>
245
+ </g>
246
+ <!-- Mixins/MakeFacade.ts&#45;&gt;App/Application.ts -->
247
+ <g id="edge18" class="edge">
248
+ <title>Mixins/MakeFacade.ts&#45;&gt;App/Application.ts</title>
249
+ <path fill="none" stroke="#757575" d="M218.81,-686.14C265.42,-707.38 364.91,-752.7 417.78,-776.79"/>
250
+ <polygon fill="#757575" stroke="#757575" points="416.54,-780.07 427.09,-781.03 419.44,-773.7 416.54,-780.07"/>
251
+ </g>
252
+ <!-- Mixins/MakeFacade.ts&#45;&gt;Js.ts -->
253
+ <g id="edge19" class="edge">
254
+ <title>Mixins/MakeFacade.ts&#45;&gt;Js.ts</title>
255
+ <path fill="none" stroke="#757575" d="M268.8,-679.04C348.63,-681.75 477.75,-680.4 585,-652.61 615.61,-644.68 647.83,-628.05 669.72,-615.33"/>
256
+ <polygon fill="#757575" stroke="#757575" points="671.62,-618.27 678.43,-610.15 668.05,-612.25 671.62,-618.27"/>
257
+ </g>
258
+ <!-- Mixins/Reducible.ts -->
259
+ <g id="node19" class="node">
260
+ <title>Mixins/Reducible.ts</title>
261
+ <path fill="none" stroke="#c6c5fe" d="M251.83,-491.11C251.83,-491.11 133.17,-491.11 133.17,-491.11 129.33,-491.11 125.5,-487.28 125.5,-483.44 125.5,-483.44 125.5,-475.78 125.5,-475.78 125.5,-471.94 129.33,-468.11 133.17,-468.11 133.17,-468.11 251.83,-468.11 251.83,-468.11 255.67,-468.11 259.5,-471.94 259.5,-475.78 259.5,-475.78 259.5,-483.44 259.5,-483.44 259.5,-487.28 255.67,-491.11 251.83,-491.11"/>
262
+ <text text-anchor="middle" x="192.5" y="-475.91" font-family="Arial" font-size="14.00" fill="#c6c5fe">Mixins/Reducible.ts</text>
263
+ </g>
264
+ <!-- Mixins/Reducible.ts&#45;&gt;Collection.ts -->
265
+ <g id="edge20" class="edge">
266
+ <title>Mixins/Reducible.ts&#45;&gt;Collection.ts</title>
267
+ <path fill="none" stroke="#757575" d="M259.53,-469.41C302.5,-462.78 357.85,-454.23 398.25,-447.99"/>
268
+ <polygon fill="#757575" stroke="#757575" points="398.83,-451.44 408.18,-446.45 397.76,-444.52 398.83,-451.44"/>
269
+ </g>
270
+ <!-- Mixins/Reducible.ts&#45;&gt;Js.ts -->
271
+ <g id="edge22" class="edge">
272
+ <title>Mixins/Reducible.ts&#45;&gt;Js.ts</title>
273
+ <path fill="none" stroke="#757575" d="M242.19,-491.13C342.86,-514.95 571.92,-569.14 660.55,-590.1"/>
274
+ <polygon fill="#757575" stroke="#757575" points="659.86,-593.54 670.4,-592.43 661.47,-586.73 659.86,-593.54"/>
275
+ </g>
276
+ <!-- Mixins/Reducible.ts&#45;&gt;Exceptions/ReducerOverrideException.ts -->
277
+ <g id="edge21" class="edge">
278
+ <title>Mixins/Reducible.ts&#45;&gt;Exceptions/ReducerOverrideException.ts</title>
279
+ <path fill="none" stroke="#757575" d="M259.53,-479.86C275.65,-479.93 293.52,-480 311.68,-480.07"/>
280
+ <polygon fill="#757575" stroke="#757575" points="311.78,-483.57 321.8,-480.1 311.81,-476.57 311.78,-483.57"/>
281
+ </g>
282
+ <!-- PropertyBag.ts -->
283
+ <g id="node20" class="node">
284
+ <title>PropertyBag.ts</title>
285
+ <path fill="none" stroke="#c6c5fe" d="M742.83,-413.11C742.83,-413.11 652.17,-413.11 652.17,-413.11 648.33,-413.11 644.5,-409.28 644.5,-405.44 644.5,-405.44 644.5,-397.78 644.5,-397.78 644.5,-393.94 648.33,-390.11 652.17,-390.11 652.17,-390.11 742.83,-390.11 742.83,-390.11 746.67,-390.11 750.5,-393.94 750.5,-397.78 750.5,-397.78 750.5,-405.44 750.5,-405.44 750.5,-409.28 746.67,-413.11 742.83,-413.11"/>
286
+ <text text-anchor="middle" x="697.5" y="-397.91" font-family="Arial" font-size="14.00" fill="#c6c5fe">PropertyBag.ts</text>
287
+ </g>
288
+ <!-- PropertyBag.ts&#45;&gt;Contracts/EventSource.ts -->
289
+ <g id="edge23" class="edge">
290
+ <title>PropertyBag.ts&#45;&gt;Contracts/EventSource.ts</title>
291
+ <path fill="none" stroke="#757575" d="M750.85,-410.63C830.34,-424.34 981.95,-450.47 1074.02,-466.34"/>
292
+ <polygon fill="#757575" stroke="#757575" points="1073.66,-469.83 1084.11,-468.08 1074.85,-462.93 1073.66,-469.83"/>
293
+ </g>
294
+ <!-- PropertyBag.ts&#45;&gt;Obj.ts -->
295
+ <g id="edge24" class="edge">
296
+ <title>PropertyBag.ts&#45;&gt;Obj.ts</title>
297
+ <path fill="none" stroke="#757575" d="M720.5,-389.96C760.05,-369.03 843.24,-324.98 888.53,-301"/>
298
+ <polygon fill="#757575" stroke="#757575" points="890.39,-303.98 897.59,-296.21 887.12,-297.79 890.39,-303.98"/>
299
+ </g>
300
+ <!-- index.ts -->
301
+ <g id="node22" class="node">
302
+ <title>index.ts</title>
303
+ <path fill="none" stroke="#c6c5fe" d="M55.33,-451.11C55.33,-451.11 7.67,-451.11 7.67,-451.11 3.83,-451.11 0,-447.28 0,-443.44 0,-443.44 0,-435.78 0,-435.78 0,-431.94 3.83,-428.11 7.67,-428.11 7.67,-428.11 55.33,-428.11 55.33,-428.11 59.17,-428.11 63,-431.94 63,-435.78 63,-435.78 63,-443.44 63,-443.44 63,-447.28 59.17,-451.11 55.33,-451.11"/>
304
+ <text text-anchor="middle" x="31.5" y="-435.91" font-family="Arial" font-size="14.00" fill="#c6c5fe">index.ts</text>
305
+ </g>
306
+ <!-- index.ts&#45;&gt;App/Application.ts -->
307
+ <g id="edge27" class="edge">
308
+ <title>index.ts&#45;&gt;App/Application.ts</title>
309
+ <path fill="none" stroke="#757575" d="M33.06,-451.29C35.85,-504.56 50.19,-723.64 99,-766.61 182.33,-839.96 323.76,-822.84 400.02,-806.34"/>
310
+ <polygon fill="#757575" stroke="#757575" points="400.9,-809.73 409.89,-804.13 399.37,-802.9 400.9,-809.73"/>
311
+ </g>
312
+ <!-- index.ts&#45;&gt;App/Interfaces.ts -->
313
+ <g id="edge28" class="edge">
314
+ <title>index.ts&#45;&gt;App/Interfaces.ts</title>
315
+ <path fill="none" stroke="#757575" d="M33.71,-451.17C38.75,-496.85 59.66,-663.74 99,-695.61 128.02,-719.12 659.14,-728.93 851.05,-731.72"/>
316
+ <polygon fill="#757575" stroke="#757575" points="851.24,-735.22 861.29,-731.86 851.34,-728.22 851.24,-735.22"/>
317
+ </g>
318
+ <!-- index.ts&#45;&gt;App/ServiceProvider.ts -->
319
+ <g id="edge29" class="edge">
320
+ <title>index.ts&#45;&gt;App/ServiceProvider.ts</title>
321
+ <path fill="none" stroke="#757575" d="M33.35,-451.28C37.23,-500.73 54.91,-692.05 99,-728.61 137.39,-760.45 454.79,-758.01 610.71,-754.82"/>
322
+ <polygon fill="#757575" stroke="#757575" points="610.82,-758.32 620.74,-754.61 610.67,-751.32 610.82,-758.32"/>
323
+ </g>
324
+ <!-- index.ts&#45;&gt;Contracts/EventSource.ts -->
325
+ <g id="edge32" class="edge">
326
+ <title>index.ts&#45;&gt;Contracts/EventSource.ts</title>
327
+ <path fill="none" stroke="#757575" d="M63.32,-428.26C74.45,-424.46 87.18,-420.48 99,-417.61 253.58,-380.06 293.43,-361.61 452.5,-361.61 452.5,-361.61 452.5,-361.61 698.5,-361.61 848.36,-361.61 888.84,-370.2 1031,-417.61 1064.78,-428.87 1100.7,-448.59 1124.35,-462.77"/>
328
+ <polygon fill="#757575" stroke="#757575" points="1122.72,-465.87 1133.08,-468.09 1126.36,-459.89 1122.72,-465.87"/>
329
+ </g>
330
+ <!-- index.ts&#45;&gt;reader.ts -->
331
+ <g id="edge45" class="edge">
332
+ <title>index.ts&#45;&gt;reader.ts</title>
333
+ <path fill="none" stroke="#757575" d="M32.8,-451.15C34.53,-508 45.13,-757.57 99,-807.61 255.4,-952.89 543.58,-906.15 652.9,-881.56"/>
334
+ <polygon fill="#757575" stroke="#757575" points="653.95,-884.91 662.91,-879.25 652.38,-878.09 653.95,-884.91"/>
335
+ </g>
336
+ <!-- index.ts&#45;&gt;Arr.ts -->
337
+ <g id="edge30" class="edge">
338
+ <title>index.ts&#45;&gt;Arr.ts</title>
339
+ <path fill="none" stroke="#757575" d="M41.08,-451.34C52.46,-465.86 74.07,-489.98 99,-500.61 296.46,-584.77 564.16,-557.88 660.28,-544.33"/>
340
+ <polygon fill="#757575" stroke="#757575" points="660.96,-547.77 670.35,-542.87 659.96,-540.85 660.96,-547.77"/>
341
+ </g>
342
+ <!-- index.ts&#45;&gt;Collection.ts -->
343
+ <g id="edge31" class="edge">
344
+ <title>index.ts&#45;&gt;Collection.ts</title>
345
+ <path fill="none" stroke="#757575" d="M63.04,-439.61C133.59,-439.61 308.63,-439.61 398.05,-439.61"/>
346
+ <polygon fill="#757575" stroke="#757575" points="398.25,-443.11 408.25,-439.61 398.25,-436.11 398.25,-443.11"/>
347
+ </g>
348
+ <!-- index.ts&#45;&gt;Js.ts -->
349
+ <g id="edge37" class="edge">
350
+ <title>index.ts&#45;&gt;Js.ts</title>
351
+ <path fill="none" stroke="#757575" d="M32.98,-451.25C35,-482.99 45.4,-571.24 99,-609.61 125.67,-628.7 578.4,-620.23 585,-619.61 610.4,-617.24 638.63,-611.89 660.33,-607.19"/>
352
+ <polygon fill="#757575" stroke="#757575" points="661.11,-610.6 670.11,-605.02 659.59,-603.77 661.11,-610.6"/>
353
+ </g>
354
+ <!-- index.ts&#45;&gt;Obj.ts -->
355
+ <g id="edge41" class="edge">
356
+ <title>index.ts&#45;&gt;Obj.ts</title>
357
+ <path fill="none" stroke="#757575" d="M36.97,-428.07C45.53,-407.73 66.33,-365.91 99,-347.61 168.15,-308.86 734.01,-289.95 883.43,-285.6"/>
358
+ <polygon fill="#757575" stroke="#757575" points="883.56,-289.1 893.46,-285.31 883.36,-282.1 883.56,-289.1"/>
359
+ </g>
360
+ <!-- index.ts&#45;&gt;Query.ts -->
361
+ <g id="edge43" class="edge">
362
+ <title>index.ts&#45;&gt;Query.ts</title>
363
+ <path fill="none" stroke="#757575" d="M33.28,-428.02C36.89,-378.05 53.81,-181.82 99,-144.61 182.98,-75.47 530.1,-108.17 653.07,-122.28"/>
364
+ <polygon fill="#757575" stroke="#757575" points="652.91,-125.78 663.24,-123.46 653.71,-118.83 652.91,-125.78"/>
365
+ </g>
366
+ <!-- index.ts&#45;&gt;Http/Client.ts -->
367
+ <g id="edge33" class="edge">
368
+ <title>index.ts&#45;&gt;Http/Client.ts</title>
369
+ <path fill="none" stroke="#757575" d="M31.9,-428.08C30.51,-388.97 31.48,-259.94 99,-191.61 108.81,-181.68 122.09,-175.46 135.53,-171.59"/>
370
+ <polygon fill="#757575" stroke="#757575" points="136.43,-174.98 145.29,-169.17 134.74,-168.18 136.43,-174.98"/>
371
+ </g>
372
+ <!-- index.ts&#45;&gt;Http/Request.ts -->
373
+ <g id="edge34" class="edge">
374
+ <title>index.ts&#45;&gt;Http/Request.ts</title>
375
+ <path fill="none" stroke="#757575" d="M31.94,-428.03C30.86,-391.12 33.07,-275.72 99,-224.61 142.6,-190.81 298.98,-196.06 388.46,-202.21"/>
376
+ <polygon fill="#757575" stroke="#757575" points="388.27,-205.71 398.5,-202.93 388.77,-198.73 388.27,-205.71"/>
377
+ </g>
378
+ <!-- index.ts&#45;&gt;Http/Response.ts -->
379
+ <g id="edge35" class="edge">
380
+ <title>index.ts&#45;&gt;Http/Response.ts</title>
381
+ <path fill="none" stroke="#757575" d="M34.51,-428.09C39.76,-401.85 56.54,-337.78 99,-309.61 120.71,-295.21 474.56,-276.39 627.25,-268.9"/>
382
+ <polygon fill="#757575" stroke="#757575" points="627.63,-272.38 637.45,-268.4 627.29,-265.39 627.63,-272.38"/>
383
+ </g>
384
+ <!-- index.ts&#45;&gt;Http/Utils/isValidationError.ts -->
385
+ <g id="edge36" class="edge">
386
+ <title>index.ts&#45;&gt;Http/Utils/isValidationError.ts</title>
387
+ <path fill="none" stroke="#757575" d="M33.63,-427.84C37.2,-397.3 51.02,-314.89 99,-271.61 103.36,-267.67 108.28,-264.33 113.51,-261.48"/>
388
+ <polygon fill="#757575" stroke="#757575" points="115.06,-264.63 122.57,-257.16 112.04,-258.31 115.06,-264.63"/>
389
+ </g>
390
+ <!-- index.ts&#45;&gt;Mixins/Macroable.ts -->
391
+ <g id="edge38" class="edge">
392
+ <title>index.ts&#45;&gt;Mixins/Macroable.ts</title>
393
+ <path fill="none" stroke="#757575" d="M34.42,-451.39C39.48,-478.21 55.89,-543.73 99,-572.61 185.36,-630.47 311.66,-623.29 387.59,-611.72"/>
394
+ <polygon fill="#757575" stroke="#757575" points="388.18,-615.17 397.51,-610.14 387.08,-608.25 388.18,-615.17"/>
395
+ </g>
396
+ <!-- index.ts&#45;&gt;Mixins/MakeFacade.ts -->
397
+ <g id="edge39" class="edge">
398
+ <title>index.ts&#45;&gt;Mixins/MakeFacade.ts</title>
399
+ <path fill="none" stroke="#757575" d="M32.58,-451.29C33.48,-486.5 41.09,-592.64 99,-648.61 102.97,-652.45 107.47,-655.73 112.28,-658.53"/>
400
+ <polygon fill="#757575" stroke="#757575" points="110.74,-661.68 121.24,-663.08 113.91,-655.44 110.74,-661.68"/>
401
+ </g>
402
+ <!-- index.ts&#45;&gt;Mixins/Reducible.ts -->
403
+ <g id="edge40" class="edge">
404
+ <title>index.ts&#45;&gt;Mixins/Reducible.ts</title>
405
+ <path fill="none" stroke="#757575" d="M63.16,-447.32C83.7,-452.49 111.34,-459.44 135.72,-465.58"/>
406
+ <polygon fill="#757575" stroke="#757575" points="135.03,-469.01 145.58,-468.06 136.73,-462.22 135.03,-469.01"/>
407
+ </g>
408
+ <!-- index.ts&#45;&gt;PropertyBag.ts -->
409
+ <g id="edge42" class="edge">
410
+ <title>index.ts&#45;&gt;PropertyBag.ts</title>
411
+ <path fill="none" stroke="#757575" d="M63.34,-437.27C116.23,-433.29 227.7,-425.13 322,-419.61 431.85,-413.18 559.93,-407.39 634.26,-404.2"/>
412
+ <polygon fill="#757575" stroke="#757575" points="634.54,-407.69 644.38,-403.77 634.24,-400.7 634.54,-407.69"/>
413
+ </g>
414
+ <!-- index.ts&#45;&gt;Str.ts -->
415
+ <g id="edge44" class="edge">
416
+ <title>index.ts&#45;&gt;Str.ts</title>
417
+ <path fill="none" stroke="#757575" d="M32.9,-427.82C35.05,-373.06 47.04,-144.35 99,-101.61 337.08,94.19 758.91,-45.31 883.75,-93.16"/>
418
+ <polygon fill="#757575" stroke="#757575" points="882.64,-96.48 893.23,-96.84 885.17,-89.96 882.64,-96.48"/>
419
+ </g>
420
+ </g>
421
+ </svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luminix/support",
3
- "version": "0.0.1-beta.6",
3
+ "version": "0.0.1-beta.7",
4
4
  "module": "dist/support.js",
5
5
  "types": "types/index.d.ts",
6
6
  "type": "module",
@@ -0,0 +1,23 @@
1
+ import { default as EventSource } from '../Contracts/EventSource';
2
+ import { ApplicationEvents, ServiceLoader } from './Interfaces';
3
+ import { default as ServiceProvider } from './ServiceProvider';
4
+ export default class Application<TContainers extends Record<string, any> = Record<string, any>> extends EventSource<ApplicationEvents> {
5
+ protected providers: (typeof ServiceProvider)[];
6
+ protected _configuration: Record<string, any>;
7
+ protected singletons: Record<string, any>;
8
+ protected loaders: Record<string, ServiceLoader>;
9
+ constructor(providers?: (typeof ServiceProvider)[]);
10
+ get services(): Record<string, ServiceLoader>;
11
+ get configuration(): Record<string, any>;
12
+ loadConfiguration(): void;
13
+ bind<K extends keyof TContainers>(abstract: K, concrete: () => TContainers[K]): void;
14
+ singleton<K extends keyof TContainers>(abstract: K, concrete: () => TContainers[K]): void;
15
+ make<K extends keyof TContainers & string>(abstract: K): TContainers[K];
16
+ withConfiguration(configuration: Record<string, any>): this;
17
+ withProviders(providers: (typeof ServiceProvider)[]): this;
18
+ create(): void;
19
+ flush(): void;
20
+ dump(): void;
21
+ dump($return: true): Object;
22
+ dump($return: false | string): void;
23
+ }
@@ -0,0 +1,35 @@
1
+ import { default as EventSource } from '../Contracts/EventSource';
2
+ export type ApplicationEvents = {
3
+ init: (providers: ServiceProviderInterface[]) => void;
4
+ booting: () => void;
5
+ booted: () => void;
6
+ flushed: () => void;
7
+ flushing: () => void;
8
+ ready: () => void;
9
+ };
10
+ export declare class ApplicationInterface<TContainers extends Record<string, any> = Record<string, any>> extends EventSource<ApplicationEvents> {
11
+ get services(): Record<string, ServiceLoader>;
12
+ get configuration(): Record<string, any>;
13
+ loadConfiguration(): void;
14
+ bind<K extends keyof TContainers>(abstract: K, concrete: () => TContainers[K]): void;
15
+ singleton<K extends keyof TContainers>(abstract: K, concrete: () => TContainers[K]): void;
16
+ make<K extends keyof TContainers & string>(abstract: K): TContainers[K];
17
+ withConfiguration(configuration: Record<string, any>): this;
18
+ withProviders(providers: (typeof ServiceProviderInterface)[]): this;
19
+ create(): void;
20
+ flush(): void;
21
+ dump(): void;
22
+ dump($return: true): Object;
23
+ dump($return: false | string): void;
24
+ }
25
+ export interface ServiceLoader {
26
+ loader: () => any;
27
+ singleton?: boolean;
28
+ }
29
+ declare class ServiceProviderInterface {
30
+ constructor(app: ApplicationInterface);
31
+ boot?(): void;
32
+ register?(): void;
33
+ flush?(): void;
34
+ }
35
+ export {};
@@ -0,0 +1,8 @@
1
+ import { ApplicationInterface } from './Interfaces';
2
+ export default class ServiceProvider {
3
+ protected app: ApplicationInterface;
4
+ constructor(app: ApplicationInterface);
5
+ boot?(): void;
6
+ register?(): void;
7
+ flush?(): void;
8
+ }
@@ -0,0 +1,4 @@
1
+ export default class NoEmbedException extends Error {
2
+ [Symbol.toStringTag]: string;
3
+ constructor();
4
+ }
@@ -0,0 +1,8 @@
1
+ import { default as Response } from '../Response';
2
+ export type ValidationError = {
3
+ message: string;
4
+ errors: {
5
+ [key: string]: string[];
6
+ };
7
+ };
8
+ export default function isValidationError(response: unknown): response is Response<ValidationError>;
package/types/Js.d.ts CHANGED
@@ -1,2 +1,6 @@
1
- export type Constructor<T = {}> = new (...args: any[]) => T;
1
+ export type Constructor<TInstance = {}, TArgs extends Array<any> = any[]> = new (...args: TArgs) => TInstance;
2
2
  export type TypeOf = 'string' | 'number' | 'boolean' | 'object' | 'undefined' | 'function' | 'symbol' | 'bigint';
3
+ export type JsonObject = {
4
+ [key: string]: JsonValue;
5
+ };
6
+ export type JsonValue = string | number | boolean | null | JsonObject | Array<string | number | boolean | null | JsonObject>;
@@ -0,0 +1,7 @@
1
+ import { default as Application } from '../App/Application';
2
+ import { Constructor } from '../Js';
3
+ export type HasFacadeAccessor = {
4
+ getFacadeAccessor(): string | object;
5
+ };
6
+ export type FacadeOf<TService extends object, TBase extends HasFacadeAccessor> = TBase & TService;
7
+ export default function MakeFacade<TService extends object, TBase extends HasFacadeAccessor>(Base: Constructor<HasFacadeAccessor, []>, app?: Application): FacadeOf<TService, TBase>;
package/types/index.d.ts CHANGED
@@ -1,16 +1,26 @@
1
+ import { default as Application } from './App/Application';
2
+ import { default as Client } from './Http/Client';
1
3
  import { default as Collection } from './Collection';
2
4
  import { default as EventSource } from './Contracts/EventSource';
3
- import { default as Http, Response, Client, Request } from './Http';
5
+ import { default as MakeFacade } from './Mixins/MakeFacade';
4
6
  import { default as PropertyBag } from './PropertyBag';
7
+ import { default as reader } from './reader';
5
8
  import { default as Reducible } from './Mixins/Reducible';
9
+ import { default as Request } from './Http/Request';
10
+ import { default as Response } from './Http/Response';
6
11
  import { default as Macroable } from './Mixins/Macroable';
12
+ import { default as ServiceProvider } from './App/ServiceProvider';
13
+ import { default as isValidationError } from './Http/Utils/isValidationError';
7
14
  import * as Arr from './Arr';
8
15
  import * as Obj from './Obj';
9
16
  import * as Query from './Query';
10
17
  import * as Str from './Str';
18
+ export type { ApplicationInterface, ApplicationEvents } from './App/Interfaces';
11
19
  export type { Event } from './Contracts/EventSource';
12
- export type { ReducibleInterface } from './Mixins/Reducible';
20
+ export type { MacroableOf, MacroableInterface } from './Mixins/Macroable';
21
+ export type { HasFacadeAccessor, FacadeOf } from './Mixins/MakeFacade';
22
+ export type { ReducibleInterface, ReducibleOf } from './Mixins/Reducible';
13
23
  export type { PropertyBagEventMap } from './PropertyBag';
14
- export type { Constructor } from './Js';
24
+ export type { Constructor, TypeOf, JsonObject, JsonValue } from './Js';
15
25
  export type { RequestOptions } from './Http/Client';
16
- export { Arr, Client, Collection, EventSource, Http, PropertyBag, Reducible, Request, Response, Macroable, Obj, Query, Str, };
26
+ export { Application, Arr, Client, Collection, EventSource, isValidationError, Macroable, MakeFacade, Obj, PropertyBag, reader, Reducible, Request, Response, ServiceProvider, Query, Str, };
@@ -0,0 +1,2 @@
1
+ declare const reader: (name: string, type?: "data" | "error") => any;
2
+ export default reader;
@@ -1,6 +0,0 @@
1
- export default class ServiceContainer<TServices extends Map<string, any> = Map<string, any>> {
2
- private services;
3
- bind<K extends keyof TServices>(abstract: K, concrete: () => TServices[K]): void;
4
- singleton<K extends keyof TServices>(abstract: K, concrete: TServices[K]): void;
5
- get(serviceName: string): any;
6
- }
File without changes
@@ -1,26 +0,0 @@
1
- import { default as Client, RequestOptions } from './Client';
2
- import { default as Response } from './Response';
3
- import { default as Request } from './Request';
4
- declare class HttpStatic {
5
- get Client(): typeof Client;
6
- get Response(): typeof Response;
7
- get Request(): typeof Request;
8
- getClient(): Client;
9
- baseUrl(baseUrl: string): Client;
10
- asForm(): Client;
11
- accept(type: string): Client;
12
- acceptJson(): Client;
13
- withHeaders(headers: Record<string, string>): Client;
14
- withOptions(options: RequestOptions): Client;
15
- withQueryParameters(params: string | object): Client;
16
- withBasicAuth(username: string, password: string): Client;
17
- withToken(token: string): Client;
18
- get<TResponse = any>(url: string, query?: string | object): Request<TResponse, any>;
19
- post<TResponse = any, TData = any>(url: string, data?: TData): Request<TResponse, TData>;
20
- put<TResponse = any, TData = any>(url: string, data?: TData): Request<TResponse, TData>;
21
- patch<TResponse = any, TData = any>(url: string, data?: TData): Request<TResponse, TData>;
22
- delete<TResponse = any>(url: string, query?: string | object): Request<TResponse, any>;
23
- }
24
- declare const Http: HttpStatic & Record<string, () => Client> & import('../Mixins/Macroable').MacroableInterface<Record<string, () => Client>>;
25
- export { Client, Response, Request, };
26
- export default Http;
@@ -1,2 +0,0 @@
1
- export default class ApplicationService {
2
- }