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.
23 lines
566 B
23 lines
566 B
import { createCURD } from '@/service/base.ts'
|
|
import { ISSL } from '@/types/website/ssl'
|
|
import { IAcmeAccount } from '@/types/website/acme'
|
|
import { IDnsAccount } from '@/types/website/dns'
|
|
import { ICA } from '@/types/website/ca'
|
|
|
|
const websitesServ = {
|
|
ssl: {
|
|
...createCURD<any, ISSL>('/website/ssl')
|
|
},
|
|
acme:{
|
|
...createCURD<any, IAcmeAccount>('/website/acme')
|
|
},
|
|
dns:{
|
|
...createCURD<any, IDnsAccount>('/website/dns')
|
|
},
|
|
ca:{
|
|
...createCURD<any, ICA>('/website/ca')
|
|
}
|
|
|
|
}
|
|
|
|
export default websitesServ
|