All files / src/modules/implementations/queries/list-definitions validate.js

100% Statements 10/10
100% Branches 3/3
100% Functions 2/2
100% Lines 10/10

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 1151x 51x 51x 783x 783x 5x 5x 5x 783x 51x  
'use strict';
Object.defineProperty(exports, "__esModule", { value: true });
module.exports = ({ apiOptions: { parseOptions }, external: { zod: { z } }, }) => {
    const inputSchema = z.strictObject({});
    function validate(_database, options, _caches) {
        parseOptions(inputSchema, options, 'validate');
        return '';
    }
    return { inputSchema, execute: validate };
};