wip
This commit is contained in:
6
packages/media/application/ports/ImageServicePort.ts
Normal file
6
packages/media/application/ports/ImageServicePort.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export interface ImageServicePort {
|
||||
getDriverAvatar(driverId: string): string;
|
||||
getTeamLogo(teamId: string): string;
|
||||
getLeagueCover(leagueId: string): string;
|
||||
getLeagueLogo(leagueId: string): string;
|
||||
}
|
||||
1
packages/media/index.ts
Normal file
1
packages/media/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from './application/ports/ImageServicePort';
|
||||
11
packages/media/package.json
Normal file
11
packages/media/package.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "@gridpilot/media",
|
||||
"version": "0.1.0",
|
||||
"type": "module",
|
||||
"main": "./index.ts",
|
||||
"types": "./index.ts",
|
||||
"exports": {
|
||||
".": "./index.ts",
|
||||
"./application/*": "./application/*"
|
||||
}
|
||||
}
|
||||
10
packages/media/tsconfig.json
Normal file
10
packages/media/tsconfig.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": ".",
|
||||
"outDir": "dist",
|
||||
"declaration": true,
|
||||
"declarationMap": false
|
||||
},
|
||||
"include": ["**/*.ts"]
|
||||
}
|
||||
Reference in New Issue
Block a user