checkoff 0.230.0 → 0.232.0
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/lib/checkoff/version.rb +1 -1
- data/rbi/checkoff.rbi +250 -513
- data/sig/checkoff.rbs +246 -444
- metadata +1 -1
data/sig/checkoff.rbs
CHANGED
@@ -1,432 +1,3 @@
|
|
1
|
-
class ENV
|
2
|
-
# _@param_ `key`
|
3
|
-
#
|
4
|
-
# _@param_ `default`
|
5
|
-
def self.fetch: (String key, ?Object default) -> (String | Symbol)?
|
6
|
-
|
7
|
-
# _@param_ `key`
|
8
|
-
def self.[]: (String key) -> Object?
|
9
|
-
|
10
|
-
# _@param_ `key`
|
11
|
-
#
|
12
|
-
# _@param_ `value`
|
13
|
-
def self.[]=: (String key, Object? value) -> Object?
|
14
|
-
end
|
15
|
-
|
16
|
-
module Bundler
|
17
|
-
# _@param_ `groups`
|
18
|
-
def self.require: (*::Array[Symbol] groups) -> void
|
19
|
-
end
|
20
|
-
|
21
|
-
module OpenSSL
|
22
|
-
module SSL
|
23
|
-
VERIFY_PEER: untyped
|
24
|
-
VERIFY_NONE: untyped
|
25
|
-
end
|
26
|
-
end
|
27
|
-
|
28
|
-
class Time
|
29
|
-
# _@param_ `time`
|
30
|
-
#
|
31
|
-
# _@param_ `now`
|
32
|
-
def self.parse: (String time, ?Time? now) -> Time
|
33
|
-
|
34
|
-
# https://ruby-doc.org/3.2.2/exts/date/Time.html#method-i-to_date#
|
35
|
-
def to_date: () -> Date
|
36
|
-
end
|
37
|
-
|
38
|
-
class Date
|
39
|
-
# _@param_ `date`
|
40
|
-
#
|
41
|
-
# _@param_ `comp`
|
42
|
-
#
|
43
|
-
# _@param_ `state`
|
44
|
-
def self.parse: (?String date, ?bool comp, ?Object state) -> Date
|
45
|
-
|
46
|
-
# _@param_ `start`
|
47
|
-
def self.today: (?Integer start) -> Date
|
48
|
-
end
|
49
|
-
|
50
|
-
# Monkeypatches Asana::Resources::Resource so that Ruby marshalling and
|
51
|
-
# unmarshalling works on Asana resource classes. Currently, it will
|
52
|
-
# work unless you call an accessor method, which triggers Asana's
|
53
|
-
# client library Resource class' method_missing() to "cache" the
|
54
|
-
# result by creating a singleton method. Unfortunately, singleton
|
55
|
-
# methods break marshalling, which is not smart enough to know that it
|
56
|
-
# is not necessary to marshall them as they will simply be recreated
|
57
|
-
# when needed.
|
58
|
-
module Asana
|
59
|
-
include Asana::Resources
|
60
|
-
|
61
|
-
class Client
|
62
|
-
def tags: () -> Asana::ProxiedResourceClasses::Tag
|
63
|
-
|
64
|
-
def tasks: () -> Asana::ProxiedResourceClasses::Task
|
65
|
-
|
66
|
-
def workspaces: () -> Asana::ProxiedResourceClasses::Workspace
|
67
|
-
|
68
|
-
def sections: () -> Asana::ProxiedResourceClasses::Section
|
69
|
-
|
70
|
-
def projects: () -> Asana::ProxiedResourceClasses::Project
|
71
|
-
|
72
|
-
def user_task_lists: () -> Asana::ProxiedResourceClasses::UserTaskList
|
73
|
-
|
74
|
-
def portfolios: () -> Asana::ProxiedResourceClasses::Portfolio
|
75
|
-
|
76
|
-
def users: () -> Asana::ProxiedResourceClasses::User
|
77
|
-
|
78
|
-
def custom_fields: () -> Asana::ProxiedResourceClasses::CustomField
|
79
|
-
|
80
|
-
# sord warn - Asana::HttpClient::Response wasn't able to be resolved to a constant in this project
|
81
|
-
# Performs a GET request against an arbitrary Asana URL. Allows for
|
82
|
-
# the user to interact with the API in ways that haven't been
|
83
|
-
# reflected/foreseen in this library.
|
84
|
-
#
|
85
|
-
# _@param_ `args` — the request I/O options
|
86
|
-
#
|
87
|
-
# _@param_ `url`
|
88
|
-
def get: (String url, **Object args) -> Asana::HttpClient::Response
|
89
|
-
end
|
90
|
-
|
91
|
-
# Monkeypatches:
|
92
|
-
#
|
93
|
-
# https://github.com/Asana/ruby-asana/blob/master/lib/asana
|
94
|
-
module Resources
|
95
|
-
# https://developers.asana.com/reference/gettask
|
96
|
-
class Task
|
97
|
-
def resource_subtype: () -> String
|
98
|
-
|
99
|
-
def is_rendered_as_separator: () -> bool?
|
100
|
-
|
101
|
-
def due_at: () -> String?
|
102
|
-
|
103
|
-
def due_on: () -> String?
|
104
|
-
|
105
|
-
def name: () -> String?
|
106
|
-
|
107
|
-
def assignee: () -> ::Hash[String, String]?
|
108
|
-
|
109
|
-
def html_notes: () -> String?
|
110
|
-
|
111
|
-
def memberships: () -> ::Array[::Hash[String, ::Hash[String, String]]]
|
112
|
-
|
113
|
-
# _@param_ `client`
|
114
|
-
#
|
115
|
-
# _@param_ `assignee`
|
116
|
-
#
|
117
|
-
# _@param_ `workspace`
|
118
|
-
#
|
119
|
-
# _@param_ `name`
|
120
|
-
def self.create: (
|
121
|
-
Asana::Client client,
|
122
|
-
assignee: String,
|
123
|
-
workspace: String,
|
124
|
-
name: String
|
125
|
-
) -> Asana::Resources::Task
|
126
|
-
|
127
|
-
def assignee_section: () -> (::Hash[untyped, untyped] | Asana::Resources::Section)
|
128
|
-
end
|
129
|
-
|
130
|
-
class Section
|
131
|
-
def name: () -> String?
|
132
|
-
end
|
133
|
-
|
134
|
-
class Project
|
135
|
-
def name: () -> String?
|
136
|
-
|
137
|
-
def due_date: () -> String?
|
138
|
-
end
|
139
|
-
|
140
|
-
class Portfolio
|
141
|
-
# _@param_ `options` — the request I/O options
|
142
|
-
def get_items: (?::Hash[untyped, untyped] options) -> ::Enumerable[Asana::Resources::Project]
|
143
|
-
end
|
144
|
-
|
145
|
-
class Workspace
|
146
|
-
def html_notes: () -> String?
|
147
|
-
|
148
|
-
# _@param_ `client`
|
149
|
-
#
|
150
|
-
# _@param_ `id`
|
151
|
-
#
|
152
|
-
# _@param_ `options`
|
153
|
-
def self.find_by_id: (Asana::Client client, String id, ?options: ::Hash[untyped, untyped]) -> Asana::Resources::Workspace
|
154
|
-
end
|
155
|
-
|
156
|
-
# Public: The base resource class which provides some sugar over common
|
157
|
-
# resource functionality.
|
158
|
-
class Resource
|
159
|
-
def marshal_dump: () -> ::Hash[untyped, untyped]
|
160
|
-
|
161
|
-
# _@param_ `data`
|
162
|
-
def marshal_load: (::Hash[untyped, untyped] data) -> void
|
163
|
-
end
|
164
|
-
end
|
165
|
-
|
166
|
-
module Errors
|
167
|
-
class NotFound < Asana::Errors::APIError
|
168
|
-
end
|
169
|
-
end
|
170
|
-
|
171
|
-
module ProxiedResourceClasses
|
172
|
-
class CustomField
|
173
|
-
# sord warn - Asana::Resources::CustomField wasn't able to be resolved to a constant in this project
|
174
|
-
# Get a workspace's custom fields
|
175
|
-
#
|
176
|
-
# _@param_ `workspace_gid` — (required) Globally unique identifier for the workspace or organization.
|
177
|
-
#
|
178
|
-
# _@param_ `options` — the request I/O options
|
179
|
-
def get_custom_fields_for_workspace: (?workspace_gid: String, ?options: ::Hash[untyped, untyped]) -> ::Enumerable[Asana::Resources::CustomField]
|
180
|
-
end
|
181
|
-
|
182
|
-
class Tag
|
183
|
-
# sord warn - Asana::Resources::Tag wasn't able to be resolved to a constant in this project
|
184
|
-
# Get tags in a workspace
|
185
|
-
#
|
186
|
-
# > offset - [str] Offset token. An offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an input parameter to the next request. If an offset is not passed in, the API will return the first page of results. 'Note: You can only pass in an offset that was returned to you via a previously paginated request.'
|
187
|
-
# > limit - [int] Results per page. The number of objects to return per page. The value must be between 1 and 100.
|
188
|
-
# > opt_fields - [list[str]] Defines fields to return. Some requests return *compact* representations of objects in order to conserve resources and complete the request more efficiently. Other times requests return more information than you may need. This option allows you to list the exact set of fields that the API should be sure to return for the objects. The field names should be provided as paths, described below. The id of included objects will always be returned, regardless of the field options.
|
189
|
-
# > opt_pretty - [bool] Provides “pretty” output. Provides the response in a “pretty” format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging.
|
190
|
-
#
|
191
|
-
# _@param_ `workspace_gid` — (required) Globally unique identifier for the workspace or organization.
|
192
|
-
#
|
193
|
-
# _@param_ `options` — the request I/O options
|
194
|
-
def get_tags_for_workspace: (workspace_gid: String, ?options: ::Hash[untyped, untyped]) -> ::Enumerable[Asana::Resources::Tag]
|
195
|
-
end
|
196
|
-
|
197
|
-
class Task
|
198
|
-
# Get subtasks from a task
|
199
|
-
#
|
200
|
-
# > offset - [str] Offset token. An offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an input parameter to the next request. If an offset is not passed in, the API will return the first page of results. 'Note: You can only pass in an offset that was returned to you via a previously paginated request.'
|
201
|
-
# > limit - [int] Results per page. The number of objects to return per page. The value must be between 1 and 100.
|
202
|
-
# > opt_fields - [list[str]] Defines fields to return. Some requests return *compact* representations of objects in order to conserve resources and complete the request more efficiently. Other times requests return more information than you may need. This option allows you to list the exact set of fields that the API should be sure to return for the objects. The field names should be provided as paths, described below. The id of included objects will always be returned, regardless of the field options.
|
203
|
-
# > opt_pretty - [bool] Provides “pretty” output. Provides the response in a “pretty” format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging.
|
204
|
-
#
|
205
|
-
# _@param_ `task_gid` — (required) The task to operate on.
|
206
|
-
#
|
207
|
-
# _@param_ `options` — the request I/O options
|
208
|
-
def get_subtasks_for_task: (?task_gid: String, ?options: ::Hash[untyped, untyped]) -> ::Enumerable[Asana::Resources::Task]
|
209
|
-
|
210
|
-
# Returns the complete task record for a single task.
|
211
|
-
#
|
212
|
-
# _@param_ `id` — The task to get.
|
213
|
-
#
|
214
|
-
# _@param_ `options` — the request I/O options.
|
215
|
-
def find_by_id: (String id, ?options: ::Hash[untyped, untyped]) -> Asana::Resources::Task
|
216
|
-
|
217
|
-
# Returns the compact task records for some filtered set of tasks. Use one
|
218
|
-
# or more of the parameters provided to filter the tasks returned. You must
|
219
|
-
# specify a `project`, `section`, `tag`, or `user_task_list` if you do not
|
220
|
-
# specify `assignee` and `workspace`.
|
221
|
-
#
|
222
|
-
# completed since this time.
|
223
|
-
#
|
224
|
-
# Notes:
|
225
|
-
#
|
226
|
-
# If you specify `assignee`, you must also specify the `workspace` to filter on.
|
227
|
-
#
|
228
|
-
# If you specify `workspace`, you must also specify the `assignee` to filter on.
|
229
|
-
#
|
230
|
-
# Currently, this is only supported in board views.
|
231
|
-
#
|
232
|
-
# A task is considered "modified" if any of its properties change,
|
233
|
-
# or associations between it and other objects are modified (e.g.
|
234
|
-
# a task being added to a project). A task is not considered modified
|
235
|
-
# just because another object it is associated with (e.g. a subtask)
|
236
|
-
# is modified. Actions that count as modifying the task include
|
237
|
-
# assigning, renaming, completing, and adding stories.
|
238
|
-
#
|
239
|
-
# _@param_ `assignee` — The assignee to filter tasks on.
|
240
|
-
#
|
241
|
-
# _@param_ `workspace` — The workspace or organization to filter tasks on.
|
242
|
-
#
|
243
|
-
# _@param_ `project` — The project to filter tasks on.
|
244
|
-
#
|
245
|
-
# _@param_ `section` — The section to filter tasks on.
|
246
|
-
#
|
247
|
-
# _@param_ `tag` — The tag to filter tasks on.
|
248
|
-
#
|
249
|
-
# _@param_ `user_task_list` — The user task list to filter tasks on.
|
250
|
-
#
|
251
|
-
# _@param_ `completed_since` — Only return tasks that are either incomplete or that have been
|
252
|
-
#
|
253
|
-
# _@param_ `modified_since` — Only return tasks that have been modified since the given time.
|
254
|
-
#
|
255
|
-
# _@param_ `per_page` — the number of records to fetch per page.
|
256
|
-
#
|
257
|
-
# _@param_ `options` — the request I/O options.
|
258
|
-
def find_all: (
|
259
|
-
?assignee: String?,
|
260
|
-
?workspace: String?,
|
261
|
-
?project: String?,
|
262
|
-
?section: String?,
|
263
|
-
?tag: String?,
|
264
|
-
?user_task_list: String?,
|
265
|
-
?completed_since: String?,
|
266
|
-
?modified_since: String?,
|
267
|
-
?per_page: Integer,
|
268
|
-
?options: ::Hash[untyped, untyped]
|
269
|
-
) -> ::Enumerable[Asana::Resources::Task]
|
270
|
-
|
271
|
-
# _@param_ `assignee`
|
272
|
-
#
|
273
|
-
# _@param_ `project`
|
274
|
-
#
|
275
|
-
# _@param_ `section`
|
276
|
-
#
|
277
|
-
# _@param_ `workspace`
|
278
|
-
#
|
279
|
-
# _@param_ `completed_since`
|
280
|
-
#
|
281
|
-
# _@param_ `per_page`
|
282
|
-
#
|
283
|
-
# _@param_ `modified_since`
|
284
|
-
#
|
285
|
-
# _@param_ `section`
|
286
|
-
#
|
287
|
-
# _@param_ `options` — the request I/O options.
|
288
|
-
def get_tasks: (
|
289
|
-
?assignee: String?,
|
290
|
-
?project: String?,
|
291
|
-
?section: String?,
|
292
|
-
?workspace: String?,
|
293
|
-
?completed_since: Time?,
|
294
|
-
?per_page: Integer,
|
295
|
-
?modified_since: Time?,
|
296
|
-
?options: ::Hash[untyped, untyped]
|
297
|
-
) -> ::Enumerable[Asana::Resources::Task]
|
298
|
-
end
|
299
|
-
|
300
|
-
class Workspace
|
301
|
-
def find_all: () -> ::Enumerable[Asana::Resources::Workspace]
|
302
|
-
end
|
303
|
-
|
304
|
-
class Section
|
305
|
-
# _@param_ `project_gid`
|
306
|
-
#
|
307
|
-
# _@param_ `options`
|
308
|
-
def get_sections_for_project: (project_gid: String, ?options: ::Hash[untyped, untyped]) -> ::Enumerable[Asana::Resources::Section]
|
309
|
-
|
310
|
-
# Returns the complete record for a single section.
|
311
|
-
#
|
312
|
-
# _@param_ `id` — - The section to get.
|
313
|
-
#
|
314
|
-
# _@param_ `options` — - the request I/O options.
|
315
|
-
def find_by_id: (String id, ?options: ::Hash[untyped, untyped]) -> Asana::Resources::Section
|
316
|
-
end
|
317
|
-
|
318
|
-
class Project
|
319
|
-
# Returns the compact project records for all projects in the workspace.
|
320
|
-
#
|
321
|
-
# Filters results to include only template projects.
|
322
|
-
#
|
323
|
-
# this parameter.
|
324
|
-
#
|
325
|
-
# _@param_ `workspace` — The workspace or organization to find projects in.
|
326
|
-
#
|
327
|
-
# _@param_ `is_template` — **Note: This parameter can only be included if a team is also defined, or the workspace is not an organization**
|
328
|
-
#
|
329
|
-
# _@param_ `archived` — Only return projects whose `archived` field takes on the value of
|
330
|
-
#
|
331
|
-
# _@param_ `per_page` — the number of records to fetch per page.
|
332
|
-
#
|
333
|
-
# _@param_ `options` — the request I/O options.
|
334
|
-
def find_by_workspace: (
|
335
|
-
?workspace: String,
|
336
|
-
?is_template: bool?,
|
337
|
-
?archived: bool?,
|
338
|
-
?per_page: Integer,
|
339
|
-
?options: ::Hash[untyped, untyped]
|
340
|
-
) -> ::Enumerable[Asana::Resources::Project]
|
341
|
-
|
342
|
-
# Returns the complete project record for a single project.
|
343
|
-
#
|
344
|
-
# _@param_ `id` — The project to get.
|
345
|
-
#
|
346
|
-
# _@param_ `options` — the request I/O options.
|
347
|
-
def find_by_id: (String id, ?options: ::Hash[untyped, untyped]) -> Asana::Resources::Project
|
348
|
-
end
|
349
|
-
|
350
|
-
class UserTaskList
|
351
|
-
# sord warn - Asana::Resources::UserTaskList wasn't able to be resolved to a constant in this project
|
352
|
-
# _@param_ `user_gid` — (required) A string identifying a user. This can either be the string \"me\", an email, or the gid of a user.
|
353
|
-
#
|
354
|
-
# _@param_ `workspace` — (required) The workspace in which to get the user task list.
|
355
|
-
#
|
356
|
-
# _@param_ `options` — the request I/O options
|
357
|
-
def get_user_task_list_for_user: (user_gid: String, ?workspace: String?, ?options: ::Hash[untyped, untyped]) -> Asana::Resources::UserTaskList
|
358
|
-
end
|
359
|
-
|
360
|
-
class Portfolio
|
361
|
-
# Returns a list of the portfolios in compact representation that are owned
|
362
|
-
# by the current API user.
|
363
|
-
#
|
364
|
-
# list of portfolios that they themselves own.
|
365
|
-
#
|
366
|
-
# _@param_ `workspace` — The workspace or organization to filter portfolios on.
|
367
|
-
#
|
368
|
-
# _@param_ `owner` — The user who owns the portfolio. Currently, API users can only get a
|
369
|
-
#
|
370
|
-
# _@param_ `per_page` — the number of records to fetch per page.
|
371
|
-
#
|
372
|
-
# _@param_ `options` — the request I/O options.
|
373
|
-
def find_all: (
|
374
|
-
?workspace: String,
|
375
|
-
?owner: String,
|
376
|
-
?per_page: Integer,
|
377
|
-
?options: ::Hash[untyped, untyped]
|
378
|
-
) -> ::Enumerable[Asana::Resources::Portfolio]
|
379
|
-
|
380
|
-
def find_by_id: (untyped id, ?options: untyped) -> Asana::Resources::Portfolio?
|
381
|
-
|
382
|
-
# Get portfolio items
|
383
|
-
#
|
384
|
-
# _@param_ `portfolio_gid` — (required) Globally unique identifier for the portfolio.
|
385
|
-
#
|
386
|
-
# _@param_ `options` — the request I/O options
|
387
|
-
def get_items_for_portfolio: (?portfolio_gid: String, ?options: ::Hash[untyped, untyped]) -> ::Enumerable[Asana::Resources::Project]
|
388
|
-
end
|
389
|
-
|
390
|
-
class User
|
391
|
-
# sord warn - Asana::Resources::User wasn't able to be resolved to a constant in this project
|
392
|
-
# Returns the full user record for the currently authenticated user.
|
393
|
-
#
|
394
|
-
# _@param_ `options` — the request I/O options.
|
395
|
-
def me: (?options: ::Hash[untyped, untyped]) -> Asana::Resources::User
|
396
|
-
end
|
397
|
-
end
|
398
|
-
end
|
399
|
-
|
400
|
-
module T
|
401
|
-
# sord warn - T::Types::Base wasn't able to be resolved to a constant in this project
|
402
|
-
# sord warn - T::Types::Base wasn't able to be resolved to a constant in this project
|
403
|
-
# _@param_ `type`
|
404
|
-
def self.nilable: ((T::Types::Base | singleton(Object)) _type) -> T::Types::Base
|
405
|
-
|
406
|
-
# sord warn - T::Types::Base wasn't able to be resolved to a constant in this project
|
407
|
-
# _@param_ `obj`
|
408
|
-
#
|
409
|
-
# _@param_ `type`
|
410
|
-
def self.let: (BasicObject obj, (T::Types::Base | singleton(Object)) _type) -> BasicObject
|
411
|
-
|
412
|
-
# sord warn - T::Types::Base wasn't able to be resolved to a constant in this project
|
413
|
-
def self.untyped: () -> T::Types::Base
|
414
|
-
|
415
|
-
# sord warn - T::Types::Base wasn't able to be resolved to a constant in this project
|
416
|
-
# sord warn - T::Types::Base wasn't able to be resolved to a constant in this project
|
417
|
-
# _@param_ `type`
|
418
|
-
def nilable: ((T::Types::Base | singleton(Object)) _type) -> T::Types::Base
|
419
|
-
|
420
|
-
# _@param_ `o`
|
421
|
-
#
|
422
|
-
# _@param_ `type`
|
423
|
-
def let: (T o, singleton(T) _type) -> T
|
424
|
-
|
425
|
-
class Struct
|
426
|
-
extend T::Props::ClassMethods
|
427
|
-
end
|
428
|
-
end
|
429
|
-
|
430
1
|
# Command-line and gem client for Asana (unofficial)
|
431
2
|
module Checkoff
|
432
3
|
VERSION: untyped
|
@@ -485,6 +56,9 @@ module Checkoff
|
|
485
56
|
?logger: IO
|
486
57
|
) -> void
|
487
58
|
|
59
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
60
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
61
|
+
# sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
|
488
62
|
# _@param_ `tasks`
|
489
63
|
#
|
490
64
|
# _@param_ `to_project`
|
@@ -492,6 +66,7 @@ module Checkoff
|
|
492
66
|
# _@param_ `to_section`
|
493
67
|
def move_tasks: (::Enumerable[Asana::Resources::Task] tasks, Asana::Resources::Project to_project, Asana::Resources::Section to_section) -> void
|
494
68
|
|
69
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
495
70
|
# _@param_ `from_workspace_name`
|
496
71
|
#
|
497
72
|
# _@param_ `from_project_name`
|
@@ -591,11 +166,11 @@ module Checkoff
|
|
591
166
|
String task_name
|
592
167
|
) -> String
|
593
168
|
|
594
|
-
# sord warn -
|
595
|
-
# sord warn - undefined wasn't able to be resolved to a constant in this project
|
169
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
596
170
|
# _@param_ `task`
|
597
|
-
def task_to_hash: (Asana::Resources::Task task) -> ::Hash[Symbol,
|
171
|
+
def task_to_hash: (Asana::Resources::Task task) -> ::Hash[Symbol, untyped]
|
598
172
|
|
173
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
599
174
|
# _@param_ `tasks`
|
600
175
|
def tasks_to_hash: (::Enumerable[Asana::Resources::Task] tasks) -> ::Array[::Hash[untyped, untyped]]
|
601
176
|
|
@@ -664,6 +239,7 @@ module Checkoff
|
|
664
239
|
LONG_CACHE_TIME: untyped
|
665
240
|
SHORT_CACHE_TIME: untyped
|
666
241
|
|
242
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
667
243
|
# _@param_ `config`
|
668
244
|
#
|
669
245
|
# _@param_ `clients`
|
@@ -681,6 +257,7 @@ module Checkoff
|
|
681
257
|
?workspaces: Checkoff::Workspaces
|
682
258
|
) -> void
|
683
259
|
|
260
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
684
261
|
# _@param_ `workspace_name`
|
685
262
|
#
|
686
263
|
# _@param_ `tag_name`
|
@@ -695,6 +272,7 @@ module Checkoff
|
|
695
272
|
?extra_fields: ::Array[String]
|
696
273
|
) -> ::Enumerable[Asana::Resources::Task]
|
697
274
|
|
275
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
698
276
|
# _@param_ `workspace_name`
|
699
277
|
#
|
700
278
|
# _@param_ `tag_gid`
|
@@ -740,6 +318,7 @@ module Checkoff
|
|
740
318
|
|
741
319
|
attr_reader projects: Checkoff::Projects
|
742
320
|
|
321
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
743
322
|
attr_reader client: Asana::Client
|
744
323
|
end
|
745
324
|
|
@@ -754,6 +333,8 @@ module Checkoff
|
|
754
333
|
LONG_CACHE_TIME: untyped
|
755
334
|
SHORT_CACHE_TIME: untyped
|
756
335
|
|
336
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
337
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
757
338
|
# _@param_ `config`
|
758
339
|
#
|
759
340
|
# _@param_ `client`
|
@@ -783,6 +364,7 @@ module Checkoff
|
|
783
364
|
?asana_task: singleton(Asana::Resources::Task)
|
784
365
|
) -> void
|
785
366
|
|
367
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
786
368
|
# Indicates a task is ready for a person to work on it. This is
|
787
369
|
# subtly different than what is used by Asana to mark a date as
|
788
370
|
# red/green! A task is ready if it is not dependent on an
|
@@ -800,6 +382,7 @@ module Checkoff
|
|
800
382
|
# _@param_ `ignore_dependencies`
|
801
383
|
def task_ready?: (Asana::Resources::Task task, ?period: Symbol, ?ignore_dependencies: bool) -> bool
|
802
384
|
|
385
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
803
386
|
# _@param_ `task`
|
804
387
|
#
|
805
388
|
# _@param_ `field_name`
|
@@ -807,11 +390,13 @@ module Checkoff
|
|
807
390
|
# _@param_ `period` — :now_or_before, :this_week - See Checkoff::Timing#in_period?_
|
808
391
|
def in_period?: (Asana::Resources::Task task, (Symbol | ::Array[untyped]) field_name, (Symbol | ::Array[untyped]) period) -> bool
|
809
392
|
|
393
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
810
394
|
# _@param_ `task`
|
811
395
|
#
|
812
396
|
# _@param_ `field_name` — :start - start_at or start_on (first set) :due - due_at or due_on (first set) :ready - start_at or start_on or due_at or due_on (first set) :modified - modified_at [:custom_field, "foo"] - 'Date' custom field type named 'foo'
|
813
397
|
def date_or_time_field_by_name: (Asana::Resources::Task task, (Symbol | ::Array[untyped]) field_name) -> (Date | Time)?
|
814
398
|
|
399
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
815
400
|
# Pull a specific task by name
|
816
401
|
#
|
817
402
|
# @sg-ignore
|
@@ -852,6 +437,7 @@ module Checkoff
|
|
852
437
|
String task_name
|
853
438
|
) -> String?
|
854
439
|
|
440
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
855
441
|
# Pull a specific task by GID
|
856
442
|
#
|
857
443
|
# _@param_ `task_gid`
|
@@ -861,6 +447,7 @@ module Checkoff
|
|
861
447
|
# _@param_ `only_uncompleted`
|
862
448
|
def task_by_gid: (String task_gid, ?extra_fields: ::Array[String], ?only_uncompleted: bool) -> Asana::Resources::Task?
|
863
449
|
|
450
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
864
451
|
# Add a task
|
865
452
|
#
|
866
453
|
# _@param_ `name`
|
@@ -870,6 +457,7 @@ module Checkoff
|
|
870
457
|
# _@param_ `assignee_gid`
|
871
458
|
def add_task: (String name, ?workspace_gid: String, ?assignee_gid: String) -> Asana::Resources::Task
|
872
459
|
|
460
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
873
461
|
# Return user-accessible URL for a task
|
874
462
|
#
|
875
463
|
# _@param_ `task`
|
@@ -877,6 +465,7 @@ module Checkoff
|
|
877
465
|
# _@return_ — end-user URL to the task in question
|
878
466
|
def url_of_task: (Asana::Resources::Task task) -> String
|
879
467
|
|
468
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
880
469
|
# True if any of the task's dependencies are marked incomplete
|
881
470
|
#
|
882
471
|
# Include 'dependencies.gid' in extra_fields of task passed in.
|
@@ -884,11 +473,14 @@ module Checkoff
|
|
884
473
|
# _@param_ `task`
|
885
474
|
def incomplete_dependencies?: (Asana::Resources::Task task) -> bool
|
886
475
|
|
476
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
477
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
887
478
|
# _@param_ `task`
|
888
479
|
#
|
889
480
|
# _@param_ `extra_task_fields`
|
890
481
|
def all_dependent_tasks: (Asana::Resources::Task task, ?extra_task_fields: ::Array[String]) -> ::Array[Asana::Resources::Task]
|
891
482
|
|
483
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
892
484
|
# Builds on the standard API representation of an Asana task with some
|
893
485
|
# convenience keys:
|
894
486
|
#
|
@@ -903,9 +495,11 @@ module Checkoff
|
|
903
495
|
# _@param_ `task`
|
904
496
|
def task_to_h: (Asana::Resources::Task task) -> ::Hash[untyped, untyped]
|
905
497
|
|
498
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
906
499
|
# _@param_ `task_data`
|
907
500
|
def h_to_task: (::Hash[untyped, untyped] task_data) -> Asana::Resources::Task
|
908
501
|
|
502
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
909
503
|
# True if the task is in a project which is in the given portfolio
|
910
504
|
#
|
911
505
|
# _@param_ `task`
|
@@ -915,6 +509,7 @@ module Checkoff
|
|
915
509
|
# _@param_ `workspace_name`
|
916
510
|
def in_portfolio_named?: (Asana::Resources::Task task, String portfolio_name, ?workspace_name: String) -> bool
|
917
511
|
|
512
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
918
513
|
# True if the task is in a project which is in the given portfolio
|
919
514
|
#
|
920
515
|
# _@param_ `task`
|
@@ -930,6 +525,7 @@ module Checkoff
|
|
930
525
|
|
931
526
|
def task_hashes: () -> Checkoff::Internal::TaskHashes
|
932
527
|
|
528
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
933
529
|
# _@param_ `workspace_name`
|
934
530
|
#
|
935
531
|
# _@param_ `project_name`
|
@@ -973,6 +569,7 @@ module Checkoff
|
|
973
569
|
# @sg-ignore
|
974
570
|
def log_level: () -> Symbol
|
975
571
|
|
572
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
976
573
|
attr_reader client: Asana::Client
|
977
574
|
|
978
575
|
attr_reader timing: Checkoff::Timing
|
@@ -991,6 +588,7 @@ module Checkoff
|
|
991
588
|
LONG_CACHE_TIME: untyped
|
992
589
|
SHORT_CACHE_TIME: untyped
|
993
590
|
|
591
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
994
592
|
# _@param_ `config`
|
995
593
|
#
|
996
594
|
# _@param_ `workspaces`
|
@@ -1070,6 +668,7 @@ module Checkoff
|
|
1070
668
|
|
1071
669
|
attr_reader workspaces: Checkoff::Workspaces
|
1072
670
|
|
671
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
1073
672
|
attr_reader client: Asana::Client
|
1074
673
|
|
1075
674
|
attr_reader asana_event_enrichment: Checkoff::Internal::AsanaEventEnrichment
|
@@ -1183,11 +782,13 @@ module Checkoff
|
|
1183
782
|
LONG_CACHE_TIME: untyped
|
1184
783
|
SHORT_CACHE_TIME: untyped
|
1185
784
|
|
785
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
1186
786
|
# _@param_ `config`
|
1187
787
|
#
|
1188
788
|
# _@param_ `asana_client_class`
|
1189
789
|
def initialize: (?config: (::Hash[untyped, untyped] | Checkoff::Internal::EnvFallbackConfigLoader), ?asana_client_class: singleton(Asana::Client)) -> void
|
1190
790
|
|
791
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
1191
792
|
def client: () -> Asana::Client
|
1192
793
|
|
1193
794
|
def self.run: () -> void
|
@@ -1199,6 +800,7 @@ module Checkoff
|
|
1199
800
|
LONG_CACHE_TIME: untyped
|
1200
801
|
SHORT_CACHE_TIME: untyped
|
1201
802
|
|
803
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
1202
804
|
# _@param_ `config`
|
1203
805
|
#
|
1204
806
|
# _@param_ `client`
|
@@ -1206,6 +808,8 @@ module Checkoff
|
|
1206
808
|
# _@param_ `projects`
|
1207
809
|
def initialize: (?config: (Checkoff::Internal::EnvFallbackConfigLoader | ::Hash[untyped, untyped]), ?client: Asana::Client, ?projects: Checkoff::Projects) -> void
|
1208
810
|
|
811
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
812
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
1209
813
|
# Given a 'My Tasks' project object, pull all tasks, then provide
|
1210
814
|
# a Hash of tasks with section name -> task list of the
|
1211
815
|
# uncompleted tasks.
|
@@ -1220,6 +824,8 @@ module Checkoff
|
|
1220
824
|
# _@param_ `name`
|
1221
825
|
def section_key: (String name) -> String?
|
1222
826
|
|
827
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
828
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
1223
829
|
# Given a list of tasks in 'My Tasks', pull a Hash of tasks with
|
1224
830
|
# section name -> task list
|
1225
831
|
#
|
@@ -1230,6 +836,7 @@ module Checkoff
|
|
1230
836
|
|
1231
837
|
attr_reader projects: Checkoff::Projects
|
1232
838
|
|
839
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
1233
840
|
attr_reader client: Asana::Client
|
1234
841
|
end
|
1235
842
|
|
@@ -1245,6 +852,7 @@ module Checkoff
|
|
1245
852
|
MEDIUM_CACHE_TIME: untyped
|
1246
853
|
SHORT_CACHE_TIME: untyped
|
1247
854
|
|
855
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
1248
856
|
# _@param_ `config`
|
1249
857
|
#
|
1250
858
|
# _@param_ `client`
|
@@ -1268,14 +876,12 @@ module Checkoff
|
|
1268
876
|
# _@param_ `extra_fields`
|
1269
877
|
def task_fields: (?extra_fields: ::Array[String]) -> ::Array[String]
|
1270
878
|
|
1271
|
-
# sord warn - undefined is probably not a type, but using anyway
|
1272
|
-
# sord warn - undefined wasn't able to be resolved to a constant in this project
|
1273
879
|
# Default options used in Asana API to pull tasks
|
1274
880
|
#
|
1275
881
|
# _@param_ `extra_fields`
|
1276
882
|
#
|
1277
883
|
# _@param_ `only_uncompleted`
|
1278
|
-
def task_options: (?extra_fields: ::Array[String], ?only_uncompleted: bool) -> ::Hash[Symbol,
|
884
|
+
def task_options: (?extra_fields: ::Array[String], ?only_uncompleted: bool) -> ::Hash[Symbol, untyped]
|
1279
885
|
|
1280
886
|
# _@param_ `extra_project_fields`
|
1281
887
|
def project_fields: (?extra_project_fields: ::Array[String]) -> ::Array[String]
|
@@ -1285,6 +891,7 @@ module Checkoff
|
|
1285
891
|
# _@param_ `extra_project_fields`
|
1286
892
|
def project_options: (?extra_project_fields: ::Array[String]) -> ::Hash[Symbol, Object]
|
1287
893
|
|
894
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
1288
895
|
# pulls an Asana API project class given a name
|
1289
896
|
#
|
1290
897
|
# _@param_ `workspace_name`
|
@@ -1294,6 +901,7 @@ module Checkoff
|
|
1294
901
|
# _@param_ `extra_fields`
|
1295
902
|
def project: (String workspace_name, (String | Symbol) project_name, ?extra_fields: ::Array[String]) -> Asana::Resources::Project?
|
1296
903
|
|
904
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
1297
905
|
# _@param_ `workspace_name`
|
1298
906
|
#
|
1299
907
|
# _@param_ `project_name` — - :my_tasks or a project name
|
@@ -1301,16 +909,21 @@ module Checkoff
|
|
1301
909
|
# _@param_ `extra_fields`
|
1302
910
|
def project_or_raise: (String workspace_name, (String | Symbol) project_name, ?extra_fields: ::Array[String]) -> Asana::Resources::Project
|
1303
911
|
|
912
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
1304
913
|
# _@param_ `gid`
|
1305
914
|
#
|
1306
915
|
# _@param_ `extra_fields`
|
1307
916
|
def project_by_gid: (String gid, ?extra_fields: ::Array[String]) -> Asana::Resources::Project?
|
1308
917
|
|
918
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
919
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
1309
920
|
# find uncompleted tasks in a list
|
1310
921
|
#
|
1311
922
|
# _@param_ `tasks`
|
1312
923
|
def active_tasks: (::Enumerable[Asana::Resources::Task] tasks) -> ::Enumerable[Asana::Resources::Task]
|
1313
924
|
|
925
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
926
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
1314
927
|
# Pull task objects from a named project
|
1315
928
|
#
|
1316
929
|
# _@param_ `project`
|
@@ -1320,6 +933,7 @@ module Checkoff
|
|
1320
933
|
# _@param_ `extra_fields`
|
1321
934
|
def tasks_from_project: (Asana::Resources::Project project, ?only_uncompleted: bool, ?extra_fields: ::Array[String]) -> ::Enumerable[Asana::Resources::Task]
|
1322
935
|
|
936
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
1323
937
|
# Pull task objects from a project identified by a gid
|
1324
938
|
#
|
1325
939
|
# _@param_ `project_gid`
|
@@ -1329,16 +943,19 @@ module Checkoff
|
|
1329
943
|
# _@param_ `extra_fields`
|
1330
944
|
def tasks_from_project_gid: (String project_gid, ?only_uncompleted: bool, ?extra_fields: ::Array[String]) -> ::Enumerable[Asana::Resources::Task]
|
1331
945
|
|
946
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
1332
947
|
# _@param_ `workspace_name`
|
1333
948
|
#
|
1334
949
|
# _@param_ `extra_fields`
|
1335
950
|
def projects_by_workspace_name: (String workspace_name, ?extra_fields: ::Array[String]) -> ::Enumerable[Asana::Resources::Project]
|
1336
951
|
|
952
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
1337
953
|
# _@param_ `project_obj`
|
1338
954
|
#
|
1339
955
|
# _@param_ `project` — - :not_specified, :my_tasks or a project name
|
1340
956
|
def project_to_h: (Asana::Resources::Project project_obj, ?project: (String | Symbol)) -> ::Hash[untyped, untyped]
|
1341
957
|
|
958
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
1342
959
|
# Indicates a project is ready for a person to work on it. This
|
1343
960
|
# is subtly different than what is used by Asana to mark a date as
|
1344
961
|
# red/green!
|
@@ -1351,6 +968,7 @@ module Checkoff
|
|
1351
968
|
# _@param_ `period` — See Checkoff::Timing#in_period? - :now_or_before,:this_week
|
1352
969
|
def project_ready?: (Asana::Resources::Project project, ?period: (Symbol | [Symbol, Integer])) -> bool
|
1353
970
|
|
971
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
1354
972
|
# _@param_ `project`
|
1355
973
|
#
|
1356
974
|
# _@param_ `field_name`
|
@@ -1360,8 +978,10 @@ module Checkoff
|
|
1360
978
|
|
1361
979
|
def as_cache_key: () -> ::Hash[untyped, untyped]
|
1362
980
|
|
981
|
+
# sord warn - Asana::ProxiedResourceClasses::Project wasn't able to be resolved to a constant in this project
|
1363
982
|
def projects: () -> Asana::ProxiedResourceClasses::Project
|
1364
983
|
|
984
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
1365
985
|
# _@param_ `workspace_name`
|
1366
986
|
def my_tasks: (String workspace_name) -> Asana::Resources::Project
|
1367
987
|
|
@@ -1392,6 +1012,7 @@ module Checkoff
|
|
1392
1012
|
|
1393
1013
|
attr_reader project_hashes: Checkoff::Internal::ProjectHashes
|
1394
1014
|
|
1015
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
1395
1016
|
attr_reader client: Asana::Client
|
1396
1017
|
end
|
1397
1018
|
|
@@ -1406,6 +1027,7 @@ module Checkoff
|
|
1406
1027
|
LONG_CACHE_TIME: untyped
|
1407
1028
|
SHORT_CACHE_TIME: untyped
|
1408
1029
|
|
1030
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
1409
1031
|
# _@param_ `config`
|
1410
1032
|
#
|
1411
1033
|
# _@param_ `client`
|
@@ -1423,6 +1045,7 @@ module Checkoff
|
|
1423
1045
|
?time: singleton(Time)
|
1424
1046
|
) -> void
|
1425
1047
|
|
1048
|
+
# sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
|
1426
1049
|
# Returns a list of Asana API section objects for a given project
|
1427
1050
|
#
|
1428
1051
|
# _@param_ `workspace_name`
|
@@ -1432,6 +1055,7 @@ module Checkoff
|
|
1432
1055
|
# _@param_ `extra_fields`
|
1433
1056
|
def sections_or_raise: (String workspace_name, (String | Symbol) project_name, ?extra_fields: ::Array[String]) -> ::Enumerable[Asana::Resources::Section]
|
1434
1057
|
|
1058
|
+
# sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
|
1435
1059
|
# Returns a list of Asana API section objects for a given project GID
|
1436
1060
|
#
|
1437
1061
|
# _@param_ `project_gid`
|
@@ -1439,6 +1063,7 @@ module Checkoff
|
|
1439
1063
|
# _@param_ `extra_fields`
|
1440
1064
|
def sections_by_project_gid: (String project_gid, ?extra_fields: ::Array[String]) -> ::Enumerable[Asana::Resources::Section]
|
1441
1065
|
|
1066
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
1442
1067
|
# Given a workspace name and project name, then provide a Hash of
|
1443
1068
|
# tasks with section name -> task list of the uncompleted tasks
|
1444
1069
|
#
|
@@ -1456,6 +1081,7 @@ module Checkoff
|
|
1456
1081
|
?extra_fields: ::Array[String]
|
1457
1082
|
) -> ::Hash[String?, ::Enumerable[Asana::Resources::Task]]
|
1458
1083
|
|
1084
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
1459
1085
|
# _@param_ `section_gid`
|
1460
1086
|
#
|
1461
1087
|
# _@param_ `only_uncompleted`
|
@@ -1463,6 +1089,7 @@ module Checkoff
|
|
1463
1089
|
# _@param_ `extra_fields`
|
1464
1090
|
def tasks_by_section_gid: (String section_gid, ?only_uncompleted: bool, ?extra_fields: ::Array[String]) -> ::Enumerable[Asana::Resources::Task]
|
1465
1091
|
|
1092
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
1466
1093
|
# Pulls task objects from a specified section
|
1467
1094
|
#
|
1468
1095
|
# _@param_ `workspace_name`
|
@@ -1492,6 +1119,7 @@ module Checkoff
|
|
1492
1119
|
# _@param_ `section_name`
|
1493
1120
|
def section_task_names: (String workspace_name, (String | Symbol) project_name, String? section_name) -> ::Array[String]
|
1494
1121
|
|
1122
|
+
# sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
|
1495
1123
|
# @sg-ignore
|
1496
1124
|
#
|
1497
1125
|
# _@param_ `workspace_name`
|
@@ -1511,14 +1139,18 @@ module Checkoff
|
|
1511
1139
|
# _@param_ `name`
|
1512
1140
|
def section_key: (String name) -> String?
|
1513
1141
|
|
1142
|
+
# sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
|
1143
|
+
# sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
|
1514
1144
|
# _@param_ `section`
|
1515
1145
|
def previous_section: (Asana::Resources::Section section) -> Asana::Resources::Section?
|
1516
1146
|
|
1147
|
+
# sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
|
1517
1148
|
# _@param_ `gid`
|
1518
1149
|
def section_by_gid: (String gid) -> Asana::Resources::Section?
|
1519
1150
|
|
1520
1151
|
def as_cache_key: () -> ::Hash[untyped, untyped]
|
1521
1152
|
|
1153
|
+
# sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
|
1522
1154
|
# @sg-ignore
|
1523
1155
|
#
|
1524
1156
|
# _@param_ `workspace_name`
|
@@ -1541,6 +1173,8 @@ module Checkoff
|
|
1541
1173
|
# _@param_ `response`
|
1542
1174
|
def parse: (Asana::HttpClient::Response response) -> ::Array[(::Hash[untyped, untyped] | ::Hash[untyped, untyped])]
|
1543
1175
|
|
1176
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
1177
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
1544
1178
|
# Given a project object, pull all tasks, then provide a Hash of
|
1545
1179
|
# tasks with section name -> task list of the uncompleted tasks
|
1546
1180
|
#
|
@@ -1551,6 +1185,8 @@ module Checkoff
|
|
1551
1185
|
# _@param_ `extra_fields`
|
1552
1186
|
def tasks_by_section_for_project: (Asana::Resources::Project project, ?only_uncompleted: bool, ?extra_fields: ::Array[String]) -> ::Hash[String?, ::Enumerable[Asana::Resources::Task]]
|
1553
1187
|
|
1188
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
1189
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
1554
1190
|
# Given a list of tasks, pull a Hash of tasks with section name -> task list
|
1555
1191
|
#
|
1556
1192
|
# _@param_ `tasks`
|
@@ -1558,6 +1194,8 @@ module Checkoff
|
|
1558
1194
|
# _@param_ `project_gid`
|
1559
1195
|
def by_section: (::Enumerable[Asana::Resources::Task] tasks, String project_gid) -> ::Hash[String?, ::Enumerable[Asana::Resources::Task]]
|
1560
1196
|
|
1197
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
1198
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
1561
1199
|
# _@param_ `by_section`
|
1562
1200
|
#
|
1563
1201
|
# _@param_ `task`
|
@@ -1565,6 +1203,7 @@ module Checkoff
|
|
1565
1203
|
# _@param_ `project_gid`
|
1566
1204
|
def file_task_by_section: (::Hash[String?, ::Array[Asana::Resources::Task]] by_section, Asana::Resources::Task task, String project_gid) -> void
|
1567
1205
|
|
1206
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
1568
1207
|
# _@param_ `workspace_name`
|
1569
1208
|
#
|
1570
1209
|
# _@param_ `project_name`
|
@@ -1599,6 +1238,7 @@ module Checkoff
|
|
1599
1238
|
|
1600
1239
|
attr_reader my_tasks: Checkoff::MyTasks
|
1601
1240
|
|
1241
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
1602
1242
|
attr_reader client: Asana::Client
|
1603
1243
|
end
|
1604
1244
|
|
@@ -1617,21 +1257,27 @@ module Checkoff
|
|
1617
1257
|
# _@param_ `clients`
|
1618
1258
|
def initialize: (?config: (::Hash[untyped, untyped] | Checkoff::Internal::EnvFallbackConfigLoader), ?projects: Checkoff::Projects, ?clients: Checkoff::Clients) -> void
|
1619
1259
|
|
1260
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
1620
1261
|
# True if all subtasks of the task are completed
|
1621
1262
|
#
|
1622
1263
|
# _@param_ `task`
|
1623
1264
|
def all_subtasks_completed?: (Asana::Resources::Task task) -> bool
|
1624
1265
|
|
1266
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
1267
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
1625
1268
|
# pulls a Hash of subtasks broken out by section
|
1626
1269
|
#
|
1627
1270
|
# _@param_ `tasks`
|
1628
1271
|
def by_section: (::Enumerable[Asana::Resources::Task] tasks) -> ::Hash[String?, ::Enumerable[Asana::Resources::Task]]
|
1629
1272
|
|
1273
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
1274
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
1630
1275
|
# Returns all subtasks, including section headers
|
1631
1276
|
#
|
1632
1277
|
# _@param_ `task`
|
1633
1278
|
def raw_subtasks: (Asana::Resources::Task task) -> ::Enumerable[Asana::Resources::Task]
|
1634
1279
|
|
1280
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
1635
1281
|
# Pull a specific task by GID
|
1636
1282
|
#
|
1637
1283
|
# _@param_ `task_gid`
|
@@ -1641,6 +1287,7 @@ module Checkoff
|
|
1641
1287
|
# _@param_ `only_uncompleted`
|
1642
1288
|
def subtasks_by_gid: (String task_gid, ?extra_fields: ::Array[String], ?only_uncompleted: bool) -> ::Enumerable[Asana::Resources::Task]
|
1643
1289
|
|
1290
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
1644
1291
|
# True if the subtask passed in represents a section in the subtasks
|
1645
1292
|
#
|
1646
1293
|
# Note: expect this to be removed in a future version, as Asana is
|
@@ -1650,6 +1297,7 @@ module Checkoff
|
|
1650
1297
|
# _@param_ `subtask`
|
1651
1298
|
def subtask_section?: (Asana::Resources::Task subtask) -> bool
|
1652
1299
|
|
1300
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
1653
1301
|
# _@param_ `current_section`
|
1654
1302
|
#
|
1655
1303
|
# _@param_ `by_section`
|
@@ -1659,6 +1307,7 @@ module Checkoff
|
|
1659
1307
|
|
1660
1308
|
attr_reader projects: Checkoff::Projects
|
1661
1309
|
|
1310
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
1662
1311
|
attr_reader client: Asana::Client
|
1663
1312
|
end
|
1664
1313
|
|
@@ -1672,6 +1321,7 @@ module Checkoff
|
|
1672
1321
|
LONG_CACHE_TIME: untyped
|
1673
1322
|
SHORT_CACHE_TIME: untyped
|
1674
1323
|
|
1324
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
1675
1325
|
# _@param_ `config`
|
1676
1326
|
#
|
1677
1327
|
# _@param_ `workspaces`
|
@@ -1707,12 +1357,15 @@ module Checkoff
|
|
1707
1357
|
# _@param_ `resource_type`
|
1708
1358
|
def resource_by_gid: (String gid, ?resource_type: String?) -> [untyped, untyped, untyped, untyped]
|
1709
1359
|
|
1360
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
1710
1361
|
# _@param_ `gid`
|
1711
1362
|
def fetch_task_gid: (String gid) -> Asana::Resources::Task?
|
1712
1363
|
|
1364
|
+
# sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
|
1713
1365
|
# _@param_ `section_gid`
|
1714
1366
|
def fetch_section_gid: (String section_gid) -> Asana::Resources::Section?
|
1715
1367
|
|
1368
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
1716
1369
|
# _@param_ `project_gid`
|
1717
1370
|
def fetch_project_gid: (String project_gid) -> Asana::Resources::Project?
|
1718
1371
|
|
@@ -1726,6 +1379,7 @@ module Checkoff
|
|
1726
1379
|
|
1727
1380
|
attr_reader tasks: Checkoff::Tasks
|
1728
1381
|
|
1382
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
1729
1383
|
attr_reader client: Asana::Client
|
1730
1384
|
end
|
1731
1385
|
|
@@ -1739,6 +1393,7 @@ module Checkoff
|
|
1739
1393
|
LONG_CACHE_TIME: untyped
|
1740
1394
|
SHORT_CACHE_TIME: untyped
|
1741
1395
|
|
1396
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
1742
1397
|
# _@param_ `config`
|
1743
1398
|
#
|
1744
1399
|
# _@param_ `workspaces`
|
@@ -1762,24 +1417,29 @@ module Checkoff
|
|
1762
1417
|
?client: Asana::Client
|
1763
1418
|
) -> void
|
1764
1419
|
|
1420
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
1765
1421
|
# _@param_ `task`
|
1766
1422
|
#
|
1767
1423
|
# _@param_ `limit_to_portfolio_gid`
|
1768
1424
|
def task_dependent_on_previous_section_last_milestone?: (Asana::Resources::Task task, ?limit_to_portfolio_gid: String?) -> bool
|
1769
1425
|
|
1426
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
1770
1427
|
# _@param_ `task`
|
1771
1428
|
#
|
1772
1429
|
# _@param_ `limit_to_portfolio_name`
|
1773
1430
|
def last_task_milestone_depends_on_this_task?: (Asana::Resources::Task task, ?limit_to_portfolio_name: String?) -> bool
|
1774
1431
|
|
1432
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
1775
1433
|
# _@param_ `task`
|
1776
1434
|
#
|
1777
1435
|
# _@param_ `limit_to_portfolio_name`
|
1778
1436
|
def any_milestone_depends_on_this_task?: (Asana::Resources::Task task, ?limit_to_portfolio_name: String?) -> bool
|
1779
1437
|
|
1438
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
1780
1439
|
# _@param_ `section_gid`
|
1781
1440
|
def last_milestone_in_section: (String section_gid) -> Asana::Resources::Task?
|
1782
1441
|
|
1442
|
+
# sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
|
1783
1443
|
# _@param_ `task_data`
|
1784
1444
|
#
|
1785
1445
|
# _@param_ `section`
|
@@ -1789,6 +1449,7 @@ module Checkoff
|
|
1789
1449
|
|
1790
1450
|
attr_reader workspaces: Checkoff::Workspaces
|
1791
1451
|
|
1452
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
1792
1453
|
attr_reader client: Asana::Client
|
1793
1454
|
end
|
1794
1455
|
|
@@ -1803,6 +1464,7 @@ module Checkoff
|
|
1803
1464
|
LONG_CACHE_TIME: untyped
|
1804
1465
|
SHORT_CACHE_TIME: untyped
|
1805
1466
|
|
1467
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
1806
1468
|
# _@param_ `config`
|
1807
1469
|
#
|
1808
1470
|
# _@param_ `workspaces`
|
@@ -1820,11 +1482,13 @@ module Checkoff
|
|
1820
1482
|
?workspaces: Checkoff::Workspaces
|
1821
1483
|
) -> void
|
1822
1484
|
|
1485
|
+
# sord warn - Asana::Resources::Portfolio wasn't able to be resolved to a constant in this project
|
1823
1486
|
# _@param_ `workspace_name`
|
1824
1487
|
#
|
1825
1488
|
# _@param_ `portfolio_name`
|
1826
1489
|
def portfolio_or_raise: (String workspace_name, String portfolio_name) -> Asana::Resources::Portfolio
|
1827
1490
|
|
1491
|
+
# sord warn - Asana::Resources::Portfolio wasn't able to be resolved to a constant in this project
|
1828
1492
|
# @sg-ignore
|
1829
1493
|
#
|
1830
1494
|
# _@param_ `workspace_name`
|
@@ -1832,6 +1496,7 @@ module Checkoff
|
|
1832
1496
|
# _@param_ `portfolio_name`
|
1833
1497
|
def portfolio: (String workspace_name, String portfolio_name) -> Asana::Resources::Portfolio?
|
1834
1498
|
|
1499
|
+
# sord warn - Asana::Resources::Portfolio wasn't able to be resolved to a constant in this project
|
1835
1500
|
# Pull a specific portfolio by gid
|
1836
1501
|
#
|
1837
1502
|
# _@param_ `portfolio_gid`
|
@@ -1839,6 +1504,7 @@ module Checkoff
|
|
1839
1504
|
# _@param_ `extra_fields`
|
1840
1505
|
def portfolio_by_gid: (String portfolio_gid, ?extra_fields: ::Array[String]) -> Asana::Resources::Portfolio?
|
1841
1506
|
|
1507
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
1842
1508
|
# _@param_ `workspace_name`
|
1843
1509
|
#
|
1844
1510
|
# _@param_ `portfolio_name`
|
@@ -1846,6 +1512,8 @@ module Checkoff
|
|
1846
1512
|
# _@param_ `extra_project_fields`
|
1847
1513
|
def projects_in_portfolio: (String workspace_name, String portfolio_name, ?extra_project_fields: ::Array[String]) -> ::Enumerable[Asana::Resources::Project]
|
1848
1514
|
|
1515
|
+
# sord warn - Asana::Resources::Portfolio wasn't able to be resolved to a constant in this project
|
1516
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
1849
1517
|
# _@param_ `portfolio`
|
1850
1518
|
#
|
1851
1519
|
# _@param_ `extra_project_fields`
|
@@ -1857,6 +1525,7 @@ module Checkoff
|
|
1857
1525
|
|
1858
1526
|
attr_reader projects: Checkoff::Projects
|
1859
1527
|
|
1528
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
1860
1529
|
attr_reader client: Asana::Client
|
1861
1530
|
end
|
1862
1531
|
|
@@ -1870,6 +1539,8 @@ module Checkoff
|
|
1870
1539
|
LONG_CACHE_TIME: untyped
|
1871
1540
|
SHORT_CACHE_TIME: untyped
|
1872
1541
|
|
1542
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
1543
|
+
# sord warn - Asana::Resources::Workspace wasn't able to be resolved to a constant in this project
|
1873
1544
|
# _@param_ `config`
|
1874
1545
|
#
|
1875
1546
|
# _@param_ `client`
|
@@ -1877,20 +1548,24 @@ module Checkoff
|
|
1877
1548
|
# _@param_ `asana_workspace`
|
1878
1549
|
def initialize: (?config: (::Hash[untyped, untyped] | Checkoff::Internal::EnvFallbackConfigLoader), ?client: Asana::Client, ?asana_workspace: singleton(Asana::Resources::Workspace)) -> void
|
1879
1550
|
|
1551
|
+
# sord warn - Asana::Resources::Workspace wasn't able to be resolved to a constant in this project
|
1880
1552
|
# Pulls an Asana workspace object
|
1881
1553
|
# @sg-ignore
|
1882
1554
|
#
|
1883
1555
|
# _@param_ `workspace_name`
|
1884
1556
|
def workspace: (String workspace_name) -> Asana::Resources::Workspace?
|
1885
1557
|
|
1558
|
+
# sord warn - Asana::Resources::Workspace wasn't able to be resolved to a constant in this project
|
1886
1559
|
def default_workspace: () -> Asana::Resources::Workspace
|
1887
1560
|
|
1561
|
+
# sord warn - Asana::Resources::Workspace wasn't able to be resolved to a constant in this project
|
1888
1562
|
# _@param_ `workspace_name`
|
1889
1563
|
def workspace_or_raise: (String workspace_name) -> Asana::Resources::Workspace
|
1890
1564
|
|
1891
1565
|
# @sg-ignore
|
1892
1566
|
def default_workspace_gid: () -> String
|
1893
1567
|
|
1568
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
1894
1569
|
attr_reader client: Asana::Client
|
1895
1570
|
end
|
1896
1571
|
|
@@ -1904,6 +1579,7 @@ module Checkoff
|
|
1904
1579
|
LONG_CACHE_TIME: untyped
|
1905
1580
|
SHORT_CACHE_TIME: untyped
|
1906
1581
|
|
1582
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
1907
1583
|
# _@param_ `config`
|
1908
1584
|
#
|
1909
1585
|
# _@param_ `workspaces`
|
@@ -2013,6 +1689,7 @@ module Checkoff
|
|
2013
1689
|
|
2014
1690
|
attr_reader workspaces: Checkoff::Workspaces
|
2015
1691
|
|
1692
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
2016
1693
|
attr_reader client: Asana::Client
|
2017
1694
|
end
|
2018
1695
|
|
@@ -2026,6 +1703,7 @@ module Checkoff
|
|
2026
1703
|
LONG_CACHE_TIME: untyped
|
2027
1704
|
SHORT_CACHE_TIME: untyped
|
2028
1705
|
|
1706
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
2029
1707
|
# _@param_ `config`
|
2030
1708
|
#
|
2031
1709
|
# _@param_ `workspaces`
|
@@ -2054,16 +1732,22 @@ module Checkoff
|
|
2054
1732
|
# _@param_ `custom_field_name`
|
2055
1733
|
def custom_field: (String workspace_name, String custom_field_name) -> Asana::Resources::CustomField?
|
2056
1734
|
|
1735
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
1736
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
2057
1737
|
# _@param_ `resource`
|
2058
1738
|
#
|
2059
1739
|
# _@param_ `custom_field_gid`
|
2060
1740
|
def resource_custom_field_values_gids_or_raise: ((Asana::Resources::Project | Asana::Resources::Task) resource, String custom_field_gid) -> ::Array[String]
|
2061
1741
|
|
1742
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
1743
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
2062
1744
|
# _@param_ `resource`
|
2063
1745
|
#
|
2064
1746
|
# _@param_ `custom_field_name`
|
2065
1747
|
def resource_custom_field_values_names_by_name: ((Asana::Resources::Project | Asana::Resources::Task) resource, String custom_field_name) -> ::Array[String]
|
2066
1748
|
|
1749
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
1750
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
2067
1751
|
# @sg-ignore
|
2068
1752
|
#
|
2069
1753
|
# _@param_ `resource`
|
@@ -2071,11 +1755,15 @@ module Checkoff
|
|
2071
1755
|
# _@param_ `custom_field_name`
|
2072
1756
|
def resource_custom_field_by_name: ((Asana::Resources::Task | Asana::Resources::Project) resource, String custom_field_name) -> ::Hash[untyped, untyped]?
|
2073
1757
|
|
1758
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
1759
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
2074
1760
|
# _@param_ `resource`
|
2075
1761
|
#
|
2076
1762
|
# _@param_ `custom_field_name`
|
2077
1763
|
def resource_custom_field_by_name_or_raise: ((Asana::Resources::Task | Asana::Resources::Project) resource, String custom_field_name) -> ::Hash[untyped, untyped]
|
2078
1764
|
|
1765
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
1766
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
2079
1767
|
# _@param_ `resource`
|
2080
1768
|
#
|
2081
1769
|
# _@param_ `custom_field_gid`
|
@@ -2095,6 +1783,7 @@ module Checkoff
|
|
2095
1783
|
|
2096
1784
|
attr_reader workspaces: Checkoff::Workspaces
|
2097
1785
|
|
1786
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
2098
1787
|
attr_reader client: Asana::Client
|
2099
1788
|
end
|
2100
1789
|
|
@@ -2110,6 +1799,7 @@ module Checkoff
|
|
2110
1799
|
LONG_CACHE_TIME: untyped
|
2111
1800
|
SHORT_CACHE_TIME: untyped
|
2112
1801
|
|
1802
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
2113
1803
|
# sord warn - Asana::Resources::Collection wasn't able to be resolved to a constant in this project
|
2114
1804
|
# _@param_ `config`
|
2115
1805
|
#
|
@@ -2137,6 +1827,7 @@ module Checkoff
|
|
2137
1827
|
?asana_resources_collection_class: singleton(Asana::Resources::Collection)
|
2138
1828
|
) -> void
|
2139
1829
|
|
1830
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
2140
1831
|
# Perform an equivalent search API to an Asana search URL in the
|
2141
1832
|
# web UI. Not all URL parameters are supported; each one must be
|
2142
1833
|
# added here manually. In addition, not all are supported in the
|
@@ -2151,6 +1842,7 @@ module Checkoff
|
|
2151
1842
|
# _@param_ `extra_fields`
|
2152
1843
|
def task_search: (String workspace_name, String url, ?extra_fields: ::Array[String]) -> ::Enumerable[Asana::Resources::Task]
|
2153
1844
|
|
1845
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
2154
1846
|
# Perform a search using the Asana Task Search API:
|
2155
1847
|
#
|
2156
1848
|
# https://developers.asana.com/reference/searchtasksforworkspace
|
@@ -2174,6 +1866,7 @@ module Checkoff
|
|
2174
1866
|
|
2175
1867
|
def as_cache_key: () -> ::Hash[untyped, untyped]
|
2176
1868
|
|
1869
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
2177
1870
|
# Perform a search using the Asana Task Search API:
|
2178
1871
|
#
|
2179
1872
|
# https://developers.asana.com/reference/searchtasksforworkspace
|
@@ -2185,6 +1878,7 @@ module Checkoff
|
|
2185
1878
|
# _@param_ `extra_fields`
|
2186
1879
|
def api_task_search_request: (::Hash[String, Object] api_params, workspace_gid: String, extra_fields: ::Array[String]) -> ::Enumerable[Asana::Resources::Task]
|
2187
1880
|
|
1881
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
2188
1882
|
# Perform a search using the Asana Task Search API and use manual pagination to
|
2189
1883
|
# ensure all results are returned:
|
2190
1884
|
#
|
@@ -2205,12 +1899,10 @@ module Checkoff
|
|
2205
1899
|
# _@param_ `extra_fields`
|
2206
1900
|
def iterated_raw_task_search: (::Hash[String, Object] api_params, workspace_gid: String, extra_fields: ::Array[String]) -> ::Enumerable[Asana::Resources::Task]
|
2207
1901
|
|
2208
|
-
# sord warn - undefined is probably not a type, but using anyway
|
2209
|
-
# sord warn - undefined wasn't able to be resolved to a constant in this project
|
2210
1902
|
# @sg-ignore
|
2211
1903
|
#
|
2212
1904
|
# _@param_ `extra_fields`
|
2213
|
-
def calculate_api_options: (::Array[String] extra_fields) -> ::Hash[Symbol,
|
1905
|
+
def calculate_api_options: (::Array[String] extra_fields) -> ::Hash[Symbol, untyped]
|
2214
1906
|
|
2215
1907
|
def self.run: () -> void
|
2216
1908
|
|
@@ -2241,6 +1933,7 @@ module Checkoff
|
|
2241
1933
|
|
2242
1934
|
attr_reader workspaces: Checkoff::Workspaces
|
2243
1935
|
|
1936
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
2244
1937
|
attr_reader client: Asana::Client
|
2245
1938
|
end
|
2246
1939
|
|
@@ -2253,6 +1946,7 @@ module Checkoff
|
|
2253
1946
|
LONG_CACHE_TIME: untyped
|
2254
1947
|
SHORT_CACHE_TIME: untyped
|
2255
1948
|
|
1949
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
2256
1950
|
# @sg-ignore
|
2257
1951
|
#
|
2258
1952
|
# _@param_ `config`
|
@@ -2272,6 +1966,7 @@ module Checkoff
|
|
2272
1966
|
?custom_fields: Checkoff::CustomFields
|
2273
1967
|
) -> void
|
2274
1968
|
|
1969
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
2275
1970
|
# _@param_ `task`
|
2276
1971
|
#
|
2277
1972
|
# _@param_ `task_selector` — Filter based on task details. Examples: [:tag, 'foo'] [:not, [:tag, 'foo']] [:tag, 'foo']
|
@@ -2304,6 +1999,7 @@ module Checkoff
|
|
2304
1999
|
LONG_CACHE_TIME: untyped
|
2305
2000
|
SHORT_CACHE_TIME: untyped
|
2306
2001
|
|
2002
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
2307
2003
|
# _@param_ `config`
|
2308
2004
|
#
|
2309
2005
|
# _@param_ `workspaces`
|
@@ -2327,6 +2023,7 @@ module Checkoff
|
|
2327
2023
|
?client: Asana::Client
|
2328
2024
|
) -> void
|
2329
2025
|
|
2026
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
2330
2027
|
# _@param_ `project`
|
2331
2028
|
#
|
2332
2029
|
# _@param_ `project_selector` — Filter based on project details. Examples: [:tag, 'foo'] [:not, [:tag, 'foo']] [:tag, 'foo']
|
@@ -2342,6 +2039,7 @@ module Checkoff
|
|
2342
2039
|
|
2343
2040
|
attr_reader portfolios: Checkoff::Portfolios
|
2344
2041
|
|
2042
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
2345
2043
|
attr_reader client: Asana::Client
|
2346
2044
|
end
|
2347
2045
|
|
@@ -2354,6 +2052,7 @@ module Checkoff
|
|
2354
2052
|
LONG_CACHE_TIME: untyped
|
2355
2053
|
SHORT_CACHE_TIME: untyped
|
2356
2054
|
|
2055
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
2357
2056
|
# _@param_ `config`
|
2358
2057
|
#
|
2359
2058
|
# _@param_ `workspaces`
|
@@ -2374,6 +2073,7 @@ module Checkoff
|
|
2374
2073
|
?client: Asana::Client
|
2375
2074
|
) -> void
|
2376
2075
|
|
2076
|
+
# sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
|
2377
2077
|
# _@param_ `section`
|
2378
2078
|
#
|
2379
2079
|
# _@param_ `section_selector` — Filter based on section details. Examples: [:tag, 'foo'] [:not, [:tag, 'foo']] [:tag, 'foo']
|
@@ -2387,6 +2087,7 @@ module Checkoff
|
|
2387
2087
|
|
2388
2088
|
attr_reader custom_fields: Checkoff::CustomFields
|
2389
2089
|
|
2090
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
2390
2091
|
attr_reader client: Asana::Client
|
2391
2092
|
end
|
2392
2093
|
|
@@ -2394,9 +2095,12 @@ module Checkoff
|
|
2394
2095
|
# Builds on the standard API representation of an Asana task with some
|
2395
2096
|
# convenience keys.
|
2396
2097
|
class TaskHashes
|
2098
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
2397
2099
|
# _@param_ `task`
|
2398
2100
|
def task_to_h: (Asana::Resources::Task task) -> ::Hash[untyped, untyped]
|
2399
2101
|
|
2102
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
2103
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
2400
2104
|
# _@param_ `task_data`
|
2401
2105
|
#
|
2402
2106
|
# _@param_ `client`
|
@@ -2430,6 +2134,7 @@ module Checkoff
|
|
2430
2134
|
|
2431
2135
|
# Utility methods for working with task dates and times
|
2432
2136
|
class TaskTiming
|
2137
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
2433
2138
|
# _@param_ `time_class`
|
2434
2139
|
#
|
2435
2140
|
# _@param_ `date_class`
|
@@ -2444,30 +2149,37 @@ module Checkoff
|
|
2444
2149
|
?custom_fields: Checkoff::CustomFields
|
2445
2150
|
) -> void
|
2446
2151
|
|
2152
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
2447
2153
|
# _@param_ `task`
|
2448
2154
|
def start_time: (Asana::Resources::Task task) -> Time?
|
2449
2155
|
|
2156
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
2450
2157
|
# _@param_ `task`
|
2451
2158
|
def due_time: (Asana::Resources::Task task) -> Time?
|
2452
2159
|
|
2160
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
2453
2161
|
# @sg-ignore
|
2454
2162
|
#
|
2455
2163
|
# _@param_ `task`
|
2456
2164
|
def start_date_or_time: (Asana::Resources::Task task) -> (Date | Time)?
|
2457
2165
|
|
2166
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
2458
2167
|
# @sg-ignore
|
2459
2168
|
#
|
2460
2169
|
# _@param_ `task`
|
2461
2170
|
def due_date_or_time: (Asana::Resources::Task task) -> (Date | Time)?
|
2462
2171
|
|
2172
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
2463
2173
|
# _@param_ `task`
|
2464
2174
|
def modified_time: (Asana::Resources::Task task) -> Time?
|
2465
2175
|
|
2176
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
2466
2177
|
# _@param_ `task`
|
2467
2178
|
#
|
2468
2179
|
# _@param_ `custom_field_name`
|
2469
2180
|
def custom_field: (Asana::Resources::Task task, String custom_field_name) -> (Time | Date)?
|
2470
2181
|
|
2182
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
2471
2183
|
# @sg-ignore
|
2472
2184
|
#
|
2473
2185
|
# _@param_ `task`
|
@@ -2478,6 +2190,8 @@ module Checkoff
|
|
2478
2190
|
|
2479
2191
|
# Manage thread lock variables in a block
|
2480
2192
|
class ThreadLocal
|
2193
|
+
# sord warn - T wasn't able to be resolved to a constant in this project
|
2194
|
+
# sord warn - T wasn't able to be resolved to a constant in this project
|
2481
2195
|
# @sg-ignore
|
2482
2196
|
#
|
2483
2197
|
# _@param_ `name`
|
@@ -2489,14 +2203,12 @@ module Checkoff
|
|
2489
2203
|
# Use the provided config from a YAML file, and fall back to env
|
2490
2204
|
# variable if it's not populated for a key'
|
2491
2205
|
class EnvFallbackConfigLoader
|
2492
|
-
# sord warn - undefined is probably not a type, but using anyway
|
2493
|
-
# sord warn - undefined wasn't able to be resolved to a constant in this project
|
2494
2206
|
# _@param_ `config`
|
2495
2207
|
#
|
2496
2208
|
# _@param_ `sym`
|
2497
2209
|
#
|
2498
2210
|
# _@param_ `yaml_filename`
|
2499
|
-
def initialize: (::Hash[Symbol,
|
2211
|
+
def initialize: (::Hash[Symbol, untyped] config, Symbol sym, String yaml_filename) -> void
|
2500
2212
|
|
2501
2213
|
# _@param_ `key`
|
2502
2214
|
def []: (Symbol key) -> Object
|
@@ -2513,10 +2225,8 @@ module Checkoff
|
|
2513
2225
|
# _@param_ `sym`
|
2514
2226
|
def self.load: (Symbol sym) -> EnvFallbackConfigLoader
|
2515
2227
|
|
2516
|
-
# sord warn - undefined is probably not a type, but using anyway
|
2517
|
-
# sord warn - undefined wasn't able to be resolved to a constant in this project
|
2518
2228
|
# _@param_ `sym`
|
2519
|
-
def self.load_yaml_file: (Symbol sym) -> ::Hash[Symbol,
|
2229
|
+
def self.load_yaml_file: (Symbol sym) -> ::Hash[Symbol, untyped]
|
2520
2230
|
|
2521
2231
|
# _@param_ `sym`
|
2522
2232
|
def self.yaml_filename: (Symbol sym) -> String
|
@@ -2528,6 +2238,7 @@ module Checkoff
|
|
2528
2238
|
# _@param_ `_deps`
|
2529
2239
|
def initialize: (?::Hash[untyped, untyped] _deps) -> void
|
2530
2240
|
|
2241
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
2531
2242
|
# _@param_ `project_obj`
|
2532
2243
|
#
|
2533
2244
|
# _@param_ `project` — - :not_specified, :my_tasks
|
@@ -2539,6 +2250,7 @@ module Checkoff
|
|
2539
2250
|
|
2540
2251
|
# Utility methods for working with project dates and times
|
2541
2252
|
class ProjectTiming
|
2253
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
2542
2254
|
# _@param_ `time_class`
|
2543
2255
|
#
|
2544
2256
|
# _@param_ `date_class`
|
@@ -2553,21 +2265,25 @@ module Checkoff
|
|
2553
2265
|
?custom_fields: Checkoff::CustomFields
|
2554
2266
|
) -> void
|
2555
2267
|
|
2268
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
2556
2269
|
# @sg-ignore
|
2557
2270
|
#
|
2558
2271
|
# _@param_ `project`
|
2559
2272
|
def start_date: (Asana::Resources::Project project) -> Date?
|
2560
2273
|
|
2274
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
2561
2275
|
# @sg-ignore
|
2562
2276
|
#
|
2563
2277
|
# _@param_ `project`
|
2564
2278
|
def due_date: (Asana::Resources::Project project) -> Date?
|
2565
2279
|
|
2280
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
2566
2281
|
# _@param_ `project`
|
2567
2282
|
#
|
2568
2283
|
# _@param_ `custom_field_name`
|
2569
2284
|
def custom_field: (Asana::Resources::Project project, String custom_field_name) -> (Time | Date)?
|
2570
2285
|
|
2286
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
2571
2287
|
# @sg-ignore
|
2572
2288
|
#
|
2573
2289
|
# _@param_ `project`
|
@@ -2884,6 +2600,7 @@ module Checkoff
|
|
2884
2600
|
class AsanaEventFilter
|
2885
2601
|
include Logging
|
2886
2602
|
|
2603
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
2887
2604
|
# _@param_ `filters` — The filters to match against
|
2888
2605
|
#
|
2889
2606
|
# _@param_ `clients`
|
@@ -2919,6 +2636,7 @@ module Checkoff
|
|
2919
2636
|
# _@param_ `asana_event`
|
2920
2637
|
def asana_event_matches_filter_item?: (String key, (String | ::Array[String]) value, ::Hash[untyped, untyped] asana_event) -> bool
|
2921
2638
|
|
2639
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
2922
2640
|
# _@param_ `key`
|
2923
2641
|
#
|
2924
2642
|
# _@param_ `asana_event`
|
@@ -2953,6 +2671,7 @@ module Checkoff
|
|
2953
2671
|
class AsanaEventEnrichment
|
2954
2672
|
include Logging
|
2955
2673
|
|
2674
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
2956
2675
|
# _@param_ `config`
|
2957
2676
|
#
|
2958
2677
|
# _@param_ `workspaces`
|
@@ -3051,6 +2770,7 @@ module Checkoff
|
|
3051
2770
|
|
3052
2771
|
attr_reader resources: Checkoff::Resources
|
3053
2772
|
|
2773
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
3054
2774
|
attr_reader client: Asana::Client
|
3055
2775
|
end
|
3056
2776
|
end
|
@@ -3087,6 +2807,7 @@ module Checkoff
|
|
3087
2807
|
# _@param_ `_index`
|
3088
2808
|
def evaluate_arg?: (Integer _index) -> bool
|
3089
2809
|
|
2810
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
3090
2811
|
# @sg-ignore
|
3091
2812
|
#
|
3092
2813
|
# _@param_ `task`
|
@@ -3100,6 +2821,7 @@ module Checkoff
|
|
3100
2821
|
# _@param_ `_index`
|
3101
2822
|
def evaluate_arg?: (Integer _index) -> bool
|
3102
2823
|
|
2824
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
3103
2825
|
# @sg-ignore
|
3104
2826
|
#
|
3105
2827
|
# _@param_ `task`
|
@@ -3115,6 +2837,7 @@ module Checkoff
|
|
3115
2837
|
# _@param_ `_index`
|
3116
2838
|
def evaluate_arg?: (Integer _index) -> bool
|
3117
2839
|
|
2840
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
3118
2841
|
# @sg-ignore
|
3119
2842
|
#
|
3120
2843
|
# _@param_ `task`
|
@@ -3130,6 +2853,7 @@ module Checkoff
|
|
3130
2853
|
# _@param_ `_index`
|
3131
2854
|
def evaluate_arg?: (Integer _index) -> bool
|
3132
2855
|
|
2856
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
3133
2857
|
# @sg-ignore
|
3134
2858
|
#
|
3135
2859
|
# _@param_ `task`
|
@@ -3145,6 +2869,7 @@ module Checkoff
|
|
3145
2869
|
# _@param_ `_index`
|
3146
2870
|
def evaluate_arg?: (Integer _index) -> bool
|
3147
2871
|
|
2872
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
3148
2873
|
# @sg-ignore
|
3149
2874
|
#
|
3150
2875
|
# _@param_ `task`
|
@@ -3160,6 +2885,7 @@ module Checkoff
|
|
3160
2885
|
# _@param_ `_index`
|
3161
2886
|
def evaluate_arg?: (Integer _index) -> bool
|
3162
2887
|
|
2888
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
3163
2889
|
# @sg-ignore
|
3164
2890
|
#
|
3165
2891
|
# _@param_ `task`
|
@@ -3177,6 +2903,7 @@ module Checkoff
|
|
3177
2903
|
# _@param_ `_index`
|
3178
2904
|
def evaluate_arg?: (Integer _index) -> bool
|
3179
2905
|
|
2906
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
3180
2907
|
# rubocop:disable Style/OptionalBooleanParameter
|
3181
2908
|
#
|
3182
2909
|
# _@param_ `task`
|
@@ -3194,6 +2921,7 @@ module Checkoff
|
|
3194
2921
|
# _@param_ `_index`
|
3195
2922
|
def evaluate_arg?: (Integer _index) -> bool
|
3196
2923
|
|
2924
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
3197
2925
|
# _@param_ `task`
|
3198
2926
|
#
|
3199
2927
|
# _@param_ `field_name` — See Checksoff::Tasks#in_period?
|
@@ -3206,6 +2934,7 @@ module Checkoff
|
|
3206
2934
|
class UnassignedPFunctionEvaluator < Checkoff::SelectorClasses::Task::FunctionEvaluator
|
3207
2935
|
def matches?: () -> bool
|
3208
2936
|
|
2937
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
3209
2938
|
# _@param_ `task`
|
3210
2939
|
def evaluate: (Asana::Resources::Task task) -> bool
|
3211
2940
|
end
|
@@ -3216,6 +2945,7 @@ module Checkoff
|
|
3216
2945
|
|
3217
2946
|
def matches?: () -> bool
|
3218
2947
|
|
2948
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
3219
2949
|
# @sg-ignore
|
3220
2950
|
#
|
3221
2951
|
# _@param_ `task`
|
@@ -3230,6 +2960,7 @@ module Checkoff
|
|
3230
2960
|
|
3231
2961
|
def evaluate_arg?: (Integer _index) -> bool
|
3232
2962
|
|
2963
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
3233
2964
|
# _@param_ `task`
|
3234
2965
|
#
|
3235
2966
|
# _@param_ `num_days`
|
@@ -3244,9 +2975,11 @@ module Checkoff
|
|
3244
2975
|
|
3245
2976
|
def matches?: () -> bool
|
3246
2977
|
|
2978
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
3247
2979
|
# _@param_ `task`
|
3248
2980
|
def calculate_allocated_hours: (Asana::Resources::Task task) -> Float
|
3249
2981
|
|
2982
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
3250
2983
|
# _@param_ `task`
|
3251
2984
|
def evaluate: (Asana::Resources::Task task) -> bool
|
3252
2985
|
end
|
@@ -3257,6 +2990,7 @@ module Checkoff
|
|
3257
2990
|
|
3258
2991
|
def matches?: () -> bool
|
3259
2992
|
|
2993
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
3260
2994
|
# _@param_ `task`
|
3261
2995
|
#
|
3262
2996
|
# _@param_ `limit_to_portfolio_gid` — If specified, only projects in this portfolio will be evaluated.
|
@@ -3269,6 +3003,7 @@ module Checkoff
|
|
3269
3003
|
|
3270
3004
|
def matches?: () -> bool
|
3271
3005
|
|
3006
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
3272
3007
|
# _@param_ `task`
|
3273
3008
|
#
|
3274
3009
|
# _@param_ `portfolio_name`
|
@@ -3283,6 +3018,7 @@ module Checkoff
|
|
3283
3018
|
|
3284
3019
|
def evaluate_arg?: (Integer _index) -> bool
|
3285
3020
|
|
3021
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
3286
3022
|
# _@param_ `task`
|
3287
3023
|
#
|
3288
3024
|
# _@param_ `limit_to_portfolio_name`
|
@@ -3297,6 +3033,7 @@ module Checkoff
|
|
3297
3033
|
|
3298
3034
|
def evaluate_arg?: (Integer _index) -> bool
|
3299
3035
|
|
3036
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
3300
3037
|
# _@param_ `task`
|
3301
3038
|
def evaluate: (Asana::Resources::Task task) -> bool
|
3302
3039
|
end
|
@@ -3309,6 +3046,7 @@ module Checkoff
|
|
3309
3046
|
|
3310
3047
|
def evaluate_arg?: (Integer _index) -> bool
|
3311
3048
|
|
3049
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
3312
3050
|
# _@param_ `task`
|
3313
3051
|
#
|
3314
3052
|
# _@param_ `limit_to_portfolio_name`
|
@@ -3345,6 +3083,8 @@ module Checkoff
|
|
3345
3083
|
|
3346
3084
|
def matches?: () -> bool
|
3347
3085
|
|
3086
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
3087
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
3348
3088
|
# _@param_ `_resource`
|
3349
3089
|
#
|
3350
3090
|
# _@param_ `args`
|
@@ -3360,6 +3100,8 @@ module Checkoff
|
|
3360
3100
|
|
3361
3101
|
def matches?: () -> bool
|
3362
3102
|
|
3103
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
3104
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
3363
3105
|
# _@param_ `_resource`
|
3364
3106
|
#
|
3365
3107
|
# _@param_ `args`
|
@@ -3372,6 +3114,8 @@ module Checkoff
|
|
3372
3114
|
|
3373
3115
|
def matches?: () -> bool
|
3374
3116
|
|
3117
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
3118
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
3375
3119
|
# _@param_ `_resource`
|
3376
3120
|
#
|
3377
3121
|
# _@param_ `subvalue`
|
@@ -3382,6 +3126,8 @@ module Checkoff
|
|
3382
3126
|
class NilPFunctionEvaluator < Checkoff::SelectorClasses::Common::FunctionEvaluator
|
3383
3127
|
def matches?: () -> bool
|
3384
3128
|
|
3129
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
3130
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
3385
3131
|
# _@param_ `_resource`
|
3386
3132
|
#
|
3387
3133
|
# _@param_ `subvalue`
|
@@ -3394,6 +3140,8 @@ module Checkoff
|
|
3394
3140
|
|
3395
3141
|
def matches?: () -> bool
|
3396
3142
|
|
3143
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
3144
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
3397
3145
|
# _@param_ `_resource`
|
3398
3146
|
#
|
3399
3147
|
# _@param_ `lhs`
|
@@ -3411,6 +3159,8 @@ module Checkoff
|
|
3411
3159
|
# _@param_ `_index`
|
3412
3160
|
def evaluate_arg?: (Integer _index) -> bool
|
3413
3161
|
|
3162
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
3163
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
3414
3164
|
# _@param_ `resource`
|
3415
3165
|
#
|
3416
3166
|
# _@param_ `custom_field_name`
|
@@ -3423,6 +3173,8 @@ module Checkoff
|
|
3423
3173
|
|
3424
3174
|
def evaluate_arg?: (Integer _index) -> bool
|
3425
3175
|
|
3176
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
3177
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
3426
3178
|
# @sg-ignore
|
3427
3179
|
#
|
3428
3180
|
# _@param_ `resource`
|
@@ -3439,6 +3191,8 @@ module Checkoff
|
|
3439
3191
|
|
3440
3192
|
def evaluate_arg?: (Integer _index) -> bool
|
3441
3193
|
|
3194
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
3195
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
3442
3196
|
# _@param_ `resource`
|
3443
3197
|
#
|
3444
3198
|
# _@param_ `custom_field_gid`
|
@@ -3455,6 +3209,8 @@ module Checkoff
|
|
3455
3209
|
|
3456
3210
|
def evaluate_arg?: (Integer _index) -> bool
|
3457
3211
|
|
3212
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
3213
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
3458
3214
|
# _@param_ `resource`
|
3459
3215
|
#
|
3460
3216
|
# _@param_ `custom_field_name`
|
@@ -3471,6 +3227,8 @@ module Checkoff
|
|
3471
3227
|
|
3472
3228
|
def evaluate_arg?: (Integer _index) -> bool
|
3473
3229
|
|
3230
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
3231
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
3474
3232
|
# _@param_ `resource`
|
3475
3233
|
#
|
3476
3234
|
# _@param_ `custom_field_gid`
|
@@ -3487,6 +3245,8 @@ module Checkoff
|
|
3487
3245
|
|
3488
3246
|
def evaluate_arg?: (Integer _index) -> bool
|
3489
3247
|
|
3248
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
3249
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
3490
3250
|
# sord warn - boolish is probably not a type, but using anyway
|
3491
3251
|
# sord warn - boolish wasn't able to be resolved to a constant in this project
|
3492
3252
|
# _@param_ `resource`
|
@@ -3499,6 +3259,8 @@ module Checkoff
|
|
3499
3259
|
class StringLiteralEvaluator < Checkoff::SelectorClasses::Common::FunctionEvaluator
|
3500
3260
|
def matches?: () -> bool
|
3501
3261
|
|
3262
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
3263
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
3502
3264
|
# @sg-ignore
|
3503
3265
|
#
|
3504
3266
|
# _@param_ `_resource`
|
@@ -3526,6 +3288,7 @@ module Checkoff
|
|
3526
3288
|
|
3527
3289
|
def matches?: () -> bool
|
3528
3290
|
|
3291
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
3529
3292
|
# _@param_ `resource`
|
3530
3293
|
def evaluate: (Asana::Resources::Project resource) -> String?
|
3531
3294
|
end
|
@@ -3536,6 +3299,7 @@ module Checkoff
|
|
3536
3299
|
|
3537
3300
|
def matches?: () -> bool
|
3538
3301
|
|
3302
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
3539
3303
|
# _@param_ `project`
|
3540
3304
|
#
|
3541
3305
|
# _@param_ `period` — - :now_or_before or :this_week
|
@@ -3548,6 +3312,7 @@ module Checkoff
|
|
3548
3312
|
|
3549
3313
|
def matches?: () -> bool
|
3550
3314
|
|
3315
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
3551
3316
|
# _@param_ `project`
|
3552
3317
|
#
|
3553
3318
|
# _@param_ `portfolio_name`
|
@@ -3594,6 +3359,7 @@ module Checkoff
|
|
3594
3359
|
|
3595
3360
|
def matches?: () -> bool
|
3596
3361
|
|
3362
|
+
# sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
|
3597
3363
|
# @sg-ignore
|
3598
3364
|
#
|
3599
3365
|
# _@param_ `section`
|
@@ -3606,6 +3372,7 @@ module Checkoff
|
|
3606
3372
|
|
3607
3373
|
def matches?: () -> bool
|
3608
3374
|
|
3375
|
+
# sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
|
3609
3376
|
# @sg-ignore
|
3610
3377
|
#
|
3611
3378
|
# _@param_ `section`
|
@@ -3614,6 +3381,7 @@ module Checkoff
|
|
3614
3381
|
|
3615
3382
|
# Base class to evaluate a project selector function given fully evaluated arguments
|
3616
3383
|
class FunctionEvaluator < Checkoff::SelectorClasses::FunctionEvaluator
|
3384
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
3617
3385
|
# _@param_ `selector`
|
3618
3386
|
#
|
3619
3387
|
# _@param_ `client`
|
@@ -3630,6 +3398,7 @@ module Checkoff
|
|
3630
3398
|
|
3631
3399
|
attr_reader selector: [Symbol, ::Array[untyped]]
|
3632
3400
|
|
3401
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
3633
3402
|
attr_reader client: Asana::Client
|
3634
3403
|
end
|
3635
3404
|
end
|
@@ -3644,6 +3413,7 @@ module Checkoff
|
|
3644
3413
|
# @sg-ignore
|
3645
3414
|
def matches?: () -> bool
|
3646
3415
|
|
3416
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
3647
3417
|
# @sg-ignore
|
3648
3418
|
#
|
3649
3419
|
# _@param_ `_task`
|
@@ -3685,6 +3455,7 @@ module Checkoff
|
|
3685
3455
|
TASK_FUNCTION_EVALUATORS: untyped
|
3686
3456
|
FUNCTION_EVALUTORS: untyped
|
3687
3457
|
|
3458
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
3688
3459
|
# _@param_ `task`
|
3689
3460
|
#
|
3690
3461
|
# _@param_ `tasks`
|
@@ -3703,6 +3474,7 @@ module Checkoff
|
|
3703
3474
|
|
3704
3475
|
def initializer_kwargs: () -> ::Hash[untyped, untyped]
|
3705
3476
|
|
3477
|
+
# sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
|
3706
3478
|
attr_reader item: Asana::Resources::Task
|
3707
3479
|
|
3708
3480
|
attr_reader tasks: Checkoff::Tasks
|
@@ -3718,6 +3490,7 @@ module Checkoff
|
|
3718
3490
|
PROJECT_FUNCTION_EVALUATORS: untyped
|
3719
3491
|
FUNCTION_EVALUTORS: untyped
|
3720
3492
|
|
3493
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
3721
3494
|
# _@param_ `project`
|
3722
3495
|
#
|
3723
3496
|
# _@param_ `projects`
|
@@ -3739,6 +3512,7 @@ module Checkoff
|
|
3739
3512
|
|
3740
3513
|
def initializer_kwargs: () -> ::Hash[untyped, untyped]
|
3741
3514
|
|
3515
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
3742
3516
|
attr_reader item: Asana::Resources::Project
|
3743
3517
|
|
3744
3518
|
attr_reader projects: Checkoff::Projects
|
@@ -3756,6 +3530,8 @@ module Checkoff
|
|
3756
3530
|
SECTION_FUNCTION_EVALUATORS: untyped
|
3757
3531
|
FUNCTION_EVALUATORS: untyped
|
3758
3532
|
|
3533
|
+
# sord warn - Asana::Resources::Section wasn't able to be resolved to a constant in this project
|
3534
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
3759
3535
|
# _@param_ `section`
|
3760
3536
|
#
|
3761
3537
|
# _@param_ `client`
|
@@ -3780,6 +3556,7 @@ module Checkoff
|
|
3780
3556
|
|
3781
3557
|
def initializer_kwargs: () -> ::Hash[untyped, untyped]
|
3782
3558
|
|
3559
|
+
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
3783
3560
|
attr_reader item: Asana::Resources::Project
|
3784
3561
|
|
3785
3562
|
attr_reader sections: Checkoff::Sections
|
@@ -3788,6 +3565,7 @@ module Checkoff
|
|
3788
3565
|
|
3789
3566
|
attr_reader custom_fields: Checkoff::CustomFields
|
3790
3567
|
|
3568
|
+
# sord warn - Asana::Client wasn't able to be resolved to a constant in this project
|
3791
3569
|
attr_reader client: Asana::Client
|
3792
3570
|
end
|
3793
3571
|
end
|
@@ -3814,4 +3592,28 @@ module Logging
|
|
3814
3592
|
|
3815
3593
|
# @sg-ignore
|
3816
3594
|
def log_level: () -> Symbol
|
3595
|
+
end
|
3596
|
+
|
3597
|
+
# Monkeypatches Asana::Resources::Resource so that Ruby marshalling and
|
3598
|
+
# unmarshalling works on Asana resource classes. Currently, it will
|
3599
|
+
# work unless you call an accessor method, which triggers Asana's
|
3600
|
+
# client library Resource class' method_missing() to "cache" the
|
3601
|
+
# result by creating a singleton method. Unfortunately, singleton
|
3602
|
+
# methods break marshalling, which is not smart enough to know that it
|
3603
|
+
# is not necessary to marshall them as they will simply be recreated
|
3604
|
+
# when needed.
|
3605
|
+
module Asana
|
3606
|
+
# Monkeypatches:
|
3607
|
+
#
|
3608
|
+
# https://github.com/Asana/ruby-asana/blob/master/lib/asana
|
3609
|
+
module Resources
|
3610
|
+
# Public: The base resource class which provides some sugar over common
|
3611
|
+
# resource functionality.
|
3612
|
+
class Resource
|
3613
|
+
def marshal_dump: () -> ::Hash[untyped, untyped]
|
3614
|
+
|
3615
|
+
# _@param_ `data`
|
3616
|
+
def marshal_load: (::Hash[untyped, untyped] data) -> void
|
3617
|
+
end
|
3618
|
+
end
|
3817
3619
|
end
|