public function toArray($request): array 	{ 		$storage = $this->storage();  		return [ 			'id' => $this->id, 			'name' => $this->getDefaultTranslation('name'), 			'slug' => $this->getTranslations($this->getSlugFieldName()), 			'details' => $this->getDefaultTranslation('details'), 			'description' => $this->getDefaultTranslation('description'), 			'price' => $this->price, 			'weight' => $this->weight, 			'variants' => ProductVariantSingleResource::collection($this->variants), 			'category' => new CategoryResource($this->category), 			'media' => [ 				'images' => MediaResource::collection($storage->files('images')), 			], 			'created_at' => formatTimestamp($this->created_at), 			'updated_at' => formatTimestamp($this->updated_at), 		]; 	}