@devx-commerce/plugin-product-reviews
Version:
Product Reviews Plugin for Medusa
78 lines (77 loc) • 2.69 kB
TypeScript
import ProductReviewService from "./service";
export declare const PRODUCT_REVIEW_MODULE = "product_review";
declare const _default: import("@medusajs/types").ModuleExports<typeof ProductReviewService> & {
linkable: {
readonly productReview: {
id: {
serviceName: "product_review";
field: "productReview";
linkable: "product_review_id";
primaryKey: "id";
};
toJSON: () => {
serviceName: "product_review";
field: "productReview";
linkable: "product_review_id";
primaryKey: "id";
};
};
readonly productReviewResponse: {
id: {
serviceName: "product_review";
field: "productReviewResponse";
linkable: "product_review_response_id";
primaryKey: "id";
};
toJSON: () => {
serviceName: "product_review";
field: "productReviewResponse";
linkable: "product_review_response_id";
primaryKey: "id";
};
};
readonly productReviewStats: {
id: {
serviceName: "product_review";
field: "productReviewStats";
linkable: "product_review_stats_id";
primaryKey: "id";
};
toJSON: () => {
serviceName: "product_review";
field: "productReviewStats";
linkable: "product_review_stats_id";
primaryKey: "id";
};
};
readonly reviewAssociatedMedia: {
id: {
serviceName: "product_review";
field: "reviewAssociatedMedia";
linkable: "review_associated_media_id";
primaryKey: "id";
};
toJSON: () => {
serviceName: "product_review";
field: "reviewAssociatedMedia";
linkable: "review_associated_media_id";
primaryKey: "id";
};
};
readonly productReviewConfig: {
id: {
serviceName: "product_review";
field: "productReviewConfig";
linkable: "product_review_config_id";
primaryKey: "id";
};
toJSON: () => {
serviceName: "product_review";
field: "productReviewConfig";
linkable: "product_review_config_id";
primaryKey: "id";
};
};
};
};
export default _default;