@openpond/evals 0.10.5 → 0.10.6
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/LEARNING.md +6 -0
- package/dist/learning/admission.js +1 -0
- package/dist/learning/contracts.js +2 -1
- package/dist/types/learning/admission.d.ts +18 -0
- package/dist/types/learning/admission.d.ts.map +1 -1
- package/dist/types/learning/batch-service.d.ts +14 -0
- package/dist/types/learning/batch-service.d.ts.map +1 -1
- package/dist/types/learning/contracts.d.ts +54 -0
- package/dist/types/learning/contracts.d.ts.map +1 -1
- package/dist/types/learning/operations.d.ts +72 -0
- package/dist/types/learning/operations.d.ts.map +1 -1
- package/dist/types/learning/repository.d.ts +18 -0
- package/dist/types/learning/repository.d.ts.map +1 -1
- package/dist/types/learning/transport.d.ts +54 -0
- package/dist/types/learning/transport.d.ts.map +1 -1
- package/package.json +1 -1
- package/schemas/learning/v1/command-request.schema.json +201 -136
- package/schemas/learning/v1/definition.schema.json +116 -14
|
@@ -55,6 +55,13 @@
|
|
|
55
55
|
},
|
|
56
56
|
"additionalProperties": {}
|
|
57
57
|
},
|
|
58
|
+
"requiredOutputs": {
|
|
59
|
+
"maxItems": 1000,
|
|
60
|
+
"type": "array",
|
|
61
|
+
"items": {
|
|
62
|
+
"$ref": "#/$defs/__schema1"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
58
65
|
"rewardBinding": {
|
|
59
66
|
"type": "object",
|
|
60
67
|
"properties": {
|
|
@@ -62,7 +69,7 @@
|
|
|
62
69
|
"$ref": "#/$defs/__schema0"
|
|
63
70
|
},
|
|
64
71
|
"contentHash": {
|
|
65
|
-
"$ref": "#/$defs/
|
|
72
|
+
"$ref": "#/$defs/__schema2"
|
|
66
73
|
},
|
|
67
74
|
"revision": {
|
|
68
75
|
"type": "integer",
|
|
@@ -86,7 +93,7 @@
|
|
|
86
93
|
"$ref": "#/$defs/__schema0"
|
|
87
94
|
},
|
|
88
95
|
"contentHash": {
|
|
89
|
-
"$ref": "#/$defs/
|
|
96
|
+
"$ref": "#/$defs/__schema2"
|
|
90
97
|
}
|
|
91
98
|
},
|
|
92
99
|
"required": [
|
|
@@ -179,7 +186,7 @@
|
|
|
179
186
|
"maxItems": 5,
|
|
180
187
|
"type": "array",
|
|
181
188
|
"items": {
|
|
182
|
-
"$ref": "#/$defs/
|
|
189
|
+
"$ref": "#/$defs/__schema3"
|
|
183
190
|
}
|
|
184
191
|
},
|
|
185
192
|
"networkPolicy": {
|
|
@@ -215,7 +222,7 @@
|
|
|
215
222
|
"$ref": "#/$defs/__schema0"
|
|
216
223
|
},
|
|
217
224
|
"contentHash": {
|
|
218
|
-
"$ref": "#/$defs/
|
|
225
|
+
"$ref": "#/$defs/__schema2"
|
|
219
226
|
}
|
|
220
227
|
},
|
|
221
228
|
"required": [
|
|
@@ -228,14 +235,14 @@
|
|
|
228
235
|
"maxItems": 200,
|
|
229
236
|
"type": "array",
|
|
230
237
|
"items": {
|
|
231
|
-
"$ref": "#/$defs/
|
|
238
|
+
"$ref": "#/$defs/__schema4"
|
|
232
239
|
}
|
|
233
240
|
},
|
|
234
241
|
"capabilities": {
|
|
235
242
|
"maxItems": 200,
|
|
236
243
|
"type": "array",
|
|
237
244
|
"items": {
|
|
238
|
-
"$ref": "#/$defs/
|
|
245
|
+
"$ref": "#/$defs/__schema5"
|
|
239
246
|
}
|
|
240
247
|
},
|
|
241
248
|
"verifierSetRelease": {
|
|
@@ -245,7 +252,7 @@
|
|
|
245
252
|
"$ref": "#/$defs/__schema0"
|
|
246
253
|
},
|
|
247
254
|
"contentHash": {
|
|
248
|
-
"$ref": "#/$defs/
|
|
255
|
+
"$ref": "#/$defs/__schema2"
|
|
249
256
|
}
|
|
250
257
|
},
|
|
251
258
|
"required": [
|
|
@@ -264,7 +271,7 @@
|
|
|
264
271
|
"additionalProperties": false
|
|
265
272
|
},
|
|
266
273
|
"contentHash": {
|
|
267
|
-
"$ref": "#/$defs/
|
|
274
|
+
"$ref": "#/$defs/__schema2"
|
|
268
275
|
}
|
|
269
276
|
},
|
|
270
277
|
"required": [
|
|
@@ -291,10 +298,105 @@
|
|
|
291
298
|
"maxLength": 240
|
|
292
299
|
},
|
|
293
300
|
"__schema1": {
|
|
301
|
+
"type": "object",
|
|
302
|
+
"properties": {
|
|
303
|
+
"path": {
|
|
304
|
+
"type": "string",
|
|
305
|
+
"minLength": 1,
|
|
306
|
+
"maxLength": 2000
|
|
307
|
+
},
|
|
308
|
+
"mediaType": {
|
|
309
|
+
"type": "string",
|
|
310
|
+
"minLength": 1,
|
|
311
|
+
"maxLength": 200
|
|
312
|
+
},
|
|
313
|
+
"schemaRef": {
|
|
314
|
+
"default": null,
|
|
315
|
+
"anyOf": [
|
|
316
|
+
{
|
|
317
|
+
"type": "object",
|
|
318
|
+
"properties": {
|
|
319
|
+
"id": {
|
|
320
|
+
"$ref": "#/$defs/__schema0"
|
|
321
|
+
},
|
|
322
|
+
"path": {
|
|
323
|
+
"type": "string",
|
|
324
|
+
"minLength": 1,
|
|
325
|
+
"maxLength": 2000
|
|
326
|
+
},
|
|
327
|
+
"contentHash": {
|
|
328
|
+
"$ref": "#/$defs/__schema2"
|
|
329
|
+
},
|
|
330
|
+
"sizeBytes": {
|
|
331
|
+
"type": "integer",
|
|
332
|
+
"minimum": 0,
|
|
333
|
+
"maximum": 250000000
|
|
334
|
+
},
|
|
335
|
+
"mediaType": {
|
|
336
|
+
"type": "string",
|
|
337
|
+
"minLength": 1,
|
|
338
|
+
"maxLength": 200
|
|
339
|
+
},
|
|
340
|
+
"visibility": {
|
|
341
|
+
"type": "string",
|
|
342
|
+
"enum": [
|
|
343
|
+
"policy",
|
|
344
|
+
"verifier",
|
|
345
|
+
"host_private"
|
|
346
|
+
]
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
"required": [
|
|
350
|
+
"id",
|
|
351
|
+
"path",
|
|
352
|
+
"contentHash",
|
|
353
|
+
"sizeBytes",
|
|
354
|
+
"mediaType",
|
|
355
|
+
"visibility"
|
|
356
|
+
],
|
|
357
|
+
"additionalProperties": false
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"type": "null"
|
|
361
|
+
}
|
|
362
|
+
]
|
|
363
|
+
},
|
|
364
|
+
"maxBytes": {
|
|
365
|
+
"default": null,
|
|
366
|
+
"anyOf": [
|
|
367
|
+
{
|
|
368
|
+
"type": "integer",
|
|
369
|
+
"exclusiveMinimum": 0,
|
|
370
|
+
"maximum": 250000000
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"type": "null"
|
|
374
|
+
}
|
|
375
|
+
]
|
|
376
|
+
},
|
|
377
|
+
"metadata": {
|
|
378
|
+
"default": {},
|
|
379
|
+
"type": "object",
|
|
380
|
+
"propertyNames": {
|
|
381
|
+
"type": "string"
|
|
382
|
+
},
|
|
383
|
+
"additionalProperties": {}
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
"required": [
|
|
387
|
+
"path",
|
|
388
|
+
"mediaType",
|
|
389
|
+
"schemaRef",
|
|
390
|
+
"maxBytes",
|
|
391
|
+
"metadata"
|
|
392
|
+
],
|
|
393
|
+
"additionalProperties": false
|
|
394
|
+
},
|
|
395
|
+
"__schema2": {
|
|
294
396
|
"type": "string",
|
|
295
397
|
"pattern": "^[a-f0-9]{64}$"
|
|
296
398
|
},
|
|
297
|
-
"
|
|
399
|
+
"__schema3": {
|
|
298
400
|
"type": "string",
|
|
299
401
|
"enum": [
|
|
300
402
|
"create",
|
|
@@ -304,7 +406,7 @@
|
|
|
304
406
|
"destroy"
|
|
305
407
|
]
|
|
306
408
|
},
|
|
307
|
-
"
|
|
409
|
+
"__schema4": {
|
|
308
410
|
"type": "object",
|
|
309
411
|
"properties": {
|
|
310
412
|
"name": {
|
|
@@ -326,7 +428,7 @@
|
|
|
326
428
|
"additionalProperties": {}
|
|
327
429
|
},
|
|
328
430
|
"inputSchemaHash": {
|
|
329
|
-
"$ref": "#/$defs/
|
|
431
|
+
"$ref": "#/$defs/__schema2"
|
|
330
432
|
},
|
|
331
433
|
"sideEffect": {
|
|
332
434
|
"type": "string",
|
|
@@ -351,7 +453,7 @@
|
|
|
351
453
|
],
|
|
352
454
|
"additionalProperties": false
|
|
353
455
|
},
|
|
354
|
-
"
|
|
456
|
+
"__schema5": {
|
|
355
457
|
"type": "object",
|
|
356
458
|
"properties": {
|
|
357
459
|
"id": {
|
|
@@ -365,7 +467,7 @@
|
|
|
365
467
|
"maxItems": 100,
|
|
366
468
|
"type": "array",
|
|
367
469
|
"items": {
|
|
368
|
-
"$ref": "#/$defs/
|
|
470
|
+
"$ref": "#/$defs/__schema6"
|
|
369
471
|
}
|
|
370
472
|
},
|
|
371
473
|
"portability": {
|
|
@@ -386,7 +488,7 @@
|
|
|
386
488
|
],
|
|
387
489
|
"additionalProperties": false
|
|
388
490
|
},
|
|
389
|
-
"
|
|
491
|
+
"__schema6": {
|
|
390
492
|
"type": "string",
|
|
391
493
|
"minLength": 1,
|
|
392
494
|
"maxLength": 500
|