Skip to content
This repository has been archived by the owner on Dec 16, 2020. It is now read-only.

Commit

Permalink
feat: move files to module folder
Browse files Browse the repository at this point in the history
  • Loading branch information
hungtcs committed Dec 19, 2019
1 parent c3e0b07 commit ebde1b1
Show file tree
Hide file tree
Showing 72 changed files with 108 additions and 55 deletions.
12 changes: 12 additions & 0 deletions README.md
@@ -0,0 +1,12 @@
mxGraph Type Definitions
====

This project is typescript definitions for [mxGraph].

### Usage
```
npm install --save-dev mxgraph-type-definitions
```


[mxGraph]: https://www.npmjs.com/package/mxgraph
13 changes: 13 additions & 0 deletions handler/index.d.ts
@@ -0,0 +1,13 @@
/// <reference path="./mxCellMarker.d.ts" />
/// <reference path="./mxConnectionHandler.d.ts" />
/// <reference path="./mxConstraintHandler.d.ts" />
/// <reference path="./mxEdgeHandler.d.ts" />
/// <reference path="./mxEdgeSegmentHandler.d.ts" />
/// <reference path="./mxElbowEdgeHandler.d.ts" />
/// <reference path="./mxGraphHandler.d.ts" />
/// <reference path="./mxPanningHandler.d.ts" />
/// <reference path="./mxPopupMenuHandler.d.ts" />
/// <reference path="./mxRubberband.d.ts" />
/// <reference path="./mxSelectionCellsHandler.d.ts" />
/// <reference path="./mxTooltipHandler.d.ts" />
/// <reference path="./mxVertexHandler.d.ts" />
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
61 changes: 8 additions & 53 deletions index.d.ts
@@ -1,54 +1,9 @@
/// <reference path="./mxClient.d.ts" />

/// <reference path="./view/mxGraph.d.ts" />
/// <reference path="./mxAbstractCanvas2D.d.ts" />
/// <reference path="./mxEventSource.d.ts" />
/// <reference path="./mxPopupMenu.d.ts" />
/// <reference path="./mxCell.d.ts" />
/// <reference path="./mxGeometry.d.ts" />
/// <reference path="./mxPopupMenuHandler.d.ts" />
/// <reference path="./mxCellEditor.d.ts" />
/// <reference path="./mxRectangle.d.ts" />
/// <reference path="./mxCellMarker.d.ts" />
/// <reference path="./mxGraphHandler.d.ts" />
/// <reference path="./mxRectangleShape.d.ts" />
/// <reference path="./mxCellOverlay.d.ts" />
/// <reference path="./mxGraphModel.d.ts" />
/// <reference path="./mxSelectionCellsHandler.d.ts" />
/// <reference path="./mxCellRenderer.d.ts" />
/// <reference path="./mxGraphSelectionModel.d.ts" />
/// <reference path="./mxSelectionModel.d.ts" />
/// <reference path="./mxCellState.d.ts" />
/// <reference path="./mxGraphView.d.ts" />
/// <reference path="./mxShape.d.ts" />
/// <reference path="./mxConnectionConstraint.d.ts" />
/// <reference path="./util/mxGuide.d.ts" />
/// <reference path="./mxStencil.d.ts" />
/// <reference path="./mxConnectionHandler.d.ts" />
/// <reference path="./mxImage.d.ts" />
/// <reference path="./mxStylesheet.d.ts" />
/// <reference path="./mxConnector.d.ts" />
/// <reference path="./mxImageBundle.d.ts" />
/// <reference path="./mxSvgCanvas2D.d.ts" />
/// <reference path="./mxConstants.d.ts" />
/// <reference path="./mxImageShape.d.ts" />
/// <reference path="./mxText.d.ts" />
/// <reference path="./mxConstraintHandler.d.ts" />
/// <reference path="./mxMarker.d.ts" />
/// <reference path="./mxTooltipHandler.d.ts" />
/// <reference path="./mxDictionary.d.ts" />
/// <reference path="./mxMouseEvent.d.ts" />
/// <reference path="./mxUndoableEdit.d.ts" />
/// <reference path="./mxEdgeHandler.d.ts" />
/// <reference path="./mxMultiplicity.d.ts" />
/// <reference path="./mxUrlConverter.d.ts" />
/// <reference path="./mxEdgeSegmentHandler.d.ts" />
/// <reference path="./mxPanningHandler.d.ts" />
/// <reference path="./mxVertexHandler.d.ts" />
/// <reference path="./mxEdgeStyle.d.ts" />
/// <reference path="./mxPanningManager.d.ts" />
/// <reference path="./mxVmlCanvas2D.d.ts" />
/// <reference path="./mxElbowEdgeHandler.d.ts" />
/// <reference path="./mxPoint.d.ts" />
/// <reference path="./mxEventObject.d.ts" />
/// <reference path="./mxPolyline.d.ts" />
/// <reference path="./mxPerimeter.d.ts" />
/// <reference path="./handler/index.d.ts" />
/// <reference path="./io/index.d.ts" />
/// <reference path="./layout/index.d.ts" />
/// <reference path="./model/index.d.ts" />
/// <reference path="./shape/index.d.ts" />
/// <reference path="./util/index.d.ts" />
/// <reference path="./view/index.d.ts" />
1 change: 1 addition & 0 deletions io/index.d.ts
@@ -0,0 +1 @@
/// <reference path="./mxCodec.d.ts" />
8 changes: 8 additions & 0 deletions layout/index.d.ts
@@ -0,0 +1,8 @@
/// <reference path="./mxCircleLayout.d.ts" />
/// <reference path="./mxCompactTreeLayout.d.ts" />
/// <reference path="./mxCompositeLayout.d.ts" />
/// <reference path="./mxFastOrganicLayout.d.ts" />
/// <reference path="./mxGraphLayout.d.ts" />
/// <reference path="./mxHierarchicalLayout.d.ts" />
/// <reference path="./mxParallelEdgeLayout.d.ts" />
/// <reference path="./mxStackLayout.d.ts" />
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions model/index.d.ts
@@ -0,0 +1,2 @@
/// <reference path="./mxGeometry.d.ts" />
/// <reference path="./mxGraphModel.d.ts" />
File renamed without changes.
File renamed without changes.
2 changes: 0 additions & 2 deletions mxSelectionModel.d.ts

