メインコンテンツまでスキップ
バージョン: 0.13.0 (Previous)

🚀 製品機能

製品機能は Express ミドルウェアではなく SDK コンポーザーです。productService が必要なストアとドライバーを指定して製品機能をマウントします。

一覧

機能合成するスキーマ合成するルート目的
createProductFeaturecreateProductSchemacreateProductRoute商品を作成する。
createProductBatchFeaturecreateProductBatchSchemacreateProductBatchRoute商品を一括作成する。
getProductFeaturesgetProductSchemagetProductRoute1 件の商品を読み取る。
findProductsFeaturesfindProductsSchemafindProductsRouteフィルタリングとページネーション付きで商品を一覧表示する。
editProductFeaturesupdateProductSchemaupdateProductRoute商品を更新する。
editProductBatchFeaturesupdateProductBatchSchemaupdateProductBatchRoute商品を一括更新する。
deleteProductFeaturesdeleteProductSchemadeleteProductRoute商品を削除する。
deleteProductBatchFeaturesdeleteProductBatchSchemadeleteProductBatchRoute商品を一括削除する。
copyProductFeaturescopyProductSchemacopyProductRoute商品を複製する。
copyProductBatchFeaturescopyProductBatchSchemacopyProductBatchRoute商品を一括複製する。
getProductImageUploadUrlFeaturegetSignedImageUploadUrlSchemagetProductImageUploadUrlRoute署名付き商品画像アップロード URL を作成する。
createProductImageFeaturecreateProductImageSchemacreateProductImageRoute商品画像を作成する。
deleteProductImageFeaturedeleteProductImageSchemadeleteProductImageRoute商品画像を削除する。
createProductVariantFeaturecreateProductVariantSchemacreateProductVariantRoute商品バリアントを作成する。
getProductVariantFeaturegetProductVariantSchemagetProductVariantRoute1 件の商品バリアントを読み取る。
updateProductVariantFeatureupdateProductVariantSchemaupdateProductVariantRoute商品バリアントを更新する。
deleteProductVariantFeaturedeleteProductVariantSchemadeleteProductVariantRoute商品バリアントを削除する。
findProductVariantsFeaturefindProductVariantsSchemafindProductVariantsRoute商品バリアントを一覧表示する。
createProductVariantBulkFeaturecreateProductVariantBulkSchemacreateProductVariantBulkRoute商品バリアントを一括作成する。
updateProductVariantBulkFeatureupdateProductVariantBulkSchemaupdateProductVariantBulkRoute商品バリアントを一括更新する。
deleteProductVariantBulkFeaturedeleteProductVariantBulkSchemadeleteProductVariantBulkRoute商品バリアントを一括削除する。
findProductsByOrganizationIdFeaturefindByOrganizationIdSchemafindProductsByOrganizationIdRoute1 つの組織の商品を一覧表示する。
getProductLikersFeaturegetProductLikersSchemagetProductLikersRoute商品に「いいね」したユーザーを一覧表示する。

詳細

各機能は productService によってマウントされます。以下の定義は、スキーマとルートをどのように合成するかを示します。

createProductFeature

実装

この機能は一覧でリンクされているスキーマとルートを合成します。productService または互換性のあるカスタムサービスコンテキストにマウントできます。

完全なソースを表示
export const createProductFeature = compose(
createProductSchema,
createProductRoute
);

createProductBatchFeature

実装

この機能は一覧でリンクされているスキーマとルートを合成します。productService または互換性のあるカスタムサービスコンテキストにマウントできます。

完全なソースを表示
export const createProductBatchFeature = compose(
createProductBatchSchema,
createProductBatchRoute
);

getProductFeatures

実装

この機能は一覧でリンクされているスキーマとルートを合成します。productService または互換性のあるカスタムサービスコンテキストにマウントできます。

完全なソースを表示
export const getProductFeatures = compose(getProductSchema, getProductRoute);

findProductsFeatures

実装

この機能は一覧でリンクされているスキーマとルートを合成します。productService または互換性のあるカスタムサービスコンテキストにマウントできます。

完全なソースを表示
export const findProductsFeatures = compose(
findProductsSchema,
findProductsRoute
);

editProductFeatures

実装

この機能は一覧でリンクされているスキーマとルートを合成します。productService または互換性のあるカスタムサービスコンテキストにマウントできます。

完全なソースを表示
export const editProductFeatures = compose(
updateProductSchema,
updateProductRoute
);

editProductBatchFeatures

実装

この機能は一覧でリンクされているスキーマとルートを合成します。productService または互換性のあるカスタムサービスコンテキストにマウントできます。

完全なソースを表示
export const editProductBatchFeatures = compose(
updateProductBatchSchema,
updateProductBatchRoute
);

deleteProductFeatures

実装

この機能は一覧でリンクされているスキーマとルートを合成します。productService または互換性のあるカスタムサービスコンテキストにマウントできます。

完全なソースを表示
export const deleteProductFeatures = compose(
deleteProductSchema,
deleteProductRoute
);

