"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const classDeleter_js_1 = __importDefault(require("./classDeleter.js"));
const getter_js_1 = __importDefault(require("./getter.js"));
exports.default = async (client) => {
    const getter = new getter_js_1.default(client);
    const schema = await getter.do();
    await Promise.all(schema.classes
        ? schema.classes.map((c) => {
            const deleter = new classDeleter_js_1.default(client);
            return deleter.withClassName(c.class).do();
        })
        : []);
};
