@greatapps/greatagents 0.1.18 → 0.1.19

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@greatapps/greatagents",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
4
4
  "description": "Schemas para GreatAgents",
5
5
  "main": "./src/product.js",
6
6
  "type": "module"
@@ -1,8 +1,10 @@
1
1
  import { properties } from "./properties.js";
2
2
 
3
3
  export default {
4
- table: "prompt_versions",
5
- properties,
6
- primaryKey: "id",
7
- timestamps: true
4
+ product: "greatagents",
5
+ name: "prompt_versions",
6
+ cache: { ttlView: 30, ttlList: 0 },
7
+ params: [ "id_account", "id_agent" ],
8
+ properties: properties,
9
+ routes: {}
8
10
  };
package/src/product.js CHANGED
@@ -6,6 +6,7 @@ import agents from './modules/agents/index.js';
6
6
  import objectives from './modules/objectives/index.js';
7
7
  import contacts from './modules/contacts/index.js';
8
8
  import conversations from './modules/conversations/index.js';
9
+ import prompt_versions from './modules/prompt_versions/index.js';
9
10
 
10
11
  /* Shared */
11
12
 
@@ -35,7 +36,8 @@ export default {
35
36
  agents,
36
37
  objectives,
37
38
  contacts,
38
- conversations
39
+ conversations,
40
+ prompt_versions
39
41
  },
40
42
  documentation: {
41
43
  title: "GreatAgents API",