Skip to content

Commit

Permalink
refactor: Modularize src/lib/sql (#22)
Browse files Browse the repository at this point in the history
* chore: ignore dist/

* refactor: modularize src/lib/sql

Extract SQL files in src/lib/sql into reusable subqueries.

Move complex queries (tables, roles) into the API side.

* refactor: modularize some more
  • Loading branch information
soedirgo authored Jun 22, 2020
1 parent 1fb681b commit 1c8f7d5
Show file tree
Hide file tree
Showing 80 changed files with 483 additions and 1,765 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,6 @@ typings/

# TernJS port file
.tern-port

# TypeScript output files
dist/
15 changes: 0 additions & 15 deletions dist/api.js

This file was deleted.

62 changes: 0 additions & 62 deletions dist/api/columns.js

This file was deleted.

81 changes: 0 additions & 81 deletions dist/api/config.js

This file was deleted.

62 changes: 0 additions & 62 deletions dist/api/extensions.js

This file was deleted.

62 changes: 0 additions & 62 deletions dist/api/query.js

This file was deleted.

Loading

0 comments on commit 1c8f7d5

Please sign in to comment.