You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
566 B

1 year ago
1 year ago
1 year ago
  1. import { createCURD } from '@/service/base.ts'
  2. import { ISSL } from '@/types/website/ssl'
  3. import { IAcmeAccount } from '@/types/website/acme'
  4. import { IDnsAccount } from '@/types/website/dns'
  5. import { ICA } from '@/types/website/ca'
  6. const websitesServ = {
  7. ssl: {
  8. ...createCURD<any, ISSL>('/website/ssl')
  9. },
  10. acme:{
  11. ...createCURD<any, IAcmeAccount>('/website/acme')
  12. },
  13. dns:{
  14. ...createCURD<any, IDnsAccount>('/website/dns')
  15. },
  16. ca:{
  17. ...createCURD<any, ICA>('/website/ca')
  18. }
  19. }
  20. export default websitesServ