This commit is contained in:
2025-12-16 11:52:26 +01:00
parent ce82b7822b
commit 9a891ac8b3
586 changed files with 1320 additions and 1563 deletions

View File

@@ -5,7 +5,7 @@
* Achievements are categorized by role (driver, steward, admin) and type.
*/
import type { IEntity } from '@gridpilot/shared/domain';
import type { IEntity } from '@core/shared/domain';
export type AchievementCategory = 'driver' | 'steward' | 'admin' | 'community';

View File

@@ -4,7 +4,7 @@
* Represents an achievement earned by a specific user.
*/
import type { IEntity } from '@gridpilot/shared/domain';
import type { IEntity } from '@core/shared/domain';
export interface UserAchievementProps {
id: string;

View File

@@ -1,4 +1,4 @@
import type { IDomainService } from '@gridpilot/shared/domain';
import type { IDomainService } from '@core/shared/domain';
import type { IUserRatingRepository } from '../repositories/IUserRatingRepository';
import { UserRating } from '../value-objects/UserRating';

View File

@@ -1,4 +1,4 @@
import type { IValueObject } from '@gridpilot/shared/domain';
import type { IValueObject } from '@core/shared/domain';
import type { EmailValidationResult } from '../types/EmailAddress';
import { validateEmail, isDisposableEmail } from '../types/EmailAddress';

View File

@@ -1,5 +1,5 @@
import bcrypt from 'bcrypt';
import type { IValueObject } from '@gridpilot/shared/domain';
import type { IValueObject } from '@core/shared/domain';
export interface PasswordHashProps {
value: string;

View File

@@ -1,5 +1,5 @@
import { v4 as uuidv4 } from 'uuid';
import type { IValueObject } from '@gridpilot/shared/domain';
import type { IValueObject } from '@core/shared/domain';
export interface UserIdProps {
value: string;

View File

@@ -1,4 +1,4 @@
import type { IValueObject } from '@gridpilot/shared/domain';
import type { IValueObject } from '@core/shared/domain';
/**
* Value Object: UserRating

View File

@@ -1,15 +0,0 @@
{
"name": "@gridpilot/identity",
"version": "0.1.0",
"main": "./index.ts",
"types": "./index.ts",
"type": "module",
"exports": {
"./domain/*": "./domain/*",
"./application/*": "./application/*",
"./infrastructure/*": "./infrastructure/*"
},
"dependencies": {
"zod": "^3.25.76"
}
}

View File

@@ -1,9 +0,0 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "dist",
"declaration": true,
"declarationMap": false
},
"include": ["**/*.ts"]
}