feat: add shared TypeScript types for Game, Documentary, Chapter

Create @afterlife/shared package with type definitions for the core
domain models (Game, Documentary, Chapter) and Strapi API interfaces
(StrapiMedia, StrapiResponse, StrapiListResponse).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
consultoria-as
2026-02-22 03:16:02 +00:00
parent 0855333a8c
commit 1ae432a266
9 changed files with 137 additions and 0 deletions

23
package-lock.json generated
View File

@@ -13,6 +13,10 @@
"turbo": "^2"
}
},
"node_modules/@afterlife/shared": {
"resolved": "packages/shared",
"link": true
},
"node_modules/turbo": {
"version": "2.8.10",
"resolved": "https://registry.npmjs.org/turbo/-/turbo-2.8.10.tgz",
@@ -107,6 +111,25 @@
"os": [
"win32"
]
},
"node_modules/typescript": {
"version": "5.9.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
"integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
"dev": true,
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
},
"engines": {
"node": ">=14.17"
}
},
"packages/shared": {
"version": "0.1.0",
"devDependencies": {
"typescript": "^5"
}
}
}
}