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