forked from projects/fipamo
ro
1e37580869
dropped in js from the old site to begin the process of wiring up the API, but this time around, scripts will be served directly in browswer rather than being transpiled through NPM/Babel, eliminating the need for NPM. also scripting will new modularized and served specifically for the requirements of the page loading it. no more front loading everything. only script that is needed for that page will be retrieved. if no scripting is needed, none will be loaded. The only casualty so far has been syntax highlighting due to prismjs still being a common js module, but either this will be replaced with another library or a custom syntax enginge will be created at a later date
22 lines
767 B
JavaScript
22 lines
767 B
JavaScript
export const MEMBER_STATUS = 'memberStatus';
|
|
export const LOGIN_STATUS = 'loginStatus';
|
|
export const SUPPORTER_FOUND = 'SUPPORTER FOUND';
|
|
export const SUPPORTER_LISTED = 'SUPPORTER LISTED';
|
|
export const SUPPORTER_NOT_FOUND = 'SUPPORTER NOT FOUND';
|
|
export const MEMBER_ADDED = 'MEMBER ADDED';
|
|
export const MEMBER_NOT_ADDED = 'MEMBER NOT ADDED';
|
|
export const MEMBER_LOGIN_GOOD = 'MEMBER LOGIN GOOD';
|
|
export const MEMBER_LOGIN_LAME = 'MEMBER LOGIN LAME';
|
|
export const MEMBER_EXISTS = 'USER ALREADY EXISTS';
|
|
export const MEMBER_LOGIN_MISSING = 'Missing credentials';
|
|
|
|
class AuthEvent {
|
|
//--------------------------
|
|
// methods
|
|
//--------------------------
|
|
//--------------------------
|
|
// event handlers
|
|
//--------------------------
|
|
}
|
|
export default new AuthEvent();
|