blob: 1913f2a6efa54278e47489df7670a8699c5e0a69 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import { normalizePreviewPlaform } from "../models/preview-platform";
const APP_EVENT_PAGE_INTENT_KIND = "AppEventPageIntent";
export function makeAppEventPageIntent(opts) {
const { platform, ...rest } = opts;
return {
...rest,
$kind: APP_EVENT_PAGE_INTENT_KIND,
platform: normalizePreviewPlaform(platform),
};
}
export function isAppEventPageIntent(intent) {
return (intent === null || intent === void 0 ? void 0 : intent.$kind) === APP_EVENT_PAGE_INTENT_KIND;
}
//# sourceMappingURL=app-event-page-intent.js.map
|