@zenflux/core 0.0.1-dev.2 → 0.1.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 (121) hide show
  1. package/package.json +30 -48
  2. package/src/bases/controller-base.ts +96 -0
  3. package/src/bases/index.ts +2 -0
  4. package/src/bases/object-base.ts +83 -0
  5. package/src/clients/http.ts +48 -37
  6. package/src/command-bases/command-base.ts +35 -37
  7. package/src/command-bases/command-internal.ts +5 -7
  8. package/src/command-bases/command-public.ts +5 -6
  9. package/src/command-bases/command-restful.ts +55 -0
  10. package/src/command-bases/index.ts +5 -5
  11. package/src/errors/command-already-registered.ts +6 -5
  12. package/src/errors/command-not-found.ts +6 -4
  13. package/src/errors/controller-already-registered.ts +6 -5
  14. package/src/errors/controller-already-set.ts +8 -5
  15. package/src/errors/force-method-implementation.ts +23 -0
  16. package/src/errors/index-public.ts +1 -0
  17. package/src/errors/index.ts +5 -5
  18. package/src/exports-index.ts +13 -0
  19. package/src/exports.ts +67 -9
  20. package/src/index.ts +12 -3
  21. package/src/interfaces/commands.ts +3 -3
  22. package/src/interfaces/config.ts +10 -3
  23. package/src/interfaces/index.ts +5 -6
  24. package/src/interfaces/logger.ts +18 -0
  25. package/src/interfaces/{data.ts → restful.ts} +10 -10
  26. package/src/{manager-bases → managers}/commands.ts +52 -61
  27. package/src/managers/controllers.ts +40 -0
  28. package/src/managers/export.ts +30 -0
  29. package/src/managers/index.ts +5 -28
  30. package/src/managers/internal.ts +11 -0
  31. package/src/{manager-bases/data.ts → managers/restful.ts} +25 -24
  32. package/LICENSE +0 -21
  33. package/README.md +0 -2
  34. package/dist/es/clients/http.d.ts +0 -31
  35. package/dist/es/clients/http.d.ts.map +0 -1
  36. package/dist/es/command-bases/command-base.d.ts +0 -27
  37. package/dist/es/command-bases/command-base.d.ts.map +0 -1
  38. package/dist/es/command-bases/command-data.d.ts +0 -18
  39. package/dist/es/command-bases/command-data.d.ts.map +0 -1
  40. package/dist/es/command-bases/command-internal.d.ts +0 -10
  41. package/dist/es/command-bases/command-internal.d.ts.map +0 -1
  42. package/dist/es/command-bases/command-public.d.ts +0 -10
  43. package/dist/es/command-bases/command-public.d.ts.map +0 -1
  44. package/dist/es/command-bases/index.d.ts +0 -8
  45. package/dist/es/command-bases/index.d.ts.map +0 -1
  46. package/dist/es/core/controller.d.ts +0 -36
  47. package/dist/es/core/controller.d.ts.map +0 -1
  48. package/dist/es/core/index.d.ts +0 -3
  49. package/dist/es/core/index.d.ts.map +0 -1
  50. package/dist/es/core/object-base.d.ts +0 -15
  51. package/dist/es/core/object-base.d.ts.map +0 -1
  52. package/dist/es/errors/command-already-registered.d.ts +0 -9
  53. package/dist/es/errors/command-already-registered.d.ts.map +0 -1
  54. package/dist/es/errors/command-not-found.d.ts +0 -8
  55. package/dist/es/errors/command-not-found.d.ts.map +0 -1
  56. package/dist/es/errors/controller-already-registered.d.ts +0 -9
  57. package/dist/es/errors/controller-already-registered.d.ts.map +0 -1
  58. package/dist/es/errors/controller-already-set.d.ts +0 -8
  59. package/dist/es/errors/controller-already-set.d.ts.map +0 -1
  60. package/dist/es/errors/force-method.d.ts +0 -12
  61. package/dist/es/errors/force-method.d.ts.map +0 -1
  62. package/dist/es/errors/index.d.ts +0 -6
  63. package/dist/es/errors/index.d.ts.map +0 -1
  64. package/dist/es/exports.d.ts +0 -12
  65. package/dist/es/exports.d.ts.map +0 -1
  66. package/dist/es/index.d.ts +0 -6
  67. package/dist/es/index.d.ts.map +0 -1
  68. package/dist/es/initializer.d.ts +0 -22
  69. package/dist/es/initializer.d.ts.map +0 -1
  70. package/dist/es/interfaces/commands.d.ts +0 -14
  71. package/dist/es/interfaces/commands.d.ts.map +0 -1
  72. package/dist/es/interfaces/config.d.ts +0 -15
  73. package/dist/es/interfaces/config.d.ts.map +0 -1
  74. package/dist/es/interfaces/data.d.ts +0 -19
  75. package/dist/es/interfaces/data.d.ts.map +0 -1
  76. package/dist/es/interfaces/index.d.ts +0 -9
  77. package/dist/es/interfaces/index.d.ts.map +0 -1
  78. package/dist/es/interfaces/managers.d.ts +0 -14
  79. package/dist/es/interfaces/managers.d.ts.map +0 -1
  80. package/dist/es/interfaces/object-base.d.ts +0 -11
  81. package/dist/es/interfaces/object-base.d.ts.map +0 -1
  82. package/dist/es/manager-bases/commands.d.ts +0 -76
  83. package/dist/es/manager-bases/commands.d.ts.map +0 -1
  84. package/dist/es/manager-bases/controllers.d.ts +0 -19
  85. package/dist/es/manager-bases/controllers.d.ts.map +0 -1
  86. package/dist/es/manager-bases/data.d.ts +0 -26
  87. package/dist/es/manager-bases/data.d.ts.map +0 -1
  88. package/dist/es/manager-bases/index.d.ts +0 -8
  89. package/dist/es/manager-bases/index.d.ts.map +0 -1
  90. package/dist/es/manager-bases/internal.d.ts +0 -10
  91. package/dist/es/manager-bases/internal.d.ts.map +0 -1
  92. package/dist/es/managers/index.d.ts +0 -16
  93. package/dist/es/managers/index.d.ts.map +0 -1
  94. package/dist/es/modules/index.d.ts +0 -2
  95. package/dist/es/modules/index.d.ts.map +0 -1
  96. package/dist/es/modules/logger.d.ts +0 -118
  97. package/dist/es/modules/logger.d.ts.map +0 -1
  98. package/dist/es/utils/index.d.ts +0 -3
  99. package/dist/es/utils/index.d.ts.map +0 -1
  100. package/dist/es/utils/object.d.ts +0 -7
  101. package/dist/es/utils/object.d.ts.map +0 -1
  102. package/dist/es/utils/rgb.d.ts +0 -7
  103. package/dist/es/utils/rgb.d.ts.map +0 -1
  104. package/dist/es/zenflux-core.js +0 -2235
  105. package/src/command-bases/command-data.ts +0 -54
  106. package/src/core/controller.ts +0 -61
  107. package/src/core/index.ts +0 -2
  108. package/src/core/object-base.ts +0 -46
  109. package/src/errors/force-method.ts +0 -22
  110. package/src/initializer.ts +0 -56
  111. package/src/interfaces/managers.ts +0 -16
  112. package/src/interfaces/object-base.ts +0 -12
  113. package/src/manager-bases/controllers.ts +0 -37
  114. package/src/manager-bases/index.ts +0 -7
  115. package/src/manager-bases/internal.ts +0 -13
  116. package/src/modules/index.ts +0 -1
  117. package/src/modules/logger.ts +0 -459
  118. package/src/utils/index.ts +0 -2
  119. package/src/utils/object.ts +0 -18
  120. package/src/utils/rgb.ts +0 -33
  121. package/types/index.d.ts +0 -6
