EteSync: update from iOS repo.

master
Tom Hacohen 5 years ago
parent 11dd883f5f
commit b9aa69aba2

@ -127,6 +127,7 @@ class BaseJournal<T extends BaseJson> extends BaseItem<T> {
export interface JournalJson extends BaseJson {
version: number;
owner: string;
readOnly?: boolean;
key?: base64;
}
@ -152,6 +153,10 @@ export class Journal extends BaseJournal<JournalJson> {
return this._json.owner;
}
get readOnly(): boolean | undefined {
return this._json.readOnly;
}
get version(): number {
return this._json.version;
}
@ -535,6 +540,7 @@ export class EntryManager extends BaseManager {
export interface JournalMemberJson {
user: string;
key: base64;
readOnly?: boolean;
}
export class JournalMembersManager extends BaseManager {

Loading…
Cancel
Save