mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
refactor: Update WOPI related stuff based on upstream changes.
This commit is contained in:
parent
fe533bc716
commit
951d686366
@ -10,7 +10,7 @@ declare(strict_types=1);
|
|||||||
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
|
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
|
||||||
|
|
||||||
use ChampsLibres\AsyncUploaderBundle\TempUrl\TempUrlGeneratorInterface;
|
use ChampsLibres\AsyncUploaderBundle\TempUrl\TempUrlGeneratorInterface;
|
||||||
use ChampsLibres\WopiLib\WopiInterface;
|
use ChampsLibres\WopiLib\Service\Contract\WopiInterface;
|
||||||
use Chill\WopiBundle\Service\Wopi\ChillWopi;
|
use Chill\WopiBundle\Service\Wopi\ChillWopi;
|
||||||
|
|
||||||
return static function (ContainerConfigurator $container) {
|
return static function (ContainerConfigurator $container) {
|
||||||
|
@ -11,7 +11,7 @@ namespace Chill\WopiBundle\Service\Wopi;
|
|||||||
|
|
||||||
use ChampsLibres\AsyncUploaderBundle\TempUrl\TempUrlGeneratorInterface;
|
use ChampsLibres\AsyncUploaderBundle\TempUrl\TempUrlGeneratorInterface;
|
||||||
use ChampsLibres\WopiLib\Discovery\WopiDiscoveryInterface;
|
use ChampsLibres\WopiLib\Discovery\WopiDiscoveryInterface;
|
||||||
use ChampsLibres\WopiLib\WopiInterface;
|
use ChampsLibres\WopiLib\Service\Contract\WopiInterface;
|
||||||
use Chill\DocStoreBundle\Repository\StoredObjectRepository;
|
use Chill\DocStoreBundle\Repository\StoredObjectRepository;
|
||||||
use Exception;
|
use Exception;
|
||||||
use loophp\psr17\Psr17Interface;
|
use loophp\psr17\Psr17Interface;
|
||||||
@ -228,7 +228,7 @@ final class ChillWopi implements WopiInterface
|
|||||||
->withBody($this->psr17->createStream((string) json_encode([])));
|
->withBody($this->psr17->createStream((string) json_encode([])));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function putRelativeFile(string $fileId, ?string $accessToken, RequestInterface $request): ResponseInterface
|
public function putRelativeFile(string $fileId, string $accessToken, ?string $suggestedTarget, ?string $relativeTarget, bool $overwriteRelativeTarget, int $size, RequestInterface $request): ResponseInterface
|
||||||
{
|
{
|
||||||
return $this->getDebugResponse(__FUNCTION__, $request);
|
return $this->getDebugResponse(__FUNCTION__, $request);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user