@kl1/contracts 1.4.36 → 1.4.38
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/api-contracts/src/chat/index.d.ts +1 -1
- package/dist/api-contracts/src/comment/index.d.ts +3486 -2574
- package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +3317 -2405
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -2963,7 +2963,7 @@ var mainFeedContract = (0, import_core8.initContract)().router(
|
|
2963
2963
|
},
|
2964
2964
|
getMessagesByParent: {
|
2965
2965
|
method: "GET",
|
2966
|
-
path: "
|
2966
|
+
path: "chs/api/v1/chat/message/:parentId/relevance",
|
2967
2967
|
pathParams: import_zod42.default.object({
|
2968
2968
|
parentId: import_zod42.default.string().uuid()
|
2969
2969
|
}),
|
@@ -3471,7 +3471,9 @@ var commentContract = (0, import_core9.initContract)().router(
|
|
3471
3471
|
headers: DefaultHeaderSchema,
|
3472
3472
|
query: GetCommentQuerySchema,
|
3473
3473
|
responses: {
|
3474
|
-
200: import_zod46.default.
|
3474
|
+
200: import_zod46.default.object({
|
3475
|
+
data: import_zod46.default.array(CommentSchema)
|
3476
|
+
}),
|
3475
3477
|
400: import_zod46.default.object({
|
3476
3478
|
message: import_zod46.default.string()
|
3477
3479
|
}),
|