feat: full sorting

This commit is contained in:
2025-03-12 20:57:36 +07:00
parent 7e140bd2ce
commit fc575fb2ab
12 changed files with 60 additions and 516 deletions

View File

@@ -15,6 +15,8 @@ import PosttypeService from "../posttype/posttype.service.ts";
const posttypeService = new PosttypeService();
import CommentService from "../comment/comment.service.ts";
import {SortedByOrder} from "../../bindings/app/internal/services/postservice.ts";
const commentService = new CommentService();
const service = new Service();
@@ -36,6 +38,7 @@ const load = async () => {
onMounted(async () => {
await load();
console.log(await SortedByOrder({"Author": "DESC", "Text": "ASC"}));
});
const scheme: Scheme<Post> = reactive({