summaryrefslogtreecommitdiff
path: root/node_modules/@jet-app/app-store/tmp/src/api/intents/bundle-page-intent.js
blob: b6bed12a315275764a68a79d914be320eb7896f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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