Skip to content

Commit

Permalink
refactor(Folder Structure): Restructure repository folder to structur…
Browse files Browse the repository at this point in the history
…e it by feature vs type

BREAKING CHANGE: Due to restructuring you have to change the path of your repo/<model> index and
point it to /transform
  • Loading branch information
joshuaalpuerto committed Jul 1, 2018
1 parent 0276f56 commit 7222cb0
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { toEntity } = require('./transforms/company')
const { toEntity } = require('./transform')

module.exports = (model) => {
const getAll = (...args) =>
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const { toEntity } = require('./transforms/user')
const { comparePassword } = require('../encryption')
const { toEntity } = require('./transform')
const { comparePassword } = require('../../encryption')

module.exports = (model) => {
const getAll = (...args) =>
Expand Down
File renamed without changes.

0 comments on commit 7222cb0

Please sign in to comment.