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    
Size: Mime:
import { LabelValue } from './typings';
declare const transformMarketingPage: (response: {
    page: unknown;
}) => {
    index: number;
    pageId: any;
    pageName: any;
    layoutType: any;
    dimensions: {};
    gridLayout: {};
    views: {
        cellId: string;
        widget: {
            componentName: string;
            properties: LabelValue[];
            items: {
                facets: LabelValue[];
            }[];
            widgetId: string;
            pageId: string;
            widgetType: string;
            widgetName: string;
        };
    }[];
    facets: {};
};
declare const transformPreview: (viewId: any, page: any) => {
    index: any;
    pageId: any;
    pageName: any;
    layoutType: any;
    dimensions: any;
    gridLayout: any;
    views: {
        cellId: string;
        widget: {
            componentName: string;
            properties: LabelValue[];
            items: {
                facets: LabelValue[];
            }[];
            widgetId: string;
            pageId: string;
            widgetType: string;
            widgetName: string;
        };
    }[];
    facets: any;
};
/**
 * 1. go through all the pages
 * 2. `if` we are looking for a number, find the page at that index
 *      @example { [1]: }
 *    `else` we are looking for a path
 *      @example pages[1].pageName === pageIdOrPathName
 */
declare const transformHasStudioPage: (response: {
    model: unknown;
}, pageIdOrPathName: string | number) => {
    hasPage: boolean;
    pageId: number;
};
export { transformMarketingPage, transformHasStudioPage, transformPreview };