acknowledgement.interface.ts 732 B

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