import { IDocument } from '..'; export interface IRemote { parentId: string; provider: string; owner: string; ownerId: string; token?: string; refreshToken?: string; initialPageToken?: string; currentPageToken?: string; watcherId?: string; watcherResourceId?: string; lastSynced?: number; root: { _id: string; fileId: string; path: string; }; connected: boolean; error?: any; private?: boolean; } export interface IProject extends IDocument { name: string; stub: string; picture: string; blurb: string; team: Array<{ _id: string; role: string; owner: boolean; group: string; permissions: { role: string; }; }>; private: boolean; readme: string; license: string; status: number; updated: string; created: string; socialLinks: { website: string; twitter: string; facebook: string; linkedin: string; google: string; github: string; stack: string; youtube: string; }; numThreads: number; numMentions: number; numClones: number; numFollowers: number; numLikes: number; fields: string[]; organisations: string[]; mentions: string[]; location: Array<{ owner: string; name: string; geo: { lat: string; lng: string; }; coords: number[]; components: any; }>; remote: IRemote; clone: { source: string; timestamp: number; }; }