@toolproof-core/schema 1.0.10 → 1.0.12
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/generated/artifacts/constants.d.ts +4 -3
- package/dist/generated/artifacts/constants.js +4 -3
- package/dist/generated/normalized/Genesis.json +50 -25
- package/dist/generated/resources/Genesis.json +68 -31
- package/dist/generated/schemas/Genesis.json +38 -19
- package/dist/generated/schemas/standalone/Job.json +7 -8
- package/dist/generated/schemas/standalone/ResourceType.json +4 -4
- package/dist/generated/schemas/standalone/RunnableStrategy.json +7 -7
- package/dist/generated/schemas/standalone/StrategyRun.json +7 -7
- package/dist/generated/types/standalone/Resource_Genesis.d.ts +1 -1
- package/dist/generated/types/standalone/Resource_Job.d.ts +1 -1
- package/dist/generated/types/standalone/Resource_RawStrategy.d.ts +1 -1
- package/dist/generated/types/standalone/Resource_ResourceType.d.ts +1 -1
- package/dist/generated/types/standalone/Resource_RunnableStrategy.d.ts +1 -1
- package/dist/generated/types/types.d.ts +229 -221
- package/dist/index.d.ts +1 -1
- package/dist/scripts/generateStandaloneType.js +2 -1
- package/dist/scripts/generateTypes.js +136 -3
- package/package.json +1 -1
- package/src/Genesis.json +54 -28
- package/src/generated/artifacts/constants.ts +4 -3
- package/src/generated/artifacts/dependencyMap.json +10 -6
- package/src/generated/artifacts/terminals.json +1 -0
- package/src/generated/normalized/Genesis.json +1785 -1760
- package/src/generated/resources/Genesis.json +2833 -2796
- package/src/generated/schemas/Genesis.json +1348 -1329
- package/src/generated/schemas/standalone/Job.json +7 -8
- package/src/generated/schemas/standalone/RawStrategy.json +580 -580
- package/src/generated/schemas/standalone/ResourceType.json +4 -4
- package/src/generated/schemas/standalone/RunnableStrategy.json +645 -645
- package/src/generated/schemas/standalone/StrategyRun.json +913 -913
- package/src/generated/types/standalone/Resource_Genesis.d.ts +1 -1
- package/src/generated/types/standalone/Resource_Job.d.ts +1 -1
- package/src/generated/types/standalone/Resource_RawStrategy.d.ts +1 -1
- package/src/generated/types/standalone/Resource_ResourceType.d.ts +1 -1
- package/src/generated/types/standalone/Resource_RunnableStrategy.d.ts +1 -1
- package/src/generated/types/types.d.ts +717 -709
- package/src/index.ts +48 -45
- package/src/scripts/generateStandaloneType.ts +3 -1
- package/src/scripts/generateTypes.ts +151 -5
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"$ref": "#/$defs/ResourceTypeIdentity"
|
|
11
11
|
},
|
|
12
12
|
"nucleusSchema": true,
|
|
13
|
-
"
|
|
13
|
+
"embeddingUriDict": {
|
|
14
14
|
"type": "object",
|
|
15
15
|
"propertyNames": {
|
|
16
16
|
"type": "string",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"$ref": "#/$defs/Uri"
|
|
21
21
|
},
|
|
22
22
|
"minProperties": 1,
|
|
23
|
-
"$comment": "A ResourceType may specify a set of embedding models that convert the raw data (or one of its alternative representations) into vector embeddings. The build process enforces that the keys of this
|
|
23
|
+
"$comment": "A ResourceType may specify a set of embedding models that convert the raw data (or one of its alternative representations) into vector embeddings. The build process enforces that the keys of this dict are members of a set of predefined embedding models."
|
|
24
24
|
},
|
|
25
|
-
"
|
|
25
|
+
"generatorUriDict": {
|
|
26
26
|
"type": "object",
|
|
27
27
|
"propertyNames": {
|
|
28
28
|
"type": "string",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"$ref": "#/$defs/Uri"
|
|
33
33
|
},
|
|
34
34
|
"minProperties": 1,
|
|
35
|
-
"$comment": "A ResourceType may specify a set of generators that generate different representations of its instances from the raw file. A ToolProof Resource is always backed by a raw file. This is also true for the Resources (of type ResourceType) defined in this file! The build process enforces that the keys of this
|
|
35
|
+
"$comment": "A ResourceType may specify a set of generators that generate different representations of its instances from the raw file. A ToolProof Resource is always backed by a raw file. This is also true for the Resources (of type ResourceType) defined in this file! The build process enforces that the keys of this dict are members of a set of predefined generators. GENERATOR-Json is an identifier for a generator that generates JSON data from the raw file. If the raw file is a JSON file, GENERATOR-Json is an implicit identity operation (i.e. an operation that does nothing) and must not be present in the dict. A ResourceType may also specify other generators, such as GENERATOR-LeanTerm, which generates an instance (or 'term' in Lean jargon) of a corresponding Lean type from the raw file. ResourceTypes that specify GENERATOR-LeanTerm must also specify a corresponding GENERATOR-LeanType. While the term-version runs when data instances enter the ecosystem, the type-version runs when the ResourceType itself enters the ecosystem."
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"allOf": [
|