Add success/error messages for status pages

This commit is contained in:
Alex Holliday
2024-11-11 12:17:37 +08:00
parent 8164ca2bfe
commit b6781a4945

View File

@@ -51,6 +51,10 @@ const errorMessages = {
// PING Operations
PING_CANNOT_RESOLVE: "No response",
// Status Page Errors
STATUS_PAGE_NOT_FOUND: "Status page not found",
STATUS_PAGE_URL_NOT_UNIQUE: "Status page url must be unique",
};
const successMessages = {
@@ -115,6 +119,10 @@ const successMessages = {
// App Settings
GET_APP_SETTINGS: "Got app settings successfully",
UPDATE_APP_SETTINGS: "Updated app settings successfully",
// Status Page
STATUS_PAGE_BY_URL: "Got status page by url successfully",
STATUS_PAGE_CREATE: "Status page created successfully",
};
export { errorMessages, successMessages };