mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-02 17:59:36 +07:00
@@ -606,7 +606,7 @@ You are required to add a description for every status code returned by the meth
|
||||
How to add response definitions to share type definitions
|
||||
---------------------------------------------------------
|
||||
|
||||
In the previous steps we have been re-using the same data structure multiple times, but it was copied every time.
|
||||
In the previous steps we have been reusing the same data structure multiple times, but it was copied every time.
|
||||
This is tedious and error prone, therefore we want to create some shared type definitions.
|
||||
Create a new file called ``ResponseDefinitions.php`` in the ``lib`` folder of your app.
|
||||
It will only work with that file name at that location.
|
||||
|
||||
@@ -5,8 +5,8 @@ JavaScript and Typescript
|
||||
.. contents::
|
||||
:local:
|
||||
|
||||
General rules and advices
|
||||
-------------------------
|
||||
General rules and advice
|
||||
------------------------
|
||||
|
||||
- Nextcloud uses Vue.js for its interface, for a consistent user interface we recommend apps to also use Vue with :ref:`provided components <js-library_nextcloud-vue>`.
|
||||
Yet also vanilla JavaScript and HTML can be used.
|
||||
|
||||
Reference in New Issue
Block a user