Updates
This commit is contained in:
Vendored
+4
-5
@@ -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;
|
||||
} = {
|
||||
|
||||
Vendored
+1
@@ -465,6 +465,7 @@ exports.OpsActions = [
|
||||
"restart-db",
|
||||
"restart-all",
|
||||
"clear",
|
||||
"clear-container-logs",
|
||||
];
|
||||
exports.AIOptions = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user