kopia lustrzana https://github.com/nextcloud/social
DOC: Adds documentation to serverData mixins
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>pull/793/head
rodzic
3421661ee9
commit
5a5d9ce3aa
|
@ -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() {
|
||||
|
|
Ładowanie…
Reference in New Issue