refactor(server): role actions definition (#9962)

This commit is contained in:
forehalo
2025-02-06 04:54:34 +00:00
parent 31d251d44f
commit d3843d8f11
18 changed files with 773 additions and 1085 deletions
@@ -45,6 +45,14 @@ export type LeafPaths<
}[keyof T]
: never;
export type LeafVisitor<T, P extends string = ''> = {
[K in keyof T]: T[K] extends object
? LeafVisitor<T[K], Join<P, K>>
: P extends ''
? K
: Join<P, K>;
};
export interface FileUpload {
filename: string;
mimetype: string;