Initial commit
This commit is contained in:
10
shared/modules/recycle-bin/api.ts
Normal file
10
shared/modules/recycle-bin/api.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { defineEndpoints } from '../types.js'
|
||||
|
||||
export const RECYCLE_BIN_ENDPOINTS = defineEndpoints({
|
||||
list: { path: '/', method: 'GET' },
|
||||
restore: { path: '/restore', method: 'POST' },
|
||||
permanent: { path: '/permanent', method: 'DELETE' },
|
||||
empty: { path: '/empty', method: 'DELETE' },
|
||||
})
|
||||
|
||||
export type RecycleBinEndpoints = typeof RECYCLE_BIN_ENDPOINTS
|
||||
Reference in New Issue
Block a user