@supernova-studio/client 1.40.11 → 1.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +19 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1992 -1973
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -218,6 +218,7 @@ var _ipcidr = require('ip-cidr'); var _ipcidr2 = _interopRequireDefault(_ipcidr)
|
|
|
218
218
|
|
|
219
219
|
|
|
220
220
|
|
|
221
|
+
|
|
221
222
|
|
|
222
223
|
|
|
223
224
|
var __defProp2 = Object.defineProperty;
|
|
@@ -5801,6 +5802,24 @@ var NpmPackage = AnyRecord.and(
|
|
|
5801
5802
|
var NpmProxyTokenPayload = _zod.z.object({
|
|
5802
5803
|
npmProxyRegistryConfigId: _zod.z.string()
|
|
5803
5804
|
});
|
|
5805
|
+
var PageScreenshotInput = _zod.z.object({
|
|
5806
|
+
url: _zod.z.string().url(),
|
|
5807
|
+
elementSelector: _zod.z.string(),
|
|
5808
|
+
uploadUrl: _zod.z.string().url(),
|
|
5809
|
+
imageSize: _zod.z.object({
|
|
5810
|
+
width: _zod.z.number().positive(),
|
|
5811
|
+
height: _zod.z.number().positive()
|
|
5812
|
+
}).optional()
|
|
5813
|
+
});
|
|
5814
|
+
var PageScreenshotOutput = _zod.z.discriminatedUnion("success", [
|
|
5815
|
+
_zod.z.object({
|
|
5816
|
+
success: _zod.z.literal(true)
|
|
5817
|
+
}),
|
|
5818
|
+
_zod.z.object({
|
|
5819
|
+
success: _zod.z.literal(false),
|
|
5820
|
+
error: _zod.z.string()
|
|
5821
|
+
})
|
|
5822
|
+
]);
|
|
5804
5823
|
var PortalSettingsTheme = UserTheme;
|
|
5805
5824
|
var PortalSettingsSidebarLink = _zod.z.object({
|
|
5806
5825
|
name: _zod.z.string(),
|