import { normalizeAdamID } from "../util"; import { normalizePreviewPlaform } from "../models/preview-platform"; export function makeBundlePageIntent(opts) { const { id, platform, lic, ...rest } = opts; return { $kind: "BundlePageIntent", id: normalizeAdamID(id), platform: normalizePreviewPlaform(platform), lic, ...rest, }; } export function isBundlePageIntent(intent) { return (intent === null || intent === void 0 ? void 0 : intent.$kind) === "BundlePageIntent"; } //# sourceMappingURL=bundle-page-intent.js.map