docs(): update docs

This commit is contained in:
Ibby
2016-12-06 09:52:39 -05:00
parent d5ac89996f
commit ae6a3cda7a
16 changed files with 351 additions and 331 deletions
+21 -18
View File
@@ -1,5 +1,23 @@
import { Plugin, Cordova } from './plugin';
export interface TwitterConnectResponse {
/**
* Twitter Username
*/
userName: string;
/**
* Twitter User ID
*/
userId: string;
/**
* Twitter OAuth Secret
*/
secret: string;
/**
* Twitter OAuth Token
*/
token: string;
}
/**
* @name Twitter Connect
@@ -25,6 +43,8 @@ import { Plugin, Cordova } from './plugin';
*
* TwitterConnect.logout().then(onLogoutSuccess, onLogoutError);
* ```
* @interfaces
* TwitterConnectResponse
*/
@Plugin({
pluginName: 'TwitterConnect',
@@ -54,21 +74,4 @@ export class TwitterConnect {
@Cordova()
static showUser(): Promise<any> {return; }
}
export interface TwitterConnectResponse {
/**
* Twitter Username
*/
userName: string;
/**
* Twitter User ID
*/
userId: string;
/**
* Twitter OAuth Secret
*/
secret: string;
/**
* Twitter OAuth Token
*/
token: string;
}