Skip to content

Lib code v1.0

Tom Taylor edited this page Jun 27, 2019 · 20 revisions
App
options (Object)
moduleReady (Function)
waitForModule (Function)
on Function)
emit (Function)
preloadConstants (Object)
ERRORS (Object)
head (Function)
post (Function)
get (Function)
put (Function)
patch (Function)
delete (Function)
use (Function)
_preloadModules (Array)
preloadModule (Function)
modulePreloadEventHandler (Function)
preload (Function)
clientErrorHandler (Function)
createServer (Function)
startServer (Function)
restartServer (Function)
run (Function)
mailer (Class) instance
polyglot (Class) instance
getServerURL (Function)
ModulePreloader (Class instance)
assetmanager (Class instance)
AssetManager
preload (Function)
preloadHandle (Function)
hasPermission (Function)
createAsset (Function)
retrieveAsset (Function)
updateAsset (Function)
destroyAsset (Function)
trashAsset (Function)
restoreAsset (Function)
postAsset (Function)
putAsset (Function)
queryAssets (Function)
getAsset (Function)
serveAsset (Function)
assetThumb (Function)
serveSharedAsset (Function)
deleteAsset (Function)
trashAssetByID (Function)
restoreAssetByID (Function)
Auth
errors (Object)
AuthPlugin (Class instance)
hashPassword (Function)
validatePassword (Function)
createToken (Function)
session (Function)
initialize (Function)
preload (Function)
getAuthPlugin (Function)
getAvailableAuthPluginsSync (Function)
loadAuthPlugins (Function)
AuthPlugin
init (Function)
authenticate (Function)
getLoginHtml (Function)
disavow (Function)
internalRegisterUser (Function)
resetPassword (Function)
internalUpdatePassword (Function)
generateResetToken (Function)
internalGenerateResetToken (Function)
isTenantEnabled (Function)
BowerManager
extractPackageInfo (function)
installPlugin (function)
installLatestCompatibleVersion (function)
importPackage (function)
Configuration
serverRoot (string)
tempDir (string)
configFile (string)
conf (object)
mconf (object)
load (function)
setConfig (function)
getConfig (function)
getAllClientSideConfigs (function)
setModuleConfig (function)
getModuleConfig (function)
preload (function)
ContentManager
_contentTypes (object)
_contentHooks (object)
_contentSchemas (object)
addContentHook (function)
processContentHooks (function)
loadContentPlugins (function)
getContentPlugin (function)
setupRoutes (function)
addContentSchema (function)
onDatabaseCreated (function)
create (function)
retrieve (function)
update (function)
destroy (function)
ContentPlugin
getModelName (function) getChildType (function)
getSchemaPath (function)
onDatabaseCreated (function)
hasPermission (function)
create (function)
retrieve (function)
update (function)
destroy (function)
iterateSiblings (function)
destroyChildren (function)
Database (class)
connect (function)
disconnect (function)
isStale (function)
isValidIdentifier (function)
loadSchemas (function)
addModel (function)
addSchema (function)
getModel (function)
getModelNames (function)
buildPopulator (function)
buildQuery (function)
create (function)
retrieve (function)
retrieveOne (function)
update (function)
destroy (function)
importSchema (function)
exportResults (function)
Database (module)
addDatabaseHook (function)
getDatabase (function)
checkConnection (function)
resolveSchemaPath (function)
getAvailableDrivers (function)
getAvailableDriversSync (function)
Database (class)
preload (function)
FileStorage
getFileContents (function)
putFileContents (function)
createReadStream (function)
createWriteStream (function)
deleteFile (function)
copyAsset (function)
moveFile (function)
processFileUpload (function)
createDirectory (function)
removeDirectory (function)
getDirectoryListing (function)
getFileStats (function)
FrameworkHelper
cloneFramework (function)
installFramework (function)
Helpers
schemaToObject (function)
grantSuperPermissions (function)
hasCoursePermission (function)
isValidEmail (function)
replaceAll (function)
slugify (function)
cloneObject (function)
InstallHelpers
DEFAULT_SERVER_REPO (string)
DEFAULT_FRAMEWORK_REPO (string)
exit (function)
showSpinner (function)
hideSpinner (function)
getInput (function)
inputHelpers (function)
checkNodeVersion (function)
checkAllDependencies (function)
checkPrimaryDependencies (function)
checkSecondaryDependencies (function)
getInstalledServerVersion (function)
getLatestServerVersion (function)
getInstalledFrameworkVersion (function)
getLatestFrameworkVersion (function)
getInstalledVersions (function)
getLatestVersions (function)
getUpdateData (function)
getMigrationConfig (function)
syncMigrations (function)
installFramework (function)
updateFramework (function)
cloneRepo (function)
updateFrameworkPlugins (function)
updateAuthoring (function)
buildAuthoring (function)
Logger
logger (class instance)
add (function)
level (function)
clear (function)
log (function)
query (function)
on (function)
once (function)
init (function)
Mailer
testConnection (function)
send (function)
OutputManager
_outputTypes (Object)
getOutputPlugin (function)
setupRoutes (function)
preview (function)
publish (function)
OutputPlugin
getCourseJSON (function)
sanitizeCourseJSON (function)
generateIncludesForCourse (function)
generateIncludesForConfig (function)
addPluginWithDependencies (function)
getUpdatedIncludePlugins (function)
writeCourseJSON (function)
buildFlagExists (function)
clearBuildFlag (function)
applyTheme (function)
writeThemeVariables (function)
writeCustomStyle (function)
writeCourseAssets (function)
applyMenu (function)
preview (function)
publish (function)
export (function)
escapeQuotes (function)
Clone this wiki locally