@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.
@@ -1,5 +1,4 @@
1
- import { F as timestampSchema, I as voidResponseSchema } from "./schemas-DG7vaJMR.js";
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: context.profile.apiPath("notebooks", notebook, "notes"),
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: context.profile.apiPath("notebooks", notebook, "notes", note),
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: context.profile.apiPath("notebooks", notebook, "notes", note),
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(context.profile.apiPath("notebooks", notebook, "notes"), [["page", page.page], ["page_size", page.pageSize]]),
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: context.profile.apiPath("notebooks", notebook, "condensation-results", "save"),
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: context.profile.apiPath("notebooks", notebook, "notes", note),
121
+ path: qmindPath("notebooks", notebook, "notes", note),
123
122
  schema: noteSchema
124
123
  });
125
124
  }