Skip to main content

SyncResponse

type SyncResponse = {
calendarAccounts?: CalendarAccount[];
calendars?: Calendar[];
collaborators?: Collaborator[];
collaboratorStates?: CollaboratorState[];
completedInfo?: CompletedInfo[];
dayOrders?: Record<string, number>;
filters?: Filter[];
folders?: Folder[];
fullSync?: boolean;
items?: Task[];
labels?: Label[];
liveNotifications?: LiveNotification[];
locations?: Record<string, unknown>[];
notes?: Note[];
notificationSettings?: Record<string, boolean>;
projectNotes?: Note[];
projects?: (
| PersonalProject
| WorkspaceProject)[];
projectViewOptionsDefaults?: ProjectViewOptionsDefaults[];
reminders?: Reminder[];
remindersLocation?: LocationReminder[];
roleActions?: Record<string, unknown>[];
sections?: Section[];
stats?: Record<string, unknown>;
suggestions?: Suggestion[];
syncStatus?: Record<string, "ok" | SyncError>;
syncToken?: string;
tempIdMapping?: Record<string, string>;
tooltips?: Tooltips;
user?: SyncUser;
userPlanLimits?: UserPlanLimits;
userSettings?: UserSettings;
viewOptions?: ViewOptions[];
workspaceFilters?: WorkspaceFilter[];
workspaceGoals?: WorkspaceGoal[];
workspaces?: SyncWorkspace[];
workspaceUsers?: WorkspaceUser[];
};

Properties

calendarAccounts?

optional calendarAccounts: CalendarAccount[];

calendars?

optional calendars: Calendar[];

collaborators?

optional collaborators: Collaborator[];

collaboratorStates?

optional collaboratorStates: CollaboratorState[];

completedInfo?

optional completedInfo: CompletedInfo[];

dayOrders?

optional dayOrders: Record<string, number>;

filters?

optional filters: Filter[];

folders?

optional folders: Folder[];

fullSync?

optional fullSync: boolean;

items?

optional items: Task[];

labels?

optional labels: Label[];

liveNotifications?

optional liveNotifications: LiveNotification[];

locations?

optional locations: Record<string, unknown>[];

notes?

optional notes: Note[];

notificationSettings?

optional notificationSettings: Record<string, boolean>;

projectNotes?

optional projectNotes: Note[];

projects?

optional projects: (
| PersonalProject
| WorkspaceProject)[];

projectViewOptionsDefaults?

optional projectViewOptionsDefaults: ProjectViewOptionsDefaults[];

reminders?

optional reminders: Reminder[];

remindersLocation?

optional remindersLocation: LocationReminder[];

roleActions?

optional roleActions: Record<string, unknown>[];

sections?

optional sections: Section[];

stats?

optional stats: Record<string, unknown>;

suggestions?

optional suggestions: Suggestion[];

syncStatus?

optional syncStatus: Record<string, "ok" | SyncError>;

syncToken?

optional syncToken: string;

tempIdMapping?

optional tempIdMapping: Record<string, string>;

tooltips?

optional tooltips: Tooltips;

user?

optional user: SyncUser;

userPlanLimits?

optional userPlanLimits: UserPlanLimits;

userSettings?

optional userSettings: UserSettings;

viewOptions?

optional viewOptions: ViewOptions[];

workspaceFilters?

optional workspaceFilters: WorkspaceFilter[];

workspaceGoals?

optional workspaceGoals: WorkspaceGoal[];

workspaces?

optional workspaces: SyncWorkspace[];

workspaceUsers?

optional workspaceUsers: WorkspaceUser[];