EN

@core / catalog

1.0.1 ▾
verifiedMIT
GitHub

Product catalog: variants with options, prices in cents, categories, collections, translations and safe stock reservations

Code8 filesContext~576 tokensscan passed

The exact tree that will be injected, after .genpmignore. Pinned to

src/lib/catalog/index.tsread-only · 3f3914b
// @core/catalog — API pública. Importa desde aquí.
export { catalogAdminResources, categoriesAdminResource, type ProductAdminRow, productsAdminResource, toAdminRow } from './admin.ts';
export {
  type Availability,
  availability,
  CatalogError,
  createProduct,
  getProduct,
  getProductById,
  getVariants,
  type ListProductsOptions,
  listProducts,
  lowStockVariants,
  ProductInput,
  type ProductInputData,
  type ProductSort,
  type ProductSummary,
  type ProductView,
  releaseStock,
  reserveStock,
  storeCurrency,
  updateProduct,
  VariantInput,
  variantPrice,
} from './products.ts';
export {
  type Category,
  type Collection,
  categories,
  collectionProducts,
  collections,
  type Product,
  type ProductOption,
  type ProductTranslation,
  productCategories,
  productMedia,
  products,
  productVariants,
  type Variant,
} from './schema.ts';
export { productSearchSource, productSitemapSource } from './sources.ts';
export { CategoryInput, type CategoryNode, categoryTree, setCollection, upsertCategory } from './taxonomy.ts';

Report @core/catalog

Sign in with GitHub to report a package.