@gitbook/api 0.55.0 → 0.56.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 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/spec/openapi.json +5 -0
- package/spec/openapi.yaml +4 -0
package/dist/client.d.ts
CHANGED
|
@@ -1221,6 +1221,8 @@ export declare type RevisionPageGroup = RevisionPageBase & {
|
|
|
1221
1221
|
slug: string;
|
|
1222
1222
|
/** Complete path to access the page in the revision. */
|
|
1223
1223
|
path: string;
|
|
1224
|
+
/** If true, the page is not displayed in the navigation, while still being accessible. */
|
|
1225
|
+
hidden?: boolean;
|
|
1224
1226
|
pages: (RevisionPageDocument | RevisionPageLink)[];
|
|
1225
1227
|
};
|
|
1226
1228
|
export declare type RevisionPage = RevisionPageDocument | RevisionPageGroup | RevisionPageLink;
|
|
@@ -9185,6 +9187,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9185
9187
|
*/
|
|
9186
9188
|
searchSiteContent: (organizationId: string, siteId: string, data: {
|
|
9187
9189
|
query: string;
|
|
9190
|
+
/** @minLength 1 */
|
|
9188
9191
|
siteSpaceIds?: string[];
|
|
9189
9192
|
}, query?: {
|
|
9190
9193
|
/** Identifier of the page results to fetch. */
|
package/dist/index.cjs
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
package/spec/openapi.json
CHANGED
|
@@ -13274,6 +13274,7 @@
|
|
|
13274
13274
|
},
|
|
13275
13275
|
"siteSpaceIds": {
|
|
13276
13276
|
"type": "array",
|
|
13277
|
+
"minLength": 1,
|
|
13277
13278
|
"items": {
|
|
13278
13279
|
"type": "string"
|
|
13279
13280
|
}
|
|
@@ -19266,6 +19267,10 @@
|
|
|
19266
19267
|
"description": "Complete path to access the page in the revision.",
|
|
19267
19268
|
"type": "string"
|
|
19268
19269
|
},
|
|
19270
|
+
"hidden": {
|
|
19271
|
+
"type": "boolean",
|
|
19272
|
+
"description": "If true, the page is not displayed in the navigation, while still being accessible."
|
|
19273
|
+
},
|
|
19269
19274
|
"pages": {
|
|
19270
19275
|
"type": "array",
|
|
19271
19276
|
"items": {
|
package/spec/openapi.yaml
CHANGED
|
@@ -7405,6 +7405,7 @@ paths:
|
|
|
7405
7405
|
type: string
|
|
7406
7406
|
siteSpaceIds:
|
|
7407
7407
|
type: array
|
|
7408
|
+
minLength: 1
|
|
7408
7409
|
items:
|
|
7409
7410
|
type: string
|
|
7410
7411
|
required:
|
|
@@ -11292,6 +11293,9 @@ components:
|
|
|
11292
11293
|
path:
|
|
11293
11294
|
description: Complete path to access the page in the revision.
|
|
11294
11295
|
type: string
|
|
11296
|
+
hidden:
|
|
11297
|
+
type: boolean
|
|
11298
|
+
description: If true, the page is not displayed in the navigation, while still being accessible.
|
|
11295
11299
|
pages:
|
|
11296
11300
|
type: array
|
|
11297
11301
|
items:
|