Skip to content

Commit

Permalink
chore: export
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland committed Oct 19, 2024
1 parent 4e05a5e commit 97e6357
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions js/src/forum/components/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import MapModal from './MapModal';
import ZipCodeMap from './ZipCodeMap';

export const components = {
MapModal,
ZipCodeMap,
};
2 changes: 2 additions & 0 deletions js/src/forum/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import extendUserPreferences from './extenders/extendUserPreferences';
import extendIpAddress from './extenders/extendIpAddress';

export { default as extend } from './extend';
export * from './components';
export * from './models';

app.initializers.add('fof/geoip', () => {
extendBanIPModal();
Expand Down
5 changes: 5 additions & 0 deletions js/src/forum/models/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import IPInfo from './IPInfo';

export const models = {
IPInfo,
};

0 comments on commit 97e6357

Please sign in to comment.