@fern-api/fdr-sdk 1.2.42-e01a8637c3 → 1.2.43-60e226c2d6

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.
Files changed (54) hide show
  1. package/dist/js/client/FdrClient.js +12 -0
  2. package/dist/js/client/FdrClient.js.map +1 -1
  3. package/dist/js/client/FdrClient.mjs +12 -0
  4. package/dist/js/client/FdrClient.mjs.map +1 -1
  5. package/dist/js/index.js +12 -0
  6. package/dist/js/index.js.map +1 -1
  7. package/dist/js/index.mjs +12 -0
  8. package/dist/js/index.mjs.map +1 -1
  9. package/dist/js/navigation/ledger-root-builder.js +54 -13
  10. package/dist/js/navigation/ledger-root-builder.js.map +1 -1
  11. package/dist/js/navigation/ledger-root-builder.mjs +54 -13
  12. package/dist/js/navigation/ledger-root-builder.mjs.map +1 -1
  13. package/dist/js/orpc-client.js +59 -0
  14. package/dist/js/orpc-client.js.map +1 -1
  15. package/dist/js/orpc-client.mjs +58 -0
  16. package/dist/js/orpc-client.mjs.map +1 -1
  17. package/dist/navigation/__test__/ledger-root-builder.crossTabPrevNext.test.d.ts +2 -0
  18. package/dist/navigation/__test__/ledger-root-builder.crossTabPrevNext.test.d.ts.map +1 -0
  19. package/dist/navigation/__test__/ledger-root-builder.crossTabPrevNext.test.js +230 -0
  20. package/dist/navigation/__test__/ledger-root-builder.crossTabPrevNext.test.js.map +1 -0
  21. package/dist/navigation/__test__/ledger-root-builder.sidebarDepth.test.js +167 -0
  22. package/dist/navigation/__test__/ledger-root-builder.sidebarDepth.test.js.map +1 -1
  23. package/dist/navigation/__test__/ledger-root-builder.skipSlugSiblingSection.test.js +255 -1
  24. package/dist/navigation/__test__/ledger-root-builder.skipSlugSiblingSection.test.js.map +1 -1
  25. package/dist/navigation/ledger-root-builder.d.ts.map +1 -1
  26. package/dist/navigation/ledger-root-builder.js +95 -17
  27. package/dist/navigation/ledger-root-builder.js.map +1 -1
  28. package/dist/orpc-client/docs-ledger/__test__/config-files.navFiles.test.d.ts +2 -0
  29. package/dist/orpc-client/docs-ledger/__test__/config-files.navFiles.test.d.ts.map +1 -0
  30. package/dist/orpc-client/docs-ledger/__test__/config-files.navFiles.test.js +153 -0
  31. package/dist/orpc-client/docs-ledger/__test__/config-files.navFiles.test.js.map +1 -0
  32. package/dist/orpc-client/docs-ledger/config-files.d.ts +8 -0
  33. package/dist/orpc-client/docs-ledger/config-files.d.ts.map +1 -1
  34. package/dist/orpc-client/docs-ledger/config-files.js +69 -0
  35. package/dist/orpc-client/docs-ledger/config-files.js.map +1 -1
  36. package/dist/orpc-client/docs-ledger/contract.d.ts +424 -28
  37. package/dist/orpc-client/docs-ledger/contract.d.ts.map +1 -1
  38. package/dist/orpc-client/docs-ledger/contract.js +14 -0
  39. package/dist/orpc-client/docs-ledger/contract.js.map +1 -1
  40. package/dist/orpc-client/docs-ledger/ledger-manifest.d.ts +92 -0
  41. package/dist/orpc-client/docs-ledger/ledger-manifest.d.ts.map +1 -1
  42. package/dist/tsconfig.tsbuildinfo +1 -1
  43. package/dist/types/navigation/__test__/ledger-root-builder.crossTabPrevNext.test.d.ts +2 -0
  44. package/dist/types/navigation/__test__/ledger-root-builder.crossTabPrevNext.test.d.ts.map +1 -0
  45. package/dist/types/navigation/ledger-root-builder.d.ts.map +1 -1
  46. package/dist/types/orpc-client/docs-ledger/__test__/config-files.navFiles.test.d.ts +2 -0
  47. package/dist/types/orpc-client/docs-ledger/__test__/config-files.navFiles.test.d.ts.map +1 -0
  48. package/dist/types/orpc-client/docs-ledger/config-files.d.ts +8 -0
  49. package/dist/types/orpc-client/docs-ledger/config-files.d.ts.map +1 -1
  50. package/dist/types/orpc-client/docs-ledger/contract.d.ts +424 -28
  51. package/dist/types/orpc-client/docs-ledger/contract.d.ts.map +1 -1
  52. package/dist/types/orpc-client/docs-ledger/ledger-manifest.d.ts +92 -0
  53. package/dist/types/orpc-client/docs-ledger/ledger-manifest.d.ts.map +1 -1
  54. package/package.json +3 -3
@@ -3993,6 +3993,28 @@ export declare const LedgerConfigSchema: z.ZodObject<{
3993
3993
  default?: "copyPage" | "viewAsMarkdown" | "askAi" | "openAi" | "claude" | "cursor" | "claudeCode" | "vscode" | "installSkills" | undefined;
3994
3994
  }>>;
3995
3995
  editThisPageLaunch: z.ZodOptional<z.ZodEnum<["github", "dashboard"]>>;
3996
+ /**
3997
+ * Explicit edit-this-page GitHub config from docs.yml (ADR 0012 parity).
3998
+ * When present, the loader synthesises `editThisPageUrl` from these fields
3999
+ * instead of relying on deployment-scoped git provenance. This matches the
4000
+ * v2 behaviour where the CLI derives the URL from the declared config.
4001
+ */
4002
+ editThisPageGithub: z.ZodOptional<z.ZodObject<{
4003
+ owner: z.ZodString;
4004
+ repo: z.ZodString;
4005
+ branch: z.ZodDefault<z.ZodString>;
4006
+ host: z.ZodDefault<z.ZodString>;
4007
+ }, "strip", z.ZodTypeAny, {
4008
+ branch: string;
4009
+ owner: string;
4010
+ repo: string;
4011
+ host: string;
4012
+ }, {
4013
+ owner: string;
4014
+ repo: string;
4015
+ branch?: string | undefined;
4016
+ host?: string | undefined;
4017
+ }>>;
3996
4018
  header: z.ZodOptional<z.ZodString>;
3997
4019
  footer: z.ZodOptional<z.ZodString>;
