scriptable-testlab
Version:
A lightweight, efficient tool designed to manage and update scripts for Scriptable.
91 lines • 2.46 kB
JavaScript
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var runtime_exports = {};
__export(runtime_exports, {
RuntimePresets: () => RuntimePresets
});
module.exports = __toCommonJS(runtime_exports);
const RuntimePresets = {
darkMode: {
device: {
appearance: {
isUsingDarkAppearance: true
}
}
},
lightMode: {
device: {
appearance: {
isUsingDarkAppearance: false
}
}
},
smallWidget: {
widget: {
widgetFamily: "small",
runsInWidget: true,
runsInApp: false,
runsWithSiri: false,
runsInActionExtension: false,
runsInNotification: false,
runsFromHomeScreen: false,
runsInAccessoryWidget: false
}
},
mediumWidget: {
widget: {
widgetFamily: "medium",
runsInWidget: true,
runsInApp: false,
runsWithSiri: false,
runsInActionExtension: false,
runsInNotification: false,
runsFromHomeScreen: false,
runsInAccessoryWidget: false
}
},
largeWidget: {
widget: {
widgetFamily: "large",
runsInWidget: true,
runsInApp: false,
runsWithSiri: false,
runsInActionExtension: false,
runsInNotification: false,
runsFromHomeScreen: false,
runsInAccessoryWidget: false
}
},
iPhone14Pro: {
device: {
name: "iPhone 14 Pro",
model: "iPhone",
systemName: "iOS",
systemVersion: "16.0",
screenSize: { width: 393, height: 852 },
screenResolution: { width: 1179, height: 2556 },
screenScale: 3,
screenBrightness: 1
}
}
};
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
RuntimePresets
});
//# sourceMappingURL=runtime.js.map