Creating a singleType in a plugin doesn't work

I am attempting to create a singleType collection for plugin settings as I can’t get the settings page to work. I’ve used yarn strapi generate

I’m getting this error
" Error: Could not load js config file ││ C:\htdocs\project-strapi\src\plugins\notifications-plugin\strapi-server.js: ││ Cannot read properties of undefined (reading ‘kind’) "

this is the schema for the settings, its imported and exported by a index.js. I’ve also imported all the routes and controllers correctly in the same way I have for other collectionType collections.

{
  "kind": "singleType",
  "collectionName": "settings",
  "info": {
    "singularName": "setting",
    "pluralName": "settings",
    "displayName": "Settings"
  },
  "options": {
    "draftAndPublish": false,
    "comment": ""
  },
  "attributes": {}
}

content-types/index.js


module.exports = {
  "notification": require('./notification'),
  "pushkey": require('./pushkey'),
  "setting": require('./setting'),

};```
strapi-server.js contains the following
```'use strict';

const server = require('./server');
const cronJobs = require('./cron-jobs');

server.bootstrap = ({ strapi }) => {
  
  // Register cron jobs
  const jobs = cronJobs({ strapi });
  Object.keys(jobs).forEach((jobKey) => {
    strapi.cron.add({ [jobKey]: jobs[jobKey] });
  });
  
};

module.exports = server;```

<i>This topic has been created from a Discord post (1288876468591525919) to give it more visibility.
It will be on Read-Only mode here.
<a href="https://discord.com/channels/811989166782021633/1288876468591525919/1288876468591525919">Join the conversation on Discord</a></i>