mirror of https://github.com/vizality/vizality
update discord module
- Moved router discord util to modules - Moved the other discord util to constants - Added empty discord components submodule for future usepull/67/head
parent
d18bbabb4e
commit
556ea7e260
@ -0,0 +1,7 @@
|
||||
/**
|
||||
* A collection of useful native Discord components.
|
||||
* @module Components
|
||||
* @memberof Discord
|
||||
* @namespace Discord.Components
|
||||
*/
|
||||
|
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* A collection of various Discord modules that correspond to different uses.
|
||||
* @module Modules
|
||||
* @memberof Discord
|
||||
* @namespace Discord.Modules
|
||||
*/
|
||||
|
||||
import { getModule } from '@vizality/webpack';
|
||||
|
||||
/**
|
||||
* Discord's routing modules, containing navigation routing functions.
|
||||
*/
|
||||
export const router = {
|
||||
...getModule('transitionTo', 'replaceWith', 'getHistory'),
|
||||
...getModule('listeners', 'flushRoute')
|
||||
};
|
Loading…
Reference in new issue