This file was deleted.

20 changes: 20 additions & 0 deletions package.json
@@ -0,0 +1,20 @@
{
"name": "mxgraph-type-definitions",
"version": "1.0.0",
"description": "this project is typescript definitions for mxGraph",
"main": "index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/hungtcs/mxgraph-type-definitions.git"
},
"keywords": [
"mxgraph",
"types"
],
"author": "鸿则 <hungtcs@163.com>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/hungtcs/mxgraph-type-definitions/issues"
},
"homepage": "https://github.com/hungtcs/mxgraph-type-definitions#readme"
}
9 changes: 9 additions & 0 deletions shape/index.d.ts
@@ -0,0 +1,9 @@
/// <reference path="./mxConnector.d.ts" />
/// <reference path="./mxEllipse.d.ts" />
/// <reference path="./mxImageShape.d.ts" />
/// <reference path="./mxMarker.d.ts" />
/// <reference path="./mxPolyline.d.ts" />
/// <reference path="./mxRectangleShape.d.ts" />
/// <reference path="./mxShape.d.ts" />
/// <reference path="./mxStencil.d.ts" />
/// <reference path="./mxText.d.ts" />
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
23 changes: 23 additions & 0 deletions util/index.d.ts
@@ -0,0 +1,23 @@
/// <reference path="./mxAbstractCanvas2D.d.ts" />
/// <reference path="./mxCell.d.ts" />
/// <reference path="./mxConstants.d.ts" />
/// <reference path="./mxDictionary.d.ts" />
/// <reference path="./mxEvent.d.ts" />
/// <reference path="./mxEventObject.d.ts" />
/// <reference path="./mxEventSource.d.ts" />
/// <reference path="./mxGuide.d.ts" />
/// <reference path="./mxImageBundle.d.ts" />
/// <reference path="./mxImage.d.ts" />
/// <reference path="./mxMorphing.d.ts" />
/// <reference path="./mxMouseEvent.d.ts" />
/// <reference path="./mxPanningManager.d.ts" />
/// <reference path="./mxPoint.d.ts" />
/// <reference path="./mxPopupMenu.d.ts" />
/// <reference path="./mxRectangle.d.ts" />
/// <reference path="./mxResources.d.ts" />
/// <reference path="./mxSvgCanvas2D.d.ts" />
/// <reference path="./mxUndoableEdit.d.ts" />
/// <reference path="./mxUrlConverter.d.ts" />
/// <reference path="./mxUtils.d.ts" />
/// <reference path="./mxVmlCanvas2D.d.ts" />
/// <reference path="./mxXmlRequest.d.ts" />
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 12 additions & 0 deletions view/index.d.ts
@@ -0,0 +1,12 @@
/// <reference path="./mxCellEditor.d.ts" />
/// <reference path="./mxCellOverlay.d.ts" />
/// <reference path="./mxCellRenderer.d.ts" />
/// <reference path="./mxCellState.d.ts" />
/// <reference path="./mxConnectionConstraint.d.ts" />
/// <reference path="./mxEdgeStyle.d.ts" />
/// <reference path="./mxGraph.d.ts" />
/// <reference path="./mxGraphSelectionModel.d.ts" />
/// <reference path="./mxGraphView.d.ts" />
/// <reference path="./mxMultiplicity.d.ts" />
/// <reference path="./mxPerimeter.d.ts" />
/// <reference path="./mxStylesheet.d.ts" />
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit ebde1b1

Please sign in to comment.