mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-10-18 16:00:45 +00:00
feat: add Community Edition restore UI (#13431)
This commit is contained in:
@@ -65,6 +65,12 @@ export const getEnterpriseLicense = () => {
|
||||
export const getEnterpriseLicenseStatus = () => {
|
||||
return http.get<Setting.LicenseStatus>(`/core/enterprise/licenses/status`);
|
||||
};
|
||||
export const getCommunityRestoreStatus = () => {
|
||||
return http.get<Setting.CommunityRestoreStatus>(`/core/enterprise/licenses/community-restore/status`);
|
||||
};
|
||||
export const restoreCommunity = (mode: Setting.CommunityRestoreMode) => {
|
||||
return http.post(`/core/enterprise/licenses/community-restore`, { mode });
|
||||
};
|
||||
|
||||
// agent
|
||||
export const loadBaseDir = (node?: string) => {
|
||||
|
||||
Reference in New Issue
Block a user