ZH
测试版翻译

@core / catalog

1.0.0 ▾
已验证MIT
GitHub

商品目录:带选项的变体、以分计价、分类、合集、翻译和安全的库存预留

代码8 个文件上下文约 576 个 token扫描通过

应用 .genpmignore 后将被注入的确切目录树。固定于

src/lib/catalog/index.ts只读 · 79d3468
// @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';

举报 @core/catalog

使用 GitHub 登录后才能举报包。