feat(infra): doc properties by orm (#8382)

create new orm table docConfiguration

move primary store to docConfiguration
This commit is contained in:
EYHN
2024-10-07 12:25:47 +00:00
parent f5c49a6ac9
commit c26df2e069
16 changed files with 551 additions and 80 deletions
@@ -5,6 +5,7 @@ import { Service } from '../../../framework';
import { type DocProps, initDocFromProps } from '../../../initialization';
import { ObjectPool } from '../../../utils';
import type { Doc } from '../entities/doc';
import { DocPropertyList } from '../entities/property-list';
import { DocRecordList } from '../entities/record-list';
import { DocScope } from '../scopes/doc';
import type { DocsStore } from '../stores/docs';
@@ -19,6 +20,8 @@ export class DocsService extends Service {
},
});
propertyList = this.framework.createEntity(DocPropertyList);
constructor(private readonly store: DocsStore) {
super();
}