From bce557cc2dc767628bed6aac87301a1be7c5431b Mon Sep 17 00:00:00 2001 From: rxliuli Date: Tue, 4 Nov 2025 05:03:50 +0800 Subject: init commit --- .../tmp/src/api/intents/routable-article-page-intent.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 node_modules/@jet-app/app-store/tmp/src/api/intents/routable-article-page-intent.js (limited to 'node_modules/@jet-app/app-store/tmp/src/api/intents/routable-article-page-intent.js') diff --git a/node_modules/@jet-app/app-store/tmp/src/api/intents/routable-article-page-intent.js b/node_modules/@jet-app/app-store/tmp/src/api/intents/routable-article-page-intent.js new file mode 100644 index 0000000..1f41b32 --- /dev/null +++ b/node_modules/@jet-app/app-store/tmp/src/api/intents/routable-article-page-intent.js @@ -0,0 +1,13 @@ +import { normalizePreviewPlaform } from "../models/preview-platform"; +import { normalizeAdamID } from "../util"; +const ROUTABLE_ARTICLE_PAGE_INTENT_KIND = "RoutableArticlePageIntent"; +export function makeRoutableArticlePageIntent(opts) { + const { id, platform, ...rest } = opts; + return { + ...rest, + id: normalizeAdamID(id), + platform: normalizePreviewPlaform(platform), + $kind: ROUTABLE_ARTICLE_PAGE_INTENT_KIND, + }; +} +//# sourceMappingURL=routable-article-page-intent.js.map \ No newline at end of file -- cgit v1.2.3