• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

scriptype / writ-cms / 21085863614

17 Jan 2026 01:12AM UTC coverage: 38.126% (-0.09%) from 38.215%
21085863614

push

github

scriptype
Add getContentTypes button to explorePanel

Export contentTypes from compiler as part of return

621 of 3681 branches covered (16.87%)

Branch coverage included in aggregate %.

1 of 19 new or added lines in 8 files covered. (5.26%)

1 existing line in 1 file now uncovered.

2171 of 3642 relevant lines covered (59.61%)

1719.79 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/cms/server/router/api/contentTypes.js
NEW
1
const express = require('express')
×
2

NEW
3
module.exports = express.Router()
×
4
  .get('/', async (req, res, next) => {
NEW
5
    try {
×
NEW
6
      res.status(200).json(
×
7
        await req.api.contentTypes.get()
8
      )
9
    } catch (e) {
NEW
10
      console.log('Error getting contentTypes', e)
×
NEW
11
      return res.status(500).send(e)
×
12
    }
13
  })
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc