/** * @type SpeedSetting: * * @property brotliCompression: Brotli compression setting of a zone. * * @property http2Prioritization: Http2 prioritization setting for a zone. * * @property webp: Support for the WebP image format when using image modification for a zone. The WebP image format can be used with supported clients for added performance benefits. Setting this property to `on` will return an error when the `polish` property is set to `off`. * * @property polish: The level of polish (image quality) used for image modification. The value `lossless` corresponds to **Polish Level Basic** in the UI, and the value `lossy` corresponds to **Polish Level Basic+JPEG.** To disable image modification, set this property to `off`. Setting this property to `off` will prevent you from setting the `webp` property to `on`. * * @property earlyHints: Early Hints for a zone. * * @property http3: Http3 for a zone. * * @property http2ToOrigin: Http2 to Origin for a zone. * */ export type SpeedSetting = { brotliCompression?: SpeedSettingBrotliCompressionEnum; http2Prioritization?: SpeedSettingHttp2PrioritizationEnum; webp?: SpeedSettingWebpEnum; polish?: SpeedSettingPolishEnum; earlyHints?: SpeedSettingEarlyHintsEnum; http3?: SpeedSettingHttp3Enum; http2ToOrigin?: SpeedSettingHttp2ToOriginEnum; } & { [key: string]: any; }; export type SpeedSettingBrotliCompressionEnum = 'on' | 'off'; export type SpeedSettingHttp2PrioritizationEnum = 'on' | 'off'; export type SpeedSettingWebpEnum = 'on' | 'off'; export type SpeedSettingPolishEnum = 'off' | 'lossless' | 'lossy'; export type SpeedSettingEarlyHintsEnum = 'on' | 'off'; export type SpeedSettingHttp3Enum = 'on' | 'off'; export type SpeedSettingHttp2ToOriginEnum = 'on' | 'off';