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 1313 },
1414
1515 "dtsRollup" : {
16- "enabled" : true ,
17- "untrimmedFilePath" : " ./dist/index.d.ts"
16+ "enabled" : false
1817 },
1918
2019 "tsdocMetadata" : {
Original file line number Diff line number Diff line change 66 "browser" : " dist/vuex-orm.esm.js" ,
77 "module" : " dist/vuex-orm.esm-bundler.js" ,
88 "unpkg" : " dist/vuex-orm.global.js" ,
9- "typings" : " dist/index.d.ts" ,
9+ "typings" : " dist/src/ index.d.ts" ,
1010 "files" : [
1111 " dist"
1212 ],
Original file line number Diff line number Diff line change @@ -47,8 +47,6 @@ function checkSize(file) {
4747
4848async function generateApiDocs ( ) {
4949 await execa ( 'yarn' , [ 'build:dts' ] , { stdio : 'inherit' } )
50-
51- await fs . remove ( 'dist/src' )
5250}
5351
5452run ( )
Original file line number Diff line number Diff line change @@ -4,6 +4,13 @@ import { install } from './store/Store'
44import { Database } from './database/Database'
55import { Schema } from './schema/Schema'
66import { 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'
714import { Attribute } from './model/attributes/Attribute'
815import { Type } from './model/attributes/types/Type'
916import { Attr as AttrAttr } from './model/attributes/types/Attr'
@@ -23,6 +30,13 @@ export default {
2330 Database,
2431 Schema,
2532 Model,
33+ Attr,
34+ Str,
35+ Num,
36+ Bool,
37+ HasOne,
38+ BelongsTo,
39+ HasMany,
2640 Attribute,
2741 Type,
2842 AttrAttr,
Original file line number Diff line number Diff line change 11import './polyfills/Polyfills'
2+ import './types/vuex'
23
34export * from './data/Data'
45export * from './store/Store'
File renamed without changes.
You can’t perform that action at this time.
0 commit comments