Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit520b918

Browse files
authored
refactor(reaction): fields test kit && rename utils -> helper (#343)
* refactor(reactions-test): re-org wip* refactor(reactions-test): re-org wip* refactor(reactions-test): re-org wip* refactor(naming): utils -> helper
1 parent0e99665 commit520b918

File tree

66 files changed

+623
-520
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+623
-520
lines changed

‎cover/excoveralls.json‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎lib/groupher_server/accounts/delegates/collect_folder.ex‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ defmodule GroupherServer.Accounts.Delegate.CollectFolder do
33
user collect folder related
44
"""
55
importEcto.Query,warn:false
6-
importGroupherServer.CMS.Utils.Matcher2
6+
importGroupherServer.CMS.Helper.Matcher2
77

88
aliasHelper.Types,as:T
99
aliasHelper.QueryBuilder

‎lib/groupher_server/accounts/delegates/publish.ex‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ defmodule GroupherServer.Accounts.Delegate.Publish do
77
# import Helper.ErrorCode
88
importShortMaps
99

10-
importGroupherServer.CMS.Utils.Matcher
10+
importGroupherServer.CMS.Helper.Matcher
1111

1212
aliasHelper.{ORM,QueryBuilder}
1313
# alias GroupherServer.{Accounts, Repo}

‎lib/groupher_server/accounts/delegates/upvoted_articles.ex‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ defmodule GroupherServer.Accounts.Delegate.UpvotedArticles do
22
@moduledoc"""
33
get contents(posts, jobs ...) that user upvotes
44
"""
5-
# import GroupherServer.CMS.Utils.Matcher
5+
# import GroupherServer.CMS.Helper.Matcher
66
importEcto.Query,warn:false
77
importHelper.Utils,only:[done:1]
88
importShortMaps

‎lib/groupher_server/accounts/utils/loader.ex‎renamed to ‎lib/groupher_server/accounts/helper/loader.ex‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
defmoduleGroupherServer.Accounts.Utils.Loaderdo
1+
defmoduleGroupherServer.Accounts.Helper.Loaderdo
22
@moduledoc"""
33
dataloader for accounts
44
"""

‎lib/groupher_server/accounts/user.ex‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ defmodule GroupherServer.Accounts.User do
44

55
useEcto.Schema
66

7-
# import GroupherServerWeb.Schema.Utils.Helper
7+
# import GroupherServerWeb.Schema.Helper.Fields
88
importEcto.Changeset
99

1010
aliasGroupherServer.Accounts.{

‎lib/groupher_server/cms/delegates/abuse_report.ex‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ defmodule GroupherServer.CMS.Delegate.AbuseReport do
55
importEcto.Query,warn:false
66
# import Helper.Utils, only: [done: 1]
77

8-
importGroupherServer.CMS.Utils.Matcher2
8+
importGroupherServer.CMS.Helper.Matcher2
99
# import ShortMaps
1010

1111
aliasHelper.{ORM}

‎lib/groupher_server/cms/delegates/article_comment.ex‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ defmodule GroupherServer.CMS.Delegate.ArticleComment do
66
importHelper.Utils,only:[done:1]
77
importHelper.ErrorCode
88

9-
importGroupherServer.CMS.Utils.Matcher2
9+
importGroupherServer.CMS.Helper.Matcher2
1010
importShortMaps
1111

1212
aliasHelper.Types,as:T

‎lib/groupher_server/cms/delegates/article_comment_action.ex‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ defmodule GroupherServer.CMS.Delegate.ArticleCommentAction do
99
importGroupherServer.CMS.Delegate.ArticleComment,
1010
only:[add_participator_to_article:2,do_create_comment:4,update_article_comments_count:2]
1111

12-
importGroupherServer.CMS.Utils.Matcher2
12+
importGroupherServer.CMS.Helper.Matcher2
1313

1414
aliasHelper.Types,as:T
1515
aliasHelper.ORM

‎lib/groupher_server/cms/delegates/article_curd.ex‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ defmodule GroupherServer.CMS.Delegate.ArticleCURD do
44
"""
55
importEcto.Query,warn:false
66

7-
importGroupherServer.CMS.Utils.Matcher2
8-
importGroupherServer.CMS.Utils.Matcher,only:[match_action:2]
7+
importGroupherServer.CMS.Helper.Matcher2
8+
importGroupherServer.CMS.Helper.Matcher,only:[match_action:2]
99

1010
importHelper.Utils,only:[done:1,pick_by:2,integerfy:1,strip_struct:1]
1111
importHelper.ErrorCode

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp