@gitbook/api 0.2.0 → 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.
- package/dist/index.js +2 -51
- package/package.json +4 -3
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
|
-
|
|
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
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitbook/api",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"main": "
|
|
5
|
-
"
|
|
4
|
+
"main": "dist/index.js",
|
|
5
|
+
"types": "dist/index.d.ts",
|
|
6
|
+
"version": "0.2.2",
|
|
6
7
|
"sideEffects": false,
|
|
7
8
|
"files": [
|
|
8
9
|
"spec/**",
|
|
@@ -29,4 +30,4 @@
|
|
|
29
30
|
"lint": "eslint ./src/**/*.ts",
|
|
30
31
|
"typecheck": "tsc --noEmit"
|
|
31
32
|
}
|
|
32
|
-
}
|
|
33
|
+
}
|