@automattic/calypso-products
Version:
This module contains information about the various products sold within calypso, such as product slugs, plan intervals, etc.
13 lines • 561 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.isJetpackStatsPaidProductSlug = isJetpackStatsPaidProductSlug;
const constants_1 = require("./constants");
function isJetpackStatsPaidProductSlug(productSlug) {
return [
constants_1.PRODUCT_JETPACK_STATS_BI_YEARLY,
constants_1.PRODUCT_JETPACK_STATS_YEARLY,
constants_1.PRODUCT_JETPACK_STATS_MONTHLY,
constants_1.PRODUCT_JETPACK_STATS_PWYW_YEARLY,
].includes(productSlug);
}
//# sourceMappingURL=is-jetpack-stats-paid-product-slug.js.map