@mieweb/wikigdrive
Version:
Google Drive to MarkDown synchronization
25 lines (22 loc) • 562 B
text/typescript
export interface ServiceAccountJson {
type: 'service_account';
project_id: string;
private_key_id: string;
private_key: string;
client_email: string;
client_id: string;
auth_uri: string;
token_uri: string;
auth_provider_x509_cert_url: string;
client_x509_cert_url: string;
}
export interface UserAccountJson {
type: 'user_account';
client_id?: string;
client_secret?: string;
}
export interface AuthConfig {
user_account?: UserAccountJson;
service_account?: ServiceAccountJson;
share_email?: string;
}