feat: Add more pages

This commit is contained in:
2025-06-06 16:08:15 +03:00
parent f2aab1ab33
commit d74789a0d8
67 changed files with 3491 additions and 787 deletions

View File

@@ -76,6 +76,16 @@ class MediaStore {
});
return response.data;
};
createMedia = async (name: string, type: string) => {
const response = await authInstance.post("/media", {
media_name: name,
media_type: type,
});
runInAction(() => {
this.media.push(response.data);
});
};
}
export const mediaStore = new MediaStore();