"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.mainRoutes = exports.publicRoutes = exports.staticRoutes = void 0;
const auth_1 = __importDefault(require("./auth"));
const layout_1 = __importDefault(require("./layout"));
const screen_1 = __importDefault(require("./screen"));
const user_1 = __importDefault(require("./user"));
const application_1 = __importDefault(require("./application"));
const table_1 = __importDefault(require("./table"));
const row_1 = __importDefault(require("./row"));
const view_1 = __importDefault(require("./view"));
const component_1 = __importDefault(require("./component"));
const automation_1 = __importDefault(require("./automation"));
const webhook_1 = __importDefault(require("./webhook"));
const role_1 = __importDefault(require("./role"));
const deploy_1 = __importDefault(require("./deploy"));
const apikeys_1 = __importDefault(require("./apikeys"));
const templates_1 = __importDefault(require("./templates"));
const analytics_1 = __importDefault(require("./analytics"));
const routing_1 = __importDefault(require("./routing"));
const integration_1 = __importDefault(require("./integration"));
const permission_1 = __importDefault(require("./permission"));
const datasource_1 = __importDefault(require("./datasource"));
const query_1 = __importDefault(require("./query"));
const backup_1 = __importDefault(require("./backup"));
const metadata_1 = __importDefault(require("./metadata"));
const dev_1 = __importDefault(require("./dev"));
const cloud_1 = __importDefault(require("./cloud"));
const migrations_1 = __importDefault(require("./migrations"));
var static_1 = require("./static");
Object.defineProperty(exports, "staticRoutes", { enumerable: true, get: function () { return __importDefault(static_1).default; } });
var public_1 = require("./public");
Object.defineProperty(exports, "publicRoutes", { enumerable: true, get: function () { return __importDefault(public_1).default; } });
exports.mainRoutes = [
    auth_1.default,
    deploy_1.default,
    layout_1.default,
    screen_1.default,
    user_1.default,
    application_1.default,
    automation_1.default,
    view_1.default,
    component_1.default,
    role_1.default,
    apikeys_1.default,
    templates_1.default,
    analytics_1.default,
    webhook_1.default,
    routing_1.default,
    integration_1.default,
    permission_1.default,
    datasource_1.default,
    query_1.default,
    backup_1.default,
    metadata_1.default,
    dev_1.default,
    cloud_1.default,
    // these need to be handled last as they still use /api/:tableId
    // this could be breaking as koa may recognise other routes as this
    table_1.default,
    row_1.default,
    migrations_1.default,
];
