feature: vor und nachteile

This commit is contained in:
Hikyu
2026-05-31 13:54:31 +02:00
parent 552a947a1c
commit e3dad17446
23270 changed files with 3024794 additions and 200 deletions
+25
View File
@@ -0,0 +1,25 @@
declare module 'server-ref:*' {
import type { Ref } from 'vue'
type ServerRef<T> = Ref<T> & {
$syncDown: boolean
$syncUp: boolean
$onChange(fn: (data: T) => void): void
$onPatch(fn: (patch: Partial<T>) => void): void
$patch(patch: Partial<T>): Promise<boolean>
}
const ref: ServerRef<any>
export default ref
}
declare module 'server-reactive:*' {
type ServerReactive<T> = T & {
$syncDown: boolean
$syncUp: boolean
$onChange(fn: (data: T) => void): void
$onPatch(fn: (patch: Partial<T>) => void): void
$patch(patch: Partial<T>): Promise<boolean>
}
const ref: ServerReactive<any>
export default ref
}