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