mirror of https://github.com/buster-so/buster.git
export through schema-types
This commit is contained in:
parent
18e7bd2902
commit
c285854b42
|
@ -18,6 +18,10 @@
|
|||
"./connection": {
|
||||
"types": "./dist/connection.d.ts",
|
||||
"default": "./dist/connection.js"
|
||||
},
|
||||
"./schema-types": {
|
||||
"types": "./dist/schema-types/index.d.ts",
|
||||
"default": "./dist/schema-types/index.js"
|
||||
}
|
||||
},
|
||||
"main": "dist/index.js",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { AssetTypeSchema } from '@buster/database';
|
||||
import type { AssetType } from '@buster/database';
|
||||
import { AssetTypeSchema } from '@buster/database/schema-types';
|
||||
import type { AssetType } from '@buster/database/schema-types';
|
||||
import type { z } from 'zod';
|
||||
|
||||
export const BaseAssetTypeSchema = AssetTypeSchema.exclude(['chat', 'collection']);
|
||||
|
|
Loading…
Reference in New Issue