Home Reference Source

Typedef

Static Public Summary
public
public
public
public
public

Type of theme

public
public

An env key.

public

Colors of the modal

public
public
public
public

A global key (not env related).

public
public

Pass to mark all notifications

public
public
public
public
public
public
public
public

Static Public

public AuthConfig: Object source

Properties:

NameTypeAttributeDescription
append boolean
  • optional
  • default: false

If logged in, append to current user.

public AuthProfile: Object source

Properties:

NameTypeAttributeDescription
email string
name string
avatar string
  • nullable: true

public ButtonColor: Object source

Properties:

NameTypeAttributeDescription
green Object

Green background

accent Object

Accent colored background

blue Object

Blue background

plain Object

No special coloring just blue text

accentBorder Object

Accent border and foreground

blackOnWhite Object

white button

highContrast Object

always maintains max contrast

minimalGreen Object

green version of high contrast.

red Object

red version of high contrast.

activeBlue Object

non-transitioning theme color

activeAxtell Object

non-transitioning theme color of axtell

public ButtonStyle: Object source

Properties:

NameTypeAttributeDescription
normal Object

Normal default style

plain Object

A small caps amd smaller style

minimal Object

Modern style w/ border and slight bevel effect

public CodeEditorThemeType: Object source

Type of theme

public EnumEndpoint: Object source

Properties:

NameTypeAttributeDescription
notificationType string

The types of a notification

notificationStatus string

The types of a notification

public EnvKey: Object source

An env key. These are constant over a server's instance

Properties:

NameTypeAttributeDescription
algoliaAppId string

app id for algolia

algoliaSearchKey string

search key for algolia

csrf string

CSRF token

isDebug string

If is debugging instance

host string

canonical host

webAPNId string

The web.id of webapns

minUsernameLength string

minimum username length

maxUsernameLength string

maximum username length

public FSModalColor: Object source

Colors of the modal

Properties:

NameTypeAttributeDescription
default string

Default color

public FollowType: Object source

Properties:

NameTypeAttributeDescription
followers Object
following Object

public FollowedType: Object source

Properties:

NameTypeAttributeDescription
following Object
followers Object

public HTTPMethod: Object source

Properties:

NameTypeAttributeDescription
GET string
PET string
POST string
DELETE string

public Key: Object source

A global key (not env related).

Properties:

NameTypeAttributeDescription
helpCenter string

Object for help center page data.

settingsContext string

If is user settings screen

userEmail string

The email of the user

loginData string

OAuth datas ONLY available when not logged in.

userReceiveNotifications string

If user wants notifications

public NotificationCategory: Object source

Properties:

NameTypeAttributeDescription
status string
answer string
postComment string
answerComment string

public NotificationMarkAllUnseen: Symbol source

Pass to mark all notifications

public NotificationStatus: number source

See Notification.getStatuses

public NotificationType: number source

See Notification.getTypes

public ScrollProperty: Object source

Properties:

NameTypeAttributeDescription
margin string

Use for block elements

absolute string

Use for absolute positioned elements

public SearchInputResults: Object source

Properties:

NameTypeAttributeDescription
results T[]

The results

areMore boolean

if more results

public TemplateType: Object source

public TextInputType: Object source

Properties:

NameTypeAttributeDescription
Search string

for search bars

Title string

for challenge titles

Email string

for emails

Name string

for names.

URL string

for URLs

public ValidationError: Object source

Properties:

NameTypeAttributeDescription
node HTMLElement

Node with error.

error string

String describing error

sourceValidator Validator

The 'validator' object.

public Validator: Object source

Properties:

NameTypeAttributeDescription
callback Function

Runs validator given element.

error string

String to display on error.