pdtworki-google-drive
v1.0.0
Published
Integration with Google Drive
Downloads
23
Readme
pdtworki-google-drive
Integration with Google Drive
Install
npm install pdtworki-google-drive
npx cap sync
API
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>
| Param | Type |
| ------------- | ------------------------------- |
| options
| { value: string; } |
Returns: Promise<{ value: string; }>
storeAppData(...)
storeAppData(options: { appData: string; authToken: string; appName: string; syncState: string; }) => Promise<{ status: string; }>
| Param | Type |
| ------------- | ---------------------------------------------------------------------------------------- |
| options
| { appData: string; authToken: string; appName: string; syncState: string; } |
Returns: Promise<{ status: string; }>
fetchAppData(...)
fetchAppData(options: { authToken: string; appName: string; }) => Promise<{ appData: string; status: string; }>
| Param | Type |
| ------------- | ---------------------------------------------------- |
| options
| { authToken: string; appName: string; } |
Returns: Promise<{ appData: string; status: string; }>
fetchSyncData(...)
fetchSyncData(options: { authToken: string; appName: string; }) => Promise<{ syncState: string; status: string; newAccessToken: string; }>
| Param | Type |
| ------------- | ---------------------------------------------------- |
| options
| { authToken: string; appName: string; } |
Returns: Promise<{ syncState: string; status: string; newAccessToken: string; }>
hasAppDataOnDrive(...)
hasAppDataOnDrive(options: { authToken: string; }) => Promise<{ result: boolean; status: string; }>
| Param | Type |
| ------------- | ----------------------------------- |
| options
| { authToken: string; } |
Returns: Promise<{ result: boolean; status: string; }>