mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 13:55:51 +00:00
20 lines
580 B
TypeScript
20 lines
580 B
TypeScript
import { Injectable } from '@angular/core';
|
|
import { Subject } from 'rxjs';
|
|
import { DexieRepository } from 'src/app/infra/repository/dexie/dexie-repository.service';
|
|
import { chatDatabase } from '../../infra/database/dexie/service';
|
|
import { AttachmentTable, AttachmentTableSchema } from '../../infra/database/dexie/schema/attachment';
|
|
|
|
@Injectable({
|
|
providedIn: 'root'
|
|
})
|
|
export class AttachmentLocalDataSource extends DexieRepository<AttachmentTable> {
|
|
|
|
messageSubject = new Subject();
|
|
|
|
constructor() {
|
|
super(chatDatabase.attachment, AttachmentTableSchema)
|
|
}
|
|
|
|
}
|
|
|