summaryrefslogtreecommitdiff
path: root/node_modules/@jet-app/app-store/tmp/src/api/intents/charts-page-intent.js
blob: e900b067784b446db7e67b611a5a1ba412b0024e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import { normalizePreviewPlaform } from "../models/preview-platform";
const CHARTS_PAGE_INTENT_KIND = "ChartsPageIntent";
export function makeChartsPageIntent({ platform, ...rest }) {
    return {
        ...rest,
        platform: normalizePreviewPlaform(platform),
        $kind: CHARTS_PAGE_INTENT_KIND,
    };
}
export function isChartsPageIntent(intent) {
    return (intent === null || intent === void 0 ? void 0 : intent.$kind) === CHARTS_PAGE_INTENT_KIND;
}
//# sourceMappingURL=charts-page-intent.js.map