public function store(StoreDocument $request): RedirectResponse 	{ 		$this->validate($request, [ 			'type' => ['unique:' . Document::class], 		]);  		$document = Document::create([ 			'type' => $request->enum('type', DocumentType::class), 			'text' => [ 				'en' => $request->text_en, 				'hr' => $request->text_hr, 			], 			'protected' => $request->boolean('protected'), 			'active' => $request->boolean('active'), 		]);  		$document->storage()->handle();  		return $this->redirectFromSave('documents.list'); 	}