feat(Nextcloud sync & optimize)
All checks were successful
Deploy Roxane to Preprod / deploy (push) Successful in 1m18s

This commit is contained in:
2026-01-30 15:27:23 +01:00
parent b8de637b23
commit 9649d99e15
11 changed files with 307 additions and 245 deletions

View File

@@ -6,6 +6,31 @@ use App\Enums\IspconfigType;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
/**
* @property int $id
* @property int $member_id
* @property string|null $ispconfig_client_id
* @property string|null $ispconfig_service_user_id
* @property string|null $email
* @property IspconfigType $type
* @property array<array-key, mixed>|null $data
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \App\Models\Member $member
* @method static \Illuminate\Database\Eloquent\Builder<static>|IspconfigMember newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder<static>|IspconfigMember newQuery()
* @method static \Illuminate\Database\Eloquent\Builder<static>|IspconfigMember query()
* @method static \Illuminate\Database\Eloquent\Builder<static>|IspconfigMember whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder<static>|IspconfigMember whereData($value)
* @method static \Illuminate\Database\Eloquent\Builder<static>|IspconfigMember whereEmail($value)
* @method static \Illuminate\Database\Eloquent\Builder<static>|IspconfigMember whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder<static>|IspconfigMember whereIspconfigClientId($value)
* @method static \Illuminate\Database\Eloquent\Builder<static>|IspconfigMember whereIspconfigServiceUserId($value)
* @method static \Illuminate\Database\Eloquent\Builder<static>|IspconfigMember whereMemberId($value)
* @method static \Illuminate\Database\Eloquent\Builder<static>|IspconfigMember whereType($value)
* @method static \Illuminate\Database\Eloquent\Builder<static>|IspconfigMember whereUpdatedAt($value)
* @mixin \Eloquent
*/
class IspconfigMember extends Model
{
protected $table = 'ispconfigs_members';

View File

@@ -21,7 +21,7 @@ use Illuminate\Notifications\Notifiable;
* @property string|null $lastname
* @property string|null $firstname
* @property string $email
* @property string|null $retzien_email
* @property string $retzien_email
* @property string|null $company
* @property string|null $date_of_birth
* @property string|null $address
@@ -37,8 +37,12 @@ use Illuminate\Notifications\Notifiable;
* @property string|null $deleted_at
* @property-read string $full_name
* @property-read \App\Models\MemberGroup|null $group
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\IspconfigMember> $ispconfigs
* @property-read int|null $ispconfigs_count
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\Membership> $memberships
* @property-read int|null $memberships_count
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\NextCloudMember> $nextcloudAccounts
* @property-read int|null $nextcloud_accounts_count
* @property-read \Illuminate\Notifications\DatabaseNotificationCollection<int, \Illuminate\Notifications\DatabaseNotification> $notifications
* @property-read int|null $notifications_count
* @property-read \App\Models\User|null $user

View File

@@ -2,10 +2,29 @@
namespace App\Models;
use App\Enums\IspconfigType;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
/**
* @property int $id
* @property int $member_id
* @property string|null $nextcloud_user_id
* @property array<array-key, mixed>|null $data
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \App\Models\Member $member
* @method static \Illuminate\Database\Eloquent\Builder<static>|NextCloudMember newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder<static>|NextCloudMember newQuery()
* @method static \Illuminate\Database\Eloquent\Builder<static>|NextCloudMember query()
* @method static \Illuminate\Database\Eloquent\Builder<static>|NextCloudMember whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder<static>|NextCloudMember whereData($value)
* @method static \Illuminate\Database\Eloquent\Builder<static>|NextCloudMember whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder<static>|NextCloudMember whereMemberId($value)
* @method static \Illuminate\Database\Eloquent\Builder<static>|NextCloudMember whereNextcloudUserId($value)
* @method static \Illuminate\Database\Eloquent\Builder<static>|NextCloudMember whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder<static>|NextCloudMember whereUsername($value)
* @mixin \Eloquent
*/
class NextCloudMember extends Model
{
protected $table = 'nextclouds_members';