Type alias CommandEventTarget

CommandEventTarget: {
    collection?: never;
    keyspace?: never;
    table?: never;
    url: string;
} | {
    collection?: never;
    keyspace: string;
    table?: never;
    url: string;
} | {
    collection: string;
    keyspace: string;
    table?: never;
    url: string;
} | {
    collection?: never;
    keyspace: string;
    table: string;
    url: string;
}

The target of the command.

Type declaration

  • Optional collection?: never
  • Optional keyspace?: never
  • Optional table?: never
  • url: string

Type declaration

  • Optional collection?: never
  • keyspace: string
  • Optional table?: never
  • url: string

Type declaration

  • collection: string
  • keyspace: string
  • Optional table?: never
  • url: string

Type declaration

  • Optional collection?: never
  • keyspace: string
  • table: string
  • url: string