@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 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
@@ -238,7 +238,7 @@ module.exports = __toCommonJS(src_exports);
238
238
 
239
239
  // package.json
240
240
  var name = "@gitbook/api";
241
- var version = "0.55.0";
241
+ var version = "0.56.0";
242
242
 
243
243
  // src/client.ts
244
244
  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.55.0";
175
+ var version = "0.56.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.55.0",
7
+ "version": "0.56.0",
8
8
  "sideEffects": false,
9
9
  "files": [
10
10
  "README.md",
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: