本页还没有译文
本页 13 段还没译成한국어,下面显示的是英文原文。validateSyncPersistenceCapability
还没翻译译自英文(tanstack.com)本页 13 段都还没译
function validateSyncPersistenceCapability<TKey>(value):
| SyncPersistenceCapabilityV1<TKey>
| null;Defined in: packages/db/src/sync-persistence.ts:38
Internal
Validates the cross-package structural persistence protocol before a sync adapter uses it. Null explicitly means that the collection has no persistence capability; undefined means a wrapper dropped the required field. Any advertised capability must be complete.
This is adapter infrastructure, not an application API.
Type Parameters
TKey
TKey extends string | number = string | number
Parameters
value
unknown
Returns
| SyncPersistenceCapabilityV1<TKey>
| null
AI 翻译查看英文原文