@spaceteams/weft-layer-provenance 0.6.0 → 0.7.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 +4 -4
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -19,12 +19,12 @@ type Provenance = {
|
|
|
19
19
|
* m.annotate(sensor, "provenance", provenance("GPS", 0.9, ["field-measured"]));
|
|
20
20
|
* ```
|
|
21
21
|
*/
|
|
22
|
-
declare function provenance(source: string, confidence?: number, tags?: string[]): Provenance;
|
|
22
|
+
export declare function provenance(source: string, confidence?: number, tags?: string[]): Provenance;
|
|
23
23
|
/**
|
|
24
24
|
* Creates derived provenance from a set of dependency provenance values.
|
|
25
25
|
* The confidence is the minimum across all deps.
|
|
26
26
|
*/
|
|
27
|
-
declare function derived(deps: ReadonlyMap<KeyId, Provenance>): Provenance;
|
|
27
|
+
export declare function derived(deps: ReadonlyMap<KeyId, Provenance>): Provenance;
|
|
28
28
|
/**
|
|
29
29
|
* A source-tracking layer with confidence scores.
|
|
30
30
|
*
|
|
@@ -32,6 +32,6 @@ declare function derived(deps: ReadonlyMap<KeyId, Provenance>): Provenance;
|
|
|
32
32
|
* Computed values automatically receive `source: "derived"` with the minimum confidence
|
|
33
33
|
* of their dependencies.
|
|
34
34
|
*/
|
|
35
|
-
declare const provenanceLayer: LayerEvaluator<Provenance>;
|
|
35
|
+
export declare const provenanceLayer: LayerEvaluator<Provenance>;
|
|
36
36
|
//#endregion
|
|
37
|
-
export {
|
|
37
|
+
export type { Provenance };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spaceteams/weft-layer-provenance",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "Source tracking and confidence scoring layer for @spaceteams/weft",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
],
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@spaceteams/weft": "0.
|
|
30
|
+
"@spaceteams/weft": "0.7.0"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build": "tsdown",
|