@jxsuite/schema 0.28.0 → 0.28.2
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/defs/image-config.schema.ts +11 -5
- package/package.json +1 -1
- package/project-schema.json +2 -4
- package/schema.json +2 -4
- package/types.ts +0 -1
|
@@ -16,13 +16,19 @@ export const imageConfigSchema = {
|
|
|
16
16
|
},
|
|
17
17
|
sizes: { type: "string" },
|
|
18
18
|
lazyLoad: { type: "boolean" },
|
|
19
|
-
service: {
|
|
20
|
-
|
|
19
|
+
service: {
|
|
20
|
+
description:
|
|
21
|
+
'How images are optimized: "build" runs Sharp at build time; "cloudflare" emits ' +
|
|
22
|
+
"/cdn-cgi/image transform URLs served by Cloudflare Image Transformations (requires " +
|
|
23
|
+
"the feature to be enabled on the serving zone).",
|
|
24
|
+
type: "string",
|
|
25
|
+
enum: ["build", "cloudflare"],
|
|
26
|
+
},
|
|
21
27
|
remoteDomains: {
|
|
22
28
|
description:
|
|
23
|
-
"Hostnames whose remote (https) images are optimized through
|
|
24
|
-
'(cloudflare service only), e.g. ["drive.usercontent.google.com"]. Remote sources
|
|
25
|
-
"other hosts are left untouched.",
|
|
29
|
+
"Hostnames whose remote (https) images are optimized through /cdn-cgi/image transform " +
|
|
30
|
+
'URLs (cloudflare service only), e.g. ["drive.usercontent.google.com"]. Remote sources ' +
|
|
31
|
+
"from other hosts are left untouched.",
|
|
26
32
|
type: "array",
|
|
27
33
|
items: { type: "string" },
|
|
28
34
|
},
|
package/package.json
CHANGED
package/project-schema.json
CHANGED
|
@@ -313,17 +313,15 @@
|
|
|
313
313
|
"type": "boolean"
|
|
314
314
|
},
|
|
315
315
|
"service": {
|
|
316
|
+
"description": "How images are optimized: \"build\" runs Sharp at build time; \"cloudflare\" emits /cdn-cgi/image transform URLs served by Cloudflare Image Transformations (requires the feature to be enabled on the serving zone).",
|
|
316
317
|
"type": "string",
|
|
317
318
|
"enum": [
|
|
318
319
|
"build",
|
|
319
320
|
"cloudflare"
|
|
320
321
|
]
|
|
321
322
|
},
|
|
322
|
-
"binding": {
|
|
323
|
-
"type": "string"
|
|
324
|
-
},
|
|
325
323
|
"remoteDomains": {
|
|
326
|
-
"description": "Hostnames whose remote (https) images are optimized through
|
|
324
|
+
"description": "Hostnames whose remote (https) images are optimized through /cdn-cgi/image transform URLs (cloudflare service only), e.g. [\"drive.usercontent.google.com\"]. Remote sources from other hosts are left untouched.",
|
|
327
325
|
"type": "array",
|
|
328
326
|
"items": {
|
|
329
327
|
"type": "string"
|
package/schema.json
CHANGED
|
@@ -21775,17 +21775,15 @@
|
|
|
21775
21775
|
"type": "boolean"
|
|
21776
21776
|
},
|
|
21777
21777
|
"service": {
|
|
21778
|
+
"description": "How images are optimized: \"build\" runs Sharp at build time; \"cloudflare\" emits /cdn-cgi/image transform URLs served by Cloudflare Image Transformations (requires the feature to be enabled on the serving zone).",
|
|
21778
21779
|
"type": "string",
|
|
21779
21780
|
"enum": [
|
|
21780
21781
|
"build",
|
|
21781
21782
|
"cloudflare"
|
|
21782
21783
|
]
|
|
21783
21784
|
},
|
|
21784
|
-
"binding": {
|
|
21785
|
-
"type": "string"
|
|
21786
|
-
},
|
|
21787
21785
|
"remoteDomains": {
|
|
21788
|
-
"description": "Hostnames whose remote (https) images are optimized through
|
|
21786
|
+
"description": "Hostnames whose remote (https) images are optimized through /cdn-cgi/image transform URLs (cloudflare service only), e.g. [\"drive.usercontent.google.com\"]. Remote sources from other hosts are left untouched.",
|
|
21789
21787
|
"type": "array",
|
|
21790
21788
|
"items": {
|
|
21791
21789
|
"type": "string"
|