@fern-api/fdr-sdk 1.2.42-0c024f5b0d → 1.2.42-19c9e28733

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 (78) hide show
  1. package/dist/js/client/FdrClient.js +13 -0
  2. package/dist/js/client/FdrClient.js.map +1 -1
  3. package/dist/js/client/FdrClient.mjs +13 -0
  4. package/dist/js/client/FdrClient.mjs.map +1 -1
  5. package/dist/js/index.js +13 -0
  6. package/dist/js/index.js.map +1 -1
  7. package/dist/js/index.mjs +13 -0
  8. package/dist/js/index.mjs.map +1 -1
  9. package/dist/js/navigation/ledger-root-builder.js +211 -39
  10. package/dist/js/navigation/ledger-root-builder.js.map +1 -1
  11. package/dist/js/navigation/ledger-root-builder.mjs +211 -39
  12. package/dist/js/navigation/ledger-root-builder.mjs.map +1 -1
  13. package/dist/js/orpc-client.js +60 -0
  14. package/dist/js/orpc-client.js.map +1 -1
  15. package/dist/js/orpc-client.mjs +59 -0
  16. package/dist/js/orpc-client.mjs.map +1 -1
  17. package/dist/navigation/__test__/ledger-root-builder.crossProductDedup.test.d.ts +2 -0
  18. package/dist/navigation/__test__/ledger-root-builder.crossProductDedup.test.d.ts.map +1 -0
  19. package/dist/navigation/__test__/ledger-root-builder.crossProductDedup.test.js +267 -0
  20. package/dist/navigation/__test__/ledger-root-builder.crossProductDedup.test.js.map +1 -0
  21. package/dist/navigation/__test__/ledger-root-builder.ledgerParity.test.d.ts +2 -0
  22. package/dist/navigation/__test__/ledger-root-builder.ledgerParity.test.d.ts.map +1 -0
  23. package/dist/navigation/__test__/ledger-root-builder.ledgerParity.test.js +306 -0
  24. package/dist/navigation/__test__/ledger-root-builder.ledgerParity.test.js.map +1 -0
  25. package/dist/navigation/__test__/ledger-root-builder.metadataPreservation.test.js +109 -4
  26. package/dist/navigation/__test__/ledger-root-builder.metadataPreservation.test.js.map +1 -1
  27. package/dist/navigation/__test__/ledger-root-builder.rootChildOrder.test.js +102 -0
  28. package/dist/navigation/__test__/ledger-root-builder.rootChildOrder.test.js.map +1 -1
  29. package/dist/navigation/__test__/ledger-root-builder.sidebarDepth.test.d.ts +2 -0
  30. package/dist/navigation/__test__/ledger-root-builder.sidebarDepth.test.d.ts.map +1 -0
  31. package/dist/navigation/__test__/ledger-root-builder.sidebarDepth.test.js +440 -0
  32. package/dist/navigation/__test__/ledger-root-builder.sidebarDepth.test.js.map +1 -0
  33. package/dist/navigation/__test__/ledger-root-builder.skipSlugGroupOrdering.test.d.ts +2 -0
  34. package/dist/navigation/__test__/ledger-root-builder.skipSlugGroupOrdering.test.d.ts.map +1 -0
  35. package/dist/navigation/__test__/ledger-root-builder.skipSlugGroupOrdering.test.js +234 -0
  36. package/dist/navigation/__test__/ledger-root-builder.skipSlugGroupOrdering.test.js.map +1 -0
  37. package/dist/navigation/__test__/ledger-root-builder.skipSlugSiblingSection.test.d.ts +2 -0
  38. package/dist/navigation/__test__/ledger-root-builder.skipSlugSiblingSection.test.d.ts.map +1 -0
  39. package/dist/navigation/__test__/ledger-root-builder.skipSlugSiblingSection.test.js +510 -0
  40. package/dist/navigation/__test__/ledger-root-builder.skipSlugSiblingSection.test.js.map +1 -0
  41. package/dist/navigation/ledger-root-builder.d.ts.map +1 -1
  42. package/dist/navigation/ledger-root-builder.js +330 -45
  43. package/dist/navigation/ledger-root-builder.js.map +1 -1
  44. package/dist/orpc-client/docs-ledger/__test__/config-files.navFiles.test.d.ts +2 -0
  45. package/dist/orpc-client/docs-ledger/__test__/config-files.navFiles.test.d.ts.map +1 -0
  46. package/dist/orpc-client/docs-ledger/__test__/config-files.navFiles.test.js +153 -0
  47. package/dist/orpc-client/docs-ledger/__test__/config-files.navFiles.test.js.map +1 -0
  48. package/dist/orpc-client/docs-ledger/config-files.d.ts +8 -0
  49. package/dist/orpc-client/docs-ledger/config-files.d.ts.map +1 -1
  50. package/dist/orpc-client/docs-ledger/config-files.js +69 -0
  51. package/dist/orpc-client/docs-ledger/config-files.js.map +1 -1
  52. package/dist/orpc-client/docs-ledger/contract.d.ts +433 -28
  53. package/dist/orpc-client/docs-ledger/contract.d.ts.map +1 -1
  54. package/dist/orpc-client/docs-ledger/contract.js +15 -0
  55. package/dist/orpc-client/docs-ledger/contract.js.map +1 -1
  56. package/dist/orpc-client/docs-ledger/ledger-manifest.d.ts +92 -0
  57. package/dist/orpc-client/docs-ledger/ledger-manifest.d.ts.map +1 -1
  58. package/dist/tsconfig.tsbuildinfo +1 -1
  59. package/dist/types/navigation/__test__/ledger-root-builder.crossProductDedup.test.d.ts +2 -0
  60. package/dist/types/navigation/__test__/ledger-root-builder.crossProductDedup.test.d.ts.map +1 -0
  61. package/dist/types/navigation/__test__/ledger-root-builder.ledgerParity.test.d.ts +2 -0
  62. package/dist/types/navigation/__test__/ledger-root-builder.ledgerParity.test.d.ts.map +1 -0
  63. package/dist/types/navigation/__test__/ledger-root-builder.sidebarDepth.test.d.ts +2 -0
  64. package/dist/types/navigation/__test__/ledger-root-builder.sidebarDepth.test.d.ts.map +1 -0
  65. package/dist/types/navigation/__test__/ledger-root-builder.skipSlugGroupOrdering.test.d.ts +2 -0
  66. package/dist/types/navigation/__test__/ledger-root-builder.skipSlugGroupOrdering.test.d.ts.map +1 -0
  67. package/dist/types/navigation/__test__/ledger-root-builder.skipSlugSiblingSection.test.d.ts +2 -0
  68. package/dist/types/navigation/__test__/ledger-root-builder.skipSlugSiblingSection.test.d.ts.map +1 -0
  69. package/dist/types/navigation/ledger-root-builder.d.ts.map +1 -1
  70. package/dist/types/orpc-client/docs-ledger/__test__/config-files.navFiles.test.d.ts +2 -0
  71. package/dist/types/orpc-client/docs-ledger/__test__/config-files.navFiles.test.d.ts.map +1 -0
  72. package/dist/types/orpc-client/docs-ledger/config-files.d.ts +8 -0
  73. package/dist/types/orpc-client/docs-ledger/config-files.d.ts.map +1 -1
  74. package/dist/types/orpc-client/docs-ledger/contract.d.ts +433 -28
  75. package/dist/types/orpc-client/docs-ledger/contract.d.ts.map +1 -1
  76. package/dist/types/orpc-client/docs-ledger/ledger-manifest.d.ts +92 -0
  77. package/dist/types/orpc-client/docs-ledger/ledger-manifest.d.ts.map +1 -1
  78. package/package.json +1 -1
