mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-11 22:18:54 +08:00
feat: doc search infra (#7166)
detail in `packages/common/infra/src/sync/indexer/README.md`
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import type { FieldType } from './field-type';
|
||||
|
||||
export type Schema = Record<string, FieldType>;
|
||||
|
||||
export function defineSchema<T extends Schema>(schema: T): T {
|
||||
return schema;
|
||||
}
|
||||
Reference in New Issue
Block a user