Rework Attachments as a bag (#193)

Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
Andrey Platov
2021-09-15 19:03:34 +02:00
committed by GitHub
parent 74d46558f1
commit bf9f479500
27 changed files with 923 additions and 833 deletions
+2 -2
View File
@@ -33,8 +33,8 @@ export class FullTextIndex extends TxProcessor implements Storage {
super()
}
protected txPutBag (tx: TxPutBag<any>): Promise<void> {
throw new Error('Method not implemented.')
protected override async txPutBag (tx: TxPutBag<any>): Promise<void> {
console.log('FullTextIndex.txPutBag: Method not implemented.')
}
protected txRemoveDoc (tx: TxRemoveDoc<Doc>): Promise<void> {
+1 -1
View File
@@ -34,7 +34,7 @@ export interface Trigger extends Doc {
* @public
*/
export interface IndexedDoc {
id: Ref<Doc>
id: string
_class: Ref<Class<Doc>>
space: Ref<Space>
modifiedOn: Timestamp