deleteProductBatchFeatures

実装

この機能は一覧でリンクされているスキーマとルートを合成します。productService または互換性のあるカスタムサービスコンテキストにマウントできます。

完全なソースを表示
export const deleteProductBatchFeatures = compose(
deleteProductBatchSchema,
deleteProductBatchRoute
);

copyProductFeatures

実装

この機能は一覧でリンクされているスキーマとルートを合成します。productService または互換性のあるカスタムサービスコンテキストにマウントできます。

完全なソースを表示
export const copyProductFeatures = compose(copyProductSchema, copyProductRoute);

copyProductBatchFeatures

実装

この機能は一覧でリンクされているスキーマとルートを合成します。productService または互換性のあるカスタムサービスコンテキストにマウントできます。

完全なソースを表示
export const copyProductBatchFeatures = compose(
copyProductBatchSchema,
copyProductBatchRoute
);

getProductImageUploadUrlFeature

実装

この機能は一覧でリンクされているスキーマとルートを合成します。productService または互換性のあるカスタムサービスコンテキストにマウントできます。

完全なソースを表示
export const getProductImageUploadUrlFeature = compose(
getSignedImageUploadUrlSchema,
getProductImageUploadUrlRoute
);

createProductImageFeature

実装

この機能は一覧でリンクされているスキーマとルートを合成します。productService または互換性のあるカスタムサービスコンテキストにマウントできます。

完全なソースを表示
export const createProductImageFeature = compose(
createProductImageSchema,
createProductImageRoute
);

deleteProductImageFeature

実装

この機能は一覧でリンクされているスキーマとルートを合成します。productService または互換性のあるカスタムサービスコンテキストにマウントできます。

完全なソースを表示
export const deleteProductImageFeature = compose(
deleteProductImageSchema,
deleteProductImageRoute
);

createProductVariantFeature

実装

この機能は一覧でリンクされているスキーマとルートを合成します。productService または互換性のあるカスタムサービスコンテキストにマウントできます。

完全なソースを表示
export const createProductVariantFeature = compose(
createProductVariantSchema,
createProductVariantRoute
);

getProductVariantFeature

実装

この機能は一覧でリンクされているスキーマとルートを合成します。productService または互換性のあるカスタムサービスコンテキストにマウントできます。

完全なソースを表示
export const getProductVariantFeature = compose(
getProductVariantSchema,
getProductVariantRoute
);

updateProductVariantFeature

実装

この機能は一覧でリンクされているスキーマとルートを合成します。productService または互換性のあるカスタムサービスコンテキストにマウントできます。

完全なソースを表示
export const updateProductVariantFeature = compose(
updateProductVariantSchema,
updateProductVariantRoute
);

deleteProductVariantFeature

実装

この機能は一覧でリンクされているスキーマとルートを合成します。productService または互換性のあるカスタムサービスコンテキストにマウントできます。

完全なソースを表示
export const deleteProductVariantFeature = compose(
deleteProductVariantSchema,
deleteProductVariantRoute
);

findProductVariantsFeature

実装

この機能は一覧でリンクされているスキーマとルートを合成します。productService または互換性のあるカスタムサービスコンテキストにマウントできます。

完全なソースを表示
export const findProductVariantsFeature = compose(
findProductVariantsSchema,
findProductVariantsRoute
);

createProductVariantBulkFeature

実装

この機能は一覧でリンクされているスキーマとルートを合成します。productService または互換性のあるカスタムサービスコンテキストにマウントできます。

完全なソースを表示
export const createProductVariantBulkFeature = compose(
createProductVariantBulkSchema,
createProductVariantBulkRoute
);

updateProductVariantBulkFeature

実装

この機能は一覧でリンクされているスキーマとルートを合成します。productService または互換性のあるカスタムサービスコンテキストにマウントできます。

完全なソースを表示
export const updateProductVariantBulkFeature = compose(
updateProductVariantBulkSchema,
updateProductVariantBulkRoute
);

deleteProductVariantBulkFeature

実装

この機能は一覧でリンクされているスキーマとルートを合成します。productService または互換性のあるカスタムサービスコンテキストにマウントできます。

完全なソースを表示
export const deleteProductVariantBulkFeature = compose(
deleteProductVariantBulkSchema,
deleteProductVariantBulkRoute
);

findProductsByOrganizationIdFeature

実装

この機能は一覧でリンクされているスキーマとルートを合成します。productService または互換性のあるカスタムサービスコンテキストにマウントできます。

完全なソースを表示
export const findProductsByOrganizationIdFeature = compose(
findByOrganizationIdSchema,
findProductsByOrganizationIdRoute
);

getProductLikersFeature

実装

この機能は一覧でリンクされているスキーマとルートを合成します。productService または互換性のあるカスタムサービスコンテキストにマウントできます。

完全なソースを表示
export const getProductLikersFeature = compose(
getProductLikersSchema,
getProductLikersRoute
);