deno.land / x / devrant@0.1.1 / Endpoints / Rant.js

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

import { rants } from './Base.js'

export const rant = ( id ) => `${ rants }/${ id }`;
export const unfavorite = ( id ) => `${ rant(id) }/unfavorite`;
export const favorite = ( id ) => `${ rant(id) }/favorite`;
export const comment = ( id ) => `${ rant(id) }/comments`;
export const vote = ( id ) => `${ rant(id) }/vote`;
devrant

Version Info

Tagged at
a year ago

External Dependencies

No external dependencies 🎉