mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
# [1.13.0](https://github.com/stirling-image/stirling-image/compare/v1.12.0...v1.13.0) (2026-04-10) ### Bug Fixes * complete RBAC implementation lost during merge ([cc8a272](https://github.com/stirling-image/stirling-image/commit/cc8a27239b02a63ca88abc3e363c8a46f89674e8)) ### Features * add backend permission map and requirePermission middleware ([1a99571](https://github.com/stirling-image/stirling-image/commit/1a995711535a1525e709cdd7bff75361f457e942)) * add permission checks and admin override to API key routes ([d776680](https://github.com/stirling-image/stirling-image/commit/d776680f2d2342e35b84821792d6c24ae7e0ffbc)) * add permission checks and admin override to pipeline routes ([59f40db](https://github.com/stirling-image/stirling-image/commit/59f40dbfd4a97f8691b5fbbf6d338063c389987b)) * add permission checks and ownership scoping to user-files routes ([86ba698](https://github.com/stirling-image/stirling-image/commit/86ba69825a1dd87c9f868d79cd806b7d594cce1b)) * add shared Permission and Role types ([2f594e9](https://github.com/stirling-image/stirling-image/commit/2f594e96057c72bf107f3012426e87af5f97eb94)) * add tools:use permission check to tool, batch, pipeline, and upload routes ([885ace5](https://github.com/stirling-image/stirling-image/commit/885ace54f09b3301989f8aa404c15f60e19c054d)) * extend useAuth hook with role and permissions from session ([e0ba8be](https://github.com/stirling-image/stirling-image/commit/e0ba8be7b3211299c8cde90b2d22e7796eee2206)) * filter settings tabs by user permissions, remove admin fallback ([bcbd24a](https://github.com/stirling-image/stirling-image/commit/bcbd24a2395b93b64dbbf638ba0138f9ec9ba9da)) * include permissions and teamName in login/session responses ([4943177](https://github.com/stirling-image/stirling-image/commit/49431772ec6a02eae8aced48da92ef87a6c89afb)) * replace requireAdmin with requirePermission on all routes ([af7f57d](https://github.com/stirling-image/stirling-image/commit/af7f57d52f49c8f8412876639076084c96eba284))
54 lines
1.4 KiB
JSON
54 lines
1.4 KiB
JSON
{
|
|
"name": "@stirling-image/api",
|
|
"version": "1.13.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "PORT=13490 tsx watch src/index.ts",
|
|
"build": "tsc",
|
|
"start": "tsx src/index.ts",
|
|
"lint": "biome check src/",
|
|
"typecheck": "tsc --noEmit",
|
|
"clean": "rm -rf dist"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/cors": "^11.0.0",
|
|
"@fastify/multipart": "^9.0.0",
|
|
"@fastify/rate-limit": "^10.2.0",
|
|
"@fastify/static": "^8.1.0",
|
|
"@scalar/fastify-api-reference": "^1.49.5",
|
|
"@stirling-image/ai": "workspace:*",
|
|
"@stirling-image/image-engine": "workspace:*",
|
|
"@stirling-image/shared": "workspace:*",
|
|
"archiver": "^7.0.1",
|
|
"better-sqlite3": "^11.7.0",
|
|
"dotenv": "^16.4.0",
|
|
"drizzle-orm": "^0.38.0",
|
|
"exif-reader": "^2.0.3",
|
|
"fastify": "^5.2.0",
|
|
"js-yaml": "^4.1.1",
|
|
"jsqr": "^1.4.0",
|
|
"mupdf": "^1.27.0",
|
|
"p-queue": "^9.1.0",
|
|
"pdfkit": "^0.18.0",
|
|
"piscina": "^5.1.4",
|
|
"potrace": "^2.1.8",
|
|
"qrcode": "^1.5.4",
|
|
"sharp": "^0.33.0",
|
|
"tsx": "^4.19.0",
|
|
"zod": "^3.24.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/archiver": "^7.0.0",
|
|
"@types/better-sqlite3": "^7.6.0",
|
|
"@types/js-yaml": "^4.0.9",
|
|
"@types/node": "^22.0.0",
|
|
"@types/pdfkit": "^0.17.5",
|
|
"@types/potrace": "^2.1.5",
|
|
"@types/qrcode": "^1.5.6",
|
|
"drizzle-kit": "^0.30.0",
|
|
"typescript": "^5.7.0"
|
|
},
|
|
"license": "AGPL-3.0"
|
|
}
|