Builder class for a single request filter

Constructors

Properties

#filter: ReqFilter
#relays: Set<string> = ...

Accessors

  • get filter(): {
        #a?: string[];
        #d?: string[];
        #e?: string[];
        #g?: string[];
        #p?: string[];
        #r?: string[];
        #t?: string[];
        authors?: string[];
        ids?: string[];
        kinds?: number[];
        limit?: number;
        not?: ReqFilter;
        search?: string;
        since?: number;
        until?: number;
    }
  • Returns {
        #a?: string[];
        #d?: string[];
        #e?: string[];
        #g?: string[];
        #p?: string[];
        #r?: string[];
        #t?: string[];
        authors?: string[];
        ids?: string[];
        kinds?: number[];
        limit?: number;
        not?: ReqFilter;
        search?: string;
        since?: number;
        until?: number;
    }

    • Optional #a?: string[]
    • Optional #d?: string[]
    • Optional #e?: string[]
    • Optional #g?: string[]
    • Optional #p?: string[]
    • Optional #r?: string[]
    • Optional #t?: string[]
    • Optional authors?: string[]
    • Optional ids?: string[]
    • Optional kinds?: number[]
    • Optional limit?: number
    • Optional not?: ReqFilter
    • Optional search?: string
    • Optional since?: number
    • Optional until?: number

Methods

Generated using TypeDoc