chore: fix model for image transformations in usage project

This commit is contained in:
Chirag Aggarwal 2025-03-05 04:46:06 +00:00
parent 8c1a1604a8
commit 1d2883f472

View file

@ -197,18 +197,19 @@ class UsageProject extends Model
'example' => [],
'array' => true
])
->addRule('imageTransformations', [
'type' => Response::MODEL_METRIC,
'description' => 'An array of aggregated number of image transformations.',
'default' => [],
'example' => [],
'array' => true
])
->addRule('imageTransformationsTotal', [
'type' => self::TYPE_INTEGER,
'description' => 'An array of aggregated number of image transformations.',
'default' => 0,
'example' => 0,
])
->addRule('imageTransformations', [
'type' => self::TYPE_INTEGER,
'description' => 'Total aggregated number of image transformations.',
'default' => 0,
'example' => 0,
])
;
}