3998
4020
  }, "strip", z.ZodTypeAny, {
@@ -4902,6 +4924,12 @@ export declare const LedgerConfigSchema: z.ZodObject<{
4902
4924
  } | undefined;
4903
4925
  footer?: string | undefined;
4904
4926
  rootSlug?: string | undefined;
4927
+ editThisPageGithub?: {
4928
+ branch: string;
4929
+ owner: string;
4930
+ repo: string;
4931
+ host: string;
4932
+ } | undefined;
4905
4933
  }, {
4906
4934
  js?: {
4907
4935
  inline?: string[] | undefined;
@@ -5809,6 +5837,12 @@ export declare const LedgerConfigSchema: z.ZodObject<{
5809
5837
  } | undefined;
5810
5838
  footer?: string | undefined;
5811
5839
  rootSlug?: string | undefined;
5840
+ editThisPageGithub?: {
5841
+ owner: string;
5842
+ repo: string;
5843
+ branch?: string | undefined;
5844
+ host?: string | undefined;
5845
+ } | undefined;
5812
5846
  }>;
5813
5847
  export type LedgerConfig = z.infer<typeof LedgerConfigSchema>;
5814
5848
  export declare const LedgerArtifactTypeSchema: z.ZodEnum<["markdown", "page", "rest", "asyncapi", "webhook", "grpc", "graphql", "changelog", "link", "file", "image", "redirect"]>;
@@ -13058,6 +13092,28 @@ export declare const DocsContentFieldsSchema: z.ZodObject<{
13058
13092
  default?: "copyPage" | "viewAsMarkdown" | "askAi" | "openAi" | "claude" | "cursor" | "claudeCode" | "vscode" | "installSkills" | undefined;
13059
13093
  }>>;
13060
13094
  editThisPageLaunch: z.ZodOptional<z.ZodEnum<["github", "dashboard"]>>;
13095
+ /**
13096
+ * Explicit edit-this-page GitHub config from docs.yml (ADR 0012 parity).
13097
+ * When present, the loader synthesises `editThisPageUrl` from these fields
13098
+ * instead of relying on deployment-scoped git provenance. This matches the
13099
+ * v2 behaviour where the CLI derives the URL from the declared config.
13100
+ */
13101
+ editThisPageGithub: z.ZodOptional<z.ZodObject<{
13102
+ owner: z.ZodString;
13103
+ repo: z.ZodString;
13104
+ branch: z.ZodDefault<z.ZodString>;
13105
+ host: z.ZodDefault<z.ZodString>;
13106
+ }, "strip", z.ZodTypeAny, {
13107
+ branch: string;
13108
+ owner: string;
13109
+ repo: string;
13110
+ host: string;
13111
+ }, {
13112
+ owner: string;
13113
+ repo: string;
13114
+ branch?: string | undefined;
13115
+ host?: string | undefined;
13116
+ }>>;
13061
13117
  header: z.ZodOptional<z.ZodString>;
13062
13118
  footer: z.ZodOptional<z.ZodString>;
13063
13119
  }, "strip", z.ZodTypeAny, {
@@ -13967,6 +14023,12 @@ export declare const DocsContentFieldsSchema: z.ZodObject<{
13967
14023
  } | undefined;
13968
14024
  footer?: string | undefined;
13969
14025
  rootSlug?: string | undefined;
14026
+ editThisPageGithub?: {
14027
+ branch: string;
14028
+ owner: string;
14029
+ repo: string;
14030
+ host: string;
14031
+ } | undefined;
13970
14032
  }, {
13971
14033
  js?: {
13972
14034
  inline?: string[] | undefined;
@@ -14874,6 +14936,12 @@ export declare const DocsContentFieldsSchema: z.ZodObject<{
14874
14936
  } | undefined;
14875
14937
  footer?: string | undefined;
14876
14938
  rootSlug?: string | undefined;
14939
+ editThisPageGithub?: {
14940
+ owner: string;
14941
+ repo: string;
14942
+ branch?: string | undefined;
14943
+ host?: string | undefined;
14944
+ } | undefined;
14877
14945
  }>>;
14878
14946
  /**
14879
14947
  * Content-addressable file manifest: maps fullPath → file metadata + CAS blob ref.
@@ -15880,6 +15948,12 @@ export declare const DocsContentFieldsSchema: z.ZodObject<{
15880
15948
  } | undefined;
15881
15949
  footer?: string | undefined;
15882
15950
  rootSlug?: string | undefined;
15951
+ editThisPageGithub?: {
15952
+ branch: string;
15953
+ owner: string;
15954
+ repo: string;
15955
+ host: string;
15956
+ } | undefined;
15883
15957
  } | undefined;
15884
15958
  redirects?: {
15885
15959
  contentType: string;
@@ -15891,6 +15965,7 @@ export declare const DocsContentFieldsSchema: z.ZodObject<{
15891
15965
  hash: string;
15892
15966
  contentLength: number;
15893
15967
  } | null | undefined;
15968
+ repo?: string | null | undefined;
15894
15969
  apiManifest?: {
15895
15970
  contentType: string;
15896
15971
  hash: string;
@@ -15905,7 +15980,6 @@ export declare const DocsContentFieldsSchema: z.ZodObject<{
15905
15980
  height?: number | undefined;
15906
15981
  blurDataURL?: string | undefined;
15907
15982
  }> | undefined;
15908
- repo?: string | null | undefined;
15909
15983
  git?: {
15910
15984
  branch: string;
15911
15985
  repoUrl: string;
@@ -16827,6 +16901,12 @@ export declare const DocsContentFieldsSchema: z.ZodObject<{
16827
16901
  } | undefined;
16828
16902
  footer?: string | undefined;
16829
16903
  rootSlug?: string | undefined;
16904
+ editThisPageGithub?: {
16905
+ owner: string;
16906
+ repo: string;
16907
+ branch?: string | undefined;
16908
+ host?: string | undefined;
16909
+ } | undefined;
16830
16910
  } | undefined;
16831
16911
  redirects?: {
16832
16912
  contentType: string;
@@ -16839,6 +16919,7 @@ export declare const DocsContentFieldsSchema: z.ZodObject<{
16839
16919
  contentLength: number;
16840
16920
  } | null | undefined;
16841
16921
  locale?: string | undefined;
16922
+ repo?: string | null | undefined;
16842
16923
  apiManifest?: {
16843
16924
  contentType: string;
16844
16925
  hash: string;
@@ -16853,7 +16934,6 @@ export declare const DocsContentFieldsSchema: z.ZodObject<{
16853
16934
  height?: number | undefined;
16854
16935
  blurDataURL?: string | undefined;
16855
16936
  }> | undefined;
16856
- repo?: string | null | undefined;
16857
16937
  git?: {
16858
16938
  branch: string;
16859
16939
  repoUrl: string;
@@ -20678,6 +20758,28 @@ declare const LocaleEntrySchemaInternal: z.ZodObject<{
20678
20758
  default?: "copyPage" | "viewAsMarkdown" | "askAi" | "openAi" | "claude" | "cursor" | "claudeCode" | "vscode" | "installSkills" | undefined;
20679
20759
  }>>;
20680
20760
  editThisPageLaunch: z.ZodOptional<z.ZodEnum<["github", "dashboard"]>>;
20761
+ /**
20762
+ * Explicit edit-this-page GitHub config from docs.yml (ADR 0012 parity).
20763
+ * When present, the loader synthesises `editThisPageUrl` from these fields
20764
+ * instead of relying on deployment-scoped git provenance. This matches the
20765
+ * v2 behaviour where the CLI derives the URL from the declared config.
20766
+ */
20767
+ editThisPageGithub: z.ZodOptional<z.ZodObject<{
20768
+ owner: z.ZodString;
20769
+ repo: z.ZodString;
20770
+ branch: z.ZodDefault<z.ZodString>;
20771
+ host: z.ZodDefault<z.ZodString>;
20772
+ }, "strip", z.ZodTypeAny, {
20773
+ branch: string;
20774
+ owner: string;
20775
+ repo: string;
20776
+ host: string;
20777
+ }, {
20778
+ owner: string;
20779
+ repo: string;
20780
+ branch?: string | undefined;
20781
+ host?: string | undefined;
20782
+ }>>;
20681
20783
  header: z.ZodOptional<z.ZodString>;
20682
20784
  footer: z.ZodOptional<z.ZodString>;
20683
20785
  }, "strip", z.ZodTypeAny, {
@@ -21587,6 +21689,12 @@ declare const LocaleEntrySchemaInternal: z.ZodObject<{
21587
21689
  } | undefined;
21588
21690
  footer?: string | undefined;
21589
21691
  rootSlug?: string | undefined;
21692
+ editThisPageGithub?: {
21693
+ branch: string;
21694
+ owner: string;
21695
+ repo: string;
21696
+ host: string;
21697
+ } | undefined;
21590
21698
  }, {
21591
21699
  js?: {
21592
21700
  inline?: string[] | undefined;
@@ -22494,6 +22602,12 @@ declare const LocaleEntrySchemaInternal: z.ZodObject<{
22494
22602
  } | undefined;
22495
22603
  footer?: string | undefined;
22496
22604
  rootSlug?: string | undefined;
22605
+ editThisPageGithub?: {
22606
+ owner: string;
22607
+ repo: string;
22608
+ branch?: string | undefined;
22609
+ host?: string | undefined;
22610
+ } | undefined;
22497
22611
  }>>;
22498
22612
  fileManifest: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
22499
22613
  /** SHA-256 hex of the file bytes (= CAS content hash). */
@@ -23491,6 +23605,12 @@ declare const LocaleEntrySchemaInternal: z.ZodObject<{
23491
23605
  } | undefined;
23492
23606
  footer?: string | undefined;
23493
23607
  rootSlug?: string | undefined;
23608
+ editThisPageGithub?: {
23609
+ branch: string;
23610
+ owner: string;
23611
+ repo: string;
23612
+ host: string;
23613
+ } | undefined;
23494
23614
  } | undefined;
