@gitbook/api 0.118.0 → 0.119.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 +19 -1
- package/spec/openapi.yaml +8 -1
package/dist/client.d.ts
CHANGED
|
@@ -1374,7 +1374,9 @@ export interface RevisionPageLayoutOptions {
|
|
|
1374
1374
|
}
|
|
1375
1375
|
export interface RevisionPageDocumentCover {
|
|
1376
1376
|
/** Content reference pointing to the source image. */
|
|
1377
|
-
ref?: ContentRefFile;
|
|
1377
|
+
ref?: ContentRefFile | ContentRefURL;
|
|
1378
|
+
/** Content reference pointing to the source image for dark mode. */
|
|
1379
|
+
refDark?: ContentRefFile | ContentRefURL;
|
|
1378
1380
|
/** Vertical position of the cover image. */
|
|
1379
1381
|
yPos: number;
|
|
1380
1382
|
}
|
package/dist/index.cjs
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
package/spec/openapi.json
CHANGED
|
@@ -22016,7 +22016,25 @@
|
|
|
22016
22016
|
"properties": {
|
|
22017
22017
|
"ref": {
|
|
22018
22018
|
"description": "Content reference pointing to the source image.",
|
|
22019
|
-
"
|
|
22019
|
+
"oneOf": [
|
|
22020
|
+
{
|
|
22021
|
+
"$ref": "#/components/schemas/ContentRefFile"
|
|
22022
|
+
},
|
|
22023
|
+
{
|
|
22024
|
+
"$ref": "#/components/schemas/ContentRefURL"
|
|
22025
|
+
}
|
|
22026
|
+
]
|
|
22027
|
+
},
|
|
22028
|
+
"refDark": {
|
|
22029
|
+
"description": "Content reference pointing to the source image for dark mode.",
|
|
22030
|
+
"oneOf": [
|
|
22031
|
+
{
|
|
22032
|
+
"$ref": "#/components/schemas/ContentRefFile"
|
|
22033
|
+
},
|
|
22034
|
+
{
|
|
22035
|
+
"$ref": "#/components/schemas/ContentRefURL"
|
|
22036
|
+
}
|
|
22037
|
+
]
|
|
22020
22038
|
},
|
|
22021
22039
|
"yPos": {
|
|
22022
22040
|
"description": "Vertical position of the cover image.",
|
package/spec/openapi.yaml
CHANGED
|
@@ -12980,7 +12980,14 @@ components:
|
|
|
12980
12980
|
properties:
|
|
12981
12981
|
ref:
|
|
12982
12982
|
description: Content reference pointing to the source image.
|
|
12983
|
-
|
|
12983
|
+
oneOf:
|
|
12984
|
+
- $ref: "#/components/schemas/ContentRefFile"
|
|
12985
|
+
- $ref: "#/components/schemas/ContentRefURL"
|
|
12986
|
+
refDark:
|
|
12987
|
+
description: Content reference pointing to the source image for dark mode.
|
|
12988
|
+
oneOf:
|
|
12989
|
+
- $ref: "#/components/schemas/ContentRefFile"
|
|
12990
|
+
- $ref: "#/components/schemas/ContentRefURL"
|
|
12984
12991
|
yPos:
|
|
12985
12992
|
description: Vertical position of the cover image.
|
|
12986
12993
|
type: number
|