@techdocs/cli 0.0.0-nightly-20241021023428 → 0.0.0-nightly-20241023023252
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/CHANGELOG.md +15 -3
- package/dist/embedded-app/.config-schema.json +266 -91
- package/dist/embedded-app/index.html +1 -1
- package/dist/embedded-app/index.html.tmpl +1 -1
- package/dist/embedded-app/static/{main.8f1d6ec3.js → main.13ab76c8.js} +1 -1
- package/dist/embedded-app/static/{main.8f1d6ec3.js.map → main.13ab76c8.js.map} +1 -1
- package/dist/embedded-app/static/{runtime.8f1d6ec3.js → runtime.13ab76c8.js} +1 -1
- package/dist/embedded-app/static/{runtime.8f1d6ec3.js.map → runtime.13ab76c8.js.map} +1 -1
- package/dist/embedded-app/static/{vendor.8f1d6ec3.js → vendor.13ab76c8.js} +1 -1
- package/dist/embedded-app/static/{vendor.8f1d6ec3.js.map → vendor.13ab76c8.js.map} +1 -1
- package/dist/package.json.cjs.js +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,15 +1,27 @@
|
|
|
1
1
|
# @techdocs/cli
|
|
2
2
|
|
|
3
|
-
## 0.0.0-nightly-
|
|
3
|
+
## 0.0.0-nightly-20241023023252
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
+
- 702f41d: Bumped dev dependencies `@types/node`
|
|
7
8
|
- Updated dependencies
|
|
8
|
-
- @backstage/backend-defaults@0.0.0-nightly-
|
|
9
|
+
- @backstage/backend-defaults@0.0.0-nightly-20241023023252
|
|
10
|
+
- @backstage/cli-common@0.0.0-nightly-20241023023252
|
|
11
|
+
- @backstage/catalog-model@1.7.0
|
|
12
|
+
- @backstage/config@1.2.0
|
|
13
|
+
- @backstage/plugin-techdocs-node@0.0.0-nightly-20241023023252
|
|
14
|
+
|
|
15
|
+
## 1.8.22-next.0
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
- @backstage/backend-defaults@0.5.3-next.0
|
|
9
21
|
- @backstage/catalog-model@1.7.0
|
|
10
22
|
- @backstage/cli-common@0.1.14
|
|
11
23
|
- @backstage/config@1.2.0
|
|
12
|
-
- @backstage/plugin-techdocs-node@
|
|
24
|
+
- @backstage/plugin-techdocs-node@1.12.13-next.0
|
|
13
25
|
|
|
14
26
|
## 1.8.20
|
|
15
27
|
|
|
@@ -1537,6 +1537,51 @@
|
|
|
1537
1537
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1538
1538
|
}
|
|
1539
1539
|
},
|
|
1540
|
+
{
|
|
1541
|
+
"path": "../../plugins/auth-backend-module-guest-provider/config.d.ts",
|
|
1542
|
+
"value": {
|
|
1543
|
+
"type": "object",
|
|
1544
|
+
"properties": {
|
|
1545
|
+
"auth": {
|
|
1546
|
+
"description": "Configuration options for the auth plugin",
|
|
1547
|
+
"type": "object",
|
|
1548
|
+
"properties": {
|
|
1549
|
+
"providers": {
|
|
1550
|
+
"type": "object",
|
|
1551
|
+
"properties": {
|
|
1552
|
+
"guest": {
|
|
1553
|
+
"type": "object",
|
|
1554
|
+
"properties": {
|
|
1555
|
+
"userEntityRef": {
|
|
1556
|
+
"description": "The entity reference to use for the guest user.",
|
|
1557
|
+
"default": "user:development/guest",
|
|
1558
|
+
"type": "string"
|
|
1559
|
+
},
|
|
1560
|
+
"ownershipEntityRefs": {
|
|
1561
|
+
"description": "A list of entity references to user for ownership of the guest user if the user\n is not found in the catalog.",
|
|
1562
|
+
"default": "[userEntityRef]",
|
|
1563
|
+
"type": "array",
|
|
1564
|
+
"items": {
|
|
1565
|
+
"type": "string"
|
|
1566
|
+
}
|
|
1567
|
+
},
|
|
1568
|
+
"dangerouslyAllowOutsideDevelopment": {
|
|
1569
|
+
"description": "Allow users to sign in with the guest provider outside of their development environments.",
|
|
1570
|
+
"type": "boolean"
|
|
1571
|
+
}
|
|
1572
|
+
}
|
|
1573
|
+
}
|
|
1574
|
+
}
|
|
1575
|
+
}
|
|
1576
|
+
},
|
|
1577
|
+
"required": [
|
|
1578
|
+
"providers"
|
|
1579
|
+
]
|
|
1580
|
+
}
|
|
1581
|
+
},
|
|
1582
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1583
|
+
}
|
|
1584
|
+
},
|
|
1540
1585
|
{
|
|
1541
1586
|
"path": "../../plugins/auth-backend/config.d.ts",
|
|
1542
1587
|
"value": {
|
|
@@ -1795,45 +1840,45 @@
|
|
|
1795
1840
|
}
|
|
1796
1841
|
},
|
|
1797
1842
|
{
|
|
1798
|
-
"path": "../../
|
|
1843
|
+
"path": "../../node_modules/@backstage-community/plugin-puppetdb/node_modules/@backstage/core-components/config.d.ts",
|
|
1799
1844
|
"value": {
|
|
1800
1845
|
"type": "object",
|
|
1801
1846
|
"properties": {
|
|
1802
1847
|
"auth": {
|
|
1803
|
-
"description": "Configuration options for the auth plugin",
|
|
1804
1848
|
"type": "object",
|
|
1805
1849
|
"properties": {
|
|
1806
|
-
"
|
|
1850
|
+
"autologout": {
|
|
1851
|
+
"description": "Autologout feature configuration",
|
|
1807
1852
|
"type": "object",
|
|
1808
1853
|
"properties": {
|
|
1809
|
-
"
|
|
1810
|
-
"
|
|
1811
|
-
"
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1854
|
+
"enabled": {
|
|
1855
|
+
"description": "Enable or disable the autologout feature",
|
|
1856
|
+
"visibility": "frontend",
|
|
1857
|
+
"type": "boolean"
|
|
1858
|
+
},
|
|
1859
|
+
"idleTimeoutMinutes": {
|
|
1860
|
+
"description": "Number of minutes after which the inactive user is logged out automatically.\nDefault is 60 minutes (1 hour)",
|
|
1861
|
+
"visibility": "frontend",
|
|
1862
|
+
"type": "number"
|
|
1863
|
+
},
|
|
1864
|
+
"promptBeforeIdleSeconds": {
|
|
1865
|
+
"description": "Number of seconds before the idle timeout where the user will be asked if it's still active.\nA dialog will be shown.\nDefault is 10 seconds.\nSet to 0 seconds to disable the prompt.",
|
|
1866
|
+
"visibility": "frontend",
|
|
1867
|
+
"type": "number"
|
|
1868
|
+
},
|
|
1869
|
+
"useWorkerTimers": {
|
|
1870
|
+
"description": "Enable/disable the usage of worker thread timers instead of main thread timers.\nDefault is true.\nIf you experience some browser incompatibility, you may try to set this to false.",
|
|
1871
|
+
"visibility": "frontend",
|
|
1872
|
+
"type": "boolean"
|
|
1873
|
+
},
|
|
1874
|
+
"logoutIfDisconnected": {
|
|
1875
|
+
"description": "Enable/disable the automatic logout also on users that are logged in but with no Backstage tabs open.\nDefault is true.",
|
|
1876
|
+
"visibility": "frontend",
|
|
1877
|
+
"type": "boolean"
|
|
1830
1878
|
}
|
|
1831
1879
|
}
|
|
1832
1880
|
}
|
|
1833
|
-
}
|
|
1834
|
-
"required": [
|
|
1835
|
-
"providers"
|
|
1836
|
-
]
|
|
1881
|
+
}
|
|
1837
1882
|
}
|
|
1838
1883
|
},
|
|
1839
1884
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -1884,6 +1929,24 @@
|
|
|
1884
1929
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1885
1930
|
}
|
|
1886
1931
|
},
|
|
1932
|
+
{
|
|
1933
|
+
"path": "../../node_modules/@backstage/backend-common/node_modules/@backstage/backend-plugin-api/config.d.ts",
|
|
1934
|
+
"value": {
|
|
1935
|
+
"type": "object",
|
|
1936
|
+
"properties": {
|
|
1937
|
+
"backend": {
|
|
1938
|
+
"type": "object",
|
|
1939
|
+
"properties": {
|
|
1940
|
+
"workingDirectory": {
|
|
1941
|
+
"description": "An absolute path to a directory that can be used as a working dir, for\nexample as scratch space for large operations.",
|
|
1942
|
+
"type": "string"
|
|
1943
|
+
}
|
|
1944
|
+
}
|
|
1945
|
+
}
|
|
1946
|
+
},
|
|
1947
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1948
|
+
}
|
|
1949
|
+
},
|
|
1887
1950
|
{
|
|
1888
1951
|
"path": "../integration-aws-node/config.d.ts",
|
|
1889
1952
|
"value": {
|
|
@@ -3208,7 +3271,7 @@
|
|
|
3208
3271
|
}
|
|
3209
3272
|
},
|
|
3210
3273
|
{
|
|
3211
|
-
"path": "../../plugins/auth-backend-module-
|
|
3274
|
+
"path": "../../plugins/auth-backend-module-cloudflare-access-provider/config.d.ts",
|
|
3212
3275
|
"value": {
|
|
3213
3276
|
"type": "object",
|
|
3214
3277
|
"properties": {
|
|
@@ -3218,16 +3281,36 @@
|
|
|
3218
3281
|
"providers": {
|
|
3219
3282
|
"type": "object",
|
|
3220
3283
|
"properties": {
|
|
3221
|
-
"
|
|
3222
|
-
"
|
|
3284
|
+
"cfaccess": {
|
|
3285
|
+
"visibility": "frontend",
|
|
3223
3286
|
"type": "object",
|
|
3224
3287
|
"properties": {
|
|
3225
|
-
"
|
|
3226
|
-
"description": "The audience to use when validating incoming JWT tokens.\nSee https://backstage.io/docs/auth/google/gcp-iap-auth",
|
|
3288
|
+
"teamName": {
|
|
3227
3289
|
"type": "string"
|
|
3228
3290
|
},
|
|
3229
|
-
"
|
|
3230
|
-
"
|
|
3291
|
+
"serviceTokens": {
|
|
3292
|
+
"deepVisibility": "secret",
|
|
3293
|
+
"type": "array",
|
|
3294
|
+
"items": {
|
|
3295
|
+
"type": "object",
|
|
3296
|
+
"properties": {
|
|
3297
|
+
"token": {
|
|
3298
|
+
"type": "string"
|
|
3299
|
+
},
|
|
3300
|
+
"subject": {
|
|
3301
|
+
"type": "string"
|
|
3302
|
+
}
|
|
3303
|
+
},
|
|
3304
|
+
"required": [
|
|
3305
|
+
"subject",
|
|
3306
|
+
"token"
|
|
3307
|
+
]
|
|
3308
|
+
}
|
|
3309
|
+
},
|
|
3310
|
+
"jwtHeaderName": {
|
|
3311
|
+
"type": "string"
|
|
3312
|
+
},
|
|
3313
|
+
"authorizationCookieName": {
|
|
3231
3314
|
"type": "string"
|
|
3232
3315
|
},
|
|
3233
3316
|
"signIn": {
|
|
@@ -3237,30 +3320,6 @@
|
|
|
3237
3320
|
"type": "array",
|
|
3238
3321
|
"items": {
|
|
3239
3322
|
"anyOf": [
|
|
3240
|
-
{
|
|
3241
|
-
"type": "object",
|
|
3242
|
-
"properties": {
|
|
3243
|
-
"resolver": {
|
|
3244
|
-
"type": "string",
|
|
3245
|
-
"const": "emailMatchingUserEntityAnnotation"
|
|
3246
|
-
}
|
|
3247
|
-
},
|
|
3248
|
-
"required": [
|
|
3249
|
-
"resolver"
|
|
3250
|
-
]
|
|
3251
|
-
},
|
|
3252
|
-
{
|
|
3253
|
-
"type": "object",
|
|
3254
|
-
"properties": {
|
|
3255
|
-
"resolver": {
|
|
3256
|
-
"type": "string",
|
|
3257
|
-
"const": "idMatchingUserEntityAnnotation"
|
|
3258
|
-
}
|
|
3259
|
-
},
|
|
3260
|
-
"required": [
|
|
3261
|
-
"resolver"
|
|
3262
|
-
]
|
|
3263
|
-
},
|
|
3264
3323
|
{
|
|
3265
3324
|
"type": "object",
|
|
3266
3325
|
"properties": {
|
|
@@ -3301,8 +3360,11 @@
|
|
|
3301
3360
|
}
|
|
3302
3361
|
},
|
|
3303
3362
|
"required": [
|
|
3304
|
-
"
|
|
3363
|
+
"teamName"
|
|
3305
3364
|
]
|
|
3365
|
+
},
|
|
3366
|
+
"backstageTokenExpiration": {
|
|
3367
|
+
"description": "The backstage token expiration."
|
|
3306
3368
|
}
|
|
3307
3369
|
}
|
|
3308
3370
|
}
|
|
@@ -3313,7 +3375,7 @@
|
|
|
3313
3375
|
}
|
|
3314
3376
|
},
|
|
3315
3377
|
{
|
|
3316
|
-
"path": "../../plugins/auth-backend-module-
|
|
3378
|
+
"path": "../../plugins/auth-backend-module-gcp-iap-provider/config.d.ts",
|
|
3317
3379
|
"value": {
|
|
3318
3380
|
"type": "object",
|
|
3319
3381
|
"properties": {
|
|
@@ -3323,36 +3385,16 @@
|
|
|
3323
3385
|
"providers": {
|
|
3324
3386
|
"type": "object",
|
|
3325
3387
|
"properties": {
|
|
3326
|
-
"
|
|
3327
|
-
"
|
|
3388
|
+
"gcpIap": {
|
|
3389
|
+
"description": "Configuration for the Google Cloud Platform Identity-Aware Proxy (IAP) auth provider.",
|
|
3328
3390
|
"type": "object",
|
|
3329
3391
|
"properties": {
|
|
3330
|
-
"
|
|
3331
|
-
"
|
|
3332
|
-
},
|
|
3333
|
-
"serviceTokens": {
|
|
3334
|
-
"deepVisibility": "secret",
|
|
3335
|
-
"type": "array",
|
|
3336
|
-
"items": {
|
|
3337
|
-
"type": "object",
|
|
3338
|
-
"properties": {
|
|
3339
|
-
"token": {
|
|
3340
|
-
"type": "string"
|
|
3341
|
-
},
|
|
3342
|
-
"subject": {
|
|
3343
|
-
"type": "string"
|
|
3344
|
-
}
|
|
3345
|
-
},
|
|
3346
|
-
"required": [
|
|
3347
|
-
"subject",
|
|
3348
|
-
"token"
|
|
3349
|
-
]
|
|
3350
|
-
}
|
|
3351
|
-
},
|
|
3352
|
-
"jwtHeaderName": {
|
|
3392
|
+
"audience": {
|
|
3393
|
+
"description": "The audience to use when validating incoming JWT tokens.\nSee https://backstage.io/docs/auth/google/gcp-iap-auth",
|
|
3353
3394
|
"type": "string"
|
|
3354
3395
|
},
|
|
3355
|
-
"
|
|
3396
|
+
"jwtHeader": {
|
|
3397
|
+
"description": "The name of the header to read the JWT token from, defaults to `'x-goog-iap-jwt-assertion'`.",
|
|
3356
3398
|
"type": "string"
|
|
3357
3399
|
},
|
|
3358
3400
|
"signIn": {
|
|
@@ -3362,6 +3404,30 @@
|
|
|
3362
3404
|
"type": "array",
|
|
3363
3405
|
"items": {
|
|
3364
3406
|
"anyOf": [
|
|
3407
|
+
{
|
|
3408
|
+
"type": "object",
|
|
3409
|
+
"properties": {
|
|
3410
|
+
"resolver": {
|
|
3411
|
+
"type": "string",
|
|
3412
|
+
"const": "emailMatchingUserEntityAnnotation"
|
|
3413
|
+
}
|
|
3414
|
+
},
|
|
3415
|
+
"required": [
|
|
3416
|
+
"resolver"
|
|
3417
|
+
]
|
|
3418
|
+
},
|
|
3419
|
+
{
|
|
3420
|
+
"type": "object",
|
|
3421
|
+
"properties": {
|
|
3422
|
+
"resolver": {
|
|
3423
|
+
"type": "string",
|
|
3424
|
+
"const": "idMatchingUserEntityAnnotation"
|
|
3425
|
+
}
|
|
3426
|
+
},
|
|
3427
|
+
"required": [
|
|
3428
|
+
"resolver"
|
|
3429
|
+
]
|
|
3430
|
+
},
|
|
3365
3431
|
{
|
|
3366
3432
|
"type": "object",
|
|
3367
3433
|
"properties": {
|
|
@@ -3402,11 +3468,8 @@
|
|
|
3402
3468
|
}
|
|
3403
3469
|
},
|
|
3404
3470
|
"required": [
|
|
3405
|
-
"
|
|
3471
|
+
"audience"
|
|
3406
3472
|
]
|
|
3407
|
-
},
|
|
3408
|
-
"backstageTokenExpiration": {
|
|
3409
|
-
"description": "The backstage token expiration."
|
|
3410
3473
|
}
|
|
3411
3474
|
}
|
|
3412
3475
|
}
|
|
@@ -4343,6 +4406,118 @@
|
|
|
4343
4406
|
},
|
|
4344
4407
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
4345
4408
|
}
|
|
4409
|
+
},
|
|
4410
|
+
{
|
|
4411
|
+
"path": "../../node_modules/@backstage-community/plugin-puppetdb/node_modules/@backstage/frontend-app-api/config.d.ts",
|
|
4412
|
+
"value": {
|
|
4413
|
+
"type": "object",
|
|
4414
|
+
"properties": {
|
|
4415
|
+
"app": {
|
|
4416
|
+
"type": "object",
|
|
4417
|
+
"properties": {
|
|
4418
|
+
"experimental": {
|
|
4419
|
+
"type": "object",
|
|
4420
|
+
"properties": {
|
|
4421
|
+
"packages": {
|
|
4422
|
+
"visibility": "frontend",
|
|
4423
|
+
"deepVisibility": "frontend",
|
|
4424
|
+
"anyOf": [
|
|
4425
|
+
{
|
|
4426
|
+
"type": "object",
|
|
4427
|
+
"properties": {
|
|
4428
|
+
"include": {
|
|
4429
|
+
"type": "array",
|
|
4430
|
+
"items": {
|
|
4431
|
+
"type": "string"
|
|
4432
|
+
}
|
|
4433
|
+
},
|
|
4434
|
+
"exclude": {
|
|
4435
|
+
"type": "array",
|
|
4436
|
+
"items": {
|
|
4437
|
+
"type": "string"
|
|
4438
|
+
}
|
|
4439
|
+
}
|
|
4440
|
+
}
|
|
4441
|
+
},
|
|
4442
|
+
{
|
|
4443
|
+
"const": "all",
|
|
4444
|
+
"type": "string"
|
|
4445
|
+
}
|
|
4446
|
+
]
|
|
4447
|
+
}
|
|
4448
|
+
}
|
|
4449
|
+
},
|
|
4450
|
+
"routes": {
|
|
4451
|
+
"type": "object",
|
|
4452
|
+
"properties": {
|
|
4453
|
+
"bindings": {
|
|
4454
|
+
"description": "Maps external route references to regular route references. Both the\nkey and the value is expected to be on the form `<pluginId>.<routeId>`.\nIf the value is `false`, the route will be disabled even if it has a\ndefault mapping.",
|
|
4455
|
+
"deepVisibility": "frontend",
|
|
4456
|
+
"type": "object",
|
|
4457
|
+
"additionalProperties": {
|
|
4458
|
+
"anyOf": [
|
|
4459
|
+
{
|
|
4460
|
+
"const": false,
|
|
4461
|
+
"type": "boolean"
|
|
4462
|
+
},
|
|
4463
|
+
{
|
|
4464
|
+
"type": "string"
|
|
4465
|
+
}
|
|
4466
|
+
]
|
|
4467
|
+
}
|
|
4468
|
+
}
|
|
4469
|
+
}
|
|
4470
|
+
},
|
|
4471
|
+
"extensions": {
|
|
4472
|
+
"deepVisibility": "frontend",
|
|
4473
|
+
"type": "array",
|
|
4474
|
+
"items": {
|
|
4475
|
+
"anyOf": [
|
|
4476
|
+
{
|
|
4477
|
+
"type": "object",
|
|
4478
|
+
"additionalProperties": {
|
|
4479
|
+
"anyOf": [
|
|
4480
|
+
{
|
|
4481
|
+
"type": "object",
|
|
4482
|
+
"properties": {
|
|
4483
|
+
"attachTo": {
|
|
4484
|
+
"type": "object",
|
|
4485
|
+
"properties": {
|
|
4486
|
+
"id": {
|
|
4487
|
+
"type": "string"
|
|
4488
|
+
},
|
|
4489
|
+
"input": {
|
|
4490
|
+
"type": "string"
|
|
4491
|
+
}
|
|
4492
|
+
},
|
|
4493
|
+
"required": [
|
|
4494
|
+
"id",
|
|
4495
|
+
"input"
|
|
4496
|
+
]
|
|
4497
|
+
},
|
|
4498
|
+
"disabled": {
|
|
4499
|
+
"type": "boolean"
|
|
4500
|
+
},
|
|
4501
|
+
"config": {}
|
|
4502
|
+
}
|
|
4503
|
+
},
|
|
4504
|
+
{
|
|
4505
|
+
"type": "boolean"
|
|
4506
|
+
}
|
|
4507
|
+
]
|
|
4508
|
+
}
|
|
4509
|
+
},
|
|
4510
|
+
{
|
|
4511
|
+
"type": "string"
|
|
4512
|
+
}
|
|
4513
|
+
]
|
|
4514
|
+
}
|
|
4515
|
+
}
|
|
4516
|
+
}
|
|
4517
|
+
}
|
|
4518
|
+
},
|
|
4519
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
4520
|
+
}
|
|
4346
4521
|
}
|
|
4347
4522
|
],
|
|
4348
4523
|
"backstageConfigSchemaVersion": 1
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Backstage is an open source framework for building developer portals"/><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"/><link rel="icon" href="/favicon.ico"/><link rel="shortcut icon" href="/favicon.ico"/><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"/><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"/><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"/><title>Techdocs Preview App</title><meta name="backstage-app-mode" content="public"><script defer="defer" src="/static/runtime.
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Backstage is an open source framework for building developer portals"/><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"/><link rel="icon" href="/favicon.ico"/><link rel="shortcut icon" href="/favicon.ico"/><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"/><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"/><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"/><title>Techdocs Preview App</title><meta name="backstage-app-mode" content="public"><script defer="defer" src="/static/runtime.13ab76c8.js"></script><script defer="defer" src="/static/module-material-ui.05c1a36a.js"></script><script defer="defer" src="/static/module-lodash.aa647045.js"></script><script defer="defer" src="/static/module-date-fns.c633d602.js"></script><script defer="defer" src="/static/module-mui.f5e57c92.js"></script><script defer="defer" src="/static/module-material-table.84f30b2f.js"></script><script defer="defer" src="/static/module-react-dom.42a304d3.js"></script><script defer="defer" src="/static/module-react-beautiful-dnd.b474cfe9.js"></script><script defer="defer" src="/static/module-zod.4f2eeb8c.js"></script><script defer="defer" src="/static/module-i18next.f50c1612.js"></script><script defer="defer" src="/static/module-remix-run.e7427c94.js"></script><script defer="defer" src="/static/vendor.13ab76c8.js"></script><script defer="defer" src="/static/main.13ab76c8.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
color="#5bbad5"
|
|
43
43
|
/>
|
|
44
44
|
<title><%= config.getString('app.title') %></title>
|
|
45
|
-
<meta name="backstage-app-mode" content="public"><meta name="backstage-public-path" content="<%= publicPath %>/"><script defer src="<%= publicPath %>/static/runtime.
|
|
45
|
+
<meta name="backstage-app-mode" content="public"><meta name="backstage-public-path" content="<%= publicPath %>/"><script defer src="<%= publicPath %>/static/runtime.13ab76c8.js"></script><script defer src="<%= publicPath %>/static/module-material-ui.05c1a36a.js"></script><script defer src="<%= publicPath %>/static/module-lodash.aa647045.js"></script><script defer src="<%= publicPath %>/static/module-date-fns.c633d602.js"></script><script defer src="<%= publicPath %>/static/module-mui.f5e57c92.js"></script><script defer src="<%= publicPath %>/static/module-material-table.84f30b2f.js"></script><script defer src="<%= publicPath %>/static/module-react-dom.42a304d3.js"></script><script defer src="<%= publicPath %>/static/module-react-beautiful-dnd.b474cfe9.js"></script><script defer src="<%= publicPath %>/static/module-zod.4f2eeb8c.js"></script><script defer src="<%= publicPath %>/static/module-i18next.f50c1612.js"></script><script defer src="<%= publicPath %>/static/module-remix-run.e7427c94.js"></script><script defer src="<%= publicPath %>/static/vendor.13ab76c8.js"></script><script defer src="<%= publicPath %>/static/main.13ab76c8.js"></script></head>
|
|
46
46
|
<body>
|
|
47
47
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
48
48
|
<div id="root"></div>
|
|
@@ -550,4 +550,4 @@ ${U.href}
|
|
|
550
550
|
|
|
551
551
|
Feedback:`),St=K?.type==="github"?(0,hs.F)(F.href,"blob"):F.href,$t=Un()(St),wt=`/${$t.organization}/${$t.name}`,Ft=U.cloneNode();switch(K?.type){case"gitlab":Ft.href=`${F.origin}${wt}/issues/new?issue[title]=${rt}&issue[description]=${Ct}`;break;case"github":Ft.href=`${F.origin}${wt}/issues/new?title=${rt}&body=${Ct}`;break;default:return R}return ln(a.createElement(gs.A),Ft),Ft.style.paddingLeft="5px",Ft.title="Leave feedback for this page",Ft.id="git-feedback-link",U?.insertAdjacentElement("beforebegin",Ft),R};var An=t(38097);const xn=(0,x.A)(f=>({button:{color:f.palette.primary.light,textDecoration:"underline"}})),fs=({message:f,handleButtonClick:R,autoHideDuration:U})=>{const F=xn(),[K,J]=(0,a.useState)(!0),rt=()=>J(!1);return(0,n.jsx)(An.A,{open:K,anchorOrigin:{vertical:"top",horizontal:"right"},autoHideDuration:U,color:"primary",onClose:rt,message:f,action:(0,n.jsx)(j.A,{classes:{root:F.button},size:"small",onClick:()=>{rt(),R()},children:"Redirect now"})})},$n=(f,R)=>{const F=K=>{const J=Ln(window.location.href),rt=new URL(K,J);if(rt.hostname!==window.location.hostname){const St=window.location.pathname,$t=St.indexOf(R),wt=St.slice(0,$t+R.length);return new URL(wt,J).href}return rt.href};return K=>{for(const J of Array.from(K.querySelectorAll("meta")))if(J.getAttribute("http-equiv")==="refresh"){const rt=J.getAttribute("content")?.split("url=");if(!rt||rt.length<2)return K;const Ct=rt[1],St=F(Ct);if(window.location.href===St)return K;const $t=document.createElement("div");return ln((0,n.jsx)(fs,{message:"This TechDocs page is no longer maintained. Will automatically redirect to the designated replacement.",handleButtonClick:()=>f(St),autoHideDuration:3e3}),$t),document.body.appendChild($t),setTimeout(()=>{f(St)},3e3),K}return K}},Fn=()=>f=>(setTimeout(()=>{const R=f?.querySelectorAll("li.md-nav__item--active");R.length!==0&&(R.forEach(F=>{const K=F?.querySelector("input");K?.checked||K?.click()}),R[R.length-1].scrollIntoView())},200),f);var ms=t(50868),vs=t(10437),ys=t(71677),Es=t(87051),As=t(36338);const xs=(0,Es.A)(f=>({tooltip:{fontSize:"inherit",color:f.palette.text.primary,margin:0,padding:f.spacing(.5),backgroundColor:"transparent",boxShadow:"none"}}))(ys.Ay),Cs=()=>(0,n.jsx)(vs.A,{children:(0,n.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"})}),bs=({text:f})=>{const[R,U]=(0,a.useState)(!1),[,F]=(0,As.A)(),K=(0,a.useCallback)(()=>{F(f),U(!0)},[f,F]),J=(0,a.useCallback)(()=>{U(!1)},[U]);return(0,n.jsx)(xs,{title:"Copied to clipboard",placement:"left",open:R,onClose:J,leaveDelay:1e3,children:(0,n.jsx)(Mt.A,{style:{color:"inherit",position:"absolute"},className:"md-clipboard md-icon",onClick:K,children:(0,n.jsx)(Cs,{})})})},Ss=f=>R=>{const U=R.querySelectorAll("pre > code");for(const F of U){const K=F.textContent||"",J=document.createElement("div");F?.parentElement?.prepend(J),ln((0,n.jsx)(ms.A,{theme:f,children:(0,n.jsx)(bs,{text:K})}),J)}return R},Os=({baseUrl:f,onClick:R})=>U=>(Array.from(U.getElementsByTagName("a")).forEach(F=>{F.addEventListener("click",K=>{const rt=F.getAttribute("href");rt&&rt.startsWith(f)&&!F.hasAttribute("download")&&(K.preventDefault(),R(K,rt))})}),U),Nn=({onLoading:f,onLoaded:R})=>U=>(f(),U.addEventListener(p,function F(){R(),U.removeEventListener(p,F)}),U);function Ts(f,R){const U=new URL(R),F=`${U.origin}${U.pathname.replace(/\/$/,"")}`,K=f.replace(F,"").replace(/^\/+/,""),J=new URL(`http://localhost/${K}`);return`${J.pathname}${J.search}${J.hash}`}function kn(){const f=(0,a.useRef)((0,Ut.Zp)()),U=(0,st.gf)(Y.U).getOptionalString("app.baseUrl");return(0,a.useCallback)(K=>{let J=K;if(U)try{J=Ts(K,U)}catch{}f.current(J)},[U])}const Wn="screen and (max-width: 76.1875em)",Ps=f=>{const R=kn(),U=(0,l.A)(),F=(0,L.A)(Wn),K=Re(),J=as(),rt=(0,X.s)(),Ct=(0,st.gf)(qe.s),St=(0,st.gf)(E.Y),{state:$t,path:wt,content:Ft}=$e(),[jt,ue]=(0,a.useState)(null),ie=v(jt),Wt=(0,a.useCallback)(()=>{if(!jt)return;jt.querySelectorAll(".md-sidebar").forEach(_t=>{if(F)_t.style.top="0px";else{const Ce=document?.querySelector(".techdocs-reader-page")?.getBoundingClientRect().top??0;let he=jt.getBoundingClientRect().top??0;const He=jt.querySelector(".md-container > .md-tabs")?.getBoundingClientRect().height??0;he<Ce&&(he=Ce);const dn=Math.max(he,0)+He;_t.style.top=`${dn}px`;const me=jt.querySelector(".md-container > .md-footer")?.getBoundingClientRect().top??window.innerHeight;_t.style.height=`${me-dn}px`}_t.style.setProperty("opacity","1")})},[jt,F]);(0,a.useEffect)(()=>(window.addEventListener("resize",Wt),window.addEventListener("scroll",Wt,!0),()=>{window.removeEventListener("resize",Wt),window.removeEventListener("scroll",Wt,!0)}),[jt,Wt]);const fe=(0,a.useCallback)(()=>{if(!jt)return;const Nt=jt.querySelector(".md-footer");Nt&&(Nt.style.width=`${jt.getBoundingClientRect().width}px`)},[jt]);(0,a.useEffect)(()=>(window.addEventListener("resize",fe),()=>{window.removeEventListener("resize",fe)}),[jt,fe]),(0,a.useEffect)(()=>{ie||(fe(),Wt())},[$t,ie,fe,Wt]);const te=(0,a.useCallback)((Nt,_t)=>En(Nt,[K,Dn({techdocsStorageApi:Ct,entityId:f,path:_t}),cs(),ds(),us(),jn(),ps(St),J]),[f,St,Ct,K,J]),ae=(0,a.useCallback)(async Nt=>En(Nt,[$n(R,f.name),Fn(),Ss(U),Os({baseUrl:window.location.origin,onClick:(_t,re)=>{const Ce=_t.ctrlKey||_t.metaKey,he=new URL(re),nn=_t.target?.innerText||re,He=re.replace(window.location.origin,"");rt.captureEvent("click",nn,{attributes:{to:He}}),he.hash?Ce?window.open(re,"_blank"):(window.location.pathname!==he.pathname?R(re):window.history.pushState(null,document.title,he.hash),Nt?.querySelector(`[id="${he.hash.slice(1)}"]`)?.scrollIntoView()):Ce?window.open(re,"_blank"):R(re)}}),Nn({onLoading:()=>{},onLoaded:()=>{Nt.querySelector(".md-nav__title")?.removeAttribute("for")}}),Nn({onLoading:()=>{Array.from(Nt.querySelectorAll(".md-sidebar")).forEach(re=>{re.style.setProperty("opacity","0")})},onLoaded:()=>{}})]),[U,R,rt,f.name]);return(0,a.useEffect)(()=>{if(!Ft)return()=>{};let Nt=!0;return te(Ft,wt).then(async _t=>{if(!_t?.innerHTML||!Nt||!window.location.pathname.endsWith(wt))return;window.scroll({top:0});const re=await ae(_t);ue(re)}),()=>{Nt=!1}},[Ft,wt,te,ae]),jt};var Cn=t(41883),Ne=t(72020),Ie=t(99730);const ke=()=>{const f=(0,Ne.YR)(),{shadowRoot:R}=(0,m.V)(),U=R?.querySelector('[data-md-component="content"]'),F=R?.querySelector('div[data-md-component="sidebar"][data-md-type="navigation"], div[data-md-component="navigation"]');let K=F?.querySelector('[data-techdocs-addons-location="primary sidebar"]');K||(K=document.createElement("div"),K.setAttribute("data-techdocs-addons-location","primary sidebar"),F?.prepend(K));const J=R?.querySelector('div[data-md-component="sidebar"][data-md-type="toc"], div[data-md-component="toc"]');let rt=J?.querySelector('[data-techdocs-addons-location="secondary sidebar"]');return rt||(rt=document.createElement("div"),rt.setAttribute("data-techdocs-addons-location","secondary sidebar"),J?.prepend(rt)),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(Cn.A,{container:K,children:f.renderComponentsByLocation(Ie.e.PrimarySidebar)}),(0,n.jsx)(Cn.A,{container:U,children:f.renderComponentsByLocation(Ie.e.Content)}),(0,n.jsx)(Cn.A,{container:rt,children:f.renderComponentsByLocation(Ie.e.SecondarySidebar)})]})},ws=(0,x.A)({search:{width:"100%","@media (min-width: 76.1875em)":{width:"calc(100% - 34.4rem)",margin:"0 auto"},"@media print":{display:"none"}}}),Kn=Ae(f=>{const{withSearch:R=!0,onReady:U}=f,F=ws(),{entityMetadata:{value:K,loading:J},entityRef:rt,setShadowRoot:Ct}=(0,m.V)(),{state:St}=$e(),$t=Ps(rt),wt=window.location.pathname,Ft=window.location.hash,jt=v($t),[ue]=I([`[id="${Ft.slice(1)}"]`]);(0,a.useEffect)(()=>{jt||(Ft?ue&&ue.scrollIntoView():document?.querySelector("header")?.scrollIntoView())},[wt,Ft,ue,jt]);const ie=(0,a.useCallback)(Wt=>{Ct(Wt),U instanceof Function&&U()},[Ct,U]);return J===!1&&!K?(0,n.jsx)(N.M,{status:"404",statusMessage:"PAGE NOT FOUND"}):$t?(0,n.jsx)(D.U,{children:(0,n.jsxs)(d.A,{container:!0,children:[(0,n.jsx)(d.A,{xs:12,item:!0,children:(0,n.jsx)(Ze,{})}),R&&(0,n.jsx)(d.A,{className:F.search,xs:"auto",item:!0,children:(0,n.jsx)(ge,{entityId:rt,entityTitle:K?.metadata?.title})}),(0,n.jsxs)(d.A,{xs:12,item:!0,children:[(St==="CHECKING"||jt)&&(0,n.jsx)(Z.k,{}),(0,n.jsx)(A,{element:$t,onAppend:ie,children:(0,n.jsx)(ke,{})})]})]})}):(0,n.jsx)(D.U,{children:(0,n.jsx)(d.A,{container:!0,children:(0,n.jsx)(d.A,{xs:12,item:!0,children:(0,n.jsx)(Ze,{})})})})}),Rs=null},45061:(H,b,t)=>{"use strict";t.d(b,{T:()=>V});var n=t(31085),a=t(14041),d=t(93285),x=t(42899),m=t(4387),h=t(13660),u=t(72020),g=t(86892),p=t(99730),y=t(67871),v=t(8859),A=t(34428),P=t(51372),T=t(58837),I=t(268),S=t(72501),B=t(72072);const N=(0,T.A)(Y=>({root:{textAlign:"left"},label:{color:Y.page.fontColor,fontWeight:Y.typography.fontWeightBold,letterSpacing:0,fontSize:Y.typography.fontSize,marginBottom:Y.spacing(1)/2,lineHeight:1},value:{color:(0,I.X4)(Y.page.fontColor,.8),fontSize:Y.typography.fontSize,lineHeight:1}}),{name:"BackstageHeaderLabel"}),D=({value:Y,className:nt,typographyRootComponent:at})=>(0,n.jsx)(S.A,{component:at??(typeof Y=="string"?"p":"span"),className:nt,children:Y});function Z(Y){const{label:nt,value:at,url:ft,contentTypograpyRootComponent:Et}=Y,bt=N(),mt=(0,n.jsx)(D,{className:bt.value,value:at||"<Unknown>",typographyRootComponent:Et});return(0,n.jsx)(x.A,{item:!0,children:(0,n.jsxs)(S.A,{component:"span",className:bt.root,children:[(0,n.jsx)(S.A,{className:bt.label,children:nt}),ft?(0,n.jsx)(B.N_,{to:ft,children:mt}):mt]})})}var G=t(69814),k=t(72427),Q=t(65461),z=t(9222),_=t(45250),st=t(82779);const X=(0,n.jsx)(m.A,{animation:"wave",variant:"text",height:40}),V=Y=>{const{children:nt}=Y,at=(0,u.YR)(),ft=(0,k.gf)(Q.U),{title:Et,setTitle:bt,subtitle:mt,setSubtitle:dt,entityRef:At,metadata:{value:vt,loading:Tt},entityMetadata:{value:Ot,loading:Lt}}=(0,g.V)();(0,a.useEffect)(()=>{vt&&(bt(vt.site_name),dt(()=>{let{site_description:xt}=vt;return(!xt||xt==="None")&&(xt=""),xt}))},[vt,bt,dt]);const kt=ft.getOptional("app.title")||"Backstage",Mt=[Et,mt,kt].filter(Boolean).join(" | "),{locationMetadata:gt,spec:Dt}=Ot||{},j=Dt?.lifecycle,$=Ot?(0,y.t)(Ot,P.vv):[],et=(0,z.S)(st.rQ)(),ct=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(Z,{label:(0,_.capitalize)(Ot?.kind||"entity"),value:(0,n.jsx)(v.z,{color:"inherit",entityRef:At,title:Ot?.metadata.title,defaultKind:"Component"})}),$.length>0&&(0,n.jsx)(Z,{label:"Owner",value:(0,n.jsx)(A.i,{color:"inherit",entityRefs:$,defaultKind:"group"})}),j?(0,n.jsx)(Z,{label:"Lifecycle",value:String(j)}):null,gt&>.type!=="dir"&>.type!=="file"?(0,n.jsx)(Z,{label:"",value:(0,n.jsxs)(x.A,{container:!0,direction:"column",alignItems:"center",children:[(0,n.jsx)(x.A,{style:{padding:0},item:!0,children:(0,n.jsx)(h.A,{style:{marginTop:"-25px"}})}),(0,n.jsx)(x.A,{style:{padding:0},item:!0,children:"Source"})]}),url:gt.target}):null]});return!Lt&&Ot===void 0||!Tt&&vt===void 0?null:(0,n.jsxs)(G.Y,{type:"Documentation",typeLink:et,title:Et||X,subtitle:mt===""?void 0:mt||X,children:[(0,n.jsx)(d.A,{titleTemplate:"%s",children:(0,n.jsx)("title",{children:Mt})}),ct,nt,at.renderComponentsByLocation(p.e.Header)]})}},82779:(H,b,t)=>{"use strict";t.d(b,{Oc:()=>d,Ri:()=>x,rQ:()=>a});var n=t(34569);const a=(0,n.H)({id:"techdocs:index-page"}),d=(0,n.H)({id:"techdocs:reader-page",params:["namespace","kind","name"]}),x=(0,n.H)({id:"techdocs:catalog-reader-view"})},27698:(H,b,t)=>{"use strict";t.r(b),t.d(b,{TechDocsSearchResultListItem:()=>y});var n=t(31085),a=t(14041),d=t(46423),x=t(5951),m=t(58837),h=t(72501),u=t(72072),g=t(70734);const p=(0,m.A)({flexContainer:{flexWrap:"wrap"},itemText:{width:"100%",marginBottom:"1rem"}}),y=v=>{const{result:A,highlight:P,lineClamp:T=5,asListItem:I=!0,asLink:S=!0,title:B,icon:N}=v,D=p(),Z=({children:Q})=>S?(0,n.jsx)(u.N_,{noTrack:!0,to:A.location,children:Q}):(0,n.jsx)(n.Fragment,{children:Q}),G=()=>{const Q=P?.fields.title?(0,n.jsx)(g.e,{text:P.fields.title,preTag:P.preTag,postTag:P.postTag}):A.title,z=P?.fields.entityTitle?(0,n.jsx)(g.e,{text:P.fields.entityTitle,preTag:P.preTag,postTag:P.postTag}):A.entityTitle,_=P?.fields.name?(0,n.jsx)(g.e,{text:P.fields.name,preTag:P.preTag,postTag:P.postTag}):A.name;return A?(0,n.jsx)(x.A,{className:D.itemText,primaryTypographyProps:{variant:"h6"},primary:(0,n.jsx)(Z,{children:B||(0,n.jsxs)(n.Fragment,{children:[Q," | ",z??_," docs"]})}),secondary:(0,n.jsx)(h.A,{component:"span",style:{display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:T,overflow:"hidden"},color:"textSecondary",variant:"body2",children:P?.fields.text?(0,n.jsx)(g.e,{text:P.fields.text,preTag:P.preTag,postTag:P.postTag}):A.text})}):null},k=({children:Q})=>I?(0,n.jsxs)(n.Fragment,{children:[N&&(0,n.jsx)(d.A,{children:typeof N=="function"?N(A):N}),(0,n.jsx)("div",{className:D.flexContainer,children:Q})]}):(0,n.jsx)(n.Fragment,{children:Q});return(0,n.jsx)(k,{children:(0,n.jsx)(G,{})})}},97184:(H,b,t)=>{const a=document.querySelector('meta[name="backstage-public-path"]')?.getAttribute("content");a&&(t.p=a)},86973:()=>{}},H=>{var b=n=>H(H.s=n);H.O(0,[1751,1888,5067,1678,235,6587,1975,5042,7400,4538,4121],()=>(b(97184),b(85318)));var t=H.O()}]);})();
|
|
552
552
|
|
|
553
|
-
//# sourceMappingURL=main.
|
|
553
|
+
//# sourceMappingURL=main.13ab76c8.js.map
|