label-studio
Version:
Data Labeling Tool that is backend agnostic and can be embedded into your applications
46 lines (41 loc) • 1.25 kB
JavaScript
import { types } from "mobx-state-tree";
// export { default as Zoom } from "./Zoom";
// export { default as KeyPoint } from "./KeyPoint";
import { AudioRegionModel } from "./AudioRegion";
import { BrushRegionModel, HtxBrush } from "./BrushRegion";
import { HyperTextRegionModel } from "./HyperTextRegion";
import { KeyPointRegionModel, HtxKeyPoint } from "./KeyPointRegion";
import { PolygonPoint, PolygonPointView } from "./PolygonPoint";
import { PolygonRegionModel, HtxPolygon } from "./PolygonRegion";
import { RectRegionModel, HtxRectangle } from "./RectRegion";
import { TextAreaRegionModel, HtxTextAreaRegion } from "./TextAreaRegion";
import { TextRegionModel, HtxTextRegion } from "./TextRegion";
const AllRegionsType = types.union(
AudioRegionModel,
BrushRegionModel,
HyperTextRegionModel,
KeyPointRegionModel,
PolygonRegionModel,
RectRegionModel,
TextAreaRegionModel,
TextRegionModel,
);
export {
AllRegionsType,
AudioRegionModel,
BrushRegionModel,
HtxBrush,
HtxKeyPoint,
HtxPolygon,
HtxRectangle,
HtxTextAreaRegion,
HtxTextRegion,
HyperTextRegionModel,
KeyPointRegionModel,
PolygonPoint,
PolygonPointView,
PolygonRegionModel,
RectRegionModel,
TextAreaRegionModel,
TextRegionModel,
};