1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# The views are Phlex components, and Phlex ships no RBS, so the
# Steepfile ignores lib/rank_king/views. This is the surface web.rb
# calls on them.
module RankKing
module Views
class Home
def initialize: (lists: Array[List]) -> void
def call: () -> String
end
module Sources
class Text
def initialize: (list: List, csrf: Method) -> void
def call: () -> String
end
class TextItem
def initialize: (item: Item) -> void
def call: () -> String
end
class TextFields
def initialize: () -> void
def call: () -> String
end
class YouTube
def initialize: (list: List, csrf: Method) -> void
def call: () -> String
end
class YouTubeItem
def initialize: (title: String, channel: String?, thumbnail: String?) -> void
def call: () -> String
end
class YouTubeFields
def initialize: (csrf: Method) -> void
def call: () -> String
end
class YouTubePlaylists
def initialize: (playlists: Array[[String, String]]?, ?error: String?) -> void
def call: () -> String
end
end
module ListViews
class New
def initialize: (sources: Array[[String, String, ::RankKing::Sources::_Component]], csrf: Method) -> void
def call: () -> String
end
class Show
def initialize: (list: List, source: ::RankKing::Sources::_Source, csrf: Method, ?axis: Axis?) -> void
def call: () -> String
end
class Compare
def initialize: (list: List, source: ::RankKing::Sources::_Source, axis: Axis, csrf: Method) -> void
def call: () -> String
end
class Settings
def initialize: (list: List, source: String, csrf: Method) -> void
def call: () -> String
end
end
end
end