feat: all label category find api

This commit is contained in:
mozzie 2023-09-15 17:00:00 +08:00
parent b236115c55
commit 25ea7c14d9
17 changed files with 337 additions and 45 deletions

19
.vscode/settings.json vendored
View File

@ -1,19 +0,0 @@
{
"sqltools.connections": [
{
"mysqlOptions": {
"authProtocol": "default",
"enableSsl": "Disabled"
},
"previewLimit": 50,
"server": "localhost",
"port": 3306,
"driver": "MySQL",
"name": "tavi-universe",
"group": "local",
"username": "root",
"password": "root",
"database": "rbac"
}
]
}

2
.vscode/tasks.json vendored
View File

@ -24,7 +24,7 @@
"command": "bash", "command": "bash",
"args": [ "args": [
"-c", "-c",
"for package in @tavi/util @tavi/oss @tavi/i18n; do (pnpm run --filter $package build); done && echo 'build:pkg completed'" "for package in @tavi/util @tavi/oss @tavi/i18n @tavi/message-pattern; do (pnpm run --filter $package build); done && echo 'build:pkg completed'"
] ]
}, },
{ {

View File

@ -5,4 +5,8 @@ export class LabelRepository {
async createNewLabelCategory(labelCategory: LabelCategory) { async createNewLabelCategory(labelCategory: LabelCategory) {
return await Apis.createNewLabelCategory(labelCategory); return await Apis.createNewLabelCategory(labelCategory);
} }
async findLabelCategory() {
return await Apis.findLabelCategory();
}
} }

View File

@ -10,4 +10,8 @@ export class LabelService {
); );
return { code }; return { code };
} }
async findLabelCategory() {
return await this.labelRepository.findLabelCategory();
}
} }

View File

@ -87,4 +87,10 @@ export const Apis = {
*/ */
createNewLabelCategory: (p: labelCategoryDTO): ResponseType => createNewLabelCategory: (p: labelCategoryDTO): ResponseType =>
Request.post(PREFIX + "/dicom/label/category/create", p), Request.post(PREFIX + "/dicom/label/category/create", p),
/**
*
*/
findLabelCategory: (): ResponseType =>
Request.get(PREFIX + "/dicom/label/category/find/all"),
}; };

View File

@ -1,4 +1,4 @@
import { useState } from "react"; import { useEffect, useState } from "react";
import "./index.less"; import "./index.less";
import { import {
Button, Button,
@ -59,6 +59,10 @@ export const Label = (props: LabelProps) => {
} }
}; };
useEffect(() => {
labelDomainService.findLabelCategory();
}, [labelDomainService]);
return ( return (
<div className="label-container"> <div className="label-container">
<aside> <aside>

View File

@ -5,6 +5,8 @@ import { NacosModule } from './nacos/nacos.module';
import { ConfigModule } from '@nestjs/config'; import { ConfigModule } from '@nestjs/config';
import { RetrievalModule } from './retrieval/retrieval.module'; import { RetrievalModule } from './retrieval/retrieval.module';
import { LabelModule } from './label/label.module'; import { LabelModule } from './label/label.module';
import { APP_FILTER } from '@nestjs/core';
import { TypeOrmExceptionFilter } from './filter/orm.exception.filter';
@Module({ @Module({
imports: [ imports: [
@ -13,11 +15,17 @@ import { LabelModule } from './label/label.module';
envFilePath: `.env.${process.env.NODE_ENV}`, envFilePath: `.env.${process.env.NODE_ENV}`,
}), }),
NacosModule, NacosModule,
RetrievalModule, // RetrievalModule,
LabelModule, LabelModule,
], ],
controllers: [AppController], controllers: [AppController],
providers: [AppService], providers: [
AppService,
{
provide: APP_FILTER,
useClass: TypeOrmExceptionFilter,
},
],
exports: [], exports: [],
}) })
export class AppModule {} export class AppModule {}

View File

@ -0,0 +1,22 @@
import { ExceptionFilter, Catch, ArgumentsHost } from '@nestjs/common';
import { QueryFailedError } from 'typeorm';
const statusCode = 500; // 默认错误代码,您可以根据需要调整
/**
* sql错误信息mysql文档可以查阅到
*/
const errorMapping = {
ER_DUP_ENTRY: '该条目已存在。',
};
/**
* ! nestjs rpc拦截返回的参数必须是 {statusCode,message}
*/
@Catch(QueryFailedError)
export class TypeOrmExceptionFilter implements ExceptionFilter {
catch(exception: QueryFailedError, host: ArgumentsHost) {
console.log('TypeOrmExceptionFilter 过滤器');
const message = errorMapping?.[exception.driverError] ?? 'sql操作失败。';
return { statusCode, message };
}
}

