feat: doc search infra (#7166)

detail in `packages/common/infra/src/sync/indexer/README.md`
This commit is contained in:
EYHN
2024-07-02 08:52:33 +00:00
parent 1997f24414
commit 90e4a9b181
26 changed files with 3388 additions and 0 deletions
@@ -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;
}