mirror of
https://github.com/Azure/k8s-deploy.git
synced 2026-06-26 06:39:27 +08:00
Add node modules and compiled JavaScript from main (#172)
Co-authored-by: Oliver King <oking3@uncc.edu>
This commit is contained in:
committed by
GitHub
parent
ee3c5aed75
commit
08d466b6ab
+10
@@ -0,0 +1,10 @@
|
||||
import { YargsInstance, Arguments } from './yargs';
|
||||
export declare function globalMiddlewareFactory<T>(globalMiddleware: Middleware[], context: T): (callback: MiddlewareCallback | MiddlewareCallback[], applyBeforeValidation?: boolean) => T;
|
||||
export declare function commandMiddlewareFactory(commandMiddleware?: MiddlewareCallback[]): Middleware[];
|
||||
export declare function applyMiddleware(argv: Arguments | Promise<Arguments>, yargs: YargsInstance, middlewares: Middleware[], beforeValidation: boolean): Arguments | Promise<Arguments>;
|
||||
export interface MiddlewareCallback {
|
||||
(argv: Arguments, yargs: YargsInstance): Partial<Arguments> | Promise<Partial<Arguments>>;
|
||||
}
|
||||
export interface Middleware extends MiddlewareCallback {
|
||||
applyBeforeValidation: boolean;
|
||||
}
|
||||
Reference in New Issue
Block a user