@uniformdev/mesh-edgehancer-sdk 20.63.0 → 20.63.1-alpha.18
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 +225 -2725
- package/dist/index.d.ts +225 -2725
- package/dist/index.esm.js +181 -142
- package/dist/index.js +181 -142
- package/dist/index.mjs +181 -142
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -59,7 +59,7 @@ __export(src_exports, {
|
|
|
59
59
|
module.exports = __toCommonJS(src_exports);
|
|
60
60
|
|
|
61
61
|
// ../../lib/ai-sdk/src/InvocationContexts.ts
|
|
62
|
-
var z = __toESM(require("zod
|
|
62
|
+
var z = __toESM(require("zod"), 1);
|
|
63
63
|
var invocationContextsSchema = z.enum([
|
|
64
64
|
"composition",
|
|
65
65
|
"compositionPattern",
|
|
@@ -69,14 +69,46 @@ var invocationContextsSchema = z.enum([
|
|
|
69
69
|
"general"
|
|
70
70
|
]);
|
|
71
71
|
var invocationContextInfoSchema = z.object({
|
|
72
|
-
context
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
72
|
+
/** The invocation context type ('composition', 'entry', 'general', etc.) */
|
|
73
|
+
context: invocationContextsSchema.optional(),
|
|
74
|
+
/** Entity ID being edited */
|
|
75
|
+
entityId: z.string().optional(),
|
|
76
|
+
/** Display name of the entity */
|
|
77
|
+
entityName: z.string().optional(),
|
|
78
|
+
/** Project map path of the entity (e.g., "/", "/about", "/products/shoes"). Only for compositions attached to project map. */
|
|
79
|
+
entityPath: z.string().optional(),
|
|
80
|
+
/** Edition ID if editing a non-default edition */
|
|
81
|
+
editionId: z.string().optional(),
|
|
82
|
+
/** Component node ID selected by the user within the entity's component tree.
|
|
83
|
+
* Only applicable when context is 'composition', 'compositionPattern', or 'componentPattern'. */
|
|
84
|
+
entitySelectedNodeId: z.string().optional(),
|
|
85
|
+
/** Parameter or field ID the user has focused within the selected node.
|
|
86
|
+
* Applicable to all entity types. */
|
|
87
|
+
entitySelectedPropertyId: z.string().optional(),
|
|
88
|
+
/** Current locale */
|
|
89
|
+
locale: z.string().optional(),
|
|
90
|
+
/** Release ID if working within a release context; null means editing base content (not in a release) */
|
|
91
|
+
releaseId: z.string().nullable().optional(),
|
|
92
|
+
/** Display name of the release */
|
|
93
|
+
releaseName: z.string().optional(),
|
|
94
|
+
/** Project display name */
|
|
95
|
+
projectName: z.string().optional(),
|
|
96
|
+
/** User display name */
|
|
97
|
+
userDisplayName: z.string().optional(),
|
|
98
|
+
/** Username (e.g. for creator/author filters in search); prefer identity name from member profile */
|
|
99
|
+
username: z.string().optional(),
|
|
100
|
+
/** Current date (ISO string for reliable parsing). Only updated when >5min apart. */
|
|
101
|
+
currentDate: z.string().optional(),
|
|
102
|
+
/** Current date in user's locale format with timezone */
|
|
103
|
+
currentLocaleDate: z.string().optional(),
|
|
104
|
+
/** Agent-readable description of how entity mutations behave in the current context */
|
|
105
|
+
editBehavior: z.string().optional(),
|
|
106
|
+
/** Summary of pending changes applied/discarded since the last turn */
|
|
107
|
+
pendingChangesUpdates: z.string().optional()
|
|
76
108
|
});
|
|
77
109
|
|
|
78
110
|
// src/afterAIDataResourceEdit.ts
|
|
79
|
-
var z2 = __toESM(require("zod
|
|
111
|
+
var z2 = __toESM(require("zod"));
|
|
80
112
|
var afterAIDataResourceEditResultSchema = z2.strictObject({
|
|
81
113
|
newValue: z2.record(z2.string(), z2.string()),
|
|
82
114
|
success: z2.boolean(),
|
|
@@ -114,63 +146,70 @@ var afterAIDataResourceEditContextSchema = z2.strictObject({
|
|
|
114
146
|
});
|
|
115
147
|
|
|
116
148
|
// ../../lib/ai-sdk/src/toolDefinitions/editing/createPropertyEdit.ts
|
|
117
|
-
var
|
|
149
|
+
var z4 = __toESM(require("zod"), 1);
|
|
150
|
+
|
|
151
|
+
// ../../lib/ai-sdk/src/utils/normalizeOptionalAIString.ts
|
|
152
|
+
var z3 = __toESM(require("zod"), 1);
|
|
153
|
+
var optionalAIStringSchema = z3.string().optional();
|
|
154
|
+
|
|
155
|
+
// ../../lib/ai-sdk/src/toolDefinitions/editing/createPropertyEdit.ts
|
|
118
156
|
var createPropertyEdit = {
|
|
119
|
-
displayName: "Create
|
|
157
|
+
displayName: "Create property edit",
|
|
120
158
|
description: "Edits a property on a composition, entry, or pattern with AI. This is a callable tool NOT FOR AGENT USE - agents use applyPropertyEdit to broker client-side application of the edit.",
|
|
121
|
-
inputSchema:
|
|
122
|
-
edit:
|
|
123
|
-
currentValue:
|
|
124
|
-
projectGuidance:
|
|
125
|
-
componentGuidance:
|
|
126
|
-
audienceGuidance:
|
|
159
|
+
inputSchema: z4.object({
|
|
160
|
+
edit: z4.string().describe("Describe the edit to be made to the property"),
|
|
161
|
+
currentValue: z4.unknown().describe("Current value of the property (if any exists)").optional(),
|
|
162
|
+
projectGuidance: z4.string().describe("Guidance prompt for the project (if any exists)").optional(),
|
|
163
|
+
componentGuidance: z4.string().describe("Guidance prompt for the parent component").optional(),
|
|
164
|
+
audienceGuidance: z4.string().describe(
|
|
127
165
|
"Guidance prompt for the target audience of a personalized variation. Omit for non-variation edits."
|
|
128
166
|
).optional(),
|
|
129
|
-
propertyDefinition:
|
|
130
|
-
id:
|
|
131
|
-
name:
|
|
132
|
-
type:
|
|
133
|
-
guidance:
|
|
134
|
-
typeConfig:
|
|
167
|
+
propertyDefinition: z4.object({
|
|
168
|
+
id: z4.string(),
|
|
169
|
+
name: z4.string(),
|
|
170
|
+
type: z4.string(),
|
|
171
|
+
guidance: z4.string().describe("Guidance prompt from the property definition (if any exists)").optional(),
|
|
172
|
+
typeConfig: z4.unknown().optional().describe("Type-specific configuration for the property")
|
|
135
173
|
}),
|
|
136
|
-
outputLocale:
|
|
137
|
-
|
|
174
|
+
outputLocale: optionalAIStringSchema.describe(
|
|
175
|
+
"The locale to use when writing the edited value. Use an empty string for locale-independent values."
|
|
176
|
+
),
|
|
177
|
+
documentContext: z4.string().describe("Content of the surrounding document the property is part of").optional()
|
|
138
178
|
}),
|
|
139
|
-
outputSchema:
|
|
140
|
-
newValue:
|
|
141
|
-
"The new value of the property. When the action is
|
|
179
|
+
outputSchema: z4.object({
|
|
180
|
+
newValue: z4.string().describe(
|
|
181
|
+
"The new value of the property. When the action is clearValue, resetOverride, or nothing, this should be empty."
|
|
142
182
|
),
|
|
143
|
-
treatNewValueAsJson:
|
|
144
|
-
summary:
|
|
145
|
-
|
|
146
|
-
)
|
|
147
|
-
action:
|
|
148
|
-
"setValue = update the value, clearValue = remove the value/set to empty, resetOverride = remove a pattern override and inherit the pattern value. Only use resetOverride if the prompt asks for it. If the prompt is specifically talking about asset parameter title/description overrides, use setValue instead."
|
|
183
|
+
treatNewValueAsJson: z4.boolean().describe("Whether the newValue is a JSON string"),
|
|
184
|
+
summary: z4.string().describe(
|
|
185
|
+
'A completion message to the user that summarizes the action taken. One sentence, in English. Use e.g. "Done." when no detail is needed.'
|
|
186
|
+
),
|
|
187
|
+
action: z4.enum(["setValue", "clearValue", "resetOverride", "nothing"]).describe(
|
|
188
|
+
"setValue = update the value, clearValue = remove the value/set to empty, resetOverride = remove a pattern override and inherit the pattern value, nothing = leave the value unchanged (use when instructed to keep existing value, make no changes, or leave unchanged). Only use resetOverride if the prompt asks for it. If the prompt is specifically talking about asset parameter title/description overrides, use setValue instead."
|
|
149
189
|
),
|
|
150
|
-
success:
|
|
190
|
+
success: z4.boolean().describe("Whether the edit could be completed successfully")
|
|
151
191
|
}),
|
|
152
|
-
runsAt: "server",
|
|
153
192
|
timeout: 100,
|
|
154
|
-
|
|
193
|
+
toolClass: "edit"
|
|
155
194
|
};
|
|
156
195
|
|
|
157
196
|
// src/afterAIEdit.ts
|
|
158
|
-
var
|
|
159
|
-
var afterAIEditResultSchema =
|
|
160
|
-
newValue:
|
|
161
|
-
success:
|
|
162
|
-
summary:
|
|
197
|
+
var z5 = __toESM(require("zod"));
|
|
198
|
+
var afterAIEditResultSchema = z5.strictObject({
|
|
199
|
+
newValue: z5.unknown().optional(),
|
|
200
|
+
success: z5.boolean(),
|
|
201
|
+
summary: z5.string().optional()
|
|
163
202
|
});
|
|
164
|
-
var afterAIEditContextSchema =
|
|
203
|
+
var afterAIEditContextSchema = z5.strictObject({
|
|
165
204
|
editRequest: createPropertyEdit.inputSchema,
|
|
166
205
|
invocationContext: invocationContextsSchema,
|
|
167
|
-
userId:
|
|
168
|
-
currentLocale:
|
|
169
|
-
projectId:
|
|
170
|
-
newValue:
|
|
171
|
-
result:
|
|
172
|
-
success:
|
|
173
|
-
summary:
|
|
206
|
+
userId: z5.string(),
|
|
207
|
+
currentLocale: z5.string().optional(),
|
|
208
|
+
projectId: z5.string(),
|
|
209
|
+
newValue: z5.unknown(),
|
|
210
|
+
result: z5.object({
|
|
211
|
+
success: z5.boolean(),
|
|
212
|
+
summary: z5.string().optional()
|
|
174
213
|
})
|
|
175
214
|
});
|
|
176
215
|
|
|
@@ -234,49 +273,49 @@ var COLLECTION_MAX_LIMIT = 50;
|
|
|
234
273
|
var COLLECTION_DEFAULT_OFFSET = 0;
|
|
235
274
|
|
|
236
275
|
// src/createAIDataResourceEdit.ts
|
|
237
|
-
var
|
|
238
|
-
var createAIDataResourceEditContextSchema =
|
|
276
|
+
var z6 = __toESM(require("zod"));
|
|
277
|
+
var createAIDataResourceEditContextSchema = z6.strictObject({
|
|
239
278
|
/**
|
|
240
279
|
* The the data type of the data resource being edited (merged with its data source)
|
|
241
280
|
* NOTE: this can contain secrets, API keys, etc. Do not directly expose it to the AI agent!
|
|
242
281
|
* NOTE: this does not include the current value's variables, if any
|
|
243
282
|
*/
|
|
244
|
-
mergedDataType:
|
|
283
|
+
mergedDataType: z6.custom(),
|
|
245
284
|
/** Which data source variant is currently active (undefined = published data) */
|
|
246
|
-
dataSourceVariant:
|
|
285
|
+
dataSourceVariant: z6.custom().optional(),
|
|
247
286
|
/** The edit request details */
|
|
248
|
-
editRequest:
|
|
287
|
+
editRequest: z6.object({
|
|
249
288
|
/** The edit instruction from the AI agent */
|
|
250
|
-
edit:
|
|
289
|
+
edit: z6.string(),
|
|
251
290
|
/** Current value of the data resource's variables (if any) */
|
|
252
|
-
currentValue:
|
|
291
|
+
currentValue: z6.record(z6.string(), z6.string()).optional()
|
|
253
292
|
}),
|
|
254
293
|
/** AI invocation context */
|
|
255
294
|
invocationContext: invocationContextsSchema,
|
|
256
295
|
/** User ID making the edit */
|
|
257
|
-
userId:
|
|
296
|
+
userId: z6.string(),
|
|
258
297
|
/** Project ID */
|
|
259
|
-
projectId:
|
|
298
|
+
projectId: z6.string()
|
|
260
299
|
});
|
|
261
|
-
var createAIDataResourceEditResultSchema =
|
|
262
|
-
outputJsonSchema:
|
|
263
|
-
instructions:
|
|
300
|
+
var createAIDataResourceEditResultSchema = z6.strictObject({
|
|
301
|
+
outputJsonSchema: z6.record(z6.string(), z6.any()).describe("JSON schema (draft-07) for the edited data resource result"),
|
|
302
|
+
instructions: z6.string().describe(
|
|
264
303
|
"Instructions for the AI editor LLM to follow when editing this data resource (e.g. conventions/rules, allowed values, data format expectations, etc). Describe how to transform or edit the data resource content."
|
|
265
304
|
)
|
|
266
305
|
});
|
|
267
306
|
|
|
268
307
|
// src/createAIEdit.ts
|
|
269
|
-
var
|
|
270
|
-
var createAIEditContextSchema =
|
|
308
|
+
var z7 = __toESM(require("zod"));
|
|
309
|
+
var createAIEditContextSchema = z7.strictObject({
|
|
271
310
|
editRequest: createPropertyEdit.inputSchema,
|
|
272
311
|
invocationContext: invocationContextsSchema,
|
|
273
|
-
userId:
|
|
274
|
-
currentLocale:
|
|
275
|
-
projectId:
|
|
312
|
+
userId: z7.string(),
|
|
313
|
+
currentLocale: z7.string().optional(),
|
|
314
|
+
projectId: z7.string()
|
|
276
315
|
});
|
|
277
|
-
var createAIEditResultSchema =
|
|
278
|
-
outputJsonSchema:
|
|
279
|
-
instructions:
|
|
316
|
+
var createAIEditResultSchema = z7.strictObject({
|
|
317
|
+
outputJsonSchema: z7.record(z7.string(), z7.any()).describe("JSON schema (draft-07) for the edited content result"),
|
|
318
|
+
instructions: z7.string().describe(
|
|
280
319
|
"Instructions for the AI editor LLM to follow (e.g. conventions/rules, allowed values, etc). Just describe your value type, do not give guiding instructions. There is no need to worry about clearing or resetting values, that is automatically handled."
|
|
281
320
|
)
|
|
282
321
|
});
|
|
@@ -320,81 +359,81 @@ function copyKeyValuePairs(source, target) {
|
|
|
320
359
|
}
|
|
321
360
|
|
|
322
361
|
// src/preRequest.ts
|
|
323
|
-
var
|
|
362
|
+
var z9 = __toESM(require("zod"));
|
|
324
363
|
|
|
325
364
|
// src/shared.ts
|
|
326
365
|
var import_tsafe = require("tsafe");
|
|
327
|
-
var
|
|
328
|
-
var parameterDefinitionSchema =
|
|
329
|
-
key:
|
|
330
|
-
value:
|
|
331
|
-
omitIfEmpty:
|
|
366
|
+
var z8 = __toESM(require("zod"));
|
|
367
|
+
var parameterDefinitionSchema = z8.object({
|
|
368
|
+
key: z8.string(),
|
|
369
|
+
value: z8.string(),
|
|
370
|
+
omitIfEmpty: z8.boolean().optional()
|
|
332
371
|
});
|
|
333
|
-
var resolvingIssueSchema =
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
message:
|
|
337
|
-
subType:
|
|
338
|
-
issueReference:
|
|
339
|
-
deepLink:
|
|
340
|
-
statusCode:
|
|
372
|
+
var resolvingIssueSchema = z8.union([
|
|
373
|
+
z8.string(),
|
|
374
|
+
z8.object({
|
|
375
|
+
message: z8.string(),
|
|
376
|
+
subType: z8.enum(["unpublishedData", "configuration"]).optional(),
|
|
377
|
+
issueReference: z8.string().optional(),
|
|
378
|
+
deepLink: z8.string().optional(),
|
|
379
|
+
statusCode: z8.number().int().optional()
|
|
341
380
|
})
|
|
342
381
|
]);
|
|
343
|
-
var variableDefinitionSchema =
|
|
344
|
-
displayName:
|
|
345
|
-
type:
|
|
346
|
-
default:
|
|
347
|
-
helpText:
|
|
348
|
-
order:
|
|
349
|
-
source:
|
|
382
|
+
var variableDefinitionSchema = z8.object({
|
|
383
|
+
displayName: z8.string().optional(),
|
|
384
|
+
type: z8.string().optional(),
|
|
385
|
+
default: z8.string(),
|
|
386
|
+
helpText: z8.string().optional(),
|
|
387
|
+
order: z8.number().optional(),
|
|
388
|
+
source: z8.string().optional()
|
|
350
389
|
});
|
|
351
|
-
var customEdgehancerDefinitionSchema =
|
|
352
|
-
preRequest:
|
|
353
|
-
request:
|
|
354
|
-
createAIDataResourceEdit:
|
|
355
|
-
afterAIDataResourceEdit:
|
|
390
|
+
var customEdgehancerDefinitionSchema = z8.object({
|
|
391
|
+
preRequest: z8.string().optional(),
|
|
392
|
+
request: z8.string().optional(),
|
|
393
|
+
createAIDataResourceEdit: z8.string().optional(),
|
|
394
|
+
afterAIDataResourceEdit: z8.string().optional()
|
|
356
395
|
});
|
|
357
|
-
var dataSourceVariantSchema =
|
|
358
|
-
|
|
359
|
-
headers:
|
|
360
|
-
parameters:
|
|
361
|
-
variables:
|
|
396
|
+
var dataSourceVariantSchema = z8.intersection(
|
|
397
|
+
z8.object({
|
|
398
|
+
headers: z8.array(parameterDefinitionSchema).optional(),
|
|
399
|
+
parameters: z8.array(parameterDefinitionSchema).optional(),
|
|
400
|
+
variables: z8.record(z8.string(), variableDefinitionSchema).optional()
|
|
362
401
|
}),
|
|
363
|
-
|
|
402
|
+
z8.object({ url: z8.string() })
|
|
364
403
|
);
|
|
365
|
-
var mergedDataTypeSchema =
|
|
366
|
-
id:
|
|
367
|
-
displayName:
|
|
368
|
-
archetype:
|
|
369
|
-
allowedOnComponents:
|
|
370
|
-
badgeIconUrl:
|
|
371
|
-
connectorType:
|
|
372
|
-
url:
|
|
373
|
-
headers:
|
|
374
|
-
parameters:
|
|
375
|
-
body:
|
|
376
|
-
method:
|
|
377
|
-
variables:
|
|
378
|
-
custom:
|
|
379
|
-
customPublic:
|
|
380
|
-
ttl:
|
|
381
|
-
purgeKey:
|
|
382
|
-
localeMapping:
|
|
404
|
+
var mergedDataTypeSchema = z8.object({
|
|
405
|
+
id: z8.string(),
|
|
406
|
+
displayName: z8.string(),
|
|
407
|
+
archetype: z8.string().optional(),
|
|
408
|
+
allowedOnComponents: z8.array(z8.string()).optional(),
|
|
409
|
+
badgeIconUrl: z8.string().optional(),
|
|
410
|
+
connectorType: z8.string(),
|
|
411
|
+
url: z8.string(),
|
|
412
|
+
headers: z8.array(parameterDefinitionSchema).optional(),
|
|
413
|
+
parameters: z8.array(parameterDefinitionSchema).optional(),
|
|
414
|
+
body: z8.string().optional(),
|
|
415
|
+
method: z8.enum(["GET", "POST", "HEAD"]),
|
|
416
|
+
variables: z8.record(z8.string(), variableDefinitionSchema).optional(),
|
|
417
|
+
custom: z8.record(z8.string(), z8.unknown()).optional(),
|
|
418
|
+
customPublic: z8.record(z8.string(), z8.unknown()).optional(),
|
|
419
|
+
ttl: z8.number().optional(),
|
|
420
|
+
purgeKey: z8.string().optional(),
|
|
421
|
+
localeMapping: z8.record(z8.string(), z8.string()).optional(),
|
|
383
422
|
edgehancer: customEdgehancerDefinitionSchema.optional(),
|
|
384
|
-
uiBadgeText:
|
|
385
|
-
variants:
|
|
423
|
+
uiBadgeText: z8.string().max(12).optional(),
|
|
424
|
+
variants: z8.object({
|
|
386
425
|
unpublished: dataSourceVariantSchema.optional()
|
|
387
426
|
}).optional(),
|
|
388
|
-
enableUnpublishedMode:
|
|
427
|
+
enableUnpublishedMode: z8.boolean().optional()
|
|
389
428
|
});
|
|
390
429
|
(0, import_tsafe.assert)();
|
|
391
|
-
var dataResourceSchema =
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
430
|
+
var dataResourceSchema = z8.union([
|
|
431
|
+
z8.string(),
|
|
432
|
+
z8.object({}).catchall(z8.unknown()),
|
|
433
|
+
z8.number(),
|
|
434
|
+
z8.boolean(),
|
|
435
|
+
z8.array(z8.unknown()),
|
|
436
|
+
z8.undefined()
|
|
398
437
|
]);
|
|
399
438
|
|
|
400
439
|
// src/preRequest.ts
|
|
@@ -406,33 +445,33 @@ var edgehancerMergedDataTypeSchema = mergedDataTypeSchema.omit({
|
|
|
406
445
|
id: true,
|
|
407
446
|
purgeKey: true
|
|
408
447
|
});
|
|
409
|
-
var preRequestEdgehancerDataResourceResultSchema =
|
|
410
|
-
errors:
|
|
411
|
-
warnings:
|
|
412
|
-
infos:
|
|
448
|
+
var preRequestEdgehancerDataResourceResultSchema = z9.strictObject({
|
|
449
|
+
errors: z9.array(resolvingIssueSchema).optional(),
|
|
450
|
+
warnings: z9.array(resolvingIssueSchema).optional(),
|
|
451
|
+
infos: z9.array(resolvingIssueSchema).optional(),
|
|
413
452
|
dataResource: edgehancerMergedDataTypeSchema
|
|
414
453
|
});
|
|
415
|
-
var preRequestEdgehancerResultSchema =
|
|
416
|
-
dataResources:
|
|
454
|
+
var preRequestEdgehancerResultSchema = z9.strictObject({
|
|
455
|
+
dataResources: z9.array(preRequestEdgehancerDataResourceResultSchema)
|
|
417
456
|
});
|
|
418
457
|
|
|
419
458
|
// src/request.ts
|
|
420
|
-
var
|
|
421
|
-
var requestEdgehancerDataResourceResolutionResultSchema =
|
|
422
|
-
errors:
|
|
459
|
+
var z10 = __toESM(require("zod"));
|
|
460
|
+
var requestEdgehancerDataResourceResolutionResultSchema = z10.strictObject({
|
|
461
|
+
errors: z10.array(resolvingIssueSchema).optional().describe(
|
|
423
462
|
"Errors that occurred while running your code to return with the API response, if any. Unhandled exceptions will be captured automatically."
|
|
424
463
|
),
|
|
425
|
-
warnings:
|
|
426
|
-
infos:
|
|
464
|
+
warnings: z10.array(resolvingIssueSchema).optional().describe("Warnings that occurred while running your code to return with the API response, if any."),
|
|
465
|
+
infos: z10.array(resolvingIssueSchema).optional().describe(
|
|
427
466
|
"Informational messages that occurred while running your code to return with the API response, if any."
|
|
428
467
|
),
|
|
429
|
-
surrogateKeys:
|
|
468
|
+
surrogateKeys: z10.array(z10.string()).optional().describe(
|
|
430
469
|
"Extra surrogate keys for the data that was fetched. These act as auxiliary cache keys that can allow granular purging of cached data."
|
|
431
470
|
),
|
|
432
|
-
result: dataResourceSchema.describe("The result of fetching the data resource")
|
|
471
|
+
result: dataResourceSchema.describe("The result of fetching the data resource").optional()
|
|
433
472
|
});
|
|
434
|
-
var requestEdgehancerResultSchema =
|
|
435
|
-
results:
|
|
473
|
+
var requestEdgehancerResultSchema = z10.strictObject({
|
|
474
|
+
results: z10.array(requestEdgehancerDataResourceResolutionResultSchema)
|
|
436
475
|
});
|
|
437
476
|
// Annotate the CommonJS export names for ESM import in node:
|
|
438
477
|
0 && (module.exports = {
|