23495
23615
  redirects?: {
23496
23616
  contentType: string;
@@ -23502,6 +23622,7 @@ declare const LocaleEntrySchemaInternal: z.ZodObject<{
23502
23622
  hash: string;
23503
23623
  contentLength: number;
23504
23624
  } | null | undefined;
23625
+ repo?: string | null | undefined;
23505
23626
  apiManifest?: {
23506
23627
  contentType: string;
23507
23628
  hash: string;
@@ -23516,7 +23637,6 @@ declare const LocaleEntrySchemaInternal: z.ZodObject<{
23516
23637
  height?: number | undefined;
23517
23638
  blurDataURL?: string | undefined;
23518
23639
  }> | undefined;
23519
- repo?: string | null | undefined;
23520
23640
  git?: {
23521
23641
  branch: string;
23522
23642
  repoUrl: string;
@@ -24439,6 +24559,12 @@ declare const LocaleEntrySchemaInternal: z.ZodObject<{
24439
24559
  } | undefined;
24440
24560
  footer?: string | undefined;
24441
24561
  rootSlug?: string | undefined;
24562
+ editThisPageGithub?: {
24563
+ owner: string;
24564
+ repo: string;
24565
+ branch?: string | undefined;
24566
+ host?: string | undefined;
24567
+ } | undefined;
24442
24568
  } | undefined;
24443
24569
  redirects?: {
24444
24570
  contentType: string;
@@ -24450,6 +24576,7 @@ declare const LocaleEntrySchemaInternal: z.ZodObject<{
24450
24576
  hash: string;
24451
24577
  contentLength: number;
24452
24578
  } | null | undefined;
24579
+ repo?: string | null | undefined;
24453
24580
  apiManifest?: {
24454
24581
  contentType: string;
24455
24582
  hash: string;
@@ -24464,7 +24591,6 @@ declare const LocaleEntrySchemaInternal: z.ZodObject<{
24464
24591
  height?: number | undefined;
24465
24592
  blurDataURL?: string | undefined;
24466
24593
  }> | undefined;
24467
- repo?: string | null | undefined;
24468
24594
  git?: {
24469
24595
  branch: string;
24470
24596
  repoUrl: string;
@@ -25423,6 +25549,12 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
25423
25549
  } | undefined;
25424
25550
  footer?: string | undefined;
25425
25551
  rootSlug?: string | undefined;
25552
+ editThisPageGithub?: {
25553
+ branch: string;
25554
+ owner: string;
25555
+ repo: string;
25556
+ host: string;
25557
+ } | undefined;
25426
25558
  } | undefined;
25427
25559
  redirects?: {
25428
25560
  contentType: string;
@@ -25434,6 +25566,7 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
25434
25566
  hash: string;
25435
25567
  contentLength: number;
25436
25568
  } | null | undefined;
25569
+ repo?: string | null | undefined;
25437
25570
  apiManifest?: {
25438
25571
  contentType: string;
25439
25572
  hash: string;
@@ -25448,7 +25581,6 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
25448
25581
  height?: number | undefined;
25449
25582
  blurDataURL?: string | undefined;
25450
25583
  }> | undefined;
25451
- repo?: string | null | undefined;
25452
25584
  git?: {
25453
25585
  branch: string;
25454
25586
  repoUrl: string;
@@ -26371,6 +26503,12 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
26371
26503
  } | undefined;
26372
26504
  footer?: string | undefined;
26373
26505
  rootSlug?: string | undefined;
26506
+ editThisPageGithub?: {
26507
+ owner: string;
26508
+ repo: string;
26509
+ branch?: string | undefined;
26510
+ host?: string | undefined;
26511
+ } | undefined;
26374
26512
  } | undefined;
26375
26513
  redirects?: {
26376
26514
  contentType: string;
@@ -26382,6 +26520,7 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
26382
26520
  hash: string;
26383
26521
  contentLength: number;
26384
26522
  } | null | undefined;
26523
+ repo?: string | null | undefined;
26385
26524
  apiManifest?: {
26386
26525
  contentType: string;
26387
26526
  hash: string;
@@ -26396,7 +26535,6 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
26396
26535
  height?: number | undefined;
26397
26536
  blurDataURL?: string | undefined;
26398
26537
  }> | undefined;
26399
- repo?: string | null | undefined;
26400
26538
  git?: {
26401
26539
  branch: string;
26402
26540
  repoUrl: string;
@@ -27326,6 +27464,12 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
27326
27464
  } | undefined;
27327
27465
  footer?: string | undefined;
27328
27466
  rootSlug?: string | undefined;
27467
+ editThisPageGithub?: {
27468
+ branch: string;
27469
+ owner: string;
27470
+ repo: string;
27471
+ host: string;
27472
+ } | undefined;
27329
27473
  } | undefined;
27330
27474
  redirects?: {
27331
27475
  contentType: string;
@@ -27337,6 +27481,7 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
27337
27481
  hash: string;
27338
27482
  contentLength: number;
27339
27483
  } | null | undefined;
27484
+ repo?: string | null | undefined;
27340
27485
  apiManifest?: {
27341
27486
  contentType: string;
27342
27487
  hash: string;
@@ -27351,7 +27496,6 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
27351
27496
  height?: number | undefined;
27352
27497
  blurDataURL?: string | undefined;
27353
27498
  }> | undefined;
27354
- repo?: string | null | undefined;
27355
27499
  git?: {
27356
27500
  branch: string;
27357
27501
  repoUrl: string;
@@ -28280,6 +28424,12 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
28280
28424
  } | undefined;
28281
28425
  footer?: string | undefined;
28282
28426
  rootSlug?: string | undefined;
28427
+ editThisPageGithub?: {
28428
+ owner: string;
28429
+ repo: string;
28430
+ branch?: string | undefined;
28431
+ host?: string | undefined;
28432
+ } | undefined;
28283
28433
  } | undefined;
