Moved all Mongoose model interfaces to @gadget/api to commonize the data structures being passed around the system as JSON objects via HTTP and Socket.IO.
28 lines
605 B
JSON
28 lines
605 B
JSON
{
|
|
"name": "@gadget/api",
|
|
"version": "1.0.0",
|
|
"description": "Gadget Code API shared interfaces",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"dev": "tsc --watch"
|
|
},
|
|
"keywords": ["gadget", "api", "interfaces", "mongoose"],
|
|
"author": "Rob Colbert",
|
|
"license": "Apache-2.0",
|
|
"dependencies": {
|
|
"mongoose": "^8.16.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^25.6.0",
|
|
"typescript": "^6.0.3"
|
|
}
|
|
} |