-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
56b26c8
commit 16c73bf
Showing
5 changed files
with
34 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import MasqueradePage from './MasqueradePage'; | ||
import SelectFieldOptionEditor from './SelectFieldOptionEditor'; | ||
|
||
export const components = { | ||
MasqueradePage, | ||
SelectFieldOptionEditor, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,12 @@ | ||
import app from 'flarum/forum/app'; | ||
|
||
import addProfilePane from './addProfilePane'; | ||
import mutateUserHero from './mutateUserHero'; | ||
|
||
// Exports | ||
import ProfileConfigurePane from './panes/ProfileConfigurePane'; | ||
import ProfilePane from './panes/ProfilePane'; | ||
import RootMasqueradePane from './panes/RootMasqueradePane'; | ||
import BaseField from './types/BaseField'; | ||
import BooleanField from './types/BooleanField'; | ||
import EmailField from './types/EmailField'; | ||
import SelectField from './types/SelectField'; | ||
import TypeFactory from './types/TypeFactory'; | ||
import UrlField from './types/UrlField'; | ||
|
||
app.initializers.add('fof-masquerade', () => { | ||
addProfilePane(); | ||
mutateUserHero(); | ||
}); | ||
|
||
const components = { | ||
ProfileConfigurePane, | ||
ProfilePane, | ||
RootMasqueradePane, | ||
}; | ||
|
||
const types = { | ||
BaseField, | ||
BooleanField, | ||
EmailField, | ||
SelectField, | ||
TypeFactory, | ||
UrlField, | ||
}; | ||
|
||
export { default as extend } from './extend'; | ||
export { components, types }; | ||
export * from './panes'; | ||
export * from './types'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import ProfileConfigurePane from './ProfileConfigurePane'; | ||
import ProfilePane from './ProfilePane'; | ||
import RootMasqueradePane from './RootMasqueradePane'; | ||
|
||
export const panes = { | ||
ProfileConfigurePane, | ||
ProfilePane, | ||
RootMasqueradePane, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import BaseField from './BaseField'; | ||
import BooleanField from './BooleanField'; | ||
import EmailField from './EmailField'; | ||
import SelectField from './SelectField'; | ||
import TypeFactory from './TypeFactory'; | ||
import UrlField from './UrlField'; | ||
|
||
export const types = { | ||
BaseField, | ||
BooleanField, | ||
EmailField, | ||
SelectField, | ||
TypeFactory, | ||
UrlField, | ||
}; |