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

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