@vitessce/schemas 3.3.9 → 3.3.11
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.js +5 -0
- package/dist-tsc/file-def-options-legacy.d.ts +1 -1
- package/dist-tsc/file-def-options-legacy.d.ts.map +1 -1
- package/dist-tsc/previous-config-meta.d.ts +2 -2
- package/dist-tsc/previous-config-meta.d.ts.map +1 -1
- package/dist-tsc/shared.d.ts +5 -5
- package/dist-tsc/shared.d.ts.map +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -8026,8 +8026,11 @@ const CoordinationType$1 = {
|
|
|
8026
8026
|
PHOTOMETRIC_INTERPRETATION: "photometricInterpretation",
|
|
8027
8027
|
// For 3D volume rendering
|
|
8028
8028
|
SPATIAL_RENDERING_MODE: "spatialRenderingMode",
|
|
8029
|
+
// For whole spatial view
|
|
8029
8030
|
VOLUMETRIC_RENDERING_ALGORITHM: "volumetricRenderingAlgorithm",
|
|
8031
|
+
// Could be per-image-layer
|
|
8030
8032
|
SPATIAL_TARGET_RESOLUTION: "spatialTargetResolution",
|
|
8033
|
+
// Per-spatial-layer
|
|
8031
8034
|
// For clipping plane sliders
|
|
8032
8035
|
SPATIAL_SLICE_X: "spatialSliceX",
|
|
8033
8036
|
SPATIAL_SLICE_Y: "spatialSliceY",
|
|
@@ -8036,10 +8039,12 @@ const CoordinationType$1 = {
|
|
|
8036
8039
|
SPOT_LAYER: "spotLayer",
|
|
8037
8040
|
POINT_LAYER: "pointLayer",
|
|
8038
8041
|
SPATIAL_SPOT_RADIUS: "spatialSpotRadius",
|
|
8042
|
+
// In micrometers?
|
|
8039
8043
|
SPATIAL_SPOT_FILLED: "spatialSpotFilled",
|
|
8040
8044
|
SPATIAL_SPOT_STROKE_WIDTH: "spatialSpotStrokeWidth",
|
|
8041
8045
|
SPATIAL_LAYER_COLOR: "spatialLayerColor",
|
|
8042
8046
|
PIXEL_HIGHLIGHT: "pixelHighlight",
|
|
8047
|
+
// Per-image-layer
|
|
8043
8048
|
TOOLTIP_CROSSHAIRS_VISIBLE: "tooltipCrosshairsVisible",
|
|
8044
8049
|
LEGEND_VISIBLE: "legendVisible",
|
|
8045
8050
|
SPATIAL_CHANNEL_LABELS_VISIBLE: "spatialChannelLabelsVisible",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-def-options-legacy.d.ts","sourceRoot":"","sources":["../src/file-def-options-legacy.js"],"names":[],"mappings":"AAEA;;;;;;;;;IAGc;AAEd;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAUG;AAEH;;;;;;;;;;;;YAOI;AAEJ;;;;;;;;;;;;;;;GAKG"}
|
|
1
|
+
{"version":3,"file":"file-def-options-legacy.d.ts","sourceRoot":"","sources":["../src/file-def-options-legacy.js"],"names":[],"mappings":"AAEA;;;;;;;;;IAGc;AAEd;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAUG;AAEH;;;;;;;;;;;;YAOI;AAEJ;;;;;;;;;;;;;;;GAKG;kBAjCe,KAAK"}
|
|
@@ -245,7 +245,7 @@ export declare const latestConfigSchema: z.ZodObject<{
|
|
|
245
245
|
coordinationSpace?: z.objectInputType<{}, z.ZodRecord<z.ZodString, z.ZodAny>, "strip"> | undefined;
|
|
246
246
|
uid?: string | undefined;
|
|
247
247
|
}>;
|
|
248
|
-
export
|
|
249
|
-
export
|
|
248
|
+
export type AnyVersionConfig = z.infer<typeof configSchema0_1_0> | z.infer<typeof configSchema1_0_0> | z.infer<typeof configSchema1_0_1> | z.infer<typeof configSchema1_0_2> | z.infer<typeof configSchema1_0_3> | z.infer<typeof configSchema1_0_4> | z.infer<typeof configSchema1_0_5> | z.infer<typeof configSchema1_0_6> | z.infer<typeof configSchema1_0_7> | z.infer<typeof configSchema1_0_8> | z.infer<typeof configSchema1_0_9> | z.infer<typeof configSchema1_0_10> | z.infer<typeof configSchema1_0_11> | z.infer<typeof configSchema1_0_12> | z.infer<typeof configSchema1_0_13> | z.infer<typeof configSchema1_0_14> | z.infer<typeof configSchema1_0_15> | z.infer<typeof configSchema1_0_16>;
|
|
249
|
+
export type UpgradeFunction = (config: any) => AnyVersionConfig;
|
|
250
250
|
export declare const SCHEMA_HANDLERS: [z.ZodTypeAny, UpgradeFunction][];
|
|
251
251
|
//# sourceMappingURL=previous-config-meta.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"previous-config-meta.d.ts","sourceRoot":"","sources":["../src/previous-config-meta.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,8BAA8B,CAAC;AAqBtC,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAqB,CAAC;AAErD,
|
|
1
|
+
{"version":3,"file":"previous-config-meta.d.ts","sourceRoot":"","sources":["../src/previous-config-meta.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,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kB,CAAC,GAClC,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,GAClC,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,GAClC,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,GAClC,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,GAClC,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAErC,MAAM,MAAM,eAAe,GAAG,CAAC,MAAM,EAAE,GAAG,KAAK,gBAAgB,CAAC;AAEhE,eAAO,MAAM,eAAe,EAAE,CAAC,CAAC,CAAC,UAAU,EAAE,eAAe,CAAC,EAkB5D,CAAC"}
|
package/dist-tsc/shared.d.ts
CHANGED
|
@@ -27,8 +27,8 @@ declare const treeNodeLeaf: z.ZodObject<{
|
|
|
27
27
|
name: string;
|
|
28
28
|
color?: number[] | undefined;
|
|
29
29
|
}>;
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
type TreeNodeLeaf = z.input<typeof treeNodeLeaf>;
|
|
31
|
+
type TreeNodeNonLeaf = z.input<typeof treeNodeBase> & {
|
|
32
32
|
children: Array<TreeNodeNonLeaf | TreeNodeLeaf>;
|
|
33
33
|
};
|
|
34
34
|
declare const treeNodeLeafProbabilistic: z.ZodObject<{
|
|
@@ -44,11 +44,11 @@ declare const treeNodeLeafProbabilistic: z.ZodObject<{
|
|
|
44
44
|
name: string;
|
|
45
45
|
color?: number[] | undefined;
|
|
46
46
|
}>;
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
type TreeNodeLeafProbabilistic = z.infer<typeof treeNodeLeafProbabilistic>;
|
|
48
|
+
type TreeNodeNonLeafProbabilistic = (z.infer<typeof treeNodeBase> & {
|
|
49
49
|
children: Array<TreeNodeNonLeafProbabilistic | TreeNodeLeafProbabilistic>;
|
|
50
50
|
});
|
|
51
|
-
|
|
51
|
+
type TreeNode = TreeNodeLeaf | TreeNodeNonLeaf | TreeNodeLeafProbabilistic | TreeNodeNonLeafProbabilistic;
|
|
52
52
|
/**
|
|
53
53
|
* Transform a node object using a transform function.
|
|
54
54
|
* @param {object} node A node object.
|
package/dist-tsc/shared.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../src/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,oBAAoB,aAAa,CAAC;AAC/C,eAAO,MAAM,qBAAqB,aAAa,CAAC;AAShD,eAAO,MAAM,2BAA2B,sFAGvC,CAAC;AAEF,eAAO,MAAM,6BAA6B,0IAMzC,CAAC;AAEF,eAAO,MAAM,QAAQ,iCACT,CAAC;AAEb,QAAA,MAAM,YAAY;;;;;;;;;EAGhB,CAAC;AAEH,QAAA,MAAM,YAAY;;;;;;;;;;;;EAEhB,CAAC;AAEH,
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../src/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,oBAAoB,aAAa,CAAC;AAC/C,eAAO,MAAM,qBAAqB,aAAa,CAAC;AAShD,eAAO,MAAM,2BAA2B,sFAGvC,CAAC;AAEF,eAAO,MAAM,6BAA6B,0IAMzC,CAAC;AAEF,eAAO,MAAM,QAAQ,iCACT,CAAC;AAEb,QAAA,MAAM,YAAY;;;;;;;;;EAGhB,CAAC;AAEH,QAAA,MAAM,YAAY;;;;;;;;;;;;EAEhB,CAAC;AAEH,KAAK,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAEjD,KAAK,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,GAAG;IACpD,QAAQ,EAAE,KAAK,CAAC,eAAe,GAAG,YAAY,CAAC,CAAC;CACjD,CAAC;AAWF,QAAA,MAAM,yBAAyB;;;;;;;;;;;;EAE7B,CAAC;AAEH,KAAK,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE3E,KAAK,4BAA4B,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,GAAG;IAClE,QAAQ,EAAE,KAAK,CAAC,4BAA4B,GAAG,yBAAyB,CAAC,CAAC;CAC3E,CAAC,CAAC;AAcH,KAAK,QAAQ,GACX,YAAY,GACV,eAAe,GACf,yBAAyB,GACzB,4BAA4B,CAAC;AAEjC;;;;;;;;;;;GAWG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,QAAQ,EACd,SAAS,EAAE,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,OAAO,EAC5C,SAAS,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,GAAG,EACnC,gBAAgB,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,EACjC,QAAQ,GAAE,MAAM,EAAE,GAAG,IAAW,GAC/B,QAAQ,CAoBV;AAED,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;EAetB,CAAC;AAEL,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;WAM9B,CAAC;AAEJ,eAAO,MAAM,UAAU,iCAAsB,CAAC;AAE9C,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUtB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/schemas",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.11",
|
|
4
4
|
"author": "Gehlenborg Lab",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"semver": "^7.3.8",
|
|
25
25
|
"uuid": "^9.0.0",
|
|
26
26
|
"zod": "^3.21.4",
|
|
27
|
-
"@vitessce/constants": "3.3.
|
|
28
|
-
"@vitessce/
|
|
29
|
-
"@vitessce/utils": "3.3.
|
|
30
|
-
"@vitessce/
|
|
27
|
+
"@vitessce/constants-internal": "3.3.11",
|
|
28
|
+
"@vitessce/plugins": "3.3.11",
|
|
29
|
+
"@vitessce/utils": "3.3.11",
|
|
30
|
+
"@vitessce/constants": "3.3.11"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"json-schema-to-zod": "^0.6.3",
|