mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-05 12:30:15 +01:00
Add sorbet typing information to all the files
This commit is contained in:
parent
8b8db1ef7c
commit
cabe2f80ed
263 changed files with 264 additions and 1 deletions
|
|
@ -1,3 +1,4 @@
|
|||
# typed: false
|
||||
module ApplicationHelper
|
||||
|
||||
def group_view_by_menu_entry
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
# typed: strong
|
||||
module BackendHelper
|
||||
end
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# typed: false
|
||||
module BootstrapFlashHelper
|
||||
ALERT_MAPPING = {
|
||||
:notice => :success,
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# typed: false
|
||||
module ContextsHelper
|
||||
|
||||
def show_context_name(context)
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
# typed: strong
|
||||
module DataHelper
|
||||
end
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# typed: true
|
||||
module DateLabelHelper
|
||||
|
||||
class GenericDateView
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# typed: false
|
||||
module FeedlistHelper
|
||||
|
||||
def linkoptions(format, options)
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# typed: true
|
||||
module IconHelper
|
||||
include FontAwesome::Sass::Rails::ViewHelpers
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
# typed: strong
|
||||
module IntegrationsHelper
|
||||
end
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# typed: strong
|
||||
module LoginHelper
|
||||
|
||||
end
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
# typed: strong
|
||||
module MobileHelper
|
||||
end
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# typed: false
|
||||
module NotesHelper
|
||||
def truncated_note(note, characters = 50)
|
||||
render_text(truncate(note.body, :length => characters, :omission => "..."))
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# typed: false
|
||||
module PreferencesHelper
|
||||
|
||||
def pref(model, pref_name, &block)
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# typed: false
|
||||
module ProjectsHelper
|
||||
|
||||
def show_project_name(project)
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# typed: false
|
||||
module RecurringTodosHelper
|
||||
|
||||
def recurring_todo_tag_list
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# typed: ignore
|
||||
module RenderingHelper
|
||||
AUTO_LINK_MESSAGE_RE = %r{message://<[^>]+>} unless const_defined?(:AUTO_LINK_MESSAGE_RE)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
# typed: strong
|
||||
module SearchHelper
|
||||
end
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# typed: false
|
||||
module StatsHelper
|
||||
|
||||
def font_size(cloud, tag)
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# typed: false
|
||||
require 'staleness'
|
||||
|
||||
module TodosHelper
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# typed: false
|
||||
module UsersHelper
|
||||
def remote_delete_user(user)
|
||||
return link_to(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue