@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 +3 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/spec/openapi.json +7 -0
- package/spec/openapi.yaml +4 -0
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
package/dist/index.js
CHANGED
package/package.json
CHANGED
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:
|