Type Alias ProviderFormatTypes<TextFormat, ImageFormat, AudioFormat, FileFormat>

ProviderFormatTypes<TextFormat, ImageFormat, AudioFormat, FileFormat>: {
    audio: AudioFormat;
    file: FileFormat;
    image: ImageFormat;
    text: TextFormat;
}

A bag of provider-specific content block types.

Allows implementations of StandardContentBlockConverter and related to be defined only in terms of the types they support. Also allows for forward compatibility as the set of known standard types grows, as the set of types can be extended without breaking existing implementations of the aforementioned interfaces.

Type Parameters

  • TextFormat = unknown
  • ImageFormat = unknown
  • AudioFormat = unknown
  • FileFormat = unknown