acknowledgement.interface.ts 827 B

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