@@ -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;
@@ -24487,6 +24613,7 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
24487
24613
  orgId: z.ZodString;
24488
24614
  domain: z.ZodString;
24489
24615
  basepath: z.ZodDefault<z.ZodString>;
24616
+ basepathAware: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24490
24617
  /**
24491
24618
  * Additional URLs the deployment should be served from (e.g. a customer's
24492
24619
  * vanity hostname `docs.example.com` alongside the canonical fern URL).
@@ -25422,6 +25549,12 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
25422
25549
  } | undefined;
25423
25550
  footer?: string | undefined;
25424
25551
  rootSlug?: string | undefined;
25552
+ editThisPageGithub?: {
25553
+ branch: string;
25554
+ owner: string;
25555
+ repo: string;
25556
+ host: string;
25557
+ } | undefined;
25425
25558
  } | undefined;
25426
25559
  redirects?: {
25427
25560
  contentType: string;
@@ -25433,6 +25566,7 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
25433
25566
  hash: string;
25434
25567
  contentLength: number;
25435
25568
  } | null | undefined;
25569
+ repo?: string | null | undefined;
25436
25570
  apiManifest?: {
25437
25571
  contentType: string;
25438
25572
  hash: string;
@@ -25447,7 +25581,6 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
25447
25581
  height?: number | undefined;
25448
25582
  blurDataURL?: string | undefined;
25449
25583
  }> | undefined;
25450
- repo?: string | null | undefined;
25451
25584
  git?: {
25452
25585
  branch: string;
25453
25586
  repoUrl: string;
@@ -26370,6 +26503,12 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
26370
26503
  } | undefined;
26371
26504
  footer?: string | undefined;
26372
26505
  rootSlug?: string | undefined;
26506
+ editThisPageGithub?: {
26507
+ owner: string;
26508
+ repo: string;
26509
+ branch?: string | undefined;
26510
+ host?: string | undefined;
26511
+ } | undefined;
26373
26512
  } | undefined;
26374
26513
  redirects?: {
26375
26514
  contentType: string;
@@ -26381,6 +26520,7 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
26381
26520
  hash: string;
26382
26521
  contentLength: number;
26383
26522
  } | null | undefined;
26523
+ repo?: string | null | undefined;
26384
26524
  apiManifest?: {
26385
26525
  contentType: string;
26386
26526
  hash: string;
@@ -26395,7 +26535,6 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
26395
26535
  height?: number | undefined;
26396
26536
  blurDataURL?: string | undefined;
26397
26537
  }> | undefined;
26398
- repo?: string | null | undefined;
26399
26538
  git?: {
26400
26539
  branch: string;
26401
26540
  repoUrl: string;
@@ -27325,6 +27464,12 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
27325
27464
  } | undefined;
27326
27465
  footer?: string | undefined;
27327
27466
  rootSlug?: string | undefined;
27467
+ editThisPageGithub?: {
27468
+ branch: string;
27469
+ owner: string;
27470
+ repo: string;
27471
+ host: string;
27472
+ } | undefined;
27328
27473
  } | undefined;
27329
27474
  redirects?: {
27330
27475
  contentType: string;
@@ -27336,6 +27481,7 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
27336
27481
  hash: string;
27337
27482
  contentLength: number;
27338
27483
  } | null | undefined;
27484
+ repo?: string | null | undefined;
27339
27485
  apiManifest?: {
27340
27486
  contentType: string;
27341
27487
  hash: string;
@@ -27350,7 +27496,6 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
27350
27496
  height?: number | undefined;
27351
27497
  blurDataURL?: string | undefined;
27352
27498
  }> | undefined;
27353
- repo?: string | null | undefined;
27354
27499
  git?: {
27355
27500
  branch: string;
27356
27501
  repoUrl: string;
@@ -27358,6 +27503,7 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
27358
27503
  } | undefined;
27359
27504
  }[];
27360
27505
  previewId?: string | null | undefined;
27506
+ basepathAware?: boolean | null | undefined;
27361
27507
  }, {
27362
27508
  orgId: string;
27363
27509
  domain: string;
@@ -28278,6 +28424,12 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
28278
28424
  } | undefined;
28279
28425
  footer?: string | undefined;
28280
28426
  rootSlug?: string | undefined;
28427
+ editThisPageGithub?: {
28428
+ owner: string;
28429
+ repo: string;
28430
+ branch?: string | undefined;
28431
+ host?: string | undefined;
28432
+ } | undefined;
28281
28433
  } | undefined;
28282
28434
  redirects?: {
28283
28435
  contentType: string;
@@ -28289,6 +28441,7 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
28289
28441
  hash: string;
28290
28442
  contentLength: number;
28291
28443
  } | null | undefined;
28444
+ repo?: string | null | undefined;
28292
28445
  apiManifest?: {
28293
28446
  contentType: string;
28294
28447
  hash: string;
@@ -28303,7 +28456,6 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
28303
28456
  height?: number | undefined;
28304
28457
  blurDataURL?: string | undefined;
28305
28458
  }> | undefined;
28306
- repo?: string | null | undefined;
28307
28459
  git?: {
28308
28460
  branch: string;
28309
28461
  repoUrl: string;
@@ -28314,6 +28466,7 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
28314
28466
  basepath?: string | undefined;
28315
28467
  customDomains?: string[] | undefined;
28316
28468
  previewId?: string | null | undefined;
28469
+ basepathAware?: boolean | null | undefined;
28317
28470
  }>, {
28318
28471
  defaultLocale: string;
28319
28472
  orgId: string;
@@ -29237,6 +29390,12 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
29237
29390
  } | undefined;
29238
29391
  footer?: string | undefined;
29239
29392
  rootSlug?: string | undefined;
29393
+ editThisPageGithub?: {
29394
+ branch: string;
29395
+ owner: string;
29396
+ repo: string;
29397
+ host: string;
29398
+ } | undefined;
29240
29399
  } | undefined;
29241
29400
  redirects?: {
29242
29401
  contentType: string;
@@ -29248,6 +29407,7 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
29248
29407
  hash: string;
29249
29408
  contentLength: number;
29250
29409
  } | null | undefined;
29410
+ repo?: string | null | undefined;
29251
29411
  apiManifest?: {
29252
29412
  contentType: string;
29253
29413
  hash: string;
@@ -29262,7 +29422,6 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
29262
29422
  height?: number | undefined;
29263
29423
  blurDataURL?: string | undefined;
29264
29424
  }> | undefined;
29265
- repo?: string | null | undefined;
29266
29425
  git?: {
29267
29426
  branch: string;
29268
29427
  repoUrl: string;
@@ -29270,6 +29429,7 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
29270
29429
  } | undefined;
29271
29430
  }[];
29272
29431
  previewId?: string | null | undefined;
29432
+ basepathAware?: boolean | null | undefined;
29273
29433
  }, {
29274
29434
  orgId: string;
29275
29435
  domain: string;
@@ -30190,6 +30350,12 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
30190
30350
  } | undefined;
30191
30351
  footer?: string | undefined;
30192
30352
  rootSlug?: string | undefined;
30353
+ editThisPageGithub?: {
30354
+ owner: string;
30355
+ repo: string;
30356
+ branch?: string | undefined;
30357
+ host?: string | undefined;
30358
+ } | undefined;
30193
30359
  } | undefined;
30194
30360
  redirects?: {
30195
30361
  contentType: string;
@@ -30201,6 +30367,7 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
30201
30367
  hash: string;
30202
30368
  contentLength: number;
30203
30369
  } | null | undefined;
30370
+ repo?: string | null | undefined;
30204
30371
  apiManifest?: {
30205
30372
  contentType: string;
30206
30373
  hash: string;
@@ -30215,7 +30382,6 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
30215
30382
  height?: number | undefined;
30216
30383
  blurDataURL?: string | undefined;
30217
30384
  }> | undefined;
30218
- repo?: string | null | undefined;
30219
30385
  git?: {
30220
30386
  branch: string;
30221
30387
  repoUrl: string;
@@ -30226,6 +30392,7 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
30226
30392
  basepath?: string | undefined;
30227
30393
  customDomains?: string[] | undefined;
30228
30394
  previewId?: string | null | undefined;
30395
+ basepathAware?: boolean | null | undefined;
30229
30396
  }>;
30230
30397
  export type DocsPublishInput = z.output<typeof DocsPublishInputSchemaInternal>;
30231
30398
  export type DocsPublishInputRaw = z.input<typeof DocsPublishInputSchemaInternal>;
@@ -34052,6 +34219,28 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
34052
34219
  default?: "copyPage" | "viewAsMarkdown" | "askAi" | "openAi" | "claude" | "cursor" | "claudeCode" | "vscode" | "installSkills" | undefined;
34053
34220
  }>>;
34054
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
+ }>>;
34055
34244
  header: z.ZodOptional<z.ZodString>;
34056
34245
  footer: z.ZodOptional<z.ZodString>;
34057
34246
  }, "strip", z.ZodTypeAny, {
@@ -34961,6 +35150,12 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
34961
35150
  } | undefined;
34962
35151
  footer?: string | undefined;
34963
35152
  rootSlug?: string | undefined;
35153
+ editThisPageGithub?: {
35154
+ branch: string;
35155
+ owner: string;
35156
+ repo: string;
35157
+ host: string;
35158
+ } | undefined;
34964
35159
  }, {
34965
35160
  js?: {
34966
35161
  inline?: string[] | undefined;
@@ -35868,6 +36063,12 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
35868
36063
  } | undefined;
35869
36064
  footer?: string | undefined;
35870
36065
  rootSlug?: string | undefined;
36066
+ editThisPageGithub?: {
36067
+ owner: string;
36068
+ repo: string;
36069
+ branch?: string | undefined;
36070
+ host?: string | undefined;
36071
+ } | undefined;
35871
36072
  }>>>;
35872
36073
  fileManifest: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
35873
36074
  /** SHA-256 hex of the file bytes (= CAS content hash). */
