Skip to content

Commit

Permalink
Merge pull request #1 from olegmak02/main
Browse files Browse the repository at this point in the history
update
  • Loading branch information
olegmak02 committed Nov 29, 2020
2 parents a7ab359 + 032bb1a commit 1935712
Show file tree
Hide file tree
Showing 17 changed files with 98 additions and 6 deletions.
5 changes: 5 additions & 0 deletions src/comments/comments.controller.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'use strict';

function CommentsController() {}

module.exports = CommentsController;
5 changes: 5 additions & 0 deletions src/comments/comments.dto.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'use strict';

const CommentsDto = {};

module.exports = { ...CommentsDto };
14 changes: 14 additions & 0 deletions src/comments/comments.entity-builder.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
'use strict';

const EntityBuilder = require('../core/entity-builder');

const CommentsEntity = {
id: -1,
message: '',
userId: null,
placeId: null,
commentId: null,
isDeleted: false,
};

module.exports = EntityBuilder(CommentsEntity);
5 changes: 5 additions & 0 deletions src/comments/comments.repository.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'use strict';

function CommentsRepository() {}

module.exports = CommentsRepository;
5 changes: 5 additions & 0 deletions src/comments/comments.service.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'use strict';

function CommentsService() {}

module.exports = CommentsService;
3 changes: 0 additions & 3 deletions src/comments/stub.js

This file was deleted.

5 changes: 5 additions & 0 deletions src/rating/rating.controller.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'use strict';

function RatingController() {}

module.exports = RatingController;
5 changes: 5 additions & 0 deletions src/rating/rating.dto.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'use strict';

const RatingDto = {};

module.exports = { ...RatingDto };
12 changes: 12 additions & 0 deletions src/rating/rating.entity-builder.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
'use strict';

const EntityBuilder = require('../core/entity-builder');

const RatingEntity = {
id: -1,
count: null,
userId: null,
placeId: null,
};

module.exports = EntityBuilder(RatingEntity);
5 changes: 5 additions & 0 deletions src/rating/rating.repostiory.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'user strict';

function RatingRepository() {}

module.exports = RatingRepository;
5 changes: 5 additions & 0 deletions src/rating/rating.service.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'use strict';

function RatingService() {}

module.exports = RatingService;
3 changes: 0 additions & 3 deletions src/support/stub.js

This file was deleted.

5 changes: 5 additions & 0 deletions src/support/support.controller.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'use strict';

function SupportController() {}

module.exports = SupportController;
5 changes: 5 additions & 0 deletions src/support/support.dto.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'use strict';

const SupportDto = {};

module.exports = { ...SupportDto };
12 changes: 12 additions & 0 deletions src/support/support.entity-builder.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
'use strict';

const EntityBuilder = require('../core/entity-builder');

const SupportEntity = {
id: -1,
title: '',
description: '',
userId: null,
};

module.exports = EntityBuilder(SupportEntity);
5 changes: 5 additions & 0 deletions src/support/support.repository.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'use strict';

function SupportRepository() {}

module.exports = SupportRepository;
5 changes: 5 additions & 0 deletions src/support/support.service.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'use strict';

function SupportService() {}

module.exports = SupportService;

0 comments on commit 1935712

Please sign in to comment.