diff --git a/lib/anchor/type_script/schema_generator.rb b/lib/anchor/type_script/schema_generator.rb index 34f49d8..732f437 100644 --- a/lib/anchor/type_script/schema_generator.rb +++ b/lib/anchor/type_script/schema_generator.rb @@ -27,9 +27,12 @@ def enums end class MultifileSchemaGenerator < Anchor::SchemaGenerator - def initialize(**opts) - super(**opts.except(:manually_editable)) - @manually_editable = opts[:manually_editable] || false + def initialize(register:, context: {}, include_all_fields: false, exclude_fields: nil, manually_editable: true) # rubocop:disable Lint/MissingSuper + @register = register + @context = context + @include_all_fields = include_all_fields + @exclude_fields = exclude_fields + @manually_editable = :manually_editable end def call