28284
28434
  redirects?: {
28285
28435
  contentType: string;
@@ -28291,6 +28441,7 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
28291
28441
  hash: string;
28292
28442
  contentLength: number;
28293
28443
  } | null | undefined;
28444
+ repo?: string | null | undefined;
28294
28445
  apiManifest?: {
28295
28446
  contentType: string;
28296
28447
  hash: string;
@@ -28305,7 +28456,6 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
28305
28456
  height?: number | undefined;
28306
28457
  blurDataURL?: string | undefined;
28307
28458
  }> | undefined;
28308
- repo?: string | null | undefined;
28309
28459
  git?: {
28310
28460
  branch: string;
28311
28461
  repoUrl: string;
@@ -29240,6 +29390,12 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
29240
29390
  } | undefined;
29241
29391
  footer?: string | undefined;
29242
29392
  rootSlug?: string | undefined;
29393
+ editThisPageGithub?: {
29394
+ branch: string;
29395
+ owner: string;
29396
+ repo: string;
29397
+ host: string;
29398
+ } | undefined;
29243
29399
  } | undefined;
29244
29400
  redirects?: {
29245
29401
  contentType: string;
@@ -29251,6 +29407,7 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
29251
29407
  hash: string;
29252
29408
  contentLength: number;
29253
29409
  } | null | undefined;
29410
+ repo?: string | null | undefined;
29254
29411
  apiManifest?: {
29255
29412
  contentType: string;
29256
29413
  hash: string;
@@ -29265,7 +29422,6 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
29265
29422
  height?: number | undefined;
29266
29423
  blurDataURL?: string | undefined;
29267
29424
  }> | undefined;
29268
- repo?: string | null | undefined;
29269
29425
  git?: {
29270
29426
  branch: string;
29271
29427
  repoUrl: string;
@@ -30194,6 +30350,12 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
30194
30350
  } | undefined;
30195
30351
  footer?: string | undefined;
30196
30352
  rootSlug?: string | undefined;
30353
+ editThisPageGithub?: {
30354
+ owner: string;
30355
+ repo: string;
30356
+ branch?: string | undefined;
30357
+ host?: string | undefined;
30358
+ } | undefined;
30197
30359
  } | undefined;
30198
30360
  redirects?: {
30199
30361
  contentType: string;
@@ -30205,6 +30367,7 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
30205
30367
  hash: string;
30206
30368
  contentLength: number;
30207
30369
  } | null | undefined;
30370
+ repo?: string | null | undefined;
30208
30371
  apiManifest?: {
30209
30372
  contentType: string;
30210
30373
  hash: string;
@@ -30219,7 +30382,6 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
30219
30382
  height?: number | undefined;
30220
30383
  blurDataURL?: string | undefined;
30221
30384
  }> | undefined;
30222
- repo?: string | null | undefined;
30223
30385
  git?: {
30224
30386
  branch: string;
30225
30387
  repoUrl: string;
@@ -34057,6 +34219,28 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
34057
34219
  default?: "copyPage" | "viewAsMarkdown" | "askAi" | "openAi" | "claude" | "cursor" | "claudeCode" | "vscode" | "installSkills" | undefined;
34058
34220
  }>>;
34059
34221
  editThisPageLaunch: z.ZodOptional<z.ZodEnum<["github", "dashboard"]>>;
34222
+ /**
34223
+ * Explicit edit-this-page GitHub config from docs.yml (ADR 0012 parity).
34224
+ * When present, the loader synthesises `editThisPageUrl` from these fields
34225
+ * instead of relying on deployment-scoped git provenance. This matches the
34226
+ * v2 behaviour where the CLI derives the URL from the declared config.
34227
+ */
34228
+ editThisPageGithub: z.ZodOptional<z.ZodObject<{
34229
+ owner: z.ZodString;
34230
+ repo: z.ZodString;
34231
+ branch: z.ZodDefault<z.ZodString>;
34232
+ host: z.ZodDefault<z.ZodString>;
34233
+ }, "strip", z.ZodTypeAny, {
34234
+ branch: string;
34235
+ owner: string;
34236
+ repo: string;
34237
+ host: string;
34238
+ }, {
34239
+ owner: string;
34240
+ repo: string;
34241
+ branch?: string | undefined;
34242
+ host?: string | undefined;
34243
+ }>>;
34060
34244
  header: z.ZodOptional<z.ZodString>;
34061
34245
  footer: z.ZodOptional<z.ZodString>;
34062
34246
  }, "strip", z.ZodTypeAny, {
@@ -34966,6 +35150,12 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
34966
35150
  } | undefined;
34967
35151
  footer?: string | undefined;
34968
35152
  rootSlug?: string | undefined;
35153
+ editThisPageGithub?: {
35154
+ branch: string;
35155
+ owner: string;
35156
+ repo: string;
35157
+ host: string;
35158
+ } | undefined;
34969
35159
  }, {
34970
35160
  js?: {
34971
35161
  inline?: string[] | undefined;
@@ -35873,6 +36063,12 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
35873
36063
  } | undefined;
35874
36064
  footer?: string | undefined;
35875
36065
  rootSlug?: string | undefined;
36066
+ editThisPageGithub?: {
36067
+ owner: string;
36068
+ repo: string;
36069
+ branch?: string | undefined;
36070
+ host?: string | undefined;
36071
+ } | undefined;
35876
36072
  }>>>;
35877
36073
  fileManifest: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
35878
36074
  /** SHA-256 hex of the file bytes (= CAS content hash). */
@@ -36891,6 +37087,12 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
36891
37087
  } | undefined;
36892
37088
  footer?: string | undefined;
36893
37089
  rootSlug?: string | undefined;
37090
+ editThisPageGithub?: {
37091
+ branch: string;
37092
+ owner: string;
37093
+ repo: string;
37094
+ host: string;
37095
+ } | undefined;
36894
37096
  } | undefined;
