Server Info Module
Classes
LicenseInfo
Defined in: messages/ServerInfo.ts:7
Constructors
Constructor
> new LicenseInfo(): LicenseInfo
Returns
LicenseInfo
Properties
deviceNumber
> readonly deviceNumber: number = 0
Defined in: messages/ServerInfo.ts:17
diskQuota
> readonly diskQuota: number = 0
Defined in: messages/ServerInfo.ts:19
expiryDate
> readonly expiryDate: number = 0
Defined in: messages/ServerInfo.ts:13
fingerprint
> readonly fingerprint: string = "UNKNOWN"
Defined in: messages/ServerInfo.ts:21
invoice
> readonly invoice: string = "UNKNOWN"
Defined in: messages/ServerInfo.ts:11
licensee
> readonly licensee: string = "UNKNOWN"
Defined in: messages/ServerInfo.ts:9
plan
> readonly plan: string = "UNKNOWN"
Defined in: messages/ServerInfo.ts:15
Methods
parse()
> static parse(data): LicenseInfo
Defined in: messages/ServerInfo.ts:23
Parameters
data
OriginalLicenseInfo
Returns
LicenseInfo
ServerInfo
Defined in: messages/ServerInfo.ts:39
Represents information about storage
Constructors
Constructor
> new ServerInfo(): ServerInfo
Returns
ServerInfo
Properties
bucketCount
> readonly bucketCount: bigint = 0n
Defined in: messages/ServerInfo.ts:48
Number of buckets
defaults
> readonly defaults: ServerDefaults
Defined in: messages/ServerInfo.ts:78
Default settings
latestRecord
> readonly latestRecord: bigint = 0n
Defined in: messages/ServerInfo.ts:68
Unix timestamp of the latest record in microseconds
license?
> readonly optional license: LicenseInfo
Defined in: messages/ServerInfo.ts:73
License information
oldestRecord
> readonly oldestRecord: bigint = 0n
Defined in: messages/ServerInfo.ts:63
Unix timestamp of the oldest record in microseconds
uptime
> readonly uptime: bigint = 0n
Defined in: messages/ServerInfo.ts:58
Server uptime in seconds
usage
> readonly usage: bigint = 0n
Defined in: messages/ServerInfo.ts:53
Stored data in bytes
version
> readonly version: string = ""
Defined in: messages/ServerInfo.ts:43
Version storage server
Methods
parse()
> static parse(data): ServerInfo
Defined in: messages/ServerInfo.ts:80
Parameters
data
OriginalServerInfo
Returns
ServerInfo