Skip to content

Commit 259e2ad

Browse files
committed
refactor: shared dto->dtos
1 parent 3d41636 commit 259e2ad

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

backend/src/application/ports/SnapshotQueryPort.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type {
22
AggregatedEmotionProfileDto,
33
HeadlineDto,
4-
} from '@devbarometer/shared/dto';
4+
} from '@devbarometer/shared/dtos';
55
import type { EmotionProfile, Report } from '../../domain/entities';
66

77
/**

backend/src/application/usecases/queries/SnapshotQueryService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type {
22
AggregatedEmotionProfileDto,
33
HeadlineDto,
4-
} from '@devbarometer/shared/dto';
4+
} from '@devbarometer/shared/dtos';
55
import type { EmotionProfile, Report } from '../../../domain/entities';
66
import type { PersistencePort } from '../../ports/PersistencePort';
77
import type { SnapshotQueryPort } from '../../ports/SnapshotQueryPort';

backend/src/application/usecases/queries/getAggregatedProfiles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {
22
AggregatedEmotionProfileDtoSchema,
33
type AggregatedEmotionProfileDto,
4-
} from '@devbarometer/shared/dto';
4+
} from '@devbarometer/shared/dtos';
55
import type { AggregatedEmotionProfile } from '../../../domain/entities';
66
import type { PersistencePort } from '../../ports/PersistencePort';
77

backend/src/application/usecases/queries/getTopHeadlines.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { type HeadlineDto, HeadlineDtoSchema } from '@devbarometer/shared/dto';
1+
import { type HeadlineDto, HeadlineDtoSchema } from '@devbarometer/shared/dtos';
22
import { formatFloat } from '../../../lib/number/formatFloat';
33
import type { PersistencePort } from '../../ports/PersistencePort';
44

shared/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
"types": "./dist/domain/index.d.ts",
1313
"default": "./dist/domain/index.js"
1414
},
15-
"./dto": {
16-
"types": "./dist/dto/index.d.ts",
17-
"default": "./dist/dto/index.js"
15+
"./dtos": {
16+
"types": "./dist/dtos/index.d.ts",
17+
"default": "./dist/dtos/index.js"
1818
},
1919
"./primitives": {
2020
"types": "./dist/primitives/index.d.ts",
@@ -27,8 +27,8 @@
2727
"domain": [
2828
"dist/domain/index.d.ts"
2929
],
30-
"dto": [
31-
"dist/dto/index.d.ts"
30+
"dtos": [
31+
"dist/dtos/index.d.ts"
3232
],
3333
"primitives": [
3434
"dist/primitives/index.d.ts"

0 commit comments

Comments
 (0)