@syrtis-ai/syrtis-javascript-client 8.0.0 → 10.0.0

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.
Files changed (47) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/src/Common/SyrtisClient.ts +1 -1
  4. package/src/Common/generatedEntitySchemas.ts +6 -6
  5. package/src/Common/generatedRepositories.ts +6 -6
  6. package/src/Entity/Message.ts +43 -56
  7. package/src/Entity/ScenarioMessage.ts +10 -0
  8. package/src/Entity/{Card.ts → Step.ts} +3 -3
  9. package/src/Entity/StepMessage.ts +10 -0
  10. package/src/Repository/ScenarioMessageRepository.ts +8 -0
  11. package/src/Repository/SessionRepository.ts +1 -6
  12. package/src/Repository/StepMessageRepository.ts +8 -0
  13. package/src/Repository/StepRepository.ts +8 -0
  14. package/src/Vue/Mixin/Entity/{card_relation.vue → scenario_message.vue} +2 -2
  15. package/src/Vue/Mixin/Entity/{card.vue → step.vue} +2 -2
  16. package/src/Vue/Mixin/Entity/{card_message.vue → step_message.vue} +2 -2
  17. package/src/Vue/Mixin/EntityManipulator/ScenarioMessageEntityManipulatorVueMixin.ts +9 -0
  18. package/src/Vue/Mixin/EntityManipulator/{CardEntityManipulatorVueMixin.ts → StepEntityManipulatorVueMixin.ts} +2 -2
  19. package/src/Vue/Mixin/EntityManipulator/StepMessageEntityManipulatorVueMixin.ts +9 -0
  20. package/src/data/entity/chunk.json +9 -9
  21. package/src/data/entity/document.json +9 -9
  22. package/src/data/entity/environment.json +9 -9
  23. package/src/data/entity/job.json +9 -9
  24. package/src/data/entity/message.json +20 -46
  25. package/src/data/entity/message_stamp.json +9 -9
  26. package/src/data/entity/node.json +9 -9
  27. package/src/data/entity/request.json +20 -20
  28. package/src/data/entity/scenario.json +241 -67
  29. package/src/data/entity/{card_relation.json → scenario_message.json} +30 -55
  30. package/src/data/entity/session.json +221 -19
  31. package/src/data/entity/slot.json +167 -9
  32. package/src/data/entity/slot_config.json +9 -9
  33. package/src/data/entity/slot_message.json +11 -37
  34. package/src/data/entity/slot_message_stamp.json +9 -9
  35. package/src/data/entity/slot_relation.json +9 -9
  36. package/src/data/entity/{card.json → step.json} +22 -165
  37. package/src/data/entity/{card_message.json → step_message.json} +13 -14
  38. package/src/data/entity/template.json +9 -9
  39. package/src/data/entity/timezone.json +9 -9
  40. package/src/data/entity/user.json +41 -10
  41. package/src/Entity/CardMessage.ts +0 -10
  42. package/src/Entity/CardRelation.ts +0 -10
  43. package/src/Repository/CardMessageRepository.ts +0 -8
  44. package/src/Repository/CardRelationRepository.ts +0 -8
  45. package/src/Repository/CardRepository.ts +0 -8
  46. package/src/Vue/Mixin/EntityManipulator/CardMessageEntityManipulatorVueMixin.ts +0 -9
  47. package/src/Vue/Mixin/EntityManipulator/CardRelationEntityManipulatorVueMixin.ts +0 -9
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @syrtis-ai/syrtis-javascript-client
2
2
 
3
- Version: 8.0.0
3
+ Version: 10.0.0
4
4
 
5
5
  ## Table of Contents
6
6
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "8.0.0",
2
+ "version": "10.0.0",
3
3
  "type": "module",
4
4
  "name": "@syrtis-ai/syrtis-javascript-client",
