bsky page scanning auditing
This commit is contained in:
3
sorbet/rbi/dsl/application_controller.rbi
generated
3
sorbet/rbi/dsl/application_controller.rbi
generated
@@ -26,7 +26,10 @@ class ApplicationController
|
||||
include ::Webpacker::Helper
|
||||
include ::ActionController::Base::HelperMethods
|
||||
include ::ApplicationHelper
|
||||
include ::ActionView::Helpers::ContentExfiltrationPreventionHelper
|
||||
include ::ActionView::Helpers::UrlHelper
|
||||
include ::HelpersInterface
|
||||
include ::Domain::BlueskyPostHelper
|
||||
include ::LogEntriesHelper
|
||||
include ::Pundit::Authorization
|
||||
include ::Domain::UsersHelper
|
||||
|
||||
3
sorbet/rbi/dsl/devise_controller.rbi
generated
3
sorbet/rbi/dsl/devise_controller.rbi
generated
@@ -23,7 +23,10 @@ class DeviseController
|
||||
include ::Webpacker::Helper
|
||||
include ::ActionController::Base::HelperMethods
|
||||
include ::ApplicationHelper
|
||||
include ::ActionView::Helpers::ContentExfiltrationPreventionHelper
|
||||
include ::ActionView::Helpers::UrlHelper
|
||||
include ::HelpersInterface
|
||||
include ::Domain::BlueskyPostHelper
|
||||
include ::LogEntriesHelper
|
||||
include ::Pundit::Authorization
|
||||
include ::Domain::UsersHelper
|
||||
|
||||
174
sorbet/rbi/dsl/domain/user/bluesky_user.rbi
generated
174
sorbet/rbi/dsl/domain/user/bluesky_user.rbi
generated
@@ -533,6 +533,12 @@ class Domain::User::BlueskyUser
|
||||
sig { params(args: T.untyped, blk: T.untyped).returns(::DomainUsersBlueskyAux) }
|
||||
def build_bluesky_aux(*args, &blk); end
|
||||
|
||||
sig { params(args: T.untyped, blk: T.untyped).returns(::HttpLogEntry) }
|
||||
def build_last_posts_scan_log_entry(*args, &blk); end
|
||||
|
||||
sig { params(args: T.untyped, blk: T.untyped).returns(::HttpLogEntry) }
|
||||
def build_last_scan_log_entry(*args, &blk); end
|
||||
|
||||
sig { params(args: T.untyped, blk: T.untyped).returns(::Domain::UserAvatar) }
|
||||
def create_avatar(*args, &blk); end
|
||||
|
||||
@@ -545,18 +551,30 @@ class Domain::User::BlueskyUser
|
||||
sig { params(args: T.untyped, blk: T.untyped).returns(::DomainUsersBlueskyAux) }
|
||||
def create_bluesky_aux!(*args, &blk); end
|
||||
|
||||
sig { params(args: T.untyped, blk: T.untyped).returns(::HttpLogEntry) }
|
||||
def create_last_posts_scan_log_entry(*args, &blk); end
|
||||
|
||||
sig { params(args: T.untyped, blk: T.untyped).returns(::HttpLogEntry) }
|
||||
def create_last_posts_scan_log_entry!(*args, &blk); end
|
||||
|
||||
sig { params(args: T.untyped, blk: T.untyped).returns(::HttpLogEntry) }
|
||||
def create_last_scan_log_entry(*args, &blk); end
|
||||
|
||||
sig { params(args: T.untyped, blk: T.untyped).returns(::HttpLogEntry) }
|
||||
def create_last_scan_log_entry!(*args, &blk); end
|
||||
|
||||
sig { returns(T::Array[T.untyped]) }
|
||||
def faved_post_ids; end
|
||||
|
||||
sig { params(ids: T::Array[T.untyped]).returns(T::Array[T.untyped]) }
|
||||
def faved_post_ids=(ids); end
|
||||
|
||||
# This method is created by ActiveRecord on the `Domain::User::BlueskyUser` class because it declared `has_many :faved_posts, through: :user_post_favs`.
|
||||
# This method is created by ActiveRecord on the `Domain::User` class because it declared `has_many :faved_posts, through: :user_post_favs`.
|
||||
# 🔗 [Rails guide for `has_many_through` association](https://guides.rubyonrails.org/association_basics.html#the-has-many-through-association)
|
||||
sig { returns(::Domain::Post::BlueskyPost::PrivateCollectionProxy) }
|
||||
sig { returns(::Domain::Post::PrivateCollectionProxy) }
|
||||
def faved_posts; end
|
||||
|
||||
sig { params(value: T::Enumerable[::Domain::Post::BlueskyPost]).void }
|
||||
sig { params(value: T::Enumerable[::Domain::Post]).void }
|
||||
def faved_posts=(value); end
|
||||
|
||||
sig { returns(T::Array[T.untyped]) }
|
||||
@@ -601,6 +619,30 @@ class Domain::User::BlueskyUser
|
||||
sig { params(value: T::Enumerable[::Domain::User]).void }
|
||||
def followed_users=(value); end
|
||||
|
||||
sig { returns(T.nilable(::HttpLogEntry)) }
|
||||
def last_posts_scan_log_entry; end
|
||||
|
||||
sig { params(value: T.nilable(::HttpLogEntry)).void }
|
||||
def last_posts_scan_log_entry=(value); end
|
||||
|
||||
sig { returns(T::Boolean) }
|
||||
def last_posts_scan_log_entry_changed?; end
|
||||
|
||||
sig { returns(T::Boolean) }
|
||||
def last_posts_scan_log_entry_previously_changed?; end
|
||||
|
||||
sig { returns(T.nilable(::HttpLogEntry)) }
|
||||
def last_scan_log_entry; end
|
||||
|
||||
sig { params(value: T.nilable(::HttpLogEntry)).void }
|
||||
def last_scan_log_entry=(value); end
|
||||
|
||||
sig { returns(T::Boolean) }
|
||||
def last_scan_log_entry_changed?; end
|
||||
|
||||
sig { returns(T::Boolean) }
|
||||
def last_scan_log_entry_previously_changed?; end
|
||||
|
||||
sig { returns(T::Array[T.untyped]) }
|
||||
def post_ids; end
|
||||
|
||||
@@ -621,12 +663,24 @@ class Domain::User::BlueskyUser
|
||||
sig { returns(T.nilable(::DomainUsersBlueskyAux)) }
|
||||
def reload_bluesky_aux; end
|
||||
|
||||
sig { returns(T.nilable(::HttpLogEntry)) }
|
||||
def reload_last_posts_scan_log_entry; end
|
||||
|
||||
sig { returns(T.nilable(::HttpLogEntry)) }
|
||||
def reload_last_scan_log_entry; end
|
||||
|
||||
sig { void }
|
||||
def reset_avatar; end
|
||||
|
||||
sig { void }
|
||||
def reset_bluesky_aux; end
|
||||
|
||||
sig { void }
|
||||
def reset_last_posts_scan_log_entry; end
|
||||
|
||||
sig { void }
|
||||
def reset_last_scan_log_entry; end
|
||||
|
||||
sig { returns(T::Array[T.untyped]) }
|
||||
def user_post_creation_ids; end
|
||||
|
||||
@@ -1327,6 +1381,96 @@ class Domain::User::BlueskyUser
|
||||
sig { void }
|
||||
def json_attributes_will_change!; end
|
||||
|
||||
sig { returns(T.nilable(::Integer)) }
|
||||
def last_posts_scan_log_entry_id; end
|
||||
|
||||
sig { params(value: T.nilable(::Integer)).returns(T.nilable(::Integer)) }
|
||||
def last_posts_scan_log_entry_id=(value); end
|
||||
|
||||
sig { returns(T::Boolean) }
|
||||
def last_posts_scan_log_entry_id?; end
|
||||
|
||||
sig { returns(T.nilable(::Integer)) }
|
||||
def last_posts_scan_log_entry_id_before_last_save; end
|
||||
|
||||
sig { returns(T.untyped) }
|
||||
def last_posts_scan_log_entry_id_before_type_cast; end
|
||||
|
||||
sig { returns(T::Boolean) }
|
||||
def last_posts_scan_log_entry_id_came_from_user?; end
|
||||
|
||||
sig { returns(T.nilable([T.nilable(::Integer), T.nilable(::Integer)])) }
|
||||
def last_posts_scan_log_entry_id_change; end
|
||||
|
||||
sig { returns(T.nilable([T.nilable(::Integer), T.nilable(::Integer)])) }
|
||||
def last_posts_scan_log_entry_id_change_to_be_saved; end
|
||||
|
||||
sig { params(from: T.nilable(::Integer), to: T.nilable(::Integer)).returns(T::Boolean) }
|
||||
def last_posts_scan_log_entry_id_changed?(from: T.unsafe(nil), to: T.unsafe(nil)); end
|
||||
|
||||
sig { returns(T.nilable(::Integer)) }
|
||||
def last_posts_scan_log_entry_id_in_database; end
|
||||
|
||||
sig { returns(T.nilable([T.nilable(::Integer), T.nilable(::Integer)])) }
|
||||
def last_posts_scan_log_entry_id_previous_change; end
|
||||
|
||||
sig { params(from: T.nilable(::Integer), to: T.nilable(::Integer)).returns(T::Boolean) }
|
||||
def last_posts_scan_log_entry_id_previously_changed?(from: T.unsafe(nil), to: T.unsafe(nil)); end
|
||||
|
||||
sig { returns(T.nilable(::Integer)) }
|
||||
def last_posts_scan_log_entry_id_previously_was; end
|
||||
|
||||
sig { returns(T.nilable(::Integer)) }
|
||||
def last_posts_scan_log_entry_id_was; end
|
||||
|
||||
sig { void }
|
||||
def last_posts_scan_log_entry_id_will_change!; end
|
||||
|
||||
sig { returns(T.nilable(::Integer)) }
|
||||
def last_scan_log_entry_id; end
|
||||
|
||||
sig { params(value: T.nilable(::Integer)).returns(T.nilable(::Integer)) }
|
||||
def last_scan_log_entry_id=(value); end
|
||||
|
||||
sig { returns(T::Boolean) }
|
||||
def last_scan_log_entry_id?; end
|
||||
|
||||
sig { returns(T.nilable(::Integer)) }
|
||||
def last_scan_log_entry_id_before_last_save; end
|
||||
|
||||
sig { returns(T.untyped) }
|
||||
def last_scan_log_entry_id_before_type_cast; end
|
||||
|
||||
sig { returns(T::Boolean) }
|
||||
def last_scan_log_entry_id_came_from_user?; end
|
||||
|
||||
sig { returns(T.nilable([T.nilable(::Integer), T.nilable(::Integer)])) }
|
||||
def last_scan_log_entry_id_change; end
|
||||
|
||||
sig { returns(T.nilable([T.nilable(::Integer), T.nilable(::Integer)])) }
|
||||
def last_scan_log_entry_id_change_to_be_saved; end
|
||||
|
||||
sig { params(from: T.nilable(::Integer), to: T.nilable(::Integer)).returns(T::Boolean) }
|
||||
def last_scan_log_entry_id_changed?(from: T.unsafe(nil), to: T.unsafe(nil)); end
|
||||
|
||||
sig { returns(T.nilable(::Integer)) }
|
||||
def last_scan_log_entry_id_in_database; end
|
||||
|
||||
sig { returns(T.nilable([T.nilable(::Integer), T.nilable(::Integer)])) }
|
||||
def last_scan_log_entry_id_previous_change; end
|
||||
|
||||
sig { params(from: T.nilable(::Integer), to: T.nilable(::Integer)).returns(T::Boolean) }
|
||||
def last_scan_log_entry_id_previously_changed?(from: T.unsafe(nil), to: T.unsafe(nil)); end
|
||||
|
||||
sig { returns(T.nilable(::Integer)) }
|
||||
def last_scan_log_entry_id_previously_was; end
|
||||
|
||||
sig { returns(T.nilable(::Integer)) }
|
||||
def last_scan_log_entry_id_was; end
|
||||
|
||||
sig { void }
|
||||
def last_scan_log_entry_id_will_change!; end
|
||||
|
||||
sig { returns(T.nilable(::Time)) }
|
||||
def migrated_user_favs_at; end
|
||||
|
||||
@@ -1492,6 +1636,12 @@ class Domain::User::BlueskyUser
|
||||
sig { void }
|
||||
def restore_json_attributes!; end
|
||||
|
||||
sig { void }
|
||||
def restore_last_posts_scan_log_entry_id!; end
|
||||
|
||||
sig { void }
|
||||
def restore_last_scan_log_entry_id!; end
|
||||
|
||||
sig { void }
|
||||
def restore_migrated_user_favs_at!; end
|
||||
|
||||
@@ -1591,6 +1741,18 @@ class Domain::User::BlueskyUser
|
||||
sig { returns(T::Boolean) }
|
||||
def saved_change_to_json_attributes?; end
|
||||
|
||||
sig { returns(T.nilable([T.nilable(::Integer), T.nilable(::Integer)])) }
|
||||
def saved_change_to_last_posts_scan_log_entry_id; end
|
||||
|
||||
sig { returns(T::Boolean) }
|
||||
def saved_change_to_last_posts_scan_log_entry_id?; end
|
||||
|
||||
sig { returns(T.nilable([T.nilable(::Integer), T.nilable(::Integer)])) }
|
||||
def saved_change_to_last_scan_log_entry_id; end
|
||||
|
||||
sig { returns(T::Boolean) }
|
||||
def saved_change_to_last_scan_log_entry_id?; end
|
||||
|
||||
sig { returns(T.nilable([T.nilable(::Time), T.nilable(::Time)])) }
|
||||
def saved_change_to_migrated_user_favs_at; end
|
||||
|
||||
@@ -2179,6 +2341,12 @@ class Domain::User::BlueskyUser
|
||||
sig { returns(T::Boolean) }
|
||||
def will_save_change_to_json_attributes?; end
|
||||
|
||||
sig { returns(T::Boolean) }
|
||||
def will_save_change_to_last_posts_scan_log_entry_id?; end
|
||||
|
||||
sig { returns(T::Boolean) }
|
||||
def will_save_change_to_last_scan_log_entry_id?; end
|
||||
|
||||
sig { returns(T::Boolean) }
|
||||
def will_save_change_to_migrated_user_favs_at?; end
|
||||
|
||||
|
||||
114
sorbet/rbi/dsl/domain_users_bluesky_aux.rbi
generated
114
sorbet/rbi/dsl/domain_users_bluesky_aux.rbi
generated
@@ -1015,6 +1015,96 @@ class DomainUsersBlueskyAux
|
||||
sig { void }
|
||||
def id_will_change!; end
|
||||
|
||||
sig { returns(T.nilable(::Integer)) }
|
||||
def last_posts_scan_log_entry_id; end
|
||||
|
||||
sig { params(value: T.nilable(::Integer)).returns(T.nilable(::Integer)) }
|
||||
def last_posts_scan_log_entry_id=(value); end
|
||||
|
||||
sig { returns(T::Boolean) }
|
||||
def last_posts_scan_log_entry_id?; end
|
||||
|
||||
sig { returns(T.nilable(::Integer)) }
|
||||
def last_posts_scan_log_entry_id_before_last_save; end
|
||||
|
||||
sig { returns(T.untyped) }
|
||||
def last_posts_scan_log_entry_id_before_type_cast; end
|
||||
|
||||
sig { returns(T::Boolean) }
|
||||
def last_posts_scan_log_entry_id_came_from_user?; end
|
||||
|
||||
sig { returns(T.nilable([T.nilable(::Integer), T.nilable(::Integer)])) }
|
||||
def last_posts_scan_log_entry_id_change; end
|
||||
|
||||
sig { returns(T.nilable([T.nilable(::Integer), T.nilable(::Integer)])) }
|
||||
def last_posts_scan_log_entry_id_change_to_be_saved; end
|
||||
|
||||
sig { params(from: T.nilable(::Integer), to: T.nilable(::Integer)).returns(T::Boolean) }
|
||||
def last_posts_scan_log_entry_id_changed?(from: T.unsafe(nil), to: T.unsafe(nil)); end
|
||||
|
||||
sig { returns(T.nilable(::Integer)) }
|
||||
def last_posts_scan_log_entry_id_in_database; end
|
||||
|
||||
sig { returns(T.nilable([T.nilable(::Integer), T.nilable(::Integer)])) }
|
||||
def last_posts_scan_log_entry_id_previous_change; end
|
||||
|
||||
sig { params(from: T.nilable(::Integer), to: T.nilable(::Integer)).returns(T::Boolean) }
|
||||
def last_posts_scan_log_entry_id_previously_changed?(from: T.unsafe(nil), to: T.unsafe(nil)); end
|
||||
|
||||
sig { returns(T.nilable(::Integer)) }
|
||||
def last_posts_scan_log_entry_id_previously_was; end
|
||||
|
||||
sig { returns(T.nilable(::Integer)) }
|
||||
def last_posts_scan_log_entry_id_was; end
|
||||
|
||||
sig { void }
|
||||
def last_posts_scan_log_entry_id_will_change!; end
|
||||
|
||||
sig { returns(T.nilable(::Integer)) }
|
||||
def last_scan_log_entry_id; end
|
||||
|
||||
sig { params(value: T.nilable(::Integer)).returns(T.nilable(::Integer)) }
|
||||
def last_scan_log_entry_id=(value); end
|
||||
|
||||
sig { returns(T::Boolean) }
|
||||
def last_scan_log_entry_id?; end
|
||||
|
||||
sig { returns(T.nilable(::Integer)) }
|
||||
def last_scan_log_entry_id_before_last_save; end
|
||||
|
||||
sig { returns(T.untyped) }
|
||||
def last_scan_log_entry_id_before_type_cast; end
|
||||
|
||||
sig { returns(T::Boolean) }
|
||||
def last_scan_log_entry_id_came_from_user?; end
|
||||
|
||||
sig { returns(T.nilable([T.nilable(::Integer), T.nilable(::Integer)])) }
|
||||
def last_scan_log_entry_id_change; end
|
||||
|
||||
sig { returns(T.nilable([T.nilable(::Integer), T.nilable(::Integer)])) }
|
||||
def last_scan_log_entry_id_change_to_be_saved; end
|
||||
|
||||
sig { params(from: T.nilable(::Integer), to: T.nilable(::Integer)).returns(T::Boolean) }
|
||||
def last_scan_log_entry_id_changed?(from: T.unsafe(nil), to: T.unsafe(nil)); end
|
||||
|
||||
sig { returns(T.nilable(::Integer)) }
|
||||
def last_scan_log_entry_id_in_database; end
|
||||
|
||||
sig { returns(T.nilable([T.nilable(::Integer), T.nilable(::Integer)])) }
|
||||
def last_scan_log_entry_id_previous_change; end
|
||||
|
||||
sig { params(from: T.nilable(::Integer), to: T.nilable(::Integer)).returns(T::Boolean) }
|
||||
def last_scan_log_entry_id_previously_changed?(from: T.unsafe(nil), to: T.unsafe(nil)); end
|
||||
|
||||
sig { returns(T.nilable(::Integer)) }
|
||||
def last_scan_log_entry_id_previously_was; end
|
||||
|
||||
sig { returns(T.nilable(::Integer)) }
|
||||
def last_scan_log_entry_id_was; end
|
||||
|
||||
sig { void }
|
||||
def last_scan_log_entry_id_will_change!; end
|
||||
|
||||
sig { returns(T.nilable(::Integer)) }
|
||||
def posts_count; end
|
||||
|
||||
@@ -1129,6 +1219,12 @@ class DomainUsersBlueskyAux
|
||||
sig { void }
|
||||
def restore_id!; end
|
||||
|
||||
sig { void }
|
||||
def restore_last_posts_scan_log_entry_id!; end
|
||||
|
||||
sig { void }
|
||||
def restore_last_scan_log_entry_id!; end
|
||||
|
||||
sig { void }
|
||||
def restore_posts_count!; end
|
||||
|
||||
@@ -1192,6 +1288,18 @@ class DomainUsersBlueskyAux
|
||||
sig { returns(T::Boolean) }
|
||||
def saved_change_to_id?; end
|
||||
|
||||
sig { returns(T.nilable([T.nilable(::Integer), T.nilable(::Integer)])) }
|
||||
def saved_change_to_last_posts_scan_log_entry_id; end
|
||||
|
||||
sig { returns(T::Boolean) }
|
||||
def saved_change_to_last_posts_scan_log_entry_id?; end
|
||||
|
||||
sig { returns(T.nilable([T.nilable(::Integer), T.nilable(::Integer)])) }
|
||||
def saved_change_to_last_scan_log_entry_id; end
|
||||
|
||||
sig { returns(T::Boolean) }
|
||||
def saved_change_to_last_scan_log_entry_id?; end
|
||||
|
||||
sig { returns(T.nilable([T.nilable(::Integer), T.nilable(::Integer)])) }
|
||||
def saved_change_to_posts_count; end
|
||||
|
||||
@@ -1411,6 +1519,12 @@ class DomainUsersBlueskyAux
|
||||
sig { returns(T::Boolean) }
|
||||
def will_save_change_to_id?; end
|
||||
|
||||
sig { returns(T::Boolean) }
|
||||
def will_save_change_to_last_posts_scan_log_entry_id?; end
|
||||
|
||||
sig { returns(T::Boolean) }
|
||||
def will_save_change_to_last_scan_log_entry_id?; end
|
||||
|
||||
sig { returns(T::Boolean) }
|
||||
def will_save_change_to_posts_count?; end
|
||||
|
||||
|
||||
3
sorbet/rbi/dsl/rails/application_controller.rbi
generated
3
sorbet/rbi/dsl/rails/application_controller.rbi
generated
@@ -26,7 +26,10 @@ class Rails::ApplicationController
|
||||
include ::Webpacker::Helper
|
||||
include ::ActionController::Base::HelperMethods
|
||||
include ::ApplicationHelper
|
||||
include ::ActionView::Helpers::ContentExfiltrationPreventionHelper
|
||||
include ::ActionView::Helpers::UrlHelper
|
||||
include ::HelpersInterface
|
||||
include ::Domain::BlueskyPostHelper
|
||||
include ::LogEntriesHelper
|
||||
include ::Pundit::Authorization
|
||||
include ::Domain::UsersHelper
|
||||
|
||||
@@ -26,7 +26,10 @@ class Rails::Conductor::BaseController
|
||||
include ::Webpacker::Helper
|
||||
include ::ActionController::Base::HelperMethods
|
||||
include ::ApplicationHelper
|
||||
include ::ActionView::Helpers::ContentExfiltrationPreventionHelper
|
||||
include ::ActionView::Helpers::UrlHelper
|
||||
include ::HelpersInterface
|
||||
include ::Domain::BlueskyPostHelper
|
||||
include ::LogEntriesHelper
|
||||
include ::Pundit::Authorization
|
||||
include ::Domain::UsersHelper
|
||||
|
||||
3
sorbet/rbi/dsl/rails/health_controller.rbi
generated
3
sorbet/rbi/dsl/rails/health_controller.rbi
generated
@@ -26,7 +26,10 @@ class Rails::HealthController
|
||||
include ::Webpacker::Helper
|
||||
include ::ActionController::Base::HelperMethods
|
||||
include ::ApplicationHelper
|
||||
include ::ActionView::Helpers::ContentExfiltrationPreventionHelper
|
||||
include ::ActionView::Helpers::UrlHelper
|
||||
include ::HelpersInterface
|
||||
include ::Domain::BlueskyPostHelper
|
||||
include ::LogEntriesHelper
|
||||
include ::Pundit::Authorization
|
||||
include ::Domain::UsersHelper
|
||||
|
||||
Reference in New Issue
Block a user