struct

Noir::EncoreExtractor::TsApi

Inherits Struct < Value < Object

kind is api, raw, streamIn, streamOut, streamInOut or static; config maps the first argument's keys to their value text. fields are the request type's fields when it is inline or declared in the file; a named type imported from a relative module is left to the caller as request_import ({declared name, specifier}).

Constructors

new(name : String, kind : String, config : Hash(String, String), fields : Array(TsField), request_import : Tuple(String, String) | Nil, line : Int32)
Source

Instance methods

clone
Source
config
copy_with(name _name = @name, kind _kind = @kind, config _config = @config, fields _fields = @fields, request_import _request_import = @request_import, line _line = @line)
Source
fields
kind
line
name
request_import