js: Add JSDoc to exported functions and fix incorrect JSDoc formatting
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1499>
This commit is contained in:

committed by
Florian Müllner

parent
4642a8541d
commit
64aa871a8a
@ -23,8 +23,7 @@ const BoltDeviceInterface = loadInterfaceXML('org.freedesktop.bolt1.Device');
|
||||
|
||||
const BoltDeviceProxy = Gio.DBusProxy.makeProxyWrapper(BoltDeviceInterface);
|
||||
|
||||
/* */
|
||||
|
||||
/** @enum {string} */
|
||||
var Status = {
|
||||
DISCONNECTED: 'disconnected',
|
||||
CONNECTING: 'connecting',
|
||||
@ -34,16 +33,19 @@ var Status = {
|
||||
AUTHORIZED: 'authorized',
|
||||
};
|
||||
|
||||
/** @enum {string} */
|
||||
var Policy = {
|
||||
DEFAULT: 'default',
|
||||
MANUAL: 'manual',
|
||||
AUTO: 'auto',
|
||||
};
|
||||
|
||||
/** @enum {string} */
|
||||
var AuthCtrl = {
|
||||
NONE: 'none',
|
||||
};
|
||||
|
||||
/** @enum {string} */
|
||||
var AuthMode = {
|
||||
DISABLED: 'disabled',
|
||||
ENABLED: 'enabled',
|
||||
|
Reference in New Issue
Block a user