UNPKG

@automattic/calypso-products

Version:

This module contains information about the various products sold within calypso, such as product slugs, plan intervals, etc.

15 lines 753 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isAddOn = isAddOn; const is_custom_design_1 = require("./is-custom-design"); const is_no_ads_1 = require("./is-no-ads"); const is_tiered_volume_space_addon_1 = require("./is-tiered-volume-space-addon"); const is_unlimited_themes_1 = require("./is-unlimited-themes"); function isAddOn(product) { // Right now the definition of an "add-on" just comes from a hardcoded list. return ((0, is_custom_design_1.isCustomDesign)(product) || (0, is_no_ads_1.isNoAds)(product) || (0, is_unlimited_themes_1.isUnlimitedThemes)(product) || (0, is_tiered_volume_space_addon_1.isTieredVolumeSpaceAddon)(product)); } //# sourceMappingURL=is-add-on.js.map