webring
    Preparing search index...

    Type Alias CacheEntry

    CacheEntry: {
        data: {
            date: Date;
            preview?: string;
            source: {
                filter?: (...args: [string, ...unknown[]]) => boolean;
                title: string;
                url: string;
            };
            title: string;
            url: string;
        };
        timestamp: Date;
    }

    A single cache entry

    Type declaration

    • data: {
          date: Date;
          preview?: string;
          source: {
              filter?: (...args: [string, ...unknown[]]) => boolean;
              title: string;
              url: string;
          };
          title: string;
          url: string;
      }

      The data from the source

      • date: Date

        The date of the entry

      • Optionalpreview?: string

        A preview of the entry. This may contain sanitized HTML.

      • source: {
            filter?: (...args: [string, ...unknown[]]) => boolean;
            title: string;
            url: string;
        }

        The source the entry is from

        • Optionalfilter?: (...args: [string, ...unknown[]]) => boolean

          Takes a entry preview and returns whether or not it should be displayed

        • title: string

          A title to describe the feed

        • url: string

          The URL of an RSS feed

      • title: string

        The title of the entry

      • url: string

        A direct link to the entry

    • timestamp: Date

      The time a source was last checked