acknowledgement.interface.ts 884 B

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