SudoSOS Back-end API / internal/server-settings / ServerSetting
Class: ServerSetting<T> ​
Key-value store
Extends ​
Type Parameters ​
| Type Parameter | Default type |
|---|---|
T extends keyof ISettings | keyof ISettings |
Constructors ​
Constructor ​
ts
new ServerSetting<T>(): ServerSetting<T>;Returns ​
ServerSetting<T>
Inherited from ​
Properties ​
| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
createdAt | readonly | Date | The creation date of the object. | BaseEntity.createdAt |
id | readonly | number | - | BaseEntity.id |
key | public | T | - | - |
updatedAt | readonly | Date | The last update date of the object. | BaseEntity.updatedAt |
value | public | ISettings[T] | JSON-stored value | - |
version | readonly | number | The current version of the object. | BaseEntity.version |