36895
37097
  redirects?: {
36896
37098
  contentType: string;
@@ -36902,6 +37104,7 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
36902
37104
  hash: string;
36903
37105
  contentLength: number;
36904
37106
  } | null | undefined;
37107
+ repo?: string | null | undefined;
36905
37108
  apiManifest?: {
36906
37109
  contentType: string;
36907
37110
  hash: string;
@@ -36916,7 +37119,6 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
36916
37119
  height?: number | undefined;
36917
37120
  blurDataURL?: string | undefined;
36918
37121
  }> | undefined;
36919
- repo?: string | null | undefined;
36920
37122
  git?: {
36921
37123
  branch: string;
36922
37124
  repoUrl: string;
@@ -37839,6 +38041,12 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
37839
38041
  } | undefined;
37840
38042
  footer?: string | undefined;
37841
38043
  rootSlug?: string | undefined;
38044
+ editThisPageGithub?: {
38045
+ owner: string;
38046
+ repo: string;
38047
+ branch?: string | undefined;
38048
+ host?: string | undefined;
38049
+ } | undefined;
37842
38050
  } | undefined;
37843
38051
  redirects?: {
37844
38052
  contentType: string;
@@ -37850,6 +38058,7 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
37850
38058
  hash: string;
37851
38059
  contentLength: number;
37852
38060
  } | null | undefined;
38061
+ repo?: string | null | undefined;
37853
38062
  apiManifest?: {
37854
38063
  contentType: string;
37855
38064
  hash: string;
@@ -37864,7 +38073,6 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
37864
38073
  height?: number | undefined;
37865
38074
  blurDataURL?: string | undefined;
37866
38075
  }> | undefined;
37867
- repo?: string | null | undefined;
37868
38076
  git?: {
37869
38077
  branch: string;
37870
38078
  repoUrl: string;
@@ -38784,6 +38992,12 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
38784
38992
  } | undefined;
38785
38993
  footer?: string | undefined;
38786
38994
  rootSlug?: string | undefined;
38995
+ editThisPageGithub?: {
38996
+ branch: string;
38997
+ owner: string;
38998
+ repo: string;
38999
+ host: string;
39000
+ } | undefined;
38787
39001
  } | undefined;
38788
39002
  redirects?: {
38789
39003
  contentType: string;
@@ -38803,6 +39017,7 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
38803
39017
  } | null | undefined;
38804
39018
  locale?: string | undefined;
38805
39019
  previewId?: string | null | undefined;
39020
+ repo?: string | null | undefined;
38806
39021
  apiManifest?: {
38807
39022
  contentType: string;
38808
39023
  hash: string;
@@ -38817,7 +39032,6 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
38817
39032
  height?: number | undefined;
38818
39033
  blurDataURL?: string | undefined;
38819
39034
  }> | undefined;
38820
- repo?: string | null | undefined;
38821
39035
  git?: {
38822
39036
  branch: string;
38823
39037
  repoUrl: string;
@@ -39740,6 +39954,12 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
39740
39954
  } | undefined;
39741
39955
  footer?: string | undefined;
39742
39956
  rootSlug?: string | undefined;
39957
+ editThisPageGithub?: {
39958
+ branch: string;
39959
+ owner: string;
39960
+ repo: string;
39961
+ host: string;
39962
+ } | undefined;
39743
39963
  } | undefined;
39744
39964
  redirects?: {
39745
39965
  contentType: string;
@@ -39751,6 +39971,7 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
39751
39971
  hash: string;
39752
39972
  contentLength: number;
39753
39973
  } | null | undefined;
39974
+ repo?: string | null | undefined;
39754
39975
  apiManifest?: {
39755
39976
  contentType: string;
39756
39977
  hash: string;
@@ -39765,7 +39986,6 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
39765
39986
  height?: number | undefined;
39766
39987
  blurDataURL?: string | undefined;
39767
39988
  }> | undefined;
39768
- repo?: string | null | undefined;
39769
39989
  git?: {
39770
39990
  branch: string;
39771
39991
  repoUrl: string;
@@ -40684,6 +40904,12 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
40684
40904
  } | undefined;
40685
40905
  footer?: string | undefined;
40686
40906
  rootSlug?: string | undefined;
40907
+ editThisPageGithub?: {
40908
+ owner: string;
40909
+ repo: string;
40910
+ branch?: string | undefined;
40911
+ host?: string | undefined;
40912
+ } | undefined;
40687
40913
  } | undefined;
40688
40914
  redirects?: {
40689
40915
  contentType: string;
@@ -40704,6 +40930,7 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
40704
40930
  basePath?: string | undefined;
40705
40931
  locale?: string | undefined;
40706
40932
  previewId?: string | null | undefined;
40933
+ repo?: string | null | undefined;
40707
40934
  apiManifest?: {
40708
40935
  contentType: string;
40709
40936
  hash: string;
@@ -40718,7 +40945,6 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
40718
40945
  height?: number | undefined;
40719
40946
  blurDataURL?: string | undefined;
40720
40947
  }> | undefined;
40721
- repo?: string | null | undefined;
40722
40948
  git?: {
40723
40949
  branch: string;
40724
40950
  repoUrl: string;
@@ -41641,6 +41867,12 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
41641
41867
  } | undefined;
41642
41868
  footer?: string | undefined;
41643
41869
  rootSlug?: string | undefined;
41870
+ editThisPageGithub?: {
41871
+ owner: string;
41872
+ repo: string;
41873
+ branch?: string | undefined;
41874
+ host?: string | undefined;
41875
+ } | undefined;
41644
41876
  } | undefined;
41645
41877
  redirects?: {
41646
41878
  contentType: string;
@@ -41652,6 +41884,7 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
41652
41884
  hash: string;
41653
41885
  contentLength: number;
41654
41886
  } | null | undefined;
41887
+ repo?: string | null | undefined;
41655
41888
  apiManifest?: {
41656
41889
  contentType: string;
41657
41890
  hash: string;
@@ -41666,7 +41899,6 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
41666
41899
  height?: number | undefined;
41667
41900
  blurDataURL?: string | undefined;
41668
41901
  }> | undefined;
41669
- repo?: string | null | undefined;
41670
41902
  git?: {
41671
41903
  branch: string;
41672
41904
  repoUrl: string;
@@ -42586,6 +42818,12 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
42586
42818
  } | undefined;
42587
42819
  footer?: string | undefined;
42588
42820
  rootSlug?: string | undefined;
42821
+ editThisPageGithub?: {
42822
+ branch: string;
42823
+ owner: string;
42824
+ repo: string;
42825
+ host: string;
42826
+ } | undefined;
42589
42827
  } | undefined;
42590
42828
  redirects?: {
42591
42829
  contentType: string;
@@ -42605,6 +42843,7 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
42605
42843
  } | null | undefined;
42606
42844
  locale?: string | undefined;
42607
42845
  previewId?: string | null | undefined;
