import { importShared } from './__federation_fn_import-BLFDCY-V.js';

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

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

const createLocalAuthPluginDefinitionSchema = definitionSchema(
  (ctx) => z.object({
    initialUserRoles: ctx.withDefault(
      z.array(
        ctx.withRef({
          type: authRoleEntityType,
          onDelete: "DELETE"
        })
      ),
      []
    ),
    userAdminRoles: ctx.withDefault(
      z.array(
        ctx.withRef({
          type: authRoleEntityType,
          onDelete: "DELETE"
        })
      ),
      []
    )
  })
);

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