import { normalizePreviewPlaform } from "../../models/preview-platform";
const EDITORIAL_SHELF_COLLECTION_PAGE_INTENT_KIND = "EditorialShelfCollectionPageIntent";
export function isEditorialShelfCollectionPageIntent(intent) {
    return intent.$kind === EDITORIAL_SHELF_COLLECTION_PAGE_INTENT_KIND;
}
export function makeEditorialShelfCollectionPageIntent(opts) {
    const { platform, ...rest } = opts;
    return {
        ...rest,
        $kind: EDITORIAL_SHELF_COLLECTION_PAGE_INTENT_KIND,
        platform: normalizePreviewPlaform(platform),
    };
}
//# sourceMappingURL=editorial-shelf-collection-page-intent.js.map