404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.147.2.230: ~ $
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isLinkFootnote = exports.isPackageJson = exports.isHydratedCommandMetadata = exports.isCommand = exports.isNamespace = void 0;
function isNamespace(obj) {
    return obj &&
        typeof obj.getMetadata === 'function' &&
        typeof obj.getNamespaces === 'function' &&
        typeof obj.getCommands === 'function';
}
exports.isNamespace = isNamespace;
function isCommand(obj) {
    return obj && isNamespace(obj.namespace) &&
        typeof obj.getMetadata === 'function' &&
        typeof obj.run === 'function' &&
        typeof obj.validate === 'function';
}
exports.isCommand = isCommand;
function isHydratedCommandMetadata(obj) {
    return obj &&
        typeof obj.name === 'string' &&
        isCommand(obj.command) &&
        isNamespace(obj.namespace) &&
        Array.isArray(obj.path) &&
        Array.isArray(obj.aliases);
}
exports.isHydratedCommandMetadata = isHydratedCommandMetadata;
function isPackageJson(obj) {
    return obj && typeof obj.name === 'string';
}
exports.isPackageJson = isPackageJson;
function isLinkFootnote(obj) {
    return obj &&
        (typeof obj.id === 'number' || typeof obj.id === 'string') &&
        typeof obj.url === 'string';
}
exports.isLinkFootnote = isLinkFootnote;

Filemanager

Name Type Size Permission Actions
lib Folder 0755
utils Folder 0755
CHANGELOG.md File 16.81 KB 0644
LICENSE File 1.05 KB 0644
README.md File 1014 B 0644
definitions.d.ts File 6.95 KB 0644
definitions.js File 77 B 0644
errors.d.ts File 1.12 KB 0644
errors.js File 1.93 KB 0644
guards.d.ts File 1.01 KB 0644
guards.js File 1.28 KB 0644
index.d.ts File 80 B 0644
index.js File 269 B 0644
package.json File 5.78 KB 0644