Skip to content

Commit f2bda31

Browse files
committed
Convert to TypeScript, for maintainability and type definitions
1 parent e339a2b commit f2bda31

34 files changed

+2102
-56
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
*.csproj
1212
*.sln
1313
*.log
14+
*.tgz
15+
.vscode
1416

1517
node_modules
1618
bin

breeze-sequelize/README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# breeze-sequelize
2+
3+
The `breeze-sequelize` library lets you easily build a Sequelize server for managing relational data.
4+
Starting with Breeze metadata, it will create the Sequelize model for you, and Sequelize can create a database from the model.
5+
6+
Once you have the model and database, `breeze-sequelize` makes it easy to query and update data from your Breeze client.
7+
8+
## Repo
9+
10+
The [src](./src) folder contains the TypeScript source code.
11+
12+
The [test](./test) folder contains the unit tests (work in progress).
13+
14+
The [test/ExpressDemo](./test/ExpressDemo) folder contains a complete server using breeze-sequelize, for running an end-to-end test suite.
15+
16+
## Documentation
17+
18+
[Breeze/Sequelize documentation here](http://breeze.github.io/doc-node-sequelize/ "breeze-sequelize documentation")
19+
20+
[Learn more about Breeze](http://breeze.github.io/doc-js/ "breezejs").
21+

breeze-sequelize/old/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# The "breeze-sequelize" npm package
2+
3+
This is the official NPM package for the Breeze Sequelize integration. The package files are in the [breeze.server.node](https://github.com/Breeze/breeze.server.node "github: "breeze-server-node") repository in the 'breeze-sequelize' subfolder.
4+
5+
To install with npm, open a terminal or command window and enter:
6+
7+
`npm install breeze-sequelize`
8+
9+
>Case matters! Be sure to spell "breeze-sequelize" in all lowercase.
10+
11+
[Learn more about Breeze](http://breeze.github.io/doc-js/ "breezejs").
12+
13+
## More documentation
14+
15+
[Breeze/Sequelize documentation here](http://breeze.github.io/doc-node-sequelize/ "breeze-sequelize documentation")
16+
17+
File renamed without changes.
File renamed without changes.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ exports.dbUtils = require("./dbUtils");
88
exports.breeze = require("breeze-client"); // needed because we have augmented breeze in the SequelizeQuery component
99

1010
exports.Sequelize = exports.SequelizeManager.Sequelize;
11+
12+
exports.ModelMapper = require("./ModelMapper.js");

breeze-sequelize/old/package.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"name": "breeze-sequelize",
3+
"version": "0.3.0",
4+
"description": "Breeze Sequelize server implementation",
5+
"keywords": [
6+
"breeze",
7+
"sequelize",
8+
"orm",
9+
"query",
10+
"linq",
11+
"graph"
12+
],
13+
"main": "main.js",
14+
"directories": {},
15+
"dependencies": {
16+
"bluebird": "^3.5.5",
17+
"breeze-client": "^2.0.2",
18+
"lodash": "^4.17.15",
19+
"sequelize": "^5.21.3",
20+
"toposort": "^2.0.2"
21+
},
22+
"devDependencies": {
23+
"chai": "^4.2.0",
24+
"mocha": "^6.2.0"
25+
},
26+
"scripts": {
27+
"test": "mocha"
28+
},
29+
"repository": {
30+
"type": "git",
31+
"url": "https://github.com/Breeze/breeze.server.node.git"
32+
},
33+
"homepage": "http://breeze.github.io/doc-node-sequelize/introduction.html",
34+
"bugs": "https://github.com/Breeze/breeze.server.node/issues",
35+
"author": {
36+
"name": "IdeaBlade",
37+
"email": "jayt@ideablade.com",
38+
"url": "https://www.ideablade.com/"
39+
},
40+
"contributors": [
41+
"Jay Traband",
42+
"Steve Schmitt",
43+
"Marcel Good",
44+
"Ward Bell"
45+
],
46+
"license": "MIT"
47+
}

0 commit comments

Comments
 (0)