[BUGFIX] Expose interfaces of AjaxDataHandler 41/56041/4
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Wed, 7 Mar 2018 20:02:31 +0000 (21:02 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 16 Mar 2018 09:47:57 +0000 (10:47 +0100)
commitecce565dd05399f1f6f0cbff857b5aff49b3630f
treef2b4de6409d7d52e32693b74b65b8e106781f1b9
parent417d2b56e1d4ff8387f460244a2e56921f6a1d49
[BUGFIX] Expose interfaces of AjaxDataHandler

Since the AjaxDataHandler is meant to be used in other modules as well,
the interfaces responsible for the response and the messages need to be
public to be able to write type-safe callbacks.

Resolves: #84172
Releases: master
Change-Id: Ib49f25181bc8c83a0cdc89da3a9b466b6bd25d59
Reviewed-on: https://review.typo3.org/56041
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Resources/Private/TypeScript/AjaxDataHandler.ts
typo3/sysext/backend/Resources/Private/TypeScript/AjaxDataHandler/MessageInterface.ts [new file with mode: 0644]
typo3/sysext/backend/Resources/Private/TypeScript/AjaxDataHandler/ResponseInterface.ts [new file with mode: 0644]
typo3/sysext/backend/Resources/Public/JavaScript/AjaxDataHandler/MessageInterface.js [new file with mode: 0644]
typo3/sysext/backend/Resources/Public/JavaScript/AjaxDataHandler/ResponseInterface.js [new file with mode: 0644]