Sha256: 7b36b0ba836867ffa76dab001bbffc8e62b9b31ac8336d745085a0c47617ac16

Contents?: true

Size: 297 Bytes

Versions: 52

Compression:

Stored size: 297 Bytes

Contents

declare enum StatusCodeColor {
    Success = "#69AB32",
    Warning = "#F0BB4B",
    Danger = "#E95F5D"
}
/**
 * Returns a HEX color for a given response status code number.
 */
declare function getStatusCodeColor(status: number): StatusCodeColor;

export { StatusCodeColor, getStatusCodeColor };

Version data entries

52 entries across 26 versions & 1 rubygems

Version Path
clapton-0.0.26 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getStatusCodeColor.d.mts
clapton-0.0.26 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getStatusCodeColor.d.ts
clapton-0.0.25 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getStatusCodeColor.d.ts
clapton-0.0.25 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getStatusCodeColor.d.mts
clapton-0.0.24 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getStatusCodeColor.d.mts
clapton-0.0.24 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getStatusCodeColor.d.ts
clapton-0.0.23 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getStatusCodeColor.d.mts
clapton-0.0.23 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getStatusCodeColor.d.ts
clapton-0.0.22 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getStatusCodeColor.d.mts
clapton-0.0.22 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getStatusCodeColor.d.ts
clapton-0.0.21 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getStatusCodeColor.d.ts
clapton-0.0.21 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getStatusCodeColor.d.mts
clapton-0.0.20 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getStatusCodeColor.d.ts
clapton-0.0.20 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getStatusCodeColor.d.mts
clapton-0.0.19 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getStatusCodeColor.d.ts
clapton-0.0.19 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getStatusCodeColor.d.mts
clapton-0.0.18 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getStatusCodeColor.d.mts
clapton-0.0.18 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getStatusCodeColor.d.ts
clapton-0.0.17 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getStatusCodeColor.d.mts
clapton-0.0.17 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getStatusCodeColor.d.ts