mirror of
https://github.com/kennethnym/aris.git
synced 2026-03-19 16:41:18 +00:00
Add listActions() and executeAction() to FeedSource for write operations back to external services. Actions use arktype schemas for input validation via StandardSchemaV1. - ActionDefinition type with optional input schema - FeedEngine routes actions with existence and ID validation - Source IDs use reverse-domain format (aris.location, aris.tfl) - LocationSource: update-location action with schema validation - TflSource: set-lines-of-interest action with lineId validation - No-op implementations for sources without actions Co-authored-by: Ona <no-reply@ona.com>
14 lines
217 B
JSON
14 lines
217 B
JSON
{
|
|
"name": "@aris/core",
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"main": "src/index.ts",
|
|
"types": "src/index.ts",
|
|
"scripts": {
|
|
"test": "bun test ."
|
|
},
|
|
"dependencies": {
|
|
"@standard-schema/spec": "^1.1.0"
|
|
}
|
|
}
|