feat: sorting for primitive fields

# Conflicts:
#	frontend/src/App.vue
This commit is contained in:
2025-03-12 15:47:49 +07:00
parent e655bb5d5f
commit 10c7a9bac8
14 changed files with 123 additions and 71 deletions

View File

@@ -5,6 +5,7 @@ import { getDefaultValues } from "../utils/structs/defaults.util";
import Service from "./author.service.ts";
import type { Scheme } from "../types/scheme.type";
import { Author } from "../../bindings/app/internal/services";
import { SortedByOrder } from "../../bindings/app/internal/services/authorservice.ts";
import { ref } from "vue";
import type { Validate } from "../types/validate.type";
@@ -29,7 +30,8 @@ const load = async () => {
};
onMounted(async () => {
load();
await load();
console.log(await SortedByOrder({"Name": "ASC"}))
});
const scheme: Scheme<Author> = reactive({