@@ -36886,6 +37087,12 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
36886
37087
  } | undefined;
36887
37088
  footer?: string | undefined;
36888
37089
  rootSlug?: string | undefined;
37090
+ editThisPageGithub?: {
37091
+ branch: string;
37092
+ owner: string;
37093
+ repo: string;
37094
+ host: string;
37095
+ } | undefined;
36889
37096
  } | undefined;
36890
37097
  redirects?: {
36891
37098
  contentType: string;
@@ -36897,6 +37104,7 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
36897
37104
  hash: string;
36898
37105
  contentLength: number;
36899
37106
  } | null | undefined;
37107
+ repo?: string | null | undefined;
36900
37108
  apiManifest?: {
36901
37109
  contentType: string;
36902
37110
  hash: string;
@@ -36911,7 +37119,6 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
36911
37119
  height?: number | undefined;
36912
37120
  blurDataURL?: string | undefined;
36913
37121
  }> | undefined;
36914
- repo?: string | null | undefined;
36915
37122
  git?: {
36916
37123
  branch: string;
36917
37124
  repoUrl: string;
@@ -37834,6 +38041,12 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
37834
38041
  } | undefined;
37835
38042
  footer?: string | undefined;
37836
38043
  rootSlug?: string | undefined;
38044
+ editThisPageGithub?: {
38045
+ owner: string;
38046
+ repo: string;
38047
+ branch?: string | undefined;
38048
+ host?: string | undefined;
38049
+ } | undefined;
37837
38050
  } | undefined;
