start commit for admin system
This commit is contained in:
commit
badb676529
300 changed files with 58634 additions and 0 deletions
16
src/api/00_dashboard/api.message.ts
Normal file
16
src/api/00_dashboard/api.message.ts
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
/**
|
||||
* API Structure + Org Chart
|
||||
*/
|
||||
import env from "../index";
|
||||
|
||||
const message = `${env.API_URI}/message`;
|
||||
const reply = `${env.API_URI}/placement/noti`;
|
||||
|
||||
export default {
|
||||
msgNotificate: `${message}/my-notifications`,
|
||||
msgInbox: `${message}/my-inboxes`,
|
||||
msgId: (id: string) => `${message}/my-notifications/${id}`,
|
||||
msgNoread: () => `${message}/my-notifications/noread`,
|
||||
msgInboxDelete: (id: string) => `${message}/my-inboxes/${id}`,
|
||||
replyMessage: (id: string) => `${reply}/${id}`,
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue