import { ICollectionConfig } from '../async/ICollectionConfig' import { Person } from './Person' import AdapterFile from '../async/AdapterFile' import { List } from '../async/storage/List' export const collection_config: ICollectionConfig = { root: './data', name: 'Person', // ttl: '2m', list: new List(), adapter: new AdapterFile(), indexList: [ { key: 'name', }, { key: 'ssn', unique: true, }, { key: 'age', }, { key: 'address.home', }, { key: 'address.city', }, { key: 'address.appart', }, ], }