sorbet-rails 0.7.1 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +9 -7
- data/lib/sorbet-rails/active_record_rbi_formatter.rb +2 -2
- data/lib/sorbet-rails/helper_rbi_formatter.rb +1 -1
- data/lib/sorbet-rails/job_rbi_formatter.rb +4 -2
- data/lib/sorbet-rails/mailer_rbi_formatter.rb +3 -3
- data/lib/sorbet-rails/model_plugins/active_record_assoc.rb +1 -1
- data/lib/sorbet-rails/model_plugins/active_record_attribute.rb +10 -10
- data/lib/sorbet-rails/routes_rbi_formatter.rb +2 -2
- data/sorbet-rails.gemspec +2 -2
- data/spec/generators/sorbet_test_cases.rb +4 -2
- data/spec/sorbet_spec.rb +6 -6
- data/spec/support/v5.0/Gemfile.lock +8 -7
- data/spec/support/v5.0/sorbet_test_cases.rb +4 -2
- data/spec/support/v5.1/Gemfile.lock +8 -7
- data/spec/support/v5.1/sorbet_test_cases.rb +4 -2
- data/spec/support/v5.2/Gemfile.lock +8 -7
- data/spec/support/v5.2/sorbet_test_cases.rb +4 -2
- data/spec/support/v6.0/Gemfile.lock +8 -7
- data/spec/support/v6.0/sorbet_test_cases.rb +4 -2
- data/spec/test_data/v5.0/expected_application_job.rbi +2 -2
- data/spec/test_data/v5.0/expected_award_house_point_hourglasses.rbi +2 -2
- data/spec/test_data/v5.0/expected_custom_application_job.rbi +2 -2
- data/spec/test_data/v5.0/expected_custom_award_house_point_hourglasses.rbi +2 -2
- data/spec/test_data/v5.0/expected_spell_book.rbi +9 -9
- data/spec/test_data/v5.0/expected_wand.rbi +10 -10
- data/spec/test_data/v5.0/expected_wizard.rbi +58 -58
- data/spec/test_data/v5.0/expected_wizard_wo_spellbook.rbi +58 -58
- data/spec/test_data/v5.1/expected_application_job.rbi +2 -2
- data/spec/test_data/v5.1/expected_award_house_point_hourglasses.rbi +2 -2
- data/spec/test_data/v5.1/expected_custom_application_job.rbi +2 -2
- data/spec/test_data/v5.1/expected_custom_award_house_point_hourglasses.rbi +2 -2
- data/spec/test_data/v5.1/expected_spell_book.rbi +9 -9
- data/spec/test_data/v5.1/expected_wand.rbi +10 -10
- data/spec/test_data/v5.1/expected_wizard.rbi +58 -58
- data/spec/test_data/v5.1/expected_wizard_wo_spellbook.rbi +58 -58
- data/spec/test_data/v5.2/expected_application_job.rbi +2 -2
- data/spec/test_data/v5.2/expected_award_house_point_hourglasses.rbi +2 -2
- data/spec/test_data/v5.2/expected_custom_application_job.rbi +2 -2
- data/spec/test_data/v5.2/expected_custom_award_house_point_hourglasses.rbi +2 -2
- data/spec/test_data/v5.2/expected_spell_book.rbi +9 -9
- data/spec/test_data/v5.2/expected_wand.rbi +10 -10
- data/spec/test_data/v5.2/expected_wizard.rbi +58 -58
- data/spec/test_data/v5.2/expected_wizard_wo_spellbook.rbi +58 -58
- data/spec/test_data/v6.0/expected_application_job.rbi +2 -2
- data/spec/test_data/v6.0/expected_award_house_point_hourglasses.rbi +2 -2
- data/spec/test_data/v6.0/expected_custom_application_job.rbi +2 -2
- data/spec/test_data/v6.0/expected_custom_award_house_point_hourglasses.rbi +2 -2
- data/spec/test_data/v6.0/expected_spell_book.rbi +9 -9
- data/spec/test_data/v6.0/expected_wand.rbi +10 -10
- data/spec/test_data/v6.0/expected_wizard.rbi +58 -58
- data/spec/test_data/v6.0/expected_wizard_wo_spellbook.rbi +58 -58
- metadata +5 -5
@@ -2,10 +2,10 @@
|
|
2
2
|
# This is an autogenerated file for Rails' jobs.
|
3
3
|
# Please rerun bundle exec rake rails_rbi:jobs to regenerate.
|
4
4
|
class ApplicationJob
|
5
|
-
sig { params(_: T.untyped).
|
5
|
+
sig { params(_: T.untyped).returns(ApplicationJob) }
|
6
6
|
def self.perform_later(*_); end
|
7
7
|
|
8
|
-
sig { params(_: T.untyped).
|
8
|
+
sig { params(_: T.untyped).returns(ApplicationJob) }
|
9
9
|
def self.perform_now(*_); end
|
10
10
|
|
11
11
|
sig do
|
@@ -2,10 +2,10 @@
|
|
2
2
|
# This is an autogenerated file for Rails' jobs.
|
3
3
|
# Please rerun bundle exec rake rails_rbi:jobs to regenerate.
|
4
4
|
class AwardHousePointHourglasses
|
5
|
-
sig { params(student: Wizard, point: Integer).
|
5
|
+
sig { params(student: Wizard, point: Integer).returns(AwardHousePointHourglasses) }
|
6
6
|
def self.perform_later(student:, point:); end
|
7
7
|
|
8
|
-
sig { params(student: Wizard, point: Integer).
|
8
|
+
sig { params(student: Wizard, point: Integer).returns(AwardHousePointHourglasses) }
|
9
9
|
def self.perform_now(student:, point:); end
|
10
10
|
|
11
11
|
sig do
|
@@ -3,10 +3,10 @@
|
|
3
3
|
# This is an autogenerated file for Rails' jobs.
|
4
4
|
# Please rerun bundle exec rake rails_rbi:jobs to regenerate.
|
5
5
|
class ApplicationJob
|
6
|
-
sig { params(_: T.untyped).
|
6
|
+
sig { params(_: T.untyped).returns(ApplicationJob) }
|
7
7
|
def self.perform_later(*_); end
|
8
8
|
|
9
|
-
sig { params(_: T.untyped).
|
9
|
+
sig { params(_: T.untyped).returns(ApplicationJob) }
|
10
10
|
def self.perform_now(*_); end
|
11
11
|
|
12
12
|
sig do
|
@@ -3,10 +3,10 @@
|
|
3
3
|
# This is an autogenerated file for Rails' jobs.
|
4
4
|
# Please rerun bundle exec rake rails_rbi:jobs to regenerate.
|
5
5
|
class AwardHousePointHourglasses
|
6
|
-
sig { params(student: Wizard, point: Integer).
|
6
|
+
sig { params(student: Wizard, point: Integer).returns(AwardHousePointHourglasses) }
|
7
7
|
def self.perform_later(student:, point:); end
|
8
8
|
|
9
|
-
sig { params(student: Wizard, point: Integer).
|
9
|
+
sig { params(student: Wizard, point: Integer).returns(AwardHousePointHourglasses) }
|
10
10
|
def self.perform_now(student:, point:); end
|
11
11
|
|
12
12
|
sig do
|
@@ -65,15 +65,6 @@ module SpellBook::GeneratedAttributeMethods
|
|
65
65
|
def wizard_id?; end
|
66
66
|
end
|
67
67
|
|
68
|
-
class SpellBook::BookType < T::Enum
|
69
|
-
enums do
|
70
|
-
Unclassified = new(%q{unclassified})
|
71
|
-
Biology = new(%q{biology})
|
72
|
-
DarkArt = new(%q{dark_art})
|
73
|
-
end
|
74
|
-
|
75
|
-
end
|
76
|
-
|
77
68
|
module SpellBook::GeneratedAssociationMethods
|
78
69
|
sig { returns(::Spell::ActiveRecord_Associations_CollectionProxy) }
|
79
70
|
def spells; end
|
@@ -145,6 +136,15 @@ class SpellBook < ApplicationRecord
|
|
145
136
|
|
146
137
|
sig { params(value: SpellBook::BookType).void }
|
147
138
|
def typed_book_type=(value); end
|
139
|
+
|
140
|
+
class BookType < T::Enum
|
141
|
+
enums do
|
142
|
+
Unclassified = new(%q{unclassified})
|
143
|
+
Biology = new(%q{biology})
|
144
|
+
DarkArt = new(%q{dark_art})
|
145
|
+
end
|
146
|
+
|
147
|
+
end
|
148
148
|
end
|
149
149
|
|
150
150
|
class SpellBook::ActiveRecord_Relation < ActiveRecord::Relation
|
@@ -152,16 +152,6 @@ module Wand::GeneratedAttributeMethods
|
|
152
152
|
def wood_type?; end
|
153
153
|
end
|
154
154
|
|
155
|
-
class Wand::CoreType < T::Enum
|
156
|
-
enums do
|
157
|
-
PhoenixFeather = new(%q{phoenix_feather})
|
158
|
-
DragonHeartstring = new(%q{dragon_heartstring})
|
159
|
-
UnicornTailHair = new(%q{unicorn_tail_hair})
|
160
|
-
BasiliskHorn = new(%q{basilisk_horn})
|
161
|
-
end
|
162
|
-
|
163
|
-
end
|
164
|
-
|
165
155
|
module Wand::GeneratedAssociationMethods
|
166
156
|
sig { returns(::Wizard) }
|
167
157
|
def wizard; end
|
@@ -225,6 +215,16 @@ class Wand < ApplicationRecord
|
|
225
215
|
sig { params(value: T.nilable(Wand::CoreType)).void }
|
226
216
|
def typed_core_type=(value); end
|
227
217
|
|
218
|
+
class CoreType < T::Enum
|
219
|
+
enums do
|
220
|
+
PhoenixFeather = new(%q{phoenix_feather})
|
221
|
+
DragonHeartstring = new(%q{dragon_heartstring})
|
222
|
+
UnicornTailHair = new(%q{unicorn_tail_hair})
|
223
|
+
BasiliskHorn = new(%q{basilisk_horn})
|
224
|
+
end
|
225
|
+
|
226
|
+
end
|
227
|
+
|
228
228
|
sig { returns(T::Array[Wand]) }
|
229
229
|
def self.mythicals; end
|
230
230
|
end
|
@@ -230,64 +230,6 @@ module Wizard::GeneratedAttributeMethods
|
|
230
230
|
def updated_at?; end
|
231
231
|
end
|
232
232
|
|
233
|
-
class Wizard::Broom < T::Enum
|
234
|
-
enums do
|
235
|
-
Nimbus = new(%q{nimbus})
|
236
|
-
Firebolt = new(%q{firebolt})
|
237
|
-
end
|
238
|
-
|
239
|
-
end
|
240
|
-
|
241
|
-
class Wizard::EyeColor < T::Enum
|
242
|
-
enums do
|
243
|
-
Brown = new(%q{brown})
|
244
|
-
Green = new(%q{green})
|
245
|
-
Blue = new(%q{blue})
|
246
|
-
end
|
247
|
-
|
248
|
-
end
|
249
|
-
|
250
|
-
class Wizard::HairColor < T::Enum
|
251
|
-
enums do
|
252
|
-
Brown = new(%q{brown})
|
253
|
-
Black = new(%q{black})
|
254
|
-
Blonde = new(%q{blonde})
|
255
|
-
end
|
256
|
-
|
257
|
-
end
|
258
|
-
|
259
|
-
class Wizard::House < T::Enum
|
260
|
-
enums do
|
261
|
-
Gryffindor = new(%q{Gryffindor})
|
262
|
-
Hufflepuff = new(%q{Hufflepuff})
|
263
|
-
Ravenclaw = new(%q{Ravenclaw})
|
264
|
-
Slytherin = new(%q{Slytherin})
|
265
|
-
end
|
266
|
-
|
267
|
-
end
|
268
|
-
|
269
|
-
class Wizard::ProfessorEnum < T::Enum
|
270
|
-
enums do
|
271
|
-
SeverusSnape = new(%q{Severus Snape})
|
272
|
-
MinervaMcGonagall = new(%q{Minerva McGonagall})
|
273
|
-
PomonaSprout = new(%q{Pomona Sprout})
|
274
|
-
FiliusFlitwick = new(%q{Filius Flitwick})
|
275
|
-
Hagrid = new(%q{Hagrid})
|
276
|
-
AlastorMadEyeMoody = new(%q{Alastor 'Mad-Eye' Moody})
|
277
|
-
end
|
278
|
-
|
279
|
-
end
|
280
|
-
|
281
|
-
class Wizard::QuidditchPosition < T::Enum
|
282
|
-
enums do
|
283
|
-
Keeper = new(%q{keeper})
|
284
|
-
Seeker = new(%q{seeker})
|
285
|
-
Beater = new(%q{beater})
|
286
|
-
Chaser = new(%q{chaser})
|
287
|
-
end
|
288
|
-
|
289
|
-
end
|
290
|
-
|
291
233
|
module Wizard::GeneratedAssociationMethods
|
292
234
|
sig { returns(T.nilable(::School)) }
|
293
235
|
def school; end
|
@@ -470,6 +412,64 @@ class Wizard < ApplicationRecord
|
|
470
412
|
|
471
413
|
sig { params(value: T.nilable(Wizard::QuidditchPosition)).void }
|
472
414
|
def typed_quidditch_position=(value); end
|
415
|
+
|
416
|
+
class Broom < T::Enum
|
417
|
+
enums do
|
418
|
+
Nimbus = new(%q{nimbus})
|
419
|
+
Firebolt = new(%q{firebolt})
|
420
|
+
end
|
421
|
+
|
422
|
+
end
|
423
|
+
|
424
|
+
class EyeColor < T::Enum
|
425
|
+
enums do
|
426
|
+
Brown = new(%q{brown})
|
427
|
+
Green = new(%q{green})
|
428
|
+
Blue = new(%q{blue})
|
429
|
+
end
|
430
|
+
|
431
|
+
end
|
432
|
+
|
433
|
+
class HairColor < T::Enum
|
434
|
+
enums do
|
435
|
+
Brown = new(%q{brown})
|
436
|
+
Black = new(%q{black})
|
437
|
+
Blonde = new(%q{blonde})
|
438
|
+
end
|
439
|
+
|
440
|
+
end
|
441
|
+
|
442
|
+
class House < T::Enum
|
443
|
+
enums do
|
444
|
+
Gryffindor = new(%q{Gryffindor})
|
445
|
+
Hufflepuff = new(%q{Hufflepuff})
|
446
|
+
Ravenclaw = new(%q{Ravenclaw})
|
447
|
+
Slytherin = new(%q{Slytherin})
|
448
|
+
end
|
449
|
+
|
450
|
+
end
|
451
|
+
|
452
|
+
class ProfessorEnum < T::Enum
|
453
|
+
enums do
|
454
|
+
SeverusSnape = new(%q{Severus Snape})
|
455
|
+
MinervaMcGonagall = new(%q{Minerva McGonagall})
|
456
|
+
PomonaSprout = new(%q{Pomona Sprout})
|
457
|
+
FiliusFlitwick = new(%q{Filius Flitwick})
|
458
|
+
Hagrid = new(%q{Hagrid})
|
459
|
+
AlastorMadEyeMoody = new(%q{Alastor 'Mad-Eye' Moody})
|
460
|
+
end
|
461
|
+
|
462
|
+
end
|
463
|
+
|
464
|
+
class QuidditchPosition < T::Enum
|
465
|
+
enums do
|
466
|
+
Keeper = new(%q{keeper})
|
467
|
+
Seeker = new(%q{seeker})
|
468
|
+
Beater = new(%q{beater})
|
469
|
+
Chaser = new(%q{chaser})
|
470
|
+
end
|
471
|
+
|
472
|
+
end
|
473
473
|
end
|
474
474
|
|
475
475
|
class Wizard::ActiveRecord_Relation < ActiveRecord::Relation
|
@@ -230,64 +230,6 @@ module Wizard::GeneratedAttributeMethods
|
|
230
230
|
def updated_at?; end
|
231
231
|
end
|
232
232
|
|
233
|
-
class Wizard::Broom < T::Enum
|
234
|
-
enums do
|
235
|
-
Nimbus = new(%q{nimbus})
|
236
|
-
Firebolt = new(%q{firebolt})
|
237
|
-
end
|
238
|
-
|
239
|
-
end
|
240
|
-
|
241
|
-
class Wizard::EyeColor < T::Enum
|
242
|
-
enums do
|
243
|
-
Brown = new(%q{brown})
|
244
|
-
Green = new(%q{green})
|
245
|
-
Blue = new(%q{blue})
|
246
|
-
end
|
247
|
-
|
248
|
-
end
|
249
|
-
|
250
|
-
class Wizard::HairColor < T::Enum
|
251
|
-
enums do
|
252
|
-
Brown = new(%q{brown})
|
253
|
-
Black = new(%q{black})
|
254
|
-
Blonde = new(%q{blonde})
|
255
|
-
end
|
256
|
-
|
257
|
-
end
|
258
|
-
|
259
|
-
class Wizard::House < T::Enum
|
260
|
-
enums do
|
261
|
-
Gryffindor = new(%q{Gryffindor})
|
262
|
-
Hufflepuff = new(%q{Hufflepuff})
|
263
|
-
Ravenclaw = new(%q{Ravenclaw})
|
264
|
-
Slytherin = new(%q{Slytherin})
|
265
|
-
end
|
266
|
-
|
267
|
-
end
|
268
|
-
|
269
|
-
class Wizard::ProfessorEnum < T::Enum
|
270
|
-
enums do
|
271
|
-
SeverusSnape = new(%q{Severus Snape})
|
272
|
-
MinervaMcGonagall = new(%q{Minerva McGonagall})
|
273
|
-
PomonaSprout = new(%q{Pomona Sprout})
|
274
|
-
FiliusFlitwick = new(%q{Filius Flitwick})
|
275
|
-
Hagrid = new(%q{Hagrid})
|
276
|
-
AlastorMadEyeMoody = new(%q{Alastor 'Mad-Eye' Moody})
|
277
|
-
end
|
278
|
-
|
279
|
-
end
|
280
|
-
|
281
|
-
class Wizard::QuidditchPosition < T::Enum
|
282
|
-
enums do
|
283
|
-
Keeper = new(%q{keeper})
|
284
|
-
Seeker = new(%q{seeker})
|
285
|
-
Beater = new(%q{beater})
|
286
|
-
Chaser = new(%q{chaser})
|
287
|
-
end
|
288
|
-
|
289
|
-
end
|
290
|
-
|
291
233
|
module Wizard::GeneratedAssociationMethods
|
292
234
|
sig { returns(T.nilable(T.untyped)) }
|
293
235
|
def school; end
|
@@ -464,6 +406,64 @@ class Wizard < ApplicationRecord
|
|
464
406
|
|
465
407
|
sig { params(value: T.nilable(Wizard::QuidditchPosition)).void }
|
466
408
|
def typed_quidditch_position=(value); end
|
409
|
+
|
410
|
+
class Broom < T::Enum
|
411
|
+
enums do
|
412
|
+
Nimbus = new(%q{nimbus})
|
413
|
+
Firebolt = new(%q{firebolt})
|
414
|
+
end
|
415
|
+
|
416
|
+
end
|
417
|
+
|
418
|
+
class EyeColor < T::Enum
|
419
|
+
enums do
|
420
|
+
Brown = new(%q{brown})
|
421
|
+
Green = new(%q{green})
|
422
|
+
Blue = new(%q{blue})
|
423
|
+
end
|
424
|
+
|
425
|
+
end
|
426
|
+
|
427
|
+
class HairColor < T::Enum
|
428
|
+
enums do
|
429
|
+
Brown = new(%q{brown})
|
430
|
+
Black = new(%q{black})
|
431
|
+
Blonde = new(%q{blonde})
|
432
|
+
end
|
433
|
+
|
434
|
+
end
|
435
|
+
|
436
|
+
class House < T::Enum
|
437
|
+
enums do
|
438
|
+
Gryffindor = new(%q{Gryffindor})
|
439
|
+
Hufflepuff = new(%q{Hufflepuff})
|
440
|
+
Ravenclaw = new(%q{Ravenclaw})
|
441
|
+
Slytherin = new(%q{Slytherin})
|
442
|
+
end
|
443
|
+
|
444
|
+
end
|
445
|
+
|
446
|
+
class ProfessorEnum < T::Enum
|
447
|
+
enums do
|
448
|
+
SeverusSnape = new(%q{Severus Snape})
|
449
|
+
MinervaMcGonagall = new(%q{Minerva McGonagall})
|
450
|
+
PomonaSprout = new(%q{Pomona Sprout})
|
451
|
+
FiliusFlitwick = new(%q{Filius Flitwick})
|
452
|
+
Hagrid = new(%q{Hagrid})
|
453
|
+
AlastorMadEyeMoody = new(%q{Alastor 'Mad-Eye' Moody})
|
454
|
+
end
|
455
|
+
|
456
|
+
end
|
457
|
+
|
458
|
+
class QuidditchPosition < T::Enum
|
459
|
+
enums do
|
460
|
+
Keeper = new(%q{keeper})
|
461
|
+
Seeker = new(%q{seeker})
|
462
|
+
Beater = new(%q{beater})
|
463
|
+
Chaser = new(%q{chaser})
|
464
|
+
end
|
465
|
+
|
466
|
+
end
|
467
467
|
end
|
468
468
|
|
469
469
|
class Wizard::ActiveRecord_Relation < ActiveRecord::Relation
|
@@ -2,10 +2,10 @@
|
|
2
2
|
# This is an autogenerated file for Rails' jobs.
|
3
3
|
# Please rerun bundle exec rake rails_rbi:jobs to regenerate.
|
4
4
|
class ApplicationJob
|
5
|
-
sig { params(_: T.untyped).
|
5
|
+
sig { params(_: T.untyped).returns(ApplicationJob) }
|
6
6
|
def self.perform_later(*_); end
|
7
7
|
|
8
|
-
sig { params(_: T.untyped).
|
8
|
+
sig { params(_: T.untyped).returns(ApplicationJob) }
|
9
9
|
def self.perform_now(*_); end
|
10
10
|
|
11
11
|
sig do
|
@@ -2,10 +2,10 @@
|
|
2
2
|
# This is an autogenerated file for Rails' jobs.
|
3
3
|
# Please rerun bundle exec rake rails_rbi:jobs to regenerate.
|
4
4
|
class AwardHousePointHourglasses
|
5
|
-
sig { params(student: Wizard, point: Integer).
|
5
|
+
sig { params(student: Wizard, point: Integer).returns(AwardHousePointHourglasses) }
|
6
6
|
def self.perform_later(student:, point:); end
|
7
7
|
|
8
|
-
sig { params(student: Wizard, point: Integer).
|
8
|
+
sig { params(student: Wizard, point: Integer).returns(AwardHousePointHourglasses) }
|
9
9
|
def self.perform_now(student:, point:); end
|
10
10
|
|
11
11
|
sig do
|
@@ -3,10 +3,10 @@
|
|
3
3
|
# This is an autogenerated file for Rails' jobs.
|
4
4
|
# Please rerun bundle exec rake rails_rbi:jobs to regenerate.
|
5
5
|
class ApplicationJob
|
6
|
-
sig { params(_: T.untyped).
|
6
|
+
sig { params(_: T.untyped).returns(ApplicationJob) }
|
7
7
|
def self.perform_later(*_); end
|
8
8
|
|
9
|
-
sig { params(_: T.untyped).
|
9
|
+
sig { params(_: T.untyped).returns(ApplicationJob) }
|
10
10
|
def self.perform_now(*_); end
|
11
11
|
|
12
12
|
sig do
|
@@ -3,10 +3,10 @@
|
|
3
3
|
# This is an autogenerated file for Rails' jobs.
|
4
4
|
# Please rerun bundle exec rake rails_rbi:jobs to regenerate.
|
5
5
|
class AwardHousePointHourglasses
|
6
|
-
sig { params(student: Wizard, point: Integer).
|
6
|
+
sig { params(student: Wizard, point: Integer).returns(AwardHousePointHourglasses) }
|
7
7
|
def self.perform_later(student:, point:); end
|
8
8
|
|
9
|
-
sig { params(student: Wizard, point: Integer).
|
9
|
+
sig { params(student: Wizard, point: Integer).returns(AwardHousePointHourglasses) }
|
10
10
|
def self.perform_now(student:, point:); end
|
11
11
|
|
12
12
|
sig do
|
@@ -65,15 +65,6 @@ module SpellBook::GeneratedAttributeMethods
|
|
65
65
|
def wizard_id?; end
|
66
66
|
end
|
67
67
|
|
68
|
-
class SpellBook::BookType < T::Enum
|
69
|
-
enums do
|
70
|
-
Unclassified = new(%q{unclassified})
|
71
|
-
Biology = new(%q{biology})
|
72
|
-
DarkArt = new(%q{dark_art})
|
73
|
-
end
|
74
|
-
|
75
|
-
end
|
76
|
-
|
77
68
|
module SpellBook::GeneratedAssociationMethods
|
78
69
|
sig { returns(::Spell::ActiveRecord_Associations_CollectionProxy) }
|
79
70
|
def spells; end
|
@@ -145,6 +136,15 @@ class SpellBook < ApplicationRecord
|
|
145
136
|
|
146
137
|
sig { params(value: SpellBook::BookType).void }
|
147
138
|
def typed_book_type=(value); end
|
139
|
+
|
140
|
+
class BookType < T::Enum
|
141
|
+
enums do
|
142
|
+
Unclassified = new(%q{unclassified})
|
143
|
+
Biology = new(%q{biology})
|
144
|
+
DarkArt = new(%q{dark_art})
|
145
|
+
end
|
146
|
+
|
147
|
+
end
|
148
148
|
end
|
149
149
|
|
150
150
|
class SpellBook::ActiveRecord_Relation < ActiveRecord::Relation
|