• Returns a string with the filters from a notification, one by line.

    Parameters

    • notification: {
          commands?: string[];
          cta?: { label: string; url: string };
          frequency: "always" | "once" | "once_a_day" | "once_a_week";
          id: string;
          maxDate?: string;
          maxVersion?: string;
          message: string;
          minDate?: string;
          minVersion?: string;
          ownerChannel: string;
          surface?: string;
          title?: string;
          type: "error" | "info" | "warning";
      }

      The notification to get the filters from.

    Returns string

    A string with human-readable filters from the notification.