@uniformdev/mesh-edgehancer-sdk 19.195.1-alpha.3 → 19.196.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/dist/index.d.mts +444 -52
- package/dist/index.d.ts +444 -52
- package/dist/index.esm.js +17 -7
- package/dist/index.js +19 -8
- package/dist/index.mjs +17 -7
- package/package.json +3 -3
package/dist/index.js
CHANGED
@@ -35,7 +35,8 @@ __export(src_exports, {
|
|
35
35
|
preRequestEdgehancerResultSchema: () => preRequestEdgehancerResultSchema,
|
36
36
|
requestEdgehancerDataResourceResolutionResultSchema: () => requestEdgehancerDataResourceResolutionResultSchema,
|
37
37
|
requestEdgehancerResultSchema: () => requestEdgehancerResultSchema,
|
38
|
-
resolveBatchFetchIds: () => resolveBatchFetchIds
|
38
|
+
resolveBatchFetchIds: () => resolveBatchFetchIds,
|
39
|
+
resolvingIssueSchema: () => resolvingIssueSchema
|
39
40
|
});
|
40
41
|
module.exports = __toCommonJS(src_exports);
|
41
42
|
|
@@ -147,6 +148,15 @@ var parameterDefinitionSchema = import_zod.z.object({
|
|
147
148
|
value: import_zod.z.string(),
|
148
149
|
omitIfEmpty: import_zod.z.boolean().optional()
|
149
150
|
});
|
151
|
+
var resolvingIssueSchema = import_zod.z.union([
|
152
|
+
import_zod.z.string(),
|
153
|
+
import_zod.z.object({
|
154
|
+
message: import_zod.z.string(),
|
155
|
+
subType: import_zod.z.enum(["unpublishedData", "configuration"]).optional(),
|
156
|
+
issueReference: import_zod.z.string().optional(),
|
157
|
+
deepLink: import_zod.z.string().optional()
|
158
|
+
})
|
159
|
+
]);
|
150
160
|
var variableDefinitionSchema = import_zod.z.object({
|
151
161
|
displayName: import_zod.z.string().optional(),
|
152
162
|
type: import_zod.z.string().optional(),
|
@@ -213,9 +223,9 @@ var edgehancerMergedDataTypeSchema = mergedDataTypeSchema.omit({
|
|
213
223
|
variables: true
|
214
224
|
});
|
215
225
|
var preRequestEdgehancerDataResourceResultSchema = import_zod2.z.strictObject({
|
216
|
-
errors: import_zod2.z.array(
|
217
|
-
warnings: import_zod2.z.array(
|
218
|
-
infos: import_zod2.z.array(
|
226
|
+
errors: import_zod2.z.array(resolvingIssueSchema).optional(),
|
227
|
+
warnings: import_zod2.z.array(resolvingIssueSchema).optional(),
|
228
|
+
infos: import_zod2.z.array(resolvingIssueSchema).optional(),
|
219
229
|
dataResource: edgehancerMergedDataTypeSchema
|
220
230
|
});
|
221
231
|
var preRequestEdgehancerResultSchema = import_zod2.z.strictObject({
|
@@ -225,11 +235,11 @@ var preRequestEdgehancerResultSchema = import_zod2.z.strictObject({
|
|
225
235
|
// src/request.ts
|
226
236
|
var import_zod3 = require("zod");
|
227
237
|
var requestEdgehancerDataResourceResolutionResultSchema = import_zod3.z.strictObject({
|
228
|
-
errors: import_zod3.z.array(
|
238
|
+
errors: import_zod3.z.array(resolvingIssueSchema).optional().describe(
|
229
239
|
"Errors that occurred while running your code to return with the API response, if any. Unhandled exceptions will be captured automatically."
|
230
240
|
),
|
231
|
-
warnings: import_zod3.z.array(
|
232
|
-
infos: import_zod3.z.array(
|
241
|
+
warnings: import_zod3.z.array(resolvingIssueSchema).optional().describe("Warnings that occurred while running your code to return with the API response, if any."),
|
242
|
+
infos: import_zod3.z.array(resolvingIssueSchema).optional().describe(
|
233
243
|
"Informational messages that occurred while running your code to return with the API response, if any."
|
234
244
|
),
|
235
245
|
surrogateKeys: import_zod3.z.array(import_zod3.z.string()).optional().describe(
|
@@ -257,5 +267,6 @@ var requestEdgehancerResultSchema = import_zod3.z.strictObject({
|
|
257
267
|
preRequestEdgehancerResultSchema,
|
258
268
|
requestEdgehancerDataResourceResolutionResultSchema,
|
259
269
|
requestEdgehancerResultSchema,
|
260
|
-
resolveBatchFetchIds
|
270
|
+
resolveBatchFetchIds,
|
271
|
+
resolvingIssueSchema
|
261
272
|
});
|
package/dist/index.mjs
CHANGED
@@ -106,6 +106,15 @@ var parameterDefinitionSchema = z.object({
|
|
106
106
|
value: z.string(),
|
107
107
|
omitIfEmpty: z.boolean().optional()
|
108
108
|
});
|
109
|
+
var resolvingIssueSchema = z.union([
|
110
|
+
z.string(),
|
111
|
+
z.object({
|
112
|
+
message: z.string(),
|
113
|
+
subType: z.enum(["unpublishedData", "configuration"]).optional(),
|
114
|
+
issueReference: z.string().optional(),
|
115
|
+
deepLink: z.string().optional()
|
116
|
+
})
|
117
|
+
]);
|
109
118
|
var variableDefinitionSchema = z.object({
|
110
119
|
displayName: z.string().optional(),
|
111
120
|
type: z.string().optional(),
|
@@ -172,9 +181,9 @@ var edgehancerMergedDataTypeSchema = mergedDataTypeSchema.omit({
|
|
172
181
|
variables: true
|
173
182
|
});
|
174
183
|
var preRequestEdgehancerDataResourceResultSchema = z2.strictObject({
|
175
|
-
errors: z2.array(
|
176
|
-
warnings: z2.array(
|
177
|
-
infos: z2.array(
|
184
|
+
errors: z2.array(resolvingIssueSchema).optional(),
|
185
|
+
warnings: z2.array(resolvingIssueSchema).optional(),
|
186
|
+
infos: z2.array(resolvingIssueSchema).optional(),
|
178
187
|
dataResource: edgehancerMergedDataTypeSchema
|
179
188
|
});
|
180
189
|
var preRequestEdgehancerResultSchema = z2.strictObject({
|
@@ -184,11 +193,11 @@ var preRequestEdgehancerResultSchema = z2.strictObject({
|
|
184
193
|
// src/request.ts
|
185
194
|
import { z as z3 } from "zod";
|
186
195
|
var requestEdgehancerDataResourceResolutionResultSchema = z3.strictObject({
|
187
|
-
errors: z3.array(
|
196
|
+
errors: z3.array(resolvingIssueSchema).optional().describe(
|
188
197
|
"Errors that occurred while running your code to return with the API response, if any. Unhandled exceptions will be captured automatically."
|
189
198
|
),
|
190
|
-
warnings: z3.array(
|
191
|
-
infos: z3.array(
|
199
|
+
warnings: z3.array(resolvingIssueSchema).optional().describe("Warnings that occurred while running your code to return with the API response, if any."),
|
200
|
+
infos: z3.array(resolvingIssueSchema).optional().describe(
|
192
201
|
"Informational messages that occurred while running your code to return with the API response, if any."
|
193
202
|
),
|
194
203
|
surrogateKeys: z3.array(z3.string()).optional().describe(
|
@@ -215,5 +224,6 @@ export {
|
|
215
224
|
preRequestEdgehancerResultSchema,
|
216
225
|
requestEdgehancerDataResourceResolutionResultSchema,
|
217
226
|
requestEdgehancerResultSchema,
|
218
|
-
resolveBatchFetchIds
|
227
|
+
resolveBatchFetchIds,
|
228
|
+
resolvingIssueSchema
|
219
229
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@uniformdev/mesh-edgehancer-sdk",
|
3
|
-
"version": "19.
|
3
|
+
"version": "19.196.0",
|
4
4
|
"description": "Uniform Mesh Edgehancer SDK",
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
6
6
|
"main": "./dist/index.js",
|
@@ -48,7 +48,7 @@
|
|
48
48
|
"/dist"
|
49
49
|
],
|
50
50
|
"dependencies": {
|
51
|
-
"@uniformdev/canvas": "19.
|
51
|
+
"@uniformdev/canvas": "19.196.0",
|
52
52
|
"tsafe": "1.6.6",
|
53
53
|
"zod": "3.23.8"
|
54
54
|
},
|
@@ -61,5 +61,5 @@
|
|
61
61
|
"publishConfig": {
|
62
62
|
"access": "public"
|
63
63
|
},
|
64
|
-
"gitHead": "
|
64
|
+
"gitHead": "4d56631b812451d2e6d10f5a1daa95151d848785"
|
65
65
|
}
|