Sfoglia il codice sorgente

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

GitOrigin-RevId: 6e9d878234fea8bdb74534b1f23ee127e5c2daaf
Jakob Ackermann 4 mesi fa
parent
commit
be2e875bc5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 = {