-
Notifications
You must be signed in to change notification settings - Fork 1
/
_ide_helper_models.php
375 lines (362 loc) · 18.5 KB
/
_ide_helper_models.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
<?php
// @formatter:off
// phpcs:ignoreFile
/**
* A helper file for your Eloquent Models
* Copy the phpDocs from this file to the correct Model,
* And remove them from this file, to prevent double declarations.
*
* @author Barry vd. Heuvel <[email protected]>
*/
namespace App\Models{
/**
*
*
* @property int $id
* @property string|null $name
* @property string $token
* @property int $user_id
* @property int|null $team_id
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\ChoreInstance> $choreInstances
* @property-read int|null $chore_instances_count
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\Chore> $chores
* @property-read int|null $chores_count
* @property-read string $display_name
* @property-read string $full_type_name
* @property-read bool $is_team_calendar
* @property-read bool $is_user_calendar
* @property-read \App\Models\Team|null $team
* @property-read string $url
* @property-read \App\Models\User $user
* @method static \Database\Factories\CalendarTokenFactory factory($count = null, $state = [])
* @method static \Illuminate\Database\Eloquent\Builder|CalendarToken newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|CalendarToken newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|CalendarToken query()
* @method static \Illuminate\Database\Eloquent\Builder|CalendarToken whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|CalendarToken whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|CalendarToken whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|CalendarToken whereTeamId($value)
* @method static \Illuminate\Database\Eloquent\Builder|CalendarToken whereToken($value)
* @method static \Illuminate\Database\Eloquent\Builder|CalendarToken whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|CalendarToken whereUserId($value)
* @mixin \Eloquent
*/
#[\AllowDynamicProperties]
class IdeHelperCalendarToken {}
}
namespace App\Models{
/**
*
*
* @property int $id
* @property int|null $user_id
* @property string $title
* @property string|null $description
* @property \App\Enums\FrequencyType $frequency_id
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property int|null $team_id
* @property int|null $frequency_interval
* @property int|null $frequency_day_of
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\ChoreInstance> $choreInstances
* @property-read int|null $chore_instances_count
* @property-read \Illuminate\Support\Carbon|null $due_date_updated_at
* @property-read \App\Enums\Frequency $frequency
* @property-read bool $is_does_not_repeat
* @property-read bool $is_weekly
* @property-read bool $is_yearly
* @property-read int $next_assigned_id
* @property-read \App\Models\ChoreInstance|null $nextChoreInstance
* @property-read \Illuminate\Support\Carbon|null $next_due_date
* @property-read \App\Models\ChoreInstance|null $nextInstance
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\ChoreInstance> $pastChoreInstances
* @property-read int|null $past_chore_instances_count
* @property-read \App\Models\Team|null $team
* @property-read \App\Models\User|null $user
* @method static \Database\Factories\ChoreFactory factory($count = null, $state = [])
* @method static \Illuminate\Database\Eloquent\Builder|Chore newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Chore newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Chore nullDueDatesAtEnd()
* @method static \Illuminate\Database\Eloquent\Builder|Chore onlyWithDueNextInstance()
* @method static \Illuminate\Database\Eloquent\Builder|Chore onlyWithNextInstance()
* @method static \Illuminate\Database\Eloquent\Builder|Chore query()
* @method static \Illuminate\Database\Eloquent\Builder|Chore whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Chore whereDescription($value)
* @method static \Illuminate\Database\Eloquent\Builder|Chore whereFrequencyDayOf($value)
* @method static \Illuminate\Database\Eloquent\Builder|Chore whereFrequencyId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Chore whereFrequencyInterval($value)
* @method static \Illuminate\Database\Eloquent\Builder|Chore whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Chore whereTeamId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Chore whereTitle($value)
* @method static \Illuminate\Database\Eloquent\Builder|Chore whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Chore whereUserId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Chore withNextInstance()
* @mixin \Eloquent
*/
#[\AllowDynamicProperties]
class IdeHelperChore {}
}
namespace App\Models{
/**
*
*
* @property int $id
* @property int $chore_id
* @property \Illuminate\Support\Carbon $due_date
* @property \Illuminate\Support\Carbon|null $completed_date
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property int $user_id
* @property int|null $completed_by_id
* @property-read \App\Models\Chore $chore
* @property-read \App\Models\User|null $completedBy
* @property-read bool $is_completed
* @property-read \App\Models\User $user
* @method static \Illuminate\Database\Eloquent\Builder|ChoreInstance completed()
* @method static \Illuminate\Database\Eloquent\Builder|ChoreInstance dueToday()
* @method static \Illuminate\Database\Eloquent\Builder|ChoreInstance dueTodayOrPast()
* @method static \Database\Factories\ChoreInstanceFactory factory($count = null, $state = [])
* @method static \Illuminate\Database\Eloquent\Builder|ChoreInstance newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|ChoreInstance newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|ChoreInstance notCompleted()
* @method static \Illuminate\Database\Eloquent\Builder|ChoreInstance query()
* @method static \Illuminate\Database\Eloquent\Builder|ChoreInstance whereChoreId($value)
* @method static \Illuminate\Database\Eloquent\Builder|ChoreInstance whereCompletedById($value)
* @method static \Illuminate\Database\Eloquent\Builder|ChoreInstance whereCompletedDate($value)
* @method static \Illuminate\Database\Eloquent\Builder|ChoreInstance whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|ChoreInstance whereDueDate($value)
* @method static \Illuminate\Database\Eloquent\Builder|ChoreInstance whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|ChoreInstance whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|ChoreInstance whereUserId($value)
* @mixin \Eloquent
*/
#[\AllowDynamicProperties]
class IdeHelperChoreInstance {}
}
namespace App\Models{
/**
*
*
* @property int $id
* @property string $token
* @property int $user_id
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \App\Models\User $user
* @method static \Database\Factories\DeviceTokenFactory factory($count = null, $state = [])
* @method static \Illuminate\Database\Eloquent\Builder|DeviceToken newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|DeviceToken newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|DeviceToken query()
* @method static \Illuminate\Database\Eloquent\Builder|DeviceToken whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|DeviceToken whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|DeviceToken whereToken($value)
* @method static \Illuminate\Database\Eloquent\Builder|DeviceToken whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|DeviceToken whereUserId($value)
* @mixin \Eloquent
*/
#[\AllowDynamicProperties]
class IdeHelperDeviceToken {}
}
namespace App\Models{
/**
*
*
* @property int $id
* @property int $team_id
* @property int $user_id
* @property string|null $role
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @method static \Illuminate\Database\Eloquent\Builder|Membership newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Membership newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Membership query()
* @method static \Illuminate\Database\Eloquent\Builder|Membership whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Membership whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Membership whereRole($value)
* @method static \Illuminate\Database\Eloquent\Builder|Membership whereTeamId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Membership whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Membership whereUserId($value)
* @mixin \Eloquent
*/
#[\AllowDynamicProperties]
class IdeHelperMembership {}
}
namespace App\Models{
/**
*
*
* @property int $id
* @property string|null $ended_at
* @property int $count
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property int|null $user_id
* @property int|null $team_id
* @property-read \App\Models\Team|null $team
* @property-read \App\Models\User|null $user
* @method static \Illuminate\Database\Eloquent\Builder|StreakCount current()
* @method static \Database\Factories\StreakCountFactory factory($count = null, $state = [])
* @method static \Illuminate\Database\Eloquent\Builder|StreakCount newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|StreakCount newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|StreakCount query()
* @method static \Illuminate\Database\Eloquent\Builder|StreakCount whereCount($value)
* @method static \Illuminate\Database\Eloquent\Builder|StreakCount whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|StreakCount whereEndedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|StreakCount whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|StreakCount whereTeamId($value)
* @method static \Illuminate\Database\Eloquent\Builder|StreakCount whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|StreakCount whereUserId($value)
* @mixin \Eloquent
*/
#[\AllowDynamicProperties]
class IdeHelperStreakCount {}
}
namespace App\Models{
/**
*
*
* @property int $id
* @property int $user_id
* @property string $name
* @property bool $personal_team
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\ChoreInstance> $choreInstances
* @property-read int|null $chore_instances_count
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\Chore> $chores
* @property-read int|null $chores_count
* @property-read \App\Models\StreakCount|null $currentStreak
* @property-read \App\Models\User|null $owner
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\TeamInvitation> $teamInvitations
* @property-read int|null $team_invitations_count
* @property-read \App\Models\Membership $membership
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\User> $users
* @property-read int|null $users_count
* @method static \Database\Factories\TeamFactory factory($count = null, $state = [])
* @method static \Illuminate\Database\Eloquent\Builder|Team newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Team newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Team query()
* @method static \Illuminate\Database\Eloquent\Builder|Team whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Team whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Team whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|Team wherePersonalTeam($value)
* @method static \Illuminate\Database\Eloquent\Builder|Team whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Team whereUserId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Team withUnfinishedChores(?\Illuminate\Support\Carbon $on_or_before = null)
* @method static \Illuminate\Database\Eloquent\Builder|Team withoutUnfinishedChores(?\Illuminate\Support\Carbon $on_or_before = null)
* @mixin \Eloquent
*/
#[\AllowDynamicProperties]
class IdeHelperTeam {}
}
namespace App\Models{
/**
*
*
* @property int $id
* @property int $team_id
* @property string $email
* @property string|null $role
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \App\Models\Team $team
* @method static \Illuminate\Database\Eloquent\Builder|TeamInvitation newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|TeamInvitation newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|TeamInvitation query()
* @method static \Illuminate\Database\Eloquent\Builder|TeamInvitation whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|TeamInvitation whereEmail($value)
* @method static \Illuminate\Database\Eloquent\Builder|TeamInvitation whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|TeamInvitation whereRole($value)
* @method static \Illuminate\Database\Eloquent\Builder|TeamInvitation whereTeamId($value)
* @method static \Illuminate\Database\Eloquent\Builder|TeamInvitation whereUpdatedAt($value)
* @mixin \Eloquent
*/
#[\AllowDynamicProperties]
class IdeHelperTeamInvitation {}
}
namespace App\Models{
/**
*
*
* @property int $id
* @property string $name
* @property string $email
* @property \Illuminate\Support\Carbon|null $email_verified_at
* @property string $password
* @property string|null $two_factor_secret
* @property string|null $two_factor_recovery_codes
* @property string|null $remember_token
* @property int|null $current_team_id
* @property string|null $profile_photo_path
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property string|null $two_factor_confirmed_at
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\CalendarToken> $calendarTokens
* @property-read int|null $calendar_tokens_count
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\ChoreInstance> $choreInstances
* @property-read int|null $chore_instances_count
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\Chore> $chores
* @property-read int|null $chores_count
* @property-read \App\Models\StreakCount|null $currentStreak
* @property-read \App\Models\Team|null $currentTeam
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\DeviceToken> $deviceTokens
* @property-read int|null $device_tokens_count
* @property-read \Illuminate\Notifications\DatabaseNotificationCollection<int, \Illuminate\Notifications\DatabaseNotification> $notifications
* @property-read int|null $notifications_count
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\Team> $ownedTeams
* @property-read int|null $owned_teams_count
* @property-read string $profile_photo_url
* @property-read \App\Models\UserSetting|null $settings
* @property-read \App\Models\Membership $membership
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\Team> $teams
* @property-read int|null $teams_count
* @property-read \Illuminate\Database\Eloquent\Collection<int, \Laravel\Sanctum\PersonalAccessToken> $tokens
* @property-read int|null $tokens_count
* @method static \Database\Factories\UserFactory factory($count = null, $state = [])
* @method static \Illuminate\Database\Eloquent\Builder|User newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|User newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|User query()
* @method static \Illuminate\Database\Eloquent\Builder|User whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereCurrentTeamId($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereEmail($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereEmailVerifiedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|User wherePassword($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereProfilePhotoPath($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereRememberToken($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereTwoFactorConfirmedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereTwoFactorRecoveryCodes($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereTwoFactorSecret($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|User withUnfinishedChores(?\Illuminate\Support\Carbon $on_or_before = null)
* @method static \Illuminate\Database\Eloquent\Builder|User withoutUnfinishedChores(?\Illuminate\Support\Carbon $on_or_before = null)
* @mixin \Eloquent
*/
#[\AllowDynamicProperties]
class IdeHelperUser {}
}
namespace App\Models{
/**
*
*
* @property int $id
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property int $user_id
* @property bool $has_daily_digest
* @method static \Illuminate\Database\Eloquent\Builder|UserSetting newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|UserSetting newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|UserSetting query()
* @method static \Illuminate\Database\Eloquent\Builder|UserSetting whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|UserSetting whereHasDailyDigest($value)
* @method static \Illuminate\Database\Eloquent\Builder|UserSetting whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|UserSetting whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|UserSetting whereUserId($value)
* @mixin \Eloquent
*/
#[\AllowDynamicProperties]
class IdeHelperUserSetting {}
}