@gitbook/api 0.61.0 → 0.62.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 +33 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/spec/openapi.json +29 -2
- package/spec/openapi.yaml +22 -0
package/dist/client.d.ts
CHANGED
|
@@ -1068,8 +1068,21 @@ export declare type RevisionPageDocument = RevisionPageBase & Document & {
|
|
|
1068
1068
|
git?: GitSyncBlob;
|
|
1069
1069
|
layout: RevisionPageLayoutOptions;
|
|
1070
1070
|
cover?: RevisionPageDocumentCover;
|
|
1071
|
-
/**
|
|
1071
|
+
/**
|
|
1072
|
+
* If true, the page is not displayed in the navigation, while still being accessible.
|
|
1073
|
+
* @default false
|
|
1074
|
+
*/
|
|
1072
1075
|
hidden?: boolean;
|
|
1076
|
+
/**
|
|
1077
|
+
* If true, the page is not indexable in the search and ask features.
|
|
1078
|
+
* @default false
|
|
1079
|
+
*/
|
|
1080
|
+
noIndex?: boolean;
|
|
1081
|
+
/**
|
|
1082
|
+
* If true, the page is not indexable by search engine robots.
|
|
1083
|
+
* @default false
|
|
1084
|
+
*/
|
|
1085
|
+
noRobotsIndex?: boolean;
|
|
1073
1086
|
};
|
|
1074
1087
|
export declare type RevisionPageLink = RevisionPageBase & {
|
|
1075
1088
|
/** @deprecated */
|
|
@@ -1078,6 +1091,11 @@ export declare type RevisionPageLink = RevisionPageBase & {
|
|
|
1078
1091
|
/** A relative reference to content in GitBook. */
|
|
1079
1092
|
target: ContentRef;
|
|
1080
1093
|
href?: string;
|
|
1094
|
+
/**
|
|
1095
|
+
* If true, the page is not displayed in the navigation, while still being accessible.
|
|
1096
|
+
* @default false
|
|
1097
|
+
*/
|
|
1098
|
+
hidden?: boolean;
|
|
1081
1099
|
};
|
|
1082
1100
|
export interface GitSyncBlob {
|
|
1083
1101
|
/** SHA for the blob */
|
|
@@ -1220,8 +1238,21 @@ export declare type RevisionPageGroup = RevisionPageBase & {
|
|
|
1220
1238
|
slug: string;
|
|
1221
1239
|
/** Complete path to access the page in the revision. */
|
|
1222
1240
|
path: string;
|
|
1223
|
-
/**
|
|
1241
|
+
/**
|
|
1242
|
+
* If true, the page is not displayed in the navigation, while still being accessible.
|
|
1243
|
+
* @default false
|
|
1244
|
+
*/
|
|
1224
1245
|
hidden?: boolean;
|
|
1246
|
+
/**
|
|
1247
|
+
* If true, the page is not indexable in the search and ask features.
|
|
1248
|
+
* @default false
|
|
1249
|
+
*/
|
|
1250
|
+
noIndex?: boolean;
|
|
1251
|
+
/**
|
|
1252
|
+
* If true, the page is not indexable by search engine robots.
|
|
1253
|
+
* @default false
|
|
1254
|
+
*/
|
|
1255
|
+
noRobotsIndex?: boolean;
|
|
1225
1256
|
pages: (RevisionPageDocument | RevisionPageLink)[];
|
|
1226
1257
|
};
|
|
1227
1258
|
export declare type RevisionPage = RevisionPageDocument | RevisionPageGroup | RevisionPageLink;
|
package/dist/index.cjs
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
package/spec/openapi.json
CHANGED
|
@@ -18871,7 +18871,18 @@
|
|
|
18871
18871
|
},
|
|
18872
18872
|
"hidden": {
|
|
18873
18873
|
"type": "boolean",
|
|
18874
|
-
"description": "If true, the page is not displayed in the navigation, while still being accessible."
|
|
18874
|
+
"description": "If true, the page is not displayed in the navigation, while still being accessible.",
|
|
18875
|
+
"default": false
|
|
18876
|
+
},
|
|
18877
|
+
"noIndex": {
|
|
18878
|
+
"type": "boolean",
|
|
18879
|
+
"description": "If true, the page is not indexable in the search and ask features.",
|
|
18880
|
+
"default": false
|
|
18881
|
+
},
|
|
18882
|
+
"noRobotsIndex": {
|
|
18883
|
+
"type": "boolean",
|
|
18884
|
+
"description": "If true, the page is not indexable by search engine robots.",
|
|
18885
|
+
"default": false
|
|
18875
18886
|
}
|
|
18876
18887
|
},
|
|
18877
18888
|
"required": [
|
|
@@ -18912,6 +18923,11 @@
|
|
|
18912
18923
|
},
|
|
18913
18924
|
"href": {
|
|
18914
18925
|
"type": "string"
|
|
18926
|
+
},
|
|
18927
|
+
"hidden": {
|
|
18928
|
+
"type": "boolean",
|
|
18929
|
+
"description": "If true, the page is not displayed in the navigation, while still being accessible.",
|
|
18930
|
+
"default": false
|
|
18915
18931
|
}
|
|
18916
18932
|
},
|
|
18917
18933
|
"required": [
|
|
@@ -19276,7 +19292,18 @@
|
|
|
19276
19292
|
},
|
|
19277
19293
|
"hidden": {
|
|
19278
19294
|
"type": "boolean",
|
|
19279
|
-
"description": "If true, the page is not displayed in the navigation, while still being accessible."
|
|
19295
|
+
"description": "If true, the page is not displayed in the navigation, while still being accessible.",
|
|
19296
|
+
"default": false
|
|
19297
|
+
},
|
|
19298
|
+
"noIndex": {
|
|
19299
|
+
"type": "boolean",
|
|
19300
|
+
"description": "If true, the page is not indexable in the search and ask features.",
|
|
19301
|
+
"default": false
|
|
19302
|
+
},
|
|
19303
|
+
"noRobotsIndex": {
|
|
19304
|
+
"type": "boolean",
|
|
19305
|
+
"description": "If true, the page is not indexable by search engine robots.",
|
|
19306
|
+
"default": false
|
|
19280
19307
|
},
|
|
19281
19308
|
"pages": {
|
|
19282
19309
|
"type": "array",
|
package/spec/openapi.yaml
CHANGED
|
@@ -11014,6 +11014,15 @@ components:
|
|
|
11014
11014
|
hidden:
|
|
11015
11015
|
type: boolean
|
|
11016
11016
|
description: If true, the page is not displayed in the navigation, while still being accessible.
|
|
11017
|
+
default: false
|
|
11018
|
+
noIndex:
|
|
11019
|
+
type: boolean
|
|
11020
|
+
description: If true, the page is not indexable in the search and ask features.
|
|
11021
|
+
default: false
|
|
11022
|
+
noRobotsIndex:
|
|
11023
|
+
type: boolean
|
|
11024
|
+
description: If true, the page is not indexable by search engine robots.
|
|
11025
|
+
default: false
|
|
11017
11026
|
required:
|
|
11018
11027
|
- kind
|
|
11019
11028
|
- type
|
|
@@ -11040,6 +11049,10 @@ components:
|
|
|
11040
11049
|
$ref: "#/components/schemas/ContentRef"
|
|
11041
11050
|
href:
|
|
11042
11051
|
type: string
|
|
11052
|
+
hidden:
|
|
11053
|
+
type: boolean
|
|
11054
|
+
description: If true, the page is not displayed in the navigation, while still being accessible.
|
|
11055
|
+
default: false
|
|
11043
11056
|
required:
|
|
11044
11057
|
- kind
|
|
11045
11058
|
- type
|
|
@@ -11306,6 +11319,15 @@ components:
|
|
|
11306
11319
|
hidden:
|
|
11307
11320
|
type: boolean
|
|
11308
11321
|
description: If true, the page is not displayed in the navigation, while still being accessible.
|
|
11322
|
+
default: false
|
|
11323
|
+
noIndex:
|
|
11324
|
+
type: boolean
|
|
11325
|
+
description: If true, the page is not indexable in the search and ask features.
|
|
11326
|
+
default: false
|
|
11327
|
+
noRobotsIndex:
|
|
11328
|
+
type: boolean
|
|
11329
|
+
description: If true, the page is not indexable by search engine robots.
|
|
11330
|
+
default: false
|
|
11309
11331
|
pages:
|
|
11310
11332
|
type: array
|
|
11311
11333
|
items:
|