import { importShared } from './__federation_fn_import-BLFDCY-V.js';
import { c as createBetterAuthPluginDefinitionSchema, B as BETTER_AUTH_MODELS } from './plugin-definition-CXnKUJ1l.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, createBetterAuthPluginDefinitionSchema);
    authModels.getAuthModels.set(() => ({
      user: BETTER_AUTH_MODELS.user
    }));
  }
});

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