new-api/web/classic/src/constants/toast.constants.js

27 lines
893 B
JavaScript
Raw Normal View History

/*
Copyright (C) 2025 QuantumNous
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
For commercial licensing, please contact support@quantumnous.com
*/
2023-04-22 20:39:27 +08:00
export const toastConstants = {
2023-07-29 19:32:06 +08:00
SUCCESS_TIMEOUT: 1500,
2023-04-22 20:39:27 +08:00
INFO_TIMEOUT: 3000,
ERROR_TIMEOUT: 5000,
WARNING_TIMEOUT: 10000,
2024-03-23 21:24:39 +08:00
NOTICE_TIMEOUT: 20000,
2023-04-22 20:39:27 +08:00
};