UNPKG

@lcap/nasl

Version:

NetEase Application Specific Language

20 lines 960 B
import { RuleContext, RuleContextWithStatus, DeploymentState, Operation } from './types'; /** Nasl 变更后判断是否可以忽略后端发布 */ export declare function assertBatchInstruct(operationList: Operation[], context: RuleContextWithStatus): Promise<void>; /** IDE 初始化时运行钩子 */ export declare function assertIdeInitialize(context: Omit<RuleContextWithStatus, 'naslServer'>): Promise<void>; /** 发布前判断是否可以忽略后端发布 */ export declare function assertIgnoreBackend(context: RuleContextWithStatus): Promise<boolean>; /** 发布开始 */ export declare function deployStart(type: 'normal' | 'preview'): Promise<DeploymentState>; /** * 发布成功结束 * * @description 此时一定发布成功 */ export declare function deploySuccess(context: RuleContext): Promise<void>; /** * 发布失败时 */ export declare function deployFail(context: RuleContext): Promise<void>; //# sourceMappingURL=ruler.d.ts.map