@gitbook/api 0.2.1 → 0.2.2

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -51
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,51 +1,3 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
-
19
- // src/index.ts
20
- var src_exports = {};
21
- __export(src_exports, {
22
- APIIntegrationScope: () => APIIntegrationScope,
23
- AnalyticsSearchPeriod: () => AnalyticsSearchPeriod,
24
- AnalyticsTrafficInterval: () => AnalyticsTrafficInterval,
25
- Api: () => Api,
26
- BillingInterval: () => BillingInterval,
27
- BillingProduct: () => BillingProduct,
28
- ChangeRequestStatus: () => ChangeRequestStatus,
29
- CloudflareHostnameStatus: () => CloudflareHostnameStatus,
30
- CloudflareHostnameTLSStatus: () => CloudflareHostnameTLSStatus,
31
- CloudflareHostnameTLSValidationMethod: () => CloudflareHostnameTLSValidationMethod,
32
- ContentKitIcon: () => ContentKitIcon,
33
- ContentType: () => ContentType,
34
- ContentVisibility: () => ContentVisibility,
35
- GITBOOK_DEFAULT_ENDPOINT: () => GITBOOK_DEFAULT_ENDPOINT,
36
- GitBookAPI: () => GitBookAPI,
37
- HttpClient: () => HttpClient,
38
- ImportContentSource: () => ImportContentSource,
39
- IntegrationCategory: () => IntegrationCategory,
40
- IntegrationInstallationSpaceSelection: () => IntegrationInstallationSpaceSelection,
41
- IntegrationInstallationStatus: () => IntegrationInstallationStatus,
42
- IntegrationScope: () => IntegrationScope,
43
- IntegrationVisibility: () => IntegrationVisibility,
44
- MemberRole: () => MemberRole,
45
- PurgeCDNCacheContextType: () => PurgeCDNCacheContextType
46
- });
47
- module.exports = __toCommonJS(src_exports);
48
-
49
1
  // src/client.ts
50
2
  var ContentVisibility = /* @__PURE__ */ ((ContentVisibility2) => {
51
3
  ContentVisibility2["Public"] = "public";
@@ -1025,8 +977,7 @@ var GitBookAPI = class extends Api {
1025
977
  });
1026
978
  }
1027
979
  };
1028
- // Annotate the CommonJS export names for ESM import in node:
1029
- 0 && (module.exports = {
980
+ export {
1030
981
  APIIntegrationScope,
1031
982
  AnalyticsSearchPeriod,
1032
983
  AnalyticsTrafficInterval,
@@ -1051,4 +1002,4 @@ var GitBookAPI = class extends Api {
1051
1002
  IntegrationVisibility,
1052
1003
  MemberRole,
1053
1004
  PurgeCDNCacheContextType
1054
- });
1005
+ };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "type": "module",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
- "version": "0.2.1",
6
+ "version": "0.2.2",
7
7
  "sideEffects": false,
8
8
  "files": [
9
9
  "spec/**",