42846
+ repo?: string | null | undefined;
42608
42847
  apiManifest?: {
42609
42848
  contentType: string;
42610
42849
  hash: string;
@@ -42619,7 +42858,6 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
42619
42858
  height?: number | undefined;
42620
42859
  blurDataURL?: string | undefined;
42621
42860
  }> | undefined;
42622
- repo?: string | null | undefined;
42623
42861
  git?: {
42624
42862
  branch: string;
42625
42863
  repoUrl: string;
@@ -43542,6 +43780,12 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
43542
43780
  } | undefined;
43543
43781
  footer?: string | undefined;
43544
43782
  rootSlug?: string | undefined;
43783
+ editThisPageGithub?: {
43784
+ branch: string;
43785
+ owner: string;
43786
+ repo: string;
43787
+ host: string;
43788
+ } | undefined;
43545
43789
  } | undefined;
43546
43790
  redirects?: {
43547
43791
  contentType: string;
@@ -43553,6 +43797,7 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
43553
43797
  hash: string;
43554
43798
  contentLength: number;
43555
43799
  } | null | undefined;
43800
+ repo?: string | null | undefined;
43556
43801
  apiManifest?: {
43557
43802
  contentType: string;
43558
43803
  hash: string;
@@ -43567,7 +43812,6 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
43567
43812
  height?: number | undefined;
43568
43813
  blurDataURL?: string | undefined;
43569
43814
  }> | undefined;
43570
- repo?: string | null | undefined;
43571
43815
  git?: {
43572
43816
  branch: string;
43573
43817
  repoUrl: string;
@@ -44486,6 +44730,12 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
44486
44730
  } | undefined;
44487
44731
  footer?: string | undefined;
44488
44732
  rootSlug?: string | undefined;
44733
+ editThisPageGithub?: {
44734
+ owner: string;
44735
+ repo: string;
44736
+ branch?: string | undefined;
44737
+ host?: string | undefined;
44738
+ } | undefined;
44489
44739
  } | undefined;
44490
44740
  redirects?: {
44491
44741
  contentType: string;
@@ -44506,6 +44756,7 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
44506
44756
  basePath?: string | undefined;
44507
44757
  locale?: string | undefined;
44508
44758
  previewId?: string | null | undefined;
44759
+ repo?: string | null | undefined;
44509
44760
  apiManifest?: {
44510
44761
  contentType: string;
44511
44762
  hash: string;
@@ -44520,7 +44771,6 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
44520
44771
  height?: number | undefined;
44521
44772
  blurDataURL?: string | undefined;
44522
44773
  }> | undefined;
44523
- repo?: string | null | undefined;
44524
44774
  git?: {
44525
44775
  branch: string;
44526
44776
  repoUrl: string;
@@ -45443,6 +45693,12 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
45443
45693
  } | undefined;
45444
45694
  footer?: string | undefined;
45445
45695
  rootSlug?: string | undefined;
45696
+ editThisPageGithub?: {
45697
+ owner: string;
45698
+ repo: string;
45699
+ branch?: string | undefined;
45700
+ host?: string | undefined;
45701
+ } | undefined;
45446
45702
  } | undefined;
45447
45703
  redirects?: {
45448
45704
  contentType: string;
@@ -45454,6 +45710,7 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
45454
45710
  hash: string;
45455
45711
  contentLength: number;
45456
45712
  } | null | undefined;
45713
+ repo?: string | null | undefined;
45457
45714
  apiManifest?: {
45458
45715
  contentType: string;
45459
45716
  hash: string;
@@ -45468,7 +45725,6 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
45468
45725
  height?: number | undefined;
45469
45726
  blurDataURL?: string | undefined;
45470
45727
  }> | undefined;
45471
- repo?: string | null | undefined;
45472
45728
  git?: {
45473
45729
  branch: string;
45474
45730
  repoUrl: string;
@@ -46454,6 +46710,12 @@ export declare const docsLedgerContract: {
46454
46710
  } | undefined;
46455
46711
  footer?: string | undefined;
46456
46712
  rootSlug?: string | undefined;
46713
+ editThisPageGithub?: {
46714
+ branch: string;
46715
+ owner: string;
46716
+ repo: string;
46717
+ host: string;
46718
+ } | undefined;
46457
46719
  } | undefined;