@@ -1,459 +0,0 @@
1
- /**
2
- * @author: Leonid Vinikov <leonidvinikov@gmail.com>
3
- * @description: Module for logging instances.
4
- * @TODO:
5
- * - Remove `@ts-ignore`, requires a refactor.
6
- * - Add night/white mode.
7
- */
8
- import { hexColorDelta, getCircularReplacer } from "../utils";
9
-
10
- // TODO: Should by dynamic/configure-able.
11
- const MAX_WRAPPING_RECURSIVE_DEPTH = 4,
12
- STACK_BACKWARD_CALLER_INDEX = 3,
13
- UNKNOWN_CALLER_NAME = 'anonymous function',
14
- BABEL_EXCLUDE_FUNCTIONS_NAMES = [
15
- '_callee',
16
- 'tryCatch',
17
- '<anonymous>',
18
- 'Generator.next',
19
- 'asyncGeneratorStep',
20
- '_next',
21
- ];
22
-
23
- // TODO: Should by dynamic/configure-able.
24
- Error.stackTraceLimit = 50;
25
-
26
- export class Logger {
27
- static wrappers = {};
28
- static wrapperDepth = 0;
29
- static sharedData: { [ key: string ]: string } = {};
30
- static colorsInUse: string[] = [];
31
-
32
- public defaultStyle: string[];
33
-
34
- private color: string;
35
-
36
- private outputHandler: Function;
37
-
38
- private args = {};
39
-
40
- private readonly name: string;
41
-
42
- private readonly state: boolean = false;
43
-
44
- static getName() {
45
- return 'Core/Modules/Logger';
46
- }
47
-
48
- /**
49
- * Function reset() : Reset logger globals.
50
- */
51
- public static reset() {
52
- Logger.wrappers = {};
53
- Logger.wrapperDepth = 0;
54
- Logger.colorsInUse = [];
55
- Logger.sharedData = {};
56
- }
57
-
58
- /**
59
- * Function createCustomWrapper() : Creates custom wrapper for log entities.
60
- */
61
- public static createCustomWrapper( classType: any, callback: Function ) {
62
- // @ts-ignore
63
- if ( ! Logger.wrappers[ classType ] ) {
64
- // @ts-ignore
65
- Logger.wrappers[ classType.name ] = [];
66
- }
67
- // @ts-ignore
68
- Logger.wrappers[ classType.name ].push( { classType, callback } );
69
- }
70
-
71
- /**
72
- * Function getCallerName() : Return caller name.
73
- */
74
- private static getCallerName() {
75
- const error = new Error(),
76
- errorsPerLine = error.stack?.split( "\n" ) || [],
77
- caller = errorsPerLine.length ? errorsPerLine[ STACK_BACKWARD_CALLER_INDEX ].trim() : UNKNOWN_CALLER_NAME;
78
-
79
- if ( caller.startsWith( "at new" ) ) {
80
- return "constructor";
81
- }
82
-
83
- let extractName = caller.split( "." )[ 1 ].split( " " )[ 0 ],
84
- isBabelAsyncRuntime = false;
85
-
86
- // Babel compatibility.
87
- if ( extractName.includes( '_callee' ) ) {
88
-
89
- // Run till find reliable function name.
90
- for ( let i = STACK_BACKWARD_CALLER_INDEX; i < errorsPerLine.length; i++ ) {
91
- const line = errorsPerLine[ i ];
92
-
93
- const isExcluded = BABEL_EXCLUDE_FUNCTIONS_NAMES.some( ( excludeName ) => {
94
- return line.includes( excludeName );
95
- } );
96
-
97
- if ( ! isExcluded ) {
98
- const format = line.trim().split(' ');
99
-
100
- if ( format.length <= 2 ) {
101
- continue;
102
- }
103
-
104
- extractName = format[ 1 ].split( "." )[ 1 ];
105
- isBabelAsyncRuntime = true;
106
- break;
107
- }
108
- }
109
-
110
- if ( ! isBabelAsyncRuntime ) {
111
- extractName = UNKNOWN_CALLER_NAME;
112
- }
113
-
114
- }
115
-
116
- return extractName;
117
- }
118
-
119
- /**
120
- * Function functionView() : Return function preview.
121
- */
122
- private static getFunctionView( fn: string | Function ): ( string | Function ) {
123
- let fReturn = UNKNOWN_CALLER_NAME;
124
-
125
- // TODO: Check if works.
126
- if ( typeof fn !== "string" && fn.name.length !== 0 ) {
127
- fReturn = fn.name.split( " " )[ 1 ] + "()";
128
- }
129
-
130
- return fReturn;
131
- }
132
-
133
- /**
134
- * Function constructor() : Create logger class.
135
- */
136
- constructor( owner: any, isActive = false, args = {} ) {
137
- if ( 'off' === globalThis.process?.env[ 'flow_modules_logger' ] ) {
138
- return;
139
- }
140
-
141
- this.state = isActive;
142
- this.args = args;
143
- this.name = "";
144
-
145
- if ( typeof owner == "string" ) {
146
- this.name = owner;
147
- } else {
148
- this.name = owner.constructor.name;
149
- }
150
-
151
- if ( isActive ) {
152
- this.initialize();
153
- }
154
- }
155
-
156
- /**
157
- * Function initialize() : Initialize logger class.
158
- */
159
- initialize() {
160
- // @ts-ignore
161
- if ( this.args.sameColor ) {
162
- if ( ! Logger.sharedData[ this.name ] ) {
163
- Logger.sharedData[ this.name ] = this.getRandomColor();
164
- }
165
-
166
- this.color = Logger.sharedData[ this.name ];
167
- } else {
168
- this.color = this.getRandomColor();
169
-
170
- Logger.colorsInUse.push( this.color );
171
- }
172
-
173
- this.outputHandler = console.log
174
-
175
- this.defaultStyle = [
176
- "color: grey;font-size:7px",
177
- "display: block",
178
- `color: ${ this.color }`,
179
- "color: grey",
180
- "font-weight: bold",
181
- "color: #607D8B",
182
- "font-size: 16px;color: red;font-weight:800",
183
- ];
184
- }
185
-
186
- /**
187
- * Function setOutputHandler() : Set custom output handler.
188
- */
189
- setOutputHandler( outputHandler: Function ) {
190
- this.outputHandler = outputHandler;
191
- }
192
-
193
- /**
194
- * Function useWrapper() : Search for customized log view, each instance,
195
- * that typeof the instance was registered wrapper will have unique output
196
- * according to the registered callback.
197
- */
198
- useWrapper( obj: any, shouldHandleChildren = true ) {
199
- if ( ! obj || 'object' !== typeof obj || Array.isArray( obj ) ) {
200
- return obj;
201
- }
202
-
203
- Logger.wrapperDepth++;
204
-
205
- // Result will lose classType (instanceOf will not work), now based on obj.
206
- let result = { ...obj };
207
-
208
- // @ts-ignore
209
- Object.values( Logger.wrappers ).forEach( ( [ wrapper ] ) => {
210
- if ( obj instanceof wrapper.classType ) {
211
- result = wrapper.callback( obj ) || result;
212
- }
213
- } );
214
-
215
- if ( Logger.wrapperDepth >= MAX_WRAPPING_RECURSIVE_DEPTH ) {
216
- Logger.wrapperDepth--;
217
- return result;
218
- }
219
-
220
- if ( shouldHandleChildren && result ) {
221
- Object.entries( result ).forEach( ( [ key, value ] ) => {
222
- result[ key ] = this.useWrapper( value, true )
223
- } );
224
- }
225
-
226
- Logger.wrapperDepth--;
227
-
228
- return result;
229
- }
230
-
231
- /**
232
- * Function startEmpty() : Notify function start without args.
233
- *
234
- * @param {string} output
235
- */
236
- startEmpty( output = "" ) {
237
- if ( ! this.state ) return;
238
-
239
- this.printFunctionNotify( "se", Logger.getCallerName(), output );
240
- }
241
-
242
- /**
243
- * Function startWith() : Notify function start with args.
244
- *
245
- * TODO: Rename to startsWith
246
- */
247
- startWith( params: any ) {
248
- if ( ! this.state ) return;
249
-
250
- params = Object.assign( {}, params );
251
-
252
- const type = "se";
253
- const source = Logger.getCallerName();
254
-
255
- if ( typeof params == "string" ) {
256
- this.printInLineString( type, source, params );
257
- } else if ( Object.keys( params ).length === 1 ) {
258
- const key = Object.keys( params )[ 0 ];
259
- let value = Object.values( params )[ 0 ];
260
-
261
- // TODO: Check is repeated logic, handle it.
262
- if ( typeof value === "object" ) {
263
- this.printNextLineObject( type, source, key, value || {} );
264
- } else if ( typeof value == "function" ) {
265
- this.printInLineFunction( type, source, key, value );
266
- } else {
267
- this.printInLineElement( type, source, key, value );
268
- }
269
- } else {
270
- this.printMultiLineObject( type, source, params );
271
- }
272
- }
273
-
274
- /**
275
- * Function object() : Prints object.
276
- **/
277
- object( params: { [ key: string ]: Object } = {}, notice = "" ) {
278
- if ( ! this.state ) return;
279
-
280
- const source = Logger.getCallerName();
281
-
282
- params = Object.create( params );
283
-
284
- for ( let key in params ) {
285
- if ( typeof params[ key ] === "object" ) {
286
- params[ key ] = JSON.stringify( this.useWrapper( params[ key ] ), getCircularReplacer() );
287
- }
288
-
289
- this.out.apply(
290
- this,
291
- [
292
- `%c(ob)-> %c%c${ this.name }%c::%c${ source }%c() [${ notice }] ->> ${ key }: '${ params[ key ] }'%c`,
293
- ].concat( this.defaultStyle )
294
- );
295
- }
296
- }
297
-
298
- /**
299
- * Function debug() : Notify debug.
300
- */
301
- debug( output: string ) {
302
- if ( ! this.state ) return;
303
-
304
- this.printFunctionNotify( "db", Logger.getCallerName(), output );
305
- }
306
-
307
- /**
308
- * Function drop : Preview as continue of log which drop ite.
309
- */
310
- drop( according: any, data: any ) {
311
- if ( ! this.state ) return;
312
-
313
- const source = Logger.getCallerName();
314
-
315
- for ( let key in according ) {
316
- this.out.apply( this, [ `%c(dr)-> %c%c${ this.name }%c::%c${ source }%c() ->> corresponding ${ key }: '${ according[ key ] }' RESULT: %c↓` ].concat( this.defaultStyle ) );
317
- }
318
-
319
- this.out( data );
320
- }
321
-
322
- /**
323
- * Function throw() : Throws logged error.
324
- */
325
- throw( output: string, name: string = 'null', params = {} ) {
326
- this.printFunctionNotify( "tw", Logger.getCallerName(), output );
327
-
328
- if ( params )
329
- this.printNextLineObject( "tw", Logger.getCallerName(), name, params );
330
-
331
- throw new Error().stack;
332
- }
333
-
334
- /**
335
- * Function clone() : Create clone instance.
336
- */
337
- clone() {
338
- return Object.assign( Object.create( Object.getPrototypeOf( this ) ), this );
339
- }
340
-
341
- /**
342
- * Function printFunctionNotify() : Print simple log for notify source (function).
343
- *
344
- */
345
- private printFunctionNotify( type: string, source: string, output: any ) {
346
- this.out.apply(
347
- this,
348
- [ `%c(${ type })-> %c%c${ this.name }%c::%c${ source }%c() ${ output }%c` ].concat(
349
- this.defaultStyle
350
- )
351
- );
352
- }
353
-
354
- /**
355
- * Function printInLineElement() : Print in line element.
356
- */
357
- private printInLineElement( type: string, source: string, key: string, value: any ) {
358
- this.out.apply(
359
- this,
360
- [
361
- `%c(${ type })-> %c%c${ this.name }%c::%c${ source }%c() ->> ${ key }: '${ value }'%c`,
362
- ].concat( this.defaultStyle )
363
- );
364
- }
365
-
366
- /**
367
- * Function printInLineFunction() : Print in line function.
368
- */
369
- private printInLineFunction( type: string, source: string, key: string, fn: string | Function ) {
370
- fn = Logger.getFunctionView( fn );
371
-
372
- this.printInLineElement( type, source, key, fn );
373
- }
374
-
375
- /**
376
- * Function printInLineString() : Print in line string.
377
- */
378
- private printInLineString( type: string, source: string, string: string ) {
379
- this.printInLineElement( type, source, "(string)", string );
380
- }
381
-
382
- /**
383
- * Function printNextLineObject() : Print object in next line.
384
- */
385
- private printNextLineObject( type: string, source: string, key: string, obj: Object ) {
386
- obj = this.useWrapper( obj );
387
-
388
- this.out.apply(
389
- this,
390
- [
391
- `%c(${ type })-> %c%c${ this.name }%c::%c${ source }%c() ->> ${ key } %c↓`,
392
- ].concat( this.defaultStyle )
393
- );
394
- // print in next line
395
- this.out( obj );
396
- }
397
-
398
- /**
399
- * Function printMultiLineObject() : Print object in multiline format.
400
- */
401
- private printMultiLineObject( type: string, source: string, obj: { [ key: string ]: string | Function } ) {
402
- this.out.apply(
403
- this,
404
- [
405
- `%c(${ type })-> %c%c${ this.name }%c::%c${ source }%c(${ Object.keys(
406
- obj
407
- ).join( ", " ) }) %c↓`,
408
- ].concat( this.defaultStyle )
409
- );
410
-
411
- for ( let key in obj ) {
412
- let value = obj[ key ];
413
-
414
- if ( typeof value === "object" ) {
415
- value = JSON.stringify( this.useWrapper( value ), getCircularReplacer() );
416
- } else if ( typeof obj[ key ] == "function" ) {
417
- value = Logger.getFunctionView( value );
418
- }
419
-
420
- this.out.apply( this, [
421
- "%c" + key + ": `" + this.useWrapper( value ) + "`",
422
- "color: #a3a3a3",
423
- ] );
424
- }
425
- }
426
-
427
- /**
428
- * Function getRandomColor() : Return random color.
429
- */
430
- private getRandomColor(): string {
431
- const letters = "0123456789ABCDEF";
432
- let color = "#";
433
-
434
- for ( let i = 0; i < 6; i++ ) {
435
- color += letters[ Math.floor( Math.random() * 16 ) ];
436
- }
437
-
438
- let similar = Logger.colorsInUse.some( ( value ) => {
439
- // it returns the ratio of difference... closer to 1.0 is less difference.
440
- return hexColorDelta( color, value ) >= 0.8;
441
- } );
442
-
443
- // if the color is similar, try again.
444
- if ( similar ) {
445
- return this.getRandomColor();
446
- }
447
-
448
- return color;
449
- }
450
-
451
- /**
452
- * Function out() : Print console log with style
453
- */
454
- private out( ...args: any ) {
455
- this.outputHandler.apply( this, args );
456
- }
457
- }
458
-
459
- export default Logger;
@@ -1,2 +0,0 @@
1
- export * from "./object"
2
- export * from "./rgb"
@@ -1,18 +0,0 @@
1
- /**
2
- * Function getCircularReplacer() : Reduce circular references.
3
- *
4
- * @copyright https://stackoverflow.com/a/53731154
5
- */
6
- export const getCircularReplacer = () => {
7
- const seen = new WeakSet()
8
-
9
- return ( key: any, value: any ) => {
10
- if ( typeof value === "object" && value !== null ) {
11
- if ( seen.has( value ) ) {
12
- return
13
- }
14
- seen.add( value )
15
- }
16
- return value
17
- }
18
- }
package/src/utils/rgb.ts DELETED
@@ -1,33 +0,0 @@
1
- /**
2
- * Function hexColorDelta() : Return color difference in ratio decimal point.
3
- *
4
- * @copyright http://jsfiddle.net/96sME/
5
- */
6
- export const hexColorDelta = function ( hex1: string, hex2: string ): number {
7
- hex1 = hex1.replace( "#", "" );
8
- hex2 = hex2.replace( "#", "" );
9
-
10
- // Get red/green/blue int values of hex1
11
- const r1 = parseInt( hex1.substring( 0, 2 ), 16 );
12
- const g1 = parseInt( hex1.substring( 2, 4 ), 16 );
13
- const b1 = parseInt( hex1.substring( 4, 6 ), 16 );
14
-
15
- // Get red/green/blue int values of hex2
16
- const r2 = parseInt( hex2.substring( 0, 2 ), 16 );
17
- const g2 = parseInt( hex2.substring( 2, 4 ), 16 );
18
- const b2 = parseInt( hex2.substring( 4, 6 ), 16 );
19
-
20
- // Calculate differences between reds, greens and blues
21
- let r = 255 - Math.abs( r1 - r2 );
22
- let g = 255 - Math.abs( g1 - g2 );
23
- let b = 255 - Math.abs( b1 - b2 );
24
-
25
- // Limit differences between 0 and 1
26
-
27
- r /= 255;
28
- g /= 255;
29
- b /= 255;
30
-
31
- // 0 means opposite colors, 1 means same colors
32
- return ( r + g + b ) / 3;
33
- };
package/types/index.d.ts DELETED
@@ -1,6 +0,0 @@
1
- export { initialize, destroy, onAfterInitialize } from "../dist/es/initializer";
2
-
3
- export * from '../dist/es/exports';
4
-
5
- export * as managers from "../dist/es/managers";
6
-