Files
enigma-bbs/core/system_property.js
Bryan Ashby 58c577c4bb Checkpoint
2020-11-22 12:25:19 -07:00

42 lines
1.5 KiB
JavaScript

/* jslint node: true */
'use strict';
//
// Common SYSTEM/global properties/stats used throughout the system.
//
// This IS NOT a full list. Custom modules & the like can create
// their own!
//
module.exports = {
LoginCount : 'login_count',
LoginsToday : 'logins_today', // non-persistent
FileBaseAreaStats : 'file_base_area_stats', // object - see file_base_area.js::getAreaStats
FileUlTotalCount : 'ul_total_count',
FileUlTotalBytes : 'ul_total_bytes',
FileDlTotalCount : 'dl_total_count',
FileDlTotalBytes : 'dl_total_bytes',
MessageTotalCount : 'message_post_total_count', // total non-private messages on the system; non-persistent
MessagesToday : 'message_post_today', // non-private messages posted/imported today; non-persistent
// begin +op non-persistent...
SysOpUsername : 'sysop_username',
SysOpRealName : 'sysop_real_name',
SysOpLocation : 'sysop_location',
SysOpAffiliations : 'sysop_affiliation',
SysOpSex : 'sysop_sex',
SysOpEmailAddress : 'sysop_email_address',
// end +op non-persistent
NextRandomRumor : 'random_rumor',
// begin system stat non-persistent...
TotalMemoryBytes : 'sys_total_memory_bytes',
FreeMemoryBytes : 'sys_free_memory_bytes',
AverageLoad : 'sys_average_load',
CurrentLoad : 'sys_current_load',
// end system stat non persistent
};