@digipair/skill-web-editor 0.72.5 → 0.72.7
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/package.json +1 -1
- package/pins-to-blockly.cjs.js +8 -4
- package/pins-to-blockly.esm.js +8 -4
package/package.json
CHANGED
package/pins-to-blockly.cjs.js
CHANGED
@@ -268,7 +268,7 @@ function convertPinsLibrariesToBlocklyLibraries(pinsLibraries) {
|
|
268
268
|
return ((_item_schema = item.schema) == null ? void 0 : _item_schema.type) === 'array' && (((_item_schema_items = item.schema.items) == null ? void 0 : _item_schema_items.$ref) === 'https://schemas.digipair.ai/pinsSettings' || ((_item_schema_items1 = item.schema.items) == null ? void 0 : (_item_schema_items_$ref = _item_schema_items1.$ref) == null ? void 0 : _item_schema_items_$ref.includes('#/components/schemas/')));
|
269
269
|
}).map((item)=>index._extends({}, item, {
|
270
270
|
name: item.name + '__EVALUATE',
|
271
|
-
summary: item.summary + ' (evaluate)',
|
271
|
+
summary: (item.summary || item.name) + ' (evaluate)',
|
272
272
|
required: false,
|
273
273
|
schema: {
|
274
274
|
type: 'string'
|
@@ -286,7 +286,11 @@ function convertPinsLibrariesToBlocklyLibraries(pinsLibraries) {
|
|
286
286
|
return propertyValue.type === 'array' && (((_propertyValue_items = propertyValue.items) == null ? void 0 : _propertyValue_items.$ref) === 'https://schemas.digipair.ai/pinsSettings' || ((_propertyValue_items1 = propertyValue.items) == null ? void 0 : (_propertyValue_items_$ref = _propertyValue_items1.$ref) == null ? void 0 : _propertyValue_items_$ref.includes('#/components/schemas/')));
|
287
287
|
}).reduce((acc, [propertyKey, property])=>index._extends({}, acc, {
|
288
288
|
[propertyKey + '__EVALUATE']: index._extends({}, property, {
|
289
|
-
|
289
|
+
summary: (property.summary || propertyKey) + ' (evaluate)',
|
290
|
+
required: false,
|
291
|
+
schema: {
|
292
|
+
type: 'string'
|
293
|
+
}
|
290
294
|
})
|
291
295
|
}), {}))
|
292
296
|
})
|
@@ -301,7 +305,7 @@ function convertPinsLibrariesToBlocklyLibraries(pinsLibraries) {
|
|
301
305
|
return ((_item_schema = item.schema) == null ? void 0 : _item_schema.type) === 'array' && (((_item_schema_items = item.schema.items) == null ? void 0 : _item_schema_items.$ref) === 'https://schemas.digipair.ai/pinsSettings' || ((_item_schema_items1 = item.schema.items) == null ? void 0 : (_item_schema_items_$ref = _item_schema_items1.$ref) == null ? void 0 : _item_schema_items_$ref.includes('#/components/schemas/')));
|
302
306
|
}).map((item)=>index._extends({}, item, {
|
303
307
|
name: item.name + '__EVALUATE',
|
304
|
-
summary: item.summary + ' (evaluate)',
|
308
|
+
summary: (item.summary || item.name) + ' (evaluate)',
|
305
309
|
required: false,
|
306
310
|
schema: {
|
307
311
|
type: 'string'
|
@@ -315,7 +319,7 @@ function convertPinsLibrariesToBlocklyLibraries(pinsLibraries) {
|
|
315
319
|
return ((_item_schema = item.schema) == null ? void 0 : _item_schema.type) === 'array' && (((_item_schema_items = item.schema.items) == null ? void 0 : _item_schema_items.$ref) === 'https://schemas.digipair.ai/pinsSettings' || ((_item_schema_items1 = item.schema.items) == null ? void 0 : (_item_schema_items_$ref = _item_schema_items1.$ref) == null ? void 0 : _item_schema_items_$ref.includes('#/components/schemas/')));
|
316
320
|
}).map((item)=>index._extends({}, item, {
|
317
321
|
name: item.name + '__EVALUATE',
|
318
|
-
summary: item.summary + ' (evaluate)',
|
322
|
+
summary: (item.summary || item.name) + ' (evaluate)',
|
319
323
|
required: false,
|
320
324
|
schema: {
|
321
325
|
type: 'string'
|
package/pins-to-blockly.esm.js
CHANGED
@@ -266,7 +266,7 @@ function convertPinsLibrariesToBlocklyLibraries(pinsLibraries) {
|
|
266
266
|
return ((_item_schema = item.schema) == null ? void 0 : _item_schema.type) === 'array' && (((_item_schema_items = item.schema.items) == null ? void 0 : _item_schema_items.$ref) === 'https://schemas.digipair.ai/pinsSettings' || ((_item_schema_items1 = item.schema.items) == null ? void 0 : (_item_schema_items_$ref = _item_schema_items1.$ref) == null ? void 0 : _item_schema_items_$ref.includes('#/components/schemas/')));
|
267
267
|
}).map((item)=>_extends({}, item, {
|
268
268
|
name: item.name + '__EVALUATE',
|
269
|
-
summary: item.summary + ' (evaluate)',
|
269
|
+
summary: (item.summary || item.name) + ' (evaluate)',
|
270
270
|
required: false,
|
271
271
|
schema: {
|
272
272
|
type: 'string'
|
@@ -284,7 +284,11 @@ function convertPinsLibrariesToBlocklyLibraries(pinsLibraries) {
|
|
284
284
|
return propertyValue.type === 'array' && (((_propertyValue_items = propertyValue.items) == null ? void 0 : _propertyValue_items.$ref) === 'https://schemas.digipair.ai/pinsSettings' || ((_propertyValue_items1 = propertyValue.items) == null ? void 0 : (_propertyValue_items_$ref = _propertyValue_items1.$ref) == null ? void 0 : _propertyValue_items_$ref.includes('#/components/schemas/')));
|
285
285
|
}).reduce((acc, [propertyKey, property])=>_extends({}, acc, {
|
286
286
|
[propertyKey + '__EVALUATE']: _extends({}, property, {
|
287
|
-
|
287
|
+
summary: (property.summary || propertyKey) + ' (evaluate)',
|
288
|
+
required: false,
|
289
|
+
schema: {
|
290
|
+
type: 'string'
|
291
|
+
}
|
288
292
|
})
|
289
293
|
}), {}))
|
290
294
|
})
|
@@ -299,7 +303,7 @@ function convertPinsLibrariesToBlocklyLibraries(pinsLibraries) {
|
|
299
303
|
return ((_item_schema = item.schema) == null ? void 0 : _item_schema.type) === 'array' && (((_item_schema_items = item.schema.items) == null ? void 0 : _item_schema_items.$ref) === 'https://schemas.digipair.ai/pinsSettings' || ((_item_schema_items1 = item.schema.items) == null ? void 0 : (_item_schema_items_$ref = _item_schema_items1.$ref) == null ? void 0 : _item_schema_items_$ref.includes('#/components/schemas/')));
|
300
304
|
}).map((item)=>_extends({}, item, {
|
301
305
|
name: item.name + '__EVALUATE',
|
302
|
-
summary: item.summary + ' (evaluate)',
|
306
|
+
summary: (item.summary || item.name) + ' (evaluate)',
|
303
307
|
required: false,
|
304
308
|
schema: {
|
305
309
|
type: 'string'
|
@@ -313,7 +317,7 @@ function convertPinsLibrariesToBlocklyLibraries(pinsLibraries) {
|
|
313
317
|
return ((_item_schema = item.schema) == null ? void 0 : _item_schema.type) === 'array' && (((_item_schema_items = item.schema.items) == null ? void 0 : _item_schema_items.$ref) === 'https://schemas.digipair.ai/pinsSettings' || ((_item_schema_items1 = item.schema.items) == null ? void 0 : (_item_schema_items_$ref = _item_schema_items1.$ref) == null ? void 0 : _item_schema_items_$ref.includes('#/components/schemas/')));
|
314
318
|
}).map((item)=>_extends({}, item, {
|
315
319
|
name: item.name + '__EVALUATE',
|
316
|
-
summary: item.summary + ' (evaluate)',
|
320
|
+
summary: (item.summary || item.name) + ' (evaluate)',
|
317
321
|
required: false,
|
318
322
|
schema: {
|
319
323
|
type: 'string'
|