View File

@ -11,7 +11,7 @@ export class LabelCategory {
@PrimaryGeneratedColumn() @PrimaryGeneratedColumn()
id: number; id: number;
@Column() @Column({ unique: true })
name: string; name: string;
@CreateDateColumn({ type: 'timestamp' }) @CreateDateColumn({ type: 'timestamp' })

View File

@ -12,7 +12,7 @@ export class Label {
@PrimaryGeneratedColumn() @PrimaryGeneratedColumn()
id: number; id: number;
@Column() @Column({ unique: true })
name: string; name: string;
@Column({ @Column({

View File

@ -1,18 +1,24 @@
import { Controller } from '@nestjs/common'; import { Controller } from '@nestjs/common';
import { EventPattern } from '@nestjs/microservices'; import { EventPattern, MessagePattern } from '@nestjs/microservices';
import { LabelService } from './label.service'; import { LabelService } from './label.service';
@Controller() @Controller()
export class LabelController { export class LabelController {
constructor(private readonly labelService: LabelService) {} constructor(private readonly labelService: LabelService) {}
@EventPattern({ cmd: 'dicom.label.category.create' }) @MessagePattern('dicom.label.category.create')
async createLabelCategory(payload) { async createLabelCategory(payload) {
return await this.labelService.createLabelCategory(payload); const inserted = await this.labelService.createLabelCategory(payload);
return { statusCode: 200, data: inserted };
} }
@EventPattern({ cmd: 'dicom.label.create' }) @EventPattern({ cmd: 'dicom.label.create' })
async createLabel(payload) { async createLabel(payload) {
return await this.labelService.createLabel(payload); return this.labelService.createLabel(payload);
}
@MessagePattern('dicom.label.category.find.all')
async findAllLabelCategory() {
return await this.labelService.findAllLabelCategory();
} }
} }

View File

@ -13,9 +13,9 @@ import { Label } from './entity/label.entity';
username: 'root', username: 'root',
password: 'root', password: 'root',
database: 'dicom', database: 'dicom',
entities: [__dirname + '/**/*.entity{.ts,.js}'],
synchronize: true, synchronize: true,
timezone: 'Asia/Shanghai', // 这里设置了时区 timezone: 'Asia/Shanghai', // 这里设置了时区
entities: [__dirname + '/**/*.entity{.ts,.js}'],
}), }),
TypeOrmModule.forFeature([Label, LabelCategory]), TypeOrmModule.forFeature([Label, LabelCategory]),
], ],

View File

@ -13,7 +13,7 @@ export class LabelService {
private readonly labelCategoryRepository: Repository<LabelCategory>, private readonly labelCategoryRepository: Repository<LabelCategory>,
) {} ) {}
async createLabelCategory({ name }) { async createLabelCategory({ name }: LabelCategory) {
return await this.labelCategoryRepository.save({ name }); return await this.labelCategoryRepository.save({ name });
} }
@ -24,4 +24,8 @@ export class LabelService {
description: '钙化的关键词', description: '钙化的关键词',
}); });
} }
async findAllLabelCategory() {
return await this.labelCategoryRepository.find();
}
} }

View File

