import { RouteGroup, RouteResource } from '@adonisjs/core/http';
RouteGroup.macro('apiOnly', function () {
    for (const route of this.routes) {
        if (route instanceof RouteResource) {
            route.apiOnly();
        }
    }
    return this;
});
//# sourceMappingURL=route_group_api_only.js.map