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