astro 5.16.0 → 5.16.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/astro-jsx.d.ts +11 -0
- package/dist/assets/fonts/definitions.d.ts +0 -18
- package/dist/assets/fonts/infra/build-remote-font-provider-mod-resolver.d.ts +2 -0
- package/dist/assets/fonts/infra/build-remote-font-provider-mod-resolver.js +10 -0
- package/dist/assets/fonts/infra/{url-proxy-hash-resolver.d.ts → build-url-proxy-hash-resolver.d.ts} +0 -3
- package/dist/assets/fonts/infra/build-url-proxy-hash-resolver.js +13 -0
- package/dist/assets/fonts/infra/{url-resolver.d.ts → build-url-resolver.d.ts} +0 -4
- package/dist/assets/fonts/infra/{url-resolver.js → build-url-resolver.js} +1 -22
- package/dist/assets/fonts/infra/{font-fetcher.d.ts → cached-font-fetcher.d.ts} +2 -3
- package/dist/assets/fonts/infra/{font-fetcher.js → cached-font-fetcher.js} +8 -6
- package/dist/assets/fonts/infra/{remote-font-provider-mod-resolver.d.ts → dev-remote-font-provider-mod-resolver.d.ts} +0 -1
- package/dist/assets/fonts/infra/{remote-font-provider-mod-resolver.js → dev-remote-font-provider-mod-resolver.js} +0 -8
- package/dist/assets/fonts/infra/dev-url-proxy-hash-resolver.d.ts +5 -0
- package/dist/assets/fonts/infra/{url-proxy-hash-resolver.js → dev-url-proxy-hash-resolver.js} +3 -14
- package/dist/assets/fonts/infra/dev-url-resolver.d.ts +5 -0
- package/dist/assets/fonts/infra/dev-url-resolver.js +25 -0
- package/dist/assets/fonts/infra/font-type-extractor.d.ts +2 -4
- package/dist/assets/fonts/infra/font-type-extractor.js +9 -8
- package/dist/assets/fonts/infra/fontace-font-file-reader.d.ts +2 -0
- package/dist/assets/fonts/infra/fontace-font-file-reader.js +27 -0
- package/dist/assets/fonts/infra/remote-font-provider-resolver.d.ts +2 -3
- package/dist/assets/fonts/infra/remote-font-provider-resolver.js +10 -12
- package/dist/assets/fonts/infra/url-proxy-content-resolver.d.ts +2 -4
- package/dist/assets/fonts/infra/url-proxy-content-resolver.js +3 -8
- package/dist/assets/fonts/infra/xxhash-hasher.d.ts +2 -0
- package/dist/assets/fonts/infra/{hasher.js → xxhash-hasher.js} +2 -2
- package/dist/assets/fonts/vite-plugin-fonts.js +23 -31
- package/dist/assets/utils/remotePattern.d.ts +1 -3
- package/dist/cli/create-key/infra/crypto-key-generator.d.ts +3 -1
- package/dist/cli/create-key/infra/crypto-key-generator.js +7 -9
- package/dist/cli/definitions.d.ts +9 -8
- package/dist/cli/docs/infra/process-cloud-ide-provider.d.ts +4 -1
- package/dist/cli/docs/infra/process-cloud-ide-provider.js +3 -7
- package/dist/cli/index.js +35 -36
- package/dist/cli/info/core/get-package-manager.js +14 -15
- package/dist/cli/info/definitions.d.ts +3 -3
- package/dist/cli/info/infra/bun-package-manager.d.ts +4 -1
- package/dist/cli/info/infra/bun-package-manager.js +6 -10
- package/dist/cli/info/infra/cli-astro-config-resolver.d.ts +7 -4
- package/dist/cli/info/infra/cli-astro-config-resolver.js +32 -29
- package/dist/cli/info/infra/cli-clipboard.d.ts +9 -7
- package/dist/cli/info/infra/cli-clipboard.js +48 -37
- package/dist/cli/info/infra/cli-debug-info-provider.d.ts +11 -8
- package/dist/cli/info/infra/cli-debug-info-provider.js +46 -36
- package/dist/cli/info/infra/dev-debug-info-provider.d.ts +12 -9
- package/dist/cli/info/infra/dev-debug-info-provider.js +33 -23
- package/dist/cli/info/infra/noop-package-manager.d.ts +4 -1
- package/dist/cli/info/infra/noop-package-manager.js +6 -10
- package/dist/cli/info/infra/npm-package-manager.d.ts +7 -4
- package/dist/cli/info/infra/npm-package-manager.js +25 -25
- package/dist/cli/info/infra/pnpm-package-manager.d.ts +7 -4
- package/dist/cli/info/infra/pnpm-package-manager.js +24 -24
- package/dist/cli/info/infra/process-node-version-provider.d.ts +3 -1
- package/dist/cli/info/infra/process-node-version-provider.js +3 -7
- package/dist/cli/info/infra/process-package-manager-user-agent-provider.d.ts +3 -1
- package/dist/cli/info/infra/process-package-manager-user-agent-provider.js +4 -7
- package/dist/cli/info/infra/prompts-prompt.d.ts +9 -4
- package/dist/cli/info/infra/prompts-prompt.js +20 -15
- package/dist/cli/info/infra/styled-debug-info-formatter.d.ts +7 -4
- package/dist/cli/info/infra/styled-debug-info-formatter.js +23 -19
- package/dist/cli/info/infra/yarn-package-manager.d.ts +7 -4
- package/dist/cli/info/infra/yarn-package-manager.js +21 -21
- package/dist/cli/infra/build-time-astro-version-provider.d.ts +3 -1
- package/dist/cli/infra/build-time-astro-version-provider.js +4 -8
- package/dist/cli/infra/cli-command-runner.d.ts +7 -4
- package/dist/cli/infra/cli-command-runner.js +14 -10
- package/dist/cli/infra/logger-help-display.d.ts +11 -7
- package/dist/cli/infra/logger-help-display.js +62 -50
- package/dist/cli/infra/passthrough-text-styler.d.ts +8 -1
- package/dist/cli/infra/passthrough-text-styler.js +20 -10
- package/dist/cli/infra/piccolore-text-styler.d.ts +1 -1
- package/dist/cli/infra/piccolore-text-styler.js +2 -4
- package/dist/cli/infra/process-operating-system-provider.d.ts +5 -1
- package/dist/cli/infra/process-operating-system-provider.js +8 -16
- package/dist/cli/infra/tinyexec-command-executor.d.ts +6 -2
- package/dist/cli/infra/tinyexec-command-executor.js +28 -30
- package/dist/content/content-layer.js +3 -3
- package/dist/content/utils.d.ts +10 -10
- package/dist/core/app/index.js +3 -1
- package/dist/core/config/schemas/base.d.ts +72 -72
- package/dist/core/config/schemas/relative.d.ts +98 -98
- package/dist/core/constants.js +1 -1
- package/dist/core/csp/config.d.ts +1 -1
- package/dist/core/dev/dev.js +1 -1
- package/dist/core/errors/errors.js +7 -7
- package/dist/core/messages.js +2 -2
- package/dist/core/sync/index.js +20 -1
- package/dist/env/schema.d.ts +44 -44
- package/dist/types/public/context.d.ts +10 -1
- package/dist/vite-plugin-astro/index.js +5 -1
- package/dist/vite-plugin-astro-server/plugin.js +16 -16
- package/package.json +7 -7
- package/dist/assets/fonts/infra/error-handler.d.ts +0 -2
- package/dist/assets/fonts/infra/error-handler.js +0 -41
- package/dist/assets/fonts/infra/font-file-reader.d.ts +0 -4
- package/dist/assets/fonts/infra/font-file-reader.js +0 -26
- package/dist/assets/fonts/infra/hasher.d.ts +0 -2
- /package/dist/assets/fonts/infra/{font-metrics-resolver.d.ts → capsize-font-metrics-resolver.d.ts} +0 -0
- /package/dist/assets/fonts/infra/{font-metrics-resolver.js → capsize-font-metrics-resolver.js} +0 -0
- /package/dist/assets/fonts/infra/{storage.d.ts → fs-storage.d.ts} +0 -0
- /package/dist/assets/fonts/infra/{storage.js → fs-storage.js} +0 -0
- /package/dist/assets/fonts/infra/{css-renderer.d.ts → minifiable-css-renderer.d.ts} +0 -0
- /package/dist/assets/fonts/infra/{css-renderer.js → minifiable-css-renderer.js} +0 -0
- /package/dist/assets/fonts/infra/{local-provider-url-resolver.d.ts → require-local-provider-url-resolver.d.ts} +0 -0
- /package/dist/assets/fonts/infra/{local-provider-url-resolver.js → require-local-provider-url-resolver.js} +0 -0
|
@@ -50,10 +50,10 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
50
50
|
defaultStrategy: z.ZodOptional<z.ZodEnum<["tap", "hover", "viewport", "load"]>>;
|
|
51
51
|
}, "strip", z.ZodTypeAny, {
|
|
52
52
|
prefetchAll?: boolean | undefined;
|
|
53
|
-
defaultStrategy?: "
|
|
53
|
+
defaultStrategy?: "tap" | "hover" | "viewport" | "load" | undefined;
|
|
54
54
|
}, {
|
|
55
55
|
prefetchAll?: boolean | undefined;
|
|
56
|
-
defaultStrategy?: "
|
|
56
|
+
defaultStrategy?: "tap" | "hover" | "viewport" | "load" | undefined;
|
|
57
57
|
}>]>>;
|
|
58
58
|
image: z.ZodDefault<z.ZodObject<{
|
|
59
59
|
endpoint: z.ZodDefault<z.ZodObject<{
|
|
@@ -99,11 +99,11 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
99
99
|
breakpoints: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
100
100
|
responsiveStyles: z.ZodDefault<z.ZodBoolean>;
|
|
101
101
|
}, "strip", z.ZodTypeAny, {
|
|
102
|
+
responsiveStyles: boolean;
|
|
102
103
|
endpoint: {
|
|
103
104
|
route: string;
|
|
104
105
|
entrypoint?: string | undefined;
|
|
105
106
|
};
|
|
106
|
-
responsiveStyles: boolean;
|
|
107
107
|
service: {
|
|
108
108
|
entrypoint: string;
|
|
109
109
|
config: Record<string, any>;
|
|
@@ -120,11 +120,11 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
120
120
|
objectPosition?: string | undefined;
|
|
121
121
|
breakpoints?: number[] | undefined;
|
|
122
122
|
}, {
|
|
123
|
+
responsiveStyles?: boolean | undefined;
|
|
123
124
|
endpoint?: {
|
|
124
125
|
entrypoint?: string | undefined;
|
|
125
126
|
route?: string | undefined;
|
|
126
127
|
} | undefined;
|
|
127
|
-
responsiveStyles?: boolean | undefined;
|
|
128
128
|
service?: {
|
|
129
129
|
entrypoint?: string | undefined;
|
|
130
130
|
config?: Record<string, any> | undefined;
|
|
@@ -365,22 +365,22 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
365
365
|
type: "string";
|
|
366
366
|
length?: number | undefined;
|
|
367
367
|
includes?: string | undefined;
|
|
368
|
-
url?: boolean | undefined;
|
|
369
|
-
default?: string | undefined;
|
|
370
368
|
optional?: boolean | undefined;
|
|
369
|
+
url?: boolean | undefined;
|
|
371
370
|
endsWith?: string | undefined;
|
|
372
371
|
startsWith?: string | undefined;
|
|
372
|
+
default?: string | undefined;
|
|
373
373
|
max?: number | undefined;
|
|
374
374
|
min?: number | undefined;
|
|
375
375
|
}, {
|
|
376
376
|
type: "string";
|
|
377
377
|
length?: number | undefined;
|
|
378
378
|
includes?: string | undefined;
|
|
379
|
-
url?: boolean | undefined;
|
|
380
|
-
default?: string | undefined;
|
|
381
379
|
optional?: boolean | undefined;
|
|
380
|
+
url?: boolean | undefined;
|
|
382
381
|
endsWith?: string | undefined;
|
|
383
382
|
startsWith?: string | undefined;
|
|
383
|
+
default?: string | undefined;
|
|
384
384
|
max?: number | undefined;
|
|
385
385
|
min?: number | undefined;
|
|
386
386
|
}>, z.ZodObject<{
|
|
@@ -394,8 +394,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
394
394
|
int: z.ZodOptional<z.ZodBoolean>;
|
|
395
395
|
}, "strip", z.ZodTypeAny, {
|
|
396
396
|
type: "number";
|
|
397
|
-
default?: number | undefined;
|
|
398
397
|
optional?: boolean | undefined;
|
|
398
|
+
default?: number | undefined;
|
|
399
399
|
max?: number | undefined;
|
|
400
400
|
min?: number | undefined;
|
|
401
401
|
gt?: number | undefined;
|
|
@@ -403,8 +403,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
403
403
|
int?: boolean | undefined;
|
|
404
404
|
}, {
|
|
405
405
|
type: "number";
|
|
406
|
-
default?: number | undefined;
|
|
407
406
|
optional?: boolean | undefined;
|
|
407
|
+
default?: number | undefined;
|
|
408
408
|
max?: number | undefined;
|
|
409
409
|
min?: number | undefined;
|
|
410
410
|
gt?: number | undefined;
|
|
@@ -416,37 +416,37 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
416
416
|
default: z.ZodOptional<z.ZodBoolean>;
|
|
417
417
|
}, "strip", z.ZodTypeAny, {
|
|
418
418
|
type: "boolean";
|
|
419
|
-
default?: boolean | undefined;
|
|
420
419
|
optional?: boolean | undefined;
|
|
420
|
+
default?: boolean | undefined;
|
|
421
421
|
}, {
|
|
422
422
|
type: "boolean";
|
|
423
|
-
default?: boolean | undefined;
|
|
424
423
|
optional?: boolean | undefined;
|
|
424
|
+
default?: boolean | undefined;
|
|
425
425
|
}>, z.ZodEffects<z.ZodObject<{
|
|
426
426
|
type: z.ZodLiteral<"enum">;
|
|
427
427
|
values: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
428
428
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
429
429
|
default: z.ZodOptional<z.ZodString>;
|
|
430
430
|
}, "strip", z.ZodTypeAny, {
|
|
431
|
-
values: string[];
|
|
432
431
|
type: "enum";
|
|
433
|
-
|
|
432
|
+
values: string[];
|
|
434
433
|
optional?: boolean | undefined;
|
|
434
|
+
default?: string | undefined;
|
|
435
435
|
}, {
|
|
436
|
-
values: string[];
|
|
437
436
|
type: "enum";
|
|
438
|
-
|
|
437
|
+
values: string[];
|
|
439
438
|
optional?: boolean | undefined;
|
|
439
|
+
default?: string | undefined;
|
|
440
440
|
}>, {
|
|
441
|
-
values: string[];
|
|
442
441
|
type: "enum";
|
|
443
|
-
|
|
442
|
+
values: string[];
|
|
444
443
|
optional?: boolean | undefined;
|
|
444
|
+
default?: string | undefined;
|
|
445
445
|
}, {
|
|
446
|
-
values: string[];
|
|
447
446
|
type: "enum";
|
|
448
|
-
|
|
447
|
+
values: string[];
|
|
449
448
|
optional?: boolean | undefined;
|
|
449
|
+
default?: string | undefined;
|
|
450
450
|
}>]>>>>>;
|
|
451
451
|
validateSecrets: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
452
452
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -464,17 +464,17 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
464
464
|
type: "string";
|
|
465
465
|
length?: number | undefined;
|
|
466
466
|
includes?: string | undefined;
|
|
467
|
-
url?: boolean | undefined;
|
|
468
|
-
default?: string | undefined;
|
|
469
467
|
optional?: boolean | undefined;
|
|
468
|
+
url?: boolean | undefined;
|
|
470
469
|
endsWith?: string | undefined;
|
|
471
470
|
startsWith?: string | undefined;
|
|
471
|
+
default?: string | undefined;
|
|
472
472
|
max?: number | undefined;
|
|
473
473
|
min?: number | undefined;
|
|
474
474
|
} | {
|
|
475
475
|
type: "number";
|
|
476
|
-
default?: number | undefined;
|
|
477
476
|
optional?: boolean | undefined;
|
|
477
|
+
default?: number | undefined;
|
|
478
478
|
max?: number | undefined;
|
|
479
479
|
min?: number | undefined;
|
|
480
480
|
gt?: number | undefined;
|
|
@@ -482,13 +482,13 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
482
482
|
int?: boolean | undefined;
|
|
483
483
|
} | {
|
|
484
484
|
type: "boolean";
|
|
485
|
-
default?: boolean | undefined;
|
|
486
485
|
optional?: boolean | undefined;
|
|
486
|
+
default?: boolean | undefined;
|
|
487
487
|
} | {
|
|
488
|
-
values: string[];
|
|
489
488
|
type: "enum";
|
|
490
|
-
|
|
489
|
+
values: string[];
|
|
491
490
|
optional?: boolean | undefined;
|
|
491
|
+
default?: string | undefined;
|
|
492
492
|
})>;
|
|
493
493
|
}, {
|
|
494
494
|
validateSecrets?: boolean | undefined;
|
|
@@ -505,17 +505,17 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
505
505
|
type: "string";
|
|
506
506
|
length?: number | undefined;
|
|
507
507
|
includes?: string | undefined;
|
|
508
|
-
url?: boolean | undefined;
|
|
509
|
-
default?: string | undefined;
|
|
510
508
|
optional?: boolean | undefined;
|
|
509
|
+
url?: boolean | undefined;
|
|
511
510
|
endsWith?: string | undefined;
|
|
512
511
|
startsWith?: string | undefined;
|
|
512
|
+
default?: string | undefined;
|
|
513
513
|
max?: number | undefined;
|
|
514
514
|
min?: number | undefined;
|
|
515
515
|
} | {
|
|
516
516
|
type: "number";
|
|
517
|
-
default?: number | undefined;
|
|
518
517
|
optional?: boolean | undefined;
|
|
518
|
+
default?: number | undefined;
|
|
519
519
|
max?: number | undefined;
|
|
520
520
|
min?: number | undefined;
|
|
521
521
|
gt?: number | undefined;
|
|
@@ -523,13 +523,13 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
523
523
|
int?: boolean | undefined;
|
|
524
524
|
} | {
|
|
525
525
|
type: "boolean";
|
|
526
|
-
default?: boolean | undefined;
|
|
527
526
|
optional?: boolean | undefined;
|
|
527
|
+
default?: boolean | undefined;
|
|
528
528
|
} | {
|
|
529
|
-
values: string[];
|
|
530
529
|
type: "enum";
|
|
531
|
-
|
|
530
|
+
values: string[];
|
|
532
531
|
optional?: boolean | undefined;
|
|
532
|
+
default?: string | undefined;
|
|
533
533
|
})> | undefined;
|
|
534
534
|
}>>>;
|
|
535
535
|
session: z.ZodOptional<z.ZodObject<{
|
|
@@ -543,29 +543,29 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
543
543
|
sameSite: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["strict", "lax", "none"]>, z.ZodBoolean]>>;
|
|
544
544
|
secure: z.ZodOptional<z.ZodBoolean>;
|
|
545
545
|
}, "strip", z.ZodTypeAny, {
|
|
546
|
-
path?: string | undefined;
|
|
547
546
|
name?: string | undefined;
|
|
547
|
+
path?: string | undefined;
|
|
548
548
|
domain?: string | undefined;
|
|
549
549
|
maxAge?: number | undefined;
|
|
550
550
|
sameSite?: boolean | "strict" | "none" | "lax" | undefined;
|
|
551
551
|
secure?: boolean | undefined;
|
|
552
552
|
}, {
|
|
553
|
-
path?: string | undefined;
|
|
554
553
|
name?: string | undefined;
|
|
554
|
+
path?: string | undefined;
|
|
555
555
|
domain?: string | undefined;
|
|
556
556
|
maxAge?: number | undefined;
|
|
557
557
|
sameSite?: boolean | "strict" | "none" | "lax" | undefined;
|
|
558
558
|
secure?: boolean | undefined;
|
|
559
559
|
}>, z.ZodString]>, {
|
|
560
|
-
path?: string | undefined;
|
|
561
560
|
name?: string | undefined;
|
|
561
|
+
path?: string | undefined;
|
|
562
562
|
domain?: string | undefined;
|
|
563
563
|
maxAge?: number | undefined;
|
|
564
564
|
sameSite?: boolean | "strict" | "none" | "lax" | undefined;
|
|
565
565
|
secure?: boolean | undefined;
|
|
566
566
|
}, string | {
|
|
567
|
-
path?: string | undefined;
|
|
568
567
|
name?: string | undefined;
|
|
568
|
+
path?: string | undefined;
|
|
569
569
|
domain?: string | undefined;
|
|
570
570
|
maxAge?: number | undefined;
|
|
571
571
|
sameSite?: boolean | "strict" | "none" | "lax" | undefined;
|
|
@@ -573,29 +573,29 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
573
573
|
}>>;
|
|
574
574
|
ttl: z.ZodOptional<z.ZodNumber>;
|
|
575
575
|
}, "strip", z.ZodTypeAny, {
|
|
576
|
-
ttl?: number | undefined;
|
|
577
576
|
options?: Record<string, any> | undefined;
|
|
578
577
|
driver?: string | undefined;
|
|
579
578
|
cookie?: {
|
|
580
|
-
path?: string | undefined;
|
|
581
579
|
name?: string | undefined;
|
|
580
|
+
path?: string | undefined;
|
|
582
581
|
domain?: string | undefined;
|
|
583
582
|
maxAge?: number | undefined;
|
|
584
583
|
sameSite?: boolean | "strict" | "none" | "lax" | undefined;
|
|
585
584
|
secure?: boolean | undefined;
|
|
586
585
|
} | undefined;
|
|
587
|
-
}, {
|
|
588
586
|
ttl?: number | undefined;
|
|
587
|
+
}, {
|
|
589
588
|
options?: Record<string, any> | undefined;
|
|
590
589
|
driver?: string | undefined;
|
|
591
590
|
cookie?: string | {
|
|
592
|
-
path?: string | undefined;
|
|
593
591
|
name?: string | undefined;
|
|
592
|
+
path?: string | undefined;
|
|
594
593
|
domain?: string | undefined;
|
|
595
594
|
maxAge?: number | undefined;
|
|
596
595
|
sameSite?: boolean | "strict" | "none" | "lax" | undefined;
|
|
597
596
|
secure?: boolean | undefined;
|
|
598
597
|
} | undefined;
|
|
598
|
+
ttl?: number | undefined;
|
|
599
599
|
}>>;
|
|
600
600
|
experimental: z.ZodDefault<z.ZodObject<{
|
|
601
601
|
clientPrerender: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -800,7 +800,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
800
800
|
liveContentCollections: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
801
801
|
csp: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodDefault<z.ZodOptional<z.ZodBoolean>>, z.ZodObject<{
|
|
802
802
|
algorithm: z.ZodDefault<z.ZodOptional<z.ZodEnum<["SHA-256", "SHA-384", "SHA-512"]>>>;
|
|
803
|
-
directives: z.ZodOptional<z.ZodArray<z.ZodType<`
|
|
803
|
+
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}` | `report-uri${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}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`>, "many">>;
|
|
804
804
|
styleDirective: z.ZodOptional<z.ZodObject<{
|
|
805
805
|
resources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
806
806
|
hashes: z.ZodOptional<z.ZodArray<z.ZodType<`sha256-${string}` | `sha384-${string}` | `sha512-${string}`, z.ZodTypeDef, `sha256-${string}` | `sha384-${string}` | `sha512-${string}`>, "many">>;
|
|
@@ -826,7 +826,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
826
826
|
}>>;
|
|
827
827
|
}, "strip", z.ZodTypeAny, {
|
|
828
828
|
algorithm: "SHA-256" | "SHA-384" | "SHA-512";
|
|
829
|
-
directives?: (`
|
|
829
|
+
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}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`)[] | undefined;
|
|
830
830
|
styleDirective?: {
|
|
831
831
|
resources?: string[] | undefined;
|
|
832
832
|
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
@@ -838,7 +838,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
838
838
|
} | undefined;
|
|
839
839
|
}, {
|
|
840
840
|
algorithm?: "SHA-256" | "SHA-384" | "SHA-512" | undefined;
|
|
841
|
-
directives?: (`
|
|
841
|
+
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}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`)[] | undefined;
|
|
842
842
|
styleDirective?: {
|
|
843
843
|
resources?: string[] | undefined;
|
|
844
844
|
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
@@ -861,7 +861,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
861
861
|
liveContentCollections: boolean;
|
|
862
862
|
csp: boolean | {
|
|
863
863
|
algorithm: "SHA-256" | "SHA-384" | "SHA-512";
|
|
864
|
-
directives?: (`
|
|
864
|
+
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}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`)[] | undefined;
|
|
865
865
|
styleDirective?: {
|
|
866
866
|
resources?: string[] | undefined;
|
|
867
867
|
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
@@ -994,7 +994,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
994
994
|
liveContentCollections?: boolean | undefined;
|
|
995
995
|
csp?: boolean | {
|
|
996
996
|
algorithm?: "SHA-256" | "SHA-384" | "SHA-512" | undefined;
|
|
997
|
-
directives?: (`
|
|
997
|
+
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}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`)[] | undefined;
|
|
998
998
|
styleDirective?: {
|
|
999
999
|
resources?: string[] | undefined;
|
|
1000
1000
|
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
@@ -1080,10 +1080,10 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1080
1080
|
streaming: boolean;
|
|
1081
1081
|
headers?: OutgoingHttpHeaders | undefined;
|
|
1082
1082
|
}, {
|
|
1083
|
-
headers?: OutgoingHttpHeaders | undefined;
|
|
1084
1083
|
host?: string | boolean | undefined;
|
|
1085
1084
|
port?: number | undefined;
|
|
1086
1085
|
allowedHosts?: true | string[] | undefined;
|
|
1086
|
+
headers?: OutgoingHttpHeaders | undefined;
|
|
1087
1087
|
open?: string | boolean | undefined;
|
|
1088
1088
|
streaming?: boolean | undefined;
|
|
1089
1089
|
}>>>, {
|
|
@@ -1095,7 +1095,6 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1095
1095
|
headers?: OutgoingHttpHeaders | undefined;
|
|
1096
1096
|
}, unknown>;
|
|
1097
1097
|
}, "strip", z.ZodTypeAny, {
|
|
1098
|
-
base: string;
|
|
1099
1098
|
outDir: import("url").URL;
|
|
1100
1099
|
root: import("url").URL;
|
|
1101
1100
|
build: {
|
|
@@ -1151,17 +1150,17 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1151
1150
|
type: "string";
|
|
1152
1151
|
length?: number | undefined;
|
|
1153
1152
|
includes?: string | undefined;
|
|
1154
|
-
url?: boolean | undefined;
|
|
1155
|
-
default?: string | undefined;
|
|
1156
1153
|
optional?: boolean | undefined;
|
|
1154
|
+
url?: boolean | undefined;
|
|
1157
1155
|
endsWith?: string | undefined;
|
|
1158
1156
|
startsWith?: string | undefined;
|
|
1157
|
+
default?: string | undefined;
|
|
1159
1158
|
max?: number | undefined;
|
|
1160
1159
|
min?: number | undefined;
|
|
1161
1160
|
} | {
|
|
1162
1161
|
type: "number";
|
|
1163
|
-
default?: number | undefined;
|
|
1164
1162
|
optional?: boolean | undefined;
|
|
1163
|
+
default?: number | undefined;
|
|
1165
1164
|
max?: number | undefined;
|
|
1166
1165
|
min?: number | undefined;
|
|
1167
1166
|
gt?: number | undefined;
|
|
@@ -1169,13 +1168,13 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1169
1168
|
int?: boolean | undefined;
|
|
1170
1169
|
} | {
|
|
1171
1170
|
type: "boolean";
|
|
1172
|
-
default?: boolean | undefined;
|
|
1173
1171
|
optional?: boolean | undefined;
|
|
1172
|
+
default?: boolean | undefined;
|
|
1174
1173
|
} | {
|
|
1175
|
-
values: string[];
|
|
1176
1174
|
type: "enum";
|
|
1177
|
-
|
|
1175
|
+
values: string[];
|
|
1178
1176
|
optional?: boolean | undefined;
|
|
1177
|
+
default?: string | undefined;
|
|
1179
1178
|
})>;
|
|
1180
1179
|
};
|
|
1181
1180
|
devToolbar: {
|
|
@@ -1193,7 +1192,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1193
1192
|
publicDir: import("url").URL;
|
|
1194
1193
|
cacheDir: import("url").URL;
|
|
1195
1194
|
compressHTML: boolean;
|
|
1196
|
-
|
|
1195
|
+
base: string;
|
|
1196
|
+
trailingSlash: "never" | "ignore" | "always";
|
|
1197
1197
|
output: "server" | "static";
|
|
1198
1198
|
scopedStyleStrategy: "where" | "class" | "attribute";
|
|
1199
1199
|
integrations: {
|
|
@@ -1203,11 +1203,11 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1203
1203
|
};
|
|
1204
1204
|
}[];
|
|
1205
1205
|
image: {
|
|
1206
|
+
responsiveStyles: boolean;
|
|
1206
1207
|
endpoint: {
|
|
1207
1208
|
route: string;
|
|
1208
1209
|
entrypoint?: string | undefined;
|
|
1209
1210
|
};
|
|
1210
|
-
responsiveStyles: boolean;
|
|
1211
1211
|
service: {
|
|
1212
1212
|
entrypoint: string;
|
|
1213
1213
|
config: Record<string, any>;
|
|
@@ -1240,7 +1240,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1240
1240
|
liveContentCollections: boolean;
|
|
1241
1241
|
csp: boolean | {
|
|
1242
1242
|
algorithm: "SHA-256" | "SHA-384" | "SHA-512";
|
|
1243
|
-
directives?: (`
|
|
1243
|
+
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}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`)[] | undefined;
|
|
1244
1244
|
styleDirective?: {
|
|
1245
1245
|
resources?: string[] | undefined;
|
|
1246
1246
|
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
@@ -1315,17 +1315,17 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1315
1315
|
collections: boolean;
|
|
1316
1316
|
};
|
|
1317
1317
|
session?: {
|
|
1318
|
-
ttl?: number | undefined;
|
|
1319
1318
|
options?: Record<string, any> | undefined;
|
|
1320
1319
|
driver?: string | undefined;
|
|
1321
1320
|
cookie?: {
|
|
1322
|
-
path?: string | undefined;
|
|
1323
1321
|
name?: string | undefined;
|
|
1322
|
+
path?: string | undefined;
|
|
1324
1323
|
domain?: string | undefined;
|
|
1325
1324
|
maxAge?: number | undefined;
|
|
1326
1325
|
sameSite?: boolean | "strict" | "none" | "lax" | undefined;
|
|
1327
1326
|
secure?: boolean | undefined;
|
|
1328
1327
|
} | undefined;
|
|
1328
|
+
ttl?: number | undefined;
|
|
1329
1329
|
} | undefined;
|
|
1330
1330
|
adapter?: {
|
|
1331
1331
|
name: string;
|
|
@@ -1336,7 +1336,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1336
1336
|
site?: string | undefined;
|
|
1337
1337
|
prefetch?: boolean | {
|
|
1338
1338
|
prefetchAll?: boolean | undefined;
|
|
1339
|
-
defaultStrategy?: "
|
|
1339
|
+
defaultStrategy?: "tap" | "hover" | "viewport" | "load" | undefined;
|
|
1340
1340
|
} | undefined;
|
|
1341
1341
|
i18n?: {
|
|
1342
1342
|
defaultLocale: string;
|
|
@@ -1353,7 +1353,6 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1353
1353
|
domains?: Record<string, string> | undefined;
|
|
1354
1354
|
} | undefined;
|
|
1355
1355
|
}, {
|
|
1356
|
-
base?: string | undefined;
|
|
1357
1356
|
outDir?: string | undefined;
|
|
1358
1357
|
root?: string | undefined;
|
|
1359
1358
|
build?: {
|
|
@@ -1395,17 +1394,17 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1395
1394
|
destination: string;
|
|
1396
1395
|
}> | undefined;
|
|
1397
1396
|
session?: {
|
|
1398
|
-
ttl?: number | undefined;
|
|
1399
1397
|
options?: Record<string, any> | undefined;
|
|
1400
1398
|
driver?: string | undefined;
|
|
1401
1399
|
cookie?: string | {
|
|
1402
|
-
path?: string | undefined;
|
|
1403
1400
|
name?: string | undefined;
|
|
1401
|
+
path?: string | undefined;
|
|
1404
1402
|
domain?: string | undefined;
|
|
1405
1403
|
maxAge?: number | undefined;
|
|
1406
1404
|
sameSite?: boolean | "strict" | "none" | "lax" | undefined;
|
|
1407
1405
|
secure?: boolean | undefined;
|
|
1408
1406
|
} | undefined;
|
|
1407
|
+
ttl?: number | undefined;
|
|
1409
1408
|
} | undefined;
|
|
1410
1409
|
env?: {
|
|
1411
1410
|
validateSecrets?: boolean | undefined;
|
|
@@ -1422,17 +1421,17 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1422
1421
|
type: "string";
|
|
1423
1422
|
length?: number | undefined;
|
|
1424
1423
|
includes?: string | undefined;
|
|
1425
|
-
url?: boolean | undefined;
|
|
1426
|
-
default?: string | undefined;
|
|
1427
1424
|
optional?: boolean | undefined;
|
|
1425
|
+
url?: boolean | undefined;
|
|
1428
1426
|
endsWith?: string | undefined;
|
|
1429
1427
|
startsWith?: string | undefined;
|
|
1428
|
+
default?: string | undefined;
|
|
1430
1429
|
max?: number | undefined;
|
|
1431
1430
|
min?: number | undefined;
|
|
1432
1431
|
} | {
|
|
1433
1432
|
type: "number";
|
|
1434
|
-
default?: number | undefined;
|
|
1435
1433
|
optional?: boolean | undefined;
|
|
1434
|
+
default?: number | undefined;
|
|
1436
1435
|
max?: number | undefined;
|
|
1437
1436
|
min?: number | undefined;
|
|
1438
1437
|
gt?: number | undefined;
|
|
@@ -1440,13 +1439,13 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1440
1439
|
int?: boolean | undefined;
|
|
1441
1440
|
} | {
|
|
1442
1441
|
type: "boolean";
|
|
1443
|
-
default?: boolean | undefined;
|
|
1444
1442
|
optional?: boolean | undefined;
|
|
1443
|
+
default?: boolean | undefined;
|
|
1445
1444
|
} | {
|
|
1446
|
-
values: string[];
|
|
1447
1445
|
type: "enum";
|
|
1448
|
-
|
|
1446
|
+
values: string[];
|
|
1449
1447
|
optional?: boolean | undefined;
|
|
1448
|
+
default?: string | undefined;
|
|
1450
1449
|
})> | undefined;
|
|
1451
1450
|
} | undefined;
|
|
1452
1451
|
adapter?: {
|
|
@@ -1462,20 +1461,21 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1462
1461
|
cacheDir?: string | undefined;
|
|
1463
1462
|
site?: string | undefined;
|
|
1464
1463
|
compressHTML?: boolean | undefined;
|
|
1465
|
-
|
|
1464
|
+
base?: string | undefined;
|
|
1465
|
+
trailingSlash?: "never" | "ignore" | "always" | undefined;
|
|
1466
1466
|
output?: "server" | "static" | undefined;
|
|
1467
1467
|
scopedStyleStrategy?: "where" | "class" | "attribute" | undefined;
|
|
1468
1468
|
integrations?: unknown;
|
|
1469
1469
|
prefetch?: boolean | {
|
|
1470
1470
|
prefetchAll?: boolean | undefined;
|
|
1471
|
-
defaultStrategy?: "
|
|
1471
|
+
defaultStrategy?: "tap" | "hover" | "viewport" | "load" | undefined;
|
|
1472
1472
|
} | undefined;
|
|
1473
1473
|
image?: {
|
|
1474
|
+
responsiveStyles?: boolean | undefined;
|
|
1474
1475
|
endpoint?: {
|
|
1475
1476
|
entrypoint?: string | undefined;
|
|
1476
1477
|
route?: string | undefined;
|
|
1477
1478
|
} | undefined;
|
|
1478
|
-
responsiveStyles?: boolean | undefined;
|
|
1479
1479
|
service?: {
|
|
1480
1480
|
entrypoint?: string | undefined;
|
|
1481
1481
|
config?: Record<string, any> | undefined;
|
|
@@ -1577,7 +1577,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1577
1577
|
liveContentCollections?: boolean | undefined;
|
|
1578
1578
|
csp?: boolean | {
|
|
1579
1579
|
algorithm?: "SHA-256" | "SHA-384" | "SHA-512" | undefined;
|
|
1580
|
-
directives?: (`
|
|
1580
|
+
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}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`)[] | undefined;
|
|
1581
1581
|
styleDirective?: {
|
|
1582
1582
|
resources?: string[] | undefined;
|
|
1583
1583
|
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
@@ -1597,7 +1597,6 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1597
1597
|
collections?: boolean | undefined;
|
|
1598
1598
|
} | undefined;
|
|
1599
1599
|
}>, {
|
|
1600
|
-
base: string;
|
|
1601
1600
|
outDir: import("url").URL;
|
|
1602
1601
|
root: import("url").URL;
|
|
1603
1602
|
build: {
|
|
@@ -1653,17 +1652,17 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1653
1652
|
type: "string";
|
|
1654
1653
|
length?: number | undefined;
|
|
1655
1654
|
includes?: string | undefined;
|
|
1656
|
-
url?: boolean | undefined;
|
|
1657
|
-
default?: string | undefined;
|
|
1658
1655
|
optional?: boolean | undefined;
|
|
1656
|
+
url?: boolean | undefined;
|
|
1659
1657
|
endsWith?: string | undefined;
|
|
1660
1658
|
startsWith?: string | undefined;
|
|
1659
|
+
default?: string | undefined;
|
|
1661
1660
|
max?: number | undefined;
|
|
1662
1661
|
min?: number | undefined;
|
|
1663
1662
|
} | {
|
|
1664
1663
|
type: "number";
|
|
1665
|
-
default?: number | undefined;
|
|
1666
1664
|
optional?: boolean | undefined;
|
|
1665
|
+
default?: number | undefined;
|
|
1667
1666
|
max?: number | undefined;
|
|
1668
1667
|
min?: number | undefined;
|
|
1669
1668
|
gt?: number | undefined;
|
|
@@ -1671,13 +1670,13 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1671
1670
|
int?: boolean | undefined;
|
|
1672
1671
|
} | {
|
|
1673
1672
|
type: "boolean";
|
|
1674
|
-
default?: boolean | undefined;
|
|
1675
1673
|
optional?: boolean | undefined;
|
|
1674
|
+
default?: boolean | undefined;
|
|
1676
1675
|
} | {
|
|
1677
|
-
values: string[];
|
|
1678
1676
|
type: "enum";
|
|
1679
|
-
|
|
1677
|
+
values: string[];
|
|
1680
1678
|
optional?: boolean | undefined;
|
|
1679
|
+
default?: string | undefined;
|
|
1681
1680
|
})>;
|
|
1682
1681
|
};
|
|
1683
1682
|
devToolbar: {
|
|
@@ -1695,7 +1694,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1695
1694
|
publicDir: import("url").URL;
|
|
1696
1695
|
cacheDir: import("url").URL;
|
|
1697
1696
|
compressHTML: boolean;
|
|
1698
|
-
|
|
1697
|
+
base: string;
|
|
1698
|
+
trailingSlash: "never" | "ignore" | "always";
|
|
1699
1699
|
output: "server" | "static";
|
|
1700
1700
|
scopedStyleStrategy: "where" | "class" | "attribute";
|
|
1701
1701
|
integrations: {
|
|
@@ -1705,11 +1705,11 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1705
1705
|
};
|
|
1706
1706
|
}[];
|
|
1707
1707
|
image: {
|
|
1708
|
+
responsiveStyles: boolean;
|
|
1708
1709
|
endpoint: {
|
|
1709
1710
|
route: string;
|
|
1710
1711
|
entrypoint?: string | undefined;
|
|
1711
1712
|
};
|
|
1712
|
-
responsiveStyles: boolean;
|
|
1713
1713
|
service: {
|
|
1714
1714
|
entrypoint: string;
|
|
1715
1715
|
config: Record<string, any>;
|
|
@@ -1742,7 +1742,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1742
1742
|
liveContentCollections: boolean;
|
|
1743
1743
|
csp: boolean | {
|
|
1744
1744
|
algorithm: "SHA-256" | "SHA-384" | "SHA-512";
|
|
1745
|
-
directives?: (`
|
|
1745
|
+
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}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`)[] | undefined;
|
|
1746
1746
|
styleDirective?: {
|
|
1747
1747
|
resources?: string[] | undefined;
|
|
1748
1748
|
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
@@ -1817,17 +1817,17 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1817
1817
|
collections: boolean;
|
|
1818
1818
|
};
|
|
1819
1819
|
session?: {
|
|
1820
|
-
ttl?: number | undefined;
|
|
1821
1820
|
options?: Record<string, any> | undefined;
|
|
1822
1821
|
driver?: string | undefined;
|
|
1823
1822
|
cookie?: {
|
|
1824
|
-
path?: string | undefined;
|
|
1825
1823
|
name?: string | undefined;
|
|
1824
|
+
path?: string | undefined;
|
|
1826
1825
|
domain?: string | undefined;
|
|
1827
1826
|
maxAge?: number | undefined;
|
|
1828
1827
|
sameSite?: boolean | "strict" | "none" | "lax" | undefined;
|
|
1829
1828
|
secure?: boolean | undefined;
|
|
1830
1829
|
} | undefined;
|
|
1830
|
+
ttl?: number | undefined;
|
|
1831
1831
|
} | undefined;
|
|
1832
1832
|
adapter?: {
|
|
1833
1833
|
name: string;
|
|
@@ -1838,7 +1838,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1838
1838
|
site?: string | undefined;
|
|
1839
1839
|
prefetch?: boolean | {
|
|
1840
1840
|
prefetchAll?: boolean | undefined;
|
|
1841
|
-
defaultStrategy?: "
|
|
1841
|
+
defaultStrategy?: "tap" | "hover" | "viewport" | "load" | undefined;
|
|
1842
1842
|
} | undefined;
|
|
1843
1843
|
i18n?: {
|
|
1844
1844
|
defaultLocale: string;
|
|
@@ -1855,7 +1855,6 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1855
1855
|
domains?: Record<string, string> | undefined;
|
|
1856
1856
|
} | undefined;
|
|
1857
1857
|
}, {
|
|
1858
|
-
base?: string | undefined;
|
|
1859
1858
|
outDir?: string | undefined;
|
|
1860
1859
|
root?: string | undefined;
|
|
1861
1860
|
build?: {
|
|
@@ -1897,17 +1896,17 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1897
1896
|
destination: string;
|
|
1898
1897
|
}> | undefined;
|
|
1899
1898
|
session?: {
|
|
1900
|
-
ttl?: number | undefined;
|
|
1901
1899
|
options?: Record<string, any> | undefined;
|
|
1902
1900
|
driver?: string | undefined;
|
|
1903
1901
|
cookie?: string | {
|
|
1904
|
-
path?: string | undefined;
|
|
1905
1902
|
name?: string | undefined;
|
|
1903
|
+
path?: string | undefined;
|
|
1906
1904
|
domain?: string | undefined;
|
|
1907
1905
|
maxAge?: number | undefined;
|
|
1908
1906
|
sameSite?: boolean | "strict" | "none" | "lax" | undefined;
|
|
1909
1907
|
secure?: boolean | undefined;
|
|
1910
1908
|
} | undefined;
|
|
1909
|
+
ttl?: number | undefined;
|
|
1911
1910
|
} | undefined;
|
|
1912
1911
|
env?: {
|
|
1913
1912
|
validateSecrets?: boolean | undefined;
|
|
@@ -1924,17 +1923,17 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1924
1923
|
type: "string";
|
|
1925
1924
|
length?: number | undefined;
|
|
1926
1925
|
includes?: string | undefined;
|
|
1927
|
-
url?: boolean | undefined;
|
|
1928
|
-
default?: string | undefined;
|
|
1929
1926
|
optional?: boolean | undefined;
|
|
1927
|
+
url?: boolean | undefined;
|
|
1930
1928
|
endsWith?: string | undefined;
|
|
1931
1929
|
startsWith?: string | undefined;
|
|
1930
|
+
default?: string | undefined;
|
|
1932
1931
|
max?: number | undefined;
|
|
1933
1932
|
min?: number | undefined;
|
|
1934
1933
|
} | {
|
|
1935
1934
|
type: "number";
|
|
1936
|
-
default?: number | undefined;
|
|
1937
1935
|
optional?: boolean | undefined;
|
|
1936
|
+
default?: number | undefined;
|
|
1938
1937
|
max?: number | undefined;
|
|
1939
1938
|
min?: number | undefined;
|
|
1940
1939
|
gt?: number | undefined;
|
|
@@ -1942,13 +1941,13 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1942
1941
|
int?: boolean | undefined;
|
|
1943
1942
|
} | {
|
|
1944
1943
|
type: "boolean";
|
|
1945
|
-
default?: boolean | undefined;
|
|
1946
1944
|
optional?: boolean | undefined;
|
|
1945
|
+
default?: boolean | undefined;
|
|
1947
1946
|
} | {
|
|
1948
|
-
values: string[];
|
|
1949
1947
|
type: "enum";
|
|
1950
|
-
|
|
1948
|
+
values: string[];
|
|
1951
1949
|
optional?: boolean | undefined;
|
|
1950
|
+
default?: string | undefined;
|
|
1952
1951
|
})> | undefined;
|
|
1953
1952
|
} | undefined;
|
|
1954
1953
|
adapter?: {
|
|
@@ -1964,20 +1963,21 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1964
1963
|
cacheDir?: string | undefined;
|
|
1965
1964
|
site?: string | undefined;
|
|
1966
1965
|
compressHTML?: boolean | undefined;
|
|
1967
|
-
|
|
1966
|
+
base?: string | undefined;
|
|
1967
|
+
trailingSlash?: "never" | "ignore" | "always" | undefined;
|
|
1968
1968
|
output?: "server" | "static" | undefined;
|
|
1969
1969
|
scopedStyleStrategy?: "where" | "class" | "attribute" | undefined;
|
|
1970
1970
|
integrations?: unknown;
|
|
1971
1971
|
prefetch?: boolean | {
|
|
1972
1972
|
prefetchAll?: boolean | undefined;
|
|
1973
|
-
defaultStrategy?: "
|
|
1973
|
+
defaultStrategy?: "tap" | "hover" | "viewport" | "load" | undefined;
|
|
1974
1974
|
} | undefined;
|
|
1975
1975
|
image?: {
|
|
1976
|
+
responsiveStyles?: boolean | undefined;
|
|
1976
1977
|
endpoint?: {
|
|
1977
1978
|
entrypoint?: string | undefined;
|
|
1978
1979
|
route?: string | undefined;
|
|
1979
1980
|
} | undefined;
|
|
1980
|
-
responsiveStyles?: boolean | undefined;
|
|
1981
1981
|
service?: {
|
|
1982
1982
|
entrypoint?: string | undefined;
|
|
1983
1983
|
config?: Record<string, any> | undefined;
|
|
@@ -2079,7 +2079,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
2079
2079
|
liveContentCollections?: boolean | undefined;
|
|
2080
2080
|
csp?: boolean | {
|
|
2081
2081
|
algorithm?: "SHA-256" | "SHA-384" | "SHA-512" | undefined;
|
|
2082
|
-
directives?: (`
|
|
2082
|
+
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}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`)[] | undefined;
|
|
2083
2083
|
styleDirective?: {
|
|
2084
2084
|
resources?: string[] | undefined;
|
|
2085
2085
|
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|