forked from ReactiveDB/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.ts
34 lines (30 loc) · 1.03 KB
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import { Database } from '../index'
import ProjectSelectMetadata from './Project'
import SubtaskSelectMetadata from './Subtask'
import TaskSelectMetadata from './Task'
import PostSelectMetadata from './Post'
import EngineerSelectMetadata from './Engineer'
import ModuleSelectMetadata from './Module'
import ProgramSelectMetadata from './Program'
export default (db: Database) => {
ProjectSelectMetadata(db)
SubtaskSelectMetadata(db)
TaskSelectMetadata(db)
PostSelectMetadata(db)
EngineerSelectMetadata(db)
ModuleSelectMetadata(db)
ProgramSelectMetadata(db)
}
export { ProjectSchema } from './Project'
export { PostSchema } from './Post'
export { SubtaskSchema } from './Subtask'
export { TaskSchema } from './Task'
export { ProgramSchema } from './Program'
export { ModuleSchema } from './Module'
export { EngineerSchema } from './Engineer'
export { TestSchema, TestFixture, TestFixture2 } from './Test'
/**
* import ActivitySelectMeta from './Activity'
* ActivitySelectMeta(db)
* export { ActivitySchema } from './Activity'
*/