summaryrefslogtreecommitdiff
path: root/node_modules/@jet-app/app-store/tmp/src/foundation/wrappers/apple-silicon.js
blob: 4371e776ab334f6f0e515eafc8c58b2141401c19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import { makeMetatype } from "@jet/environment/util/metatype";
import * as serverData from "../../foundation/json-parsing/server-data";
import { Wrapper } from "./wrapper";
export class AppleSiliconWrapper extends Wrapper {
    get isSupportEnabled() {
        return serverData.isDefinedNonNull(this.implementation) && this.implementation.isSupportEnabled;
    }
    get isRosettaAvailable() {
        return serverData.isDefinedNonNull(this.implementation) && this.implementation.isRosettaAvailable;
    }
}
AppleSiliconWrapper.type = makeMetatype("app-store:as-wrapper");
//# sourceMappingURL=apple-silicon.js.map