-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: restructure Deck, improve documentation
- Loading branch information
1 parent
78513b8
commit b527bd2
Showing
17 changed files
with
873 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
defmodule ViralSpiral.Canon.Card.Affinity do | ||
defstruct id: nil, | ||
tgb: nil, | ||
type: :affinity, | ||
target: nil, | ||
veracity: nil, | ||
polarity: nil, | ||
headline: nil, | ||
image: nil | ||
end | ||
|
||
# defmodule ViralSpiral.Canon.Card.Affinity.Cat do | ||
# alias ViralSpiral.Canon.Card.Affinity | ||
|
||
# def new(tgb, target, veracity, polarity, headline, image) do | ||
# %Affinity{ | ||
# tgb: tgb, | ||
# target: target, | ||
# veracity: veracity, | ||
# polarity: polarity, | ||
# headline: headline, | ||
# image: image | ||
# } | ||
# end | ||
# end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
defmodule ViralSpiral.Canon.Card.Bias do | ||
defstruct id: nil, | ||
tgb: nil, | ||
type: :bias, | ||
target: nil, | ||
veracity: nil, | ||
polarity: :neutral, | ||
headline: nil, | ||
image: nil | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
defmodule ViralSpiral.Canon.Card.Conflated do | ||
defstruct id: nil, | ||
tgb: nil, | ||
headline: nil, | ||
image: nil | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
defmodule ViralSpiral.Canon.Card.Topical do | ||
defstruct id: nil, | ||
tgb: nil, | ||
type: :topical, | ||
veracity: nil, | ||
polarity: :neutral, | ||
headline: nil, | ||
image: nil | ||
end |
Oops, something went wrong.