export through schema-types

This commit is contained in:
Wells Bunker 2025-09-17 16:00:20 -06:00
parent 18e7bd2902
commit c285854b42
No known key found for this signature in database
GPG Key ID: DB16D6F2679B78FC
3 changed files with 6 additions and 2 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@ -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",

View File

@ -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']);