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.

Commit5649d0f

Browse files
committed
refactor(import order): make sure parent deps on the top
1 parente7742ee commit5649d0f

File tree

80 files changed

+250
-154
lines changed

Some content is hidden

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

80 files changed

+250
-154
lines changed

‎lib/groupher_server/application.ex‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
defmoduleGroupherServer.Applicationdo
2+
@moduledocfalse
23
useApplication
34

45
# See https://hexdocs.pm/elixir/Application.html

‎lib/groupher_server/cms/author.ex‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ defmodule GroupherServer.CMS.Author do
44

55
useEcto.Schema
66
importEcto.Changeset
7-
aliasGroupherServer.Accounts
8-
aliasGroupherServer.CMS.Post
7+
8+
aliasGroupherServer.{Accounts,CMS}
9+
10+
aliasCMS.Post
911

1012
@typet::%Author{}
1113

‎lib/groupher_server/cms/category.ex‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ defmodule GroupherServer.CMS.Category do
44

55
useEcto.Schema
66
importEcto.Changeset
7+
78
aliasGroupherServer.CMS.{Author,Community}
8-
# alias GroupherServer.Accounts
9-
# alias Helper.Certification
109

1110
@required_fields~w(title raw author_id)a
1211
@optional_fields~w(index)a

‎lib/groupher_server/cms/cms.ex‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ defmodule GroupherServer.CMS do
44
[CMS]: post, job, ...
55
[CURD]: create, update, delete ...
66
"""
7-
aliasGroupherServer.CMS.Delegate.{
7+
8+
aliasGroupherServer.CMS.Delegate
9+
10+
aliasDelegate.{
811
ArticleCURD,
912
ArticleOperation,
1013
ArticleReaction,

‎lib/groupher_server/cms/community.ex‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
defmoduleGroupherServer.CMS.Communitydo
2+
@moduledocfalse
23
alias__MODULE__
34

45
useEcto.Schema
56
importEcto.Changeset
67

7-
aliasGroupherServer.CMS.{
8+
aliasGroupherServer.{Accounts,CMS}
9+
10+
aliasCMS.{
811
Category,
912
Post,
1013
Video,
@@ -17,8 +20,6 @@ defmodule GroupherServer.CMS.Community do
1720
CommunityCheatsheet
1821
}
1922

20-
aliasGroupherServer.Accounts
21-
2223
@required_fields~w(title desc user_id logo raw)a
2324
# @required_fields ~w(title desc user_id)a
2425
@optional_fields~w(label geo_info index aka)a

‎lib/groupher_server/cms/community_category.ex‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ defmodule GroupherServer.CMS.CommunityCategory do
44

55
useEcto.Schema
66
importEcto.Changeset
7-
aliasGroupherServer.CMS.{Category,Community}
7+
8+
aliasGroupherServer.CMS
9+
10+
aliasCMS.{Category,Community}
811

912
@typet::%CommunityCategory{}
1013

‎lib/groupher_server/cms/community_cheatsheet.ex‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ defmodule GroupherServer.CMS.CommunityCheatsheet do
55
useEcto.Schema
66
importEcto.Changeset
77

8-
aliasGroupherServer.CMS.{Community,GithubContributor}
8+
aliasGroupherServer.CMS
9+
10+
aliasCMS.{Community,GithubContributor}
911

1012
@required_fields~w(community_id last_sync)a
1113
@optional_fields~w(readme)a

‎lib/groupher_server/cms/community_editor.ex‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ defmodule GroupherServer.CMS.CommunityEditor do
44

55
useEcto.Schema
66
importEcto.Changeset
7+
8+
aliasGroupherServer.{Accounts,CMS}
9+
10+
aliasCMS.Community
711
aliasHelper.Certification
8-
aliasGroupherServer.Accounts
9-
aliasGroupherServer.CMS.Community
1012

1113
@required_fields~w(user_id community_id title)a
1214

‎lib/groupher_server/cms/community_subscriber.ex‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ defmodule GroupherServer.CMS.CommunitySubscriber do
44

55
useEcto.Schema
66
importEcto.Changeset
7-
aliasGroupherServer.Accounts
8-
aliasGroupherServer.CMS.Community
7+
8+
aliasGroupherServer.{Accounts,CMS}
9+
10+
aliasCMS.Community
911

1012
@required_fields~w(user_id community_id)a
1113

‎lib/groupher_server/cms/community_thread.ex‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ defmodule GroupherServer.CMS.CommunityThread do
55
useEcto.Schema
66
importEcto.Changeset
77

8-
aliasGroupherServer.CMS.{Community,Thread}
8+
aliasGroupherServer.CMS
9+
aliasCMS.{Community,Thread}
910

1011
@required_fields~w(community_id thread_id)a
1112

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp