All files / src/constants constructs.ts

100% Statements 2/2
100% Branches 0/0
100% Functions 0/0
100% Lines 2/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27            4x           4x                            
export enum CDKType {
  awscdk = "aws-cdk",
  cdktf = "cdktf",
  cdk8s = "cdk8s",
}
 
export const CDKTYPE_NAME_MAP = {
  [CDKType.awscdk]: "AWS CDK",
  [CDKType.cdktf]: "CDKTF",
  [CDKType.cdk8s]: "CDK8s",
};
 
export const CDKTYPE_RENDER_MAP = {
  [CDKType.awscdk]: {
    name: CDKTYPE_NAME_MAP[CDKType.awscdk],
    imgsrc: "/assets/awscdk-icon-v2.png",
  },
  [CDKType.cdk8s]: {
    name: CDKTYPE_NAME_MAP[CDKType.cdk8s],
    imgsrc: "/assets/cdk8s-icon-v2.png",
  },
  [CDKType.cdktf]: {
    name: CDKTYPE_NAME_MAP[CDKType.cdktf],
    imgsrc: "/assets/cdktf-icon.png",
  },
};