blob: 74b63740142de78d63b70e19bf130143a981fa6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import { normalizePreviewPlaform } from "../../models/preview-platform";
const SEARCH_LANDING_PAGE_INTENT_KIND = "SearchLandingPageIntent";
export function makeSearchLandingPageIntent(opts) {
const { platform, ...rest } = opts;
return {
...rest,
platform: normalizePreviewPlaform(platform),
$kind: SEARCH_LANDING_PAGE_INTENT_KIND,
};
}
export function isSearchLandingPageIntent(intent) {
return (intent === null || intent === void 0 ? void 0 : intent.$kind) === SEARCH_LANDING_PAGE_INTENT_KIND;
}
//# sourceMappingURL=search-landing-page-intent.js.map
|