Integration with Google Drive
npm install pdtworki-google-drive
npx cap sync
echo(options: { value: string; }) => Promise<{ value: string; }>
Param | Type |
---|---|
options |
{ value: string; } |
Returns: Promise<{ value: string; }>
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(options: { authToken: string; appName: string; }) => Promise<{ appData: string; status: string; }>
Param | Type |
---|---|
options |
{ authToken: string; appName: string; } |
Returns: Promise<{ appData: string; status: string; }>
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(options: { authToken: string; }) => Promise<{ result: boolean; status: string; }>
Param | Type |
---|---|
options |
{ authToken: string; } |
Returns: Promise<{ result: boolean; status: string; }>