@gitbook/api 0.176.0 → 0.178.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.d.ts CHANGED
@@ -1991,7 +1991,7 @@ export interface DocumentBlockDivider {
1991
1991
  isVoid: true;
1992
1992
  data: object;
1993
1993
  }
1994
- export type DocumentBlocksTopLevels = DocumentBlocksEssentials | DocumentBlockQuote | DocumentBlockHint | DocumentBlockImages | DocumentBlockFile | DocumentBlockDrawing | DocumentBlockEmbed | DocumentBlockCode | DocumentBlockMath | DocumentBlockExpandable | DocumentBlockTabs | DocumentBlockTable | DocumentBlockOpenAPI | DocumentBlockOpenAPIOperation | DocumentBlockOpenAPISchemas | DocumentBlockOpenAPIWebhook | DocumentBlockContentRef | DocumentBlockIntegration | DocumentBlockReusableContent | DocumentBlockStepper | DocumentBlockIf | DocumentBlockColumns;
1994
+ export type DocumentBlocksTopLevels = DocumentBlocksEssentials | DocumentBlockQuote | DocumentBlockHint | DocumentBlockImages | DocumentBlockFile | DocumentBlockDrawing | DocumentBlockEmbed | DocumentBlockCode | DocumentBlockMath | DocumentBlockExpandable | DocumentBlockTabs | DocumentBlockTable | DocumentBlockOpenAPI | DocumentBlockOpenAPIOperation | DocumentBlockOpenAPISchemas | DocumentBlockOpenAPIWebhook | DocumentBlockContentRef | DocumentBlockIntegration | DocumentBlockReusableContent | DocumentBlockStepper | DocumentBlockIf | DocumentBlockColumns | DocumentBlockUpdates;
1995
1995
  export interface DocumentBlockIf {
1996
1996
  object: "block";
1997
1997
  type: "if";
@@ -2821,6 +2821,8 @@ export type RevisionTypeUpdate = RevisionBase & {
2821
2821
  export type RevisionTypeComputed = RevisionBase & {
2822
2822
  /** Virtual revision, computed from a source revision */
2823
2823
  type: "computed";
2824
+ /** The change request the source revision was merged from, when the computed revision is derived from a merge revision. */
2825
+ mergedFrom?: ChangeRequest;
2824
2826
  };
2825
2827
  /** Parameters for a space template */
2826
2828
  export interface SpaceTemplateParams {
package/dist/index.cjs CHANGED
@@ -509,7 +509,7 @@ module.exports = __toCommonJS(src_exports);
509
509
 
510
510
  // package.json
511
511
  var name = "@gitbook/api";
512
- var version = "0.176.0";
512
+ var version = "0.178.0";
513
513
 
514
514
  // src/client.ts
515
515
  var import_event_iterator = __toESM(require_node(), 1);
package/dist/index.js CHANGED
@@ -172,7 +172,7 @@ var require_node = __commonJS({
172
172
 
173
173
  // package.json
174
174
  var name = "@gitbook/api";
175
- var version = "0.176.0";
175
+ var version = "0.178.0";
176
176
 
177
177
  // src/client.ts
178
178
  var import_event_iterator = __toESM(require_node(), 1);
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "main": "./dist/index.cjs",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
7
- "version": "0.176.0",
7
+ "version": "0.178.0",
8
8
  "sideEffects": false,
9
9
  "files": [
10
10
  "README.md",
package/spec/openapi.json CHANGED
@@ -23373,6 +23373,9 @@
23373
23373
  },
23374
23374
  {
23375
23375
  "$ref": "#/components/schemas/DocumentBlockColumns"
23376
+ },
23377
+ {
23378
+ "$ref": "#/components/schemas/DocumentBlockUpdates"
23376
23379
  }
23377
23380
  ]
23378
23381
  },
@@ -26947,6 +26950,10 @@
26947
26950
  "enum": [
26948
26951
  "computed"
26949
26952
  ]
26953
+ },
26954
+ "mergedFrom": {
26955
+ "description": "The change request the source revision was merged from, when the computed revision is derived from a merge revision.",
26956
+ "$ref": "#/components/schemas/ChangeRequest"
26950
26957
  }
26951
26958
  },
26952
26959
  "required": [
package/spec/openapi.yaml CHANGED
@@ -13641,6 +13641,7 @@ components:
13641
13641
  - $ref: "#/components/schemas/DocumentBlockStepper"
13642
13642
  - $ref: "#/components/schemas/DocumentBlockIf"
13643
13643
  - $ref: "#/components/schemas/DocumentBlockColumns"
13644
+ - $ref: "#/components/schemas/DocumentBlockUpdates"
13644
13645
  DocumentBlockIf:
13645
13646
  type: object
13646
13647
  properties:
@@ -15854,6 +15855,9 @@ components:
15854
15855
  description: Virtual revision, computed from a source revision
15855
15856
  enum:
15856
15857
  - computed
15858
+ mergedFrom:
15859
+ description: The change request the source revision was merged from, when the computed revision is derived from a merge revision.
15860
+ $ref: "#/components/schemas/ChangeRequest"
15857
15861
  required:
15858
15862
  - type
15859
15863
  Revision: