Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/packages / pages / Product / transform.d.ts
Size: Mime:
declare function transformItemToSubProduct(props: any): {
    name: any;
    identifier: any;
    brandName: any;
    description: any;
    image: any;
    salePrice: any;
    regPrice: any;
    totalPrice: string;
    savePrice: string;
    bundleMandatoryProductsCount: any;
    bundleOptionalProductsCount: any;
    hasAddon: any;
    hasBundleMandatoryProducts: any;
    isCollectionSubProduct: any;
    isBundleSubProduct: any;
    selectSkuForValue: any;
    skuprops: any;
    onCheckBoxInputChange: any;
    onQuantityInputChange: any;
    isBundle: any;
    navigationUrl: string;
    oneProduct: any;
    reviewrating: {
        reviewcount: number;
        ratings: number;
    };
};
export declare type AddOnProductsType = ReturnType<typeof transformItemToSubProduct>;
declare function splitMandatoryAndOptional(products: any): {
    addOnProducts: {
        name: any;
        identifier: any;
        brandName: any;
        description: any;
        image: any;
        salePrice: any;
        regPrice: any;
        totalPrice: string;
        savePrice: string;
        bundleMandatoryProductsCount: any;
        bundleOptionalProductsCount: any;
        hasAddon: any;
        hasBundleMandatoryProducts: any;
        isCollectionSubProduct: any;
        isBundleSubProduct: any;
        selectSkuForValue: any;
        skuprops: any;
        onCheckBoxInputChange: any;
        onQuantityInputChange: any;
        isBundle: any;
        navigationUrl: string;
        oneProduct: any;
        reviewrating: {
            reviewcount: number;
            ratings: number;
        };
    }[];
    mandatoryProducts: {
        name: any;
        identifier: any;
        brandName: any;
        description: any;
        image: any;
        salePrice: any;
        regPrice: any;
        totalPrice: string;
        savePrice: string;
        bundleMandatoryProductsCount: any;
        bundleOptionalProductsCount: any;
        hasAddon: any;
        hasBundleMandatoryProducts: any;
        isCollectionSubProduct: any;
        isBundleSubProduct: any;
        selectSkuForValue: any;
        skuprops: any;
        onCheckBoxInputChange: any;
        onQuantityInputChange: any;
        isBundle: any;
        navigationUrl: string;
        oneProduct: any;
        reviewrating: {
            reviewcount: number;
            ratings: number;
        };
    }[];
};
export { transformItemToSubProduct, splitMandatoryAndOptional };