11 lines
358 B
TypeScript
11 lines
358 B
TypeScript
|
|
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
|