import { importShared } from './__federation_fn_import-BLFDCY-V.js';
import { L as LOCAL_AUTH_MODELS } from './model-names-DrcaRxt1.js';
import { c as createLocalAuthPluginDefinitionSchema } from './plugin-definition-Ckl5hjD1.js';

const {authModelsSpec,createPluginModule,pluginConfigSpec} = await importShared('@baseplate-dev/project-builder-lib');
const common = createPluginModule({
  name: "common",
  dependencies: {
    pluginConfig: pluginConfigSpec,
    authModels: authModelsSpec
  },
  initialize: ({ pluginConfig, authModels }, { pluginKey }) => {
    pluginConfig.schemas.set(pluginKey, createLocalAuthPluginDefinitionSchema);
    authModels.getAuthModels.set(() => ({
      user: LOCAL_AUTH_MODELS.user
    }));
  }
});

export { common as default };
//# sourceMappingURL=__federation_expose_local-authCoreCommon-DbuvGG7o.js.map
