import { seedCatalogUnits, seedCatalogPriceKinds, seedCatalogExamplesForScope } from "./lib/seeds.js";
const setup = {
  seedDefaults: async (ctx) => {
    const scope = { tenantId: ctx.tenantId, organizationId: ctx.organizationId };
    await seedCatalogUnits(ctx.em, scope);
    await seedCatalogPriceKinds(ctx.em, scope);
  },
  seedExamples: async (ctx) => {
    const scope = { tenantId: ctx.tenantId, organizationId: ctx.organizationId };
    await seedCatalogExamplesForScope(ctx.em, ctx.container, scope);
  },
  defaultRoleFeatures: {
    admin: ["catalog.*", "catalog.variants.manage", "catalog.pricing.manage"],
    employee: [
      "catalog.products.view",
      "catalog.products.manage",
      "catalog.categories.view",
      "catalog.categories.manage",
      "catalog.variants.manage",
      "catalog.pricing.manage"
    ]
  }
};
var setup_default = setup;
export {
  setup_default as default,
  setup
};
//# sourceMappingURL=setup.js.map
