-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathindex.ts
99 lines (96 loc) · 4.04 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
import './polyfills/Polyfills'
import './types/vuex'
export * from './data/Data'
export * from './store/Store'
export * from './database/Database'
export * from './schema/Schema'
export * from './model/Model'
export * from './model/decorators/attributes/types/Attr'
export * from './model/decorators/attributes/types/Str'
export * from './model/decorators/attributes/types/Num'
export * from './model/decorators/attributes/types/Bool'
export * from './model/decorators/attributes/types/Uid'
export * from './model/decorators/attributes/relations/HasOne'
export * from './model/decorators/attributes/relations/BelongsTo'
export * from './model/decorators/attributes/relations/HasMany'
export * from './model/decorators/attributes/relations/HasManyBy'
export * from './model/decorators/attributes/relations/MorphOne'
export * from './model/decorators/attributes/relations/MorphTo'
export * from './model/decorators/Contracts'
export * from './model/decorators/NonEnumerable'
export * from './model/attributes/Attribute'
export * from './model/attributes/types/Type'
export { Attr as AttrAttr } from './model/attributes/types/Attr'
export { String as StringAttr } from './model/attributes/types/String'
export { Number as NumberAttr } from './model/attributes/types/Number'
export { Boolean as BooleanAttr } from './model/attributes/types/Boolean'
export { Uid as UidAttr } from './model/attributes/types/Uid'
export * from './model/attributes/relations/Relation'
export { HasOne as HasOneAttr } from './model/attributes/relations/HasOne'
export { BelongsTo as BelongsToAttr } from './model/attributes/relations/BelongsTo'
export { HasMany as HasManyAttr } from './model/attributes/relations/HasMany'
export { HasManyBy as HasManyByAttr } from './model/attributes/relations/HasManyBy'
export { MorphOne as MorphOneAttr } from './model/attributes/relations/MorphOne'
export { MorphTo as MorphToAttr } from './model/attributes/relations/MorphTo'
export * from './modules/RootModule'
export * from './modules/RootState'
export * from './modules/Module'
export * from './modules/State'
export * from './modules/Mutations'
export * from './repository/Repository'
export * from './interpreter/Interpreter'
export * from './query/Query'
export * from './query/Options'
export * from './connection/Connection'
export * from './helpers/Helpers'
export * from './plugin/Plugin'
import { install } from './store/Store'
import { use } from './plugin/Plugin'
import { mapRepos } from './helpers/Helpers'
import { Database } from './database/Database'
import { Schema } from './schema/Schema'
import { Model } from './model/Model'
import { Attribute } from './model/attributes/Attribute'
import { Type } from './model/attributes/types/Type'
import { Attr as AttrAttr } from './model/attributes/types/Attr'
import { String as StringAttr } from './model/attributes/types/String'
import { Number as NumberAttr } from './model/attributes/types/Number'
import { Boolean as BooleanAttr } from './model/attributes/types/Boolean'
import { Uid as UidAttr } from './model/attributes/types/Uid'
import { Relation } from './model/attributes/relations/Relation'
import { HasOne as HasOneAttr } from './model/attributes/relations/HasOne'
import { BelongsTo as BelongsToAttr } from './model/attributes/relations/BelongsTo'
import { HasMany as HasManyAttr } from './model/attributes/relations/HasMany'
import { HasManyBy as HasManyByAttr } from './model/attributes/relations/HasManyBy'
import { MorphOne as MorphOneAttr } from './model/attributes/relations/MorphOne'
import { MorphTo as MorphToAttr } from './model/attributes/relations/MorphTo'
import { Repository } from './repository/Repository'
import { Interpreter } from './interpreter/Interpreter'
import { Query } from './query/Query'
import { Connection } from './connection/Connection'
export default {
install,
use,
mapRepos,
Database,
Schema,
Model,
Attribute,
Type,
AttrAttr,
StringAttr,
NumberAttr,
BooleanAttr,
UidAttr,
Relation,
HasOneAttr,
BelongsToAttr,
HasManyAttr,
HasManyByAttr,
MorphOneAttr,
MorphToAttr,
Repository,
Interpreter,
Query,
Connection
}