Ajustes varios de permisos y visuales

This commit is contained in:
2025-01-27 08:34:28 -03:00
parent 90bbc3ac7b
commit 509f59ea45
17 changed files with 1606 additions and 1455 deletions

View File

@@ -5,7 +5,7 @@
/**
* A helper file for Laravel, to provide autocomplete information to your IDE
* Generated for Laravel 11.37.0.
* Generated for Laravel 11.40.0.
*
* This file should not be included in your code, only analyzed by your IDE!
*
@@ -4765,9 +4765,9 @@ namespace Illuminate\Support\Facades {
*
* @template TCacheValue
* @param string $key
* @param \Illuminate\Cache\array{ 0: \DateTimeInterface|\DateInterval|int, 1: \DateTimeInterface|\DateInterval|int } $ttl
* @param array{ 0: \DateTimeInterface|\DateInterval|int, 1: \DateTimeInterface|\DateInterval|int } $ttl
* @param (callable(): TCacheValue) $callback
* @param \Illuminate\Cache\array{ seconds?: int, owner?: string }|null $lock
* @param array{ seconds?: int, owner?: string }|null $lock
* @return TCacheValue
* @static
*/
@@ -4850,6 +4850,18 @@ namespace Illuminate\Support\Facades {
return $instance->tags($names);
}
/**
* Get the name of the cache store.
*
* @return string|null
* @static
*/
public static function getName()
{
/** @var \Illuminate\Cache\Repository $instance */
return $instance->getName();
}
/**
* Determine if the current store supports tags.
*
@@ -14322,7 +14334,7 @@ namespace Illuminate\Support\Facades {
*
*
* @internal
* @param \Symfony\Component\HttpFoundation\callable(): SessionInterface $factory
* @param callable(): SessionInterface $factory
* @static
*/
public static function setSessionFactory($factory)
@@ -15794,6 +15806,19 @@ namespace Illuminate\Support\Facades {
return $instance->enums($key, $enumClass);
}
/**
* Retrieve data from the instance as an array.
*
* @param array|string|null $key
* @return array
* @static
*/
public static function array($key = null)
{
/** @var \Illuminate\Http\Request $instance */
return $instance->array($key);
}
/**
* Retrieve data from the instance as a collection.
*
@@ -22161,7 +22186,7 @@ namespace Illuminate\Support\Facades {
/**
* Set the prefetching strategy.
*
* @param \Illuminate\Foundation\'waterfall'|\Illuminate\Foundation\'aggressive'|null $strategy
* @param 'waterfall'|'aggressive'|null $strategy
* @param array $config
* @return \Illuminate\Foundation\Vite
* @static
@@ -22640,7 +22665,7 @@ namespace Barryvdh\Debugbar\Facades {
/**
* Returns an array of all data collectors
*
* @return \DebugBar\array[DataCollectorInterface]
* @return array[DataCollectorInterface]
* @static
*/
public static function getCollectors()
@@ -24231,6 +24256,23 @@ namespace {
return $instance->updateOrCreate($attributes, $values);
}
/**
* Create a record matching the attributes, or increment the existing record.
*
* @param array $attributes
* @param string $column
* @param int|float $default
* @param int|float $step
* @param array $extra
* @return TModel
* @static
*/
public static function incrementOrCreate($attributes, $column = 'count', $default = 1, $step = 1, $extra = [])
{
/** @var \Illuminate\Database\Eloquent\Builder $instance */
return $instance->incrementOrCreate($attributes, $column, $default, $step, $extra);
}
/**
* Execute the query and get the first result or throw an exception.
*
@@ -24602,6 +24644,22 @@ namespace {
return $instance->newModelInstance($attributes);
}
/**
* Specify attributes that should be added to any new models created by this builder.
*
* The given key / value pairs will also be added as where conditions to the query.
*
* @param \Illuminate\Contracts\Database\Query\Expression|array|string $attributes
* @param mixed $value
* @return \Illuminate\Database\Eloquent\Builder<static>
* @static
*/
public static function withAttributes($attributes, $value = null)
{
/** @var \Illuminate\Database\Eloquent\Builder $instance */
return $instance->withAttributes($attributes, $value);
}
/**
* Apply query-time casts to the model instance.
*
@@ -24808,7 +24866,7 @@ namespace {
* Chunk the results of the query.
*
* @param int $count
* @param \Illuminate\Database\Eloquent\callable(\Illuminate\Support\Collection<int, TValue>, int): mixed $callback
* @param callable(\Illuminate\Support\Collection<int, TValue>, int): mixed $callback
* @return bool
* @static
*/
@@ -24822,7 +24880,7 @@ namespace {
* Run a map over each item while chunking.
*
* @template TReturn
* @param \Illuminate\Database\Eloquent\callable(TValue): TReturn $callback
* @param callable(TValue): TReturn $callback
* @param int $count
* @return \Illuminate\Support\Collection<int, TReturn>
* @static
@@ -24836,7 +24894,7 @@ namespace {
/**
* Execute a callback over each item while chunking.
*
* @param \Illuminate\Database\Eloquent\callable(TValue, int): mixed $callback
* @param callable(TValue, int): mixed $callback
* @param int $count
* @return bool
* @throws \RuntimeException
@@ -24852,7 +24910,7 @@ namespace {
* Chunk the results of a query by comparing IDs.
*
* @param int $count
* @param \Illuminate\Database\Eloquent\callable(\Illuminate\Support\Collection<int, TValue>, int): mixed $callback
* @param callable(\Illuminate\Support\Collection<int, TValue>, int): mixed $callback
* @param string|null $column
* @param string|null $alias
* @return bool
@@ -24868,7 +24926,7 @@ namespace {
* Chunk the results of a query by comparing IDs in descending order.
*
* @param int $count
* @param \Illuminate\Database\Eloquent\callable(\Illuminate\Support\Collection<int, TValue>, int): mixed $callback
* @param callable(\Illuminate\Support\Collection<int, TValue>, int): mixed $callback
* @param string|null $column
* @param string|null $alias
* @return bool
@@ -24884,7 +24942,7 @@ namespace {
* Chunk the results of a query by comparing IDs in a given order.
*
* @param int $count
* @param \Illuminate\Database\Eloquent\callable(\Illuminate\Support\Collection<int, TValue>, int): mixed $callback
* @param callable(\Illuminate\Support\Collection<int, TValue>, int): mixed $callback
* @param string|null $column
* @param string|null $alias
* @param bool $descending
@@ -24901,7 +24959,7 @@ namespace {
/**
* Execute a callback over each item while chunking by ID.
*
* @param \Illuminate\Database\Eloquent\callable(TValue, int): mixed $callback
* @param callable(TValue, int): mixed $callback
* @param int $count
* @param string|null $column
* @param string|null $alias
@@ -24991,7 +25049,7 @@ namespace {
/**
* Pass the query to a given callback.
*
* @param \Illuminate\Database\Eloquent\callable($this): mixed $callback
* @param callable($this): mixed $callback
* @return \Illuminate\Database\Eloquent\Builder<static>
* @static
*/
@@ -25438,7 +25496,7 @@ namespace {
* Add a morph-to relationship condition to the query.
*
* @param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation
* @param \Illuminate\Database\Eloquent\Model|string|null $model
* @param \Illuminate\Database\Eloquent\Model|iterable<int, \Illuminate\Database\Eloquent\Model>|string|null $model
* @return \Illuminate\Database\Eloquent\Builder<static>
* @static
*/
@@ -25452,7 +25510,7 @@ namespace {
* Add a not morph-to relationship condition to the query.
*
* @param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation
* @param \Illuminate\Database\Eloquent\Model|string $model
* @param \Illuminate\Database\Eloquent\Model|iterable<int, \Illuminate\Database\Eloquent\Model>|string $model
* @return \Illuminate\Database\Eloquent\Builder<static>
* @static
*/
@@ -25466,7 +25524,7 @@ namespace {
* Add a morph-to relationship condition to the query with an "or where" clause.
*
* @param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation
* @param \Illuminate\Database\Eloquent\Model|string|null $model
* @param \Illuminate\Database\Eloquent\Model|iterable<int, \Illuminate\Database\Eloquent\Model>|string|null $model
* @return \Illuminate\Database\Eloquent\Builder<static>
* @static
*/
@@ -25480,7 +25538,7 @@ namespace {
* Add a not morph-to relationship condition to the query with an "or where" clause.
*
* @param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation
* @param \Illuminate\Database\Eloquent\Model|string $model
* @param \Illuminate\Database\Eloquent\Model|iterable<int, \Illuminate\Database\Eloquent\Model>|string $model
* @return \Illuminate\Database\Eloquent\Builder<static>
* @static
*/