@inneropen/marvin-sdk 4.5.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/platform.cjs +0 -30
- package/dist/platform.d.cts +2 -33
- package/dist/platform.d.ts +2 -33
- package/dist/platform.js +0 -30
- package/package.json +1 -1
package/dist/platform.cjs
CHANGED
|
@@ -1647,36 +1647,6 @@ var AdminMaintenanceModule = class {
|
|
|
1647
1647
|
async getSummary() {
|
|
1648
1648
|
return this.http.get("/api/admin/maintenance");
|
|
1649
1649
|
}
|
|
1650
|
-
/**
|
|
1651
|
-
* Clean temporary files
|
|
1652
|
-
*/
|
|
1653
|
-
async cleanTemp() {
|
|
1654
|
-
return this.http.post("/api/admin/maintenance/clean/temp", {});
|
|
1655
|
-
}
|
|
1656
|
-
/**
|
|
1657
|
-
* Clean up old events
|
|
1658
|
-
*/
|
|
1659
|
-
async cleanupEvents() {
|
|
1660
|
-
return this.http.post("/api/admin/maintenance/cleanup-events", {});
|
|
1661
|
-
}
|
|
1662
|
-
/**
|
|
1663
|
-
* Clean up expired tokens
|
|
1664
|
-
*/
|
|
1665
|
-
async cleanupTokens() {
|
|
1666
|
-
return this.http.post("/api/admin/maintenance/cleanup-tokens", {});
|
|
1667
|
-
}
|
|
1668
|
-
/**
|
|
1669
|
-
* Clear application cache
|
|
1670
|
-
*/
|
|
1671
|
-
async clearCache() {
|
|
1672
|
-
return this.http.post("/api/admin/maintenance/clear-cache", {});
|
|
1673
|
-
}
|
|
1674
|
-
/**
|
|
1675
|
-
* Optimize database
|
|
1676
|
-
*/
|
|
1677
|
-
async optimizeDatabase() {
|
|
1678
|
-
return this.http.post("/api/admin/maintenance/optimize-db", {});
|
|
1679
|
-
}
|
|
1680
1650
|
/**
|
|
1681
1651
|
* Get maintenance statistics
|
|
1682
1652
|
*/
|
package/dist/platform.d.cts
CHANGED
|
@@ -1023,7 +1023,8 @@ declare class AdminSystemModule {
|
|
|
1023
1023
|
/**
|
|
1024
1024
|
* Admin Maintenance Module - Platform API
|
|
1025
1025
|
*
|
|
1026
|
-
* System maintenance
|
|
1026
|
+
* System maintenance information for administrators. Cleanup actions (temp files, revoked tokens,
|
|
1027
|
+
* VACUUM) are system scheduled tasks: run one with `adminScheduledTasks.execute(id)`.
|
|
1027
1028
|
*/
|
|
1028
1029
|
|
|
1029
1030
|
type MaintenanceSummary = components['schemas']['MaintenanceSummary'];
|
|
@@ -1035,38 +1036,6 @@ declare class AdminMaintenanceModule {
|
|
|
1035
1036
|
* Get the maintenance summary (system overview)
|
|
1036
1037
|
*/
|
|
1037
1038
|
getSummary(): Promise<MaintenanceSummary>;
|
|
1038
|
-
/**
|
|
1039
|
-
* Clean temporary files
|
|
1040
|
-
*/
|
|
1041
|
-
cleanTemp(): Promise<{
|
|
1042
|
-
message: string;
|
|
1043
|
-
}>;
|
|
1044
|
-
/**
|
|
1045
|
-
* Clean up old events
|
|
1046
|
-
*/
|
|
1047
|
-
cleanupEvents(): Promise<{
|
|
1048
|
-
message: string;
|
|
1049
|
-
deleted: number;
|
|
1050
|
-
}>;
|
|
1051
|
-
/**
|
|
1052
|
-
* Clean up expired tokens
|
|
1053
|
-
*/
|
|
1054
|
-
cleanupTokens(): Promise<{
|
|
1055
|
-
message: string;
|
|
1056
|
-
deleted: number;
|
|
1057
|
-
}>;
|
|
1058
|
-
/**
|
|
1059
|
-
* Clear application cache
|
|
1060
|
-
*/
|
|
1061
|
-
clearCache(): Promise<{
|
|
1062
|
-
message: string;
|
|
1063
|
-
}>;
|
|
1064
|
-
/**
|
|
1065
|
-
* Optimize database
|
|
1066
|
-
*/
|
|
1067
|
-
optimizeDatabase(): Promise<{
|
|
1068
|
-
message: string;
|
|
1069
|
-
}>;
|
|
1070
1039
|
/**
|
|
1071
1040
|
* Get maintenance statistics
|
|
1072
1041
|
*/
|
package/dist/platform.d.ts
CHANGED
|
@@ -1023,7 +1023,8 @@ declare class AdminSystemModule {
|
|
|
1023
1023
|
/**
|
|
1024
1024
|
* Admin Maintenance Module - Platform API
|
|
1025
1025
|
*
|
|
1026
|
-
* System maintenance
|
|
1026
|
+
* System maintenance information for administrators. Cleanup actions (temp files, revoked tokens,
|
|
1027
|
+
* VACUUM) are system scheduled tasks: run one with `adminScheduledTasks.execute(id)`.
|
|
1027
1028
|
*/
|
|
1028
1029
|
|
|
1029
1030
|
type MaintenanceSummary = components['schemas']['MaintenanceSummary'];
|
|
@@ -1035,38 +1036,6 @@ declare class AdminMaintenanceModule {
|
|
|
1035
1036
|
* Get the maintenance summary (system overview)
|
|
1036
1037
|
*/
|
|
1037
1038
|
getSummary(): Promise<MaintenanceSummary>;
|
|
1038
|
-
/**
|
|
1039
|
-
* Clean temporary files
|
|
1040
|
-
*/
|
|
1041
|
-
cleanTemp(): Promise<{
|
|
1042
|
-
message: string;
|
|
1043
|
-
}>;
|
|
1044
|
-
/**
|
|
1045
|
-
* Clean up old events
|
|
1046
|
-
*/
|
|
1047
|
-
cleanupEvents(): Promise<{
|
|
1048
|
-
message: string;
|
|
1049
|
-
deleted: number;
|
|
1050
|
-
}>;
|
|
1051
|
-
/**
|
|
1052
|
-
* Clean up expired tokens
|
|
1053
|
-
*/
|
|
1054
|
-
cleanupTokens(): Promise<{
|
|
1055
|
-
message: string;
|
|
1056
|
-
deleted: number;
|
|
1057
|
-
}>;
|
|
1058
|
-
/**
|
|
1059
|
-
* Clear application cache
|
|
1060
|
-
*/
|
|
1061
|
-
clearCache(): Promise<{
|
|
1062
|
-
message: string;
|
|
1063
|
-
}>;
|
|
1064
|
-
/**
|
|
1065
|
-
* Optimize database
|
|
1066
|
-
*/
|
|
1067
|
-
optimizeDatabase(): Promise<{
|
|
1068
|
-
message: string;
|
|
1069
|
-
}>;
|
|
1070
1039
|
/**
|
|
1071
1040
|
* Get maintenance statistics
|
|
1072
1041
|
*/
|
package/dist/platform.js
CHANGED
|
@@ -1108,36 +1108,6 @@ var AdminMaintenanceModule = class {
|
|
|
1108
1108
|
async getSummary() {
|
|
1109
1109
|
return this.http.get("/api/admin/maintenance");
|
|
1110
1110
|
}
|
|
1111
|
-
/**
|
|
1112
|
-
* Clean temporary files
|
|
1113
|
-
*/
|
|
1114
|
-
async cleanTemp() {
|
|
1115
|
-
return this.http.post("/api/admin/maintenance/clean/temp", {});
|
|
1116
|
-
}
|
|
1117
|
-
/**
|
|
1118
|
-
* Clean up old events
|
|
1119
|
-
*/
|
|
1120
|
-
async cleanupEvents() {
|
|
1121
|
-
return this.http.post("/api/admin/maintenance/cleanup-events", {});
|
|
1122
|
-
}
|
|
1123
|
-
/**
|
|
1124
|
-
* Clean up expired tokens
|
|
1125
|
-
*/
|
|
1126
|
-
async cleanupTokens() {
|
|
1127
|
-
return this.http.post("/api/admin/maintenance/cleanup-tokens", {});
|
|
1128
|
-
}
|
|
1129
|
-
/**
|
|
1130
|
-
* Clear application cache
|
|
1131
|
-
*/
|
|
1132
|
-
async clearCache() {
|
|
1133
|
-
return this.http.post("/api/admin/maintenance/clear-cache", {});
|
|
1134
|
-
}
|
|
1135
|
-
/**
|
|
1136
|
-
* Optimize database
|
|
1137
|
-
*/
|
|
1138
|
-
async optimizeDatabase() {
|
|
1139
|
-
return this.http.post("/api/admin/maintenance/optimize-db", {});
|
|
1140
|
-
}
|
|
1141
1111
|
/**
|
|
1142
1112
|
* Get maintenance statistics
|
|
1143
1113
|
*/
|