astro 5.8.1 → 5.9.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/actions/runtime/utils.d.ts +1 -1
- package/dist/assets/fonts/config.d.ts +21 -21
- package/dist/container/index.js +2 -1
- package/dist/content/content-layer.js +14 -3
- package/dist/content/loaders/types.d.ts +3 -0
- package/dist/content/utils.d.ts +26 -10
- package/dist/content/utils.js +1 -0
- package/dist/core/app/types.d.ts +12 -1
- package/dist/core/base-pipeline.js +3 -3
- package/dist/core/build/generate.d.ts +1 -1
- package/dist/core/build/generate.js +38 -4
- package/dist/core/build/internal.d.ts +1 -0
- package/dist/core/build/internal.js +2 -1
- package/dist/core/build/plugins/index.js +1 -1
- package/dist/core/build/plugins/plugin-internals.d.ts +2 -1
- package/dist/core/build/plugins/plugin-internals.js +7 -4
- package/dist/core/build/plugins/plugin-manifest.js +37 -3
- package/dist/core/config/schemas/base.d.ts +435 -331
- package/dist/core/config/schemas/base.js +20 -2
- package/dist/core/config/schemas/index.d.ts +1 -1
- package/dist/core/config/schemas/index.js +4 -1
- package/dist/core/config/schemas/relative.d.ts +681 -552
- package/dist/core/constants.js +1 -1
- package/dist/core/csp/common.d.ts +16 -0
- package/dist/core/csp/common.js +116 -0
- package/dist/core/csp/config.d.ts +16 -0
- package/dist/core/csp/config.js +52 -0
- package/dist/core/dev/dev.js +1 -1
- package/dist/core/encryption.d.ts +8 -0
- package/dist/core/encryption.js +7 -0
- package/dist/core/errors/errors-data.d.ts +12 -0
- package/dist/core/errors/errors-data.js +6 -0
- package/dist/core/messages.js +2 -2
- package/dist/core/middleware/index.js +10 -0
- package/dist/core/middleware/sequence.js +2 -2
- package/dist/core/render-context.d.ts +1 -0
- package/dist/core/render-context.js +77 -5
- package/dist/env/schema.d.ts +34 -34
- package/dist/integrations/features-validation.js +36 -30
- package/dist/integrations/hooks.d.ts +3 -2
- package/dist/runtime/server/astro-island-styles.d.ts +1 -0
- package/dist/runtime/server/astro-island-styles.js +4 -0
- package/dist/runtime/server/index.d.ts +1 -0
- package/dist/runtime/server/render/astro/factory.d.ts +3 -2
- package/dist/runtime/server/render/astro/factory.js +6 -1
- package/dist/runtime/server/render/astro/head-and-content.d.ts +7 -0
- package/dist/runtime/server/render/astro/head-and-content.js +6 -0
- package/dist/runtime/server/render/astro/render.d.ts +1 -0
- package/dist/runtime/server/render/astro/render.js +2 -1
- package/dist/runtime/server/render/common.d.ts +1 -1
- package/dist/runtime/server/render/common.js +5 -3
- package/dist/runtime/server/render/component.js +8 -2
- package/dist/runtime/server/render/csp.d.ts +2 -0
- package/dist/runtime/server/render/csp.js +35 -0
- package/dist/runtime/server/render/head.js +14 -0
- package/dist/runtime/server/render/page.d.ts +1 -1
- package/dist/runtime/server/render/page.js +1 -1
- package/dist/runtime/server/render/server-islands.d.ts +14 -3
- package/dist/runtime/server/render/server-islands.js +100 -69
- package/dist/runtime/server/render/util.js +3 -0
- package/dist/runtime/server/scripts.d.ts +1 -1
- package/dist/runtime/server/scripts.js +2 -5
- package/dist/runtime/server/transition.d.ts +1 -1
- package/dist/runtime/server/transition.js +7 -2
- package/dist/types/public/config.d.ts +240 -0
- package/dist/types/public/context.d.ts +51 -0
- package/dist/types/public/integrations.d.ts +9 -0
- package/dist/types/public/internal.d.ts +24 -2
- package/dist/vite-plugin-astro-server/plugin.js +26 -4
- package/package.json +2 -2
|
@@ -58,25 +58,25 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
58
58
|
inlineStylesheets: z.ZodDefault<z.ZodOptional<z.ZodEnum<["always", "auto", "never"]>>>;
|
|
59
59
|
concurrency: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
60
60
|
}, "strip", z.ZodTypeAny, {
|
|
61
|
+
redirects: boolean;
|
|
62
|
+
assets: string;
|
|
63
|
+
format: "preserve" | "file" | "directory";
|
|
61
64
|
client: URL;
|
|
62
|
-
format: "file" | "directory" | "preserve";
|
|
63
65
|
server: URL;
|
|
64
|
-
assets: string;
|
|
65
66
|
serverEntry: string;
|
|
66
|
-
|
|
67
|
-
inlineStylesheets: "never" | "always" | "auto";
|
|
67
|
+
inlineStylesheets: "auto" | "never" | "always";
|
|
68
68
|
concurrency: number;
|
|
69
69
|
assetsPrefix?: string | ({
|
|
70
70
|
fallback: string;
|
|
71
71
|
} & Record<string, string>) | undefined;
|
|
72
72
|
}, {
|
|
73
|
+
redirects?: boolean | undefined;
|
|
74
|
+
assets?: string | undefined;
|
|
75
|
+
format?: "preserve" | "file" | "directory" | undefined;
|
|
73
76
|
client?: string | undefined;
|
|
74
|
-
format?: "file" | "directory" | "preserve" | undefined;
|
|
75
77
|
server?: string | undefined;
|
|
76
|
-
assets?: string | undefined;
|
|
77
78
|
serverEntry?: string | undefined;
|
|
78
|
-
|
|
79
|
-
inlineStylesheets?: "never" | "always" | "auto" | undefined;
|
|
79
|
+
inlineStylesheets?: "auto" | "never" | "always" | undefined;
|
|
80
80
|
concurrency?: number | undefined;
|
|
81
81
|
assetsPrefix?: string | ({
|
|
82
82
|
fallback: string;
|
|
@@ -111,10 +111,10 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
111
111
|
status: z.ZodUnion<[z.ZodLiteral<300>, z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<303>, z.ZodLiteral<304>, z.ZodLiteral<307>, z.ZodLiteral<308>]>;
|
|
112
112
|
destination: z.ZodString;
|
|
113
113
|
}, "strip", z.ZodTypeAny, {
|
|
114
|
-
status:
|
|
114
|
+
status: 301 | 302 | 303 | 307 | 308 | 300 | 304;
|
|
115
115
|
destination: string;
|
|
116
116
|
}, {
|
|
117
|
-
status:
|
|
117
|
+
status: 301 | 302 | 303 | 307 | 308 | 300 | 304;
|
|
118
118
|
destination: string;
|
|
119
119
|
}>]>>>;
|
|
120
120
|
prefetch: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
@@ -122,10 +122,10 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
122
122
|
defaultStrategy: z.ZodOptional<z.ZodEnum<["tap", "hover", "viewport", "load"]>>;
|
|
123
123
|
}, "strip", z.ZodTypeAny, {
|
|
124
124
|
prefetchAll?: boolean | undefined;
|
|
125
|
-
defaultStrategy?: "
|
|
125
|
+
defaultStrategy?: "tap" | "hover" | "viewport" | "load" | undefined;
|
|
126
126
|
}, {
|
|
127
127
|
prefetchAll?: boolean | undefined;
|
|
128
|
-
defaultStrategy?: "
|
|
128
|
+
defaultStrategy?: "tap" | "hover" | "viewport" | "load" | undefined;
|
|
129
129
|
}>]>>;
|
|
130
130
|
image: z.ZodDefault<z.ZodObject<{
|
|
131
131
|
endpoint: z.ZodDefault<z.ZodObject<{
|
|
@@ -142,11 +142,11 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
142
142
|
entrypoint: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"astro/assets/services/sharp">, z.ZodString]>>;
|
|
143
143
|
config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
144
144
|
}, "strip", z.ZodTypeAny, {
|
|
145
|
-
entrypoint: string;
|
|
146
145
|
config: Record<string, any>;
|
|
146
|
+
entrypoint: string;
|
|
147
147
|
}, {
|
|
148
|
-
entrypoint?: string | undefined;
|
|
149
148
|
config?: Record<string, any> | undefined;
|
|
149
|
+
entrypoint?: string | undefined;
|
|
150
150
|
}>>;
|
|
151
151
|
domains: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
152
152
|
remotePatterns: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -177,8 +177,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
177
177
|
entrypoint?: string | undefined;
|
|
178
178
|
};
|
|
179
179
|
service: {
|
|
180
|
-
entrypoint: string;
|
|
181
180
|
config: Record<string, any>;
|
|
181
|
+
entrypoint: string;
|
|
182
182
|
};
|
|
183
183
|
domains: string[];
|
|
184
184
|
remotePatterns: {
|
|
@@ -187,7 +187,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
187
187
|
hostname?: string | undefined;
|
|
188
188
|
pathname?: string | undefined;
|
|
189
189
|
}[];
|
|
190
|
-
experimentalLayout?: "
|
|
190
|
+
experimentalLayout?: "fixed" | "constrained" | "full-width" | "none" | undefined;
|
|
191
191
|
experimentalObjectFit?: string | undefined;
|
|
192
192
|
experimentalObjectPosition?: string | undefined;
|
|
193
193
|
experimentalBreakpoints?: number[] | undefined;
|
|
@@ -198,8 +198,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
198
198
|
route?: string | undefined;
|
|
199
199
|
} | undefined;
|
|
200
200
|
service?: {
|
|
201
|
-
entrypoint?: string | undefined;
|
|
202
201
|
config?: Record<string, any> | undefined;
|
|
202
|
+
entrypoint?: string | undefined;
|
|
203
203
|
} | undefined;
|
|
204
204
|
domains?: string[] | undefined;
|
|
205
205
|
remotePatterns?: {
|
|
@@ -208,7 +208,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
208
208
|
hostname?: string | undefined;
|
|
209
209
|
pathname?: string | undefined;
|
|
210
210
|
}[] | undefined;
|
|
211
|
-
experimentalLayout?: "
|
|
211
|
+
experimentalLayout?: "fixed" | "constrained" | "full-width" | "none" | undefined;
|
|
212
212
|
experimentalObjectFit?: string | undefined;
|
|
213
213
|
experimentalObjectPosition?: string | undefined;
|
|
214
214
|
experimentalBreakpoints?: number[] | undefined;
|
|
@@ -416,22 +416,22 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
416
416
|
includes?: string | undefined;
|
|
417
417
|
endsWith?: string | undefined;
|
|
418
418
|
startsWith?: string | undefined;
|
|
419
|
-
default?: string | undefined;
|
|
420
419
|
optional?: boolean | undefined;
|
|
420
|
+
url?: boolean | undefined;
|
|
421
|
+
default?: string | undefined;
|
|
421
422
|
max?: number | undefined;
|
|
422
423
|
min?: number | undefined;
|
|
423
|
-
url?: boolean | undefined;
|
|
424
424
|
}, {
|
|
425
425
|
type: "string";
|
|
426
426
|
length?: number | undefined;
|
|
427
427
|
includes?: string | undefined;
|
|
428
428
|
endsWith?: string | undefined;
|
|
429
429
|
startsWith?: string | undefined;
|
|
430
|
-
default?: string | undefined;
|
|
431
430
|
optional?: boolean | undefined;
|
|
431
|
+
url?: boolean | undefined;
|
|
432
|
+
default?: string | undefined;
|
|
432
433
|
max?: number | undefined;
|
|
433
434
|
min?: number | undefined;
|
|
434
|
-
url?: boolean | undefined;
|
|
435
435
|
}>, z.ZodObject<{
|
|
436
436
|
type: z.ZodLiteral<"number">;
|
|
437
437
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -443,8 +443,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
443
443
|
int: z.ZodOptional<z.ZodBoolean>;
|
|
444
444
|
}, "strip", z.ZodTypeAny, {
|
|
445
445
|
type: "number";
|
|
446
|
-
default?: number | undefined;
|
|
447
446
|
optional?: boolean | undefined;
|
|
447
|
+
default?: number | undefined;
|
|
448
448
|
max?: number | undefined;
|
|
449
449
|
min?: number | undefined;
|
|
450
450
|
gt?: number | undefined;
|
|
@@ -452,8 +452,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
452
452
|
int?: boolean | undefined;
|
|
453
453
|
}, {
|
|
454
454
|
type: "number";
|
|
455
|
-
default?: number | undefined;
|
|
456
455
|
optional?: boolean | undefined;
|
|
456
|
+
default?: number | undefined;
|
|
457
457
|
max?: number | undefined;
|
|
458
458
|
min?: number | undefined;
|
|
459
459
|
gt?: number | undefined;
|
|
@@ -465,12 +465,12 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
465
465
|
default: z.ZodOptional<z.ZodBoolean>;
|
|
466
466
|
}, "strip", z.ZodTypeAny, {
|
|
467
467
|
type: "boolean";
|
|
468
|
-
default?: boolean | undefined;
|
|
469
468
|
optional?: boolean | undefined;
|
|
469
|
+
default?: boolean | undefined;
|
|
470
470
|
}, {
|
|
471
471
|
type: "boolean";
|
|
472
|
-
default?: boolean | undefined;
|
|
473
472
|
optional?: boolean | undefined;
|
|
473
|
+
default?: boolean | undefined;
|
|
474
474
|
}>, z.ZodEffects<z.ZodObject<{
|
|
475
475
|
type: z.ZodLiteral<"enum">;
|
|
476
476
|
values: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
@@ -479,23 +479,23 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
479
479
|
}, "strip", z.ZodTypeAny, {
|
|
480
480
|
values: string[];
|
|
481
481
|
type: "enum";
|
|
482
|
-
default?: string | undefined;
|
|
483
482
|
optional?: boolean | undefined;
|
|
483
|
+
default?: string | undefined;
|
|
484
484
|
}, {
|
|
485
485
|
values: string[];
|
|
486
486
|
type: "enum";
|
|
487
|
-
default?: string | undefined;
|
|
488
487
|
optional?: boolean | undefined;
|
|
488
|
+
default?: string | undefined;
|
|
489
489
|
}>, {
|
|
490
490
|
values: string[];
|
|
491
491
|
type: "enum";
|
|
492
|
-
default?: string | undefined;
|
|
493
492
|
optional?: boolean | undefined;
|
|
493
|
+
default?: string | undefined;
|
|
494
494
|
}, {
|
|
495
495
|
values: string[];
|
|
496
496
|
type: "enum";
|
|
497
|
-
default?: string | undefined;
|
|
498
497
|
optional?: boolean | undefined;
|
|
498
|
+
default?: string | undefined;
|
|
499
499
|
}>]>>>>>;
|
|
500
500
|
validateSecrets: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
501
501
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -515,15 +515,15 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
515
515
|
includes?: string | undefined;
|
|
516
516
|
endsWith?: string | undefined;
|
|
517
517
|
startsWith?: string | undefined;
|
|
518
|
-
default?: string | undefined;
|
|
519
518
|
optional?: boolean | undefined;
|
|
519
|
+
url?: boolean | undefined;
|
|
520
|
+
default?: string | undefined;
|
|
520
521
|
max?: number | undefined;
|
|
521
522
|
min?: number | undefined;
|
|
522
|
-
url?: boolean | undefined;
|
|
523
523
|
} | {
|
|
524
524
|
type: "number";
|
|
525
|
-
default?: number | undefined;
|
|
526
525
|
optional?: boolean | undefined;
|
|
526
|
+
default?: number | undefined;
|
|
527
527
|
max?: number | undefined;
|
|
528
528
|
min?: number | undefined;
|
|
529
529
|
gt?: number | undefined;
|
|
@@ -531,13 +531,13 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
531
531
|
int?: boolean | undefined;
|
|
532
532
|
} | {
|
|
533
533
|
type: "boolean";
|
|
534
|
-
default?: boolean | undefined;
|
|
535
534
|
optional?: boolean | undefined;
|
|
535
|
+
default?: boolean | undefined;
|
|
536
536
|
} | {
|
|
537
537
|
values: string[];
|
|
538
538
|
type: "enum";
|
|
539
|
-
default?: string | undefined;
|
|
540
539
|
optional?: boolean | undefined;
|
|
540
|
+
default?: string | undefined;
|
|
541
541
|
})>;
|
|
542
542
|
}, {
|
|
543
543
|
validateSecrets?: boolean | undefined;
|
|
@@ -556,15 +556,15 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
556
556
|
includes?: string | undefined;
|
|
557
557
|
endsWith?: string | undefined;
|
|
558
558
|
startsWith?: string | undefined;
|
|
559
|
-
default?: string | undefined;
|
|
560
559
|
optional?: boolean | undefined;
|
|
560
|
+
url?: boolean | undefined;
|
|
561
|
+
default?: string | undefined;
|
|
561
562
|
max?: number | undefined;
|
|
562
563
|
min?: number | undefined;
|
|
563
|
-
url?: boolean | undefined;
|
|
564
564
|
} | {
|
|
565
565
|
type: "number";
|
|
566
|
-
default?: number | undefined;
|
|
567
566
|
optional?: boolean | undefined;
|
|
567
|
+
default?: number | undefined;
|
|
568
568
|
max?: number | undefined;
|
|
569
569
|
min?: number | undefined;
|
|
570
570
|
gt?: number | undefined;
|
|
@@ -572,13 +572,13 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
572
572
|
int?: boolean | undefined;
|
|
573
573
|
} | {
|
|
574
574
|
type: "boolean";
|
|
575
|
-
default?: boolean | undefined;
|
|
576
575
|
optional?: boolean | undefined;
|
|
576
|
+
default?: boolean | undefined;
|
|
577
577
|
} | {
|
|
578
578
|
values: string[];
|
|
579
579
|
type: "enum";
|
|
580
|
-
default?: string | undefined;
|
|
581
580
|
optional?: boolean | undefined;
|
|
581
|
+
default?: string | undefined;
|
|
582
582
|
})> | undefined;
|
|
583
583
|
}>>>;
|
|
584
584
|
session: z.ZodOptional<z.ZodObject<{
|
|
@@ -592,58 +592,58 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
592
592
|
sameSite: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["strict", "lax", "none"]>, z.ZodBoolean]>>;
|
|
593
593
|
secure: z.ZodOptional<z.ZodBoolean>;
|
|
594
594
|
}, "strip", z.ZodTypeAny, {
|
|
595
|
-
|
|
595
|
+
name?: string | undefined;
|
|
596
596
|
path?: string | undefined;
|
|
597
|
+
domain?: string | undefined;
|
|
597
598
|
maxAge?: number | undefined;
|
|
598
|
-
sameSite?: boolean | "
|
|
599
|
+
sameSite?: boolean | "strict" | "none" | "lax" | undefined;
|
|
599
600
|
secure?: boolean | undefined;
|
|
600
|
-
name?: string | undefined;
|
|
601
601
|
}, {
|
|
602
|
-
|
|
602
|
+
name?: string | undefined;
|
|
603
603
|
path?: string | undefined;
|
|
604
|
+
domain?: string | undefined;
|
|
604
605
|
maxAge?: number | undefined;
|
|
605
|
-
sameSite?: boolean | "
|
|
606
|
+
sameSite?: boolean | "strict" | "none" | "lax" | undefined;
|
|
606
607
|
secure?: boolean | undefined;
|
|
607
|
-
name?: string | undefined;
|
|
608
608
|
}>, z.ZodString]>, {
|
|
609
|
-
|
|
609
|
+
name?: string | undefined;
|
|
610
610
|
path?: string | undefined;
|
|
611
|
+
domain?: string | undefined;
|
|
611
612
|
maxAge?: number | undefined;
|
|
612
|
-
sameSite?: boolean | "
|
|
613
|
+
sameSite?: boolean | "strict" | "none" | "lax" | undefined;
|
|
613
614
|
secure?: boolean | undefined;
|
|
614
|
-
name?: string | undefined;
|
|
615
615
|
}, string | {
|
|
616
|
-
|
|
616
|
+
name?: string | undefined;
|
|
617
617
|
path?: string | undefined;
|
|
618
|
+
domain?: string | undefined;
|
|
618
619
|
maxAge?: number | undefined;
|
|
619
|
-
sameSite?: boolean | "
|
|
620
|
+
sameSite?: boolean | "strict" | "none" | "lax" | undefined;
|
|
620
621
|
secure?: boolean | undefined;
|
|
621
|
-
name?: string | undefined;
|
|
622
622
|
}>>;
|
|
623
623
|
ttl: z.ZodOptional<z.ZodNumber>;
|
|
624
624
|
}, "strip", z.ZodTypeAny, {
|
|
625
625
|
driver: string;
|
|
626
|
+
options?: Record<string, any> | undefined;
|
|
626
627
|
cookie?: {
|
|
627
|
-
|
|
628
|
+
name?: string | undefined;
|
|
628
629
|
path?: string | undefined;
|
|
630
|
+
domain?: string | undefined;
|
|
629
631
|
maxAge?: number | undefined;
|
|
630
|
-
sameSite?: boolean | "
|
|
632
|
+
sameSite?: boolean | "strict" | "none" | "lax" | undefined;
|
|
631
633
|
secure?: boolean | undefined;
|
|
632
|
-
name?: string | undefined;
|
|
633
634
|
} | undefined;
|
|
634
|
-
options?: Record<string, any> | undefined;
|
|
635
635
|
ttl?: number | undefined;
|
|
636
636
|
}, {
|
|
637
637
|
driver: string;
|
|
638
|
+
options?: Record<string, any> | undefined;
|
|
638
639
|
cookie?: string | {
|
|
639
|
-
|
|
640
|
+
name?: string | undefined;
|
|
640
641
|
path?: string | undefined;
|
|
642
|
+
domain?: string | undefined;
|
|
641
643
|
maxAge?: number | undefined;
|
|
642
|
-
sameSite?: boolean | "
|
|
644
|
+
sameSite?: boolean | "strict" | "none" | "lax" | undefined;
|
|
643
645
|
secure?: boolean | undefined;
|
|
644
|
-
name?: string | undefined;
|
|
645
646
|
} | undefined;
|
|
646
|
-
options?: Record<string, any> | undefined;
|
|
647
647
|
ttl?: number | undefined;
|
|
648
648
|
}>>;
|
|
649
649
|
experimental: z.ZodDefault<z.ZodObject<{
|
|
@@ -687,9 +687,9 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
687
687
|
url: string | URL;
|
|
688
688
|
tech?: string | undefined;
|
|
689
689
|
})[]];
|
|
690
|
-
style?: "normal" | "italic" | "oblique" | undefined;
|
|
691
690
|
weight?: string | number | undefined;
|
|
692
|
-
|
|
691
|
+
style?: "normal" | "italic" | "oblique" | undefined;
|
|
692
|
+
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
693
693
|
stretch?: string | undefined;
|
|
694
694
|
featureSettings?: string | undefined;
|
|
695
695
|
variationSettings?: string | undefined;
|
|
@@ -702,9 +702,9 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
702
702
|
url: string | URL;
|
|
703
703
|
tech?: string | undefined;
|
|
704
704
|
})[]];
|
|
705
|
-
style?: "normal" | "italic" | "oblique" | undefined;
|
|
706
705
|
weight?: string | number | undefined;
|
|
707
|
-
|
|
706
|
+
style?: "normal" | "italic" | "oblique" | undefined;
|
|
707
|
+
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
708
708
|
stretch?: string | undefined;
|
|
709
709
|
featureSettings?: string | undefined;
|
|
710
710
|
variationSettings?: string | undefined;
|
|
@@ -722,9 +722,9 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
722
722
|
url: string | URL;
|
|
723
723
|
tech?: string | undefined;
|
|
724
724
|
})[]];
|
|
725
|
-
style?: "normal" | "italic" | "oblique" | undefined;
|
|
726
725
|
weight?: string | number | undefined;
|
|
727
|
-
|
|
726
|
+
style?: "normal" | "italic" | "oblique" | undefined;
|
|
727
|
+
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
728
728
|
stretch?: string | undefined;
|
|
729
729
|
featureSettings?: string | undefined;
|
|
730
730
|
variationSettings?: string | undefined;
|
|
@@ -737,9 +737,9 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
737
737
|
url: string | URL;
|
|
738
738
|
tech?: string | undefined;
|
|
739
739
|
})[]];
|
|
740
|
-
style?: "normal" | "italic" | "oblique" | undefined;
|
|
741
740
|
weight?: string | number | undefined;
|
|
742
|
-
|
|
741
|
+
style?: "normal" | "italic" | "oblique" | undefined;
|
|
742
|
+
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
743
743
|
stretch?: string | undefined;
|
|
744
744
|
featureSettings?: string | undefined;
|
|
745
745
|
variationSettings?: string | undefined;
|
|
@@ -759,9 +759,9 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
759
759
|
url: string | URL;
|
|
760
760
|
tech?: string | undefined;
|
|
761
761
|
})[]];
|
|
762
|
-
style?: "normal" | "italic" | "oblique" | undefined;
|
|
763
762
|
weight?: string | number | undefined;
|
|
764
|
-
|
|
763
|
+
style?: "normal" | "italic" | "oblique" | undefined;
|
|
764
|
+
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
765
765
|
stretch?: string | undefined;
|
|
766
766
|
featureSettings?: string | undefined;
|
|
767
767
|
variationSettings?: string | undefined;
|
|
@@ -774,9 +774,9 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
774
774
|
url: string | URL;
|
|
775
775
|
tech?: string | undefined;
|
|
776
776
|
})[]];
|
|
777
|
-
style?: "normal" | "italic" | "oblique" | undefined;
|
|
778
777
|
weight?: string | number | undefined;
|
|
779
|
-
|
|
778
|
+
style?: "normal" | "italic" | "oblique" | undefined;
|
|
779
|
+
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
780
780
|
stretch?: string | undefined;
|
|
781
781
|
featureSettings?: string | undefined;
|
|
782
782
|
variationSettings?: string | undefined;
|
|
@@ -794,7 +794,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
794
794
|
stretch: z.ZodOptional<z.ZodString>;
|
|
795
795
|
featureSettings: z.ZodOptional<z.ZodString>;
|
|
796
796
|
variationSettings: z.ZodOptional<z.ZodString>;
|
|
797
|
-
}, "
|
|
797
|
+
}, "weight" | "style">>, {
|
|
798
798
|
fallbacks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
799
799
|
optimizedFallbacks: z.ZodOptional<z.ZodBoolean>;
|
|
800
800
|
}>, {
|
|
@@ -819,16 +819,16 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
819
819
|
entrypoint: string | URL;
|
|
820
820
|
config?: Record<string, any> | undefined;
|
|
821
821
|
};
|
|
822
|
+
weights?: [string | number, ...(string | number)[]] | undefined;
|
|
823
|
+
styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
|
|
824
|
+
subsets?: [string, ...string[]] | undefined;
|
|
822
825
|
fallbacks?: string[] | undefined;
|
|
823
826
|
optimizedFallbacks?: boolean | undefined;
|
|
824
|
-
display?: "
|
|
827
|
+
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
825
828
|
stretch?: string | undefined;
|
|
826
829
|
featureSettings?: string | undefined;
|
|
827
830
|
variationSettings?: string | undefined;
|
|
828
831
|
unicodeRange?: [string, ...string[]] | undefined;
|
|
829
|
-
weights?: [string | number, ...(string | number)[]] | undefined;
|
|
830
|
-
styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
|
|
831
|
-
subsets?: [string, ...string[]] | undefined;
|
|
832
832
|
}, {
|
|
833
833
|
name: string;
|
|
834
834
|
cssVariable: string;
|
|
@@ -836,24 +836,105 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
836
836
|
entrypoint: string | URL;
|
|
837
837
|
config?: Record<string, any> | undefined;
|
|
838
838
|
};
|
|
839
|
+
weights?: [string | number, ...(string | number)[]] | undefined;
|
|
840
|
+
styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
|
|
841
|
+
subsets?: [string, ...string[]] | undefined;
|
|
839
842
|
fallbacks?: string[] | undefined;
|
|
840
843
|
optimizedFallbacks?: boolean | undefined;
|
|
841
|
-
display?: "
|
|
844
|
+
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
842
845
|
stretch?: string | undefined;
|
|
843
846
|
featureSettings?: string | undefined;
|
|
844
847
|
variationSettings?: string | undefined;
|
|
845
848
|
unicodeRange?: [string, ...string[]] | undefined;
|
|
846
|
-
weights?: [string | number, ...(string | number)[]] | undefined;
|
|
847
|
-
styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
|
|
848
|
-
subsets?: [string, ...string[]] | undefined;
|
|
849
849
|
}>]>, "many">>;
|
|
850
|
+
csp: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodDefault<z.ZodOptional<z.ZodBoolean>>, z.ZodObject<{
|
|
851
|
+
algorithm: z.ZodDefault<z.ZodOptional<z.ZodEnum<["SHA-256", "SHA-384", "SHA-512"]>>>;
|
|
852
|
+
directives: z.ZodOptional<z.ZodArray<z.ZodType<`base-uri ${string}` | `child-src ${string}` | `connect-src ${string}` | `default-src ${string}` | `fenced-frame-src ${string}` | `font-src ${string}` | `form-action ${string}` | `frame-ancestors ${string}` | `frame-src ${string}` | `img-src ${string}` | `manifest-src ${string}` | `media-src ${string}` | `object-src ${string}` | `referrer ${string}` | `report-to ${string}` | `require-trusted-types-for ${string}` | `sandbox ${string}` | `trusted-types ${string}` | `upgrade-insecure-requests ${string}` | `worker-src ${string}`, z.ZodTypeDef, `base-uri ${string}` | `child-src ${string}` | `connect-src ${string}` | `default-src ${string}` | `fenced-frame-src ${string}` | `font-src ${string}` | `form-action ${string}` | `frame-ancestors ${string}` | `frame-src ${string}` | `img-src ${string}` | `manifest-src ${string}` | `media-src ${string}` | `object-src ${string}` | `referrer ${string}` | `report-to ${string}` | `require-trusted-types-for ${string}` | `sandbox ${string}` | `trusted-types ${string}` | `upgrade-insecure-requests ${string}` | `worker-src ${string}`>, "many">>;
|
|
853
|
+
styleDirective: z.ZodOptional<z.ZodObject<{
|
|
854
|
+
resources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
855
|
+
hashes: z.ZodOptional<z.ZodArray<z.ZodType<`sha256-${string}` | `sha384-${string}` | `sha512-${string}`, z.ZodTypeDef, `sha256-${string}` | `sha384-${string}` | `sha512-${string}`>, "many">>;
|
|
856
|
+
}, "strip", z.ZodTypeAny, {
|
|
857
|
+
resources?: string[] | undefined;
|
|
858
|
+
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
859
|
+
}, {
|
|
860
|
+
resources?: string[] | undefined;
|
|
861
|
+
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
862
|
+
}>>;
|
|
863
|
+
scriptDirective: z.ZodOptional<z.ZodObject<{
|
|
864
|
+
resources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
865
|
+
hashes: z.ZodOptional<z.ZodArray<z.ZodType<`sha256-${string}` | `sha384-${string}` | `sha512-${string}`, z.ZodTypeDef, `sha256-${string}` | `sha384-${string}` | `sha512-${string}`>, "many">>;
|
|
866
|
+
strictDynamic: z.ZodOptional<z.ZodBoolean>;
|
|
867
|
+
}, "strip", z.ZodTypeAny, {
|
|
868
|
+
resources?: string[] | undefined;
|
|
869
|
+
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
870
|
+
strictDynamic?: boolean | undefined;
|
|
871
|
+
}, {
|
|
872
|
+
resources?: string[] | undefined;
|
|
873
|
+
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
874
|
+
strictDynamic?: boolean | undefined;
|
|
875
|
+
}>>;
|
|
876
|
+
}, "strip", z.ZodTypeAny, {
|
|
877
|
+
algorithm: "SHA-256" | "SHA-384" | "SHA-512";
|
|
878
|
+
directives?: (`base-uri ${string}` | `child-src ${string}` | `connect-src ${string}` | `default-src ${string}` | `fenced-frame-src ${string}` | `font-src ${string}` | `form-action ${string}` | `frame-ancestors ${string}` | `frame-src ${string}` | `img-src ${string}` | `manifest-src ${string}` | `media-src ${string}` | `object-src ${string}` | `referrer ${string}` | `report-to ${string}` | `require-trusted-types-for ${string}` | `sandbox ${string}` | `trusted-types ${string}` | `upgrade-insecure-requests ${string}` | `worker-src ${string}`)[] | undefined;
|
|
879
|
+
styleDirective?: {
|
|
880
|
+
resources?: string[] | undefined;
|
|
881
|
+
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
882
|
+
} | undefined;
|
|
883
|
+
scriptDirective?: {
|
|
884
|
+
resources?: string[] | undefined;
|
|
885
|
+
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
886
|
+
strictDynamic?: boolean | undefined;
|
|
887
|
+
} | undefined;
|
|
888
|
+
}, {
|
|
889
|
+
algorithm?: "SHA-256" | "SHA-384" | "SHA-512" | undefined;
|
|
890
|
+
directives?: (`base-uri ${string}` | `child-src ${string}` | `connect-src ${string}` | `default-src ${string}` | `fenced-frame-src ${string}` | `font-src ${string}` | `form-action ${string}` | `frame-ancestors ${string}` | `frame-src ${string}` | `img-src ${string}` | `manifest-src ${string}` | `media-src ${string}` | `object-src ${string}` | `referrer ${string}` | `report-to ${string}` | `require-trusted-types-for ${string}` | `sandbox ${string}` | `trusted-types ${string}` | `upgrade-insecure-requests ${string}` | `worker-src ${string}`)[] | undefined;
|
|
891
|
+
styleDirective?: {
|
|
892
|
+
resources?: string[] | undefined;
|
|
893
|
+
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
894
|
+
} | undefined;
|
|
895
|
+
scriptDirective?: {
|
|
896
|
+
resources?: string[] | undefined;
|
|
897
|
+
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
898
|
+
strictDynamic?: boolean | undefined;
|
|
899
|
+
} | undefined;
|
|
900
|
+
}>]>>>;
|
|
850
901
|
}, "strict", z.ZodTypeAny, {
|
|
851
902
|
clientPrerender: boolean;
|
|
852
903
|
contentIntellisense: boolean;
|
|
853
904
|
responsiveImages: boolean;
|
|
854
905
|
headingIdCompat: boolean;
|
|
855
906
|
preserveScriptOrder: boolean;
|
|
907
|
+
csp: boolean | {
|
|
908
|
+
algorithm: "SHA-256" | "SHA-384" | "SHA-512";
|
|
909
|
+
directives?: (`base-uri ${string}` | `child-src ${string}` | `connect-src ${string}` | `default-src ${string}` | `fenced-frame-src ${string}` | `font-src ${string}` | `form-action ${string}` | `frame-ancestors ${string}` | `frame-src ${string}` | `img-src ${string}` | `manifest-src ${string}` | `media-src ${string}` | `object-src ${string}` | `referrer ${string}` | `report-to ${string}` | `require-trusted-types-for ${string}` | `sandbox ${string}` | `trusted-types ${string}` | `upgrade-insecure-requests ${string}` | `worker-src ${string}`)[] | undefined;
|
|
910
|
+
styleDirective?: {
|
|
911
|
+
resources?: string[] | undefined;
|
|
912
|
+
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
913
|
+
} | undefined;
|
|
914
|
+
scriptDirective?: {
|
|
915
|
+
resources?: string[] | undefined;
|
|
916
|
+
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
917
|
+
strictDynamic?: boolean | undefined;
|
|
918
|
+
} | undefined;
|
|
919
|
+
};
|
|
856
920
|
fonts?: ({
|
|
921
|
+
name: string;
|
|
922
|
+
cssVariable: string;
|
|
923
|
+
provider: {
|
|
924
|
+
entrypoint: string | URL;
|
|
925
|
+
config?: Record<string, any> | undefined;
|
|
926
|
+
};
|
|
927
|
+
weights?: [string | number, ...(string | number)[]] | undefined;
|
|
928
|
+
styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
|
|
929
|
+
subsets?: [string, ...string[]] | undefined;
|
|
930
|
+
fallbacks?: string[] | undefined;
|
|
931
|
+
optimizedFallbacks?: boolean | undefined;
|
|
932
|
+
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
933
|
+
stretch?: string | undefined;
|
|
934
|
+
featureSettings?: string | undefined;
|
|
935
|
+
variationSettings?: string | undefined;
|
|
936
|
+
unicodeRange?: [string, ...string[]] | undefined;
|
|
937
|
+
} | {
|
|
857
938
|
name: string;
|
|
858
939
|
cssVariable: string;
|
|
859
940
|
provider: "local";
|
|
@@ -865,9 +946,9 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
865
946
|
url: string | URL;
|
|
866
947
|
tech?: string | undefined;
|
|
867
948
|
})[]];
|
|
868
|
-
style?: "normal" | "italic" | "oblique" | undefined;
|
|
869
949
|
weight?: string | number | undefined;
|
|
870
|
-
|
|
950
|
+
style?: "normal" | "italic" | "oblique" | undefined;
|
|
951
|
+
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
871
952
|
stretch?: string | undefined;
|
|
872
953
|
featureSettings?: string | undefined;
|
|
873
954
|
variationSettings?: string | undefined;
|
|
@@ -880,9 +961,9 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
880
961
|
url: string | URL;
|
|
881
962
|
tech?: string | undefined;
|
|
882
963
|
})[]];
|
|
883
|
-
style?: "normal" | "italic" | "oblique" | undefined;
|
|
884
964
|
weight?: string | number | undefined;
|
|
885
|
-
|
|
965
|
+
style?: "normal" | "italic" | "oblique" | undefined;
|
|
966
|
+
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
886
967
|
stretch?: string | undefined;
|
|
887
968
|
featureSettings?: string | undefined;
|
|
888
969
|
variationSettings?: string | undefined;
|
|
@@ -890,31 +971,26 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
890
971
|
}[]];
|
|
891
972
|
fallbacks?: string[] | undefined;
|
|
892
973
|
optimizedFallbacks?: boolean | undefined;
|
|
893
|
-
} |
|
|
974
|
+
})[] | undefined;
|
|
975
|
+
}, {
|
|
976
|
+
fonts?: ({
|
|
894
977
|
name: string;
|
|
895
978
|
cssVariable: string;
|
|
896
979
|
provider: {
|
|
897
980
|
entrypoint: string | URL;
|
|
898
981
|
config?: Record<string, any> | undefined;
|
|
899
982
|
};
|
|
983
|
+
weights?: [string | number, ...(string | number)[]] | undefined;
|
|
984
|
+
styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
|
|
985
|
+
subsets?: [string, ...string[]] | undefined;
|
|
900
986
|
fallbacks?: string[] | undefined;
|
|
901
987
|
optimizedFallbacks?: boolean | undefined;
|
|
902
|
-
display?: "
|
|
988
|
+
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
903
989
|
stretch?: string | undefined;
|
|
904
990
|
featureSettings?: string | undefined;
|
|
905
991
|
variationSettings?: string | undefined;
|
|
906
992
|
unicodeRange?: [string, ...string[]] | undefined;
|
|
907
|
-
|
|
908
|
-
styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
|
|
909
|
-
subsets?: [string, ...string[]] | undefined;
|
|
910
|
-
})[] | undefined;
|
|
911
|
-
}, {
|
|
912
|
-
clientPrerender?: boolean | undefined;
|
|
913
|
-
contentIntellisense?: boolean | undefined;
|
|
914
|
-
responsiveImages?: boolean | undefined;
|
|
915
|
-
headingIdCompat?: boolean | undefined;
|
|
916
|
-
preserveScriptOrder?: boolean | undefined;
|
|
917
|
-
fonts?: ({
|
|
993
|
+
} | {
|
|
918
994
|
name: string;
|
|
919
995
|
cssVariable: string;
|
|
920
996
|
provider: "local";
|
|
@@ -926,9 +1002,9 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
926
1002
|
url: string | URL;
|
|
927
1003
|
tech?: string | undefined;
|
|
928
1004
|
})[]];
|
|
929
|
-
style?: "normal" | "italic" | "oblique" | undefined;
|
|
930
1005
|
weight?: string | number | undefined;
|
|
931
|
-
|
|
1006
|
+
style?: "normal" | "italic" | "oblique" | undefined;
|
|
1007
|
+
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
932
1008
|
stretch?: string | undefined;
|
|
933
1009
|
featureSettings?: string | undefined;
|
|
934
1010
|
variationSettings?: string | undefined;
|
|
@@ -941,9 +1017,9 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
941
1017
|
url: string | URL;
|
|
942
1018
|
tech?: string | undefined;
|
|
943
1019
|
})[]];
|
|
944
|
-
style?: "normal" | "italic" | "oblique" | undefined;
|
|
945
1020
|
weight?: string | number | undefined;
|
|
946
|
-
|
|
1021
|
+
style?: "normal" | "italic" | "oblique" | undefined;
|
|
1022
|
+
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
947
1023
|
stretch?: string | undefined;
|
|
948
1024
|
featureSettings?: string | undefined;
|
|
949
1025
|
variationSettings?: string | undefined;
|
|
@@ -951,24 +1027,25 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
951
1027
|
}[]];
|
|
952
1028
|
fallbacks?: string[] | undefined;
|
|
953
1029
|
optimizedFallbacks?: boolean | undefined;
|
|
954
|
-
} | {
|
|
955
|
-
name: string;
|
|
956
|
-
cssVariable: string;
|
|
957
|
-
provider: {
|
|
958
|
-
entrypoint: string | URL;
|
|
959
|
-
config?: Record<string, any> | undefined;
|
|
960
|
-
};
|
|
961
|
-
fallbacks?: string[] | undefined;
|
|
962
|
-
optimizedFallbacks?: boolean | undefined;
|
|
963
|
-
display?: "fallback" | "auto" | "optional" | "block" | "swap" | undefined;
|
|
964
|
-
stretch?: string | undefined;
|
|
965
|
-
featureSettings?: string | undefined;
|
|
966
|
-
variationSettings?: string | undefined;
|
|
967
|
-
unicodeRange?: [string, ...string[]] | undefined;
|
|
968
|
-
weights?: [string | number, ...(string | number)[]] | undefined;
|
|
969
|
-
styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
|
|
970
|
-
subsets?: [string, ...string[]] | undefined;
|
|
971
1030
|
})[] | undefined;
|
|
1031
|
+
clientPrerender?: boolean | undefined;
|
|
1032
|
+
contentIntellisense?: boolean | undefined;
|
|
1033
|
+
responsiveImages?: boolean | undefined;
|
|
1034
|
+
headingIdCompat?: boolean | undefined;
|
|
1035
|
+
preserveScriptOrder?: boolean | undefined;
|
|
1036
|
+
csp?: boolean | {
|
|
1037
|
+
algorithm?: "SHA-256" | "SHA-384" | "SHA-512" | undefined;
|
|
1038
|
+
directives?: (`base-uri ${string}` | `child-src ${string}` | `connect-src ${string}` | `default-src ${string}` | `fenced-frame-src ${string}` | `font-src ${string}` | `form-action ${string}` | `frame-ancestors ${string}` | `frame-src ${string}` | `img-src ${string}` | `manifest-src ${string}` | `media-src ${string}` | `object-src ${string}` | `referrer ${string}` | `report-to ${string}` | `require-trusted-types-for ${string}` | `sandbox ${string}` | `trusted-types ${string}` | `upgrade-insecure-requests ${string}` | `worker-src ${string}`)[] | undefined;
|
|
1039
|
+
styleDirective?: {
|
|
1040
|
+
resources?: string[] | undefined;
|
|
1041
|
+
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
1042
|
+
} | undefined;
|
|
1043
|
+
scriptDirective?: {
|
|
1044
|
+
resources?: string[] | undefined;
|
|
1045
|
+
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
1046
|
+
strictDynamic?: boolean | undefined;
|
|
1047
|
+
} | undefined;
|
|
1048
|
+
} | undefined;
|
|
972
1049
|
}>>;
|
|
973
1050
|
legacy: z.ZodDefault<z.ZodObject<{
|
|
974
1051
|
collections: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -1001,25 +1078,25 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1001
1078
|
inlineStylesheets: z.ZodDefault<z.ZodOptional<z.ZodEnum<["always", "auto", "never"]>>>;
|
|
1002
1079
|
concurrency: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1003
1080
|
}, "strip", z.ZodTypeAny, {
|
|
1081
|
+
redirects: boolean;
|
|
1082
|
+
assets: string;
|
|
1083
|
+
format: "preserve" | "file" | "directory";
|
|
1004
1084
|
client: import("url").URL;
|
|
1005
|
-
format: "file" | "directory" | "preserve";
|
|
1006
1085
|
server: import("url").URL;
|
|
1007
|
-
assets: string;
|
|
1008
1086
|
serverEntry: string;
|
|
1009
|
-
|
|
1010
|
-
inlineStylesheets: "never" | "always" | "auto";
|
|
1087
|
+
inlineStylesheets: "auto" | "never" | "always";
|
|
1011
1088
|
concurrency: number;
|
|
1012
1089
|
assetsPrefix?: string | ({
|
|
1013
1090
|
fallback: string;
|
|
1014
1091
|
} & Record<string, string>) | undefined;
|
|
1015
1092
|
}, {
|
|
1093
|
+
redirects?: boolean | undefined;
|
|
1094
|
+
assets?: string | undefined;
|
|
1095
|
+
format?: "preserve" | "file" | "directory" | undefined;
|
|
1016
1096
|
client?: string | undefined;
|
|
1017
|
-
format?: "file" | "directory" | "preserve" | undefined;
|
|
1018
1097
|
server?: string | undefined;
|
|
1019
|
-
assets?: string | undefined;
|
|
1020
1098
|
serverEntry?: string | undefined;
|
|
1021
|
-
|
|
1022
|
-
inlineStylesheets?: "never" | "always" | "auto" | undefined;
|
|
1099
|
+
inlineStylesheets?: "auto" | "never" | "always" | undefined;
|
|
1023
1100
|
concurrency?: number | undefined;
|
|
1024
1101
|
assetsPrefix?: string | ({
|
|
1025
1102
|
fallback: string;
|
|
@@ -1055,72 +1132,21 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1055
1132
|
headers?: OutgoingHttpHeaders | undefined;
|
|
1056
1133
|
}, unknown>;
|
|
1057
1134
|
}>, "strip", z.ZodTypeAny, {
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
host: string | boolean;
|
|
1061
|
-
port: number;
|
|
1062
|
-
allowedHosts: true | string[];
|
|
1063
|
-
open: string | boolean;
|
|
1064
|
-
streaming: boolean;
|
|
1065
|
-
headers?: OutgoingHttpHeaders | undefined;
|
|
1066
|
-
};
|
|
1067
|
-
redirects: Record<string, string | {
|
|
1068
|
-
status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
|
|
1069
|
-
destination: string;
|
|
1070
|
-
}>;
|
|
1135
|
+
outDir: import("url").URL;
|
|
1136
|
+
root: import("url").URL;
|
|
1071
1137
|
build: {
|
|
1138
|
+
redirects: boolean;
|
|
1139
|
+
assets: string;
|
|
1140
|
+
format: "preserve" | "file" | "directory";
|
|
1072
1141
|
client: import("url").URL;
|
|
1073
|
-
format: "file" | "directory" | "preserve";
|
|
1074
1142
|
server: import("url").URL;
|
|
1075
|
-
assets: string;
|
|
1076
1143
|
serverEntry: string;
|
|
1077
|
-
|
|
1078
|
-
inlineStylesheets: "never" | "always" | "auto";
|
|
1144
|
+
inlineStylesheets: "auto" | "never" | "always";
|
|
1079
1145
|
concurrency: number;
|
|
1080
1146
|
assetsPrefix?: string | ({
|
|
1081
1147
|
fallback: string;
|
|
1082
1148
|
} & Record<string, string>) | undefined;
|
|
1083
1149
|
};
|
|
1084
|
-
root: import("url").URL;
|
|
1085
|
-
srcDir: import("url").URL;
|
|
1086
|
-
publicDir: import("url").URL;
|
|
1087
|
-
outDir: import("url").URL;
|
|
1088
|
-
cacheDir: import("url").URL;
|
|
1089
|
-
compressHTML: boolean;
|
|
1090
|
-
base: string;
|
|
1091
|
-
output: "server" | "static";
|
|
1092
|
-
scopedStyleStrategy: "where" | "class" | "attribute";
|
|
1093
|
-
integrations: {
|
|
1094
|
-
name: string;
|
|
1095
|
-
hooks: {} & {
|
|
1096
|
-
[k: string]: unknown;
|
|
1097
|
-
};
|
|
1098
|
-
}[];
|
|
1099
|
-
image: {
|
|
1100
|
-
experimentalDefaultStyles: boolean;
|
|
1101
|
-
endpoint: {
|
|
1102
|
-
route: string;
|
|
1103
|
-
entrypoint?: string | undefined;
|
|
1104
|
-
};
|
|
1105
|
-
service: {
|
|
1106
|
-
entrypoint: string;
|
|
1107
|
-
config: Record<string, any>;
|
|
1108
|
-
};
|
|
1109
|
-
domains: string[];
|
|
1110
|
-
remotePatterns: {
|
|
1111
|
-
port?: string | undefined;
|
|
1112
|
-
protocol?: string | undefined;
|
|
1113
|
-
hostname?: string | undefined;
|
|
1114
|
-
pathname?: string | undefined;
|
|
1115
|
-
}[];
|
|
1116
|
-
experimentalLayout?: "none" | "fixed" | "constrained" | "full-width" | undefined;
|
|
1117
|
-
experimentalObjectFit?: string | undefined;
|
|
1118
|
-
experimentalObjectPosition?: string | undefined;
|
|
1119
|
-
experimentalBreakpoints?: number[] | undefined;
|
|
1120
|
-
};
|
|
1121
|
-
devToolbar: {
|
|
1122
|
-
enabled: boolean;
|
|
1123
|
-
};
|
|
1124
1150
|
markdown: {
|
|
1125
1151
|
syntaxHighlight: false | "shiki" | "prism" | {
|
|
1126
1152
|
type: "shiki" | "prism";
|
|
@@ -1142,9 +1168,10 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1142
1168
|
smartypants: boolean;
|
|
1143
1169
|
};
|
|
1144
1170
|
vite: import("../../../types/public/config.js").ViteUserConfig;
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1171
|
+
redirects: Record<string, string | {
|
|
1172
|
+
status: 301 | 302 | 303 | 307 | 308 | 300 | 304;
|
|
1173
|
+
destination: string;
|
|
1174
|
+
}>;
|
|
1148
1175
|
env: {
|
|
1149
1176
|
validateSecrets: boolean;
|
|
1150
1177
|
schema: Record<string, ({
|
|
@@ -1162,15 +1189,15 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1162
1189
|
includes?: string | undefined;
|
|
1163
1190
|
endsWith?: string | undefined;
|
|
1164
1191
|
startsWith?: string | undefined;
|
|
1165
|
-
default?: string | undefined;
|
|
1166
1192
|
optional?: boolean | undefined;
|
|
1167
|
-
max?: number | undefined;
|
|
1168
|
-
min?: number | undefined;
|
|
1169
1193
|
url?: boolean | undefined;
|
|
1194
|
+
default?: string | undefined;
|
|
1195
|
+
max?: number | undefined;
|
|
1196
|
+
min?: number | undefined;
|
|
1170
1197
|
} | {
|
|
1171
1198
|
type: "number";
|
|
1172
|
-
default?: number | undefined;
|
|
1173
1199
|
optional?: boolean | undefined;
|
|
1200
|
+
default?: number | undefined;
|
|
1174
1201
|
max?: number | undefined;
|
|
1175
1202
|
min?: number | undefined;
|
|
1176
1203
|
gt?: number | undefined;
|
|
@@ -1178,22 +1205,102 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1178
1205
|
int?: boolean | undefined;
|
|
1179
1206
|
} | {
|
|
1180
1207
|
type: "boolean";
|
|
1181
|
-
default?: boolean | undefined;
|
|
1182
1208
|
optional?: boolean | undefined;
|
|
1209
|
+
default?: boolean | undefined;
|
|
1183
1210
|
} | {
|
|
1184
1211
|
values: string[];
|
|
1185
1212
|
type: "enum";
|
|
1186
|
-
default?: string | undefined;
|
|
1187
1213
|
optional?: boolean | undefined;
|
|
1214
|
+
default?: string | undefined;
|
|
1188
1215
|
})>;
|
|
1189
1216
|
};
|
|
1217
|
+
image: {
|
|
1218
|
+
experimentalDefaultStyles: boolean;
|
|
1219
|
+
endpoint: {
|
|
1220
|
+
route: string;
|
|
1221
|
+
entrypoint?: string | undefined;
|
|
1222
|
+
};
|
|
1223
|
+
service: {
|
|
1224
|
+
config: Record<string, any>;
|
|
1225
|
+
entrypoint: string;
|
|
1226
|
+
};
|
|
1227
|
+
domains: string[];
|
|
1228
|
+
remotePatterns: {
|
|
1229
|
+
port?: string | undefined;
|
|
1230
|
+
protocol?: string | undefined;
|
|
1231
|
+
hostname?: string | undefined;
|
|
1232
|
+
pathname?: string | undefined;
|
|
1233
|
+
}[];
|
|
1234
|
+
experimentalLayout?: "fixed" | "constrained" | "full-width" | "none" | undefined;
|
|
1235
|
+
experimentalObjectFit?: string | undefined;
|
|
1236
|
+
experimentalObjectPosition?: string | undefined;
|
|
1237
|
+
experimentalBreakpoints?: number[] | undefined;
|
|
1238
|
+
};
|
|
1239
|
+
server: {
|
|
1240
|
+
host: string | boolean;
|
|
1241
|
+
port: number;
|
|
1242
|
+
allowedHosts: true | string[];
|
|
1243
|
+
open: string | boolean;
|
|
1244
|
+
streaming: boolean;
|
|
1245
|
+
headers?: OutgoingHttpHeaders | undefined;
|
|
1246
|
+
};
|
|
1247
|
+
srcDir: import("url").URL;
|
|
1248
|
+
publicDir: import("url").URL;
|
|
1249
|
+
cacheDir: import("url").URL;
|
|
1250
|
+
compressHTML: boolean;
|
|
1251
|
+
base: string;
|
|
1252
|
+
trailingSlash: "never" | "ignore" | "always";
|
|
1253
|
+
output: "server" | "static";
|
|
1254
|
+
scopedStyleStrategy: "where" | "class" | "attribute";
|
|
1255
|
+
integrations: {
|
|
1256
|
+
name: string;
|
|
1257
|
+
hooks: {} & {
|
|
1258
|
+
[k: string]: unknown;
|
|
1259
|
+
};
|
|
1260
|
+
}[];
|
|
1261
|
+
devToolbar: {
|
|
1262
|
+
enabled: boolean;
|
|
1263
|
+
};
|
|
1264
|
+
security: {
|
|
1265
|
+
checkOrigin: boolean;
|
|
1266
|
+
};
|
|
1190
1267
|
experimental: {
|
|
1191
1268
|
clientPrerender: boolean;
|
|
1192
1269
|
contentIntellisense: boolean;
|
|
1193
1270
|
responsiveImages: boolean;
|
|
1194
1271
|
headingIdCompat: boolean;
|
|
1195
1272
|
preserveScriptOrder: boolean;
|
|
1273
|
+
csp: boolean | {
|
|
1274
|
+
algorithm: "SHA-256" | "SHA-384" | "SHA-512";
|
|
1275
|
+
directives?: (`base-uri ${string}` | `child-src ${string}` | `connect-src ${string}` | `default-src ${string}` | `fenced-frame-src ${string}` | `font-src ${string}` | `form-action ${string}` | `frame-ancestors ${string}` | `frame-src ${string}` | `img-src ${string}` | `manifest-src ${string}` | `media-src ${string}` | `object-src ${string}` | `referrer ${string}` | `report-to ${string}` | `require-trusted-types-for ${string}` | `sandbox ${string}` | `trusted-types ${string}` | `upgrade-insecure-requests ${string}` | `worker-src ${string}`)[] | undefined;
|
|
1276
|
+
styleDirective?: {
|
|
1277
|
+
resources?: string[] | undefined;
|
|
1278
|
+
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
1279
|
+
} | undefined;
|
|
1280
|
+
scriptDirective?: {
|
|
1281
|
+
resources?: string[] | undefined;
|
|
1282
|
+
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
1283
|
+
strictDynamic?: boolean | undefined;
|
|
1284
|
+
} | undefined;
|
|
1285
|
+
};
|
|
1196
1286
|
fonts?: ({
|
|
1287
|
+
name: string;
|
|
1288
|
+
cssVariable: string;
|
|
1289
|
+
provider: {
|
|
1290
|
+
entrypoint: string | URL;
|
|
1291
|
+
config?: Record<string, any> | undefined;
|
|
1292
|
+
};
|
|
1293
|
+
weights?: [string | number, ...(string | number)[]] | undefined;
|
|
1294
|
+
styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
|
|
1295
|
+
subsets?: [string, ...string[]] | undefined;
|
|
1296
|
+
fallbacks?: string[] | undefined;
|
|
1297
|
+
optimizedFallbacks?: boolean | undefined;
|
|
1298
|
+
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
1299
|
+
stretch?: string | undefined;
|
|
1300
|
+
featureSettings?: string | undefined;
|
|
1301
|
+
variationSettings?: string | undefined;
|
|
1302
|
+
unicodeRange?: [string, ...string[]] | undefined;
|
|
1303
|
+
} | {
|
|
1197
1304
|
name: string;
|
|
1198
1305
|
cssVariable: string;
|
|
1199
1306
|
provider: "local";
|
|
@@ -1205,9 +1312,9 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1205
1312
|
url: string | URL;
|
|
1206
1313
|
tech?: string | undefined;
|
|
1207
1314
|
})[]];
|
|
1208
|
-
style?: "normal" | "italic" | "oblique" | undefined;
|
|
1209
1315
|
weight?: string | number | undefined;
|
|
1210
|
-
|
|
1316
|
+
style?: "normal" | "italic" | "oblique" | undefined;
|
|
1317
|
+
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
1211
1318
|
stretch?: string | undefined;
|
|
1212
1319
|
featureSettings?: string | undefined;
|
|
1213
1320
|
variationSettings?: string | undefined;
|
|
@@ -1220,9 +1327,9 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1220
1327
|
url: string | URL;
|
|
1221
1328
|
tech?: string | undefined;
|
|
1222
1329
|
})[]];
|
|
1223
|
-
style?: "normal" | "italic" | "oblique" | undefined;
|
|
1224
1330
|
weight?: string | number | undefined;
|
|
1225
|
-
|
|
1331
|
+
style?: "normal" | "italic" | "oblique" | undefined;
|
|
1332
|
+
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
1226
1333
|
stretch?: string | undefined;
|
|
1227
1334
|
featureSettings?: string | undefined;
|
|
1228
1335
|
variationSettings?: string | undefined;
|
|
@@ -1230,38 +1337,34 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1230
1337
|
}[]];
|
|
1231
1338
|
fallbacks?: string[] | undefined;
|
|
1232
1339
|
optimizedFallbacks?: boolean | undefined;
|
|
1233
|
-
} | {
|
|
1234
|
-
name: string;
|
|
1235
|
-
cssVariable: string;
|
|
1236
|
-
provider: {
|
|
1237
|
-
entrypoint: string | URL;
|
|
1238
|
-
config?: Record<string, any> | undefined;
|
|
1239
|
-
};
|
|
1240
|
-
fallbacks?: string[] | undefined;
|
|
1241
|
-
optimizedFallbacks?: boolean | undefined;
|
|
1242
|
-
display?: "fallback" | "auto" | "optional" | "block" | "swap" | undefined;
|
|
1243
|
-
stretch?: string | undefined;
|
|
1244
|
-
featureSettings?: string | undefined;
|
|
1245
|
-
variationSettings?: string | undefined;
|
|
1246
|
-
unicodeRange?: [string, ...string[]] | undefined;
|
|
1247
|
-
weights?: [string | number, ...(string | number)[]] | undefined;
|
|
1248
|
-
styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
|
|
1249
|
-
subsets?: [string, ...string[]] | undefined;
|
|
1250
1340
|
})[] | undefined;
|
|
1251
1341
|
};
|
|
1252
1342
|
legacy: {
|
|
1253
1343
|
collections: boolean;
|
|
1254
1344
|
};
|
|
1255
|
-
|
|
1345
|
+
session?: {
|
|
1346
|
+
driver: string;
|
|
1347
|
+
options?: Record<string, any> | undefined;
|
|
1348
|
+
cookie?: {
|
|
1349
|
+
name?: string | undefined;
|
|
1350
|
+
path?: string | undefined;
|
|
1351
|
+
domain?: string | undefined;
|
|
1352
|
+
maxAge?: number | undefined;
|
|
1353
|
+
sameSite?: boolean | "strict" | "none" | "lax" | undefined;
|
|
1354
|
+
secure?: boolean | undefined;
|
|
1355
|
+
} | undefined;
|
|
1356
|
+
ttl?: number | undefined;
|
|
1357
|
+
} | undefined;
|
|
1256
1358
|
adapter?: {
|
|
1257
1359
|
name: string;
|
|
1258
1360
|
hooks: {} & {
|
|
1259
1361
|
[k: string]: unknown;
|
|
1260
1362
|
};
|
|
1261
1363
|
} | undefined;
|
|
1364
|
+
site?: string | undefined;
|
|
1262
1365
|
prefetch?: boolean | {
|
|
1263
1366
|
prefetchAll?: boolean | undefined;
|
|
1264
|
-
defaultStrategy?: "
|
|
1367
|
+
defaultStrategy?: "tap" | "hover" | "viewport" | "load" | undefined;
|
|
1265
1368
|
} | undefined;
|
|
1266
1369
|
i18n?: {
|
|
1267
1370
|
defaultLocale: string;
|
|
@@ -1277,83 +1380,22 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1277
1380
|
fallback?: Record<string, string> | undefined;
|
|
1278
1381
|
domains?: Record<string, string> | undefined;
|
|
1279
1382
|
} | undefined;
|
|
1280
|
-
session?: {
|
|
1281
|
-
driver: string;
|
|
1282
|
-
cookie?: {
|
|
1283
|
-
domain?: string | undefined;
|
|
1284
|
-
path?: string | undefined;
|
|
1285
|
-
maxAge?: number | undefined;
|
|
1286
|
-
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
1287
|
-
secure?: boolean | undefined;
|
|
1288
|
-
name?: string | undefined;
|
|
1289
|
-
} | undefined;
|
|
1290
|
-
options?: Record<string, any> | undefined;
|
|
1291
|
-
ttl?: number | undefined;
|
|
1292
|
-
} | undefined;
|
|
1293
1383
|
}, {
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
redirects?: Record<string, string | {
|
|
1297
|
-
status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
|
|
1298
|
-
destination: string;
|
|
1299
|
-
}> | undefined;
|
|
1384
|
+
outDir?: string | undefined;
|
|
1385
|
+
root?: string | undefined;
|
|
1300
1386
|
build?: {
|
|
1387
|
+
redirects?: boolean | undefined;
|
|
1388
|
+
assets?: string | undefined;
|
|
1389
|
+
format?: "preserve" | "file" | "directory" | undefined;
|
|
1301
1390
|
client?: string | undefined;
|
|
1302
|
-
format?: "file" | "directory" | "preserve" | undefined;
|
|
1303
1391
|
server?: string | undefined;
|
|
1304
|
-
assets?: string | undefined;
|
|
1305
1392
|
serverEntry?: string | undefined;
|
|
1306
|
-
|
|
1307
|
-
inlineStylesheets?: "never" | "always" | "auto" | undefined;
|
|
1393
|
+
inlineStylesheets?: "auto" | "never" | "always" | undefined;
|
|
1308
1394
|
concurrency?: number | undefined;
|
|
1309
1395
|
assetsPrefix?: string | ({
|
|
1310
1396
|
fallback: string;
|
|
1311
1397
|
} & Record<string, string>) | undefined;
|
|
1312
1398
|
} | undefined;
|
|
1313
|
-
root?: string | undefined;
|
|
1314
|
-
srcDir?: string | undefined;
|
|
1315
|
-
publicDir?: string | undefined;
|
|
1316
|
-
outDir?: string | undefined;
|
|
1317
|
-
cacheDir?: string | undefined;
|
|
1318
|
-
site?: string | undefined;
|
|
1319
|
-
compressHTML?: boolean | undefined;
|
|
1320
|
-
base?: string | undefined;
|
|
1321
|
-
output?: "server" | "static" | undefined;
|
|
1322
|
-
scopedStyleStrategy?: "where" | "class" | "attribute" | undefined;
|
|
1323
|
-
adapter?: {
|
|
1324
|
-
name: string;
|
|
1325
|
-
hooks?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1326
|
-
} | undefined;
|
|
1327
|
-
integrations?: unknown;
|
|
1328
|
-
prefetch?: boolean | {
|
|
1329
|
-
prefetchAll?: boolean | undefined;
|
|
1330
|
-
defaultStrategy?: "load" | "tap" | "hover" | "viewport" | undefined;
|
|
1331
|
-
} | undefined;
|
|
1332
|
-
image?: {
|
|
1333
|
-
experimentalDefaultStyles?: boolean | undefined;
|
|
1334
|
-
endpoint?: {
|
|
1335
|
-
entrypoint?: string | undefined;
|
|
1336
|
-
route?: string | undefined;
|
|
1337
|
-
} | undefined;
|
|
1338
|
-
service?: {
|
|
1339
|
-
entrypoint?: string | undefined;
|
|
1340
|
-
config?: Record<string, any> | undefined;
|
|
1341
|
-
} | undefined;
|
|
1342
|
-
domains?: string[] | undefined;
|
|
1343
|
-
remotePatterns?: {
|
|
1344
|
-
port?: string | undefined;
|
|
1345
|
-
protocol?: string | undefined;
|
|
1346
|
-
hostname?: string | undefined;
|
|
1347
|
-
pathname?: string | undefined;
|
|
1348
|
-
}[] | undefined;
|
|
1349
|
-
experimentalLayout?: "none" | "fixed" | "constrained" | "full-width" | undefined;
|
|
1350
|
-
experimentalObjectFit?: string | undefined;
|
|
1351
|
-
experimentalObjectPosition?: string | undefined;
|
|
1352
|
-
experimentalBreakpoints?: number[] | undefined;
|
|
1353
|
-
} | undefined;
|
|
1354
|
-
devToolbar?: {
|
|
1355
|
-
enabled?: boolean | undefined;
|
|
1356
|
-
} | undefined;
|
|
1357
1399
|
markdown?: {
|
|
1358
1400
|
syntaxHighlight?: false | "shiki" | "prism" | {
|
|
1359
1401
|
type?: "shiki" | "prism" | undefined;
|
|
@@ -1375,22 +1417,22 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1375
1417
|
smartypants?: boolean | undefined;
|
|
1376
1418
|
} | undefined;
|
|
1377
1419
|
vite?: import("../../../types/public/config.js").ViteUserConfig | undefined;
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1420
|
+
redirects?: Record<string, string | {
|
|
1421
|
+
status: 301 | 302 | 303 | 307 | 308 | 300 | 304;
|
|
1422
|
+
destination: string;
|
|
1423
|
+
}> | undefined;
|
|
1424
|
+
session?: {
|
|
1425
|
+
driver: string;
|
|
1426
|
+
options?: Record<string, any> | undefined;
|
|
1427
|
+
cookie?: string | {
|
|
1428
|
+
name?: string | undefined;
|
|
1429
|
+
path?: string | undefined;
|
|
1430
|
+
domain?: string | undefined;
|
|
1431
|
+
maxAge?: number | undefined;
|
|
1432
|
+
sameSite?: boolean | "strict" | "none" | "lax" | undefined;
|
|
1433
|
+
secure?: boolean | undefined;
|
|
1390
1434
|
} | undefined;
|
|
1391
|
-
|
|
1392
|
-
security?: {
|
|
1393
|
-
checkOrigin?: boolean | undefined;
|
|
1435
|
+
ttl?: number | undefined;
|
|
1394
1436
|
} | undefined;
|
|
1395
1437
|
env?: {
|
|
1396
1438
|
validateSecrets?: boolean | undefined;
|
|
@@ -1409,15 +1451,15 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1409
1451
|
includes?: string | undefined;
|
|
1410
1452
|
endsWith?: string | undefined;
|
|
1411
1453
|
startsWith?: string | undefined;
|
|
1412
|
-
default?: string | undefined;
|
|
1413
1454
|
optional?: boolean | undefined;
|
|
1455
|
+
url?: boolean | undefined;
|
|
1456
|
+
default?: string | undefined;
|
|
1414
1457
|
max?: number | undefined;
|
|
1415
1458
|
min?: number | undefined;
|
|
1416
|
-
url?: boolean | undefined;
|
|
1417
1459
|
} | {
|
|
1418
1460
|
type: "number";
|
|
1419
|
-
default?: number | undefined;
|
|
1420
1461
|
optional?: boolean | undefined;
|
|
1462
|
+
default?: number | undefined;
|
|
1421
1463
|
max?: number | undefined;
|
|
1422
1464
|
min?: number | undefined;
|
|
1423
1465
|
gt?: number | undefined;
|
|
@@ -1425,35 +1467,95 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1425
1467
|
int?: boolean | undefined;
|
|
1426
1468
|
} | {
|
|
1427
1469
|
type: "boolean";
|
|
1428
|
-
default?: boolean | undefined;
|
|
1429
1470
|
optional?: boolean | undefined;
|
|
1471
|
+
default?: boolean | undefined;
|
|
1430
1472
|
} | {
|
|
1431
1473
|
values: string[];
|
|
1432
1474
|
type: "enum";
|
|
1433
|
-
default?: string | undefined;
|
|
1434
1475
|
optional?: boolean | undefined;
|
|
1476
|
+
default?: string | undefined;
|
|
1435
1477
|
})> | undefined;
|
|
1436
1478
|
} | undefined;
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1479
|
+
adapter?: {
|
|
1480
|
+
name: string;
|
|
1481
|
+
hooks?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1482
|
+
} | undefined;
|
|
1483
|
+
image?: {
|
|
1484
|
+
experimentalDefaultStyles?: boolean | undefined;
|
|
1485
|
+
endpoint?: {
|
|
1486
|
+
entrypoint?: string | undefined;
|
|
1487
|
+
route?: string | undefined;
|
|
1446
1488
|
} | undefined;
|
|
1447
|
-
|
|
1448
|
-
|
|
1489
|
+
service?: {
|
|
1490
|
+
config?: Record<string, any> | undefined;
|
|
1491
|
+
entrypoint?: string | undefined;
|
|
1492
|
+
} | undefined;
|
|
1493
|
+
domains?: string[] | undefined;
|
|
1494
|
+
remotePatterns?: {
|
|
1495
|
+
port?: string | undefined;
|
|
1496
|
+
protocol?: string | undefined;
|
|
1497
|
+
hostname?: string | undefined;
|
|
1498
|
+
pathname?: string | undefined;
|
|
1499
|
+
}[] | undefined;
|
|
1500
|
+
experimentalLayout?: "fixed" | "constrained" | "full-width" | "none" | undefined;
|
|
1501
|
+
experimentalObjectFit?: string | undefined;
|
|
1502
|
+
experimentalObjectPosition?: string | undefined;
|
|
1503
|
+
experimentalBreakpoints?: number[] | undefined;
|
|
1504
|
+
} | undefined;
|
|
1505
|
+
server?: unknown;
|
|
1506
|
+
srcDir?: string | undefined;
|
|
1507
|
+
publicDir?: string | undefined;
|
|
1508
|
+
cacheDir?: string | undefined;
|
|
1509
|
+
site?: string | undefined;
|
|
1510
|
+
compressHTML?: boolean | undefined;
|
|
1511
|
+
base?: string | undefined;
|
|
1512
|
+
trailingSlash?: "never" | "ignore" | "always" | undefined;
|
|
1513
|
+
output?: "server" | "static" | undefined;
|
|
1514
|
+
scopedStyleStrategy?: "where" | "class" | "attribute" | undefined;
|
|
1515
|
+
integrations?: unknown;
|
|
1516
|
+
prefetch?: boolean | {
|
|
1517
|
+
prefetchAll?: boolean | undefined;
|
|
1518
|
+
defaultStrategy?: "tap" | "hover" | "viewport" | "load" | undefined;
|
|
1519
|
+
} | undefined;
|
|
1520
|
+
devToolbar?: {
|
|
1521
|
+
enabled?: boolean | undefined;
|
|
1522
|
+
} | undefined;
|
|
1523
|
+
i18n?: {
|
|
1524
|
+
defaultLocale: string;
|
|
1525
|
+
locales: (string | {
|
|
1526
|
+
path: string;
|
|
1527
|
+
codes: [string, ...string[]];
|
|
1528
|
+
})[];
|
|
1529
|
+
fallback?: Record<string, string> | undefined;
|
|
1530
|
+
domains?: Record<string, string> | undefined;
|
|
1531
|
+
routing?: "manual" | {
|
|
1532
|
+
prefixDefaultLocale?: boolean | undefined;
|
|
1533
|
+
redirectToDefaultLocale?: boolean | undefined;
|
|
1534
|
+
fallbackType?: "redirect" | "rewrite" | undefined;
|
|
1535
|
+
} | undefined;
|
|
1536
|
+
} | undefined;
|
|
1537
|
+
security?: {
|
|
1538
|
+
checkOrigin?: boolean | undefined;
|
|
1449
1539
|
} | undefined;
|
|
1450
1540
|
experimental?: {
|
|
1451
|
-
clientPrerender?: boolean | undefined;
|
|
1452
|
-
contentIntellisense?: boolean | undefined;
|
|
1453
|
-
responsiveImages?: boolean | undefined;
|
|
1454
|
-
headingIdCompat?: boolean | undefined;
|
|
1455
|
-
preserveScriptOrder?: boolean | undefined;
|
|
1456
1541
|
fonts?: ({
|
|
1542
|
+
name: string;
|
|
1543
|
+
cssVariable: string;
|
|
1544
|
+
provider: {
|
|
1545
|
+
entrypoint: string | URL;
|
|
1546
|
+
config?: Record<string, any> | undefined;
|
|
1547
|
+
};
|
|
1548
|
+
weights?: [string | number, ...(string | number)[]] | undefined;
|
|
1549
|
+
styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
|
|
1550
|
+
subsets?: [string, ...string[]] | undefined;
|
|
1551
|
+
fallbacks?: string[] | undefined;
|
|
1552
|
+
optimizedFallbacks?: boolean | undefined;
|
|
1553
|
+
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
1554
|
+
stretch?: string | undefined;
|
|
1555
|
+
featureSettings?: string | undefined;
|
|
1556
|
+
variationSettings?: string | undefined;
|
|
1557
|
+
unicodeRange?: [string, ...string[]] | undefined;
|
|
1558
|
+
} | {
|
|
1457
1559
|
name: string;
|
|
1458
1560
|
cssVariable: string;
|
|
1459
1561
|
provider: "local";
|
|
@@ -1465,9 +1567,9 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1465
1567
|
url: string | URL;
|
|
1466
1568
|
tech?: string | undefined;
|
|
1467
1569
|
})[]];
|
|
1468
|
-
style?: "normal" | "italic" | "oblique" | undefined;
|
|
1469
1570
|
weight?: string | number | undefined;
|
|
1470
|
-
|
|
1571
|
+
style?: "normal" | "italic" | "oblique" | undefined;
|
|
1572
|
+
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
1471
1573
|
stretch?: string | undefined;
|
|
1472
1574
|
featureSettings?: string | undefined;
|
|
1473
1575
|
variationSettings?: string | undefined;
|
|
@@ -1480,9 +1582,9 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1480
1582
|
url: string | URL;
|
|
1481
1583
|
tech?: string | undefined;
|
|
1482
1584
|
})[]];
|
|
1483
|
-
style?: "normal" | "italic" | "oblique" | undefined;
|
|
1484
1585
|
weight?: string | number | undefined;
|
|
1485
|
-
|
|
1586
|
+
style?: "normal" | "italic" | "oblique" | undefined;
|
|
1587
|
+
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
1486
1588
|
stretch?: string | undefined;
|
|
1487
1589
|
featureSettings?: string | undefined;
|
|
1488
1590
|
variationSettings?: string | undefined;
|
|
@@ -1490,95 +1592,45 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1490
1592
|
}[]];
|
|
1491
1593
|
fallbacks?: string[] | undefined;
|
|
1492
1594
|
optimizedFallbacks?: boolean | undefined;
|
|
1493
|
-
} | {
|
|
1494
|
-
name: string;
|
|
1495
|
-
cssVariable: string;
|
|
1496
|
-
provider: {
|
|
1497
|
-
entrypoint: string | URL;
|
|
1498
|
-
config?: Record<string, any> | undefined;
|
|
1499
|
-
};
|
|
1500
|
-
fallbacks?: string[] | undefined;
|
|
1501
|
-
optimizedFallbacks?: boolean | undefined;
|
|
1502
|
-
display?: "fallback" | "auto" | "optional" | "block" | "swap" | undefined;
|
|
1503
|
-
stretch?: string | undefined;
|
|
1504
|
-
featureSettings?: string | undefined;
|
|
1505
|
-
variationSettings?: string | undefined;
|
|
1506
|
-
unicodeRange?: [string, ...string[]] | undefined;
|
|
1507
|
-
weights?: [string | number, ...(string | number)[]] | undefined;
|
|
1508
|
-
styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
|
|
1509
|
-
subsets?: [string, ...string[]] | undefined;
|
|
1510
1595
|
})[] | undefined;
|
|
1596
|
+
clientPrerender?: boolean | undefined;
|
|
1597
|
+
contentIntellisense?: boolean | undefined;
|
|
1598
|
+
responsiveImages?: boolean | undefined;
|
|
1599
|
+
headingIdCompat?: boolean | undefined;
|
|
1600
|
+
preserveScriptOrder?: boolean | undefined;
|
|
1601
|
+
csp?: boolean | {
|
|
1602
|
+
algorithm?: "SHA-256" | "SHA-384" | "SHA-512" | undefined;
|
|
1603
|
+
directives?: (`base-uri ${string}` | `child-src ${string}` | `connect-src ${string}` | `default-src ${string}` | `fenced-frame-src ${string}` | `font-src ${string}` | `form-action ${string}` | `frame-ancestors ${string}` | `frame-src ${string}` | `img-src ${string}` | `manifest-src ${string}` | `media-src ${string}` | `object-src ${string}` | `referrer ${string}` | `report-to ${string}` | `require-trusted-types-for ${string}` | `sandbox ${string}` | `trusted-types ${string}` | `upgrade-insecure-requests ${string}` | `worker-src ${string}`)[] | undefined;
|
|
1604
|
+
styleDirective?: {
|
|
1605
|
+
resources?: string[] | undefined;
|
|
1606
|
+
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
1607
|
+
} | undefined;
|
|
1608
|
+
scriptDirective?: {
|
|
1609
|
+
resources?: string[] | undefined;
|
|
1610
|
+
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
1611
|
+
strictDynamic?: boolean | undefined;
|
|
1612
|
+
} | undefined;
|
|
1613
|
+
} | undefined;
|
|
1511
1614
|
} | undefined;
|
|
1512
1615
|
legacy?: {
|
|
1513
1616
|
collections?: boolean | undefined;
|
|
1514
1617
|
} | undefined;
|
|
1515
1618
|
}>, {
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
host: string | boolean;
|
|
1519
|
-
port: number;
|
|
1520
|
-
allowedHosts: true | string[];
|
|
1521
|
-
open: string | boolean;
|
|
1522
|
-
streaming: boolean;
|
|
1523
|
-
headers?: OutgoingHttpHeaders | undefined;
|
|
1524
|
-
};
|
|
1525
|
-
redirects: Record<string, string | {
|
|
1526
|
-
status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
|
|
1527
|
-
destination: string;
|
|
1528
|
-
}>;
|
|
1619
|
+
outDir: import("url").URL;
|
|
1620
|
+
root: import("url").URL;
|
|
1529
1621
|
build: {
|
|
1622
|
+
redirects: boolean;
|
|
1623
|
+
assets: string;
|
|
1624
|
+
format: "preserve" | "file" | "directory";
|
|
1530
1625
|
client: import("url").URL;
|
|
1531
|
-
format: "file" | "directory" | "preserve";
|
|
1532
1626
|
server: import("url").URL;
|
|
1533
|
-
assets: string;
|
|
1534
1627
|
serverEntry: string;
|
|
1535
|
-
|
|
1536
|
-
inlineStylesheets: "never" | "always" | "auto";
|
|
1628
|
+
inlineStylesheets: "auto" | "never" | "always";
|
|
1537
1629
|
concurrency: number;
|
|
1538
1630
|
assetsPrefix?: string | ({
|
|
1539
1631
|
fallback: string;
|
|
1540
1632
|
} & Record<string, string>) | undefined;
|
|
1541
1633
|
};
|
|
1542
|
-
root: import("url").URL;
|
|
1543
|
-
srcDir: import("url").URL;
|
|
1544
|
-
publicDir: import("url").URL;
|
|
1545
|
-
outDir: import("url").URL;
|
|
1546
|
-
cacheDir: import("url").URL;
|
|
1547
|
-
compressHTML: boolean;
|
|
1548
|
-
base: string;
|
|
1549
|
-
output: "server" | "static";
|
|
1550
|
-
scopedStyleStrategy: "where" | "class" | "attribute";
|
|
1551
|
-
integrations: {
|
|
1552
|
-
name: string;
|
|
1553
|
-
hooks: {} & {
|
|
1554
|
-
[k: string]: unknown;
|
|
1555
|
-
};
|
|
1556
|
-
}[];
|
|
1557
|
-
image: {
|
|
1558
|
-
experimentalDefaultStyles: boolean;
|
|
1559
|
-
endpoint: {
|
|
1560
|
-
route: string;
|
|
1561
|
-
entrypoint?: string | undefined;
|
|
1562
|
-
};
|
|
1563
|
-
service: {
|
|
1564
|
-
entrypoint: string;
|
|
1565
|
-
config: Record<string, any>;
|
|
1566
|
-
};
|
|
1567
|
-
domains: string[];
|
|
1568
|
-
remotePatterns: {
|
|
1569
|
-
port?: string | undefined;
|
|
1570
|
-
protocol?: string | undefined;
|
|
1571
|
-
hostname?: string | undefined;
|
|
1572
|
-
pathname?: string | undefined;
|
|
1573
|
-
}[];
|
|
1574
|
-
experimentalLayout?: "none" | "fixed" | "constrained" | "full-width" | undefined;
|
|
1575
|
-
experimentalObjectFit?: string | undefined;
|
|
1576
|
-
experimentalObjectPosition?: string | undefined;
|
|
1577
|
-
experimentalBreakpoints?: number[] | undefined;
|
|
1578
|
-
};
|
|
1579
|
-
devToolbar: {
|
|
1580
|
-
enabled: boolean;
|
|
1581
|
-
};
|
|
1582
1634
|
markdown: {
|
|
1583
1635
|
syntaxHighlight: false | "shiki" | "prism" | {
|
|
1584
1636
|
type: "shiki" | "prism";
|
|
@@ -1600,9 +1652,10 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1600
1652
|
smartypants: boolean;
|
|
1601
1653
|
};
|
|
1602
1654
|
vite: import("../../../types/public/config.js").ViteUserConfig;
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1655
|
+
redirects: Record<string, string | {
|
|
1656
|
+
status: 301 | 302 | 303 | 307 | 308 | 300 | 304;
|
|
1657
|
+
destination: string;
|
|
1658
|
+
}>;
|
|
1606
1659
|
env: {
|
|
1607
1660
|
validateSecrets: boolean;
|
|
1608
1661
|
schema: Record<string, ({
|
|
@@ -1620,15 +1673,15 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1620
1673
|
includes?: string | undefined;
|
|
1621
1674
|
endsWith?: string | undefined;
|
|
1622
1675
|
startsWith?: string | undefined;
|
|
1623
|
-
default?: string | undefined;
|
|
1624
1676
|
optional?: boolean | undefined;
|
|
1677
|
+
url?: boolean | undefined;
|
|
1678
|
+
default?: string | undefined;
|
|
1625
1679
|
max?: number | undefined;
|
|
1626
1680
|
min?: number | undefined;
|
|
1627
|
-
url?: boolean | undefined;
|
|
1628
1681
|
} | {
|
|
1629
1682
|
type: "number";
|
|
1630
|
-
default?: number | undefined;
|
|
1631
1683
|
optional?: boolean | undefined;
|
|
1684
|
+
default?: number | undefined;
|
|
1632
1685
|
max?: number | undefined;
|
|
1633
1686
|
min?: number | undefined;
|
|
1634
1687
|
gt?: number | undefined;
|
|
@@ -1636,22 +1689,102 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1636
1689
|
int?: boolean | undefined;
|
|
1637
1690
|
} | {
|
|
1638
1691
|
type: "boolean";
|
|
1639
|
-
default?: boolean | undefined;
|
|
1640
1692
|
optional?: boolean | undefined;
|
|
1693
|
+
default?: boolean | undefined;
|
|
1641
1694
|
} | {
|
|
1642
1695
|
values: string[];
|
|
1643
1696
|
type: "enum";
|
|
1644
|
-
default?: string | undefined;
|
|
1645
1697
|
optional?: boolean | undefined;
|
|
1698
|
+
default?: string | undefined;
|
|
1646
1699
|
})>;
|
|
1647
1700
|
};
|
|
1701
|
+
image: {
|
|
1702
|
+
experimentalDefaultStyles: boolean;
|
|
1703
|
+
endpoint: {
|
|
1704
|
+
route: string;
|
|
1705
|
+
entrypoint?: string | undefined;
|
|
1706
|
+
};
|
|
1707
|
+
service: {
|
|
1708
|
+
config: Record<string, any>;
|
|
1709
|
+
entrypoint: string;
|
|
1710
|
+
};
|
|
1711
|
+
domains: string[];
|
|
1712
|
+
remotePatterns: {
|
|
1713
|
+
port?: string | undefined;
|
|
1714
|
+
protocol?: string | undefined;
|
|
1715
|
+
hostname?: string | undefined;
|
|
1716
|
+
pathname?: string | undefined;
|
|
1717
|
+
}[];
|
|
1718
|
+
experimentalLayout?: "fixed" | "constrained" | "full-width" | "none" | undefined;
|
|
1719
|
+
experimentalObjectFit?: string | undefined;
|
|
1720
|
+
experimentalObjectPosition?: string | undefined;
|
|
1721
|
+
experimentalBreakpoints?: number[] | undefined;
|
|
1722
|
+
};
|
|
1723
|
+
server: {
|
|
1724
|
+
host: string | boolean;
|
|
1725
|
+
port: number;
|
|
1726
|
+
allowedHosts: true | string[];
|
|
1727
|
+
open: string | boolean;
|
|
1728
|
+
streaming: boolean;
|
|
1729
|
+
headers?: OutgoingHttpHeaders | undefined;
|
|
1730
|
+
};
|
|
1731
|
+
srcDir: import("url").URL;
|
|
1732
|
+
publicDir: import("url").URL;
|
|
1733
|
+
cacheDir: import("url").URL;
|
|
1734
|
+
compressHTML: boolean;
|
|
1735
|
+
base: string;
|
|
1736
|
+
trailingSlash: "never" | "ignore" | "always";
|
|
1737
|
+
output: "server" | "static";
|
|
1738
|
+
scopedStyleStrategy: "where" | "class" | "attribute";
|
|
1739
|
+
integrations: {
|
|
1740
|
+
name: string;
|
|
1741
|
+
hooks: {} & {
|
|
1742
|
+
[k: string]: unknown;
|
|
1743
|
+
};
|
|
1744
|
+
}[];
|
|
1745
|
+
devToolbar: {
|
|
1746
|
+
enabled: boolean;
|
|
1747
|
+
};
|
|
1748
|
+
security: {
|
|
1749
|
+
checkOrigin: boolean;
|
|
1750
|
+
};
|
|
1648
1751
|
experimental: {
|
|
1649
1752
|
clientPrerender: boolean;
|
|
1650
1753
|
contentIntellisense: boolean;
|
|
1651
1754
|
responsiveImages: boolean;
|
|
1652
1755
|
headingIdCompat: boolean;
|
|
1653
1756
|
preserveScriptOrder: boolean;
|
|
1757
|
+
csp: boolean | {
|
|
1758
|
+
algorithm: "SHA-256" | "SHA-384" | "SHA-512";
|
|
1759
|
+
directives?: (`base-uri ${string}` | `child-src ${string}` | `connect-src ${string}` | `default-src ${string}` | `fenced-frame-src ${string}` | `font-src ${string}` | `form-action ${string}` | `frame-ancestors ${string}` | `frame-src ${string}` | `img-src ${string}` | `manifest-src ${string}` | `media-src ${string}` | `object-src ${string}` | `referrer ${string}` | `report-to ${string}` | `require-trusted-types-for ${string}` | `sandbox ${string}` | `trusted-types ${string}` | `upgrade-insecure-requests ${string}` | `worker-src ${string}`)[] | undefined;
|
|
1760
|
+
styleDirective?: {
|
|
1761
|
+
resources?: string[] | undefined;
|
|
1762
|
+
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
1763
|
+
} | undefined;
|
|
1764
|
+
scriptDirective?: {
|
|
1765
|
+
resources?: string[] | undefined;
|
|
1766
|
+
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
1767
|
+
strictDynamic?: boolean | undefined;
|
|
1768
|
+
} | undefined;
|
|
1769
|
+
};
|
|
1654
1770
|
fonts?: ({
|
|
1771
|
+
name: string;
|
|
1772
|
+
cssVariable: string;
|
|
1773
|
+
provider: {
|
|
1774
|
+
entrypoint: string | URL;
|
|
1775
|
+
config?: Record<string, any> | undefined;
|
|
1776
|
+
};
|
|
1777
|
+
weights?: [string | number, ...(string | number)[]] | undefined;
|
|
1778
|
+
styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
|
|
1779
|
+
subsets?: [string, ...string[]] | undefined;
|
|
1780
|
+
fallbacks?: string[] | undefined;
|
|
1781
|
+
optimizedFallbacks?: boolean | undefined;
|
|
1782
|
+
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
1783
|
+
stretch?: string | undefined;
|
|
1784
|
+
featureSettings?: string | undefined;
|
|
1785
|
+
variationSettings?: string | undefined;
|
|
1786
|
+
unicodeRange?: [string, ...string[]] | undefined;
|
|
1787
|
+
} | {
|
|
1655
1788
|
name: string;
|
|
1656
1789
|
cssVariable: string;
|
|
1657
1790
|
provider: "local";
|
|
@@ -1663,9 +1796,9 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1663
1796
|
url: string | URL;
|
|
1664
1797
|
tech?: string | undefined;
|
|
1665
1798
|
})[]];
|
|
1666
|
-
style?: "normal" | "italic" | "oblique" | undefined;
|
|
1667
1799
|
weight?: string | number | undefined;
|
|
1668
|
-
|
|
1800
|
+
style?: "normal" | "italic" | "oblique" | undefined;
|
|
1801
|
+
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
1669
1802
|
stretch?: string | undefined;
|
|
1670
1803
|
featureSettings?: string | undefined;
|
|
1671
1804
|
variationSettings?: string | undefined;
|
|
@@ -1678,9 +1811,9 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1678
1811
|
url: string | URL;
|
|
1679
1812
|
tech?: string | undefined;
|
|
1680
1813
|
})[]];
|
|
1681
|
-
style?: "normal" | "italic" | "oblique" | undefined;
|
|
1682
1814
|
weight?: string | number | undefined;
|
|
1683
|
-
|
|
1815
|
+
style?: "normal" | "italic" | "oblique" | undefined;
|
|
1816
|
+
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
1684
1817
|
stretch?: string | undefined;
|
|
1685
1818
|
featureSettings?: string | undefined;
|
|
1686
1819
|
variationSettings?: string | undefined;
|
|
@@ -1688,38 +1821,34 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1688
1821
|
}[]];
|
|
1689
1822
|
fallbacks?: string[] | undefined;
|
|
1690
1823
|
optimizedFallbacks?: boolean | undefined;
|
|
1691
|
-
} | {
|
|
1692
|
-
name: string;
|
|
1693
|
-
cssVariable: string;
|
|
1694
|
-
provider: {
|
|
1695
|
-
entrypoint: string | URL;
|
|
1696
|
-
config?: Record<string, any> | undefined;
|
|
1697
|
-
};
|
|
1698
|
-
fallbacks?: string[] | undefined;
|
|
1699
|
-
optimizedFallbacks?: boolean | undefined;
|
|
1700
|
-
display?: "fallback" | "auto" | "optional" | "block" | "swap" | undefined;
|
|
1701
|
-
stretch?: string | undefined;
|
|
1702
|
-
featureSettings?: string | undefined;
|
|
1703
|
-
variationSettings?: string | undefined;
|
|
1704
|
-
unicodeRange?: [string, ...string[]] | undefined;
|
|
1705
|
-
weights?: [string | number, ...(string | number)[]] | undefined;
|
|
1706
|
-
styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
|
|
1707
|
-
subsets?: [string, ...string[]] | undefined;
|
|
1708
1824
|
})[] | undefined;
|
|
1709
1825
|
};
|
|
1710
1826
|
legacy: {
|
|
1711
1827
|
collections: boolean;
|
|
1712
1828
|
};
|
|
1713
|
-
|
|
1829
|
+
session?: {
|
|
1830
|
+
driver: string;
|
|
1831
|
+
options?: Record<string, any> | undefined;
|
|
1832
|
+
cookie?: {
|
|
1833
|
+
name?: string | undefined;
|
|
1834
|
+
path?: string | undefined;
|
|
1835
|
+
domain?: string | undefined;
|
|
1836
|
+
maxAge?: number | undefined;
|
|
1837
|
+
sameSite?: boolean | "strict" | "none" | "lax" | undefined;
|
|
1838
|
+
secure?: boolean | undefined;
|
|
1839
|
+
} | undefined;
|
|
1840
|
+
ttl?: number | undefined;
|
|
1841
|
+
} | undefined;
|
|
1714
1842
|
adapter?: {
|
|
1715
1843
|
name: string;
|
|
1716
1844
|
hooks: {} & {
|
|
1717
1845
|
[k: string]: unknown;
|
|
1718
1846
|
};
|
|
1719
1847
|
} | undefined;
|
|
1848
|
+
site?: string | undefined;
|
|
1720
1849
|
prefetch?: boolean | {
|
|
1721
1850
|
prefetchAll?: boolean | undefined;
|
|
1722
|
-
defaultStrategy?: "
|
|
1851
|
+
defaultStrategy?: "tap" | "hover" | "viewport" | "load" | undefined;
|
|
1723
1852
|
} | undefined;
|
|
1724
1853
|
i18n?: {
|
|
1725
1854
|
defaultLocale: string;
|
|
@@ -1735,83 +1864,22 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1735
1864
|
fallback?: Record<string, string> | undefined;
|
|
1736
1865
|
domains?: Record<string, string> | undefined;
|
|
1737
1866
|
} | undefined;
|
|
1738
|
-
session?: {
|
|
1739
|
-
driver: string;
|
|
1740
|
-
cookie?: {
|
|
1741
|
-
domain?: string | undefined;
|
|
1742
|
-
path?: string | undefined;
|
|
1743
|
-
maxAge?: number | undefined;
|
|
1744
|
-
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
1745
|
-
secure?: boolean | undefined;
|
|
1746
|
-
name?: string | undefined;
|
|
1747
|
-
} | undefined;
|
|
1748
|
-
options?: Record<string, any> | undefined;
|
|
1749
|
-
ttl?: number | undefined;
|
|
1750
|
-
} | undefined;
|
|
1751
1867
|
}, {
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
redirects?: Record<string, string | {
|
|
1755
|
-
status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
|
|
1756
|
-
destination: string;
|
|
1757
|
-
}> | undefined;
|
|
1868
|
+
outDir?: string | undefined;
|
|
1869
|
+
root?: string | undefined;
|
|
1758
1870
|
build?: {
|
|
1871
|
+
redirects?: boolean | undefined;
|
|
1872
|
+
assets?: string | undefined;
|
|
1873
|
+
format?: "preserve" | "file" | "directory" | undefined;
|
|
1759
1874
|
client?: string | undefined;
|
|
1760
|
-
format?: "file" | "directory" | "preserve" | undefined;
|
|
1761
1875
|
server?: string | undefined;
|
|
1762
|
-
assets?: string | undefined;
|
|
1763
1876
|
serverEntry?: string | undefined;
|
|
1764
|
-
|
|
1765
|
-
inlineStylesheets?: "never" | "always" | "auto" | undefined;
|
|
1877
|
+
inlineStylesheets?: "auto" | "never" | "always" | undefined;
|
|
1766
1878
|
concurrency?: number | undefined;
|
|
1767
1879
|
assetsPrefix?: string | ({
|
|
1768
1880
|
fallback: string;
|
|
1769
1881
|
} & Record<string, string>) | undefined;
|
|
1770
1882
|
} | undefined;
|
|
1771
|
-
root?: string | undefined;
|
|
1772
|
-
srcDir?: string | undefined;
|
|
1773
|
-
publicDir?: string | undefined;
|
|
1774
|
-
outDir?: string | undefined;
|
|
1775
|
-
cacheDir?: string | undefined;
|
|
1776
|
-
site?: string | undefined;
|
|
1777
|
-
compressHTML?: boolean | undefined;
|
|
1778
|
-
base?: string | undefined;
|
|
1779
|
-
output?: "server" | "static" | undefined;
|
|
1780
|
-
scopedStyleStrategy?: "where" | "class" | "attribute" | undefined;
|
|
1781
|
-
adapter?: {
|
|
1782
|
-
name: string;
|
|
1783
|
-
hooks?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1784
|
-
} | undefined;
|
|
1785
|
-
integrations?: unknown;
|
|
1786
|
-
prefetch?: boolean | {
|
|
1787
|
-
prefetchAll?: boolean | undefined;
|
|
1788
|
-
defaultStrategy?: "load" | "tap" | "hover" | "viewport" | undefined;
|
|
1789
|
-
} | undefined;
|
|
1790
|
-
image?: {
|
|
1791
|
-
experimentalDefaultStyles?: boolean | undefined;
|
|
1792
|
-
endpoint?: {
|
|
1793
|
-
entrypoint?: string | undefined;
|
|
1794
|
-
route?: string | undefined;
|
|
1795
|
-
} | undefined;
|
|
1796
|
-
service?: {
|
|
1797
|
-
entrypoint?: string | undefined;
|
|
1798
|
-
config?: Record<string, any> | undefined;
|
|
1799
|
-
} | undefined;
|
|
1800
|
-
domains?: string[] | undefined;
|
|
1801
|
-
remotePatterns?: {
|
|
1802
|
-
port?: string | undefined;
|
|
1803
|
-
protocol?: string | undefined;
|
|
1804
|
-
hostname?: string | undefined;
|
|
1805
|
-
pathname?: string | undefined;
|
|
1806
|
-
}[] | undefined;
|
|
1807
|
-
experimentalLayout?: "none" | "fixed" | "constrained" | "full-width" | undefined;
|
|
1808
|
-
experimentalObjectFit?: string | undefined;
|
|
1809
|
-
experimentalObjectPosition?: string | undefined;
|
|
1810
|
-
experimentalBreakpoints?: number[] | undefined;
|
|
1811
|
-
} | undefined;
|
|
1812
|
-
devToolbar?: {
|
|
1813
|
-
enabled?: boolean | undefined;
|
|
1814
|
-
} | undefined;
|
|
1815
1883
|
markdown?: {
|
|
1816
1884
|
syntaxHighlight?: false | "shiki" | "prism" | {
|
|
1817
1885
|
type?: "shiki" | "prism" | undefined;
|
|
@@ -1833,22 +1901,22 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1833
1901
|
smartypants?: boolean | undefined;
|
|
1834
1902
|
} | undefined;
|
|
1835
1903
|
vite?: import("../../../types/public/config.js").ViteUserConfig | undefined;
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1904
|
+
redirects?: Record<string, string | {
|
|
1905
|
+
status: 301 | 302 | 303 | 307 | 308 | 300 | 304;
|
|
1906
|
+
destination: string;
|
|
1907
|
+
}> | undefined;
|
|
1908
|
+
session?: {
|
|
1909
|
+
driver: string;
|
|
1910
|
+
options?: Record<string, any> | undefined;
|
|
1911
|
+
cookie?: string | {
|
|
1912
|
+
name?: string | undefined;
|
|
1913
|
+
path?: string | undefined;
|
|
1914
|
+
domain?: string | undefined;
|
|
1915
|
+
maxAge?: number | undefined;
|
|
1916
|
+
sameSite?: boolean | "strict" | "none" | "lax" | undefined;
|
|
1917
|
+
secure?: boolean | undefined;
|
|
1848
1918
|
} | undefined;
|
|
1849
|
-
|
|
1850
|
-
security?: {
|
|
1851
|
-
checkOrigin?: boolean | undefined;
|
|
1919
|
+
ttl?: number | undefined;
|
|
1852
1920
|
} | undefined;
|
|
1853
1921
|
env?: {
|
|
1854
1922
|
validateSecrets?: boolean | undefined;
|
|
@@ -1867,15 +1935,15 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1867
1935
|
includes?: string | undefined;
|
|
1868
1936
|
endsWith?: string | undefined;
|
|
1869
1937
|
startsWith?: string | undefined;
|
|
1870
|
-
default?: string | undefined;
|
|
1871
1938
|
optional?: boolean | undefined;
|
|
1939
|
+
url?: boolean | undefined;
|
|
1940
|
+
default?: string | undefined;
|
|
1872
1941
|
max?: number | undefined;
|
|
1873
1942
|
min?: number | undefined;
|
|
1874
|
-
url?: boolean | undefined;
|
|
1875
1943
|
} | {
|
|
1876
1944
|
type: "number";
|
|
1877
|
-
default?: number | undefined;
|
|
1878
1945
|
optional?: boolean | undefined;
|
|
1946
|
+
default?: number | undefined;
|
|
1879
1947
|
max?: number | undefined;
|
|
1880
1948
|
min?: number | undefined;
|
|
1881
1949
|
gt?: number | undefined;
|
|
@@ -1883,35 +1951,95 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1883
1951
|
int?: boolean | undefined;
|
|
1884
1952
|
} | {
|
|
1885
1953
|
type: "boolean";
|
|
1886
|
-
default?: boolean | undefined;
|
|
1887
1954
|
optional?: boolean | undefined;
|
|
1955
|
+
default?: boolean | undefined;
|
|
1888
1956
|
} | {
|
|
1889
1957
|
values: string[];
|
|
1890
1958
|
type: "enum";
|
|
1891
|
-
default?: string | undefined;
|
|
1892
1959
|
optional?: boolean | undefined;
|
|
1960
|
+
default?: string | undefined;
|
|
1893
1961
|
})> | undefined;
|
|
1894
1962
|
} | undefined;
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1963
|
+
adapter?: {
|
|
1964
|
+
name: string;
|
|
1965
|
+
hooks?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1966
|
+
} | undefined;
|
|
1967
|
+
image?: {
|
|
1968
|
+
experimentalDefaultStyles?: boolean | undefined;
|
|
1969
|
+
endpoint?: {
|
|
1970
|
+
entrypoint?: string | undefined;
|
|
1971
|
+
route?: string | undefined;
|
|
1904
1972
|
} | undefined;
|
|
1905
|
-
|
|
1906
|
-
|
|
1973
|
+
service?: {
|
|
1974
|
+
config?: Record<string, any> | undefined;
|
|
1975
|
+
entrypoint?: string | undefined;
|
|
1976
|
+
} | undefined;
|
|
1977
|
+
domains?: string[] | undefined;
|
|
1978
|
+
remotePatterns?: {
|
|
1979
|
+
port?: string | undefined;
|
|
1980
|
+
protocol?: string | undefined;
|
|
1981
|
+
hostname?: string | undefined;
|
|
1982
|
+
pathname?: string | undefined;
|
|
1983
|
+
}[] | undefined;
|
|
1984
|
+
experimentalLayout?: "fixed" | "constrained" | "full-width" | "none" | undefined;
|
|
1985
|
+
experimentalObjectFit?: string | undefined;
|
|
1986
|
+
experimentalObjectPosition?: string | undefined;
|
|
1987
|
+
experimentalBreakpoints?: number[] | undefined;
|
|
1988
|
+
} | undefined;
|
|
1989
|
+
server?: unknown;
|
|
1990
|
+
srcDir?: string | undefined;
|
|
1991
|
+
publicDir?: string | undefined;
|
|
1992
|
+
cacheDir?: string | undefined;
|
|
1993
|
+
site?: string | undefined;
|
|
1994
|
+
compressHTML?: boolean | undefined;
|
|
1995
|
+
base?: string | undefined;
|
|
1996
|
+
trailingSlash?: "never" | "ignore" | "always" | undefined;
|
|
1997
|
+
output?: "server" | "static" | undefined;
|
|
1998
|
+
scopedStyleStrategy?: "where" | "class" | "attribute" | undefined;
|
|
1999
|
+
integrations?: unknown;
|
|
2000
|
+
prefetch?: boolean | {
|
|
2001
|
+
prefetchAll?: boolean | undefined;
|
|
2002
|
+
defaultStrategy?: "tap" | "hover" | "viewport" | "load" | undefined;
|
|
2003
|
+
} | undefined;
|
|
2004
|
+
devToolbar?: {
|
|
2005
|
+
enabled?: boolean | undefined;
|
|
2006
|
+
} | undefined;
|
|
2007
|
+
i18n?: {
|
|
2008
|
+
defaultLocale: string;
|
|
2009
|
+
locales: (string | {
|
|
2010
|
+
path: string;
|
|
2011
|
+
codes: [string, ...string[]];
|
|
2012
|
+
})[];
|
|
2013
|
+
fallback?: Record<string, string> | undefined;
|
|
2014
|
+
domains?: Record<string, string> | undefined;
|
|
2015
|
+
routing?: "manual" | {
|
|
2016
|
+
prefixDefaultLocale?: boolean | undefined;
|
|
2017
|
+
redirectToDefaultLocale?: boolean | undefined;
|
|
2018
|
+
fallbackType?: "redirect" | "rewrite" | undefined;
|
|
2019
|
+
} | undefined;
|
|
2020
|
+
} | undefined;
|
|
2021
|
+
security?: {
|
|
2022
|
+
checkOrigin?: boolean | undefined;
|
|
1907
2023
|
} | undefined;
|
|
1908
2024
|
experimental?: {
|
|
1909
|
-
clientPrerender?: boolean | undefined;
|
|
1910
|
-
contentIntellisense?: boolean | undefined;
|
|
1911
|
-
responsiveImages?: boolean | undefined;
|
|
1912
|
-
headingIdCompat?: boolean | undefined;
|
|
1913
|
-
preserveScriptOrder?: boolean | undefined;
|
|
1914
2025
|
fonts?: ({
|
|
2026
|
+
name: string;
|
|
2027
|
+
cssVariable: string;
|
|
2028
|
+
provider: {
|
|
2029
|
+
entrypoint: string | URL;
|
|
2030
|
+
config?: Record<string, any> | undefined;
|
|
2031
|
+
};
|
|
2032
|
+
weights?: [string | number, ...(string | number)[]] | undefined;
|
|
2033
|
+
styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
|
|
2034
|
+
subsets?: [string, ...string[]] | undefined;
|
|
2035
|
+
fallbacks?: string[] | undefined;
|
|
2036
|
+
optimizedFallbacks?: boolean | undefined;
|
|
2037
|
+
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
2038
|
+
stretch?: string | undefined;
|
|
2039
|
+
featureSettings?: string | undefined;
|
|
2040
|
+
variationSettings?: string | undefined;
|
|
2041
|
+
unicodeRange?: [string, ...string[]] | undefined;
|
|
2042
|
+
} | {
|
|
1915
2043
|
name: string;
|
|
1916
2044
|
cssVariable: string;
|
|
1917
2045
|
provider: "local";
|
|
@@ -1923,9 +2051,9 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1923
2051
|
url: string | URL;
|
|
1924
2052
|
tech?: string | undefined;
|
|
1925
2053
|
})[]];
|
|
1926
|
-
style?: "normal" | "italic" | "oblique" | undefined;
|
|
1927
2054
|
weight?: string | number | undefined;
|
|
1928
|
-
|
|
2055
|
+
style?: "normal" | "italic" | "oblique" | undefined;
|
|
2056
|
+
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
1929
2057
|
stretch?: string | undefined;
|
|
1930
2058
|
featureSettings?: string | undefined;
|
|
1931
2059
|
variationSettings?: string | undefined;
|
|
@@ -1938,9 +2066,9 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1938
2066
|
url: string | URL;
|
|
1939
2067
|
tech?: string | undefined;
|
|
1940
2068
|
})[]];
|
|
1941
|
-
style?: "normal" | "italic" | "oblique" | undefined;
|
|
1942
2069
|
weight?: string | number | undefined;
|
|
1943
|
-
|
|
2070
|
+
style?: "normal" | "italic" | "oblique" | undefined;
|
|
2071
|
+
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
1944
2072
|
stretch?: string | undefined;
|
|
1945
2073
|
featureSettings?: string | undefined;
|
|
1946
2074
|
variationSettings?: string | undefined;
|
|
@@ -1948,24 +2076,25 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1948
2076
|
}[]];
|
|
1949
2077
|
fallbacks?: string[] | undefined;
|
|
1950
2078
|
optimizedFallbacks?: boolean | undefined;
|
|
1951
|
-
} | {
|
|
1952
|
-
name: string;
|
|
1953
|
-
cssVariable: string;
|
|
1954
|
-
provider: {
|
|
1955
|
-
entrypoint: string | URL;
|
|
1956
|
-
config?: Record<string, any> | undefined;
|
|
1957
|
-
};
|
|
1958
|
-
fallbacks?: string[] | undefined;
|
|
1959
|
-
optimizedFallbacks?: boolean | undefined;
|
|
1960
|
-
display?: "fallback" | "auto" | "optional" | "block" | "swap" | undefined;
|
|
1961
|
-
stretch?: string | undefined;
|
|
1962
|
-
featureSettings?: string | undefined;
|
|
1963
|
-
variationSettings?: string | undefined;
|
|
1964
|
-
unicodeRange?: [string, ...string[]] | undefined;
|
|
1965
|
-
weights?: [string | number, ...(string | number)[]] | undefined;
|
|
1966
|
-
styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
|
|
1967
|
-
subsets?: [string, ...string[]] | undefined;
|
|
1968
2079
|
})[] | undefined;
|
|
2080
|
+
clientPrerender?: boolean | undefined;
|
|
2081
|
+
contentIntellisense?: boolean | undefined;
|
|
2082
|
+
responsiveImages?: boolean | undefined;
|
|
2083
|
+
headingIdCompat?: boolean | undefined;
|
|
2084
|
+
preserveScriptOrder?: boolean | undefined;
|
|
2085
|
+
csp?: boolean | {
|
|
2086
|
+
algorithm?: "SHA-256" | "SHA-384" | "SHA-512" | undefined;
|
|
2087
|
+
directives?: (`base-uri ${string}` | `child-src ${string}` | `connect-src ${string}` | `default-src ${string}` | `fenced-frame-src ${string}` | `font-src ${string}` | `form-action ${string}` | `frame-ancestors ${string}` | `frame-src ${string}` | `img-src ${string}` | `manifest-src ${string}` | `media-src ${string}` | `object-src ${string}` | `referrer ${string}` | `report-to ${string}` | `require-trusted-types-for ${string}` | `sandbox ${string}` | `trusted-types ${string}` | `upgrade-insecure-requests ${string}` | `worker-src ${string}`)[] | undefined;
|
|
2088
|
+
styleDirective?: {
|
|
2089
|
+
resources?: string[] | undefined;
|
|
2090
|
+
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
2091
|
+
} | undefined;
|
|
2092
|
+
scriptDirective?: {
|
|
2093
|
+
resources?: string[] | undefined;
|
|
2094
|
+
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
2095
|
+
strictDynamic?: boolean | undefined;
|
|
2096
|
+
} | undefined;
|
|
2097
|
+
} | undefined;
|
|
1969
2098
|
} | undefined;
|
|
1970
2099
|
legacy?: {
|
|
1971
2100
|
collections?: boolean | undefined;
|