Skip to content

codechem/ccd-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Various typescript snippets for the CCD Framework

You can get CCD at https://github.com/codechem/ccd

or just:

  shell>npm install ccd

Available snippets

  1. cfull : Creates Controller and Service
  2. cimport : default CCD imports
  3. cctrl : Empty CCController
  4. csvc : Empty CCService

Controller Methods snippets

  1. @cv : Creates new empty route handler
  2. @get : Creates new get route handler method
  3. @post : Creates new put route handler method
  4. @put : Creates new put route handler method
  5. @delete : Creates new delete route handler method

Service Method overload snippets

  1. csvctrl : Creates new empty CCServiceController
  2. byId : CCService override of the byId method
  3. updateById : CCService override of the updateById method
  4. deleteById : CCService override of the deleteById method
  5. insert : CCService override of the insert method
  6. create : CCService override of the create method
  7. createAndSave : CCService override of the createAndSave method
  8. createAndSaveMany : CCService override of the createAndSaveMany method

About

VsCode Snippets for CCDjs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published