@design-edito/tools 0.2.12 → 0.2.14
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/agnostic/arrays/index.js +6 -6
- package/agnostic/colors/index.js +7 -7
- package/agnostic/css/index.js +13 -13
- package/agnostic/html/hyper-json/cast/index.js +4 -4
- package/agnostic/html/hyper-json/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +4 -4
- package/agnostic/html/hyper-json/tree/index.js +4 -4
- package/agnostic/html/hyper-json/utils/index.js +4 -4
- package/agnostic/html/index.js +12 -12
- package/agnostic/misc/data-size/index.d.ts +26 -0
- package/agnostic/misc/data-size/index.js +27 -1
- package/agnostic/misc/index.js +21 -21
- package/agnostic/misc/logs/index.js +2 -2
- package/agnostic/misc/lorem-ipsum/index.js +8 -8
- package/agnostic/numbers/index.js +5 -5
- package/agnostic/objects/index.js +13 -13
- package/agnostic/strings/index.js +15 -15
- package/agnostic/time/index.js +4 -4
- package/chunks/{chunk-ZLPSLEWD.js → chunk-3TA4CDWX.js} +4 -4
- package/chunks/{chunk-5VOJAEZH.js → chunk-DEW6LPOS.js} +31 -20
- package/chunks/{chunk-WNP3U5KJ.js → chunk-DWCRT664.js} +5 -5
- package/chunks/{chunk-SDKHL27Y.js → chunk-G4ZB72XY.js} +52 -0
- package/chunks/{chunk-EAAX4SOA.js → chunk-GU34O65H.js} +14 -14
- package/chunks/{chunk-5CUF5ZK2.js → chunk-HMZMKLMR.js} +3 -3
- package/chunks/chunk-IFQA5PWI.js +112 -0
- package/chunks/{chunk-CFE44ZUR.js → chunk-KRDVV6K3.js} +2 -2
- package/node/@aws-s3/index.js +8 -8
- package/node/@aws-s3/storage/directory/index.js +4 -4
- package/node/@aws-s3/storage/file/index.js +8 -8
- package/node/@aws-s3/storage/index.js +8 -8
- package/node/@google-cloud/index.js +13 -13
- package/node/@google-cloud/storage/bucket/index.js +4 -4
- package/node/@google-cloud/storage/directory/index.js +4 -4
- package/node/@google-cloud/storage/file/index.js +15 -15
- package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +2 -2
- package/node/@google-cloud/storage/index.js +16 -16
- package/node/cloud-storage/index.js +26 -26
- package/node/cloud-storage/operations/index.js +33 -33
- package/node/files/index.js +3 -3
- package/node/ftps/directory/index.js +4 -4
- package/node/ftps/file/index.js +8 -8
- package/node/ftps/index.js +7 -7
- package/node/images/index.js +11 -10
- package/node/images/transform/index.d.ts +9 -2
- package/node/images/transform/index.js +8 -7
- package/node/images/transform/operations/composite/index.d.ts +7 -0
- package/node/images/transform/operations/composite/index.js +12 -0
- package/node/sftp/directory/index.js +4 -4
- package/node/sftp/file/index.js +8 -8
- package/node/sftp/index.js +7 -7
- package/package.json +1 -1
- package/chunks/{chunk-2J5PIJ7N.js → chunk-5TRAENM3.js} +9 -9
- package/chunks/{chunk-AY7SJG3R.js → chunk-6EJIBLPQ.js} +7 -7
- package/chunks/{chunk-IGFA7IDA.js → chunk-A7K5DUP7.js} +3 -3
- package/chunks/{chunk-HRSRRKOC.js → chunk-C5BQQUAG.js} +12 -12
- package/chunks/{chunk-LE23WL3C.js → chunk-CNMP2GU4.js} +3 -3
- package/chunks/{chunk-LV4WOREW.js → chunk-LEYJ4I5W.js} +7 -7
- package/chunks/{chunk-QN3UAKIU.js → chunk-MJQF3YZO.js} +3 -3
- package/chunks/{chunk-MWB5N33V.js → chunk-NRABY36Z.js} +9 -9
- package/chunks/{chunk-LRBVQNQI.js → chunk-S5MTHWQ7.js} +7 -7
- package/chunks/{chunk-OMTDHKJI.js → chunk-UEAMPAHK.js} +3 -3
- package/chunks/{chunk-4HPG6TEE.js → chunk-X5F6XGEP.js} +3 -3
- package/chunks/{chunk-G6C3VTOA.js → chunk-ZBAKY6DB.js} +3 -3
- package/chunks/{chunk-G5RRNREY.js → chunk-ZPDKBMUH.js} +3 -3
|
@@ -5,7 +5,20 @@ import {
|
|
|
5
5
|
// src/agnostic/misc/data-size/index.ts
|
|
6
6
|
var data_size_exports = {};
|
|
7
7
|
__export(data_size_exports, {
|
|
8
|
+
B: () => B,
|
|
8
9
|
DataSize: () => DataSize,
|
|
10
|
+
EB: () => EB,
|
|
11
|
+
EiB: () => EiB,
|
|
12
|
+
GB: () => GB,
|
|
13
|
+
GiB: () => GiB,
|
|
14
|
+
KB: () => KB,
|
|
15
|
+
KiB: () => KiB,
|
|
16
|
+
MB: () => MB,
|
|
17
|
+
MiB: () => MiB,
|
|
18
|
+
PB: () => PB,
|
|
19
|
+
PiB: () => PiB,
|
|
20
|
+
TB: () => TB,
|
|
21
|
+
TiB: () => TiB,
|
|
9
22
|
bits: () => bits,
|
|
10
23
|
bytes: () => bytes,
|
|
11
24
|
exabytes: () => exabytes,
|
|
@@ -93,54 +106,67 @@ var DataSize = class {
|
|
|
93
106
|
const bits2 = this.toBits();
|
|
94
107
|
return bits2 / 8;
|
|
95
108
|
}
|
|
109
|
+
toB = this.toBytes.bind(this);
|
|
96
110
|
toKiloBytes() {
|
|
97
111
|
const bytes2 = this.toBytes();
|
|
98
112
|
return bytes2 / 1e3;
|
|
99
113
|
}
|
|
114
|
+
toKB = this.toKiloBytes.bind(this);
|
|
100
115
|
toMegabytes() {
|
|
101
116
|
const bytes2 = this.toBytes();
|
|
102
117
|
return bytes2 / 1e3 / 1e3;
|
|
103
118
|
}
|
|
119
|
+
toMB = this.toMegabytes.bind(this);
|
|
104
120
|
toGigabytes() {
|
|
105
121
|
const bytes2 = this.toBytes();
|
|
106
122
|
return bytes2 / 1e3 / 1e3 / 1e3;
|
|
107
123
|
}
|
|
124
|
+
toGB = this.toGigabytes.bind(this);
|
|
108
125
|
toTerabytes() {
|
|
109
126
|
const bytes2 = this.toBytes();
|
|
110
127
|
return bytes2 / 1e3 / 1e3 / 1e3 / 1e3;
|
|
111
128
|
}
|
|
129
|
+
toTB = this.toTerabytes.bind(this);
|
|
112
130
|
toPetabytes() {
|
|
113
131
|
const bytes2 = this.toBytes();
|
|
114
132
|
return bytes2 / 1e3 / 1e3 / 1e3 / 1e3 / 1e3;
|
|
115
133
|
}
|
|
134
|
+
toPB = this.toPetabytes.bind(this);
|
|
116
135
|
toExabytes() {
|
|
117
136
|
const bytes2 = this.toBytes();
|
|
118
137
|
return bytes2 / 1e3 / 1e3 / 1e3 / 1e3 / 1e3 / 1e3;
|
|
119
138
|
}
|
|
139
|
+
toEB = this.toExabytes.bind(this);
|
|
120
140
|
toKibibytes() {
|
|
121
141
|
const bytes2 = this.toBytes();
|
|
122
142
|
return bytes2 / 1024;
|
|
123
143
|
}
|
|
144
|
+
toKiB = this.toKibibytes.bind(this);
|
|
124
145
|
toMebibytes() {
|
|
125
146
|
const bytes2 = this.toBytes();
|
|
126
147
|
return bytes2 / 1024 / 1024;
|
|
127
148
|
}
|
|
149
|
+
toMiB = this.toMebibytes.bind(this);
|
|
128
150
|
toGibibytes() {
|
|
129
151
|
const bytes2 = this.toBytes();
|
|
130
152
|
return bytes2 / 1024 / 1024 / 1024;
|
|
131
153
|
}
|
|
154
|
+
toGiB = this.toGibibytes.bind(this);
|
|
132
155
|
toTebibytes() {
|
|
133
156
|
const bytes2 = this.toBytes();
|
|
134
157
|
return bytes2 / 1024 / 1024 / 1024 / 1024;
|
|
135
158
|
}
|
|
159
|
+
toTiB = this.toTebibytes.bind(this);
|
|
136
160
|
toPebibytes() {
|
|
137
161
|
const bytes2 = this.toBytes();
|
|
138
162
|
return bytes2 / 1024 / 1024 / 1024 / 1024 / 1024;
|
|
139
163
|
}
|
|
164
|
+
toPiB = this.toPebibytes.bind(this);
|
|
140
165
|
toExbibytes() {
|
|
141
166
|
const bytes2 = this.toBytes();
|
|
142
167
|
return bytes2 / 1024 / 1024 / 1024 / 1024 / 1024 / 1024;
|
|
143
168
|
}
|
|
169
|
+
toEiB = this.toExbibytes.bind(this);
|
|
144
170
|
};
|
|
145
171
|
function bits(value) {
|
|
146
172
|
return new DataSize(value, "bit");
|
|
@@ -148,58 +174,84 @@ function bits(value) {
|
|
|
148
174
|
function bytes(value) {
|
|
149
175
|
return new DataSize(value, "byte");
|
|
150
176
|
}
|
|
177
|
+
var B = bytes;
|
|
151
178
|
function kiloBytes(value) {
|
|
152
179
|
return new DataSize(value, "kilobyte");
|
|
153
180
|
}
|
|
181
|
+
var KB = kiloBytes;
|
|
154
182
|
function megaBytes(value) {
|
|
155
183
|
return new DataSize(value, "megabyte");
|
|
156
184
|
}
|
|
185
|
+
var MB = megaBytes;
|
|
157
186
|
function gigabytes(value) {
|
|
158
187
|
return new DataSize(value, "gigabyte");
|
|
159
188
|
}
|
|
189
|
+
var GB = gigabytes;
|
|
160
190
|
function terabytes(value) {
|
|
161
191
|
return new DataSize(value, "terabyte");
|
|
162
192
|
}
|
|
193
|
+
var TB = terabytes;
|
|
163
194
|
function petabytes(value) {
|
|
164
195
|
return new DataSize(value, "petabyte");
|
|
165
196
|
}
|
|
197
|
+
var PB = petabytes;
|
|
166
198
|
function exabytes(value) {
|
|
167
199
|
return new DataSize(value, "exabyte");
|
|
168
200
|
}
|
|
201
|
+
var EB = exabytes;
|
|
169
202
|
function kibibytes(value) {
|
|
170
203
|
return new DataSize(value, "kibibyte");
|
|
171
204
|
}
|
|
205
|
+
var KiB = kibibytes;
|
|
172
206
|
function mebibytes(value) {
|
|
173
207
|
return new DataSize(value, "mebibyte");
|
|
174
208
|
}
|
|
209
|
+
var MiB = mebibytes;
|
|
175
210
|
function gibibytes(value) {
|
|
176
211
|
return new DataSize(value, "gibibyte");
|
|
177
212
|
}
|
|
213
|
+
var GiB = gibibytes;
|
|
178
214
|
function tebibytes(value) {
|
|
179
215
|
return new DataSize(value, "tebibyte");
|
|
180
216
|
}
|
|
217
|
+
var TiB = tebibytes;
|
|
181
218
|
function pebibytes(value) {
|
|
182
219
|
return new DataSize(value, "pebibyte");
|
|
183
220
|
}
|
|
221
|
+
var PiB = pebibytes;
|
|
184
222
|
function exbibytes(value) {
|
|
185
223
|
return new DataSize(value, "exbibyte");
|
|
186
224
|
}
|
|
225
|
+
var EiB = exbibytes;
|
|
187
226
|
|
|
188
227
|
export {
|
|
189
228
|
DataSize,
|
|
190
229
|
bits,
|
|
191
230
|
bytes,
|
|
231
|
+
B,
|
|
192
232
|
kiloBytes,
|
|
233
|
+
KB,
|
|
193
234
|
megaBytes,
|
|
235
|
+
MB,
|
|
194
236
|
gigabytes,
|
|
237
|
+
GB,
|
|
195
238
|
terabytes,
|
|
239
|
+
TB,
|
|
196
240
|
petabytes,
|
|
241
|
+
PB,
|
|
197
242
|
exabytes,
|
|
243
|
+
EB,
|
|
198
244
|
kibibytes,
|
|
245
|
+
KiB,
|
|
199
246
|
mebibytes,
|
|
247
|
+
MiB,
|
|
200
248
|
gibibytes,
|
|
249
|
+
GiB,
|
|
201
250
|
tebibytes,
|
|
251
|
+
TiB,
|
|
202
252
|
pebibytes,
|
|
253
|
+
PiB,
|
|
203
254
|
exbibytes,
|
|
255
|
+
EiB,
|
|
204
256
|
data_size_exports
|
|
205
257
|
};
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
+
import {
|
|
2
|
+
get_permissions_exports
|
|
3
|
+
} from "./chunk-YKPA3MQL.js";
|
|
4
|
+
import {
|
|
5
|
+
get_metadata_exports
|
|
6
|
+
} from "./chunk-42K3MQQ5.js";
|
|
1
7
|
import {
|
|
2
8
|
revoke_signed_urls_exports
|
|
3
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZPDKBMUH.js";
|
|
4
10
|
import {
|
|
5
11
|
update_metadata_exports
|
|
6
12
|
} from "./chunk-HWVEI3RH.js";
|
|
7
|
-
import {
|
|
8
|
-
get_metadata_exports
|
|
9
|
-
} from "./chunk-42K3MQQ5.js";
|
|
10
13
|
import {
|
|
11
14
|
generate_signed_url_exports
|
|
12
15
|
} from "./chunk-PAIUCLVK.js";
|
|
13
16
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import {
|
|
17
|
-
move_exports
|
|
18
|
-
} from "./chunk-6IYUA43Q.js";
|
|
17
|
+
download_exports
|
|
18
|
+
} from "./chunk-2JH4TCT2.js";
|
|
19
19
|
import {
|
|
20
20
|
remove_exports
|
|
21
21
|
} from "./chunk-7J7CYOXU.js";
|
|
22
|
-
import {
|
|
23
|
-
stat_exports
|
|
24
|
-
} from "./chunk-W3RXHN5I.js";
|
|
25
22
|
import {
|
|
26
23
|
upload_exports
|
|
27
24
|
} from "./chunk-FB3GNE2B.js";
|
|
28
25
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./chunk-
|
|
26
|
+
stat_exports
|
|
27
|
+
} from "./chunk-W3RXHN5I.js";
|
|
31
28
|
import {
|
|
32
29
|
copy_exports
|
|
33
30
|
} from "./chunk-CWZFRUBS.js";
|
|
34
31
|
import {
|
|
35
32
|
exists_exports
|
|
36
33
|
} from "./chunk-5VHFXWFM.js";
|
|
34
|
+
import {
|
|
35
|
+
move_exports
|
|
36
|
+
} from "./chunk-6IYUA43Q.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
39
|
} from "./chunk-WSFCRVEQ.js";
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import {
|
|
2
|
+
isSharpColor
|
|
3
|
+
} from "./chunk-MFYNJMVM.js";
|
|
4
|
+
import {
|
|
5
|
+
zod_default
|
|
6
|
+
} from "./chunk-DZ2T5DTY.js";
|
|
7
|
+
import {
|
|
8
|
+
Outcome
|
|
9
|
+
} from "./chunk-JMU5PDBD.js";
|
|
10
|
+
|
|
11
|
+
// src/node/images/transform/operations/composite/index.ts
|
|
12
|
+
var isSharpCreate = zod_default.object({
|
|
13
|
+
create: zod_default.object({
|
|
14
|
+
width: zod_default.number(),
|
|
15
|
+
height: zod_default.number(),
|
|
16
|
+
channels: zod_default.literal(3).or(zod_default.literal(4)),
|
|
17
|
+
background: zod_default.custom((val) => isSharpColor(val))
|
|
18
|
+
})
|
|
19
|
+
});
|
|
20
|
+
var isSharpText = zod_default.object({
|
|
21
|
+
text: zod_default.object({
|
|
22
|
+
text: zod_default.string(),
|
|
23
|
+
font: zod_default.string().optional(),
|
|
24
|
+
fontfile: zod_default.string().optional(),
|
|
25
|
+
width: zod_default.number(),
|
|
26
|
+
height: zod_default.number(),
|
|
27
|
+
align: zod_default.enum(["left", "center", "right"]).optional(),
|
|
28
|
+
justify: zod_default.boolean().optional(),
|
|
29
|
+
dpi: zod_default.number().optional(),
|
|
30
|
+
rgba: zod_default.boolean().optional(),
|
|
31
|
+
spacing: zod_default.number().optional()
|
|
32
|
+
})
|
|
33
|
+
});
|
|
34
|
+
var isSharpCreateRaw = zod_default.object({
|
|
35
|
+
raw: zod_default.object({
|
|
36
|
+
width: zod_default.number(),
|
|
37
|
+
height: zod_default.number(),
|
|
38
|
+
channels: zod_default.literal(3).or(zod_default.literal(4)),
|
|
39
|
+
data: zod_default.instanceof(Buffer),
|
|
40
|
+
animated: zod_default.boolean().optional()
|
|
41
|
+
})
|
|
42
|
+
});
|
|
43
|
+
function isCompositeOperationParams(obj) {
|
|
44
|
+
const schema = zod_default.object({
|
|
45
|
+
composite: zod_default.array(zod_default.object({
|
|
46
|
+
input: zod_default.union([
|
|
47
|
+
zod_default.string(),
|
|
48
|
+
zod_default.instanceof(Buffer),
|
|
49
|
+
isSharpCreate,
|
|
50
|
+
isSharpText,
|
|
51
|
+
isSharpCreateRaw
|
|
52
|
+
]),
|
|
53
|
+
top: zod_default.number().optional(),
|
|
54
|
+
left: zod_default.number().optional(),
|
|
55
|
+
blend: zod_default.enum([
|
|
56
|
+
"clear",
|
|
57
|
+
"source",
|
|
58
|
+
"over",
|
|
59
|
+
"in",
|
|
60
|
+
"out",
|
|
61
|
+
"atop",
|
|
62
|
+
"dest",
|
|
63
|
+
"dest-over",
|
|
64
|
+
"dest-in",
|
|
65
|
+
"dest-out",
|
|
66
|
+
"dest-atop",
|
|
67
|
+
"xor",
|
|
68
|
+
"add",
|
|
69
|
+
"saturate",
|
|
70
|
+
"multiply",
|
|
71
|
+
"screen",
|
|
72
|
+
"overlay",
|
|
73
|
+
"darken",
|
|
74
|
+
"lighten",
|
|
75
|
+
"color-dodge",
|
|
76
|
+
"colour-dodge",
|
|
77
|
+
"color-burn",
|
|
78
|
+
"colour-burn",
|
|
79
|
+
"hard-light",
|
|
80
|
+
"soft-light",
|
|
81
|
+
"difference",
|
|
82
|
+
"exclusion"
|
|
83
|
+
]).optional(),
|
|
84
|
+
tile: zod_default.boolean().optional(),
|
|
85
|
+
gravity: zod_default.enum([
|
|
86
|
+
"north",
|
|
87
|
+
"northeast",
|
|
88
|
+
"east",
|
|
89
|
+
"southeast",
|
|
90
|
+
"south",
|
|
91
|
+
"southwest",
|
|
92
|
+
"west",
|
|
93
|
+
"northwest",
|
|
94
|
+
"center",
|
|
95
|
+
"centre"
|
|
96
|
+
]).optional(),
|
|
97
|
+
premultiplied: zod_default.boolean().optional(),
|
|
98
|
+
density: zod_default.number().optional()
|
|
99
|
+
}))
|
|
100
|
+
});
|
|
101
|
+
const result = schema.safeParse(obj);
|
|
102
|
+
if (!result.success) return Outcome.makeFailure(result.error.message);
|
|
103
|
+
return Outcome.makeSuccess(result.data);
|
|
104
|
+
}
|
|
105
|
+
async function composite(sharpInstance, params) {
|
|
106
|
+
return sharpInstance.composite(params.composite);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export {
|
|
110
|
+
isCompositeOperationParams,
|
|
111
|
+
composite
|
|
112
|
+
};
|
package/node/@aws-s3/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
storage_exports
|
|
3
|
-
} from "../../chunks/chunk-
|
|
4
|
-
import "../../chunks/chunk-
|
|
5
|
-
import "../../chunks/chunk-
|
|
6
|
-
import "../../chunks/chunk-ON6LC3HE.js";
|
|
3
|
+
} from "../../chunks/chunk-KRDVV6K3.js";
|
|
4
|
+
import "../../chunks/chunk-ZBAKY6DB.js";
|
|
5
|
+
import "../../chunks/chunk-6EJIBLPQ.js";
|
|
7
6
|
import "../../chunks/chunk-ZSUG52DO.js";
|
|
8
|
-
import "../../chunks/chunk-
|
|
9
|
-
import "../../chunks/chunk-3TKBCG7Y.js";
|
|
7
|
+
import "../../chunks/chunk-ON6LC3HE.js";
|
|
10
8
|
import "../../chunks/chunk-4XSDRT23.js";
|
|
11
|
-
import "../../chunks/chunk-
|
|
9
|
+
import "../../chunks/chunk-IV75M3KE.js";
|
|
10
|
+
import "../../chunks/chunk-3TKBCG7Y.js";
|
|
12
11
|
import "../../chunks/chunk-FD5WR2A5.js";
|
|
12
|
+
import "../../chunks/chunk-VROZGPC5.js";
|
|
13
13
|
import "../../chunks/chunk-4XBUJAQU.js";
|
|
14
|
-
import "../../chunks/chunk-IV75M3KE.js";
|
|
15
14
|
import "../../chunks/chunk-C6QTHDDM.js";
|
|
16
15
|
import "../../chunks/chunk-ZEZCYPLQ.js";
|
|
16
|
+
import "../../chunks/chunk-QWZ4ZNFA.js";
|
|
17
17
|
import "../../chunks/chunk-JMU5PDBD.js";
|
|
18
18
|
import "../../chunks/chunk-FENXVJYO.js";
|
|
19
19
|
import "../../chunks/chunk-WSFCRVEQ.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "../../../../chunks/chunk-
|
|
2
|
-
import {
|
|
3
|
-
move_dir_exports
|
|
4
|
-
} from "../../../../chunks/chunk-ON6LC3HE.js";
|
|
1
|
+
import "../../../../chunks/chunk-ZBAKY6DB.js";
|
|
5
2
|
import {
|
|
6
3
|
list_exports
|
|
7
4
|
} from "../../../../chunks/chunk-ZSUG52DO.js";
|
|
5
|
+
import {
|
|
6
|
+
move_dir_exports
|
|
7
|
+
} from "../../../../chunks/chunk-ON6LC3HE.js";
|
|
8
8
|
import {
|
|
9
9
|
remove_dir_exports
|
|
10
10
|
} from "../../../../chunks/chunk-4XSDRT23.js";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import "../../../../chunks/chunk-
|
|
1
|
+
import "../../../../chunks/chunk-6EJIBLPQ.js";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "../../../../chunks/chunk-
|
|
3
|
+
download_exports
|
|
4
|
+
} from "../../../../chunks/chunk-IV75M3KE.js";
|
|
5
5
|
import {
|
|
6
6
|
remove_exports
|
|
7
7
|
} from "../../../../chunks/chunk-3TKBCG7Y.js";
|
|
8
|
-
import {
|
|
9
|
-
stat_exports
|
|
10
|
-
} from "../../../../chunks/chunk-VROZGPC5.js";
|
|
11
8
|
import {
|
|
12
9
|
upload_exports
|
|
13
10
|
} from "../../../../chunks/chunk-FD5WR2A5.js";
|
|
14
11
|
import {
|
|
15
|
-
|
|
16
|
-
} from "../../../../chunks/chunk-
|
|
12
|
+
stat_exports
|
|
13
|
+
} from "../../../../chunks/chunk-VROZGPC5.js";
|
|
17
14
|
import {
|
|
18
15
|
copy_exports
|
|
19
16
|
} from "../../../../chunks/chunk-C6QTHDDM.js";
|
|
20
17
|
import {
|
|
21
18
|
exists_exports
|
|
22
19
|
} from "../../../../chunks/chunk-ZEZCYPLQ.js";
|
|
20
|
+
import {
|
|
21
|
+
move_exports
|
|
22
|
+
} from "../../../../chunks/chunk-QWZ4ZNFA.js";
|
|
23
23
|
import "../../../../chunks/chunk-JMU5PDBD.js";
|
|
24
24
|
import "../../../../chunks/chunk-FENXVJYO.js";
|
|
25
25
|
import "../../../../chunks/chunk-WSFCRVEQ.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import "../../../chunks/chunk-
|
|
1
|
+
import "../../../chunks/chunk-KRDVV6K3.js";
|
|
2
2
|
import {
|
|
3
3
|
directory_exports
|
|
4
|
-
} from "../../../chunks/chunk-
|
|
4
|
+
} from "../../../chunks/chunk-ZBAKY6DB.js";
|
|
5
5
|
import {
|
|
6
6
|
file_exports
|
|
7
|
-
} from "../../../chunks/chunk-
|
|
8
|
-
import "../../../chunks/chunk-ON6LC3HE.js";
|
|
7
|
+
} from "../../../chunks/chunk-6EJIBLPQ.js";
|
|
9
8
|
import "../../../chunks/chunk-ZSUG52DO.js";
|
|
10
|
-
import "../../../chunks/chunk-
|
|
11
|
-
import "../../../chunks/chunk-3TKBCG7Y.js";
|
|
9
|
+
import "../../../chunks/chunk-ON6LC3HE.js";
|
|
12
10
|
import "../../../chunks/chunk-4XSDRT23.js";
|
|
13
|
-
import "../../../chunks/chunk-
|
|
11
|
+
import "../../../chunks/chunk-IV75M3KE.js";
|
|
12
|
+
import "../../../chunks/chunk-3TKBCG7Y.js";
|
|
14
13
|
import "../../../chunks/chunk-FD5WR2A5.js";
|
|
14
|
+
import "../../../chunks/chunk-VROZGPC5.js";
|
|
15
15
|
import "../../../chunks/chunk-4XBUJAQU.js";
|
|
16
|
-
import "../../../chunks/chunk-IV75M3KE.js";
|
|
17
16
|
import "../../../chunks/chunk-C6QTHDDM.js";
|
|
18
17
|
import "../../../chunks/chunk-ZEZCYPLQ.js";
|
|
18
|
+
import "../../../chunks/chunk-QWZ4ZNFA.js";
|
|
19
19
|
import "../../../chunks/chunk-JMU5PDBD.js";
|
|
20
20
|
import "../../../chunks/chunk-FENXVJYO.js";
|
|
21
21
|
import "../../../chunks/chunk-WSFCRVEQ.js";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
storage_exports
|
|
3
|
-
} from "../../chunks/chunk-
|
|
4
|
-
import "../../chunks/chunk-
|
|
5
|
-
import "../../chunks/chunk-
|
|
6
|
-
import "../../chunks/chunk-
|
|
3
|
+
} from "../../chunks/chunk-DWCRT664.js";
|
|
4
|
+
import "../../chunks/chunk-X5F6XGEP.js";
|
|
5
|
+
import "../../chunks/chunk-UEAMPAHK.js";
|
|
6
|
+
import "../../chunks/chunk-ZNA7SWFK.js";
|
|
7
|
+
import "../../chunks/chunk-GU34O65H.js";
|
|
8
|
+
import "../../chunks/chunk-YKPA3MQL.js";
|
|
7
9
|
import "../../chunks/chunk-42K3MQQ5.js";
|
|
10
|
+
import "../../chunks/chunk-ZPDKBMUH.js";
|
|
11
|
+
import "../../chunks/chunk-HWVEI3RH.js";
|
|
8
12
|
import "../../chunks/chunk-PAIUCLVK.js";
|
|
9
|
-
import "../../chunks/chunk-YKPA3MQL.js";
|
|
10
|
-
import "../../chunks/chunk-OMTDHKJI.js";
|
|
11
|
-
import "../../chunks/chunk-ZNA7SWFK.js";
|
|
12
|
-
import "../../chunks/chunk-4HPG6TEE.js";
|
|
13
|
-
import "../../chunks/chunk-BWYH445G.js";
|
|
14
13
|
import "../../chunks/chunk-37TRFYZT.js";
|
|
15
|
-
import "../../chunks/chunk-
|
|
16
|
-
import "../../chunks/chunk-7J7CYOXU.js";
|
|
14
|
+
import "../../chunks/chunk-BWYH445G.js";
|
|
17
15
|
import "../../chunks/chunk-QLDN574K.js";
|
|
18
|
-
import "../../chunks/chunk-
|
|
16
|
+
import "../../chunks/chunk-2JH4TCT2.js";
|
|
17
|
+
import "../../chunks/chunk-7J7CYOXU.js";
|
|
19
18
|
import "../../chunks/chunk-FB3GNE2B.js";
|
|
19
|
+
import "../../chunks/chunk-W3RXHN5I.js";
|
|
20
20
|
import "../../chunks/chunk-V3L55I2S.js";
|
|
21
|
-
import "../../chunks/chunk-2JH4TCT2.js";
|
|
22
21
|
import "../../chunks/chunk-CWZFRUBS.js";
|
|
23
22
|
import "../../chunks/chunk-5VHFXWFM.js";
|
|
23
|
+
import "../../chunks/chunk-6IYUA43Q.js";
|
|
24
24
|
import "../../chunks/chunk-JMU5PDBD.js";
|
|
25
25
|
import "../../chunks/chunk-FENXVJYO.js";
|
|
26
26
|
import "../../chunks/chunk-WSFCRVEQ.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "../../../../chunks/chunk-
|
|
1
|
+
import "../../../../chunks/chunk-UEAMPAHK.js";
|
|
2
2
|
import {
|
|
3
3
|
get_metadata_exports
|
|
4
4
|
} from "../../../../chunks/chunk-ZNA7SWFK.js";
|
|
5
|
-
import {
|
|
6
|
-
move_dir_exports
|
|
7
|
-
} from "../../../../chunks/chunk-BWYH445G.js";
|
|
8
5
|
import {
|
|
9
6
|
list_exports
|
|
10
7
|
} from "../../../../chunks/chunk-37TRFYZT.js";
|
|
8
|
+
import {
|
|
9
|
+
move_dir_exports
|
|
10
|
+
} from "../../../../chunks/chunk-BWYH445G.js";
|
|
11
11
|
import {
|
|
12
12
|
remove_dir_exports
|
|
13
13
|
} from "../../../../chunks/chunk-QLDN574K.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "../../../../chunks/chunk-
|
|
2
|
-
import {
|
|
3
|
-
move_dir_exports
|
|
4
|
-
} from "../../../../chunks/chunk-BWYH445G.js";
|
|
1
|
+
import "../../../../chunks/chunk-X5F6XGEP.js";
|
|
5
2
|
import {
|
|
6
3
|
list_exports
|
|
7
4
|
} from "../../../../chunks/chunk-37TRFYZT.js";
|
|
5
|
+
import {
|
|
6
|
+
move_dir_exports
|
|
7
|
+
} from "../../../../chunks/chunk-BWYH445G.js";
|
|
8
8
|
import {
|
|
9
9
|
remove_dir_exports
|
|
10
10
|
} from "../../../../chunks/chunk-QLDN574K.js";
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import "../../../../chunks/chunk-
|
|
1
|
+
import "../../../../chunks/chunk-GU34O65H.js";
|
|
2
|
+
import {
|
|
3
|
+
get_permissions_exports
|
|
4
|
+
} from "../../../../chunks/chunk-YKPA3MQL.js";
|
|
5
|
+
import {
|
|
6
|
+
get_metadata_exports
|
|
7
|
+
} from "../../../../chunks/chunk-42K3MQQ5.js";
|
|
2
8
|
import {
|
|
3
9
|
revoke_signed_urls_exports
|
|
4
|
-
} from "../../../../chunks/chunk-
|
|
10
|
+
} from "../../../../chunks/chunk-ZPDKBMUH.js";
|
|
5
11
|
import {
|
|
6
12
|
update_metadata_exports
|
|
7
13
|
} from "../../../../chunks/chunk-HWVEI3RH.js";
|
|
8
|
-
import {
|
|
9
|
-
get_metadata_exports
|
|
10
|
-
} from "../../../../chunks/chunk-42K3MQQ5.js";
|
|
11
14
|
import {
|
|
12
15
|
generate_signed_url_exports
|
|
13
16
|
} from "../../../../chunks/chunk-PAIUCLVK.js";
|
|
14
17
|
import {
|
|
15
|
-
|
|
16
|
-
} from "../../../../chunks/chunk-
|
|
17
|
-
import {
|
|
18
|
-
move_exports
|
|
19
|
-
} from "../../../../chunks/chunk-6IYUA43Q.js";
|
|
18
|
+
download_exports
|
|
19
|
+
} from "../../../../chunks/chunk-2JH4TCT2.js";
|
|
20
20
|
import {
|
|
21
21
|
remove_exports
|
|
22
22
|
} from "../../../../chunks/chunk-7J7CYOXU.js";
|
|
23
|
-
import {
|
|
24
|
-
stat_exports
|
|
25
|
-
} from "../../../../chunks/chunk-W3RXHN5I.js";
|
|
26
23
|
import {
|
|
27
24
|
upload_exports
|
|
28
25
|
} from "../../../../chunks/chunk-FB3GNE2B.js";
|
|
29
26
|
import {
|
|
30
|
-
|
|
31
|
-
} from "../../../../chunks/chunk-
|
|
27
|
+
stat_exports
|
|
28
|
+
} from "../../../../chunks/chunk-W3RXHN5I.js";
|
|
32
29
|
import {
|
|
33
30
|
copy_exports
|
|
34
31
|
} from "../../../../chunks/chunk-CWZFRUBS.js";
|
|
35
32
|
import {
|
|
36
33
|
exists_exports
|
|
37
34
|
} from "../../../../chunks/chunk-5VHFXWFM.js";
|
|
35
|
+
import {
|
|
36
|
+
move_exports
|
|
37
|
+
} from "../../../../chunks/chunk-6IYUA43Q.js";
|
|
38
38
|
import "../../../../chunks/chunk-JMU5PDBD.js";
|
|
39
39
|
import "../../../../chunks/chunk-FENXVJYO.js";
|
|
40
40
|
import "../../../../chunks/chunk-WSFCRVEQ.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
revokeSignedUrls
|
|
3
|
-
} from "../../../../../chunks/chunk-
|
|
3
|
+
} from "../../../../../chunks/chunk-ZPDKBMUH.js";
|
|
4
|
+
import "../../../../../chunks/chunk-2JH4TCT2.js";
|
|
4
5
|
import "../../../../../chunks/chunk-7J7CYOXU.js";
|
|
5
6
|
import "../../../../../chunks/chunk-FB3GNE2B.js";
|
|
6
|
-
import "../../../../../chunks/chunk-2JH4TCT2.js";
|
|
7
7
|
import "../../../../../chunks/chunk-JMU5PDBD.js";
|
|
8
8
|
import "../../../../../chunks/chunk-FENXVJYO.js";
|
|
9
9
|
import "../../../../../chunks/chunk-WSFCRVEQ.js";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import "../../../chunks/chunk-
|
|
1
|
+
import "../../../chunks/chunk-DWCRT664.js";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "../../../chunks/chunk-
|
|
5
|
-
import "../../../chunks/chunk-G5RRNREY.js";
|
|
6
|
-
import "../../../chunks/chunk-HWVEI3RH.js";
|
|
7
|
-
import "../../../chunks/chunk-42K3MQQ5.js";
|
|
8
|
-
import "../../../chunks/chunk-PAIUCLVK.js";
|
|
9
|
-
import "../../../chunks/chunk-YKPA3MQL.js";
|
|
3
|
+
directory_exports
|
|
4
|
+
} from "../../../chunks/chunk-X5F6XGEP.js";
|
|
10
5
|
import {
|
|
11
6
|
bucket_exports
|
|
12
|
-
} from "../../../chunks/chunk-
|
|
7
|
+
} from "../../../chunks/chunk-UEAMPAHK.js";
|
|
13
8
|
import "../../../chunks/chunk-ZNA7SWFK.js";
|
|
14
9
|
import {
|
|
15
|
-
|
|
16
|
-
} from "../../../chunks/chunk-
|
|
17
|
-
import "../../../chunks/chunk-
|
|
10
|
+
file_exports
|
|
11
|
+
} from "../../../chunks/chunk-GU34O65H.js";
|
|
12
|
+
import "../../../chunks/chunk-YKPA3MQL.js";
|
|
13
|
+
import "../../../chunks/chunk-42K3MQQ5.js";
|
|
14
|
+
import "../../../chunks/chunk-ZPDKBMUH.js";
|
|
15
|
+
import "../../../chunks/chunk-HWVEI3RH.js";
|
|
16
|
+
import "../../../chunks/chunk-PAIUCLVK.js";
|
|
18
17
|
import "../../../chunks/chunk-37TRFYZT.js";
|
|
19
|
-
import "../../../chunks/chunk-
|
|
20
|
-
import "../../../chunks/chunk-7J7CYOXU.js";
|
|
18
|
+
import "../../../chunks/chunk-BWYH445G.js";
|
|
21
19
|
import "../../../chunks/chunk-QLDN574K.js";
|
|
22
|
-
import "../../../chunks/chunk-
|
|
20
|
+
import "../../../chunks/chunk-2JH4TCT2.js";
|
|
21
|
+
import "../../../chunks/chunk-7J7CYOXU.js";
|
|
23
22
|
import "../../../chunks/chunk-FB3GNE2B.js";
|
|
23
|
+
import "../../../chunks/chunk-W3RXHN5I.js";
|
|
24
24
|
import "../../../chunks/chunk-V3L55I2S.js";
|
|
25
|
-
import "../../../chunks/chunk-2JH4TCT2.js";
|
|
26
25
|
import "../../../chunks/chunk-CWZFRUBS.js";
|
|
27
26
|
import "../../../chunks/chunk-5VHFXWFM.js";
|
|
27
|
+
import "../../../chunks/chunk-6IYUA43Q.js";
|
|
28
28
|
import "../../../chunks/chunk-JMU5PDBD.js";
|
|
29
29
|
import "../../../chunks/chunk-FENXVJYO.js";
|
|
30
30
|
import "../../../chunks/chunk-WSFCRVEQ.js";
|