-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
26 lines (24 loc) · 921 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
const YNN_GLOBAL_MOUNTING_DATA = Symbol.for( 'ynn#global#mounting#data' );
if( !global[ YNN_GLOBAL_MOUNTING_DATA ] ) {
global[ YNN_GLOBAL_MOUNTING_DATA ] = {
status : 0,
set( obj ) {
Object.assign( this, obj );
this.status = 1;
},
reset() {
this.status = 0;
}
};
}
module.exports = require( './lib/core' );
module.exports.Base = require( './lib/base' );
module.exports.Runtime = require( './lib/runtime' );
module.exports.Controller = require( './lib/controller' );
module.exports.Service = require( './lib/service' );
module.exports.RSC = require( './lib/rsc' );
module.exports.Plugin = require( './lib/plugin' );
module.exports.Console = require( './lib/console' );
module.exports.Router = require( './lib/router' );
module.exports.Middleware = require( './lib/middleware' );
module.exports.Extension = require( './lib/extension' );