DOC: Adds documentation to serverData mixins

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
pull/793/head
Cyrille Bollu 2019-10-07 15:58:45 +02:00 zatwierdzone przez Robin Appelman
rodzic 3421661ee9
commit 5a5d9ce3aa
1 zmienionych plików z 16 dodań i 0 usunięć

Wyświetl plik

@ -20,6 +20,22 @@
*
*/
/*
* This file provides global methods for using the serverData structure
* the serverData structure's data are initialy found in a DOM element
* provided by the server.
*
* It may contain the following information:
* - account (only in 'OStatus.vue'): The account that the user wants to follow
* - cliUrl:
* - cloudAddress:
* - firstrun:
* - isAdmin:
* - local (only in 'OStatus.vue'): The local part of the account that the user wants to follow
* - public: False when the page is accessed by an authenticated user. True otherwise.
* - setup:
*/
export default {
computed: {
serverData: function() {