fix: 修复配额说明重复和undefined问题
- 在editStorageForm中初始化oss_storage_quota_value和oss_quota_unit - 删除重复的旧配额说明块,保留新的当前配额设置显示 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
22
backend/node_modules/express-validator/lib/chain/context-runner.d.ts
generated
vendored
Normal file
22
backend/node_modules/express-validator/lib/chain/context-runner.d.ts
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
import { Request, ValidationError } from '../base';
|
||||
import { ReadonlyContext } from '../context';
|
||||
import { Result } from '../validation-result';
|
||||
export type ContextRunningOptions = {
|
||||
/**
|
||||
* Defines whether errors and sanitization should be persisted to `req`.
|
||||
* @default false
|
||||
*/
|
||||
dryRun?: boolean;
|
||||
};
|
||||
export interface ResultWithContext extends Result<ValidationError> {
|
||||
readonly context: ReadonlyContext;
|
||||
}
|
||||
export interface ContextRunner {
|
||||
/**
|
||||
* Runs the current validation chain.
|
||||
* @param req the express request to validate
|
||||
* @param options an object of options to customize how the chain will be run
|
||||
* @returns a promise for a {@link Result} that resolves when the validation chain has finished
|
||||
*/
|
||||
run(req: Request, options?: ContextRunningOptions): Promise<ResultWithContext>;
|
||||
}
|
||||
Reference in New Issue
Block a user