From f27b647eb06d5fcec517bde08a05aed66c007bfe Mon Sep 17 00:00:00 2001 From: opbnq-q Date: Thu, 13 Mar 2025 20:45:12 +0700 Subject: [PATCH] sync --- frontend/src/post/PostScheme.vue | 7 +- frontend/src/table/Table.vue | 138 +++++++++++++----- frontend/src/types/search.type.ts | 3 + frontend/src/types/sort.type.ts | 7 + frontend/src/types/table-emits.type.ts | 1 + frontend/src/types/table-props.type.ts | 2 + .../src/utils/structs/default-sort.util.ts | 6 + 7 files changed, 123 insertions(+), 41 deletions(-) create mode 100644 frontend/src/types/search.type.ts create mode 100644 frontend/src/types/sort.type.ts create mode 100644 frontend/src/utils/structs/default-sort.util.ts diff --git a/frontend/src/post/PostScheme.vue b/frontend/src/post/PostScheme.vue index 0fb0286..a470638 100644 --- a/frontend/src/post/PostScheme.vue +++ b/frontend/src/post/PostScheme.vue @@ -16,6 +16,7 @@ const posttypeService = new PosttypeService(); import CommentService from "../comment/comment.service.ts"; import { SortedByOrder } from "../../bindings/app/internal/services/postservice.ts"; +import type { Search } from "../types/search.type.ts"; const commentService = new CommentService(); @@ -132,10 +133,14 @@ const validate: Validate = (entity) => { status: "success", }; }; + +const search: Search = (input) => { + +}