46458
46720
  redirects?: {
46459
46721
  contentType: string;
@@ -46465,6 +46727,7 @@ export declare const docsLedgerContract: {
46465
46727
  hash: string;
46466
46728
  contentLength: number;
46467
46729
  } | null | undefined;
46730
+ repo?: string | null | undefined;
46468
46731
  apiManifest?: {
46469
46732
  contentType: string;
46470
46733
  hash: string;
@@ -46479,7 +46742,6 @@ export declare const docsLedgerContract: {
46479
46742
  height?: number | undefined;
46480
46743
  blurDataURL?: string | undefined;
46481
46744
  }> | undefined;
46482
- repo?: string | null | undefined;
46483
46745
  git?: {
46484
46746
  branch: string;
46485
46747
  repoUrl: string;
@@ -47408,6 +47670,12 @@ export declare const docsLedgerContract: {
47408
47670
  } | undefined;
47409
47671
  footer?: string | undefined;
47410
47672
  rootSlug?: string | undefined;
47673
+ editThisPageGithub?: {
47674
+ owner: string;
47675
+ repo: string;
47676
+ branch?: string | undefined;
47677
+ host?: string | undefined;
47678
+ } | undefined;
47411
47679
  } | undefined;
47412
47680
  redirects?: {
47413
47681
  contentType: string;
@@ -47419,6 +47687,7 @@ export declare const docsLedgerContract: {
47419
47687
  hash: string;
47420
47688
  contentLength: number;
47421
47689
  } | null | undefined;
47690
+ repo?: string | null | undefined;
47422
47691
  apiManifest?: {
47423
47692
  contentType: string;
47424
47693
  hash: string;
@@ -47433,7 +47702,6 @@ export declare const docsLedgerContract: {
47433
47702
  height?: number | undefined;
47434
47703
  blurDataURL?: string | undefined;
47435
47704
  }> | undefined;
47436
- repo?: string | null | undefined;
47437
47705
  git?: {
47438
47706
  branch: string;
47439
47707
  repoUrl: string;
@@ -48383,6 +48651,12 @@ export declare const docsLedgerContract: {
48383
48651
  } | undefined;
48384
48652
  footer?: string | undefined;
48385
48653
  rootSlug?: string | undefined;
48654
+ editThisPageGithub?: {
48655
+ branch: string;
48656
+ owner: string;
48657
+ repo: string;
48658
+ host: string;
48659
+ } | undefined;
48386
48660
  } | undefined;
48387
48661
  redirects?: {
48388
48662
  contentType: string;
@@ -48402,6 +48676,7 @@ export declare const docsLedgerContract: {
48402
48676
  } | null | undefined;
48403
48677
  locale?: string | undefined;
48404
48678
  previewId?: string | null | undefined;
48679
+ repo?: string | null | undefined;
48405
48680
  apiManifest?: {
48406
48681
  contentType: string;
48407
48682
  hash: string;
@@ -48416,7 +48691,6 @@ export declare const docsLedgerContract: {
48416
48691
  height?: number | undefined;
48417
48692
  blurDataURL?: string | undefined;
48418
48693
  }> | undefined;
48419
- repo?: string | null | undefined;
48420
48694
  git?: {
48421
48695
  branch: string;
48422
48696
  repoUrl: string;
@@ -49339,6 +49613,12 @@ export declare const docsLedgerContract: {
49339
49613
  } | undefined;
49340
49614
  footer?: string | undefined;
49341
49615
  rootSlug?: string | undefined;
49616
+ editThisPageGithub?: {
49617
+ branch: string;
49618
+ owner: string;
49619
+ repo: string;
49620
+ host: string;
49621
+ } | undefined;
49342
49622
  } | undefined;
49343
49623
  redirects?: {
49344
49624
  contentType: string;
@@ -49350,6 +49630,7 @@ export declare const docsLedgerContract: {
49350
49630
  hash: string;
49351
49631
  contentLength: number;
49352
49632
  } | null | undefined;
49633
+ repo?: string | null | undefined;
49353
49634
  apiManifest?: {
49354
49635
  contentType: string;
49355
49636
  hash: string;
@@ -49364,7 +49645,6 @@ export declare const docsLedgerContract: {
49364
49645
  height?: number | undefined;
49365
49646
  blurDataURL?: string | undefined;
49366
49647
  }> | undefined;
49367
- repo?: string | null | undefined;
49368
49648
  git?: {
49369
49649
  branch: string;
49370
49650
  repoUrl: string;
@@ -50283,6 +50563,12 @@ export declare const docsLedgerContract: {
50283
50563
  } | undefined;
50284
50564
  footer?: string | undefined;
50285
50565
  rootSlug?: string | undefined;
50566
+ editThisPageGithub?: {
50567
+ owner: string;
50568
+ repo: string;
50569
+ branch?: string | undefined;
50570
+ host?: string | undefined;
50571
+ } | undefined;
50286
50572
  } | undefined;
50287
50573
  redirects?: {
50288
50574
  contentType: string;
@@ -50303,6 +50589,7 @@ export declare const docsLedgerContract: {
50303
50589
  basePath?: string | undefined;
50304
50590
  locale?: string | undefined;
50305
50591
  previewId?: string | null | undefined;
50592
+ repo?: string | null | undefined;
50306
50593
  apiManifest?: {
50307
50594
  contentType: string;
50308
50595
  hash: string;
@@ -50317,7 +50604,6 @@ export declare const docsLedgerContract: {
50317
50604
  height?: number | undefined;
50318
50605
  blurDataURL?: string | undefined;
50319
50606
  }> | undefined;
50320
- repo?: string | null | undefined;
50321
50607
  git?: {
50322
50608
  branch: string;
50323
50609
  repoUrl: string;
@@ -51240,6 +51526,12 @@ export declare const docsLedgerContract: {
51240
51526
  } | undefined;
51241
51527
  footer?: string | undefined;
51242
51528
  rootSlug?: string | undefined;
51529
+ editThisPageGithub?: {
51530
+ owner: string;
51531
+ repo: string;
51532
+ branch?: string | undefined;
51533
+ host?: string | undefined;
51534
+ } | undefined;
51243
51535
  } | undefined;
51244
51536
  redirects?: {
51245
51537
  contentType: string;
@@ -51251,6 +51543,7 @@ export declare const docsLedgerContract: {
51251
51543
  hash: string;
51252
51544
  contentLength: number;
51253
51545
  } | null | undefined;
51546
+ repo?: string | null | undefined;
51254
51547
  apiManifest?: {
51255
51548
  contentType: string;
51256
51549
  hash: string;
@@ -51265,7 +51558,6 @@ export declare const docsLedgerContract: {
51265
51558
  height?: number | undefined;
51266
51559
  blurDataURL?: string | undefined;
51267
51560
  }> | undefined;
51268
- repo?: string | null | undefined;
51269
51561
  git?: {
51270
51562
  branch: string;
51271
51563
  repoUrl: string;
@@ -52236,6 +52528,12 @@ export declare const docsLedgerContract: {
52236
52528
  } | undefined;
52237
52529
  footer?: string | undefined;
52238
52530
  rootSlug?: string | undefined;
52531
+ editThisPageGithub?: {
52532
+ branch: string;
52533
+ owner: string;
52534
+ repo: string;
52535
+ host: string;
52536
+ } | undefined;
52239
52537
  } | undefined;
52240
52538
  redirects?: {
52241
52539
  contentType: string;
@@ -52247,6 +52545,7 @@ export declare const docsLedgerContract: {
52247
52545
  hash: string;
52248
52546
  contentLength: number;
52249
52547
  } | null | undefined;
52548
+ repo?: string | null | undefined;
52250
52549
  apiManifest?: {
52251
52550
  contentType: string;
52252
52551
  hash: string;
@@ -52261,7 +52560,6 @@ export declare const docsLedgerContract: {
52261
52560
  height?: number | undefined;
52262
52561
  blurDataURL?: string | undefined;
52263
52562
  }> | undefined;
52264
- repo?: string | null | undefined;
52265
52563
  git?: {
52266
52564
  branch: string;
52267
52565
  repoUrl: string;
@@ -53190,6 +53488,12 @@ export declare const docsLedgerContract: {
53190
53488
  } | undefined;
53191
53489
  footer?: string | undefined;
53192
53490
  rootSlug?: string | undefined;
53491
+ editThisPageGithub?: {
53492
+ owner: string;
53493
+ repo: string;
53494
+ branch?: string | undefined;
53495
+ host?: string | undefined;
53496
+ } | undefined;
53193
53497
  } | undefined;
53194
53498
  redirects?: {
53195
53499
  contentType: string;
@@ -53201,6 +53505,7 @@ export declare const docsLedgerContract: {
53201
53505
  hash: string;
53202
53506
  contentLength: number;
53203
53507
  } | null | undefined;
53508
+ repo?: string | null | undefined;
53204
53509
  apiManifest?: {
53205
53510
  contentType: string;
53206
53511
  hash: string;
@@ -53215,7 +53520,6 @@ export declare const docsLedgerContract: {
53215
53520
  height?: number | undefined;
53216
53521
  blurDataURL?: string | undefined;
53217
53522
  }> | undefined;
53218
- repo?: string | null | undefined;
53219
53523
  git?: {
53220
53524
  branch: string;
53221
53525
  repoUrl: string;
@@ -57228,6 +57532,28 @@ export declare const VersionMetadataResponseSchema: z.ZodObject<{
57228
57532
  default?: "copyPage" | "viewAsMarkdown" | "askAi" | "openAi" | "claude" | "cursor" | "claudeCode" | "vscode" | "installSkills" | undefined;
57229
57533
  }>>;
57230
57534
  editThisPageLaunch: z.ZodOptional<z.ZodEnum<["github", "dashboard"]>>;
57535
+ /**
57536
+ * Explicit edit-this-page GitHub config from docs.yml (ADR 0012 parity).
57537
+ * When present, the loader synthesises `editThisPageUrl` from these fields
57538
+ * instead of relying on deployment-scoped git provenance. This matches the
57539
+ * v2 behaviour where the CLI derives the URL from the declared config.
57540
+ */
57541
+ editThisPageGithub: z.ZodOptional<z.ZodObject<{
57542
+ owner: z.ZodString;
57543
+ repo: z.ZodString;
57544
+ branch: z.ZodDefault<z.ZodString>;
57545
+ host: z.ZodDefault<z.ZodString>;
57546
+ }, "strip", z.ZodTypeAny, {
57547
+ branch: string;
57548
+ owner: string;
57549
+ repo: string;
57550
+ host: string;
57551
+ }, {
57552
+ owner: string;
57553
+ repo: string;
57554
+ branch?: string | undefined;
57555
+ host?: string | undefined;
57556
+ }>>;
57231
57557
  header: z.ZodOptional<z.ZodString>;
57232
57558
  footer: z.ZodOptional<z.ZodString>;
57233
57559
  }, "strip", z.ZodTypeAny, {
@@ -58137,6 +58463,12 @@ export declare const VersionMetadataResponseSchema: z.ZodObject<{
58137
58463
  } | undefined;
58138
58464
  footer?: string | undefined;
58139
58465
  rootSlug?: string | undefined;
58466
+ editThisPageGithub?: {
58467
+ branch: string;
58468
+ owner: string;
58469
+ repo: string;
58470
+ host: string;
58471
+ } | undefined;
58140
58472
  }, {
58141
58473
  js?: {
58142
58474
  inline?: string[] | undefined;
@@ -59044,6 +59376,12 @@ export declare const VersionMetadataResponseSchema: z.ZodObject<{
59044
59376
  } | undefined;
59045
59377
  footer?: string | undefined;
59046
59378
  rootSlug?: string | undefined;
59379
+ editThisPageGithub?: {
59380
+ owner: string;
59381
+ repo: string;
59382
+ branch?: string | undefined;
59383
+ host?: string | undefined;
59384
+ } | undefined;
59047
59385
  }>>;
59048
59386
  /** CAS ref for the extracted `config.header` blob (raw MDX). */
59049
59387
  header: z.ZodNullable<z.ZodObject<{
@@ -61218,6 +61556,12 @@ export declare const VersionMetadataResponseSchema: z.ZodObject<{
61218
61556
  } | undefined;
61219
61557
  footer?: string | undefined;
61220
61558
  rootSlug?: string | undefined;
61559
+ editThisPageGithub?: {
61560
+ branch: string;
61561
+ owner: string;
61562
+ repo: string;
61563
+ host: string;
61564
+ } | undefined;
61221
61565
  } | null;
61222
61566
  cssInline: {
61223
61567
  contentType: string;
@@ -62384,6 +62728,12 @@ export declare const VersionMetadataResponseSchema: z.ZodObject<{
62384
62728
  } | undefined;
62385
62729
  footer?: string | undefined;
62386
62730
  rootSlug?: string | undefined;
62731
+ editThisPageGithub?: {
62732
+ owner: string;
62733
+ repo: string;
62734
+ branch?: string | undefined;
62735
+ host?: string | undefined;
62736
+ } | undefined;
62387
62737
  } | null;
62388
62738
  cssInline: {
62389
62739
  contentType: string;
@@ -76980,6 +77330,28 @@ export declare const docsLedgerReadContract: {
76980
77330
  default?: "copyPage" | "viewAsMarkdown" | "askAi" | "openAi" | "claude" | "cursor" | "claudeCode" | "vscode" | "installSkills" | undefined;
76981
77331
  }>>;
76982
77332
  editThisPageLaunch: z.ZodOptional<z.ZodEnum<["github", "dashboard"]>>;
77333
+ /**
77334
+ * Explicit edit-this-page GitHub config from docs.yml (ADR 0012 parity).
77335
+ * When present, the loader synthesises `editThisPageUrl` from these fields
77336
+ * instead of relying on deployment-scoped git provenance. This matches the
77337
+ * v2 behaviour where the CLI derives the URL from the declared config.
77338
+ */
77339
+ editThisPageGithub: z.ZodOptional<z.ZodObject<{
77340
+ owner: z.ZodString;
77341
+ repo: z.ZodString;
77342
+ branch: z.ZodDefault<z.ZodString>;
77343
+ host: z.ZodDefault<z.ZodString>;
77344
+ }, "strip", z.ZodTypeAny, {
77345
+ branch: string;
77346
+ owner: string;
77347
+ repo: string;
77348
+ host: string;
77349
+ }, {
77350
+ owner: string;
77351
+ repo: string;
77352
+ branch?: string | undefined;
77353
+ host?: string | undefined;
77354
+ }>>;
76983
77355
  header: z.ZodOptional<z.ZodString>;
76984
77356
  footer: z.ZodOptional<z.ZodString>;
76985
77357
  }, "strip", z.ZodTypeAny, {
@@ -77889,6 +78261,12 @@ export declare const docsLedgerReadContract: {
77889
78261
  } | undefined;
77890
78262
  footer?: string | undefined;
77891
78263
  rootSlug?: string | undefined;
78264
+ editThisPageGithub?: {
78265
+ branch: string;
78266
+ owner: string;
78267
+ repo: string;
78268
+ host: string;
78269
+ } | undefined;
77892
78270
  }, {
77893
78271
  js?: {
77894
78272
  inline?: string[] | undefined;
@@ -78796,6 +79174,12 @@ export declare const docsLedgerReadContract: {
78796
79174
  } | undefined;
78797
79175
  footer?: string | undefined;
78798
79176
  rootSlug?: string | undefined;
79177
+ editThisPageGithub?: {
79178
+ owner: string;
79179
+ repo: string;
79180
+ branch?: string | undefined;
79181
+ host?: string | undefined;
79182
+ } | undefined;
78799
79183
  }>>;
78800
79184
  /** CAS ref for the extracted `config.header` blob (raw MDX). */
78801
79185
  header: z.ZodNullable<z.ZodObject<{
@@ -80970,6 +81354,12 @@ export declare const docsLedgerReadContract: {
80970
81354
  } | undefined;
80971
81355
  footer?: string | undefined;
80972
81356
  rootSlug?: string | undefined;
81357
+ editThisPageGithub?: {
81358
+ branch: string;
81359
+ owner: string;
81360
+ repo: string;
81361
+ host: string;
81362
+ } | undefined;
80973
81363
  } | null;
80974
81364
  cssInline: {
80975
81365
  contentType: string;
@@ -82136,6 +82526,12 @@ export declare const docsLedgerReadContract: {
82136
82526
  } | undefined;
82137
82527
  footer?: string | undefined;
82138
82528
  rootSlug?: string | undefined;
82529
+ editThisPageGithub?: {
82530
+ owner: string;
82531
+ repo: string;
82532
+ branch?: string | undefined;
82533
+ host?: string | undefined;
82534
+ } | undefined;
82139
82535
  } | null;
82140
82536
  cssInline: {
82141
82537
  contentType: string;