@growi/sdk-typescript 1.7.0 → 1.8.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/CHANGELOG.md +6 -0
- package/dist/apiv1/index.d.ts +19 -19
- package/dist/apiv3/index.d.ts +235 -235
- package/dist/generated/v1/index.d.ts +1 -1
- package/dist/generated/v1/index.schemas.d.ts +1 -1
- package/dist/generated/v3/index.d.ts +1 -1
- package/dist/generated/v3/index.schemas.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/utils/axios-instance-manager.d.ts +27 -0
- package/dist/utils/axios-instance-manager.d.ts.map +1 -0
- package/dist/utils/axios-instance-manager.js +36 -0
- package/dist/utils/axios-instance-manager.js.map +1 -0
- package/dist/utils/types/custom-instance.d.ts +6 -0
- package/dist/utils/types/custom-instance.d.ts.map +1 -0
- package/dist/utils/types/custom-instance.js +2 -0
- package/dist/utils/types/custom-instance.js.map +1 -0
- package/dist/utils/v1/axios-instance.d.ts +2 -1
- package/dist/utils/v1/axios-instance.d.ts.map +1 -1
- package/dist/utils/v1/axios-instance.js +9 -5
- package/dist/utils/v1/axios-instance.js.map +1 -1
- package/dist/utils/v3/axios-instance.d.ts +2 -1
- package/dist/utils/v3/axios-instance.d.ts.map +1 -1
- package/dist/utils/v3/axios-instance.js +9 -5
- package/dist/utils/v3/axios-instance.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/v1/index.schemas.ts +1 -1
- package/src/generated/v1/index.ts +1 -1
- package/src/generated/v3/index.schemas.ts +1 -1
- package/src/generated/v3/index.ts +1 -1
- package/src/index.ts +1 -1
- package/src/utils/axios-instance-manager.ts +41 -0
- package/src/utils/types/custom-instance.ts +6 -0
- package/src/utils/v1/axios-instance.test.ts +26 -15
- package/src/utils/v1/axios-instance.ts +13 -6
- package/src/utils/v3/axios-instance.test.ts +43 -25
- package/src/utils/v3/axios-instance.ts +13 -6
- package/dist/utils/axios-default-instance.d.ts +0 -14
- package/dist/utils/axios-default-instance.d.ts.map +0 -1
- package/dist/utils/axios-default-instance.js +0 -22
- package/dist/utils/axios-default-instance.js.map +0 -1
- package/src/utils/axios-default-instance.test.ts +0 -108
- package/src/utils/axios-default-instance.ts +0 -23
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
## [2025-06-02] - SDK Update
|
|
2
2
|
|
|
3
|
+
## 1.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#19](https://github.com/growilabs/growi-sdk-typescript/pull/19) [`eea6b5b`](https://github.com/growilabs/growi-sdk-typescript/commit/eea6b5b4f743335beb8e93f4773256c25200d031) Thanks [@github-actions](https://github.com/apps/github-actions)! - SDK generated from OpenAPI spec update.
|
|
8
|
+
|
|
3
9
|
## 1.7.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/dist/apiv1/index.d.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
export type * from '../generated/v1/index.js';
|
|
2
2
|
export type * from '../generated/v1/index.schemas.js';
|
|
3
3
|
declare const _default: {
|
|
4
|
-
getComments: (params?: import("../generated/v1/index.schemas.js").GetCommentsParams, options?: import("
|
|
5
|
-
addComment: (addCommentBody: import("../generated/v1/index.schemas.js").AddCommentBody, options?: import("
|
|
6
|
-
updateComment: (updateCommentBody: import("../generated/v1/index.schemas.js").UpdateCommentBody, options?: import("
|
|
7
|
-
removeComment: (removeCommentBody: import("../generated/v1/index.schemas.js").RemoveCommentBody, options?: import("
|
|
8
|
-
postLogin: (postLoginBody: import("../generated/v1/index.schemas.js").PostLoginBody, options?: import("
|
|
9
|
-
postRegister: (postRegisterBody: import("../generated/v1/index.schemas.js").PostRegisterBody, options?: import("
|
|
10
|
-
getPageTag: (params: import("../generated/v1/index.schemas.js").GetPageTagParams, options?: import("
|
|
11
|
-
getUpdatePost: (params: import("../generated/v1/index.schemas.js").GetUpdatePostParams, options?: import("
|
|
12
|
-
removePage: (removePageBody: import("../generated/v1/index.schemas.js").RemovePageBody, options?: import("
|
|
13
|
-
revertRemovePage: (revertRemovePageBody: import("../generated/v1/index.schemas.js").RevertRemovePageBody, options?: import("
|
|
14
|
-
unlinkPage: (unlinkPageBody: import("../generated/v1/index.schemas.js").UnlinkPageBody, options?: import("
|
|
15
|
-
searchPages: (params: import("../generated/v1/index.schemas.js").SearchPagesParams, options?: import("
|
|
16
|
-
searchTags: (params?: import("../generated/v1/index.schemas.js").SearchTagsParams, options?: import("
|
|
17
|
-
updateTag: (updateTagBody: import("../generated/v1/index.schemas.js").UpdateTagBody, options?: import("
|
|
18
|
-
listTags: (params?: import("../generated/v1/index.schemas.js").ListTagsParams, options?: import("
|
|
19
|
-
getUserActivationToken: (token: string, options?: import("
|
|
20
|
-
uploadProfileImage: (uploadProfileImageBody: import("../generated/v1/index.schemas.js").UploadProfileImageBodyOne | import("../generated/v1/index.schemas.js").UploadProfileImageBodyTwo, options?: import("
|
|
21
|
-
removeAttachment: (removeAttachmentBody: import("../generated/v1/index.schemas.js").RemoveAttachmentBody, options?: import("
|
|
22
|
-
removeProfileImage: (removeProfileImageBody: import("../generated/v1/index.schemas.js").RemoveProfileImageBody, options?: import("
|
|
4
|
+
getComments: (params?: import("../generated/v1/index.schemas.js").GetCommentsParams, options?: import("../utils/types/custom-instance.js").CustomInstanceOptions | undefined) => Promise<import("../generated/v1/index.schemas.js").GetComments200>;
|
|
5
|
+
addComment: (addCommentBody: import("../generated/v1/index.schemas.js").AddCommentBody, options?: import("../utils/types/custom-instance.js").CustomInstanceOptions | undefined) => Promise<import("../generated/v1/index.schemas.js").AddComment200>;
|
|
6
|
+
updateComment: (updateCommentBody: import("../generated/v1/index.schemas.js").UpdateCommentBody, options?: import("../utils/types/custom-instance.js").CustomInstanceOptions | undefined) => Promise<import("../generated/v1/index.schemas.js").UpdateComment200>;
|
|
7
|
+
removeComment: (removeCommentBody: import("../generated/v1/index.schemas.js").RemoveCommentBody, options?: import("../utils/types/custom-instance.js").CustomInstanceOptions | undefined) => Promise<import("../generated/v1/index.schemas.js").ApiResponseSuccess>;
|
|
8
|
+
postLogin: (postLoginBody: import("../generated/v1/index.schemas.js").PostLoginBody, options?: import("../utils/types/custom-instance.js").CustomInstanceOptions | undefined) => Promise<import("../generated/v1/index.schemas.js").PostLogin200>;
|
|
9
|
+
postRegister: (postRegisterBody: import("../generated/v1/index.schemas.js").PostRegisterBody, options?: import("../utils/types/custom-instance.js").CustomInstanceOptions | undefined) => Promise<import("../generated/v1/index.schemas.js").PostRegister200>;
|
|
10
|
+
getPageTag: (params: import("../generated/v1/index.schemas.js").GetPageTagParams, options?: import("../utils/types/custom-instance.js").CustomInstanceOptions | undefined) => Promise<import("../generated/v1/index.schemas.js").PageTagsSuccessResponse>;
|
|
11
|
+
getUpdatePost: (params: import("../generated/v1/index.schemas.js").GetUpdatePostParams, options?: import("../utils/types/custom-instance.js").CustomInstanceOptions | undefined) => Promise<import("../generated/v1/index.schemas.js").UpdatePostSuccessResponse>;
|
|
12
|
+
removePage: (removePageBody: import("../generated/v1/index.schemas.js").RemovePageBody, options?: import("../utils/types/custom-instance.js").CustomInstanceOptions | undefined) => Promise<import("../generated/v1/index.schemas.js").PageRemoveSuccessResponse>;
|
|
13
|
+
revertRemovePage: (revertRemovePageBody: import("../generated/v1/index.schemas.js").RevertRemovePageBody, options?: import("../utils/types/custom-instance.js").CustomInstanceOptions | undefined) => Promise<import("../generated/v1/index.schemas.js").PageRevertSuccessResponse>;
|
|
14
|
+
unlinkPage: (unlinkPageBody: import("../generated/v1/index.schemas.js").UnlinkPageBody, options?: import("../utils/types/custom-instance.js").CustomInstanceOptions | undefined) => Promise<import("../generated/v1/index.schemas.js").PageUnlinkSuccessResponse>;
|
|
15
|
+
searchPages: (params: import("../generated/v1/index.schemas.js").SearchPagesParams, options?: import("../utils/types/custom-instance.js").CustomInstanceOptions | undefined) => Promise<import("../generated/v1/index.schemas.js").SearchPages200>;
|
|
16
|
+
searchTags: (params?: import("../generated/v1/index.schemas.js").SearchTagsParams, options?: import("../utils/types/custom-instance.js").CustomInstanceOptions | undefined) => Promise<import("../generated/v1/index.schemas.js").SearchTags200>;
|
|
17
|
+
updateTag: (updateTagBody: import("../generated/v1/index.schemas.js").UpdateTagBody, options?: import("../utils/types/custom-instance.js").CustomInstanceOptions | undefined) => Promise<import("../generated/v1/index.schemas.js").UpdateTag200>;
|
|
18
|
+
listTags: (params?: import("../generated/v1/index.schemas.js").ListTagsParams, options?: import("../utils/types/custom-instance.js").CustomInstanceOptions | undefined) => Promise<import("../generated/v1/index.schemas.js").ListTags200>;
|
|
19
|
+
getUserActivationToken: (token: string, options?: import("../utils/types/custom-instance.js").CustomInstanceOptions | undefined) => Promise<string>;
|
|
20
|
+
uploadProfileImage: (uploadProfileImageBody: import("../generated/v1/index.schemas.js").UploadProfileImageBodyOne | import("../generated/v1/index.schemas.js").UploadProfileImageBodyTwo, options?: import("../utils/types/custom-instance.js").CustomInstanceOptions | undefined) => Promise<import("../generated/v1/index.schemas.js").UploadProfileImage200>;
|
|
21
|
+
removeAttachment: (removeAttachmentBody: import("../generated/v1/index.schemas.js").RemoveAttachmentBody, options?: import("../utils/types/custom-instance.js").CustomInstanceOptions | undefined) => Promise<import("../generated/v1/index.schemas.js").ApiResponseSuccess>;
|
|
22
|
+
removeProfileImage: (removeProfileImageBody: import("../generated/v1/index.schemas.js").RemoveProfileImageBody, options?: import("../utils/types/custom-instance.js").CustomInstanceOptions | undefined) => Promise<import("../generated/v1/index.schemas.js").ApiResponseSuccess>;
|
|
23
23
|
};
|
|
24
24
|
export default _default;
|
|
25
25
|
//# sourceMappingURL=index.d.ts.map
|