Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • HistoryStore

Index

Constructors

constructor

Properties

favorite

favorite: QueryStore

history

history: QueryStore

queries

queries: Array<QueryStoreItem>

Methods

deleteHistory

  • deleteHistory(__namedParameters: { favorite: undefined | false | true; headers: undefined | string; operationName: undefined | string; query: undefined | string; variables: undefined | string }, clearFavorites?: boolean): void
  • Parameters

    • __namedParameters: { favorite: undefined | false | true; headers: undefined | string; operationName: undefined | string; query: undefined | string; variables: undefined | string }
      • favorite: undefined | false | true
      • headers: undefined | string
      • operationName: undefined | string
      • query: undefined | string
      • variables: undefined | string
    • Default value clearFavorites: boolean = false

    Returns void

editLabel

  • editLabel(__namedParameters: { favorite: undefined | false | true; headers: undefined | string; label: undefined | string; operationName: undefined | string; query: undefined | string; variables: undefined | string }, index?: undefined | number): void
  • Parameters

    • __namedParameters: { favorite: undefined | false | true; headers: undefined | string; label: undefined | string; operationName: undefined | string; query: undefined | string; variables: undefined | string }
      • favorite: undefined | false | true
      • headers: undefined | string
      • label: undefined | string
      • operationName: undefined | string
      • query: undefined | string
      • variables: undefined | string
    • Optional index: undefined | number

    Returns void

toggleFavorite

  • toggleFavorite(__namedParameters: { favorite: undefined | false | true; headers: undefined | string; label: undefined | string; operationName: undefined | string; query: undefined | string; variables: undefined | string }): void
  • Parameters

    • __namedParameters: { favorite: undefined | false | true; headers: undefined | string; label: undefined | string; operationName: undefined | string; query: undefined | string; variables: undefined | string }
      • favorite: undefined | false | true
      • headers: undefined | string
      • label: undefined | string
      • operationName: undefined | string
      • query: undefined | string
      • variables: undefined | string

    Returns void

updateHistory

  • updateHistory(__namedParameters: { headers: undefined | string; operationName: undefined | string; query: undefined | string; variables: undefined | string }): void
  • Parameters

    • __namedParameters: { headers: undefined | string; operationName: undefined | string; query: undefined | string; variables: undefined | string }
      • headers: undefined | string
      • operationName: undefined | string
      • query: undefined | string
      • variables: undefined | string

    Returns void

Generated using TypeDoc