Files
blog/node_modules/hexo/dist/extend/deployer.d.ts
2025-07-16 16:30:56 +00:00

19 lines
444 B
TypeScript

import type { NodeJSLikeCallback } from '../types';
interface StoreFunction {
(deployArg: {
type: string;
[key: string]: any;
}, callback?: NodeJSLikeCallback<any>): any;
}
interface Store {
[key: string]: StoreFunction;
}
declare class Deployer {
store: Store;
constructor();
list(): Store;
get(name: string): StoreFunction;
register(name: string, fn: StoreFunction): void;
}
export = Deployer;