@qoder-ai/qmind-cli 4.3.0 → 5.0.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 +10 -0
- package/CHANGELOG.zh-CN.md +10 -0
- package/README.md +7 -3
- package/README.zh-CN.md +11 -7
- package/dist/data-sources-DItXSL_s.js +129 -0
- package/dist/{imports-Bb3NHsmd.js → imports-CSg7ebnN.js} +15 -16
- package/dist/management-iTQ9-Osc.js +206 -0
- package/dist/nezha-B_SP8BvK.js +13 -0
- package/dist/{notes-HS_N--cJ.js → notes-BUq1ciGO.js} +7 -8
- package/dist/qmind.js +434 -673
- package/dist/{schemas-DG7vaJMR.js → shared-evTnu_EB.js} +657 -45
- package/dist/{source-upload-XrNG4_4V.js → source-upload-DckYHoRo.js} +2 -3
- package/dist/{transfers-DONoEIKT.js → transfers-C0pXH5Qe.js} +11 -16
- package/dist/{wiki-DBT6JdyN.js → wiki-_a2EAozi.js} +3 -2
- package/dist/{wiki-branches-BfEMuXDW.js → wiki-branches-DViaqEOy.js} +3 -4
- package/package.json +5 -5
- package/dist/bot-gateway-C4c1bMi9.js +0 -374
- package/dist/management-BYR88TwO.js +0 -387
- package/dist/shared-CbvrtGyv.js +0 -386
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as optionalRecord, d as pagination, h as requiredText, l as optionalString, m as requiredString, n as call, p as queryPath, r as compactUndefined, t as assertNonEmptyPatch } from "./shared-CbvrtGyv.js";
|
|
1
|
+
import { D as qmindPath, c as optionalRecord, ct as voidResponseSchema, d as pagination, h as requiredText, l as optionalString, m as requiredString, n as call, p as queryPath, r as compactUndefined, st as timestampSchema, t as assertNonEmptyPatch } from "./shared-evTnu_EB.js";
|
|
3
2
|
import { z } from "zod";
|
|
4
3
|
//#region ../sdk/src/operations/note-schemas.ts
|
|
5
4
|
const noteSchema = z.object({
|
|
@@ -39,7 +38,7 @@ function createNoteOperations(context) {
|
|
|
39
38
|
idempotent: false,
|
|
40
39
|
method: "POST",
|
|
41
40
|
operation: "notes.create",
|
|
42
|
-
path:
|
|
41
|
+
path: qmindPath("notebooks", notebook, "notes"),
|
|
43
42
|
schema: noteSchema
|
|
44
43
|
});
|
|
45
44
|
},
|
|
@@ -52,7 +51,7 @@ function createNoteOperations(context) {
|
|
|
52
51
|
idempotent: false,
|
|
53
52
|
method: "DELETE",
|
|
54
53
|
operation: "notes.delete",
|
|
55
|
-
path:
|
|
54
|
+
path: qmindPath("notebooks", notebook, "notes", note),
|
|
56
55
|
schema: voidResponseSchema
|
|
57
56
|
});
|
|
58
57
|
},
|
|
@@ -65,7 +64,7 @@ function createNoteOperations(context) {
|
|
|
65
64
|
idempotent: true,
|
|
66
65
|
method: "GET",
|
|
67
66
|
operation: "notes.get",
|
|
68
|
-
path:
|
|
67
|
+
path: qmindPath("notebooks", notebook, "notes", note),
|
|
69
68
|
schema: noteSchema
|
|
70
69
|
});
|
|
71
70
|
},
|
|
@@ -81,7 +80,7 @@ function createNoteOperations(context) {
|
|
|
81
80
|
idempotent: true,
|
|
82
81
|
method: "GET",
|
|
83
82
|
operation: "notes.list",
|
|
84
|
-
path: queryPath(
|
|
83
|
+
path: queryPath(qmindPath("notebooks", notebook, "notes"), [["page", page.page], ["page_size", page.pageSize]]),
|
|
85
84
|
schema: noteListSchema
|
|
86
85
|
});
|
|
87
86
|
},
|
|
@@ -98,7 +97,7 @@ function createNoteOperations(context) {
|
|
|
98
97
|
idempotent: false,
|
|
99
98
|
method: "POST",
|
|
100
99
|
operation: "notes.saveCondensationResult",
|
|
101
|
-
path:
|
|
100
|
+
path: qmindPath("notebooks", notebook, "condensation-results", "save"),
|
|
102
101
|
schema: noteSchema
|
|
103
102
|
});
|
|
104
103
|
},
|
|
@@ -119,7 +118,7 @@ function createNoteOperations(context) {
|
|
|
119
118
|
idempotent: false,
|
|
120
119
|
method: "PUT",
|
|
121
120
|
operation: "notes.update",
|
|
122
|
-
path:
|
|
121
|
+
path: qmindPath("notebooks", notebook, "notes", note),
|
|
123
122
|
schema: noteSchema
|
|
124
123
|
});
|
|
125
124
|
}
|