cdk-nextjs 0.7.13 → 0.7.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +132 -42
- package/.jsii.tabl.json +1 -1
- package/API.md +56 -0
- package/docs/harness-coverage.md +16 -6
- package/docs/next-build-output-guide.md +1 -1
- package/lib/adapter/adapter.mjs +1 -1
- package/lib/generated-structs/OptionalNextjsApiProps.d.ts +6 -0
- package/lib/generated-structs/OptionalNextjsApiProps.js +1 -1
- package/lib/generated-structs/OptionalNextjsDistributionProps.d.ts +6 -0
- package/lib/generated-structs/OptionalNextjsDistributionProps.js +1 -1
- package/lib/nextjs-api.d.ts +11 -0
- package/lib/nextjs-api.js +63 -9
- package/lib/nextjs-api.test.js +127 -1
- package/lib/nextjs-build/nextjs-build.js +1 -1
- package/lib/nextjs-cache.js +1 -1
- package/lib/nextjs-compute/nextjs-containers.js +1 -1
- package/lib/nextjs-compute/nextjs-functions.js +1 -1
- package/lib/nextjs-distribution.d.ts +21 -0
- package/lib/nextjs-distribution.js +69 -4
- package/lib/nextjs-distribution.test.js +132 -1
- package/lib/nextjs-post-deploy.js +1 -1
- package/lib/nextjs-static-assets.js +1 -1
- package/lib/root-constructs/nextjs-base-construct.d.ts +7 -0
- package/lib/root-constructs/nextjs-base-construct.js +14 -2
- package/lib/root-constructs/nextjs-global-containers.js +3 -2
- package/lib/root-constructs/nextjs-global-functions.js +3 -2
- package/lib/root-constructs/nextjs-regional-containers.js +1 -1
- package/lib/root-constructs/nextjs-regional-functions.js +3 -2
- package/lib/runtime/lambda.mjs +1 -1
- package/lib/runtime/server.mjs +1 -1
- package/package.json +1 -1
- package/scripts/e2e-harness/README.md +10 -8
package/.jsii
CHANGED
|
@@ -9059,7 +9059,7 @@
|
|
|
9059
9059
|
},
|
|
9060
9060
|
"locationInModule": {
|
|
9061
9061
|
"filename": "src/nextjs-api.ts",
|
|
9062
|
-
"line":
|
|
9062
|
+
"line": 204
|
|
9063
9063
|
},
|
|
9064
9064
|
"parameters": [
|
|
9065
9065
|
{
|
|
@@ -9085,7 +9085,7 @@
|
|
|
9085
9085
|
"kind": "class",
|
|
9086
9086
|
"locationInModule": {
|
|
9087
9087
|
"filename": "src/nextjs-api.ts",
|
|
9088
|
-
"line":
|
|
9088
|
+
"line": 149
|
|
9089
9089
|
},
|
|
9090
9090
|
"name": "NextjsApi",
|
|
9091
9091
|
"properties": [
|
|
@@ -9097,7 +9097,7 @@
|
|
|
9097
9097
|
"immutable": true,
|
|
9098
9098
|
"locationInModule": {
|
|
9099
9099
|
"filename": "src/nextjs-api.ts",
|
|
9100
|
-
"line":
|
|
9100
|
+
"line": 153
|
|
9101
9101
|
},
|
|
9102
9102
|
"name": "api",
|
|
9103
9103
|
"type": {
|
|
@@ -9113,7 +9113,7 @@
|
|
|
9113
9113
|
"immutable": true,
|
|
9114
9114
|
"locationInModule": {
|
|
9115
9115
|
"filename": "src/nextjs-api.ts",
|
|
9116
|
-
"line":
|
|
9116
|
+
"line": 164
|
|
9117
9117
|
},
|
|
9118
9118
|
"name": "url",
|
|
9119
9119
|
"type": {
|
|
@@ -9129,7 +9129,7 @@
|
|
|
9129
9129
|
"immutable": true,
|
|
9130
9130
|
"locationInModule": {
|
|
9131
9131
|
"filename": "src/nextjs-api.ts",
|
|
9132
|
-
"line":
|
|
9132
|
+
"line": 184
|
|
9133
9133
|
},
|
|
9134
9134
|
"name": "redeployFunction",
|
|
9135
9135
|
"optional": true,
|
|
@@ -9145,7 +9145,7 @@
|
|
|
9145
9145
|
"immutable": true,
|
|
9146
9146
|
"locationInModule": {
|
|
9147
9147
|
"filename": "src/nextjs-api.ts",
|
|
9148
|
-
"line":
|
|
9148
|
+
"line": 189
|
|
9149
9149
|
},
|
|
9150
9150
|
"name": "redeployRule",
|
|
9151
9151
|
"optional": true,
|
|
@@ -9167,7 +9167,7 @@
|
|
|
9167
9167
|
"kind": "interface",
|
|
9168
9168
|
"locationInModule": {
|
|
9169
9169
|
"filename": "src/nextjs-api.ts",
|
|
9170
|
-
"line":
|
|
9170
|
+
"line": 141
|
|
9171
9171
|
},
|
|
9172
9172
|
"name": "NextjsApiFunctionGroup",
|
|
9173
9173
|
"properties": [
|
|
@@ -9179,7 +9179,7 @@
|
|
|
9179
9179
|
"immutable": true,
|
|
9180
9180
|
"locationInModule": {
|
|
9181
9181
|
"filename": "src/nextjs-api.ts",
|
|
9182
|
-
"line":
|
|
9182
|
+
"line": 143
|
|
9183
9183
|
},
|
|
9184
9184
|
"name": "function",
|
|
9185
9185
|
"type": {
|
|
@@ -9194,7 +9194,7 @@
|
|
|
9194
9194
|
"immutable": true,
|
|
9195
9195
|
"locationInModule": {
|
|
9196
9196
|
"filename": "src/nextjs-api.ts",
|
|
9197
|
-
"line":
|
|
9197
|
+
"line": 142
|
|
9198
9198
|
},
|
|
9199
9199
|
"name": "name",
|
|
9200
9200
|
"type": {
|
|
@@ -9381,7 +9381,7 @@
|
|
|
9381
9381
|
"immutable": true,
|
|
9382
9382
|
"locationInModule": {
|
|
9383
9383
|
"filename": "src/nextjs-api.ts",
|
|
9384
|
-
"line":
|
|
9384
|
+
"line": 121
|
|
9385
9385
|
},
|
|
9386
9386
|
"name": "functionGroupBehaviors",
|
|
9387
9387
|
"optional": true,
|
|
@@ -9404,7 +9404,7 @@
|
|
|
9404
9404
|
"immutable": true,
|
|
9405
9405
|
"locationInModule": {
|
|
9406
9406
|
"filename": "src/nextjs-api.ts",
|
|
9407
|
-
"line":
|
|
9407
|
+
"line": 114
|
|
9408
9408
|
},
|
|
9409
9409
|
"name": "functionGroups",
|
|
9410
9410
|
"optional": true,
|
|
@@ -9445,7 +9445,7 @@
|
|
|
9445
9445
|
"immutable": true,
|
|
9446
9446
|
"locationInModule": {
|
|
9447
9447
|
"filename": "src/nextjs-api.ts",
|
|
9448
|
-
"line":
|
|
9448
|
+
"line": 137
|
|
9449
9449
|
},
|
|
9450
9450
|
"name": "redeployAfterUpdate",
|
|
9451
9451
|
"optional": true,
|
|
@@ -9471,6 +9471,24 @@
|
|
|
9471
9471
|
"fqn": "aws-cdk-lib.aws_lambda.IFunction"
|
|
9472
9472
|
}
|
|
9473
9473
|
},
|
|
9474
|
+
{
|
|
9475
|
+
"abstract": true,
|
|
9476
|
+
"docs": {
|
|
9477
|
+
"default": "- no resource; the build has no service worker",
|
|
9478
|
+
"stability": "stable",
|
|
9479
|
+
"summary": "The `Service-Worker-Allowed` header for `_next/static/service-worker/*`, which Next.js sends so a compiled service worker can register at a scope wider than its own directory, such as `/`. S3 can't send an arbitrary header, so setting this adds a resource for those files whose integration response does. Next.js uses the app's `basePath`, or `/` for none."
|
|
9480
|
+
},
|
|
9481
|
+
"immutable": true,
|
|
9482
|
+
"locationInModule": {
|
|
9483
|
+
"filename": "src/nextjs-api.ts",
|
|
9484
|
+
"line": 104
|
|
9485
|
+
},
|
|
9486
|
+
"name": "serviceWorkerAllowed",
|
|
9487
|
+
"optional": true,
|
|
9488
|
+
"type": {
|
|
9489
|
+
"primitive": "string"
|
|
9490
|
+
}
|
|
9491
|
+
},
|
|
9474
9492
|
{
|
|
9475
9493
|
"abstract": true,
|
|
9476
9494
|
"docs": {
|
|
@@ -9499,7 +9517,7 @@
|
|
|
9499
9517
|
"immutable": true,
|
|
9500
9518
|
"locationInModule": {
|
|
9501
9519
|
"filename": "src/nextjs-api.ts",
|
|
9502
|
-
"line":
|
|
9520
|
+
"line": 108
|
|
9503
9521
|
},
|
|
9504
9522
|
"name": "vpc",
|
|
9505
9523
|
"optional": true,
|
|
@@ -9584,7 +9602,7 @@
|
|
|
9584
9602
|
},
|
|
9585
9603
|
"locationInModule": {
|
|
9586
9604
|
"filename": "src/root-constructs/nextjs-base-construct.ts",
|
|
9587
|
-
"line":
|
|
9605
|
+
"line": 473
|
|
9588
9606
|
},
|
|
9589
9607
|
"name": "createNextjsFunctions",
|
|
9590
9608
|
"protected": true,
|
|
@@ -9752,6 +9770,24 @@
|
|
|
9752
9770
|
"primitive": "string"
|
|
9753
9771
|
}
|
|
9754
9772
|
},
|
|
9773
|
+
{
|
|
9774
|
+
"docs": {
|
|
9775
|
+
"remarks": "The app's own\n`basePath`, as `next build` uses, not `resolvedBasePath`: it is the URL\nscope the browser checks.",
|
|
9776
|
+
"stability": "stable",
|
|
9777
|
+
"summary": "The `Service-Worker-Allowed` value for `_next/static/service-worker/*`, or `undefined` when the build has no service worker."
|
|
9778
|
+
},
|
|
9779
|
+
"immutable": true,
|
|
9780
|
+
"locationInModule": {
|
|
9781
|
+
"filename": "src/root-constructs/nextjs-base-construct.ts",
|
|
9782
|
+
"line": 423
|
|
9783
|
+
},
|
|
9784
|
+
"name": "serviceWorkerAllowed",
|
|
9785
|
+
"optional": true,
|
|
9786
|
+
"protected": true,
|
|
9787
|
+
"type": {
|
|
9788
|
+
"primitive": "string"
|
|
9789
|
+
}
|
|
9790
|
+
},
|
|
9755
9791
|
{
|
|
9756
9792
|
"docs": {
|
|
9757
9793
|
"stability": "stable"
|
|
@@ -11311,7 +11347,7 @@
|
|
|
11311
11347
|
},
|
|
11312
11348
|
"locationInModule": {
|
|
11313
11349
|
"filename": "src/nextjs-distribution.ts",
|
|
11314
|
-
"line":
|
|
11350
|
+
"line": 269
|
|
11315
11351
|
},
|
|
11316
11352
|
"parameters": [
|
|
11317
11353
|
{
|
|
@@ -11337,7 +11373,7 @@
|
|
|
11337
11373
|
"kind": "class",
|
|
11338
11374
|
"locationInModule": {
|
|
11339
11375
|
"filename": "src/nextjs-distribution.ts",
|
|
11340
|
-
"line":
|
|
11376
|
+
"line": 207
|
|
11341
11377
|
},
|
|
11342
11378
|
"name": "NextjsDistribution",
|
|
11343
11379
|
"properties": [
|
|
@@ -11347,7 +11383,7 @@
|
|
|
11347
11383
|
},
|
|
11348
11384
|
"locationInModule": {
|
|
11349
11385
|
"filename": "src/nextjs-distribution.ts",
|
|
11350
|
-
"line":
|
|
11386
|
+
"line": 208
|
|
11351
11387
|
},
|
|
11352
11388
|
"name": "distribution",
|
|
11353
11389
|
"type": {
|
|
@@ -11368,7 +11404,7 @@
|
|
|
11368
11404
|
"kind": "interface",
|
|
11369
11405
|
"locationInModule": {
|
|
11370
11406
|
"filename": "src/nextjs-distribution.ts",
|
|
11371
|
-
"line":
|
|
11407
|
+
"line": 201
|
|
11372
11408
|
},
|
|
11373
11409
|
"name": "NextjsDistributionFunctionGroup",
|
|
11374
11410
|
"properties": [
|
|
@@ -11381,7 +11417,7 @@
|
|
|
11381
11417
|
"immutable": true,
|
|
11382
11418
|
"locationInModule": {
|
|
11383
11419
|
"filename": "src/nextjs-distribution.ts",
|
|
11384
|
-
"line":
|
|
11420
|
+
"line": 204
|
|
11385
11421
|
},
|
|
11386
11422
|
"name": "functionUrl",
|
|
11387
11423
|
"type": {
|
|
@@ -11396,7 +11432,7 @@
|
|
|
11396
11432
|
"immutable": true,
|
|
11397
11433
|
"locationInModule": {
|
|
11398
11434
|
"filename": "src/nextjs-distribution.ts",
|
|
11399
|
-
"line":
|
|
11435
|
+
"line": 202
|
|
11400
11436
|
},
|
|
11401
11437
|
"name": "name",
|
|
11402
11438
|
"type": {
|
|
@@ -11762,7 +11798,7 @@
|
|
|
11762
11798
|
"immutable": true,
|
|
11763
11799
|
"locationInModule": {
|
|
11764
11800
|
"filename": "src/nextjs-distribution.ts",
|
|
11765
|
-
"line":
|
|
11801
|
+
"line": 157
|
|
11766
11802
|
},
|
|
11767
11803
|
"name": "functionGroupBehaviors",
|
|
11768
11804
|
"optional": true,
|
|
@@ -11785,7 +11821,7 @@
|
|
|
11785
11821
|
"immutable": true,
|
|
11786
11822
|
"locationInModule": {
|
|
11787
11823
|
"filename": "src/nextjs-distribution.ts",
|
|
11788
|
-
"line":
|
|
11824
|
+
"line": 150
|
|
11789
11825
|
},
|
|
11790
11826
|
"name": "functionGroups",
|
|
11791
11827
|
"optional": true,
|
|
@@ -11844,7 +11880,7 @@
|
|
|
11844
11880
|
"immutable": true,
|
|
11845
11881
|
"locationInModule": {
|
|
11846
11882
|
"filename": "src/nextjs-distribution.ts",
|
|
11847
|
-
"line":
|
|
11883
|
+
"line": 169
|
|
11848
11884
|
},
|
|
11849
11885
|
"name": "maxCacheBehaviors",
|
|
11850
11886
|
"optional": true,
|
|
@@ -11869,6 +11905,24 @@
|
|
|
11869
11905
|
"fqn": "cdk-nextjs.NextjsDistributionOverrides"
|
|
11870
11906
|
}
|
|
11871
11907
|
},
|
|
11908
|
+
{
|
|
11909
|
+
"abstract": true,
|
|
11910
|
+
"docs": {
|
|
11911
|
+
"default": "- no behavior; the build has no service worker",
|
|
11912
|
+
"stability": "stable",
|
|
11913
|
+
"summary": "The `Service-Worker-Allowed` header for `_next/static/service-worker/*`, which Next.js sends so a compiled service worker can register at a scope wider than its own directory, such as `/`. S3 can't send an arbitrary header, so setting this adds a behavior for those files whose response headers policy does. Next.js uses the app's `basePath`, or `/` for none."
|
|
11914
|
+
},
|
|
11915
|
+
"immutable": true,
|
|
11916
|
+
"locationInModule": {
|
|
11917
|
+
"filename": "src/nextjs-distribution.ts",
|
|
11918
|
+
"line": 144
|
|
11919
|
+
},
|
|
11920
|
+
"name": "serviceWorkerAllowed",
|
|
11921
|
+
"optional": true,
|
|
11922
|
+
"type": {
|
|
11923
|
+
"primitive": "string"
|
|
11924
|
+
}
|
|
11925
|
+
},
|
|
11872
11926
|
{
|
|
11873
11927
|
"abstract": true,
|
|
11874
11928
|
"docs": {
|
|
@@ -11881,7 +11935,7 @@
|
|
|
11881
11935
|
"immutable": true,
|
|
11882
11936
|
"locationInModule": {
|
|
11883
11937
|
"filename": "src/nextjs-distribution.ts",
|
|
11884
|
-
"line":
|
|
11938
|
+
"line": 187
|
|
11885
11939
|
},
|
|
11886
11940
|
"name": "viewerRequestFunctionCode",
|
|
11887
11941
|
"optional": true,
|
|
@@ -11901,7 +11955,7 @@
|
|
|
11901
11955
|
"immutable": true,
|
|
11902
11956
|
"locationInModule": {
|
|
11903
11957
|
"filename": "src/nextjs-distribution.ts",
|
|
11904
|
-
"line":
|
|
11958
|
+
"line": 197
|
|
11905
11959
|
},
|
|
11906
11960
|
"name": "viewerRequestKeyValueStore",
|
|
11907
11961
|
"optional": true,
|
|
@@ -18135,7 +18189,7 @@
|
|
|
18135
18189
|
"immutable": true,
|
|
18136
18190
|
"locationInModule": {
|
|
18137
18191
|
"filename": "src/generated-structs/OptionalNextjsApiProps.ts",
|
|
18138
|
-
"line":
|
|
18192
|
+
"line": 56
|
|
18139
18193
|
},
|
|
18140
18194
|
"name": "basePath",
|
|
18141
18195
|
"optional": true,
|
|
@@ -18152,7 +18206,7 @@
|
|
|
18152
18206
|
"immutable": true,
|
|
18153
18207
|
"locationInModule": {
|
|
18154
18208
|
"filename": "src/generated-structs/OptionalNextjsApiProps.ts",
|
|
18155
|
-
"line":
|
|
18209
|
+
"line": 66
|
|
18156
18210
|
},
|
|
18157
18211
|
"name": "publicDirEntries",
|
|
18158
18212
|
"optional": true,
|
|
@@ -18176,7 +18230,7 @@
|
|
|
18176
18230
|
"immutable": true,
|
|
18177
18231
|
"locationInModule": {
|
|
18178
18232
|
"filename": "src/generated-structs/OptionalNextjsApiProps.ts",
|
|
18179
|
-
"line":
|
|
18233
|
+
"line": 51
|
|
18180
18234
|
},
|
|
18181
18235
|
"name": "redeployAfterUpdate",
|
|
18182
18236
|
"optional": true,
|
|
@@ -18194,7 +18248,7 @@
|
|
|
18194
18248
|
"immutable": true,
|
|
18195
18249
|
"locationInModule": {
|
|
18196
18250
|
"filename": "src/generated-structs/OptionalNextjsApiProps.ts",
|
|
18197
|
-
"line":
|
|
18251
|
+
"line": 36
|
|
18198
18252
|
},
|
|
18199
18253
|
"name": "serverFunction",
|
|
18200
18254
|
"optional": true,
|
|
@@ -18202,6 +18256,24 @@
|
|
|
18202
18256
|
"fqn": "aws-cdk-lib.aws_lambda.IFunction"
|
|
18203
18257
|
}
|
|
18204
18258
|
},
|
|
18259
|
+
{
|
|
18260
|
+
"abstract": true,
|
|
18261
|
+
"docs": {
|
|
18262
|
+
"default": "- no resource; the build has no service worker",
|
|
18263
|
+
"stability": "stable",
|
|
18264
|
+
"summary": "The `Service-Worker-Allowed` header for `_next/static/service-worker/*`, which Next.js sends so a compiled service worker can register at a scope wider than its own directory, such as `/`. S3 can't send an arbitrary header, so setting this adds a resource for those files whose integration response does. Next.js uses the app's `basePath`, or `/` for none."
|
|
18265
|
+
},
|
|
18266
|
+
"immutable": true,
|
|
18267
|
+
"locationInModule": {
|
|
18268
|
+
"filename": "src/generated-structs/OptionalNextjsApiProps.ts",
|
|
18269
|
+
"line": 30
|
|
18270
|
+
},
|
|
18271
|
+
"name": "serviceWorkerAllowed",
|
|
18272
|
+
"optional": true,
|
|
18273
|
+
"type": {
|
|
18274
|
+
"primitive": "string"
|
|
18275
|
+
}
|
|
18276
|
+
},
|
|
18205
18277
|
{
|
|
18206
18278
|
"abstract": true,
|
|
18207
18279
|
"docs": {
|
|
@@ -18211,7 +18283,7 @@
|
|
|
18211
18283
|
"immutable": true,
|
|
18212
18284
|
"locationInModule": {
|
|
18213
18285
|
"filename": "src/generated-structs/OptionalNextjsApiProps.ts",
|
|
18214
|
-
"line":
|
|
18286
|
+
"line": 61
|
|
18215
18287
|
},
|
|
18216
18288
|
"name": "staticAssetsBucket",
|
|
18217
18289
|
"optional": true,
|
|
@@ -18676,7 +18748,7 @@
|
|
|
18676
18748
|
"immutable": true,
|
|
18677
18749
|
"locationInModule": {
|
|
18678
18750
|
"filename": "src/generated-structs/OptionalNextjsDistributionProps.ts",
|
|
18679
|
-
"line":
|
|
18751
|
+
"line": 93
|
|
18680
18752
|
},
|
|
18681
18753
|
"name": "assetPrefix",
|
|
18682
18754
|
"optional": true,
|
|
@@ -18694,7 +18766,7 @@
|
|
|
18694
18766
|
"immutable": true,
|
|
18695
18767
|
"locationInModule": {
|
|
18696
18768
|
"filename": "src/generated-structs/OptionalNextjsDistributionProps.ts",
|
|
18697
|
-
"line":
|
|
18769
|
+
"line": 108
|
|
18698
18770
|
},
|
|
18699
18771
|
"name": "assetsBucket",
|
|
18700
18772
|
"optional": true,
|
|
@@ -18712,7 +18784,7 @@
|
|
|
18712
18784
|
"immutable": true,
|
|
18713
18785
|
"locationInModule": {
|
|
18714
18786
|
"filename": "src/generated-structs/OptionalNextjsDistributionProps.ts",
|
|
18715
|
-
"line":
|
|
18787
|
+
"line": 73
|
|
18716
18788
|
},
|
|
18717
18789
|
"name": "basePath",
|
|
18718
18790
|
"optional": true,
|
|
@@ -18729,7 +18801,7 @@
|
|
|
18729
18801
|
"immutable": true,
|
|
18730
18802
|
"locationInModule": {
|
|
18731
18803
|
"filename": "src/generated-structs/OptionalNextjsDistributionProps.ts",
|
|
18732
|
-
"line":
|
|
18804
|
+
"line": 66
|
|
18733
18805
|
},
|
|
18734
18806
|
"name": "certificate",
|
|
18735
18807
|
"optional": true,
|
|
@@ -18745,7 +18817,7 @@
|
|
|
18745
18817
|
"immutable": true,
|
|
18746
18818
|
"locationInModule": {
|
|
18747
18819
|
"filename": "src/generated-structs/OptionalNextjsDistributionProps.ts",
|
|
18748
|
-
"line":
|
|
18820
|
+
"line": 61
|
|
18749
18821
|
},
|
|
18750
18822
|
"name": "distribution",
|
|
18751
18823
|
"optional": true,
|
|
@@ -18762,7 +18834,7 @@
|
|
|
18762
18834
|
"immutable": true,
|
|
18763
18835
|
"locationInModule": {
|
|
18764
18836
|
"filename": "src/generated-structs/OptionalNextjsDistributionProps.ts",
|
|
18765
|
-
"line":
|
|
18837
|
+
"line": 57
|
|
18766
18838
|
},
|
|
18767
18839
|
"name": "functionUrl",
|
|
18768
18840
|
"optional": true,
|
|
@@ -18779,7 +18851,7 @@
|
|
|
18779
18851
|
"immutable": true,
|
|
18780
18852
|
"locationInModule": {
|
|
18781
18853
|
"filename": "src/generated-structs/OptionalNextjsDistributionProps.ts",
|
|
18782
|
-
"line":
|
|
18854
|
+
"line": 52
|
|
18783
18855
|
},
|
|
18784
18856
|
"name": "loadBalancer",
|
|
18785
18857
|
"optional": true,
|
|
@@ -18798,7 +18870,7 @@
|
|
|
18798
18870
|
"immutable": true,
|
|
18799
18871
|
"locationInModule": {
|
|
18800
18872
|
"filename": "src/generated-structs/OptionalNextjsDistributionProps.ts",
|
|
18801
|
-
"line":
|
|
18873
|
+
"line": 47
|
|
18802
18874
|
},
|
|
18803
18875
|
"name": "maxCacheBehaviors",
|
|
18804
18876
|
"optional": true,
|
|
@@ -18814,7 +18886,7 @@
|
|
|
18814
18886
|
"immutable": true,
|
|
18815
18887
|
"locationInModule": {
|
|
18816
18888
|
"filename": "src/generated-structs/OptionalNextjsDistributionProps.ts",
|
|
18817
|
-
"line":
|
|
18889
|
+
"line": 102
|
|
18818
18890
|
},
|
|
18819
18891
|
"name": "nextjsType",
|
|
18820
18892
|
"optional": true,
|
|
@@ -18831,7 +18903,7 @@
|
|
|
18831
18903
|
"immutable": true,
|
|
18832
18904
|
"locationInModule": {
|
|
18833
18905
|
"filename": "src/generated-structs/OptionalNextjsDistributionProps.ts",
|
|
18834
|
-
"line":
|
|
18906
|
+
"line": 98
|
|
18835
18907
|
},
|
|
18836
18908
|
"name": "publicDirEntries",
|
|
18837
18909
|
"optional": true,
|
|
@@ -18844,6 +18916,24 @@
|
|
|
18844
18916
|
}
|
|
18845
18917
|
}
|
|
18846
18918
|
},
|
|
18919
|
+
{
|
|
18920
|
+
"abstract": true,
|
|
18921
|
+
"docs": {
|
|
18922
|
+
"default": "- no behavior; the build has no service worker",
|
|
18923
|
+
"stability": "stable",
|
|
18924
|
+
"summary": "The `Service-Worker-Allowed` header for `_next/static/service-worker/*`, which Next.js sends so a compiled service worker can register at a scope wider than its own directory, such as `/`. S3 can't send an arbitrary header, so setting this adds a behavior for those files whose response headers policy does. Next.js uses the app's `basePath`, or `/` for none."
|
|
18925
|
+
},
|
|
18926
|
+
"immutable": true,
|
|
18927
|
+
"locationInModule": {
|
|
18928
|
+
"filename": "src/generated-structs/OptionalNextjsDistributionProps.ts",
|
|
18929
|
+
"line": 35
|
|
18930
|
+
},
|
|
18931
|
+
"name": "serviceWorkerAllowed",
|
|
18932
|
+
"optional": true,
|
|
18933
|
+
"type": {
|
|
18934
|
+
"primitive": "string"
|
|
18935
|
+
}
|
|
18936
|
+
},
|
|
18847
18937
|
{
|
|
18848
18938
|
"abstract": true,
|
|
18849
18939
|
"docs": {
|
|
@@ -20085,6 +20175,6 @@
|
|
|
20085
20175
|
"symbolId": "src/nextjs-build/nextjs-build:PublicDirEntry"
|
|
20086
20176
|
}
|
|
20087
20177
|
},
|
|
20088
|
-
"version": "0.7.
|
|
20089
|
-
"fingerprint": "
|
|
20178
|
+
"version": "0.7.14",
|
|
20179
|
+
"fingerprint": "u/brpgNcCFVGp7OeUpdumZIHecf0FADTpvwAJMCUNZQ="
|
|
20090
20180
|
}
|