Created
June 10, 2018 01:48
-
-
Save jamesknelson/5aebf9995f653dbfdbf72b9017fb4cd9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// typeof DocumentStorage | |
type DocumentStorage = Batchable<{ | |
willUpdate: false | { | |
source: boolean | CompoundValueNode<boolean>; | |
undoHistories: boolean | CompoundValueNode<boolean>; | |
}; | |
isAwaitingInitialData: false | { | |
source: boolean | CompoundValueNode<boolean>; | |
undoHistories: boolean | CompoundValueNode<boolean>; | |
}; | |
value: { | |
source: string; | |
undoHistories: any; | |
}; | |
mutations: { | |
source: ZoomedStorageMutations<string>; | |
undoHistories: ZoomedStorageMutations<any>; | |
}; | |
startBatch: (() => void) | Pick<{ | |
source: () => void; | |
undoHistories: () => void; | |
}, "source" | "undoHistories">; | |
endBatch: (() => void) | Pick<{ | |
source: () => void; | |
undoHistories: () => void; | |
}, "source" | "undoHistories">; | |
} & { | |
children: { | |
source: Pick<Zoom<Zoom<({ | |
type: "delegate"; | |
} & Pick<Delegate<{ | |
documentSources: MapStorageValue<string>; | |
documentUndoHistories: MapStorageValue<any>; | |
editorPathname: string; | |
history: BreadboardHistory; | |
navigationLocationBar: string; | |
consoleMessages: BreadboardConsoleMessage[]; | |
}, { | |
documentSources: MapStorageMutations<string>; | |
documentUndoHistories: MapStorageMutations<any>; | |
editorPathname: ValueStorageMutations<string>; | |
history: ValueStorageMutations<BreadboardHistory>; | |
navigationLocationBar: ValueStorageMutations<string>; | |
consoleMessages: CollectionStorageMutations<BreadboardConsoleMessage>; | |
}>, "mutations" | "isAwaitingInitialData" | "value" | "willUpdate" | "masterValue" | "disconnectedSince" | "hasUncommitedChanges" | "hasUnpushedChanges" | "hasDiverged" | "isBranchedFromMaster" | "isPushing" | "commit" | "revert" | "fetch" | "push" | "errors" | "isInvalid"> & { | |
batch(fn: (mutations: { | |
documentSources: MapStorageMutations<string>; | |
documentUndoHistories: MapStorageMutations<any>; | |
editorPathname: ValueStorageMutations<string>; | |
history: ValueStorageMutations<BreadboardHistory>; | |
navigationLocationBar: ValueStorageMutations<string>; | |
consoleMessages: CollectionStorageMutations<BreadboardConsoleMessage>; | |
}) => void): void; | |
startBatch(): void; | |
endBatch(): void; | |
}) | ({ | |
type: "storage"; | |
} & Pick<{ | |
willUpdate: false | { | |
documentSources: boolean | CompoundValueNode<boolean>; | |
documentUndoHistories: boolean | CompoundValueNode<boolean>; | |
editorPathname: boolean | CompoundValueNode<boolean>; | |
history: boolean | CompoundValueNode<boolean>; | |
navigationLocationBar: boolean | CompoundValueNode<boolean>; | |
consoleMessages: boolean | CompoundValueNode<boolean>; | |
}; | |
isAwaitingInitialData: false | { | |
documentSources: boolean | CompoundValueNode<boolean>; | |
documentUndoHistories: boolean | CompoundValueNode<boolean>; | |
editorPathname: boolean | CompoundValueNode<boolean>; | |
history: boolean | CompoundValueNode<boolean>; | |
navigationLocationBar: boolean | CompoundValueNode<boolean>; | |
consoleMessages: boolean | CompoundValueNode<boolean>; | |
}; | |
value: { | |
documentSources: MapStorageValue<string>; | |
documentUndoHistories: MapStorageValue<any>; | |
editorPathname: string; | |
history: BreadboardHistory; | |
navigationLocationBar: string; | |
consoleMessages: BreadboardConsoleMessage[]; | |
}; | |
mutations: { | |
documentSources: MapStorageMutations<string>; | |
documentUndoHistories: MapStorageMutations<any>; | |
editorPathname: ValueStorageMutations<string>; | |
history: ValueStorageMutations<BreadboardHistory>; | |
navigationLocationBar: ValueStorageMutations<string>; | |
consoleMessages: CollectionStorageMutations<BreadboardConsoleMessage>; | |
}; | |
startBatch: undefined; | |
endBatch: undefined; | |
} & any, "mutations" | "isAwaitingInitialData" | "value" | "willUpdate" | "children"> & { | |
batch(fn: (mutations: { | |
documentSources: MapStorageMutations<string>; | |
documentUndoHistories: MapStorageMutations<any>; | |
editorPathname: ValueStorageMutations<string>; | |
history: ValueStorageMutations<BreadboardHistory>; | |
navigationLocationBar: ValueStorageMutations<string>; | |
consoleMessages: CollectionStorageMutations<BreadboardConsoleMessage>; | |
}) => void): void; | |
startBatch(): void; | |
endBatch(): void; | |
}), { | |
isAwaitingInitialData: ZoomStrategy.SelectOrPass; | |
mutations: ZoomStrategy.Select; | |
value: ZoomStrategy.Select; | |
willUpdate: ZoomStrategy.SelectOrPass; | |
startBatch: ZoomStrategy.Pass; | |
endBatch: ZoomStrategy.Pass; | |
}, "documentSources">, { | |
isAwaitingInitialData: ZoomStrategy.SelectOrPass; | |
mutations: ZoomStrategy.Select; | |
value: ZoomStrategy.Select; | |
willUpdate: ZoomStrategy.SelectOrPass; | |
startBatch: ZoomStrategy.Pass; | |
endBatch: ZoomStrategy.Pass; | |
}, string>, "isAwaitingInitialData" | "value" | "willUpdate" | "startBatch" | "endBatch"> & { | |
mutations: ZoomedStorageMutations<string>; | |
}; | |
undoHistories: Pick<Zoom<Zoom<({ | |
type: "delegate"; | |
} & Pick<Delegate<{ | |
documentSources: MapStorageValue<string>; | |
documentUndoHistories: MapStorageValue<any>; | |
editorPathname: string; | |
history: BreadboardHistory; | |
navigationLocationBar: string; | |
consoleMessages: BreadboardConsoleMessage[]; | |
}, { | |
documentSources: MapStorageMutations<string>; | |
documentUndoHistories: MapStorageMutations<any>; | |
editorPathname: ValueStorageMutations<string>; | |
history: ValueStorageMutations<BreadboardHistory>; | |
navigationLocationBar: ValueStorageMutations<string>; | |
consoleMessages: CollectionStorageMutations<BreadboardConsoleMessage>; | |
}>, "mutations" | "isAwaitingInitialData" | "value" | "willUpdate" | "masterValue" | "disconnectedSince" | "hasUncommitedChanges" | "hasUnpushedChanges" | "hasDiverged" | "isBranchedFromMaster" | "isPushing" | "commit" | "revert" | "fetch" | "push" | "errors" | "isInvalid"> & { | |
batch(fn: (mutations: { | |
documentSources: MapStorageMutations<string>; | |
documentUndoHistories: MapStorageMutations<any>; | |
editorPathname: ValueStorageMutations<string>; | |
history: ValueStorageMutations<BreadboardHistory>; | |
navigationLocationBar: ValueStorageMutations<string>; | |
consoleMessages: CollectionStorageMutations<BreadboardConsoleMessage>; | |
}) => void): void; | |
startBatch(): void; | |
endBatch(): void; | |
}) | ({ | |
type: "storage"; | |
} & Pick<{ | |
willUpdate: false | { | |
documentSources: boolean | CompoundValueNode<boolean>; | |
documentUndoHistories: boolean | CompoundValueNode<boolean>; | |
editorPathname: boolean | CompoundValueNode<boolean>; | |
history: boolean | CompoundValueNode<boolean>; | |
navigationLocationBar: boolean | CompoundValueNode<boolean>; | |
consoleMessages: boolean | CompoundValueNode<boolean>; | |
}; | |
isAwaitingInitialData: false | { | |
documentSources: boolean | CompoundValueNode<boolean>; | |
documentUndoHistories: boolean | CompoundValueNode<boolean>; | |
editorPathname: boolean | CompoundValueNode<boolean>; | |
history: boolean | CompoundValueNode<boolean>; | |
navigationLocationBar: boolean | CompoundValueNode<boolean>; | |
consoleMessages: boolean | CompoundValueNode<boolean>; | |
}; | |
value: { | |
documentSources: MapStorageValue<string>; | |
documentUndoHistories: MapStorageValue<any>; | |
editorPathname: string; | |
history: BreadboardHistory; | |
navigationLocationBar: string; | |
consoleMessages: BreadboardConsoleMessage[]; | |
}; | |
mutations: { | |
documentSources: MapStorageMutations<string>; | |
documentUndoHistories: MapStorageMutations<any>; | |
editorPathname: ValueStorageMutations<string>; | |
history: ValueStorageMutations<BreadboardHistory>; | |
navigationLocationBar: ValueStorageMutations<string>; | |
consoleMessages: CollectionStorageMutations<BreadboardConsoleMessage>; | |
}; | |
startBatch: undefined; | |
endBatch: undefined; | |
} & any, "mutations" | "isAwaitingInitialData" | "value" | "willUpdate" | "children"> & { | |
batch(fn: (mutations: { | |
documentSources: MapStorageMutations<string>; | |
documentUndoHistories: MapStorageMutations<any>; | |
editorPathname: ValueStorageMutations<string>; | |
history: ValueStorageMutations<BreadboardHistory>; | |
navigationLocationBar: ValueStorageMutations<string>; | |
consoleMessages: CollectionStorageMutations<BreadboardConsoleMessage>; | |
}) => void): void; | |
startBatch(): void; | |
endBatch(): void; | |
}), { | |
isAwaitingInitialData: ZoomStrategy.SelectOrPass; | |
mutations: ZoomStrategy.Select; | |
value: ZoomStrategy.Select; | |
willUpdate: ZoomStrategy.SelectOrPass; | |
startBatch: ZoomStrategy.Pass; | |
endBatch: ZoomStrategy.Pass; | |
}, "documentUndoHistories">, { | |
isAwaitingInitialData: ZoomStrategy.SelectOrPass; | |
mutations: ZoomStrategy.Select; | |
value: ZoomStrategy.Select; | |
willUpdate: ZoomStrategy.SelectOrPass; | |
startBatch: ZoomStrategy.Pass; | |
endBatch: ZoomStrategy.Pass; | |
}, string>, "isAwaitingInitialData" | "value" | "willUpdate" | "startBatch" | "endBatch"> & { | |
mutations: ZoomedStorageMutations<any>; | |
}; | |
}; | |
}> | Govern.GovernElement<Batchable<{ | |
willUpdate: false | { | |
source: boolean | CompoundValueNode<boolean>; | |
undoHistories: boolean | CompoundValueNode<boolean>; | |
}; | |
isAwaitingInitialData: false | { | |
source: boolean | CompoundValueNode<boolean>; | |
undoHistories: boolean | CompoundValueNode<boolean>; | |
}; | |
value: { | |
source: string; | |
undoHistories: any; | |
}; | |
mutations: { | |
source: ZoomedStorageMutations<string>; | |
undoHistories: ZoomedStorageMutations<any>; | |
}; | |
startBatch: (() => void) | Pick<{ | |
source: () => void; | |
undoHistories: () => void; | |
}, "source" | "undoHistories">; | |
endBatch: (() => void) | Pick<{ | |
source: () => void; | |
undoHistories: () => void; | |
}, "source" | "undoHistories">; | |
} & { | |
children: { | |
source: Pick<Zoom<Zoom<({ | |
type: "delegate"; | |
} & Pick<Delegate<{ | |
documentSources: MapStorageValue<string>; | |
documentUndoHistories: MapStorageValue<any>; | |
editorPathname: string; | |
history: BreadboardHistory; | |
navigationLocationBar: string; | |
consoleMessages: BreadboardConsoleMessage[]; | |
}, { | |
documentSources: MapStorageMutations<string>; | |
documentUndoHistories: MapStorageMutations<any>; | |
editorPathname: ValueStorageMutations<string>; | |
history: ValueStorageMutations<BreadboardHistory>; | |
navigationLocationBar: ValueStorageMutations<string>; | |
consoleMessages: CollectionStorageMutations<BreadboardConsoleMessage>; | |
}>, "mutations" | "isAwaitingInitialData" | "value" | "willUpdate" | "masterValue" | "disconnectedSince" | "hasUncommitedChanges" | "hasUnpushedChanges" | "hasDiverged" | "isBranchedFromMaster" | "isPushing" | "commit" | "revert" | "fetch" | "push" | "errors" | "isInvalid"> & { | |
batch(fn: (mutations: { | |
documentSources: MapStorageMutations<string>; | |
documentUndoHistories: MapStorageMutations<any>; | |
editorPathname: ValueStorageMutations<string>; | |
history: ValueStorageMutations<BreadboardHistory>; | |
navigationLocationBar: ValueStorageMutations<string>; | |
consoleMessages: CollectionStorageMutations<BreadboardConsoleMessage>; | |
}) => void): void; | |
startBatch(): void; | |
endBatch(): void; | |
}) | ({ | |
type: "storage"; | |
} & Pick<{ | |
willUpdate: false | { | |
documentSources: boolean | CompoundValueNode<boolean>; | |
documentUndoHistories: boolean | CompoundValueNode<boolean>; | |
editorPathname: boolean | CompoundValueNode<boolean>; | |
history: boolean | CompoundValueNode<boolean>; | |
navigationLocationBar: boolean | CompoundValueNode<boolean>; | |
consoleMessages: boolean | CompoundValueNode<boolean>; | |
}; | |
isAwaitingInitialData: false | { | |
documentSources: boolean | CompoundValueNode<boolean>; | |
documentUndoHistories: boolean | CompoundValueNode<boolean>; | |
editorPathname: boolean | CompoundValueNode<boolean>; | |
history: boolean | CompoundValueNode<boolean>; | |
navigationLocationBar: boolean | CompoundValueNode<boolean>; | |
consoleMessages: boolean | CompoundValueNode<boolean>; | |
}; | |
value: { | |
documentSources: MapStorageValue<string>; | |
documentUndoHistories: MapStorageValue<any>; | |
editorPathname: string; | |
history: BreadboardHistory; | |
navigationLocationBar: string; | |
consoleMessages: BreadboardConsoleMessage[]; | |
}; | |
mutations: { | |
documentSources: MapStorageMutations<string>; | |
documentUndoHistories: MapStorageMutations<any>; | |
editorPathname: ValueStorageMutations<string>; | |
history: ValueStorageMutations<BreadboardHistory>; | |
navigationLocationBar: ValueStorageMutations<string>; | |
consoleMessages: CollectionStorageMutations<BreadboardConsoleMessage>; | |
}; | |
startBatch: undefined; | |
endBatch: undefined; | |
} & any, "mutations" | "isAwaitingInitialData" | "value" | "willUpdate" | "children"> & { | |
batch(fn: (mutations: { | |
documentSources: MapStorageMutations<string>; | |
documentUndoHistories: MapStorageMutations<any>; | |
editorPathname: ValueStorageMutations<string>; | |
history: ValueStorageMutations<BreadboardHistory>; | |
navigationLocationBar: ValueStorageMutations<string>; | |
consoleMessages: CollectionStorageMutations<BreadboardConsoleMessage>; | |
}) => void): void; | |
startBatch(): void; | |
endBatch(): void; | |
}), { | |
isAwaitingInitialData: ZoomStrategy.SelectOrPass; | |
mutations: ZoomStrategy.Select; | |
value: ZoomStrategy.Select; | |
willUpdate: ZoomStrategy.SelectOrPass; | |
startBatch: ZoomStrategy.Pass; | |
endBatch: ZoomStrategy.Pass; | |
}, "documentSources">, { | |
isAwaitingInitialData: ZoomStrategy.SelectOrPass; | |
mutations: ZoomStrategy.Select; | |
value: ZoomStrategy.Select; | |
willUpdate: ZoomStrategy.SelectOrPass; | |
startBatch: ZoomStrategy.Pass; | |
endBatch: ZoomStrategy.Pass; | |
}, string>, "isAwaitingInitialData" | "value" | "willUpdate" | "startBatch" | "endBatch"> & { | |
mutations: ZoomedStorageMutations<string>; | |
}; | |
undoHistories: Pick<Zoom<Zoom<({ | |
type: "delegate"; | |
} & Pick<Delegate<{ | |
documentSources: MapStorageValue<string>; | |
documentUndoHistories: MapStorageValue<any>; | |
editorPathname: string; | |
history: BreadboardHistory; | |
navigationLocationBar: string; | |
consoleMessages: BreadboardConsoleMessage[]; | |
}, { | |
documentSources: MapStorageMutations<string>; | |
documentUndoHistories: MapStorageMutations<any>; | |
editorPathname: ValueStorageMutations<string>; | |
history: ValueStorageMutations<BreadboardHistory>; | |
navigationLocationBar: ValueStorageMutations<string>; | |
consoleMessages: CollectionStorageMutations<BreadboardConsoleMessage>; | |
}>, "mutations" | "isAwaitingInitialData" | "value" | "willUpdate" | "masterValue" | "disconnectedSince" | "hasUncommitedChanges" | "hasUnpushedChanges" | "hasDiverged" | "isBranchedFromMaster" | "isPushing" | "commit" | "revert" | "fetch" | "push" | "errors" | "isInvalid"> & { | |
batch(fn: (mutations: { | |
documentSources: MapStorageMutations<string>; | |
documentUndoHistories: MapStorageMutations<any>; | |
editorPathname: ValueStorageMutations<string>; | |
history: ValueStorageMutations<BreadboardHistory>; | |
navigationLocationBar: ValueStorageMutations<string>; | |
consoleMessages: CollectionStorageMutations<BreadboardConsoleMessage>; | |
}) => void): void; | |
startBatch(): void; | |
endBatch(): void; | |
}) | ({ | |
type: "storage"; | |
} & Pick<{ | |
willUpdate: false | { | |
documentSources: boolean | CompoundValueNode<boolean>; | |
documentUndoHistories: boolean | CompoundValueNode<boolean>; | |
editorPathname: boolean | CompoundValueNode<boolean>; | |
history: boolean | CompoundValueNode<boolean>; | |
navigationLocationBar: boolean | CompoundValueNode<boolean>; | |
consoleMessages: boolean | CompoundValueNode<boolean>; | |
}; | |
isAwaitingInitialData: false | { | |
documentSources: boolean | CompoundValueNode<boolean>; | |
documentUndoHistories: boolean | CompoundValueNode<boolean>; | |
editorPathname: boolean | CompoundValueNode<boolean>; | |
history: boolean | CompoundValueNode<boolean>; | |
navigationLocationBar: boolean | CompoundValueNode<boolean>; | |
consoleMessages: boolean | CompoundValueNode<boolean>; | |
}; | |
value: { | |
documentSources: MapStorageValue<string>; | |
documentUndoHistories: MapStorageValue<any>; | |
editorPathname: string; | |
history: BreadboardHistory; | |
navigationLocationBar: string; | |
consoleMessages: BreadboardConsoleMessage[]; | |
}; | |
mutations: { | |
documentSources: MapStorageMutations<string>; | |
documentUndoHistories: MapStorageMutations<any>; | |
editorPathname: ValueStorageMutations<string>; | |
history: ValueStorageMutations<BreadboardHistory>; | |
navigationLocationBar: ValueStorageMutations<string>; | |
consoleMessages: CollectionStorageMutations<BreadboardConsoleMessage>; | |
}; | |
startBatch: undefined; | |
endBatch: undefined; | |
} & any, "mutations" | "isAwaitingInitialData" | "value" | "willUpdate" | "children"> & { | |
batch(fn: (mutations: { | |
documentSources: MapStorageMutations<string>; | |
documentUndoHistories: MapStorageMutations<any>; | |
editorPathname: ValueStorageMutations<string>; | |
history: ValueStorageMutations<BreadboardHistory>; | |
navigationLocationBar: ValueStorageMutations<string>; | |
consoleMessages: CollectionStorageMutations<BreadboardConsoleMessage>; | |
}) => void): void; | |
startBatch(): void; | |
endBatch(): void; | |
}), { | |
isAwaitingInitialData: ZoomStrategy.SelectOrPass; | |
mutations: ZoomStrategy.Select; | |
value: ZoomStrategy.Select; | |
willUpdate: ZoomStrategy.SelectOrPass; | |
startBatch: ZoomStrategy.Pass; | |
endBatch: ZoomStrategy.Pass; | |
}, "documentUndoHistories">, { | |
isAwaitingInitialData: ZoomStrategy.SelectOrPass; | |
mutations: ZoomStrategy.Select; | |
value: ZoomStrategy.Select; | |
willUpdate: ZoomStrategy.SelectOrPass; | |
startBatch: ZoomStrategy.Pass; | |
endBatch: ZoomStrategy.Pass; | |
}, string>, "isAwaitingInitialData" | "value" | "willUpdate" | "startBatch" | "endBatch"> & { | |
mutations: ZoomedStorageMutations<any>; | |
}; | |
}; | |
}>, any> | Govern.Store<Batchable<{ | |
willUpdate: false | { | |
source: boolean | CompoundValueNode<boolean>; | |
undoHistories: boolean | CompoundValueNode<boolean>; | |
}; | |
isAwaitingInitialData: false | { | |
source: boolean | CompoundValueNode<boolean>; | |
undoHistories: boolean | CompoundValueNode<boolean>; | |
}; | |
value: { | |
source: string; | |
undoHistories: any; | |
}; | |
mutations: { | |
source: ZoomedStorageMutations<string>; | |
undoHistories: ZoomedStorageMutations<any>; | |
}; | |
startBatch: (() => void) | Pick<{ | |
source: () => void; | |
undoHistories: () => void; | |
}, "source" | "undoHistories">; | |
endBatch: (() => void) | Pick<{ | |
source: () => void; | |
undoHistories: () => void; | |
}, "source" | "undoHistories">; | |
} & { | |
children: { | |
source: Pick<Zoom<Zoom<({ | |
type: "delegate"; | |
} & Pick<Delegate<{ | |
documentSources: MapStorageValue<string>; | |
documentUndoHistories: MapStorageValue<any>; | |
editorPathname: string; | |
history: BreadboardHistory; | |
navigationLocationBar: string; | |
consoleMessages: BreadboardConsoleMessage[]; | |
}, { | |
documentSources: MapStorageMutations<string>; | |
documentUndoHistories: MapStorageMutations<any>; | |
editorPathname: ValueStorageMutations<string>; | |
history: ValueStorageMutations<BreadboardHistory>; | |
navigationLocationBar: ValueStorageMutations<string>; | |
consoleMessages: CollectionStorageMutations<BreadboardConsoleMessage>; | |
}>, "mutations" | "isAwaitingInitialData" | "value" | "willUpdate" | "masterValue" | "disconnectedSince" | "hasUncommitedChanges" | "hasUnpushedChanges" | "hasDiverged" | "isBranchedFromMaster" | "isPushing" | "commit" | "revert" | "fetch" | "push" | "errors" | "isInvalid"> & { | |
batch(fn: (mutations: { | |
documentSources: MapStorageMutations<string>; | |
documentUndoHistories: MapStorageMutations<any>; | |
editorPathname: ValueStorageMutations<string>; | |
history: ValueStorageMutations<BreadboardHistory>; | |
navigationLocationBar: ValueStorageMutations<string>; | |
consoleMessages: CollectionStorageMutations<BreadboardConsoleMessage>; | |
}) => void): void; | |
startBatch(): void; | |
endBatch(): void; | |
}) | ({ | |
type: "storage"; | |
} & Pick<{ | |
willUpdate: false | { | |
documentSources: boolean | CompoundValueNode<boolean>; | |
documentUndoHistories: boolean | CompoundValueNode<boolean>; | |
editorPathname: boolean | CompoundValueNode<boolean>; | |
history: boolean | CompoundValueNode<boolean>; | |
navigationLocationBar: boolean | CompoundValueNode<boolean>; | |
consoleMessages: boolean | CompoundValueNode<boolean>; | |
}; | |
isAwaitingInitialData: false | { | |
documentSources: boolean | CompoundValueNode<boolean>; | |
documentUndoHistories: boolean | CompoundValueNode<boolean>; | |
editorPathname: boolean | CompoundValueNode<boolean>; | |
history: boolean | CompoundValueNode<boolean>; | |
navigationLocationBar: boolean | CompoundValueNode<boolean>; | |
consoleMessages: boolean | CompoundValueNode<boolean>; | |
}; | |
value: { | |
documentSources: MapStorageValue<string>; | |
documentUndoHistories: MapStorageValue<any>; | |
editorPathname: string; | |
history: BreadboardHistory; | |
navigationLocationBar: string; | |
consoleMessages: BreadboardConsoleMessage[]; | |
}; | |
mutations: { | |
documentSources: MapStorageMutations<string>; | |
documentUndoHistories: MapStorageMutations<any>; | |
editorPathname: ValueStorageMutations<string>; | |
history: ValueStorageMutations<BreadboardHistory>; | |
navigationLocationBar: ValueStorageMutations<string>; | |
consoleMessages: CollectionStorageMutations<BreadboardConsoleMessage>; | |
}; | |
startBatch: undefined; | |
endBatch: undefined; | |
} & any, "mutations" | "isAwaitingInitialData" | "value" | "willUpdate" | "children"> & { | |
batch(fn: (mutations: { | |
documentSources: MapStorageMutations<string>; | |
documentUndoHistories: MapStorageMutations<any>; | |
editorPathname: ValueStorageMutations<string>; | |
history: ValueStorageMutations<BreadboardHistory>; | |
navigationLocationBar: ValueStorageMutations<string>; | |
consoleMessages: CollectionStorageMutations<BreadboardConsoleMessage>; | |
}) => void): void; | |
startBatch(): void; | |
endBatch(): void; | |
}), { | |
isAwaitingInitialData: ZoomStrategy.SelectOrPass; | |
mutations: ZoomStrategy.Select; | |
value: ZoomStrategy.Select; | |
willUpdate: ZoomStrategy.SelectOrPass; | |
startBatch: ZoomStrategy.Pass; | |
endBatch: ZoomStrategy.Pass; | |
}, "documentSources">, { | |
isAwaitingInitialData: ZoomStrategy.SelectOrPass; | |
mutations: ZoomStrategy.Select; | |
value: ZoomStrategy.Select; | |
willUpdate: ZoomStrategy.SelectOrPass; | |
startBatch: ZoomStrategy.Pass; | |
endBatch: ZoomStrategy.Pass; | |
}, string>, "isAwaitingInitialData" | "value" | "willUpdate" | "startBatch" | "endBatch"> & { | |
mutations: ZoomedStorageMutations<string>; | |
}; | |
undoHistories: Pick<Zoom<Zoom<({ | |
type: "delegate"; | |
} & Pick<Delegate<{ | |
documentSources: MapStorageValue<string>; | |
documentUndoHistories: MapStorageValue<any>; | |
editorPathname: string; | |
history: BreadboardHistory; | |
navigationLocationBar: string; | |
consoleMessages: BreadboardConsoleMessage[]; | |
}, { | |
documentSources: MapStorageMutations<string>; | |
documentUndoHistories: MapStorageMutations<any>; | |
editorPathname: ValueStorageMutations<string>; | |
history: ValueStorageMutations<BreadboardHistory>; | |
navigationLocationBar: ValueStorageMutations<string>; | |
consoleMessages: CollectionStorageMutations<BreadboardConsoleMessage>; | |
}>, "mutations" | "isAwaitingInitialData" | "value" | "willUpdate" | "masterValue" | "disconnectedSince" | "hasUncommitedChanges" | "hasUnpushedChanges" | "hasDiverged" | "isBranchedFromMaster" | "isPushing" | "commit" | "revert" | "fetch" | "push" | "errors" | "isInvalid"> & { | |
batch(fn: (mutations: { | |
documentSources: MapStorageMutations<string>; | |
documentUndoHistories: MapStorageMutations<any>; | |
editorPathname: ValueStorageMutations<string>; | |
history: ValueStorageMutations<BreadboardHistory>; | |
navigationLocationBar: ValueStorageMutations<string>; | |
consoleMessages: CollectionStorageMutations<BreadboardConsoleMessage>; | |
}) => void): void; | |
startBatch(): void; | |
endBatch(): void; | |
}) | ({ | |
type: "storage"; | |
} & Pick<{ | |
willUpdate: false | { | |
documentSources: boolean | CompoundValueNode<boolean>; | |
documentUndoHistories: boolean | CompoundValueNode<boolean>; | |
editorPathname: boolean | CompoundValueNode<boolean>; | |
history: boolean | CompoundValueNode<boolean>; | |
navigationLocationBar: boolean | CompoundValueNode<boolean>; | |
consoleMessages: boolean | CompoundValueNode<boolean>; | |
}; | |
isAwaitingInitialData: false | { | |
documentSources: boolean | CompoundValueNode<boolean>; | |
documentUndoHistories: boolean | CompoundValueNode<boolean>; | |
editorPathname: boolean | CompoundValueNode<boolean>; | |
history: boolean | CompoundValueNode<boolean>; | |
navigationLocationBar: boolean | CompoundValueNode<boolean>; | |
consoleMessages: boolean | CompoundValueNode<boolean>; | |
}; | |
value: { | |
documentSources: MapStorageValue<string>; | |
documentUndoHistories: MapStorageValue<any>; | |
editorPathname: string; | |
history: BreadboardHistory; | |
navigationLocationBar: string; | |
consoleMessages: BreadboardConsoleMessage[]; | |
}; | |
mutations: { | |
documentSources: MapStorageMutations<string>; | |
documentUndoHistories: MapStorageMutations<any>; | |
editorPathname: ValueStorageMutations<string>; | |
history: ValueStorageMutations<BreadboardHistory>; | |
navigationLocationBar: ValueStorageMutations<string>; | |
consoleMessages: CollectionStorageMutations<BreadboardConsoleMessage>; | |
}; | |
startBatch: undefined; | |
endBatch: undefined; | |
} & any, "mutations" | "isAwaitingInitialData" | "value" | "willUpdate" | "children"> & { | |
batch(fn: (mutations: { | |
documentSources: MapStorageMutations<string>; | |
documentUndoHistories: MapStorageMutations<any>; | |
editorPathname: ValueStorageMutations<string>; | |
history: ValueStorageMutations<BreadboardHistory>; | |
navigationLocationBar: ValueStorageMutations<string>; | |
consoleMessages: CollectionStorageMutations<BreadboardConsoleMessage>; | |
}) => void): void; | |
startBatch(): void; | |
endBatch(): void; | |
}), { | |
isAwaitingInitialData: ZoomStrategy.SelectOrPass; | |
mutations: ZoomStrategy.Select; | |
value: ZoomStrategy.Select; | |
willUpdate: ZoomStrategy.SelectOrPass; | |
startBatch: ZoomStrategy.Pass; | |
endBatch: ZoomStrategy.Pass; | |
}, "documentUndoHistories">, { | |
isAwaitingInitialData: ZoomStrategy.SelectOrPass; | |
mutations: ZoomStrategy.Select; | |
value: ZoomStrategy.Select; | |
willUpdate: ZoomStrategy.SelectOrPass; | |
startBatch: ZoomStrategy.Pass; | |
endBatch: ZoomStrategy.Pass; | |
}, string>, "isAwaitingInitialData" | "value" | "willUpdate" | "startBatch" | "endBatch"> & { | |
mutations: ZoomedStorageMutations<any>; | |
}; | |
}; | |
}>, any> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I wonder why VSCode is getting a little unresponsive...