feat: 查询全部标签类别

This commit is contained in:
mozzie 2023-09-15 16:59:39 +08:00
parent f902254909
commit b236115c55
5 changed files with 67 additions and 0 deletions

View File

@ -0,0 +1,19 @@
{
"name": "@tavi/service-constants",
"version": "1.0.0",
"main": "dist/index.cjs",
"types": "dist/index.d.ts",
"type": "module",
"scripts": {
"build": "rollup -c"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^24.1.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"rollup": "^3.21.5",
"rollup-plugin-typescript2": "^0.34.1",
"typescript": "^5.0.2",
"tslib": "2.6.0",
"@types/node": "20.3.3"
}
}

View File

@ -0,0 +1,17 @@
import typescript from 'rollup-plugin-typescript2';
import resolve from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs';
export default {
input: 'src/index.ts', // 你的入口文件
output: {
file: 'dist/index.cjs',
format: 'cjs',
},
plugins: [
typescript(),
resolve(),
commonjs(),
],
external: [/* 任何你不想包含在最终包中的外部依赖 */]
};

View File

@ -0,0 +1 @@
export { CREATE_LABEL_CATEGORY } from "./pattern";

View File

@ -0,0 +1,4 @@
/**
*
*/
export const CREATE_LABEL_CATEGORY = "dicom.label.category.create";

View File

@ -0,0 +1,26 @@
{
"compilerOptions": {
"module": "ESNext",
"declaration": true,
"removeComments": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"target": "es2020",
"incremental": true,
"skipLibCheck": true,
"strictNullChecks": false,
"noImplicitAny": false,
// TypeScript
"moduleResolution": "node",
// TypeScript
"declarationDir": "./dist/types"
},
"include": [
"src/**/*"
],
"exclude": [
"node_modules",
"**/*.spec.ts"
]
}