diff options
Diffstat (limited to 'node_modules/@jet-app/app-store/tmp/src/api/intents/charts-page-intent.js')
| -rw-r--r-- | node_modules/@jet-app/app-store/tmp/src/api/intents/charts-page-intent.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/node_modules/@jet-app/app-store/tmp/src/api/intents/charts-page-intent.js b/node_modules/@jet-app/app-store/tmp/src/api/intents/charts-page-intent.js new file mode 100644 index 0000000..e900b06 --- /dev/null +++ b/node_modules/@jet-app/app-store/tmp/src/api/intents/charts-page-intent.js @@ -0,0 +1,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
\ No newline at end of file |