37838
38051
  redirects?: {
37839
38052
  contentType: string;
@@ -37845,6 +38058,7 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
37845
38058
  hash: string;
37846
38059
  contentLength: number;
37847
38060
  } | null | undefined;
38061
+ repo?: string | null | undefined;
37848
38062
  apiManifest?: {
37849
38063
  contentType: string;
37850
38064
  hash: string;
@@ -37859,7 +38073,6 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
37859
38073
  height?: number | undefined;
37860
38074
  blurDataURL?: string | undefined;
37861
38075
  }> | undefined;
37862
- repo?: string | null | undefined;
37863
38076
  git?: {
37864
38077
  branch: string;
37865
38078
  repoUrl: string;
@@ -38779,6 +38992,12 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
38779
38992
  } | undefined;
38780
38993
  footer?: string | undefined;
38781
38994
  rootSlug?: string | undefined;
38995
+ editThisPageGithub?: {
38996
+ branch: string;
38997
+ owner: string;
38998
+ repo: string;
38999
+ host: string;
39000
+ } | undefined;
38782
39001
  } | undefined;
38783
39002
  redirects?: {
38784
39003
  contentType: string;
@@ -38798,6 +39017,7 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
38798
39017
  } | null | undefined;
38799
39018
  locale?: string | undefined;
38800
39019
  previewId?: string | null | undefined;
39020
+ repo?: string | null | undefined;
38801
39021
  apiManifest?: {
38802
39022
  contentType: string;
38803
39023
  hash: string;
@@ -38812,7 +39032,6 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
38812
39032
  height?: number | undefined;
38813
39033
  blurDataURL?: string | undefined;
38814
39034
  }> | undefined;
38815
- repo?: string | null | undefined;
38816
39035
  git?: {
38817
39036
  branch: string;
38818
39037
  repoUrl: string;
@@ -39735,6 +39954,12 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
39735
39954
  } | undefined;
39736
39955
  footer?: string | undefined;
39737
39956
  rootSlug?: string | undefined;
39957
+ editThisPageGithub?: {
39958
+ branch: string;
39959
+ owner: string;
39960
+ repo: string;
39961
+ host: string;
39962
+ } | undefined;
39738
39963
  } | undefined;
39739
39964
  redirects?: {
39740
39965
  contentType: string;
@@ -39746,6 +39971,7 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
39746
39971
  hash: string;
39747
39972
  contentLength: number;
39748
39973
  } | null | undefined;
39974
+ repo?: string | null | undefined;
39749
39975
  apiManifest?: {
39750
39976
  contentType: string;
39751
39977
  hash: string;
@@ -39760,7 +39986,6 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
39760
39986
  height?: number | undefined;
39761
39987
  blurDataURL?: string | undefined;
39762
39988
  }> | undefined;
39763
- repo?: string | null | undefined;
39764
39989
  git?: {
39765
39990
  branch: string;
39766
39991
  repoUrl: string;
@@ -40679,6 +40904,12 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
40679
40904
  } | undefined;
40680
40905
  footer?: string | undefined;
40681
40906
  rootSlug?: string | undefined;
40907
+ editThisPageGithub?: {
40908
+ owner: string;
40909
+ repo: string;
40910
+ branch?: string | undefined;
40911
+ host?: string | undefined;
40912
+ } | undefined;
40682
40913
  } | undefined;
