Skip to content

SudoSOS Back-end API / internal/server-settings / ServerSetting

Class: ServerSetting<T> ​

Key-value store

Extends ​

Type Parameters ​

Type ParameterDefault type
T extends keyof ISettingskeyof ISettings

Constructors ​

Constructor ​

ts
new ServerSetting<T>(): ServerSetting<T>;

Returns ​

ServerSetting<T>

Inherited from ​

BaseEntity.constructor

Properties ​

PropertyModifierTypeDescriptionInherited from
createdAtreadonlyDateThe creation date of the object.BaseEntity.createdAt
idreadonlynumber-BaseEntity.id
keypublicT--
updatedAtreadonlyDateThe last update date of the object.BaseEntity.updatedAt
valuepublicISettings[T]JSON-stored value-
versionreadonlynumberThe current version of the object.BaseEntity.version