summaryrefslogtreecommitdiff
path: root/node_modules/@jet-app/app-store/tmp/src/api/intents/eula-page-intent.js
blob: f040ff99329328d89094058c33c970213d43e9f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
const EULA_PAGE_INTENT_KIND = "EulaPageIntent";
/**
 * Determines if {@linkcode intent} is a {@linkcode EulaPageIntent}
 */
export function isEulaPageIntent(intent) {
    return intent.$kind === EULA_PAGE_INTENT_KIND;
}
/**
 * Creates a {@linkcode EulaPageIntent}
 */
export function makeEulaPageIntent({ resourceId, resourceType, ...rest }) {
    return {
        ...rest,
        resourceId,
        resourceType,
        $kind: EULA_PAGE_INTENT_KIND,
    };
}
//# sourceMappingURL=eula-page-intent.js.map