40683
40914
  redirects?: {
40684
40915
  contentType: string;
@@ -40699,6 +40930,7 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
40699
40930
  basePath?: string | undefined;
40700
40931
  locale?: string | undefined;
40701
40932
  previewId?: string | null | undefined;
40933
+ repo?: string | null | undefined;
40702
40934
  apiManifest?: {
40703
40935
  contentType: string;
40704
40936
  hash: string;
@@ -40713,7 +40945,6 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
40713
40945
  height?: number | undefined;
40714
40946
  blurDataURL?: string | undefined;
40715
40947
  }> | undefined;
40716
- repo?: string | null | undefined;
40717
40948
  git?: {
40718
40949
  branch: string;
40719
40950
  repoUrl: string;
@@ -41636,6 +41867,12 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
41636
41867
  } | undefined;
41637
41868
  footer?: string | undefined;
41638
41869
  rootSlug?: string | undefined;
41870
+ editThisPageGithub?: {
41871
+ owner: string;
41872
+ repo: string;
41873
+ branch?: string | undefined;
41874
+ host?: string | undefined;
41875
+ } | undefined;
41639
41876
  } | undefined;
41640
41877
  redirects?: {
41641
41878
  contentType: string;
@@ -41647,6 +41884,7 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
41647
41884
  hash: string;
41648
41885
  contentLength: number;
41649
41886
  } | null | undefined;
41887
+ repo?: string | null | undefined;
41650
41888
  apiManifest?: {
41651
41889
  contentType: string;
41652
41890
  hash: string;
@@ -41661,7 +41899,6 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
41661
41899
  height?: number | undefined;
41662
41900
  blurDataURL?: string | undefined;
41663
41901
  }> | undefined;
41664
- repo?: string | null | undefined;
41665
41902
  git?: {
41666
41903
  branch: string;
41667
41904
  repoUrl: string;
@@ -42581,6 +42818,12 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
42581
42818
  } | undefined;
42582
42819
  footer?: string | undefined;
42583
42820
  rootSlug?: string | undefined;
42821
+ editThisPageGithub?: {
42822
+ branch: string;
42823
+ owner: string;
42824
+ repo: string;
42825
+ host: string;
42826
+ } | undefined;
42584
42827
  } | undefined;
42585
42828
  redirects?: {
42586
42829
  contentType: string;
@@ -42600,6 +42843,7 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
42600
42843
  } | null | undefined;
42601
42844
  locale?: string | undefined;
42602
42845
  previewId?: string | null | undefined;
42846
+ repo?: string | null | undefined;
42603
42847
  apiManifest?: {
42604
42848
  contentType: string;
42605
42849
  hash: string;
@@ -42614,7 +42858,6 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
42614
42858
  height?: number | undefined;
42615
42859
  blurDataURL?: string | undefined;
42616
42860
  }> | undefined;
42617
- repo?: string | null | undefined;
42618
42861
  git?: {
42619
42862
  branch: string;
42620
42863
  repoUrl: string;
@@ -43537,6 +43780,12 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
43537
43780
  } | undefined;
43538
43781
  footer?: string | undefined;
43539
43782
  rootSlug?: string | undefined;
43783
+ editThisPageGithub?: {
43784
+ branch: string;
43785
+ owner: string;
43786
+ repo: string;
43787
+ host: string;
43788
+ } | undefined;
43540
43789
  } | undefined;
43541
43790
  redirects?: {
43542
43791
  contentType: string;
@@ -43548,6 +43797,7 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
43548
43797
  hash: string;
43549
43798
  contentLength: number;
43550
43799
  } | null | undefined;
43800
+ repo?: string | null | undefined;
43551
43801
  apiManifest?: {
43552
43802
  contentType: string;
43553
43803
  hash: string;
@@ -43562,7 +43812,6 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
43562
43812
  height?: number | undefined;
43563
43813
  blurDataURL?: string | undefined;
43564
43814
  }> | undefined;
43565
- repo?: string | null | undefined;
43566
43815
  git?: {
43567
43816
  branch: string;
43568
43817
  repoUrl: string;
@@ -44481,6 +44730,12 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
44481
44730
  } | undefined;
44482
44731
  footer?: string | undefined;
44483
44732
  rootSlug?: string | undefined;
44733
+ editThisPageGithub?: {
44734
+ owner: string;
44735
+ repo: string;
44736
+ branch?: string | undefined;
44737
+ host?: string | undefined;
44738
+ } | undefined;
44484
44739
  } | undefined;
44485
44740
  redirects?: {
44486
44741
  contentType: string;
@@ -44501,6 +44756,7 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
44501
44756
  basePath?: string | undefined;
44502
44757
  locale?: string | undefined;
44503
44758
  previewId?: string | null | undefined;
44759
+ repo?: string | null | undefined;
44504
44760
  apiManifest?: {
44505
44761
  contentType: string;
44506
44762
  hash: string;
@@ -44515,7 +44771,6 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
44515
44771
  height?: number | undefined;
44516
44772
  blurDataURL?: string | undefined;
44517
44773
  }> | undefined;
44518
- repo?: string | null | undefined;
44519
44774
  git?: {
44520
44775
  branch: string;
44521
44776
  repoUrl: string;
@@ -45438,6 +45693,12 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
45438
45693
  } | undefined;
45439
45694
  footer?: string | undefined;
45440
45695
  rootSlug?: string | undefined;
45696
+ editThisPageGithub?: {
45697
+ owner: string;
45698
+ repo: string;
45699
+ branch?: string | undefined;
45700
+ host?: string | undefined;
45701
+ } | undefined;
45441
45702
  } | undefined;
45442
45703
  redirects?: {
45443
45704
  contentType: string;
@@ -45449,6 +45710,7 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
45449
45710
  hash: string;
45450
45711
  contentLength: number;
45451
45712
  } | null | undefined;
45713
+ repo?: string | null | undefined;
45452
45714
  apiManifest?: {
45453
45715
  contentType: string;
45454
45716
  hash: string;
@@ -45463,7 +45725,6 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
45463
45725
  height?: number | undefined;
45464
45726
  blurDataURL?: string | undefined;
45465
45727
  }> | undefined;
