CreatedStatChannels: {
    channels: UpdatedStatChannel[];
    platform: StatChannelPlatform;
    username: string;
}

Type declaration

  • channels: UpdatedStatChannel[]

    One entry per counter created, in updateStatChannel's shape.

    Read back from the database after creation rather than echoing the request, so the ids are the ones that actually landed. A caller does not need to re-getStatChannels to learn them.

  • platform: StatChannelPlatform
  • username: string