import { importShared } from './__federation_fn_import-CnjsY8-S.js';

const {definitionSchema,featureEntityType} = await importShared('@baseplate-dev/project-builder-lib');

const {z} = await importShared('zod');

const createRateLimitPluginDefinitionSchema = definitionSchema(
  (ctx) => z.object({
    rateLimitFeatureRef: ctx.withRef({
      type: featureEntityType,
      onDelete: "RESTRICT"
    }),
    rateLimitOptions: z.object({}).prefault({})
  })
);

export { createRateLimitPluginDefinitionSchema as c };
//# sourceMappingURL=plugin-definition-DzbcbcbV.js.map