45466
- repo?: string | null | undefined;
45467
45728
  git?: {
45468
45729
  branch: string;
45469
45730
  repoUrl: string;
@@ -46449,6 +46710,12 @@ export declare const docsLedgerContract: {
46449
46710
  } | undefined;
46450
46711
  footer?: string | undefined;
46451
46712
  rootSlug?: string | undefined;
46713
+ editThisPageGithub?: {
46714
+ branch: string;
46715
+ owner: string;
46716
+ repo: string;
46717
+ host: string;
46718
+ } | undefined;
46452
46719
  } | undefined;
46453
46720
  redirects?: {
46454
46721
  contentType: string;
@@ -46460,6 +46727,7 @@ export declare const docsLedgerContract: {
46460
46727
  hash: string;
46461
46728
  contentLength: number;
46462
46729
  } | null | undefined;
46730
+ repo?: string | null | undefined;
46463
46731
  apiManifest?: {
46464
46732
  contentType: string;
46465
46733
  hash: string;
@@ -46474,7 +46742,6 @@ export declare const docsLedgerContract: {
46474
46742
  height?: number | undefined;
46475
46743
  blurDataURL?: string | undefined;
46476
46744
  }> | undefined;
46477
- repo?: string | null | undefined;
46478
46745
  git?: {
46479
46746
  branch: string;
46480
46747
  repoUrl: string;
@@ -46482,6 +46749,7 @@ export declare const docsLedgerContract: {
46482
46749
  } | undefined;
46483
46750
  }[];
46484
46751
  previewId?: string | null | undefined;
46752
+ basepathAware?: boolean | null | undefined;
46485
46753
  }, z.ZodTypeDef, {
46486
46754
  orgId: string;
46487
46755
  domain: string;
@@ -47402,6 +47670,12 @@ export declare const docsLedgerContract: {
47402
47670
  } | undefined;
47403
47671
  footer?: string | undefined;
47404
47672
  rootSlug?: string | undefined;
47673
+ editThisPageGithub?: {
47674
+ owner: string;
47675
+ repo: string;
47676
+ branch?: string | undefined;
47677
+ host?: string | undefined;
47678
+ } | undefined;
47405
47679
  } | undefined;
47406
47680
  redirects?: {
47407
47681
  contentType: string;
@@ -47413,6 +47687,7 @@ export declare const docsLedgerContract: {
47413
47687
  hash: string;
47414
47688
  contentLength: number;
47415
47689
  } | null | undefined;
47690
+ repo?: string | null | undefined;
47416
47691
  apiManifest?: {
47417
47692
  contentType: string;
47418
47693
  hash: string;
@@ -47427,7 +47702,6 @@ export declare const docsLedgerContract: {
47427
47702
  height?: number | undefined;
47428
47703
  blurDataURL?: string | undefined;
47429
47704
  }> | undefined;
47430
- repo?: string | null | undefined;
47431
47705
  git?: {
47432
47706
  branch: string;
47433
47707
  repoUrl: string;
@@ -47438,6 +47712,7 @@ export declare const docsLedgerContract: {
47438
47712
  basepath?: string | undefined;
47439
47713
  customDomains?: string[] | undefined;
47440
47714
  previewId?: string | null | undefined;
47715
+ basepathAware?: boolean | null | undefined;
47441
47716
  }>, z.ZodObject<{
47442
47717
  deploymentHash: z.ZodString;
47443
47718
  missingContent: z.ZodArray<z.ZodObject<{
@@ -48376,6 +48651,12 @@ export declare const docsLedgerContract: {
48376
48651
  } | undefined;
48377
48652
  footer?: string | undefined;
48378
48653
  rootSlug?: string | undefined;
48654
+ editThisPageGithub?: {
48655
+ branch: string;
48656
+ owner: string;
48657
+ repo: string;
48658
+ host: string;
48659
+ } | undefined;
48379
48660
  } | undefined;
48380
48661
  redirects?: {
48381
48662
  contentType: string;
@@ -48395,6 +48676,7 @@ export declare const docsLedgerContract: {
48395
48676
  } | null | undefined;
48396
48677
  locale?: string | undefined;
48397
48678
  previewId?: string | null | undefined;
48679
+ repo?: string | null | undefined;
48398
48680
  apiManifest?: {
48399
48681
  contentType: string;
48400
48682
  hash: string;
@@ -48409,7 +48691,6 @@ export declare const docsLedgerContract: {
48409
48691
  height?: number | undefined;
48410
48692
  blurDataURL?: string | undefined;
48411
48693
  }> | undefined;
48412
- repo?: string | null | undefined;
48413
48694
  git?: {
48414
48695
  branch: string;
48415
48696
  repoUrl: string;
@@ -49332,6 +49613,12 @@ export declare const docsLedgerContract: {
49332
49613
  } | undefined;
49333
49614
  footer?: string | undefined;
49334
49615
  rootSlug?: string | undefined;
49616
+ editThisPageGithub?: {
49617
+ branch: string;
49618
+ owner: string;
49619
+ repo: string;
49620
+ host: string;
49621
+ } | undefined;
49335
49622
  } | undefined;
49336
49623
  redirects?: {
49337
49624
  contentType: string;
@@ -49343,6 +49630,7 @@ export declare const docsLedgerContract: {
49343
49630
  hash: string;
49344
49631
  contentLength: number;
49345
49632
  } | null | undefined;
49633
+ repo?: string | null | undefined;
49346
49634
  apiManifest?: {
49347
49635
  contentType: string;
49348
49636
  hash: string;
@@ -49357,7 +49645,6 @@ export declare const docsLedgerContract: {
49357
49645
  height?: number | undefined;
49358
49646
  blurDataURL?: string | undefined;
49359
49647
  }> | undefined;
49360
- repo?: string | null | undefined;
49361
49648
  git?: {
49362
49649
  branch: string;
49363
49650
  repoUrl: string;
@@ -50276,6 +50563,12 @@ export declare const docsLedgerContract: {
50276
50563
  } | undefined;
50277
50564
  footer?: string | undefined;
50278
50565
  rootSlug?: string | undefined;
50566
+ editThisPageGithub?: {
50567
+ owner: string;
50568
+ repo: string;
50569
+ branch?: string | undefined;
50570
+ host?: string | undefined;
50571
+ } | undefined;
50279
50572
  } | undefined;
50280
50573
  redirects?: {
50281
50574
  contentType: string;
@@ -50296,6 +50589,7 @@ export declare const docsLedgerContract: {
50296
50589
  basePath?: string | undefined;
50297
50590
  locale?: string | undefined;
50298
50591
  previewId?: string | null | undefined;
50592
+ repo?: string | null | undefined;
50299
50593
  apiManifest?: {
50300
50594
  contentType: string;
50301
50595
  hash: string;
@@ -50310,7 +50604,6 @@ export declare const docsLedgerContract: {
50310
50604
  height?: number | undefined;
50311
50605
  blurDataURL?: string | undefined;
50312
50606
  }> | undefined;
50313
- repo?: string | null | undefined;
50314
50607
  git?: {
50315
50608
  branch: string;
50316
50609
  repoUrl: string;
@@ -51233,6 +51526,12 @@ export declare const docsLedgerContract: {
51233
51526
  } | undefined;
51234
51527
  footer?: string | undefined;
51235
51528
  rootSlug?: string | undefined;
51529
+ editThisPageGithub?: {
51530
+ owner: string;
51531
+ repo: string;
51532
+ branch?: string | undefined;
51533
+ host?: string | undefined;
51534
+ } | undefined;
51236
51535
  } | undefined;
51237
51536
  redirects?: {
51238
51537
  contentType: string;
@@ -51244,6 +51543,7 @@ export declare const docsLedgerContract: {
51244
51543
  hash: string;
51245
51544
  contentLength: number;
51246
51545
  } | null | undefined;
51546
+ repo?: string | null | undefined;
51247
51547
  apiManifest?: {
51248
51548
  contentType: string;
51249
51549
  hash: string;
@@ -51258,7 +51558,6 @@ export declare const docsLedgerContract: {
51258
51558
  height?: number | undefined;
51259
51559
  blurDataURL?: string | undefined;
51260
51560
  }> | undefined;
51261
- repo?: string | null | undefined;
51262
51561
  git?: {
51263
51562
  branch: string;
51264
51563
  repoUrl: string;
@@ -52229,6 +52528,12 @@ export declare const docsLedgerContract: {
52229
52528
  } | undefined;
52230
52529
  footer?: string | undefined;
52231
52530
  rootSlug?: string | undefined;
52531
+ editThisPageGithub?: {
52532
+ branch: string;
52533
+ owner: string;
52534
+ repo: string;
52535
+ host: string;
52536
+ } | undefined;
52232
52537
  } | undefined;
52233
52538
  redirects?: {
52234
52539
  contentType: string;
@@ -52240,6 +52545,7 @@ export declare const docsLedgerContract: {
52240
52545
  hash: string;
52241
52546
  contentLength: number;
52242
52547
  } | null | undefined;
52548
+ repo?: string | null | undefined;
52243
52549
  apiManifest?: {
52244
52550
  contentType: string;
52245
52551
  hash: string;
@@ -52254,7 +52560,6 @@ export declare const docsLedgerContract: {
52254
52560
  height?: number | undefined;
52255
52561
  blurDataURL?: string | undefined;
52256
52562
  }> | undefined;
52257
- repo?: string | null | undefined;
52258
52563
  git?: {
52259
52564
  branch: string;
52260
52565
  repoUrl: string;
@@ -52262,6 +52567,7 @@ export declare const docsLedgerContract: {
52262
52567
  } | undefined;
52263
52568
  }[];
52264
52569
  previewId?: string | null | undefined;
52570
+ basepathAware?: boolean | null | undefined;
52265
52571
  }, z.ZodTypeDef, {
52266
52572
  orgId: string;
52267
52573
  domain: string;
@@ -53182,6 +53488,12 @@ export declare const docsLedgerContract: {
53182
53488
  } | undefined;
53183
53489
  footer?: string | undefined;
53184
53490
  rootSlug?: string | undefined;
53491
+ editThisPageGithub?: {
53492
+ owner: string;
53493
+ repo: string;
53494
+ branch?: string | undefined;
53495
+ host?: string | undefined;
53496
+ } | undefined;
53185
53497
  } | undefined;
53186
53498
  redirects?: {
53187
53499
  contentType: string;
@@ -53193,6 +53505,7 @@ export declare const docsLedgerContract: {
53193
53505
  hash: string;
53194
53506
  contentLength: number;
53195
53507
  } | null | undefined;
53508
+ repo?: string | null | undefined;
53196
53509
  apiManifest?: {
53197
53510
  contentType: string;
53198
53511
  hash: string;
@@ -53207,7 +53520,6 @@ export declare const docsLedgerContract: {
53207
53520
  height?: number | undefined;
53208
53521
  blurDataURL?: string | undefined;
53209
53522
  }> | undefined;
53210
- repo?: string | null | undefined;
53211
53523
  git?: {
53212
53524
  branch: string;
53213
53525
  repoUrl: string;
@@ -53218,6 +53530,7 @@ export declare const docsLedgerContract: {
53218
53530
  basepath?: string | undefined;
53219
53531
  customDomains?: string[] | undefined;
53220
53532
  previewId?: string | null | undefined;
53533
+ basepathAware?: boolean | null | undefined;
53221
53534
  }>, z.ZodObject<{
53222
53535
  deploymentId: z.ZodString;
53223
53536
  /** ID of the canonical (fern URL) site row. */
@@ -57219,6 +57532,28 @@ export declare const VersionMetadataResponseSchema: z.ZodObject<{
57219
57532
  default?: "copyPage" | "viewAsMarkdown" | "askAi" | "openAi" | "claude" | "cursor" | "claudeCode" | "vscode" | "installSkills" | undefined;
57220
57533
  }>>;
57221
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
+ }>>;
57222
57557
  header: z.ZodOptional<z.ZodString>;
57223
57558
  footer: z.ZodOptional<z.ZodString>;
57224
57559
  }, "strip", z.ZodTypeAny, {
@@ -58128,6 +58463,12 @@ export declare const VersionMetadataResponseSchema: z.ZodObject<{
58128
58463
  } | undefined;
58129
58464
  footer?: string | undefined;
58130
58465
  rootSlug?: string | undefined;
58466
+ editThisPageGithub?: {
58467
+ branch: string;
58468
+ owner: string;
58469
+ repo: string;
58470
+ host: string;
58471
+ } | undefined;
58131
58472
  }, {
58132
58473
  js?: {
58133
58474
  inline?: string[] | undefined;
@@ -59035,6 +59376,12 @@ export declare const VersionMetadataResponseSchema: z.ZodObject<{
59035
59376
  } | undefined;
59036
59377
  footer?: string | undefined;
59037
59378
  rootSlug?: string | undefined;
59379
+ editThisPageGithub?: {
59380
+ owner: string;
59381
+ repo: string;
59382
+ branch?: string | undefined;
59383
+ host?: string | undefined;
59384
+ } | undefined;
59038
59385
  }>>;
59039
59386
  /** CAS ref for the extracted `config.header` blob (raw MDX). */
59040
59387
  header: z.ZodNullable<z.ZodObject<{
@@ -61209,6 +61556,12 @@ export declare const VersionMetadataResponseSchema: z.ZodObject<{
61209
61556
  } | undefined;
61210
61557
  footer?: string | undefined;
61211
61558
  rootSlug?: string | undefined;
61559
+ editThisPageGithub?: {
61560
+ branch: string;
61561
+ owner: string;
61562
+ repo: string;
61563
+ host: string;
61564
+ } | undefined;
61212
61565
  } | null;
61213
61566
  cssInline: {
61214
61567
  contentType: string;
@@ -62375,6 +62728,12 @@ export declare const VersionMetadataResponseSchema: z.ZodObject<{
62375
62728
  } | undefined;
62376
62729
  footer?: string | undefined;
62377
62730
  rootSlug?: string | undefined;
62731
+ editThisPageGithub?: {
62732
+ owner: string;
62733
+ repo: string;
62734
+ branch?: string | undefined;
62735
+ host?: string | undefined;
62736
+ } | undefined;
62378
62737
  } | null;
62379
62738
  cssInline: {
62380
62739
  contentType: string;
@@ -76971,6 +77330,28 @@ export declare const docsLedgerReadContract: {
76971
77330
  default?: "copyPage" | "viewAsMarkdown" | "askAi" | "openAi" | "claude" | "cursor" | "claudeCode" | "vscode" | "installSkills" | undefined;
76972
77331
  }>>;
76973
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
+ }>>;
76974
77355
  header: z.ZodOptional<z.ZodString>;
76975
77356
  footer: z.ZodOptional<z.ZodString>;
76976
77357
  }, "strip", z.ZodTypeAny, {
@@ -77880,6 +78261,12 @@ export declare const docsLedgerReadContract: {
77880
78261
  } | undefined;
77881
78262
  footer?: string | undefined;
77882
78263
  rootSlug?: string | undefined;
78264
+ editThisPageGithub?: {
78265
+ branch: string;
78266
+ owner: string;
78267
+ repo: string;
78268
+ host: string;
78269
+ } | undefined;
77883
78270
  }, {
77884
78271
  js?: {
77885
78272
  inline?: string[] | undefined;
@@ -78787,6 +79174,12 @@ export declare const docsLedgerReadContract: {
78787
79174
  } | undefined;
78788
79175
  footer?: string | undefined;
78789
79176
  rootSlug?: string | undefined;
79177
+ editThisPageGithub?: {
79178
+ owner: string;
79179
+ repo: string;
79180
+ branch?: string | undefined;
79181
+ host?: string | undefined;
79182
+ } | undefined;
78790
79183
  }>>;
78791
79184
  /** CAS ref for the extracted `config.header` blob (raw MDX). */
78792
79185
  header: z.ZodNullable<z.ZodObject<{
@@ -80961,6 +81354,12 @@ export declare const docsLedgerReadContract: {
80961
81354
  } | undefined;
80962
81355
  footer?: string | undefined;
80963
81356
  rootSlug?: string | undefined;
81357
+ editThisPageGithub?: {
81358
+ branch: string;
81359
+ owner: string;
81360
+ repo: string;
81361
+ host: string;
81362
+ } | undefined;
80964
81363
  } | null;
80965
81364
  cssInline: {
80966
81365
  contentType: string;
@@ -82127,6 +82526,12 @@ export declare const docsLedgerReadContract: {
82127
82526
  } | undefined;
82128
82527
  footer?: string | undefined;
82129
82528
  rootSlug?: string | undefined;
82529
+ editThisPageGithub?: {
82530
+ owner: string;
82531
+ repo: string;
82532
+ branch?: string | undefined;
82533
+ host?: string | undefined;
82534
+ } | undefined;
82130
82535
  } | null;
82131
82536
  cssInline: {
82132
82537
  contentType: string;