@yrpri/api 9.0.106 → 9.0.108

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -410,6 +410,7 @@ export class PolicySynthAgentsController {
410
410
  this.router.delete("/:groupId/:agentId/ai-models/:modelId", auth.can("edit group"), this.removeAgentAiModel);
411
411
  this.router.post("/:groupId/:agentId/ai-models", auth.can("edit group"), this.addAgentAiModel);
412
412
  this.router.put("/:groupId/:agentId/memory", auth.can("edit group"), this.replaceAgentMemory);
413
+ this.router.get("/:groupId/:agentId/memory", auth.can("edit group"), this.getAgentMemory);
413
414
  this.router.post("/:groupId/:agentId/inputConnectors/existing", auth.can("edit group"), this.addExistingConnector);
414
415
  this.router.post("/:groupId/:agentId/outputConnectors/existing", auth.can("edit group"), this.addExistingConnector);
415
416
  }
@@ -0,0 +1,5 @@
1
+ declare module '@yrpri/api/controllers/audios.cjs' {
2
+ import { Router } from 'express';
3
+ const router: Router;
4
+ export default router;
5
+ }
@@ -0,0 +1,5 @@
1
+ declare module '@yrpri/api/controllers/categories.cjs' {
2
+ import { Router } from 'express';
3
+ const router: Router;
4
+ export default router;
5
+ }
@@ -0,0 +1,5 @@
1
+ declare module '@yrpri/api/controllers/communities.cjs' {
2
+ import { Router } from 'express';
3
+ const router: Router;
4
+ export default router;
5
+ }
@@ -0,0 +1,5 @@
1
+ declare module '@yrpri/api/controllers/domains.cjs' {
2
+ import { Router } from 'express';
3
+ const router: Router;
4
+ export default router;
5
+ }
@@ -0,0 +1,5 @@
1
+ declare module '@yrpri/api/controllers/groups.cjs' {
2
+ import { Router } from 'express';
3
+ const router: Router;
4
+ export default router;
5
+ }
@@ -0,0 +1,5 @@
1
+ declare module '@yrpri/api/controllers/images.cjs' {
2
+ import { Router } from 'express';
3
+ const router: Router;
4
+ export default router;
5
+ }
@@ -0,0 +1,5 @@
1
+ declare module '@yrpri/api/controllers/points.cjs' {
2
+ import { Router } from 'express';
3
+ const router: Router;
4
+ export default router;
5
+ }
@@ -0,0 +1,5 @@
1
+ declare module '@yrpri/api/controllers/posts.cjs' {
2
+ import { Router } from 'express';
3
+ const router: Router;
4
+ export default router;
5
+ }
@@ -0,0 +1,5 @@
1
+ declare module '@yrpri/api/controllers/ratings.cjs' {
2
+ import { Router } from 'express';
3
+ const router: Router;
4
+ export default router;
5
+ }
@@ -0,0 +1,5 @@
1
+ declare module '@yrpri/api/controllers/users.cjs' {
2
+ import { Router } from 'express';
3
+ const router: Router;
4
+ export default router;
5
+ }
@@ -0,0 +1,5 @@
1
+ declare module '@yrpri/api/controllers/videos.cjs' {
2
+ import { Router } from 'express';
3
+ const router: Router;
4
+ export default router;
5
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yrpri/api",
3
- "version": "9.0.106",
3
+ "version": "9.0.108",
4
4
  "license": "MIT",
5
5
  "author": "Robert Bjarnason & Citizens Foundation",
6
6
  "repository": {
@@ -114,6 +114,7 @@
114
114
  "@types/uuid": "^10.0.0",
115
115
  "@types/ws": "^8.18.1",
116
116
  "axios": "^1.9.0",
117
+ "copyfiles": "^2.4.1",
117
118
  "csv-parse": "^5.6.0",
118
119
  "diacritics": "^1.3.0",
119
120
  "jshint": "^2.13.6",
@@ -132,7 +133,7 @@
132
133
  },
133
134
  "scripts": {
134
135
  "copyInLocalAgents": "cp -R ../../policy-synth/agents/ts-out/* ./node_modules/@policysynth/agents/;cp ../../policy-synth/agents/src/*.d.ts ./node_modules/@policysynth/agents/;",
135
- "publish_live": "npm run build;npm pack && node repack && node publish.js https://registry.npmjs.org/",
136
+ "publish_live": "npm run build:dev;copyfiles './controllers/**/*.d.ts' 'ts-out/';npm pack && node repack && node publish.js https://registry.npmjs.org/",
136
137
  "publish_local": "npm run build;npm pack && node repack && node publish.js http://localhost:4873",
137
138
  "start": "nodemon -e ts ts-out/server.js",
138
139
  "watch-start": "DEBUG=router:* tsc --project ./ --outDir ./ts-out -w & nodemon -q ./ts-out/server.js",