markmv
Version:
TypeScript CLI for markdown file operations with intelligent link refactoring
380 lines • 13.3 kB
TypeScript
/**
* Auto-generated AJV validators for markmv API methods
*
* DO NOT EDIT MANUALLY - This file is auto-generated
*/
export declare const schemas: {
$schema: string;
title: string;
description: string;
definitions: {
moveFile: {
title: string;
description: string;
type: string;
properties: {
input: {
type: string;
properties: {
sourcePath: {
type: string;
description: string;
};
destinationPath: {
type: string;
description: string;
};
options: {
type: string;
properties: {
dryRun: {
type: string;
description: string;
};
verbose: {
type: string;
description: string;
};
force: {
type: string;
description: string;
};
createDirectories: {
type: string;
description: string;
};
};
additionalProperties: boolean;
};
};
required: string[];
additionalProperties: boolean;
};
output: {
type: string;
properties: {
success: {
type: string;
};
modifiedFiles: {
type: string;
items: {
type: string;
};
};
createdFiles: {
type: string;
items: {
type: string;
};
};
deletedFiles: {
type: string;
items: {
type: string;
};
};
errors: {
type: string;
items: {
type: string;
};
};
warnings: {
type: string;
items: {
type: string;
};
};
changes: {
type: string;
items: {
type: string;
};
};
};
required: string[];
additionalProperties: boolean;
};
};
additionalProperties: boolean;
"x-group": string;
"x-examples": string[];
};
moveFiles: {
title: string;
description: string;
type: string;
properties: {
input: {
type: string;
properties: {
moves: {
type: string;
description: string;
items: {
type: string;
properties: {
source: {
type: string;
};
destination: {
type: string;
};
};
required: string[];
additionalProperties: boolean;
};
};
options: {
type: string;
properties: {
dryRun: {
type: string;
description: string;
};
verbose: {
type: string;
description: string;
};
force: {
type: string;
description: string;
};
createDirectories: {
type: string;
description: string;
};
};
additionalProperties: boolean;
};
};
required: string[];
additionalProperties: boolean;
};
output: {
type: string;
properties: {
success: {
type: string;
};
modifiedFiles: {
type: string;
items: {
type: string;
};
};
createdFiles: {
type: string;
items: {
type: string;
};
};
deletedFiles: {
type: string;
items: {
type: string;
};
};
errors: {
type: string;
items: {
type: string;
};
};
warnings: {
type: string;
items: {
type: string;
};
};
changes: {
type: string;
items: {
type: string;
};
};
};
required: string[];
additionalProperties: boolean;
};
};
additionalProperties: boolean;
"x-group": string;
"x-examples": string[];
};
validateOperation: {
title: string;
description: string;
type: string;
properties: {
input: {
type: string;
properties: {
result: {
type: string;
description: string;
properties: {
success: {
type: string;
};
modifiedFiles: {
type: string;
items: {
type: string;
};
};
createdFiles: {
type: string;
items: {
type: string;
};
};
deletedFiles: {
type: string;
items: {
type: string;
};
};
errors: {
type: string;
items: {
type: string;
};
};
warnings: {
type: string;
items: {
type: string;
};
};
changes: {
type: string;
items: {
type: string;
};
};
};
required: string[];
additionalProperties: boolean;
};
};
required: string[];
additionalProperties: boolean;
};
output: {
type: string;
properties: {
valid: {
type: string;
};
brokenLinks: {
type: string;
};
errors: {
type: string;
items: {
type: string;
};
};
};
required: string[];
additionalProperties: boolean;
};
};
additionalProperties: boolean;
"x-group": string;
"x-examples": never[];
};
testAutoExposure: {
title: string;
description: string;
type: string;
properties: {
input: {
type: string;
properties: {
input: {
type: string;
description: string;
};
};
required: string[];
additionalProperties: boolean;
};
output: {
type: string;
properties: {
message: {
type: string;
};
timestamp: {
type: string;
};
success: {
type: string;
};
};
required: string[];
additionalProperties: boolean;
};
};
additionalProperties: boolean;
"x-group": string;
"x-examples": string[];
};
};
};
export declare const validators: {
moveFile: {
input: import("ajv").ValidateFunction<{
[x: string]: {};
}>;
output: import("ajv").ValidateFunction<{
[x: string]: {};
}>;
};
moveFiles: {
input: import("ajv").ValidateFunction<{
[x: string]: {};
}>;
output: import("ajv").ValidateFunction<{
[x: string]: {};
}>;
};
validateOperation: {
input: import("ajv").ValidateFunction<{
[x: string]: {};
}>;
output: import("ajv").ValidateFunction<{
[x: string]: {};
}>;
};
testAutoExposure: {
input: import("ajv").ValidateFunction<{
[x: string]: {};
}>;
output: import("ajv").ValidateFunction<{
[x: string]: {};
}>;
};
};
/**
* Validate input for a specific method
*/
export declare function validateInput(methodName: string, data: unknown): {
valid: boolean;
errors: string[];
};
/**
* Validate output for a specific method
*/
export declare function validateOutput(methodName: string, data: unknown): {
valid: boolean;
errors: string[];
};
/**
* Get list of available methods
*/
export declare function getAvailableMethods(): string[];
//# sourceMappingURL=ajv-validators.d.ts.map