[ 'status' => fn (License $license) => $license->status()->value(), 'code' => function (License $license) { return $this->kirby()->user()->isAdmin() ? $license->code() : $license->code(true); }, 'type' => fn (License $license) => $license->type()->label(), ], 'type' => License::class, ];