5
5
  "scripts": {
@@ -48,7 +48,7 @@ export default class SyrtisClient extends AbstractApiEntitiesClient {
48
48
  }
49
49
 
50
50
  // Version segment of every API path — also prefixes Mercure topics
51
- // (2026-1/entity/session/event/{secureId}).
51
+ // (2026-1/entity/session/event/{id}).
52
52
  getApiVersion(): string {
53
53
  return this.apiVersion;
54
54
  }
@@ -1,6 +1,3 @@
1
- import card from '../data/entity/card.json';
2
- import cardMessage from '../data/entity/card_message.json';
3
- import cardRelation from '../data/entity/card_relation.json';
4
1
  import chunk from '../data/entity/chunk.json';
5
2
  import document from '../data/entity/document.json';
6
3
  import environment from '../data/entity/environment.json';
@@ -10,12 +7,15 @@ import messageStamp from '../data/entity/message_stamp.json';
10
7
  import node from '../data/entity/node.json';
11
8
  import request from '../data/entity/request.json';
12
9
  import scenario from '../data/entity/scenario.json';
10
+ import scenarioMessage from '../data/entity/scenario_message.json';
13
11
  import session from '../data/entity/session.json';
14
12
  import slot from '../data/entity/slot.json';
15
13
  import slotConfig from '../data/entity/slot_config.json';
16
14
  import slotMessage from '../data/entity/slot_message.json';
17
15
  import slotMessageStamp from '../data/entity/slot_message_stamp.json';
18
16
  import slotRelation from '../data/entity/slot_relation.json';
17
+ import step from '../data/entity/step.json';
18
+ import stepMessage from '../data/entity/step_message.json';
19
19
  import template from '../data/entity/template.json';
20
20
  import timezone from '../data/entity/timezone.json';
21
21
  import user from '../data/entity/user.json';
@@ -24,9 +24,6 @@ type EntitySchema = { name: string };
24
24
 
25
25
  export default function getGeneratedEntitySchemas(): Record<string, EntitySchema> {
26
26
  return {
27
- [card.name]: card,
28
- [cardMessage.name]: cardMessage,
29
- [cardRelation.name]: cardRelation,
30
27
  [chunk.name]: chunk,
31
28
  [document.name]: document,
32
29
  [environment.name]: environment,
@@ -36,12 +33,15 @@ export default function getGeneratedEntitySchemas(): Record<string, EntitySchema
36
33
  [node.name]: node,
37
34
  [request.name]: request,
38
35
  [scenario.name]: scenario,
36
+ [scenarioMessage.name]: scenarioMessage,
39
37
  [session.name]: session,
40
38
  [slot.name]: slot,
41
39
  [slotConfig.name]: slotConfig,
42
40
  [slotMessage.name]: slotMessage,
43
41
  [slotMessageStamp.name]: slotMessageStamp,
44
42
  [slotRelation.name]: slotRelation,
43
+ [step.name]: step,
44
+ [stepMessage.name]: stepMessage,
45
45
  [template.name]: template,
46
46
  [timezone.name]: timezone,
47
47
  [user.name]: user,
@@ -1,6 +1,3 @@
1
- import CardMessageRepository from '../Repository/CardMessageRepository.js';
2
- import CardRelationRepository from '../Repository/CardRelationRepository.js';
3
- import CardRepository from '../Repository/CardRepository.js';
4
1
  import ChunkRepository from '../Repository/ChunkRepository.js';
5
2
  import DocumentRepository from '../Repository/DocumentRepository.js';
6
3
  import EnvironmentRepository from '../Repository/EnvironmentRepository.js';
@@ -9,6 +6,7 @@ import MessageRepository from '../Repository/MessageRepository.js';
9
6
  import MessageStampRepository from '../Repository/MessageStampRepository.js';
10
7
  import NodeRepository from '../Repository/NodeRepository.js';
11
8
  import RequestRepository from '../Repository/RequestRepository.js';
9
+ import ScenarioMessageRepository from '../Repository/ScenarioMessageRepository.js';
12
10
  import ScenarioRepository from '../Repository/ScenarioRepository.js';
13
11
  import SessionRepository from '../Repository/SessionRepository.js';
14
12
  import SlotConfigRepository from '../Repository/SlotConfigRepository.js';
@@ -16,14 +14,13 @@ import SlotMessageRepository from '../Repository/SlotMessageRepository.js';
16
14
  import SlotMessageStampRepository from '../Repository/SlotMessageStampRepository.js';
17
15
  import SlotRelationRepository from '../Repository/SlotRelationRepository.js';
18
16
  import SlotRepository from '../Repository/SlotRepository.js';
17
+ import StepMessageRepository from '../Repository/StepMessageRepository.js';
18
+ import StepRepository from '../Repository/StepRepository.js';
19
19
  import TemplateRepository from '../Repository/TemplateRepository.js';
20
20
  import TimezoneRepository from '../Repository/TimezoneRepository.js';
21
21
  import UserRepository from '../Repository/UserRepository.js';
22
22
 
23
23
  const generatedRepositories = [
24
- CardMessageRepository,
25
- CardRelationRepository,
26
- CardRepository,
27
24
  ChunkRepository,
28
25
  DocumentRepository,
29
26
  EnvironmentRepository,
@@ -32,6 +29,7 @@ const generatedRepositories = [
32
29
  MessageStampRepository,
33
30
  NodeRepository,
34
31
  RequestRepository,
32
+ ScenarioMessageRepository,
35
33
  ScenarioRepository,
36
34
  SessionRepository,
37
35
  SlotConfigRepository,
@@ -39,6 +37,8 @@ const generatedRepositories = [
39
37
  SlotMessageStampRepository,
40
38
  SlotRelationRepository,
41
39
  SlotRepository,
40
+ StepMessageRepository,
41
+ StepRepository,
42
42
  TemplateRepository,
43
43
  TimezoneRepository,
44
44
  UserRepository,
@@ -8,7 +8,6 @@ export default class Message extends AbstractApiEntity {
8
8
  declare readonly content?: string | null;
9
9
  declare readonly contentType?: string | null;
10
10
  declare readonly dateCreated?: Date | null;
11
- declare readonly format?: string | null;
12
11
  declare readonly name?: string | null;
13
12
  declare readonly origin?: string | null;
14
13
  declare readonly versionMajor?: number | null;
@@ -19,41 +18,36 @@ export default class Message extends AbstractApiEntity {
19
18
  static readonly ORIGIN_NODE = 'node';
20
19
  static readonly ORIGIN_USER = 'user';
21
20
 
22
- static readonly CONTENT_TYPE_ACTIONS = 'actions';
23
- static readonly CONTENT_TYPE_ANALYSIS = 'analysis';
24
- static readonly CONTENT_TYPE_CONVERSATION = 'conversation';
25
- static readonly CONTENT_TYPE_DEBUG = 'debug';
26
- static readonly CONTENT_TYPE_DEFAULT = 'default';
27
- static readonly CONTENT_TYPE_DOWNLOAD = 'download';
28
- static readonly CONTENT_TYPE_ERROR = 'error';
29
- static readonly CONTENT_TYPE_FORM = 'form';
30
- static readonly CONTENT_TYPE_HTTP_RESPONSE = 'http_response';
31
- static readonly CONTENT_TYPE_IMAGE = 'image';
32
- static readonly CONTENT_TYPE_INFO = 'info';
33
- static readonly CONTENT_TYPE_LIST = 'list';
34
- static readonly CONTENT_TYPE_NAVIGATE = 'navigate';
35
- static readonly CONTENT_TYPE_NAVIGATED = 'navigated';
36
- static readonly CONTENT_TYPE_PROGRESS = 'progress';
37
- static readonly CONTENT_TYPE_REFERENCE = 'reference';
38
- static readonly CONTENT_TYPE_SESSION = 'session';
39
- static readonly CONTENT_TYPE_SESSION_EXPIRE = 'session_expire';
40
- static readonly CONTENT_TYPE_SESSION_STATUS = 'session_status';
41
- static readonly CONTENT_TYPE_SUCCESS = 'success';
42
- static readonly CONTENT_TYPE_THOUGHT = 'thought';
43
- static readonly CONTENT_TYPE_UPLOAD = 'upload';
44
- static readonly CONTENT_TYPE_URL = 'url';
45
- static readonly CONTENT_TYPE_VIDEO = 'video';
46
- static readonly CONTENT_TYPE_WARNING = 'warning';
47
-
48
- static readonly FORMAT_BOOLEAN = 'boolean';
49
- static readonly FORMAT_FLOAT = 'float';
50
- static readonly FORMAT_HTML = 'html';
51
- static readonly FORMAT_INTEGER = 'integer';
52
- static readonly FORMAT_JSON = 'json';
53
- static readonly FORMAT_MARKDOWN = 'markdown';
54
- static readonly FORMAT_NULL = 'null';
55
- static readonly FORMAT_TEXT = 'text';
56
- static readonly FORMAT_YAML = 'yaml';
21
+ static readonly CONTENT_TYPE_ACTIONS = 'conversation/actions';
22
+ static readonly CONTENT_TYPE_CONVERSATION_MESSAGE = 'conversation/message';
23
+ static readonly CONTENT_TYPE_DEBUG = 'core/debug';
24
+ static readonly CONTENT_TYPE_DOWNLOAD = 'core/download';
25
+ static readonly CONTENT_TYPE_ERROR = 'core/error';
26
+ static readonly CONTENT_TYPE_FORM = 'core/form';
27
+ static readonly CONTENT_TYPE_HTTP_RESPONSE = 'core/http_response';
28
+ static readonly CONTENT_TYPE_IMAGE = 'core/image';
29
+ static readonly CONTENT_TYPE_INFO = 'web/info';
30
+ static readonly CONTENT_TYPE_LIST = 'core/list';
31
+ static readonly CONTENT_TYPE_NAVIGATE = 'core/navigate';
32
+ static readonly CONTENT_TYPE_NAVIGATED = 'core/navigated';
33
+ static readonly CONTENT_TYPE_PROGRESS = 'core/progress';
34
+ static readonly CONTENT_TYPE_REFERENCE = 'core/reference';
35
+ static readonly CONTENT_TYPE_SESSION_EXPIRE = 'core/session_expire';
36
+ static readonly CONTENT_TYPE_SESSION_STATUS = 'core/session_status';
37
+ static readonly CONTENT_TYPE_SUCCESS = 'web/success';
38
+ static readonly CONTENT_TYPE_THOUGHT = 'conversation/thought';
39
+ static readonly CONTENT_TYPE_TOOL_CALL = 'core/tool_call';
40
+ static readonly CONTENT_TYPE_UPLOAD = 'core/upload';
41
+ static readonly CONTENT_TYPE_URL = 'core/url';
42
+ static readonly CONTENT_TYPE_VIDEO = 'core/video';
43
+ static readonly CONTENT_TYPE_WARNING = 'core/warning';
44
+ // The types of a message's shape alone: a text, a value as JSON.
45
+ static readonly CONTENT_TYPE_TEXT = 'content/text';
46
+ static readonly CONTENT_TYPE_MARKDOWN = 'content/markdown';
47
+ static readonly CONTENT_TYPE_HTML = 'content/html';
48
+ static readonly CONTENT_TYPE_YAML = 'content/yaml';
49
+ static readonly CONTENT_TYPE_JSON = 'content/json';
50
+ static readonly CONTENT_TYPE_OBJECT = 'content/object';
57
51
 
58
52
  static retrieveEntitySchema() {
59
53
  return schema;
@@ -64,41 +58,34 @@ export default class Message extends AbstractApiEntity {
64
58
  static isReply(message: Message): boolean {
65
59
  return (
66
60
  message.origin === Message.ORIGIN_NODE &&
67
- message.contentType === Message.CONTENT_TYPE_CONVERSATION
61
+ message.contentType === Message.CONTENT_TYPE_CONVERSATION_MESSAGE
68
62
  );
69
63
  }
70
64
 
71
65
  // A conversational message from any origin (user input included) —
72
66
  // what a chat history typically displays.
73
67
  static isConversation(message: Message): boolean {
74
- return message.contentType === Message.CONTENT_TYPE_CONVERSATION;
68
+ return message.contentType === Message.CONTENT_TYPE_CONVERSATION_MESSAGE;
75
69
  }
76
70
 
77
- // For JSON messages, the server already parses the content into
78
- // metadata.formattedContent; fall back to parsing the raw content.
79
- // Note: schema fields are read through getDataValue() because the
80
- // entity Proxy binds methods to the raw target, where `this.format`
81
- // and friends are not resolved.
71
+ // The content as its type reads it: the server read it already
72
+ // (`formattedContent`, a value for a type holding one); without it, the
73
+ // content as written. Note: schema fields are read through getDataValue()
74
+ // because the entity Proxy binds methods to the raw target.
82
75
  getParsedContent(): unknown {
83
- const format = this.getDataValue('format');
84
- const content = this.getDataValue('content');
85
-
86
- if (format !== Message.FORMAT_JSON) {
87
- return content;
76
+ const formatted = this.getDataValue('formattedContent');
77
+ if (formatted !== undefined) {
78
+ return formatted;
88
79
  }
89
80
 
90
81
  const metadata = this.metadata;
91
82
  if (metadata && !Array.isArray(metadata)) {
92
- const formatted = (metadata as Record<string, unknown>).formattedContent;
93
- if (formatted !== undefined && formatted !== null) {
94
- return formatted;
83
+ const inMetadata = (metadata as Record<string, unknown>).formattedContent;
84
+ if (inMetadata !== undefined && inMetadata !== null) {
85
+ return inMetadata;
95
86
  }
96
87
  }
97
88
 
98
- if (typeof content === 'string' && content.trim() !== '') {
99
- return JSON.parse(content);
100
- }
101
-
102
- return null;
89
+ return this.getDataValue('content');
103
90
  }
104
91
  }
@@ -0,0 +1,10 @@
1
+ import AbstractApiEntity from '@wexample/js-api-entity/Common/AbstractApiEntity';
2
+ import schema from '../data/entity/scenario_message.json';
3
+
4
+ export default class ScenarioMessage extends AbstractApiEntity {
5
+ static readonly entityName = 'scenarioMessage';
6
+
7
+ static retrieveEntitySchema() {
8
+ return schema;
9
+ }
10
+ }
@@ -1,8 +1,8 @@
1
1
  import AbstractApiEntity from '@wexample/js-api-entity/Common/AbstractApiEntity';
2
- import schema from '../data/entity/card.json';
2
+ import schema from '../data/entity/step.json';
3
3
 
4
- export default class Card extends AbstractApiEntity {
5
- static readonly entityName = 'card';
4
+ export default class Step extends AbstractApiEntity {
5
+ static readonly entityName = 'step';
6
6
 
7
7
  static retrieveEntitySchema() {
8
8
  return schema;
@@ -0,0 +1,10 @@
1
+ import AbstractApiEntity from '@wexample/js-api-entity/Common/AbstractApiEntity';
2
+ import schema from '../data/entity/step_message.json';
3
+
4
+ export default class StepMessage extends AbstractApiEntity {
5
+ static readonly entityName = 'stepMessage';
6
+
7
+ static retrieveEntitySchema() {
8
+ return schema;
9
+ }
10
+ }
@@ -0,0 +1,8 @@
1
+ import AbstractApiRepository from '@wexample/js-api-entity/Common/AbstractApiRepository';
2
+ import ScenarioMessage from '../Entity/ScenarioMessage.js';
3
+
4
+ export default class ScenarioMessageRepository extends AbstractApiRepository<ScenarioMessage> {
5
+ static getEntityType() {
6
+ return ScenarioMessage;
7
+ }
8
+ }
@@ -16,7 +16,6 @@ export type SessionMessagePayload = {
16
16
  content: string;
17
17
  name?: string | null;
18
18
  contentType?: string;
19
- format?: string;
20
19
  stamps?: string[];
21
20
  metadata?: Record<string, unknown> | unknown[] | null;
22
21
  };
@@ -26,7 +25,6 @@ export type SessionSendMessageOptions = {
26
25
  // Single-message shortcut; content/name/contentType/... describe one message.
27
26
  content?: string | null;
28
27
  contentType?: string;
29
- format?: string;
30
28
  stamps?: string[];
31
29
  name?: string | null;
32
30
  metadata?: Record<string, unknown> | unknown[] | null;
@@ -130,7 +128,6 @@ export default class SessionRepository extends AbstractApiRepository<Session> {
130
128
  content = null,
131
129
  files = [],
132
130
  contentType,
133
- format,
134
131
  stamps,
135
132
  name,
136
133
  metadata,
@@ -149,7 +146,6 @@ export default class SessionRepository extends AbstractApiRepository<Session> {
149
146
  this.buildMessagePayload({
150
147
  content: trimmedContent,
151
148
  contentType,
152
- format,
153
149
  stamps,
154
150
  name,
155
151
  metadata,
@@ -182,8 +178,7 @@ export default class SessionRepository extends AbstractApiRepository<Session> {
182
178
  protected buildMessagePayload(message: SessionMessagePayload) {
183
179
  return {
184
180
  content: message.content,
185
- contentType: message.contentType ?? Message.CONTENT_TYPE_CONVERSATION,
186
- format: message.format ?? Message.FORMAT_TEXT,
181
+ contentType: message.contentType ?? Message.CONTENT_TYPE_CONVERSATION_MESSAGE,
187
182
  stamps: message.stamps ?? [],
188
183
  metadata: message.metadata ?? null,
189
184
  name: message.name ?? null,
@@ -0,0 +1,8 @@
1
+ import AbstractApiRepository from '@wexample/js-api-entity/Common/AbstractApiRepository';
2
+ import StepMessage from '../Entity/StepMessage.js';
3
+
4
+ export default class StepMessageRepository extends AbstractApiRepository<StepMessage> {
5
+ static getEntityType() {
6
+ return StepMessage;
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ import AbstractApiRepository from '@wexample/js-api-entity/Common/AbstractApiRepository';
2
+ import Step from '../Entity/Step.js';
3
+
4
+ export default class StepRepository extends AbstractApiRepository<Step> {
5
+ static getEntityType() {
6
+ return Step;
7
+ }
8
+ }
@@ -1,10 +1,10 @@
1
1
  <script>
2
2
  import AbstractEntitySingleMixin from "@wexample/js-api-entity/Vue/AbstractEntitySingleMixin";
3
- import CardRelationEntityManipulatorVueMixin from '../EntityManipulator/CardRelationEntityManipulatorVueMixin';
3
+ import ScenarioMessageEntityManipulatorVueMixin from '../EntityManipulator/ScenarioMessageEntityManipulatorVueMixin';
4
4
  import Entity from '@wexample/symfony-design-system/components/_abstract/entity/entity.vue';
5
5
 
6
6
  export default {
7
7
  extends: Entity,
8
- mixins: [AbstractEntitySingleMixin, CardRelationEntityManipulatorVueMixin],
8
+ mixins: [AbstractEntitySingleMixin, ScenarioMessageEntityManipulatorVueMixin],
9
9
  };
10
10
  </script>
@@ -1,10 +1,10 @@
1
1
  <script>
2
2
  import AbstractEntitySingleMixin from "@wexample/js-api-entity/Vue/AbstractEntitySingleMixin";
3
- import CardEntityManipulatorVueMixin from '../EntityManipulator/CardEntityManipulatorVueMixin';
3
+ import StepEntityManipulatorVueMixin from '../EntityManipulator/StepEntityManipulatorVueMixin';
4
4
  import Entity from '@wexample/symfony-design-system/components/_abstract/entity/entity.vue';
5
5
 
6
6
  export default {
7
7
  extends: Entity,
8
- mixins: [AbstractEntitySingleMixin, CardEntityManipulatorVueMixin],
8
+ mixins: [AbstractEntitySingleMixin, StepEntityManipulatorVueMixin],
9
9
  };
10
10
  </script>
@@ -1,10 +1,10 @@
1
1
  <script>
2
2
  import AbstractEntitySingleMixin from "@wexample/js-api-entity/Vue/AbstractEntitySingleMixin";
3
- import CardMessageEntityManipulatorVueMixin from '../EntityManipulator/CardMessageEntityManipulatorVueMixin';
3
+ import StepMessageEntityManipulatorVueMixin from '../EntityManipulator/StepMessageEntityManipulatorVueMixin';
4
4
  import Entity from '@wexample/symfony-design-system/components/_abstract/entity/entity.vue';
5
5
 
6
6
  export default {
7
7
  extends: Entity,
8
- mixins: [AbstractEntitySingleMixin, CardMessageEntityManipulatorVueMixin],
8
+ mixins: [AbstractEntitySingleMixin, StepMessageEntityManipulatorVueMixin],
9
9
  };
10
10
  </script>
@@ -0,0 +1,9 @@
1
+ import ScenarioMessage from '../../../Entity/ScenarioMessage.js';
2
+
3
+ export default {
4
+ methods: {
5
+ getEntityClass() {
6
+ return ScenarioMessage;
7
+ },
8
+ },
9
+ };
@@ -1,9 +1,9 @@
1
- import Card from '../../../Entity/Card.js';
1
+ import Step from '../../../Entity/Step.js';
2
2
 
3
3
  export default {
4
4
  methods: {
5
5
  getEntityClass() {
6
- return Card;
6
+ return Step;
7
7
  },
8
8
  },
9
9
  };
@@ -0,0 +1,9 @@
1
+ import StepMessage from '../../../Entity/StepMessage.js';
2
+
3
+ export default {
4
+ methods: {
5
+ getEntityClass() {
6
+ return StepMessage;
7
+ },
8
+ },
9
+ };
@@ -129,6 +129,15 @@
129
129
  "indexes": {},
130
130
  "unique_constraints": {},
131
131
  "fields": {
132
+ "id": {
133
+ "kind": "field",
134
+ "column": "id",
135
+ "type": "uuid",
136
+ "nullable": false,
137
+ "unique": true,
138
+ "id": true,
139
+ "generated": false
140
+ },
132
141
  "content": {
133
142
  "kind": "field",
134
143
  "column": "content",
@@ -146,15 +155,6 @@
146
155
  "unique": false,
147
156
  "id": false,
148
157
  "generated": false
149
- },
150
- "id": {
151
- "kind": "field",
152
- "column": "id",
153
- "type": "uuid",
154
- "nullable": false,
155
- "unique": true,
156
- "id": true,
157
- "generated": false
158
158
  }
159
159
  },
160
160
  "associations": {
@@ -191,6 +191,15 @@
191
191
  "indexes": {},
192
192
  "unique_constraints": {},
193
193
  "fields": {
194
+ "id": {
195
+ "kind": "field",
196
+ "column": "id",
197
+ "type": "uuid",
198
+ "nullable": false,
199
+ "unique": true,
200
+ "id": true,
201
+ "generated": false
202
+ },
194
203
  "dateCreated": {
195
204
  "kind": "field",
196
205
  "column": "date_created",
@@ -248,15 +257,6 @@
248
257
  "unique": false,
249
258
  "id": false,
250
259
  "generated": false
251
- },
252
- "id": {
253
- "kind": "field",
254
- "column": "id",
255
- "type": "uuid",
256
- "nullable": false,
257
- "unique": true,
258
- "id": true,
259
- "generated": false
260
260
  }
261
261
  },
262
262
  "associations": {
@@ -55,6 +55,15 @@
55
55
  "indexes": {},
56
56
  "unique_constraints": {},
57
57
  "fields": {
58
+ "id": {
59
+ "kind": "field",
60
+ "column": "id",
61
+ "type": "uuid",
62
+ "nullable": false,
63
+ "unique": true,
64
+ "id": true,
65
+ "generated": false
66
+ },
58
67
  "name": {
59
68
  "kind": "field",
60
69
  "column": "name",
@@ -74,15 +83,6 @@
74
83
  "id": false,
75
84
  "generated": false,
76
85
  "length": 255
77
- },
78
- "id": {
79
- "kind": "field",
80
- "column": "id",
81
- "type": "uuid",
82
- "nullable": false,
83
- "unique": true,
84
- "id": true,
85
- "generated": false
86
86
  }
87
87
  },
88
88
  "associations": {}
@@ -189,6 +189,15 @@
189
189
  "indexes": {},
190
190
  "unique_constraints": {},
191
191
  "fields": {
192
+ "id": {
193
+ "kind": "field",
194
+ "column": "id",
195
+ "type": "uuid",
196
+ "nullable": false,
197
+ "unique": true,
198
+ "id": true,
199
+ "generated": false
200
+ },
192
201
  "dateCreated": {
193
202
  "kind": "field",
194
203
  "column": "date_created",
@@ -235,15 +244,6 @@
235
244
  "id": false,
236
245
  "generated": false
237
246
  },
238
- "id": {
239
- "kind": "field",
240
- "column": "id",
241
- "type": "uuid",
242
- "nullable": false,
243
- "unique": true,
244
- "id": true,
245
- "generated": false
246
- },
247
247
  "title": {
248
248
  "kind": "field",
249
249
  "column": "title",