Rename "view sync" to "view once open sync"

This commit is contained in:
Evan Hahn 2021-07-22 12:07:53 -05:00 committed by GitHub
parent fd70173e3e
commit 07f0efc45f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 43 additions and 39 deletions

View file

@ -237,13 +237,13 @@ export class ConfigurationEvent extends ConfirmableEvent {
}
}
export type ViewSyncOptions = {
export type ViewOnceOpenSyncOptions = {
source?: string;
sourceUuid?: string;
timestamp?: number;
};
export class ViewSyncEvent extends ConfirmableEvent {
export class ViewOnceOpenSyncEvent extends ConfirmableEvent {
public readonly source?: string;
public readonly sourceUuid?: string;
@ -251,10 +251,10 @@ export class ViewSyncEvent extends ConfirmableEvent {
public readonly timestamp?: number;
constructor(
{ source, sourceUuid, timestamp }: ViewSyncOptions,
{ source, sourceUuid, timestamp }: ViewOnceOpenSyncOptions,
confirm: ConfirmCallback
) {
super('viewSync', confirm);
super('viewOnceOpenSync', confirm);
this.source = source;
this.sourceUuid = sourceUuid;