import { createFeatureNotificationSchema } from "../../data/validators.js";
import { createBulkNotificationRoute, createBulkNotificationOpenApi } from "../../lib/routeHelpers.js";
const metadata = {
  POST: { requireAuth: true, requireFeatures: ["notifications.create"] }
};
const POST = createBulkNotificationRoute(createFeatureNotificationSchema, "createForFeature");
const openApi = createBulkNotificationOpenApi(
  createFeatureNotificationSchema,
  "Create notifications for all users with a specific feature/permission",
  "Send the same notification to all users who have the specified feature permission (via role ACL or user ACL). Supports wildcard matching."
);
export {
  POST,
  metadata,
  openApi
};
//# sourceMappingURL=route.js.map
