@theholocron/confluence-client 1.31.0 → 1.32.1
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.d.mts +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { RestClient } from "@theholocron/http-client";
|
|
2
2
|
import { ErrorSink, Logger } from "@theholocron/observability/core";
|
|
3
|
-
//#region src/page/page.d.ts
|
|
3
|
+
//#region ../../../../../src/page/page.d.ts
|
|
4
4
|
declare function page(rest: RestClient): {
|
|
5
5
|
get: <T = unknown>(id: string) => Promise<T>;
|
|
6
6
|
update: <T = unknown>(id: string, data: Record<string, unknown>) => Promise<T>;
|
|
7
7
|
};
|
|
8
8
|
//#endregion
|
|
9
|
-
//#region src/index.d.ts
|
|
9
|
+
//#region ../../../../../src/index.d.ts
|
|
10
10
|
interface ConfluenceClientOptions {
|
|
11
11
|
/** Base URL including the API path, e.g. "https://myorg.atlassian.net/wiki/rest/api". */
|
|
12
12
|
baseUrl: string;
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createRestClient } from "@theholocron/http-client";
|
|
2
|
-
//#region src/page/page.ts
|
|
2
|
+
//#region ../../../../../src/page/page.ts
|
|
3
3
|
function page(rest) {
|
|
4
4
|
return {
|
|
5
5
|
get: (id) => rest.request(`/${id}`),
|
|
@@ -10,7 +10,7 @@ function page(rest) {
|
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
12
|
//#endregion
|
|
13
|
-
//#region src/index.ts
|
|
13
|
+
//#region ../../../../../src/index.ts
|
|
14
14
|
function createConfluenceRestClient(opts) {
|
|
15
15
|
return createRestClient({
|
|
16
16
|
baseUrl: opts.baseUrl,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/confluence-client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.32.1",
|
|
4
4
|
"description": "A TypeScript client for the Confluence API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"confluence",
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@theholocron/observability": "^0.3.0",
|
|
36
|
-
"@theholocron/http-client": "^1.
|
|
36
|
+
"@theholocron/http-client": "^1.32.1"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@theholocron/cli": "5.0.0-alpha.
|
|
39
|
+
"@theholocron/cli": "5.0.0-alpha.79",
|
|
40
40
|
"@theholocron/eslint-config": "^8.4.3",
|
|
41
41
|
"@theholocron/tsconfig": "^8.2.0",
|
|
42
|
-
"@theholocron/tsdown-config": "^8.
|
|
42
|
+
"@theholocron/tsdown-config": "^8.6.1",
|
|
43
43
|
"@theholocron/vitest-config": "^8.2.0",
|
|
44
44
|
"@types/node": "^26.4.1",
|
|
45
45
|
"@vitest/coverage-v8": "^5.0.0",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"releases": "https://github.com/theholocron/clients/releases",
|
|
62
62
|
"wiki": "https://github.com/theholocron/clients/wiki",
|
|
63
63
|
"scripts": {
|
|
64
|
-
"delivery.build": "
|
|
64
|
+
"delivery.build": "holocron run delivery.build -- && node ../../scripts/check-bundle-size.mjs",
|
|
65
65
|
"sourceQuality.staticAnalysis": "holocron run sourceQuality.staticAnalysis --",
|
|
66
66
|
"test:watch": "vitest",
|
|
67
67
|
"verification.typeSafety": "holocron run verification.typeSafety --",
|