acknowledgement.interface.ts 815 B

1234567891011121314151617181920212223242526272829
  1. import { Observable } from "rxjs";
  2. import { LogSetting } from "../dependencies/log/type/datatype";
  3. import { BaseMessage, ResponseMessage } from "../dependencies/log/dependencies/msgutil/interface/export";
  4. /**
  5. * @deprecated The acknowledgement will be covered by MessageAuditorService.
  6. */
  7. export interface Acknowledgemeent {
  8. init(settings: LogSetting): void;
  9. subscribe(obs: Observable<BaseMessage>): Observable<ResponseMessage>
  10. }
  11. export type AcknowledgementLogSetting = {
  12. storage: string;
  13. setting?: {
  14. appId?: string,
  15. appName: string
  16. }
  17. customSetting?: {
  18. srv?: boolean,
  19. user?: string,
  20. password?: string,
  21. server?: string,
  22. collection?: string
  23. url?: string // Full link if possible. Doesnt matter cloud or remote server
  24. }
  25. }