workos 2.9.0 → 2.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/pull_request_template.md +11 -0
- data/Gemfile.lock +32 -3
- data/bin/tapioca +29 -0
- data/lib/workos/portal.rb +1 -1
- data/lib/workos/types/intent_enum.rb +3 -2
- data/lib/workos/version.rb +1 -1
- data/sorbet/rbi/gems/addressable@2.8.0.rbi +290 -0
- data/sorbet/rbi/gems/{ast.rbi → ast@2.4.2.rbi} +27 -22
- data/sorbet/rbi/gems/codecov@0.2.12.rbi +55 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +8 -0
- data/sorbet/rbi/gems/crack@0.4.5.rbi +57 -0
- data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +185 -0
- data/sorbet/rbi/gems/docile@1.3.5.rbi +54 -0
- data/sorbet/rbi/gems/hashdiff@1.0.1.rbi +82 -0
- data/sorbet/rbi/gems/json@2.5.1.rbi +109 -0
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +8 -0
- data/sorbet/rbi/gems/parallel@1.20.1.rbi +113 -0
- data/sorbet/rbi/gems/parser@3.0.1.0.rbi +1187 -0
- data/sorbet/rbi/gems/pry@0.14.2.rbi +8 -0
- data/sorbet/rbi/gems/public_suffix@4.0.6.rbi +146 -0
- data/sorbet/rbi/gems/{rainbow.rbi → rainbow@3.0.0.rbi} +90 -55
- data/sorbet/rbi/gems/{rake.rbi → rake@13.0.3.rbi} +587 -424
- data/sorbet/rbi/gems/rbi@0.0.16.rbi +2118 -0
- data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +1117 -0
- data/sorbet/rbi/gems/{rexml.rbi → rexml@3.2.5.rbi} +587 -506
- data/sorbet/rbi/gems/{rspec-core.rbi → rspec-core@3.9.3.rbi} +2321 -1752
- data/sorbet/rbi/gems/{rspec-expectations.rbi → rspec-expectations@3.9.4.rbi} +1119 -677
- data/sorbet/rbi/gems/{rspec-mocks.rbi → rspec-mocks@3.9.1.rbi} +1327 -933
- data/sorbet/rbi/gems/rspec-support@3.9.4.rbi +511 -0
- data/sorbet/rbi/gems/rspec@3.9.0.rbi +38 -0
- data/sorbet/rbi/gems/rubocop-ast@1.4.1.rbi +1881 -0
- data/sorbet/rbi/gems/rubocop@0.93.1.rbi +11497 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +405 -0
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +89 -0
- data/sorbet/rbi/gems/simplecov@0.21.2.rbi +577 -0
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.2.rbi +8 -0
- data/sorbet/rbi/gems/spoom@1.1.15.rbi +1549 -0
- data/sorbet/rbi/gems/tapioca@0.7.3.rbi +1718 -0
- data/sorbet/rbi/gems/thor@1.2.1.rbi +844 -0
- data/sorbet/rbi/gems/unicode-display_width@1.7.0.rbi +22 -0
- data/sorbet/rbi/gems/unparser@0.6.2.rbi +8 -0
- data/sorbet/rbi/gems/{vcr.rbi → vcr@5.0.0.rbi} +528 -401
- data/sorbet/rbi/gems/webmock@3.12.2.rbi +662 -0
- data/sorbet/rbi/gems/yard-sorbet@0.8.0.rbi +268 -0
- data/sorbet/rbi/gems/yard@0.9.26.rbi +4048 -0
- data/sorbet/tapioca/config.yml +13 -0
- data/sorbet/tapioca/require.rb +4 -0
- data/workos.gemspec +1 -1
- metadata +61 -50
- data/sorbet/rbi/gems/addressable.rbi +0 -199
- data/sorbet/rbi/gems/codecov.rbi +0 -37
- data/sorbet/rbi/gems/crack.rbi +0 -62
- data/sorbet/rbi/gems/docile.rbi +0 -36
- data/sorbet/rbi/gems/hashdiff.rbi +0 -66
- data/sorbet/rbi/gems/parallel.rbi +0 -83
- data/sorbet/rbi/gems/parser.rbi +0 -1429
- data/sorbet/rbi/gems/public_suffix.rbi +0 -104
- data/sorbet/rbi/gems/regexp_parser.rbi +0 -926
- data/sorbet/rbi/gems/rspec-support.rbi +0 -280
- data/sorbet/rbi/gems/rspec.rbi +0 -15
- data/sorbet/rbi/gems/rubocop-ast.rbi +0 -1355
- data/sorbet/rbi/gems/rubocop.rbi +0 -7253
- data/sorbet/rbi/gems/ruby-progressbar.rbi +0 -304
- data/sorbet/rbi/gems/simplecov-html.rbi +0 -35
- data/sorbet/rbi/gems/simplecov.rbi +0 -406
- data/sorbet/rbi/gems/unicode-display_width.rbi +0 -17
- data/sorbet/rbi/gems/webmock.rbi +0 -556
- data/sorbet/rbi/gems/yard.rbi +0 -1165
- data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +0 -276
- data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +0 -645
- data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +0 -1891
- data/sorbet/rbi/sorbet-typed/lib/rubocop/~>0.85/rubocop.rbi +0 -2072
- data/sorbet/rbi/sorbet-typed/lib/yard/all/yard.rbi +0 -1214
- data/sorbet/rbi/todo.rbi +0 -5
@@ -0,0 +1,268 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `yard-sorbet` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem yard-sorbet`.
|
6
|
+
|
7
|
+
module YARDSorbet; end
|
8
|
+
|
9
|
+
module YARDSorbet::Directives
|
10
|
+
class << self
|
11
|
+
sig { params(docstring: ::String, directives: T::Array[::String]).void }
|
12
|
+
def add_directives(docstring, directives); end
|
13
|
+
|
14
|
+
sig { params(docstring: T.nilable(::String)).returns([::YARD::Docstring, T::Array[::String]]) }
|
15
|
+
def extract_directives(docstring); end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
module YARDSorbet::Handlers; end
|
20
|
+
|
21
|
+
class YARDSorbet::Handlers::AbstractDSLHandler < ::YARD::Handlers::Ruby::Base
|
22
|
+
sig { void }
|
23
|
+
def process; end
|
24
|
+
end
|
25
|
+
|
26
|
+
YARDSorbet::Handlers::AbstractDSLHandler::CLASS_TAG_TEXT = T.let(T.unsafe(nil), String)
|
27
|
+
YARDSorbet::Handlers::AbstractDSLHandler::TAG_TEXT = T.let(T.unsafe(nil), String)
|
28
|
+
|
29
|
+
class YARDSorbet::Handlers::EnumsHandler < ::YARD::Handlers::Ruby::Base
|
30
|
+
sig { void }
|
31
|
+
def process; end
|
32
|
+
|
33
|
+
private
|
34
|
+
|
35
|
+
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Boolean) }
|
36
|
+
def const_assign_node?(node); end
|
37
|
+
end
|
38
|
+
|
39
|
+
class YARDSorbet::Handlers::IncludeHandler < ::YARD::Handlers::Ruby::Base
|
40
|
+
sig { void }
|
41
|
+
def process; end
|
42
|
+
|
43
|
+
private
|
44
|
+
|
45
|
+
sig { returns(::YARD::CodeObjects::NamespaceObject) }
|
46
|
+
def included_in; end
|
47
|
+
end
|
48
|
+
|
49
|
+
class YARDSorbet::Handlers::MixesInClassMethodsHandler < ::YARD::Handlers::Ruby::Base
|
50
|
+
sig { void }
|
51
|
+
def process; end
|
52
|
+
|
53
|
+
class << self
|
54
|
+
sig { params(code_obj: ::String).returns(T.nilable(T::Array[::String])) }
|
55
|
+
def mixed_in_class_methods(code_obj); end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
class YARDSorbet::Handlers::SigHandler < ::YARD::Handlers::Ruby::Base
|
60
|
+
sig { void }
|
61
|
+
def process; end
|
62
|
+
|
63
|
+
private
|
64
|
+
|
65
|
+
sig { params(method_objects: T::Array[::YARD::CodeObjects::MethodObject]).void }
|
66
|
+
def document_attr_methods(method_objects); end
|
67
|
+
|
68
|
+
sig { params(attr_node: ::YARD::Parser::Ruby::MethodCallNode).returns(T::Boolean) }
|
69
|
+
def merged_into_attr?(attr_node); end
|
70
|
+
|
71
|
+
sig do
|
72
|
+
params(
|
73
|
+
attach_to: T.any(::YARD::CodeObjects::MethodObject, ::YARD::Parser::Ruby::MethodCallNode, ::YARD::Parser::Ruby::MethodDefinitionNode),
|
74
|
+
docstring: T.nilable(::String),
|
75
|
+
include_params: T::Boolean
|
76
|
+
).void
|
77
|
+
end
|
78
|
+
def parse_node(attach_to, docstring, include_params: T.unsafe(nil)); end
|
79
|
+
|
80
|
+
sig { params(node: ::YARD::Parser::Ruby::AstNode, docstring: ::YARD::Docstring).void }
|
81
|
+
def parse_params(node, docstring); end
|
82
|
+
|
83
|
+
sig { params(node: ::YARD::Parser::Ruby::AstNode, docstring: ::YARD::Docstring).void }
|
84
|
+
def parse_return(node, docstring); end
|
85
|
+
|
86
|
+
sig { params(docstring: ::YARD::Docstring, include_params: T::Boolean).void }
|
87
|
+
def parse_sig(docstring, include_params: T.unsafe(nil)); end
|
88
|
+
|
89
|
+
sig { params(attr_node: ::YARD::Parser::Ruby::MethodCallNode).void }
|
90
|
+
def process_attr(attr_node); end
|
91
|
+
|
92
|
+
sig { params(def_node: ::YARD::Parser::Ruby::MethodDefinitionNode).void }
|
93
|
+
def process_def(def_node); end
|
94
|
+
end
|
95
|
+
|
96
|
+
YARDSorbet::Handlers::SigHandler::Documentable = T.type_alias { T.any(::YARD::CodeObjects::MethodObject, ::YARD::Parser::Ruby::MethodCallNode, ::YARD::Parser::Ruby::MethodDefinitionNode) }
|
97
|
+
|
98
|
+
module YARDSorbet::Handlers::StructClassHandler
|
99
|
+
sig { void }
|
100
|
+
def process; end
|
101
|
+
|
102
|
+
private
|
103
|
+
|
104
|
+
sig do
|
105
|
+
params(
|
106
|
+
object: ::YARD::CodeObjects::MethodObject,
|
107
|
+
props: T::Array[::YARDSorbet::TStructProp],
|
108
|
+
docstring: ::YARD::Docstring,
|
109
|
+
directives: T::Array[::String]
|
110
|
+
).void
|
111
|
+
end
|
112
|
+
def decorate_t_struct_init(object, props, docstring, directives); end
|
113
|
+
|
114
|
+
sig { params(props: T::Array[::YARDSorbet::TStructProp], class_ns: ::YARD::CodeObjects::ClassObject).void }
|
115
|
+
def process_t_struct_props(props, class_ns); end
|
116
|
+
|
117
|
+
sig { params(props: T::Array[::YARDSorbet::TStructProp]).returns(T::Array[[::String, T.nilable(::String)]]) }
|
118
|
+
def to_object_parameters(props); end
|
119
|
+
end
|
120
|
+
|
121
|
+
class YARDSorbet::Handlers::StructPropHandler < ::YARD::Handlers::Ruby::Base
|
122
|
+
sig { void }
|
123
|
+
def process; end
|
124
|
+
|
125
|
+
private
|
126
|
+
|
127
|
+
sig { params(object: ::YARD::CodeObjects::MethodObject, prop: ::YARDSorbet::TStructProp).void }
|
128
|
+
def decorate_object(object, prop); end
|
129
|
+
|
130
|
+
sig { returns(T::Boolean) }
|
131
|
+
def immutable?; end
|
132
|
+
|
133
|
+
sig { params(kwd: ::String).returns(T.nilable(::String)) }
|
134
|
+
def kw_arg(kwd); end
|
135
|
+
|
136
|
+
sig { params(name: ::String).returns(::YARDSorbet::TStructProp) }
|
137
|
+
def make_prop(name); end
|
138
|
+
|
139
|
+
sig { returns(T::Array[T.untyped]) }
|
140
|
+
def params; end
|
141
|
+
|
142
|
+
sig { params(object: ::YARD::CodeObjects::MethodObject, name: ::String).void }
|
143
|
+
def register_attrs(object, name); end
|
144
|
+
|
145
|
+
sig { params(prop: ::YARDSorbet::TStructProp).void }
|
146
|
+
def update_state(prop); end
|
147
|
+
end
|
148
|
+
|
149
|
+
module YARDSorbet::NodeUtils
|
150
|
+
class << self
|
151
|
+
sig do
|
152
|
+
params(
|
153
|
+
node: ::YARD::Parser::Ruby::AstNode,
|
154
|
+
_blk: T.proc.params(n: ::YARD::Parser::Ruby::AstNode).void
|
155
|
+
).void
|
156
|
+
end
|
157
|
+
def bfs_traverse(node, &_blk); end
|
158
|
+
|
159
|
+
sig { params(node: ::YARD::Parser::Ruby::AstNode).void }
|
160
|
+
def delete_node(node); end
|
161
|
+
|
162
|
+
sig do
|
163
|
+
params(
|
164
|
+
node: ::YARD::Parser::Ruby::AstNode
|
165
|
+
).returns(T.any(::YARD::Parser::Ruby::MethodCallNode, ::YARD::Parser::Ruby::MethodDefinitionNode))
|
166
|
+
end
|
167
|
+
def get_method_node(node); end
|
168
|
+
|
169
|
+
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(::YARD::Parser::Ruby::AstNode) }
|
170
|
+
def sibling_node(node); end
|
171
|
+
|
172
|
+
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Boolean) }
|
173
|
+
def sigable_node?(node); end
|
174
|
+
|
175
|
+
sig { params(attr_node: ::YARD::Parser::Ruby::MethodCallNode).returns(T::Array[::String]) }
|
176
|
+
def validated_attribute_names(attr_node); end
|
177
|
+
end
|
178
|
+
end
|
179
|
+
|
180
|
+
YARDSorbet::NodeUtils::ATTRIBUTE_METHODS = T.let(T.unsafe(nil), Array)
|
181
|
+
YARDSorbet::NodeUtils::SKIP_METHOD_CONTENTS = T.let(T.unsafe(nil), Array)
|
182
|
+
YARDSorbet::NodeUtils::SigableNode = T.type_alias { T.any(::YARD::Parser::Ruby::MethodCallNode, ::YARD::Parser::Ruby::MethodDefinitionNode) }
|
183
|
+
|
184
|
+
module YARDSorbet::SigToYARD
|
185
|
+
class << self
|
186
|
+
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Array[::String]) }
|
187
|
+
def convert(node); end
|
188
|
+
|
189
|
+
private
|
190
|
+
|
191
|
+
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(::String) }
|
192
|
+
def build_generic_type(node); end
|
193
|
+
|
194
|
+
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Array[::String]) }
|
195
|
+
def convert_aref(node); end
|
196
|
+
|
197
|
+
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns([::String]) }
|
198
|
+
def convert_array(node); end
|
199
|
+
|
200
|
+
sig { params(node: ::YARD::Parser::Ruby::MethodCallNode).returns(T::Array[::String]) }
|
201
|
+
def convert_call(node); end
|
202
|
+
|
203
|
+
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns([::String]) }
|
204
|
+
def convert_collection(node); end
|
205
|
+
|
206
|
+
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns([::String]) }
|
207
|
+
def convert_hash(node); end
|
208
|
+
|
209
|
+
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Array[::String]) }
|
210
|
+
def convert_list(node); end
|
211
|
+
|
212
|
+
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Array[::String]) }
|
213
|
+
def convert_node(node); end
|
214
|
+
|
215
|
+
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Array[::String]) }
|
216
|
+
def convert_node_type(node); end
|
217
|
+
|
218
|
+
sig { params(node_source: ::String).returns([::String]) }
|
219
|
+
def convert_ref(node_source); end
|
220
|
+
|
221
|
+
sig { params(node: ::YARD::Parser::Ruby::MethodCallNode).returns(T::Array[::String]) }
|
222
|
+
def convert_t_method(node); end
|
223
|
+
|
224
|
+
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns([::String]) }
|
225
|
+
def convert_unknown(node); end
|
226
|
+
end
|
227
|
+
end
|
228
|
+
|
229
|
+
YARDSorbet::SigToYARD::REF_TYPES = T.let(T.unsafe(nil), Hash)
|
230
|
+
|
231
|
+
class YARDSorbet::TStructProp < ::T::Struct
|
232
|
+
const :default, T.nilable(::String)
|
233
|
+
const :doc, ::String
|
234
|
+
const :prop_name, ::String
|
235
|
+
const :source, ::String
|
236
|
+
const :types, T::Array[::String]
|
237
|
+
|
238
|
+
class << self
|
239
|
+
def inherited(s); end
|
240
|
+
end
|
241
|
+
end
|
242
|
+
|
243
|
+
module YARDSorbet::TagUtils
|
244
|
+
class << self
|
245
|
+
sig do
|
246
|
+
params(
|
247
|
+
docstring: ::YARD::Docstring,
|
248
|
+
tag_name: ::String,
|
249
|
+
name: T.nilable(::String)
|
250
|
+
).returns(T.nilable(::YARD::Tags::Tag))
|
251
|
+
end
|
252
|
+
def find_tag(docstring, tag_name, name); end
|
253
|
+
|
254
|
+
sig do
|
255
|
+
params(
|
256
|
+
docstring: ::YARD::Docstring,
|
257
|
+
tag_name: ::String,
|
258
|
+
types: T.nilable(T::Array[::String]),
|
259
|
+
name: T.nilable(::String),
|
260
|
+
text: ::String
|
261
|
+
).void
|
262
|
+
end
|
263
|
+
def upsert_tag(docstring, tag_name, types = T.unsafe(nil), name = T.unsafe(nil), text = T.unsafe(nil)); end
|
264
|
+
end
|
265
|
+
end
|
266
|
+
|
267
|
+
YARDSorbet::TagUtils::VOID_RETURN_TYPE = T.let(T.unsafe(nil), Array)
|
268
|
+
YARDSorbet::VERSION = T.let(T.unsafe(nil), String)
|