@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
package/dist/shared-CbvrtGyv.js
DELETED
|
@@ -1,386 +0,0 @@
|
|
|
1
|
-
//#region ../sdk/src/errors.ts
|
|
2
|
-
var QMindError = class extends Error {
|
|
3
|
-
access;
|
|
4
|
-
code;
|
|
5
|
-
details;
|
|
6
|
-
operation;
|
|
7
|
-
rawBody;
|
|
8
|
-
requestId;
|
|
9
|
-
status;
|
|
10
|
-
upstreamCode;
|
|
11
|
-
constructor(code, message, options = {}) {
|
|
12
|
-
super(message, { cause: options.cause });
|
|
13
|
-
this.name = "QMindError";
|
|
14
|
-
this.access = options.access;
|
|
15
|
-
this.code = code;
|
|
16
|
-
this.details = options.details;
|
|
17
|
-
this.operation = options.operation;
|
|
18
|
-
this.rawBody = options.rawBody;
|
|
19
|
-
this.requestId = options.requestId;
|
|
20
|
-
this.status = options.status;
|
|
21
|
-
this.upstreamCode = options.upstreamCode;
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
//#endregion
|
|
25
|
-
//#region ../sdk/src/wiki.ts
|
|
26
|
-
/** 保留 HTTP 错误证据,并以有界状态供宿主选择本地化提示。 */
|
|
27
|
-
var QMindWikiReadError = class extends QMindError {
|
|
28
|
-
wikiState;
|
|
29
|
-
constructor(wikiState, error) {
|
|
30
|
-
super(error.code, error.message, {
|
|
31
|
-
cause: error,
|
|
32
|
-
...error.access === void 0 ? {} : { access: error.access },
|
|
33
|
-
...error.operation === void 0 ? {} : { operation: error.operation },
|
|
34
|
-
...error.status === void 0 ? {} : { status: error.status },
|
|
35
|
-
...error.upstreamCode === void 0 ? {} : { upstreamCode: error.upstreamCode },
|
|
36
|
-
...error.requestId === void 0 ? {} : { requestId: error.requestId },
|
|
37
|
-
details: error.details
|
|
38
|
-
});
|
|
39
|
-
this.wikiState = wikiState;
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
//#endregion
|
|
43
|
-
//#region ../sdk/src/execution.ts
|
|
44
|
-
const credentialHeaders = /* @__PURE__ */ new Set([
|
|
45
|
-
"authorization",
|
|
46
|
-
"cookie",
|
|
47
|
-
"proxy-authorization",
|
|
48
|
-
"x-csrf-token",
|
|
49
|
-
"x-xsrf-token"
|
|
50
|
-
]);
|
|
51
|
-
function isRecord(value) {
|
|
52
|
-
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
53
|
-
}
|
|
54
|
-
function nestedRecord(value, key) {
|
|
55
|
-
const nested = value[key];
|
|
56
|
-
return isRecord(nested) ? nested : void 0;
|
|
57
|
-
}
|
|
58
|
-
function firstString(records, keys) {
|
|
59
|
-
for (const record of records) {
|
|
60
|
-
if (record === void 0) continue;
|
|
61
|
-
for (const key of keys) {
|
|
62
|
-
const value = record[key];
|
|
63
|
-
if (typeof value === "string" && value.length > 0) return value;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
function headerValue(headers, name) {
|
|
68
|
-
const normalizedName = name.toLowerCase();
|
|
69
|
-
for (const [key, value] of Object.entries(headers)) if (key.toLowerCase() === normalizedName && value.length > 0) return value;
|
|
70
|
-
}
|
|
71
|
-
function errorCodeForStatus(status) {
|
|
72
|
-
if (status === 401) return "AUTH_REQUIRED";
|
|
73
|
-
if (status === 403) return "FORBIDDEN";
|
|
74
|
-
if (status === 404) return "NOT_FOUND";
|
|
75
|
-
if (status === 409) return "CONFLICT";
|
|
76
|
-
if (status === 429) return "RATE_LIMITED";
|
|
77
|
-
if (status >= 400 && status < 500) return "INVALID_ARGUMENT";
|
|
78
|
-
return "REMOTE_ERROR";
|
|
79
|
-
}
|
|
80
|
-
function httpError(access, operation, profile, response) {
|
|
81
|
-
const body = profile.unwrapError(response.body);
|
|
82
|
-
const root = isRecord(body) ? body : void 0;
|
|
83
|
-
const records = [
|
|
84
|
-
root,
|
|
85
|
-
root === void 0 ? void 0 : nestedRecord(root, "error"),
|
|
86
|
-
root === void 0 ? void 0 : nestedRecord(root, "details")
|
|
87
|
-
];
|
|
88
|
-
const upstreamCode = firstString(records, [
|
|
89
|
-
"errorCode",
|
|
90
|
-
"error_code",
|
|
91
|
-
"code"
|
|
92
|
-
]);
|
|
93
|
-
const requestId = firstString(records, ["requestId", "request_id"]) ?? headerValue(response.headers, "x-request-id") ?? headerValue(response.headers, "request-id");
|
|
94
|
-
const message = firstString(records, [
|
|
95
|
-
"message",
|
|
96
|
-
"errorMessage",
|
|
97
|
-
"error_message"
|
|
98
|
-
]) ?? `QMind request failed with HTTP ${response.status}`;
|
|
99
|
-
const failure = new QMindError(errorCodeForStatus(response.status), message, {
|
|
100
|
-
access,
|
|
101
|
-
details: body,
|
|
102
|
-
operation,
|
|
103
|
-
...response.rawBody === void 0 ? {} : { rawBody: response.rawBody },
|
|
104
|
-
...requestId === void 0 ? {} : { requestId },
|
|
105
|
-
status: response.status,
|
|
106
|
-
...upstreamCode === void 0 ? {} : { upstreamCode }
|
|
107
|
-
});
|
|
108
|
-
const state = headerValue(response.headers, "x-wiki-state");
|
|
109
|
-
if (operation.startsWith("wiki.") && (state === "expired" || state === "busy" || state === "invalid" || state === "limit" || state === "missing")) return new QMindWikiReadError(state, failure);
|
|
110
|
-
return failure;
|
|
111
|
-
}
|
|
112
|
-
function isAbortLike(cause) {
|
|
113
|
-
return isRecord(cause) && (cause.name === "AbortError" && typeof cause.name === "string" || cause.code === "ABORT_ERR");
|
|
114
|
-
}
|
|
115
|
-
function transportError(access, operation, request, cause) {
|
|
116
|
-
if (cause instanceof QMindError) return cause;
|
|
117
|
-
const aborted = request.signal?.aborted === true || isAbortLike(cause);
|
|
118
|
-
return new QMindError(aborted ? "ABORTED" : "NETWORK_ERROR", aborted ? "QMind request was aborted" : "QMind transport failed", {
|
|
119
|
-
access,
|
|
120
|
-
cause,
|
|
121
|
-
operation
|
|
122
|
-
});
|
|
123
|
-
}
|
|
124
|
-
function requestWasAborted(request) {
|
|
125
|
-
return request.signal?.aborted === true;
|
|
126
|
-
}
|
|
127
|
-
function assertWireRequestInvariant(request) {
|
|
128
|
-
for (const [field, value] of [
|
|
129
|
-
["connectTimeoutMs", request.connectTimeoutMs],
|
|
130
|
-
["idleTimeoutMs", request.idleTimeoutMs],
|
|
131
|
-
["timeoutMs", request.timeoutMs]
|
|
132
|
-
]) if (!Number.isFinite(value ?? 1) || (value ?? 1) <= 0) throw new QMindError("INVALID_ARGUMENT", `${field} must be a positive finite number`, { details: { field } });
|
|
133
|
-
if (request.destination.kind === "host") {
|
|
134
|
-
if (!request.destination.path.startsWith("/") || request.destination.path.startsWith("//")) throw new QMindError("HOST_POLICY_ERROR", "host destination must be a root-relative path", { details: { destination: request.destination.kind } });
|
|
135
|
-
return;
|
|
136
|
-
}
|
|
137
|
-
let url;
|
|
138
|
-
try {
|
|
139
|
-
url = new URL(request.destination.url);
|
|
140
|
-
} catch (cause) {
|
|
141
|
-
throw new QMindError("HOST_POLICY_ERROR", "signed destination must be a valid HTTPS URL", {
|
|
142
|
-
cause,
|
|
143
|
-
details: { destination: request.destination.kind }
|
|
144
|
-
});
|
|
145
|
-
}
|
|
146
|
-
if (url.protocol !== "https:" || url.username.length > 0 || url.password.length > 0) throw new QMindError("HOST_POLICY_ERROR", "signed destination must be credential-free HTTPS", { details: { destination: request.destination.kind } });
|
|
147
|
-
for (const header of Object.keys(request.headers ?? {})) if (credentialHeaders.has(header.toLowerCase())) throw new QMindError("HOST_POLICY_ERROR", "host credentials must never be sent to a signed destination", { details: {
|
|
148
|
-
destination: request.destination.kind,
|
|
149
|
-
header: header.toLowerCase()
|
|
150
|
-
} });
|
|
151
|
-
}
|
|
152
|
-
function assertCapability(profile, capability, operation) {
|
|
153
|
-
if (profile.capabilities[capability]) return;
|
|
154
|
-
throw new QMindError("UNSUPPORTED_OPERATION", `${operation} is not supported by the ${profile.access} access profile`, {
|
|
155
|
-
access: profile.access,
|
|
156
|
-
details: { capability },
|
|
157
|
-
operation
|
|
158
|
-
});
|
|
159
|
-
}
|
|
160
|
-
async function executeUnary(options) {
|
|
161
|
-
const { capability, operation, profile, request, schema, transport } = options;
|
|
162
|
-
assertCapability(profile, capability, operation);
|
|
163
|
-
assertWireRequestInvariant(request);
|
|
164
|
-
if (requestWasAborted(request)) throw new QMindError("ABORTED", "QMind request was aborted", {
|
|
165
|
-
access: profile.access,
|
|
166
|
-
operation
|
|
167
|
-
});
|
|
168
|
-
let response;
|
|
169
|
-
try {
|
|
170
|
-
response = await transport.request(request);
|
|
171
|
-
} catch (cause) {
|
|
172
|
-
throw transportError(profile.access, operation, request, cause);
|
|
173
|
-
}
|
|
174
|
-
if (response.status < 200 || response.status >= 300) throw httpError(profile.access, operation, profile, response);
|
|
175
|
-
const body = profile.unwrapSuccess(operation, response.body);
|
|
176
|
-
const parsed = schema.safeParse(body);
|
|
177
|
-
if (!parsed.success) throw new QMindError("PROTOCOL_ERROR", "server response does not match the QMind contract", {
|
|
178
|
-
access: profile.access,
|
|
179
|
-
details: { issues: parsed.error.issues },
|
|
180
|
-
operation,
|
|
181
|
-
...response.rawBody === void 0 ? {} : { rawBody: response.rawBody },
|
|
182
|
-
status: response.status
|
|
183
|
-
});
|
|
184
|
-
return parsed.data;
|
|
185
|
-
}
|
|
186
|
-
function streamContractError(profile, operation, message, details) {
|
|
187
|
-
return new QMindError("STREAM_ERROR", message, {
|
|
188
|
-
access: profile.access,
|
|
189
|
-
...details === void 0 ? {} : { details },
|
|
190
|
-
operation
|
|
191
|
-
});
|
|
192
|
-
}
|
|
193
|
-
function streamFailureResponse(response) {
|
|
194
|
-
return {
|
|
195
|
-
body: response.body,
|
|
196
|
-
headers: response.headers,
|
|
197
|
-
...response.rawBody === void 0 ? {} : { rawBody: response.rawBody },
|
|
198
|
-
status: response.status
|
|
199
|
-
};
|
|
200
|
-
}
|
|
201
|
-
async function* executeStream(options) {
|
|
202
|
-
const { capability, operation, profile, request, transport } = options;
|
|
203
|
-
assertCapability(profile, capability, operation);
|
|
204
|
-
assertWireRequestInvariant(request);
|
|
205
|
-
if (requestWasAborted(request)) throw new QMindError("ABORTED", "QMind request was aborted", {
|
|
206
|
-
access: profile.access,
|
|
207
|
-
operation
|
|
208
|
-
});
|
|
209
|
-
let response;
|
|
210
|
-
try {
|
|
211
|
-
response = await transport.stream(request);
|
|
212
|
-
} catch (cause) {
|
|
213
|
-
throw transportError(profile.access, operation, request, cause);
|
|
214
|
-
}
|
|
215
|
-
if (response.kind === "response") {
|
|
216
|
-
if (response.status >= 200 && response.status < 300) throw streamContractError(profile, operation, "stream handshake returned no event stream", { status: response.status });
|
|
217
|
-
throw httpError(profile.access, operation, profile, streamFailureResponse(response));
|
|
218
|
-
}
|
|
219
|
-
if (response.status < 200 || response.status >= 300) throw streamContractError(profile, operation, "stream handshake returned events for a failure status", { status: response.status });
|
|
220
|
-
let doneMarkerSeen = false;
|
|
221
|
-
let started = false;
|
|
222
|
-
let terminal = false;
|
|
223
|
-
try {
|
|
224
|
-
for await (const payload of response.events) {
|
|
225
|
-
if (requestWasAborted(request)) throw new QMindError("ABORTED", "QMind request was aborted", {
|
|
226
|
-
access: profile.access,
|
|
227
|
-
operation
|
|
228
|
-
});
|
|
229
|
-
if (payload.trim() === "[DONE]") {
|
|
230
|
-
if (doneMarkerSeen) throw streamContractError(profile, operation, "stream emitted more than one [DONE] marker");
|
|
231
|
-
doneMarkerSeen = true;
|
|
232
|
-
continue;
|
|
233
|
-
}
|
|
234
|
-
if (doneMarkerSeen) throw streamContractError(profile, operation, "stream emitted an event after [DONE]");
|
|
235
|
-
if (terminal) throw streamContractError(profile, operation, "stream emitted an event after messageComplete");
|
|
236
|
-
const event = profile.decodeStreamPayload(payload);
|
|
237
|
-
if (event.type === "error") throw streamContractError(profile, operation, event.message, { event });
|
|
238
|
-
if (event.type === "messageStart") {
|
|
239
|
-
if (started) throw streamContractError(profile, operation, "stream emitted duplicate messageStart");
|
|
240
|
-
started = true;
|
|
241
|
-
} else if (!started) throw streamContractError(profile, operation, "stream event arrived before messageStart", { eventType: event.type });
|
|
242
|
-
if (event.type === "messageComplete") terminal = true;
|
|
243
|
-
yield event;
|
|
244
|
-
}
|
|
245
|
-
} catch (cause) {
|
|
246
|
-
throw transportError(profile.access, operation, request, cause);
|
|
247
|
-
}
|
|
248
|
-
if (requestWasAborted(request)) throw new QMindError("ABORTED", "QMind request was aborted", {
|
|
249
|
-
access: profile.access,
|
|
250
|
-
operation
|
|
251
|
-
});
|
|
252
|
-
if (!terminal) throw streamContractError(profile, operation, "stream ended before messageComplete", {
|
|
253
|
-
doneMarkerSeen,
|
|
254
|
-
started
|
|
255
|
-
});
|
|
256
|
-
}
|
|
257
|
-
//#endregion
|
|
258
|
-
//#region ../sdk/src/operations/shared.ts
|
|
259
|
-
function invalidArgument(message, field, details) {
|
|
260
|
-
return new QMindError("INVALID_ARGUMENT", message, { details: details ?? { field } });
|
|
261
|
-
}
|
|
262
|
-
function requiredString(value, field) {
|
|
263
|
-
if (typeof value !== "string" || value.trim().length === 0) throw invalidArgument(`${field} must be a non-empty string`, field);
|
|
264
|
-
return value.trim();
|
|
265
|
-
}
|
|
266
|
-
function optionalString(value, field) {
|
|
267
|
-
if (value === void 0) return void 0;
|
|
268
|
-
if (typeof value !== "string") throw invalidArgument(`${field} must be a string`, field);
|
|
269
|
-
return value;
|
|
270
|
-
}
|
|
271
|
-
/** Validate body text without trimming meaningful Markdown indentation or trailing newlines. */
|
|
272
|
-
function requiredText(value, field) {
|
|
273
|
-
const text = optionalString(value, field);
|
|
274
|
-
if (text === void 0 || text.trim().length === 0) throw invalidArgument(`${field} must be a non-empty string`, field);
|
|
275
|
-
return text;
|
|
276
|
-
}
|
|
277
|
-
function optionalTrimmedString(value, field) {
|
|
278
|
-
const string = optionalString(value, field)?.trim();
|
|
279
|
-
return string === "" ? void 0 : string;
|
|
280
|
-
}
|
|
281
|
-
function optionalRecord(value, field) {
|
|
282
|
-
if (value === void 0) return void 0;
|
|
283
|
-
if (typeof value !== "object" || value === null || Array.isArray(value)) throw invalidArgument(`${field} must be an object`, field);
|
|
284
|
-
return value;
|
|
285
|
-
}
|
|
286
|
-
function optionalBoolean(value, field) {
|
|
287
|
-
if (value === void 0) return void 0;
|
|
288
|
-
if (typeof value !== "boolean") throw invalidArgument(`${field} must be a boolean`, field);
|
|
289
|
-
return value;
|
|
290
|
-
}
|
|
291
|
-
function positiveInteger(value, field) {
|
|
292
|
-
if (value === void 0) return void 0;
|
|
293
|
-
if (typeof value !== "number" || !Number.isInteger(value) || value <= 0) throw invalidArgument(`${field} must be a positive integer`, field);
|
|
294
|
-
return value;
|
|
295
|
-
}
|
|
296
|
-
function nonNegativeInteger(value, field) {
|
|
297
|
-
if (value === void 0) return void 0;
|
|
298
|
-
if (typeof value !== "number" || !Number.isInteger(value) || value < 0) throw invalidArgument(`${field} must be a non-negative integer`, field);
|
|
299
|
-
return value;
|
|
300
|
-
}
|
|
301
|
-
function pagination(input) {
|
|
302
|
-
const page = positiveInteger(input.page, "page");
|
|
303
|
-
const pageSize = positiveInteger(input.pageSize, "pageSize");
|
|
304
|
-
return {
|
|
305
|
-
...page === void 0 ? {} : { page },
|
|
306
|
-
...pageSize === void 0 ? {} : { pageSize }
|
|
307
|
-
};
|
|
308
|
-
}
|
|
309
|
-
function stringList(value, field, options = {}) {
|
|
310
|
-
if (!Array.isArray(value)) throw invalidArgument(`${field} must be an array`, field);
|
|
311
|
-
const result = [];
|
|
312
|
-
const seen = /* @__PURE__ */ new Set();
|
|
313
|
-
for (const item of value) {
|
|
314
|
-
if (typeof item !== "string") throw invalidArgument(`${field} must contain only strings`, field);
|
|
315
|
-
const normalized = item.trim();
|
|
316
|
-
if (normalized.length === 0 || seen.has(normalized)) continue;
|
|
317
|
-
seen.add(normalized);
|
|
318
|
-
result.push(normalized);
|
|
319
|
-
}
|
|
320
|
-
if (options.min !== void 0 && result.length < options.min) throw invalidArgument(`${field} must contain at least ${options.min} item(s)`, field);
|
|
321
|
-
if (options.max !== void 0 && result.length > options.max) throw invalidArgument(`${field} must contain at most ${options.max} item(s)`, field);
|
|
322
|
-
return result;
|
|
323
|
-
}
|
|
324
|
-
function httpUrl(value, field) {
|
|
325
|
-
const raw = requiredString(value, field);
|
|
326
|
-
let url;
|
|
327
|
-
try {
|
|
328
|
-
url = new URL(raw);
|
|
329
|
-
} catch (cause) {
|
|
330
|
-
throw invalidArgument(`${field} must be a valid HTTP(S) URL`, field, {
|
|
331
|
-
cause,
|
|
332
|
-
field
|
|
333
|
-
});
|
|
334
|
-
}
|
|
335
|
-
if (url.protocol !== "http:" && url.protocol !== "https:" || url.host.length === 0) throw invalidArgument(`${field} must be a valid HTTP(S) URL`, field);
|
|
336
|
-
url.hash = "";
|
|
337
|
-
return url.toString();
|
|
338
|
-
}
|
|
339
|
-
function compactUndefined(value) {
|
|
340
|
-
return Object.fromEntries(Object.entries(value).filter(([, item]) => item !== void 0));
|
|
341
|
-
}
|
|
342
|
-
function assertNonEmptyPatch(patch, field) {
|
|
343
|
-
if (Object.keys(patch).length > 0) return;
|
|
344
|
-
throw invalidArgument(`${field} must contain at least one change`, field);
|
|
345
|
-
}
|
|
346
|
-
function queryPath(path, entries) {
|
|
347
|
-
const query = new URLSearchParams();
|
|
348
|
-
for (const [key, value] of entries) if (value !== void 0 && value !== "") query.set(key, String(value));
|
|
349
|
-
const suffix = query.toString();
|
|
350
|
-
return suffix.length === 0 ? path : `${path}?${suffix}`;
|
|
351
|
-
}
|
|
352
|
-
function wireRequest(options) {
|
|
353
|
-
const timeoutMs = options.callOptions?.timeoutMs;
|
|
354
|
-
if (timeoutMs !== void 0 && (!Number.isFinite(timeoutMs) || timeoutMs <= 0)) throw invalidArgument("timeoutMs must be a positive finite number", "timeoutMs");
|
|
355
|
-
const maxResponseBytes = options.callOptions?.maxResponseBytes;
|
|
356
|
-
if (maxResponseBytes !== void 0 && (!Number.isSafeInteger(maxResponseBytes) || maxResponseBytes <= 0)) throw invalidArgument("maxResponseBytes must be a positive integer", "maxResponseBytes");
|
|
357
|
-
const authorization = options.callOptions?.authorization?.trim();
|
|
358
|
-
return {
|
|
359
|
-
...options.body === void 0 ? {} : { body: {
|
|
360
|
-
kind: "json",
|
|
361
|
-
value: options.body
|
|
362
|
-
} },
|
|
363
|
-
destination: {
|
|
364
|
-
kind: "host",
|
|
365
|
-
path: options.path
|
|
366
|
-
},
|
|
367
|
-
...authorization === void 0 || authorization.length === 0 ? {} : { headers: { authorization: `Bearer ${authorization}` } },
|
|
368
|
-
idempotent: options.idempotent,
|
|
369
|
-
method: options.method,
|
|
370
|
-
...options.callOptions?.signal === void 0 ? {} : { signal: options.callOptions.signal },
|
|
371
|
-
...timeoutMs === void 0 ? {} : { timeoutMs },
|
|
372
|
-
...maxResponseBytes === void 0 ? {} : { maxResponseBytes }
|
|
373
|
-
};
|
|
374
|
-
}
|
|
375
|
-
function call(context, options) {
|
|
376
|
-
return executeUnary({
|
|
377
|
-
capability: options.capability,
|
|
378
|
-
operation: options.operation,
|
|
379
|
-
profile: context.profile,
|
|
380
|
-
request: wireRequest(options),
|
|
381
|
-
schema: options.schema,
|
|
382
|
-
transport: context.transport
|
|
383
|
-
});
|
|
384
|
-
}
|
|
385
|
-
//#endregion
|
|
386
|
-
export { assertCapability as _, invalidArgument as a, QMindError as b, optionalRecord as c, pagination as d, positiveInteger as f, stringList as g, requiredText as h, httpUrl as i, optionalString as l, requiredString as m, call as n, nonNegativeInteger as o, queryPath as p, compactUndefined as r, optionalBoolean as s, assertNonEmptyPatch as t, optionalTrimmedString as u, executeStream as v, executeUnary as y };
|