feat: enhance configuration handling and add type definitions for query and URL serializers

This commit is contained in:
2026-03-02 00:13:29 -05:00
parent 8cf5bfd9ec
commit 66d6a98ac4
7 changed files with 109 additions and 43 deletions

View File

@@ -1,9 +1,17 @@
import type { QuerySerializer } from '@/shared/types'
import type {
ParseQuery,
PlainObjectConstraint,
StringifyQuery,
} from '@/shared/types'
export const parseQuery: QuerySerializer['parseQuery'] = () => {
export function parseQuery<T extends PlainObjectConstraint>(): ReturnType<
ParseQuery<T>
> {
throw new Error('Not implemented')
}
export const stringifyQuery: QuerySerializer['stringifyQuery'] = () => {
export function stringifyQuery<T extends PlainObjectConstraint>(): ReturnType<
StringifyQuery<T>
> {
throw new Error('Not implemented')
}