@ -28,7 +28,8 @@
"class-transformer": "0.5.1", "class-transformer": "0.5.1",
"uuid": "9.0.0", "uuid": "9.0.0",
"dayjs": "1.11.9", "dayjs": "1.11.9",
"axios": "1.5.0" "axios": "1.5.0",
"@tavi/message-pattern": "workspace:*"
}, },
"devDependencies": { "devDependencies": {
"@nestjs/cli": "^10.0.0", "@nestjs/cli": "^10.0.0",

View File

@ -1,4 +1,4 @@
import { Body, Controller, Post, Inject, Res } from '@nestjs/common'; import { Body, Controller, Post, Inject, Res, Get } from '@nestjs/common';
import { ClientProxy } from '@nestjs/microservices'; import { ClientProxy } from '@nestjs/microservices';
import { Response } from 'express'; import { Response } from 'express';
import { firstValueFrom } from 'rxjs'; import { firstValueFrom } from 'rxjs';
@ -29,8 +29,16 @@ export class DicomController {
@Post('label/category/create') @Post('label/category/create')
async createLabelCategory(@Body() body) { async createLabelCategory(@Body() body) {
const { name } = body; const { name } = body;
const { data } = await firstValueFrom( const { statusCode, message, data } = await firstValueFrom(
this.client.send({ cmd: 'dicom.label.category.create' }, { name }), this.client.send('dicom.label.category.create', { name }),
);
return { statusCode, message, data };
}
@Get('label/category/find/all')
async findAllLabelCategory() {
const data = await firstValueFrom(
this.client.send('dicom.label.category.find.all', {}),
); );
return { code: 0, data }; return { code: 0, data };
} }

View File

@ -24,6 +24,7 @@
"build:i18n": "pnpm run --filter @tavi/i18n build", "build:i18n": "pnpm run --filter @tavi/i18n build",
"build:oss": "pnpm run --filter @tavi/oss build", "build:oss": "pnpm run --filter @tavi/oss build",
"build:hook": "pnpm run --filter @tavi/hook build", "build:hook": "pnpm run --filter @tavi/hook build",
"build:message-pattern": "pnpm run --filter @tavi/message-pattern build",
"build:aorta": "pnpm run --filter @tavi/aorta build", "build:aorta": "pnpm run --filter @tavi/aorta build",
"analyze:aorta": "pnpm run --filter @tavi/aorta build:analyze", "analyze:aorta": "pnpm run --filter @tavi/aorta build:analyze",
"changeset": "changeset", "changeset": "changeset",

View File

@ -1,5 +1,9 @@
lockfileVersion: '6.0' lockfileVersion: '6.0'
settings:
autoInstallPeers: true
excludeLinksFromLockfile: false
importers: importers:
.: .:
@ -381,7 +385,7 @@ importers:
version: 7.8.1 version: 7.8.1
typeorm: typeorm:
specifier: 0.3.16 specifier: 0.3.16
version: 0.3.16(mysql2@3.3.3)(ts-node@10.9.1) version: 0.3.16(ts-node@10.9.1)
devDependencies: devDependencies:
'@nestjs/cli': '@nestjs/cli':
specifier: ^10.0.0 specifier: ^10.0.0
@ -460,7 +464,7 @@ importers:
version: 10.0.3(@nestjs/common@9.0.0) version: 10.0.3(@nestjs/common@9.0.0)
'@nestjs/microservices': '@nestjs/microservices':
specifier: 10.0.5 specifier: 10.0.5
version: 10.0.5(@nestjs/common@10.1.0)(@nestjs/core@10.1.0)(ioredis@5.3.2)(nats@2.15.1)(reflect-metadata@0.1.13)(rxjs@7.8.1) version: 10.0.5(@nestjs/common@9.0.0)(@nestjs/core@9.0.0)(reflect-metadata@0.1.13)(rxjs@7.8.1)
'@nestjs/platform-express': '@nestjs/platform-express':
specifier: ^9.0.0 specifier: ^9.0.0
version: 9.0.0(@nestjs/common@9.0.0)(@nestjs/core@9.0.0) version: 9.0.0(@nestjs/common@9.0.0)(@nestjs/core@9.0.0)
@ -503,7 +507,7 @@ importers:
version: 9.0.0 version: 9.0.0
'@nestjs/schematics': '@nestjs/schematics':
specifier: ^9.0.0 specifier: ^9.0.0
version: 9.0.0(chokidar@3.5.3)(typescript@4.7.4) version: 9.0.0(typescript@5.1.3)
'@types/cookie-parser': '@types/cookie-parser':
specifier: 1.4.3 specifier: 1.4.3
version: 1.4.3 version: 1.4.3
@ -600,7 +604,7 @@ importers:
version: 9.0.0 version: 9.0.0
'@nestjs/schematics': '@nestjs/schematics':
specifier: ^9.0.0 specifier: ^9.0.0
version: 9.0.0(chokidar@3.5.3)(typescript@4.7.4) version: 9.0.0(typescript@5.1.3)
'@types/express': '@types/express':
specifier: ^4.17.13 specifier: ^4.17.13
version: 4.17.17 version: 4.17.17
@ -700,7 +704,7 @@ importers:
version: 9.0.0 version: 9.0.0
'@nestjs/schematics': '@nestjs/schematics':
specifier: ^9.0.0 specifier: ^9.0.0
version: 9.0.0(chokidar@3.5.3)(typescript@4.7.4) version: 9.0.0(typescript@5.1.3)
'@types/express': '@types/express':
specifier: ^4.17.13 specifier: ^4.17.13
version: 4.17.17 version: 4.17.17
@ -924,7 +928,7 @@ importers:
version: 9.0.0 version: 9.0.0
'@nestjs/schematics': '@nestjs/schematics':
specifier: ^9.0.0 specifier: ^9.0.0
version: 9.0.0(chokidar@3.5.3)(typescript@4.7.4) version: 9.0.0(typescript@5.1.3)
'@types/express': '@types/express':
specifier: ^4.17.13 specifier: ^4.17.13
version: 4.17.17 version: 4.17.17
@ -1033,7 +1037,7 @@ importers:
version: 9.0.0 version: 9.0.0
'@nestjs/schematics': '@nestjs/schematics':
specifier: ^9.0.0 specifier: ^9.0.0
version: 9.0.0(chokidar@3.5.3)(typescript@4.7.4) version: 9.0.0(typescript@5.1.3)
'@types/express': '@types/express':
specifier: ^4.17.13 specifier: ^4.17.13
version: 4.17.17 version: 4.17.17
@ -1094,6 +1098,9 @@ importers:
'@nestjs/typeorm': '@nestjs/typeorm':
specifier: 10.0.0 specifier: 10.0.0
version: 10.0.0(@nestjs/common@10.1.0)(@nestjs/core@10.1.0)(reflect-metadata@0.1.13)(rxjs@7.8.1)(typeorm@0.3.17) version: 10.0.0(@nestjs/common@10.1.0)(@nestjs/core@10.1.0)(reflect-metadata@0.1.13)(rxjs@7.8.1)(typeorm@0.3.17)
'@tavi/message-pattern':
specifier: workspace:*
version: link:../../../../packages/message-pattern
axios: axios:
specifier: 1.5.0 specifier: 1.5.0
version: 1.5.0 version: 1.5.0
@ -1254,7 +1261,7 @@ importers:
version: 9.0.0 version: 9.0.0
'@nestjs/schematics': '@nestjs/schematics':
specifier: ^9.0.0 specifier: ^9.0.0
version: 9.0.0(chokidar@3.5.3)(typescript@4.7.4) version: 9.0.0(typescript@5.1.3)
'@types/express': '@types/express':
specifier: ^4.17.13 specifier: ^4.17.13
version: 4.17.17 version: 4.17.17
@ -1396,6 +1403,30 @@ importers:
specifier: ^0.34.1 specifier: ^0.34.1
version: 0.34.1(rollup@3.21.5)(typescript@5.1.3) version: 0.34.1(rollup@3.21.5)(typescript@5.1.3)
packages/message-pattern:
devDependencies:
'@rollup/plugin-commonjs':
specifier: ^24.1.0
version: 24.1.0(rollup@3.29.0)
'@rollup/plugin-node-resolve':
specifier: ^15.0.2
version: 15.0.2(rollup@3.29.0)
'@types/node':
specifier: 20.3.3
version: 20.3.3
rollup:
specifier: ^3.21.5
version: 3.29.0
rollup-plugin-typescript2:
specifier: ^0.34.1
version: 0.34.1(rollup@3.29.0)(typescript@5.1.3)
tslib:
specifier: 2.6.0
version: 2.6.0
typescript:
specifier: ^5.0.2
version: 5.1.3
packages/mock: packages/mock:
devDependencies: devDependencies:
serve: serve:
@ -3775,7 +3806,7 @@ packages:
optional: true optional: true
dependencies: dependencies:
'@nestjs/common': 9.0.0(reflect-metadata@0.1.13)(rxjs@7.8.1) '@nestjs/common': 9.0.0(reflect-metadata@0.1.13)(rxjs@7.8.1)
'@nestjs/microservices': 10.0.5(@nestjs/common@10.1.0)(@nestjs/core@10.1.0)(ioredis@5.3.2)(nats@2.15.1)(reflect-metadata@0.1.13)(rxjs@7.8.1) '@nestjs/microservices': 10.0.5(@nestjs/common@9.0.0)(@nestjs/core@9.0.0)(reflect-metadata@0.1.13)(rxjs@7.8.1)
'@nestjs/platform-express': 9.0.0(@nestjs/common@9.0.0)(@nestjs/core@9.0.0) '@nestjs/platform-express': 9.0.0(@nestjs/common@9.0.0)(@nestjs/core@9.0.0)
'@nuxtjs/opencollective': 0.3.2 '@nuxtjs/opencollective': 0.3.2
fast-safe-stringify: 2.1.1 fast-safe-stringify: 2.1.1
@ -3855,6 +3886,50 @@ packages:
rxjs: 7.8.1 rxjs: 7.8.1
tslib: 2.6.0 tslib: 2.6.0
/@nestjs/microservices@10.0.5(@nestjs/common@9.0.0)(@nestjs/core@9.0.0)(reflect-metadata@0.1.13)(rxjs@7.8.1):
resolution: {integrity: sha512-hWzyU9Hrv/v58BRRfxtVFza7k7WQ55HY6R/6hQR1Lju7mMWqByE8ddAyDl3K4uCKGshTL90ixKCoEpLi0suMjA==}
peerDependencies:
'@grpc/grpc-js': '*'
'@nestjs/common': ^10.0.0
'@nestjs/core': ^10.0.0
'@nestjs/websockets': ^10.0.0
amqp-connection-manager: '*'
amqplib: '*'
cache-manager: '*'
ioredis: '*'
kafkajs: '*'
mqtt: '*'
nats: '*'
reflect-metadata: ^0.1.12
rxjs: ^7.1.0
peerDependenciesMeta:
'@grpc/grpc-js':
optional: true
'@nestjs/websockets':
optional: true
amqp-connection-manager:
optional: true
amqplib:
optional: true
cache-manager:
optional: true
ioredis:
optional: true
kafkajs:
optional: true
mqtt:
optional: true
nats:
optional: true
dependencies:
'@nestjs/common': 9.0.0(reflect-metadata@0.1.13)(rxjs@7.8.1)
'@nestjs/core': 9.0.0(@nestjs/common@9.0.0)(@nestjs/microservices@10.0.5)(@nestjs/platform-express@9.0.0)(reflect-metadata@0.1.13)(rxjs@7.8.1)
iterare: 1.2.1
reflect-metadata: 0.1.13
rxjs: 7.8.1
tslib: 2.6.0
dev: false
/@nestjs/mongoose@10.0.1(@nestjs/common@10.1.0)(@nestjs/core@10.1.0)(mongoose@7.5.0)(reflect-metadata@0.1.13)(rxjs@7.8.1): /@nestjs/mongoose@10.0.1(@nestjs/common@10.1.0)(@nestjs/core@10.1.0)(mongoose@7.5.0)(reflect-metadata@0.1.13)(rxjs@7.8.1):
resolution: {integrity: sha512-woUViG28WKf/kRiv6NFXu4Oc0DvAPeX4+fT4coDVt2OqndnfJZTXwkkys23uVsBpKSIflRyjPvmcVBHQvcunZw==} resolution: {integrity: sha512-woUViG28WKf/kRiv6NFXu4Oc0DvAPeX4+fT4coDVt2OqndnfJZTXwkkys23uVsBpKSIflRyjPvmcVBHQvcunZw==}
peerDependencies: peerDependencies:
@ -3944,6 +4019,21 @@ packages:
- chokidar - chokidar
dev: true dev: true
/@nestjs/schematics@9.0.0(typescript@5.1.3):
resolution: {integrity: sha512-l4AReqX597iKyAXVN9WsrLQ1NDY0G15s7x8dHpwM0+3MOFoEKZMvqeiFrfVMqbwuMiTvXTuLcoMdlKuz7qtrDg==}
peerDependencies:
typescript: ^4.3.5
dependencies:
'@angular-devkit/core': 14.0.5(chokidar@3.5.3)
'@angular-devkit/schematics': 14.0.5(chokidar@3.5.3)
fs-extra: 10.1.0
jsonc-parser: 3.0.0
pluralize: 8.0.0
typescript: 5.1.3
transitivePeerDependencies:
- chokidar
dev: true
/@nestjs/testing@10.0.0(@nestjs/common@10.1.0)(@nestjs/core@10.1.0)(@nestjs/microservices@10.0.5)(@nestjs/platform-express@10.1.0): /@nestjs/testing@10.0.0(@nestjs/common@10.1.0)(@nestjs/core@10.1.0)(@nestjs/microservices@10.0.5)(@nestjs/platform-express@10.1.0):
resolution: {integrity: sha512-U5q3+svkddpdSk51ZFCEnFpQuWxAwE4ahsX77FrqqCAYidr7HUtL/BHYOVzI5H9vUH6BvJxMbfo3tiUXQl/2aA==} resolution: {integrity: sha512-U5q3+svkddpdSk51ZFCEnFpQuWxAwE4ahsX77FrqqCAYidr7HUtL/BHYOVzI5H9vUH6BvJxMbfo3tiUXQl/2aA==}
peerDependencies: peerDependencies:
@ -4199,6 +4289,24 @@ packages:
rollup: 3.21.5 rollup: 3.21.5
dev: true dev: true
/@rollup/plugin-commonjs@24.1.0(rollup@3.29.0):
resolution: {integrity: sha512-eSL45hjhCWI0jCCXcNtLVqM5N1JlBGvlFfY0m6oOYnLCJ6N0qEXoZql4sY2MOUArzhH4SA/qBpTxvvZp2Sc+DQ==}
engines: {node: '>=14.0.0'}
peerDependencies:
rollup: ^2.68.0||^3.0.0
peerDependenciesMeta:
rollup:
optional: true
dependencies:
'@rollup/pluginutils': 5.0.4(rollup@3.29.0)
commondir: 1.0.1
estree-walker: 2.0.2
glob: 8.1.0
is-reference: 1.2.1
magic-string: 0.27.0
rollup: 3.29.0
dev: true
/@rollup/plugin-node-resolve@15.0.2(rollup@3.21.5): /@rollup/plugin-node-resolve@15.0.2(rollup@3.21.5):
resolution: {integrity: sha512-Y35fRGUjC3FaurG722uhUuG8YHOJRJQbI6/CkbRkdPotSpDj9NtIN85z1zrcyDcCQIW4qp5mgG72U+gJ0TAFEg==} resolution: {integrity: sha512-Y35fRGUjC3FaurG722uhUuG8YHOJRJQbI6/CkbRkdPotSpDj9NtIN85z1zrcyDcCQIW4qp5mgG72U+gJ0TAFEg==}
engines: {node: '>=14.0.0'} engines: {node: '>=14.0.0'}
@ -4217,6 +4325,24 @@ packages:
rollup: 3.21.5 rollup: 3.21.5
dev: true dev: true
/@rollup/plugin-node-resolve@15.0.2(rollup@3.29.0):
resolution: {integrity: sha512-Y35fRGUjC3FaurG722uhUuG8YHOJRJQbI6/CkbRkdPotSpDj9NtIN85z1zrcyDcCQIW4qp5mgG72U+gJ0TAFEg==}
engines: {node: '>=14.0.0'}
peerDependencies:
rollup: ^2.78.0||^3.0.0
peerDependenciesMeta:
rollup:
optional: true
dependencies:
'@rollup/pluginutils': 5.0.4(rollup@3.29.0)
'@types/resolve': 1.20.2
deepmerge: 4.3.1
is-builtin-module: 3.2.1
is-module: 1.0.0
resolve: 1.22.4
rollup: 3.29.0
dev: true
/@rollup/pluginutils@4.2.1: /@rollup/pluginutils@4.2.1:
resolution: {integrity: sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==} resolution: {integrity: sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==}
engines: {node: '>= 8.0.0'} engines: {node: '>= 8.0.0'}
@ -4240,6 +4366,21 @@ packages:
rollup: 3.21.5 rollup: 3.21.5
dev: true dev: true
/@rollup/pluginutils@5.0.4(rollup@3.29.0):
resolution: {integrity: sha512-0KJnIoRI8A+a1dqOYLxH8vBf8bphDmty5QvIm2hqm7oFCFYKCAZWWd2hXgMibaPsNDhI0AtpYfQZJG47pt/k4g==}
engines: {node: '>=14.0.0'}
peerDependencies:
rollup: ^1.20.0||^2.0.0||^3.0.0
peerDependenciesMeta:
rollup:
optional: true
dependencies:
'@types/estree': 1.0.1
estree-walker: 2.0.2
picomatch: 2.3.1
rollup: 3.29.0
dev: true
/@sinclair/typebox@0.27.8: /@sinclair/typebox@0.27.8:
resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==}
dev: true dev: true
@ -4463,6 +4604,7 @@ packages:
/@types/raf@3.4.0: /@types/raf@3.4.0:
resolution: {integrity: sha512-taW5/WYqo36N7V39oYyHP9Ipfd5pNFvGTIQsNGj86xV88YQ7GnI30/yMfKDF7Zgin0m3e+ikX88FvImnK4RjGw==} resolution: {integrity: sha512-taW5/WYqo36N7V39oYyHP9Ipfd5pNFvGTIQsNGj86xV88YQ7GnI30/yMfKDF7Zgin0m3e+ikX88FvImnK4RjGw==}
requiresBuild: true
dev: false dev: false
optional: true optional: true
@ -9187,6 +9329,7 @@ packages:
/memory-pager@1.5.0: /memory-pager@1.5.0:
resolution: {integrity: sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==} resolution: {integrity: sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==}
requiresBuild: true
dev: false dev: false
optional: true optional: true
@ -10035,6 +10178,7 @@ packages:
/performance-now@2.1.0: /performance-now@2.1.0:
resolution: {integrity: sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==} resolution: {integrity: sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==}
requiresBuild: true
dev: false dev: false
optional: true optional: true
@ -10464,6 +10608,7 @@ packages:
/prr@1.0.1: /prr@1.0.1:
resolution: {integrity: sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==} resolution: {integrity: sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==}
requiresBuild: true
dev: true dev: true
optional: true optional: true
@ -10552,6 +10697,7 @@ packages:
/raf@3.4.1: /raf@3.4.1:
resolution: {integrity: sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==} resolution: {integrity: sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==}
requiresBuild: true
dependencies: dependencies:
performance-now: 2.1.0 performance-now: 2.1.0
dev: false dev: false
@ -11580,6 +11726,7 @@ packages:
/regenerator-runtime@0.13.11: /regenerator-runtime@0.13.11:
resolution: {integrity: sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==} resolution: {integrity: sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==}
requiresBuild: true
dev: false dev: false
optional: true optional: true
@ -11722,6 +11869,7 @@ packages:
/rgbcolor@1.0.1: /rgbcolor@1.0.1:
resolution: {integrity: sha512-9aZLIrhRaD97sgVhtJOW6ckOEh6/GnvQtdVNfdZ6s67+3/XwLS9lBcQYzEEhYVeUowN7pRzMLsyGhK2i/xvWbw==} resolution: {integrity: sha512-9aZLIrhRaD97sgVhtJOW6ckOEh6/GnvQtdVNfdZ6s67+3/XwLS9lBcQYzEEhYVeUowN7pRzMLsyGhK2i/xvWbw==}
engines: {node: '>= 0.8.15'} engines: {node: '>= 0.8.15'}
requiresBuild: true
dev: false dev: false
optional: true optional: true
@ -11790,6 +11938,21 @@ packages:
typescript: 5.1.3 typescript: 5.1.3
dev: true dev: true
/rollup-plugin-typescript2@0.34.1(rollup@3.29.0)(typescript@5.1.3):
resolution: {integrity: sha512-P4cHLtGikESmqi1CA+tdMDUv8WbQV48mzPYt77TSTOPJpERyZ9TXdDgjSDix8Fkqce6soYz3+fa4lrC93IEkcw==}
peerDependencies:
rollup: '>=1.26.3'
typescript: '>=2.4.0'
dependencies:
'@rollup/pluginutils': 4.2.1
find-cache-dir: 3.3.2
fs-extra: 10.1.0
rollup: 3.29.0
semver: 7.5.4
tslib: 2.6.0
typescript: 5.1.3
dev: true
/rollup-pluginutils@2.8.2: /rollup-pluginutils@2.8.2:
resolution: {integrity: sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==} resolution: {integrity: sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==}
dependencies: dependencies:
@ -12202,6 +12365,7 @@ packages:
/sparse-bitfield@3.0.3: /sparse-bitfield@3.0.3:
resolution: {integrity: sha512-kvzhi7vqKTfkh0PZU+2D2PIllw2ymqJKujUcyPMd9Y75Nv4nPbGJZXNhxsgdQab2BmlDct1YnfQCguEvHr7VsQ==} resolution: {integrity: sha512-kvzhi7vqKTfkh0PZU+2D2PIllw2ymqJKujUcyPMd9Y75Nv4nPbGJZXNhxsgdQab2BmlDct1YnfQCguEvHr7VsQ==}
requiresBuild: true
dependencies: dependencies:
memory-pager: 1.5.0 memory-pager: 1.5.0
dev: false dev: false
@ -12289,6 +12453,7 @@ packages:
/stackblur-canvas@2.6.0: /stackblur-canvas@2.6.0:
resolution: {integrity: sha512-8S1aIA+UoF6erJYnglGPug6MaHYGo1Ot7h5fuXx4fUPvcvQfcdw2o/ppCse63+eZf8PPidSu4v1JnmEVtEDnpg==} resolution: {integrity: sha512-8S1aIA+UoF6erJYnglGPug6MaHYGo1Ot7h5fuXx4fUPvcvQfcdw2o/ppCse63+eZf8PPidSu4v1JnmEVtEDnpg==}
engines: {node: '>=0.1.14'} engines: {node: '>=0.1.14'}
requiresBuild: true
dev: false dev: false
optional: true optional: true
@ -12532,6 +12697,7 @@ packages:
/svg-pathdata@6.0.3: /svg-pathdata@6.0.3:
resolution: {integrity: sha512-qsjeeq5YjBZ5eMdFuUa4ZosMLxgr5RZ+F+Y1OrDhuOCEInRMA3x74XdBtggJcj9kOeInz0WE+LgCPDkZFlBYJw==} resolution: {integrity: sha512-qsjeeq5YjBZ5eMdFuUa4ZosMLxgr5RZ+F+Y1OrDhuOCEInRMA3x74XdBtggJcj9kOeInz0WE+LgCPDkZFlBYJw==}
engines: {node: '>=12.0.0'} engines: {node: '>=12.0.0'}
requiresBuild: true
dev: false dev: false
optional: true optional: true
@ -12856,7 +13022,6 @@ packages:
typescript: 5.1.3 typescript: 5.1.3
v8-compile-cache-lib: 3.0.1 v8-compile-cache-lib: 3.0.1
yn: 3.1.1 yn: 3.1.1
dev: true
/tsconfig-paths-webpack-plugin@3.5.2: /tsconfig-paths-webpack-plugin@3.5.2:
resolution: {integrity: sha512-EhnfjHbzm5IYI9YPNVIxx1moxMI4bpHD2e0zTXeDNQcwjjRaGepP7IhTHJkyDBG0CAOoxRfe7jCG630Ou+C6Pw==} resolution: {integrity: sha512-EhnfjHbzm5IYI9YPNVIxx1moxMI4bpHD2e0zTXeDNQcwjjRaGepP7IhTHJkyDBG0CAOoxRfe7jCG630Ou+C6Pw==}
@ -13099,6 +13264,84 @@ packages:
- supports-color - supports-color
dev: false dev: false
/typeorm@0.3.16(ts-node@10.9.1):
resolution: {integrity: sha512-wJ4Qy1oqRKNDdZiBTTaVMqwo/XxC52Q7uNPTjltPgLhvIW173bL6Iad0lhptMOsFlpixFPaUu3PNziaRBwX2Zw==}
engines: {node: '>= 12.9.0'}
hasBin: true
peerDependencies:
'@google-cloud/spanner': ^5.18.0
'@sap/hana-client': ^2.12.25
better-sqlite3: ^7.1.2 || ^8.0.0
hdb-pool: ^0.1.6
ioredis: ^5.0.4
mongodb: ^5.2.0
mssql: ^9.1.1
mysql2: ^2.2.5 || ^3.0.1
oracledb: ^5.1.0
pg: ^8.5.1
pg-native: ^3.0.0
pg-query-stream: ^4.0.0
redis: ^3.1.1 || ^4.0.0
sql.js: ^1.4.0
sqlite3: ^5.0.3
ts-node: ^10.7.0
typeorm-aurora-data-api-driver: ^2.0.0
peerDependenciesMeta:
'@google-cloud/spanner':
optional: true
'@sap/hana-client':
optional: true
better-sqlite3:
optional: true
hdb-pool:
optional: true
ioredis:
optional: true
mongodb:
optional: true
mssql:
optional: true
mysql2:
optional: true
oracledb:
optional: true
pg:
optional: true
pg-native:
optional: true
pg-query-stream:
optional: true
redis:
optional: true
sql.js:
optional: true
sqlite3:
optional: true
ts-node:
optional: true
typeorm-aurora-data-api-driver:
optional: true
dependencies:
'@sqltools/formatter': 1.2.5
app-root-path: 3.1.0
buffer: 6.0.3
chalk: 4.1.2
cli-highlight: 2.1.11
date-fns: 2.30.0
debug: 4.3.4
dotenv: 16.0.3
glob: 8.1.0
mkdirp: 2.1.6
reflect-metadata: 0.1.13
sha.js: 2.4.11
ts-node: 10.9.1(@types/node@20.3.3)(typescript@5.1.3)
tslib: 2.6.0
uuid: 9.0.0
yargs: 17.7.2
transitivePeerDependencies:
- supports-color
dev: false
/typeorm@0.3.17(ts-node@10.9.1): /typeorm@0.3.17(ts-node@10.9.1):
resolution: {integrity: sha512-UDjUEwIQalO9tWw9O2A4GU+sT3oyoUXheHJy4ft+RFdnRdQctdQ34L9SqE2p7LdwzafHx1maxT+bqXON+Qnmig==} resolution: {integrity: sha512-UDjUEwIQalO9tWw9O2A4GU+sT3oyoUXheHJy4ft+RFdnRdQctdQ34L9SqE2p7LdwzafHx1maxT+bqXON+Qnmig==}
engines: {node: '>= 12.9.0'} engines: {node: '>= 12.9.0'}