Parcourir la source

[web] gracefully handle old history resyncs without origin (#32822)

GitOrigin-RevId: 6e9d878234fea8bdb74534b1f23ee127e5c2daaf
Jakob Ackermann il y a 4 mois
Parent
commit
be2e875bc5
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      services/web/types/history/projectHistory.ts

+ 1 - 1
services/web/types/history/projectHistory.ts

@@ -30,7 +30,7 @@ export type SyncStartRecordSchema = {
 export type SyncStateSchema = {
   resyncProjectStructure: boolean
   resyncDocContents: string[]
-  origin: { kind: string }
+  origin?: { kind: string }
 }
 
 export type SyncStateHistoryEntry = {