@qoder-ai/qmind-cli 4.2.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,4 +1,4 @@
1
- import { Q as voidResponseSchema, Z as timestampSchema, 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-53S5tNf6.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";
2
2
  import { z } from "zod";
3
3
  //#region ../sdk/src/operations/note-schemas.ts
4
4
  const noteSchema = z.object({
@@ -38,7 +38,7 @@ function createNoteOperations(context) {
38
38
  idempotent: false,
39
39
  method: "POST",
40
40
  operation: "notes.create",
41
- path: context.profile.apiPath("notebooks", notebook, "notes"),
41
+ path: qmindPath("notebooks", notebook, "notes"),
42
42
  schema: noteSchema
43
43
  });
44
44
  },
@@ -51,7 +51,7 @@ function createNoteOperations(context) {
51
51
  idempotent: false,
52
52
  method: "DELETE",
53
53
  operation: "notes.delete",
54
- path: context.profile.apiPath("notebooks", notebook, "notes", note),
54
+ path: qmindPath("notebooks", notebook, "notes", note),
55
55
  schema: voidResponseSchema
56
56
  });
57
57
  },
@@ -64,7 +64,7 @@ function createNoteOperations(context) {
64
64
  idempotent: true,
65
65
  method: "GET",
66
66
  operation: "notes.get",
67
- path: context.profile.apiPath("notebooks", notebook, "notes", note),
67
+ path: qmindPath("notebooks", notebook, "notes", note),
68
68
  schema: noteSchema
69
69
  });
70
70
  },
@@ -80,7 +80,7 @@ function createNoteOperations(context) {
80
80
  idempotent: true,
81
81
  method: "GET",
82
82
  operation: "notes.list",
83
- 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]]),
84
84
  schema: noteListSchema
85
85
  });
86
86
  },
@@ -97,7 +97,7 @@ function createNoteOperations(context) {
97
97
  idempotent: false,
98
98
  method: "POST",
99
99
  operation: "notes.saveCondensationResult",
100
- path: context.profile.apiPath("notebooks", notebook, "condensation-results", "save"),
100
+ path: qmindPath("notebooks", notebook, "condensation-results", "save"),
101
101
  schema: noteSchema
102
102
  });
103
103
  },
@@ -118,7 +118,7 @@ function createNoteOperations(context) {
118
118
  idempotent: false,
119
119
  method: "PUT",
120
120
  operation: "notes.update",
121
- path: context.profile.apiPath("notebooks", notebook, "notes", note),
121
+ path: qmindPath("notebooks", notebook, "notes", note),
122
122
  schema: noteSchema
123
123
  });
124
124
  }