This commit is contained in:
2025-12-27 16:06:23 +01:00
parent 27887ded41
commit 0dc8f3c787
14 changed files with 230 additions and 72 deletions
+4 -5
View File
@@ -2138,7 +2138,7 @@ export interface GiteaTreeResTree {
sha: string;
url: string;
}
export declare const OpsActions: readonly ["exit", "test", "restart-web-app", "restart-web-app-container", "restart-db", "restart-all", "clear"];
export declare const OpsActions: readonly ["exit", "test", "restart-web-app", "restart-web-app-container", "restart-db", "restart-all", "clear", "clear-container-logs"];
export type OpsObject = {
action: (typeof OpsActions)[number];
};
@@ -2210,9 +2210,7 @@ export type APIPathsParams<T extends {
*/
basePath?: string;
auth?: () => Promise<boolean>;
getMiddleware?: (params: {
query: APIPathsQuery<T>;
}) => Promise<APIPathsQuery<T>>;
getMiddleware?: APIPathsParamsGetMiddleware<T>;
postMiddleware?: APIPathsParamsCrudMiddleware<T>;
putMiddleware?: APIPathsParamsCrudMiddleware<T>;
deleteMiddleware?: APIPathsParamsCrudMiddleware<T>;
@@ -2250,7 +2248,8 @@ export type APIPathsParamsGetMiddleware<T extends {
[k: string]: any;
}> = (params: {
query: APIPathsQuery<T>;
}) => Promise<DsqlCrudQueryObject<T>>;
table: string;
}) => Promise<APIPathsQuery<T>>;
export type APIPathsParamsCrudMiddleware<T extends {
[k: string]: any;
} = {
+1
View File
@@ -465,6 +465,7 @@ exports.OpsActions = [
"restart-db",
"restart-all",
"clear",
"clear-container-logs",
];
exports.AIOptions = [
{