We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d3205c commit eaf1424Copy full SHA for eaf1424
src/state.ts
@@ -86,21 +86,6 @@ export type SourceData = {
86
labels?: ImageLabels;
87
};
88
89
-export type VivProps = ConstructorParameters<typeof MultiscaleImageLayer>[0];
90
-
91
-export interface BaseLayerProps {
92
- id: string;
93
- contrastLimits: VivProps["contrastLimits"];
94
- colors: [r: number, g: number, b: number][];
95
- channelsVisible: NonNullable<VivProps["channelsVisible"]>;
96
- opacity: NonNullable<VivProps["opacity"]>;
97
- colormap: string; // TODO: more precise
98
- selections: number[][];
99
- modelMatrix: Matrix4;
100
- contrastLimitsRange: [min: number, max: number][];
101
- onClick?: (e: OnClickData) => void;
102
-}
103
104
type LayerType = "image" | "multiscale" | "grid";
105
type LayerPropsMap = {
106
image: ImageLayerProps;
0 commit comments