File tree Expand file tree Collapse file tree 6 files changed +17
-5
lines changed Expand file tree Collapse file tree 6 files changed +17
-5
lines changed Original file line number Diff line number Diff line change 13
13
},
14
14
15
15
"dtsRollup" : {
16
- "enabled" : true ,
17
- "untrimmedFilePath" : " ./dist/index.d.ts"
16
+ "enabled" : false
18
17
},
19
18
20
19
"tsdocMetadata" : {
Original file line number Diff line number Diff line change 6
6
"browser" : " dist/vuex-orm.esm.js" ,
7
7
"module" : " dist/vuex-orm.esm-bundler.js" ,
8
8
"unpkg" : " dist/vuex-orm.global.js" ,
9
- "typings" : " dist/index.d.ts" ,
9
+ "typings" : " dist/src/ index.d.ts" ,
10
10
"files" : [
11
11
" dist"
12
12
],
Original file line number Diff line number Diff line change @@ -47,8 +47,6 @@ function checkSize(file) {
47
47
48
48
async function generateApiDocs ( ) {
49
49
await execa ( 'yarn' , [ 'build:dts' ] , { stdio : 'inherit' } )
50
-
51
- await fs . remove ( 'dist/src' )
52
50
}
53
51
54
52
run ( )
Original file line number Diff line number Diff line change @@ -4,6 +4,13 @@ import { install } from './store/Store'
4
4
import { Database } from './database/Database'
5
5
import { Schema } from './schema/Schema'
6
6
import { Model } from './model/Model'
7
+ import { Attr } from './model/decorators/attributes/types/Attr'
8
+ import { Str } from './model/decorators/attributes/types/Str'
9
+ import { Num } from './model/decorators/attributes/types/Num'
10
+ import { Bool } from './model/decorators/attributes/types/Bool'
11
+ import { HasOne } from './model/decorators/attributes/relations/HasOne'
12
+ import { BelongsTo } from './model/decorators/attributes/relations/BelongsTo'
13
+ import { HasMany } from './model/decorators/attributes/relations/HasMany'
7
14
import { Attribute } from './model/attributes/Attribute'
8
15
import { Type } from './model/attributes/types/Type'
9
16
import { Attr as AttrAttr } from './model/attributes/types/Attr'
@@ -23,6 +30,13 @@ export default {
23
30
Database,
24
31
Schema,
25
32
Model,
33
+ Attr,
34
+ Str,
35
+ Num,
36
+ Bool,
37
+ HasOne,
38
+ BelongsTo,
39
+ HasMany,
26
40
Attribute,
27
41
Type,
28
42
AttrAttr,
Original file line number Diff line number Diff line change 1
1
import './polyfills/Polyfills'
2
+ import './types/vuex'
2
3
3
4
export * from './data/Data'
4
5
export * from './store/Store'
File renamed without changes.
You can’t perform that action at this time.
0 commit comments