Skip to content

MESSAGE_CONTENT

Defined in: constants.ts:12

Enumeration Members

Enumeration MemberValueDefined in

INVALID_BODY

"If you are going to overwrite an entire database you must give a JSON"

constants.ts:19

NO_BODY

“In the “POST” requests you must give a value to set, the key to write is put by query as “?key=”, and the value is given by the “body” as: ”{ “{data_key}” : “YOUR-VALUE” }""

constants.ts:17

INVALID_METHOD

"The API only accepts the following methods: “GET”, “POST” and “DELETE”"

constants.ts:16

INVALID_AUTH

"The authorization code is not correct"

constants.ts:15

SAFE_MODE

"The database is in safe mode, this means that you cannot overwrite or delete an entire table"

constants.ts:18

STARTED

"The database server was started on: {url}"

constants.ts:13

NONEXISTENT_TABLE

"The table “{table}” does not exist"

constants.ts:14

TABLE_UNGIVED

"You must give a table"

constants.ts:20