syrtis-python-client-internal 2.2.0__py3-none-any.whl → 2.3.0__py3-none-any.whl
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.
- syrtis_python_client_internal/common/generated_entities.py +10 -0
- syrtis_python_client_internal/common/generated_entity_schemas.py +5 -0
- syrtis_python_client_internal/common/generated_external_relations.py +1 -2
- syrtis_python_client_internal/common/generated_repositories.py +10 -0
- syrtis_python_client_internal/data/entity/artifact.json +209 -119
- syrtis_python_client_internal/data/entity/content_type.json +0 -24
- syrtis_python_client_internal/data/entity/credential.json +0 -24
- syrtis_python_client_internal/data/entity/credential_parameter.json +0 -24
- syrtis_python_client_internal/data/entity/dashboard.json +0 -24
- syrtis_python_client_internal/data/entity/directory.json +0 -24
- syrtis_python_client_internal/data/entity/evaluation.json +482 -0
- syrtis_python_client_internal/data/entity/evaluation_case.json +268 -0
- syrtis_python_client_internal/data/entity/evaluation_run.json +186 -0
- syrtis_python_client_internal/data/entity/extension.json +0 -24
- syrtis_python_client_internal/data/entity/log.json +0 -24
- syrtis_python_client_internal/data/entity/model.json +0 -24
- syrtis_python_client_internal/data/entity/model_provider.json +0 -24
- syrtis_python_client_internal/data/entity/panel.json +0 -24
- syrtis_python_client_internal/data/entity/pipeline.json +165 -149
- syrtis_python_client_internal/data/entity/pipeline_run.json +263 -0
- syrtis_python_client_internal/data/entity/project.json +49 -24
- syrtis_python_client_internal/data/entity/projection.json +121 -109
- syrtis_python_client_internal/data/entity/projection_config.json +11 -83
- syrtis_python_client_internal/data/entity/projection_relation.json +44 -111
- syrtis_python_client_internal/data/entity/slot_filter.json +189 -0
- syrtis_python_client_internal/data/entity/source.json +21 -20
- syrtis_python_client_internal/data/entity/storage.json +0 -24
- syrtis_python_client_internal/database/generated_repositories.py +10 -0
- syrtis_python_client_internal/database/repository/evaluation_case_repository.py +11 -0
- syrtis_python_client_internal/database/repository/evaluation_repository.py +11 -0
- syrtis_python_client_internal/database/repository/evaluation_run_repository.py +11 -0
- syrtis_python_client_internal/database/repository/generated/evaluation_case_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/evaluation_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/evaluation_run_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/pipeline_run_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/slot_filter_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/pipeline_run_repository.py +11 -0
- syrtis_python_client_internal/database/repository/slot_filter_repository.py +11 -0
- syrtis_python_client_internal/entity/evaluation.py +13 -0
- syrtis_python_client_internal/entity/evaluation_case.py +13 -0
- syrtis_python_client_internal/entity/evaluation_run.py +13 -0
- syrtis_python_client_internal/entity/generated/artifact_generated.py +26 -17
- syrtis_python_client_internal/entity/generated/content_type_generated.py +0 -3
- syrtis_python_client_internal/entity/generated/credential_generated.py +0 -3
- syrtis_python_client_internal/entity/generated/credential_parameter_generated.py +0 -3
- syrtis_python_client_internal/entity/generated/dashboard_generated.py +0 -3
- syrtis_python_client_internal/entity/generated/directory_generated.py +0 -3
- syrtis_python_client_internal/entity/generated/evaluation_case_generated.py +37 -0
- syrtis_python_client_internal/entity/generated/evaluation_generated.py +64 -0
- syrtis_python_client_internal/entity/generated/evaluation_run_generated.py +28 -0
- syrtis_python_client_internal/entity/generated/extension_generated.py +0 -3
- syrtis_python_client_internal/entity/generated/log_generated.py +0 -3
- syrtis_python_client_internal/entity/generated/model_generated.py +0 -3
- syrtis_python_client_internal/entity/generated/model_provider_generated.py +0 -3
- syrtis_python_client_internal/entity/generated/panel_generated.py +0 -3
- syrtis_python_client_internal/entity/generated/pipeline_generated.py +20 -20
- syrtis_python_client_internal/entity/generated/pipeline_projection_generated.py +1 -1
- syrtis_python_client_internal/entity/generated/pipeline_run_generated.py +37 -0
- syrtis_python_client_internal/entity/generated/project_generated.py +6 -3
- syrtis_python_client_internal/entity/generated/projection_config_generated.py +0 -9
- syrtis_python_client_internal/entity/generated/projection_generated.py +13 -13
- syrtis_python_client_internal/entity/generated/projection_relation_generated.py +5 -14
- syrtis_python_client_internal/entity/generated/slot_filter_generated.py +28 -0
- syrtis_python_client_internal/entity/generated/source_generated.py +4 -4
- syrtis_python_client_internal/entity/generated/storage_generated.py +0 -3
- syrtis_python_client_internal/entity/pipeline_run.py +13 -0
- syrtis_python_client_internal/entity/slot_filter.py +13 -0
- syrtis_python_client_internal/repository/evaluation_case_repository.py +8 -0
- syrtis_python_client_internal/repository/evaluation_repository.py +8 -0
- syrtis_python_client_internal/repository/evaluation_run_repository.py +8 -0
- syrtis_python_client_internal/repository/pipeline_run_repository.py +8 -0
- syrtis_python_client_internal/repository/slot_filter_repository.py +8 -0
- {syrtis_python_client_internal-2.2.0.dist-info → syrtis_python_client_internal-2.3.0.dist-info}/METADATA +3 -3
- {syrtis_python_client_internal-2.2.0.dist-info → syrtis_python_client_internal-2.3.0.dist-info}/RECORD +76 -46
- {syrtis_python_client_internal-2.2.0.dist-info → syrtis_python_client_internal-2.3.0.dist-info}/WHEEL +0 -0
- {syrtis_python_client_internal-2.2.0.dist-info → syrtis_python_client_internal-2.3.0.dist-info}/entry_points.txt +0 -0
|
@@ -24,6 +24,9 @@ from syrtis_python_client_internal.entity.dashboard import Dashboard
|
|
|
24
24
|
from syrtis_python_client_internal.entity.directory import Directory
|
|
25
25
|
from syrtis_python_client_internal.entity.document_directory import DocumentDirectory
|
|
26
26
|
from syrtis_python_client_internal.entity.embedding import Embedding
|
|
27
|
+
from syrtis_python_client_internal.entity.evaluation import Evaluation
|
|
28
|
+
from syrtis_python_client_internal.entity.evaluation_case import EvaluationCase
|
|
29
|
+
from syrtis_python_client_internal.entity.evaluation_run import EvaluationRun
|
|
27
30
|
from syrtis_python_client_internal.entity.extension import Extension
|
|
28
31
|
from syrtis_python_client_internal.entity.instruction import Instruction
|
|
29
32
|
from syrtis_python_client_internal.entity.internal_sample import InternalSample
|
|
@@ -38,6 +41,7 @@ from syrtis_python_client_internal.entity.panel_stamp import PanelStamp
|
|
|
38
41
|
from syrtis_python_client_internal.entity.pipeline import Pipeline
|
|
39
42
|
from syrtis_python_client_internal.entity.pipeline_operator import PipelineOperator
|
|
40
43
|
from syrtis_python_client_internal.entity.pipeline_projection import PipelineProjection
|
|
44
|
+
from syrtis_python_client_internal.entity.pipeline_run import PipelineRun
|
|
41
45
|
from syrtis_python_client_internal.entity.project import Project
|
|
42
46
|
from syrtis_python_client_internal.entity.projection import Projection
|
|
43
47
|
from syrtis_python_client_internal.entity.projection_config import ProjectionConfig
|
|
@@ -46,6 +50,7 @@ from syrtis_python_client_internal.entity.prompt import Prompt
|
|
|
46
50
|
from syrtis_python_client_internal.entity.schema import Schema
|
|
47
51
|
from syrtis_python_client_internal.entity.search_result import SearchResult
|
|
48
52
|
from syrtis_python_client_internal.entity.session_group import SessionGroup
|
|
53
|
+
from syrtis_python_client_internal.entity.slot_filter import SlotFilter
|
|
49
54
|
from syrtis_python_client_internal.entity.slot_input import SlotInput
|
|
50
55
|
from syrtis_python_client_internal.entity.slot_input_block import SlotInputBlock
|
|
51
56
|
from syrtis_python_client_internal.entity.slot_marking import SlotMarking
|
|
@@ -87,6 +92,9 @@ generated_entities = [
|
|
|
87
92
|
Directory,
|
|
88
93
|
DocumentDirectory,
|
|
89
94
|
Embedding,
|
|
95
|
+
Evaluation,
|
|
96
|
+
EvaluationCase,
|
|
97
|
+
EvaluationRun,
|
|
90
98
|
Extension,
|
|
91
99
|
Instruction,
|
|
92
100
|
InternalSample,
|
|
@@ -101,6 +109,7 @@ generated_entities = [
|
|
|
101
109
|
Pipeline,
|
|
102
110
|
PipelineOperator,
|
|
103
111
|
PipelineProjection,
|
|
112
|
+
PipelineRun,
|
|
104
113
|
Project,
|
|
105
114
|
Projection,
|
|
106
115
|
ProjectionConfig,
|
|
@@ -109,6 +118,7 @@ generated_entities = [
|
|
|
109
118
|
Schema,
|
|
110
119
|
SearchResult,
|
|
111
120
|
SessionGroup,
|
|
121
|
+
SlotFilter,
|
|
112
122
|
SlotInput,
|
|
113
123
|
SlotInputBlock,
|
|
114
124
|
SlotMarking,
|
|
@@ -26,6 +26,9 @@ ENTITY_SCHEMA_FILES = [
|
|
|
26
26
|
"directory.json",
|
|
27
27
|
"document_directory.json",
|
|
28
28
|
"embedding.json",
|
|
29
|
+
"evaluation.json",
|
|
30
|
+
"evaluation_case.json",
|
|
31
|
+
"evaluation_run.json",
|
|
29
32
|
"extension.json",
|
|
30
33
|
"instruction.json",
|
|
31
34
|
"internal_sample.json",
|
|
@@ -40,6 +43,7 @@ ENTITY_SCHEMA_FILES = [
|
|
|
40
43
|
"pipeline.json",
|
|
41
44
|
"pipeline_operator.json",
|
|
42
45
|
"pipeline_projection.json",
|
|
46
|
+
"pipeline_run.json",
|
|
43
47
|
"project.json",
|
|
44
48
|
"projection.json",
|
|
45
49
|
"projection_config.json",
|
|
@@ -48,6 +52,7 @@ ENTITY_SCHEMA_FILES = [
|
|
|
48
52
|
"schema.json",
|
|
49
53
|
"search_result.json",
|
|
50
54
|
"session_group.json",
|
|
55
|
+
"slot_filter.json",
|
|
51
56
|
"slot_input.json",
|
|
52
57
|
"slot_input_block.json",
|
|
53
58
|
"slot_marking.json",
|
|
@@ -4,7 +4,6 @@ from sqlalchemy.orm import relationship
|
|
|
4
4
|
from syrtis_python_client.entity.chunk import Chunk
|
|
5
5
|
from syrtis_python_client.entity.document import Document
|
|
6
6
|
from syrtis_python_client.entity.message import Message
|
|
7
|
-
from syrtis_python_client.entity.request import Request
|
|
8
7
|
from syrtis_python_client.entity.scenario import Scenario
|
|
9
8
|
from syrtis_python_client.entity.session import Session
|
|
10
9
|
from syrtis_python_client.entity.slot import Slot
|
|
@@ -14,10 +13,10 @@ Chunk.embeddings = relationship('Embedding', primaryjoin='Chunk.id == foreign(Em
|
|
|
14
13
|
Document.project = relationship('Project', primaryjoin='foreign(Document.project_id) == Project.id', lazy='select')
|
|
15
14
|
Document.documentDirectories = relationship('DocumentDirectory', primaryjoin='Document.id == foreign(DocumentDirectory.document_id)', viewonly=True, lazy='select')
|
|
16
15
|
Message.model = relationship('Model', primaryjoin='foreign(Message.model_id) == Model.id', lazy='select')
|
|
17
|
-
Request.projection = relationship('Projection', primaryjoin='foreign(Request.projection_id) == Projection.id', lazy='select')
|
|
18
16
|
Scenario.project = relationship('Project', primaryjoin='foreign(Scenario.project_id) == Project.id', lazy='select')
|
|
19
17
|
Session.sessionGroup = relationship('SessionGroup', primaryjoin='foreign(Session.session_group_id) == SessionGroup.id', lazy='select')
|
|
20
18
|
Session.token = relationship('Token', primaryjoin='foreign(Session.token_id) == Token.id', lazy='select')
|
|
21
19
|
Slot.slotMarkings = relationship('SlotMarking', primaryjoin='Slot.id == foreign(SlotMarking.slot_id)', viewonly=True, lazy='select')
|
|
22
20
|
Slot.slotInputs = relationship('SlotInput', primaryjoin='Slot.id == foreign(SlotInput.slot_id)', viewonly=True, lazy='select')
|
|
23
21
|
Slot.slotOutputMessages = relationship('SlotOutputMessage', primaryjoin='Slot.id == foreign(SlotOutputMessage.slot_id)', viewonly=True, lazy='select')
|
|
22
|
+
Slot.slotFilters = relationship('SlotFilter', primaryjoin='Slot.id == foreign(SlotFilter.slot_id)', viewonly=True, lazy='select')
|
|
@@ -19,6 +19,9 @@ from syrtis_python_client_internal.repository.dashboard_repository import Dashbo
|
|
|
19
19
|
from syrtis_python_client_internal.repository.directory_repository import DirectoryRepository
|
|
20
20
|
from syrtis_python_client_internal.repository.document_directory_repository import DocumentDirectoryRepository
|
|
21
21
|
from syrtis_python_client_internal.repository.embedding_repository import EmbeddingRepository
|
|
22
|
+
from syrtis_python_client_internal.repository.evaluation_case_repository import EvaluationCaseRepository
|
|
23
|
+
from syrtis_python_client_internal.repository.evaluation_repository import EvaluationRepository
|
|
24
|
+
from syrtis_python_client_internal.repository.evaluation_run_repository import EvaluationRunRepository
|
|
22
25
|
from syrtis_python_client_internal.repository.extension_repository import ExtensionRepository
|
|
23
26
|
from syrtis_python_client_internal.repository.instruction_repository import InstructionRepository
|
|
24
27
|
from syrtis_python_client_internal.repository.internal_sample_repository import InternalSampleRepository
|
|
@@ -33,6 +36,7 @@ from syrtis_python_client_internal.repository.panel_stamp_repository import Pane
|
|
|
33
36
|
from syrtis_python_client_internal.repository.pipeline_operator_repository import PipelineOperatorRepository
|
|
34
37
|
from syrtis_python_client_internal.repository.pipeline_projection_repository import PipelineProjectionRepository
|
|
35
38
|
from syrtis_python_client_internal.repository.pipeline_repository import PipelineRepository
|
|
39
|
+
from syrtis_python_client_internal.repository.pipeline_run_repository import PipelineRunRepository
|
|
36
40
|
from syrtis_python_client_internal.repository.project_repository import ProjectRepository
|
|
37
41
|
from syrtis_python_client_internal.repository.projection_config_repository import ProjectionConfigRepository
|
|
38
42
|
from syrtis_python_client_internal.repository.projection_relation_repository import ProjectionRelationRepository
|
|
@@ -41,6 +45,7 @@ from syrtis_python_client_internal.repository.prompt_repository import PromptRep
|
|
|
41
45
|
from syrtis_python_client_internal.repository.schema_repository import SchemaRepository
|
|
42
46
|
from syrtis_python_client_internal.repository.search_result_repository import SearchResultRepository
|
|
43
47
|
from syrtis_python_client_internal.repository.session_group_repository import SessionGroupRepository
|
|
48
|
+
from syrtis_python_client_internal.repository.slot_filter_repository import SlotFilterRepository
|
|
44
49
|
from syrtis_python_client_internal.repository.slot_input_block_repository import SlotInputBlockRepository
|
|
45
50
|
from syrtis_python_client_internal.repository.slot_input_repository import SlotInputRepository
|
|
46
51
|
from syrtis_python_client_internal.repository.slot_marking_repository import SlotMarkingRepository
|
|
@@ -81,6 +86,9 @@ generated_repositories = [
|
|
|
81
86
|
DirectoryRepository,
|
|
82
87
|
DocumentDirectoryRepository,
|
|
83
88
|
EmbeddingRepository,
|
|
89
|
+
EvaluationCaseRepository,
|
|
90
|
+
EvaluationRepository,
|
|
91
|
+
EvaluationRunRepository,
|
|
84
92
|
ExtensionRepository,
|
|
85
93
|
InstructionRepository,
|
|
86
94
|
InternalSampleRepository,
|
|
@@ -95,6 +103,7 @@ generated_repositories = [
|
|
|
95
103
|
PipelineOperatorRepository,
|
|
96
104
|
PipelineProjectionRepository,
|
|
97
105
|
PipelineRepository,
|
|
106
|
+
PipelineRunRepository,
|
|
98
107
|
ProjectRepository,
|
|
99
108
|
ProjectionConfigRepository,
|
|
100
109
|
ProjectionRelationRepository,
|
|
@@ -103,6 +112,7 @@ generated_repositories = [
|
|
|
103
112
|
SchemaRepository,
|
|
104
113
|
SearchResultRepository,
|
|
105
114
|
SessionGroupRepository,
|
|
115
|
+
SlotFilterRepository,
|
|
106
116
|
SlotInputBlockRepository,
|
|
107
117
|
SlotInputRepository,
|
|
108
118
|
SlotMarkingRepository,
|
|
@@ -1,31 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "artifact",
|
|
3
|
+
"description": "One element of a projection, as its last run made it: written by the\ncore once the stage ends, the run before's rows gone. Its key is its\nidentity, kept by what derives from it; its parents are the keys it was\nmade from. What is kept here is its reference — the storage its content\nwas written to, and where in it (`locator`) — and what describes it; its\ncontent is in the storage, never here.",
|
|
3
4
|
"properties": [
|
|
4
5
|
{
|
|
5
|
-
"name": "
|
|
6
|
-
"type": "
|
|
6
|
+
"name": "id",
|
|
7
|
+
"type": "Symfony\\Component\\Uid\\Uuid",
|
|
7
8
|
"orm": {
|
|
8
9
|
"kind": "field",
|
|
9
|
-
"column": "
|
|
10
|
-
"type": "
|
|
10
|
+
"column": "id",
|
|
11
|
+
"type": "uuid",
|
|
11
12
|
"nullable": false,
|
|
12
|
-
"unique":
|
|
13
|
-
"id":
|
|
14
|
-
"generated": false
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
"unique": true,
|
|
14
|
+
"id": true,
|
|
15
|
+
"generated": false
|
|
16
|
+
},
|
|
17
|
+
"default": null
|
|
17
18
|
},
|
|
18
19
|
{
|
|
19
|
-
"name": "
|
|
20
|
+
"name": "projection",
|
|
20
21
|
"type": "relation",
|
|
21
22
|
"nullable": true,
|
|
22
23
|
"default": null,
|
|
23
|
-
"target": "
|
|
24
|
+
"target": "projection",
|
|
24
25
|
"orm": {
|
|
25
26
|
"kind": "association",
|
|
26
27
|
"association_type": "many_to_one",
|
|
27
|
-
"target_entity": "App\\Entity\\
|
|
28
|
-
"target": "
|
|
28
|
+
"target_entity": "App\\Entity\\Projection",
|
|
29
|
+
"target": "projection",
|
|
29
30
|
"mapped_by": null,
|
|
30
31
|
"inversed_by": null,
|
|
31
32
|
"is_owning_side": true,
|
|
@@ -34,15 +35,47 @@
|
|
|
34
35
|
"fetch": 2,
|
|
35
36
|
"join_columns": [
|
|
36
37
|
{
|
|
37
|
-
"name": "
|
|
38
|
+
"name": "projection_id",
|
|
38
39
|
"referenced_column_name": "id",
|
|
39
40
|
"nullable": false,
|
|
40
41
|
"unique": false,
|
|
41
|
-
"on_delete":
|
|
42
|
+
"on_delete": "CASCADE"
|
|
42
43
|
}
|
|
43
44
|
]
|
|
44
45
|
}
|
|
45
46
|
},
|
|
47
|
+
{
|
|
48
|
+
"name": "key",
|
|
49
|
+
"type": "string",
|
|
50
|
+
"default": "",
|
|
51
|
+
"orm": {
|
|
52
|
+
"kind": "field",
|
|
53
|
+
"column": "element_key",
|
|
54
|
+
"type": "string",
|
|
55
|
+
"nullable": false,
|
|
56
|
+
"unique": false,
|
|
57
|
+
"id": false,
|
|
58
|
+
"generated": false,
|
|
59
|
+
"length": 255
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "contentType",
|
|
64
|
+
"type": "string",
|
|
65
|
+
"default": "",
|
|
66
|
+
"orm": {
|
|
67
|
+
"kind": "field",
|
|
68
|
+
"column": "content_type",
|
|
69
|
+
"type": "string",
|
|
70
|
+
"nullable": false,
|
|
71
|
+
"unique": false,
|
|
72
|
+
"id": false,
|
|
73
|
+
"generated": false,
|
|
74
|
+
"length": 128
|
|
75
|
+
},
|
|
76
|
+
"nullable": true,
|
|
77
|
+
"target": "content_type"
|
|
78
|
+
},
|
|
46
79
|
{
|
|
47
80
|
"name": "storage",
|
|
48
81
|
"type": "relation",
|
|
@@ -66,79 +99,100 @@
|
|
|
66
99
|
"referenced_column_name": "id",
|
|
67
100
|
"nullable": false,
|
|
68
101
|
"unique": false,
|
|
69
|
-
"on_delete":
|
|
102
|
+
"on_delete": "RESTRICT"
|
|
70
103
|
}
|
|
71
104
|
]
|
|
72
105
|
}
|
|
73
106
|
},
|
|
74
107
|
{
|
|
75
|
-
"name": "
|
|
76
|
-
"type": "
|
|
108
|
+
"name": "locator",
|
|
109
|
+
"type": "string",
|
|
110
|
+
"default": "",
|
|
77
111
|
"orm": {
|
|
78
112
|
"kind": "field",
|
|
79
|
-
"column": "
|
|
80
|
-
"type": "
|
|
113
|
+
"column": "locator",
|
|
114
|
+
"type": "string",
|
|
81
115
|
"nullable": false,
|
|
82
|
-
"unique":
|
|
83
|
-
"id":
|
|
116
|
+
"unique": false,
|
|
117
|
+
"id": false,
|
|
118
|
+
"generated": false,
|
|
119
|
+
"length": 512
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "size",
|
|
124
|
+
"type": "int",
|
|
125
|
+
"default": 0,
|
|
126
|
+
"orm": {
|
|
127
|
+
"kind": "field",
|
|
128
|
+
"column": "size",
|
|
129
|
+
"type": "integer",
|
|
130
|
+
"nullable": false,
|
|
131
|
+
"unique": false,
|
|
132
|
+
"id": false,
|
|
133
|
+
"generated": false,
|
|
134
|
+
"options": {
|
|
135
|
+
"default": 0
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"name": "metadata",
|
|
141
|
+
"type": "array",
|
|
142
|
+
"default": {},
|
|
143
|
+
"orm": {
|
|
144
|
+
"kind": "field",
|
|
145
|
+
"column": "metadata",
|
|
146
|
+
"type": "json",
|
|
147
|
+
"nullable": false,
|
|
148
|
+
"unique": false,
|
|
149
|
+
"id": false,
|
|
84
150
|
"generated": false
|
|
85
|
-
}
|
|
86
|
-
"default": null
|
|
151
|
+
}
|
|
87
152
|
},
|
|
88
153
|
{
|
|
89
|
-
"name": "
|
|
90
|
-
"type": "
|
|
91
|
-
"
|
|
92
|
-
"default": null,
|
|
93
|
-
"target": "projection",
|
|
154
|
+
"name": "parents",
|
|
155
|
+
"type": "array",
|
|
156
|
+
"default": {},
|
|
94
157
|
"orm": {
|
|
95
|
-
"kind": "
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
158
|
+
"kind": "field",
|
|
159
|
+
"column": "parents",
|
|
160
|
+
"type": "json",
|
|
161
|
+
"nullable": false,
|
|
162
|
+
"unique": false,
|
|
163
|
+
"id": false,
|
|
164
|
+
"generated": false
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"name": "position",
|
|
169
|
+
"type": "int",
|
|
170
|
+
"default": 0,
|
|
171
|
+
"orm": {
|
|
172
|
+
"kind": "field",
|
|
173
|
+
"column": "position",
|
|
174
|
+
"type": "integer",
|
|
175
|
+
"nullable": false,
|
|
176
|
+
"unique": false,
|
|
177
|
+
"id": false,
|
|
178
|
+
"generated": false,
|
|
179
|
+
"options": {
|
|
180
|
+
"default": 0
|
|
181
|
+
}
|
|
114
182
|
}
|
|
115
183
|
},
|
|
116
184
|
{
|
|
117
|
-
"name": "
|
|
185
|
+
"name": "dateCreated",
|
|
118
186
|
"type": "relation",
|
|
119
|
-
"
|
|
120
|
-
"default": null,
|
|
121
|
-
"target": "operator_port",
|
|
187
|
+
"target": "date_time_immutable",
|
|
122
188
|
"orm": {
|
|
123
|
-
"kind": "
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
"orphan_removal": false,
|
|
131
|
-
"cascade": {},
|
|
132
|
-
"fetch": 2,
|
|
133
|
-
"join_columns": [
|
|
134
|
-
{
|
|
135
|
-
"name": "operator_port_id",
|
|
136
|
-
"referenced_column_name": "id",
|
|
137
|
-
"nullable": false,
|
|
138
|
-
"unique": false,
|
|
139
|
-
"on_delete": null
|
|
140
|
-
}
|
|
141
|
-
]
|
|
189
|
+
"kind": "field",
|
|
190
|
+
"column": "date_created",
|
|
191
|
+
"type": "datetime_immutable",
|
|
192
|
+
"nullable": false,
|
|
193
|
+
"unique": false,
|
|
194
|
+
"id": false,
|
|
195
|
+
"generated": false
|
|
142
196
|
}
|
|
143
197
|
}
|
|
144
198
|
],
|
|
@@ -148,7 +202,14 @@
|
|
|
148
202
|
"identifier": [
|
|
149
203
|
"id"
|
|
150
204
|
],
|
|
151
|
-
"indexes":
|
|
205
|
+
"indexes": [
|
|
206
|
+
{
|
|
207
|
+
"columns": [
|
|
208
|
+
"projection_id",
|
|
209
|
+
"position"
|
|
210
|
+
]
|
|
211
|
+
}
|
|
212
|
+
],
|
|
152
213
|
"unique_constraints": {},
|
|
153
214
|
"fields": {
|
|
154
215
|
"id": {
|
|
@@ -160,15 +221,86 @@
|
|
|
160
221
|
"id": true,
|
|
161
222
|
"generated": false
|
|
162
223
|
},
|
|
163
|
-
"
|
|
224
|
+
"key": {
|
|
164
225
|
"kind": "field",
|
|
165
|
-
"column": "
|
|
226
|
+
"column": "element_key",
|
|
166
227
|
"type": "string",
|
|
167
228
|
"nullable": false,
|
|
168
229
|
"unique": false,
|
|
169
230
|
"id": false,
|
|
170
231
|
"generated": false,
|
|
171
232
|
"length": 255
|
|
233
|
+
},
|
|
234
|
+
"contentType": {
|
|
235
|
+
"kind": "field",
|
|
236
|
+
"column": "content_type",
|
|
237
|
+
"type": "string",
|
|
238
|
+
"nullable": false,
|
|
239
|
+
"unique": false,
|
|
240
|
+
"id": false,
|
|
241
|
+
"generated": false,
|
|
242
|
+
"length": 128
|
|
243
|
+
},
|
|
244
|
+
"locator": {
|
|
245
|
+
"kind": "field",
|
|
246
|
+
"column": "locator",
|
|
247
|
+
"type": "string",
|
|
248
|
+
"nullable": false,
|
|
249
|
+
"unique": false,
|
|
250
|
+
"id": false,
|
|
251
|
+
"generated": false,
|
|
252
|
+
"length": 512
|
|
253
|
+
},
|
|
254
|
+
"size": {
|
|
255
|
+
"kind": "field",
|
|
256
|
+
"column": "size",
|
|
257
|
+
"type": "integer",
|
|
258
|
+
"nullable": false,
|
|
259
|
+
"unique": false,
|
|
260
|
+
"id": false,
|
|
261
|
+
"generated": false,
|
|
262
|
+
"options": {
|
|
263
|
+
"default": 0
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
"metadata": {
|
|
267
|
+
"kind": "field",
|
|
268
|
+
"column": "metadata",
|
|
269
|
+
"type": "json",
|
|
270
|
+
"nullable": false,
|
|
271
|
+
"unique": false,
|
|
272
|
+
"id": false,
|
|
273
|
+
"generated": false
|
|
274
|
+
},
|
|
275
|
+
"parents": {
|
|
276
|
+
"kind": "field",
|
|
277
|
+
"column": "parents",
|
|
278
|
+
"type": "json",
|
|
279
|
+
"nullable": false,
|
|
280
|
+
"unique": false,
|
|
281
|
+
"id": false,
|
|
282
|
+
"generated": false
|
|
283
|
+
},
|
|
284
|
+
"position": {
|
|
285
|
+
"kind": "field",
|
|
286
|
+
"column": "position",
|
|
287
|
+
"type": "integer",
|
|
288
|
+
"nullable": false,
|
|
289
|
+
"unique": false,
|
|
290
|
+
"id": false,
|
|
291
|
+
"generated": false,
|
|
292
|
+
"options": {
|
|
293
|
+
"default": 0
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
"dateCreated": {
|
|
297
|
+
"kind": "field",
|
|
298
|
+
"column": "date_created",
|
|
299
|
+
"type": "datetime_immutable",
|
|
300
|
+
"nullable": false,
|
|
301
|
+
"unique": false,
|
|
302
|
+
"id": false,
|
|
303
|
+
"generated": false
|
|
172
304
|
}
|
|
173
305
|
},
|
|
174
306
|
"associations": {
|
|
@@ -178,27 +310,6 @@
|
|
|
178
310
|
"target_entity": "App\\Entity\\Projection",
|
|
179
311
|
"target": "projection",
|
|
180
312
|
"mapped_by": null,
|
|
181
|
-
"inversed_by": "artifacts",
|
|
182
|
-
"is_owning_side": true,
|
|
183
|
-
"orphan_removal": false,
|
|
184
|
-
"cascade": {},
|
|
185
|
-
"fetch": 2,
|
|
186
|
-
"join_columns": [
|
|
187
|
-
{
|
|
188
|
-
"name": "projection_id",
|
|
189
|
-
"referenced_column_name": "id",
|
|
190
|
-
"nullable": false,
|
|
191
|
-
"unique": false,
|
|
192
|
-
"on_delete": null
|
|
193
|
-
}
|
|
194
|
-
]
|
|
195
|
-
},
|
|
196
|
-
"operatorPort": {
|
|
197
|
-
"kind": "association",
|
|
198
|
-
"association_type": "many_to_one",
|
|
199
|
-
"target_entity": "App\\Entity\\OperatorPort",
|
|
200
|
-
"target": "operator_port",
|
|
201
|
-
"mapped_by": null,
|
|
202
313
|
"inversed_by": null,
|
|
203
314
|
"is_owning_side": true,
|
|
204
315
|
"orphan_removal": false,
|
|
@@ -206,32 +317,11 @@
|
|
|
206
317
|
"fetch": 2,
|
|
207
318
|
"join_columns": [
|
|
208
319
|
{
|
|
209
|
-
"name": "
|
|
210
|
-
"referenced_column_name": "id",
|
|
211
|
-
"nullable": false,
|
|
212
|
-
"unique": false,
|
|
213
|
-
"on_delete": null
|
|
214
|
-
}
|
|
215
|
-
]
|
|
216
|
-
},
|
|
217
|
-
"contentType": {
|
|
218
|
-
"kind": "association",
|
|
219
|
-
"association_type": "many_to_one",
|
|
220
|
-
"target_entity": "App\\Entity\\ContentType",
|
|
221
|
-
"target": "content_type",
|
|
222
|
-
"mapped_by": null,
|
|
223
|
-
"inversed_by": null,
|
|
224
|
-
"is_owning_side": true,
|
|
225
|
-
"orphan_removal": false,
|
|
226
|
-
"cascade": {},
|
|
227
|
-
"fetch": 2,
|
|
228
|
-
"join_columns": [
|
|
229
|
-
{
|
|
230
|
-
"name": "content_type_id",
|
|
320
|
+
"name": "projection_id",
|
|
231
321
|
"referenced_column_name": "id",
|
|
232
322
|
"nullable": false,
|
|
233
323
|
"unique": false,
|
|
234
|
-
"on_delete":
|
|
324
|
+
"on_delete": "CASCADE"
|
|
235
325
|
}
|
|
236
326
|
]
|
|
237
327
|
},
|
|
@@ -252,7 +342,7 @@
|
|
|
252
342
|
"referenced_column_name": "id",
|
|
253
343
|
"nullable": false,
|
|
254
344
|
"unique": false,
|
|
255
|
-
"on_delete":
|
|
345
|
+
"on_delete": "RESTRICT"
|
|
256
346
|
}
|
|
257
347
|
]
|
|
258
348
|
}
|
|
@@ -2,20 +2,6 @@
|
|
|
2
2
|
"name": "content_type",
|
|
3
3
|
"description": "What a message holds, by name, and the JSON schema its content follows. A\nname is a namespace and a local name, `web/text_input`: the namespace says\nwho defines the type — the code (`core`, `content`, `conversation`), an\nadministrator (`platform`), a norm the schemas are copied from (`web`,\n`document`), or a project, by its id. The platform's types belong to no\nproject, every project reads them; a\nproject's are its own. A name is one type wherever it is read: the\nmessages, the slot messages and the panels name it, the database holding\nthem to it (ContentTypeForeignKeys).",
|
|
4
4
|
"properties": [
|
|
5
|
-
{
|
|
6
|
-
"name": "secureId",
|
|
7
|
-
"type": "string",
|
|
8
|
-
"orm": {
|
|
9
|
-
"kind": "field",
|
|
10
|
-
"column": "secure_id",
|
|
11
|
-
"type": "string",
|
|
12
|
-
"nullable": false,
|
|
13
|
-
"unique": false,
|
|
14
|
-
"id": false,
|
|
15
|
-
"generated": false,
|
|
16
|
-
"length": 255
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
5
|
{
|
|
20
6
|
"name": "name",
|
|
21
7
|
"type": "string",
|
|
@@ -193,16 +179,6 @@
|
|
|
193
179
|
"id": false,
|
|
194
180
|
"generated": false
|
|
195
181
|
},
|
|
196
|
-
"secureId": {
|
|
197
|
-
"kind": "field",
|
|
198
|
-
"column": "secure_id",
|
|
199
|
-
"type": "string",
|
|
200
|
-
"nullable": false,
|
|
201
|
-
"unique": false,
|
|
202
|
-
"id": false,
|
|
203
|
-
"generated": false,
|
|
204
|
-
"length": 255
|
|
205
|
-
},
|
|
206
182
|
"name": {
|
|
207
183
|
"kind": "field",
|
|
208
184
|
"column": "name",
|
|
@@ -2,20 +2,6 @@
|
|
|
2
2
|
"name": "credential",
|
|
3
3
|
"description": "A connection the platform opens (symfony-wallet): its types are declared in\n`wexample_symfony_wallet.types`, its last test written by the core\n(CheckupService).",
|
|
4
4
|
"properties": [
|
|
5
|
-
{
|
|
6
|
-
"name": "secureId",
|
|
7
|
-
"type": "string",
|
|
8
|
-
"orm": {
|
|
9
|
-
"kind": "field",
|
|
10
|
-
"column": "secure_id",
|
|
11
|
-
"type": "string",
|
|
12
|
-
"nullable": false,
|
|
13
|
-
"unique": false,
|
|
14
|
-
"id": false,
|
|
15
|
-
"generated": false,
|
|
16
|
-
"length": 255
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
5
|
{
|
|
20
6
|
"name": "checkStatus",
|
|
21
7
|
"type": "string",
|
|
@@ -164,16 +150,6 @@
|
|
|
164
150
|
"id": true,
|
|
165
151
|
"generated": false
|
|
166
152
|
},
|
|
167
|
-
"secureId": {
|
|
168
|
-
"kind": "field",
|
|
169
|
-
"column": "secure_id",
|
|
170
|
-
"type": "string",
|
|
171
|
-
"nullable": false,
|
|
172
|
-
"unique": false,
|
|
173
|
-
"id": false,
|
|
174
|
-
"generated": false,
|
|
175
|
-
"length": 255
|
|
176
|
-
},
|
|
177
153
|
"checkStatus": {
|
|
178
154
|
"kind": "field",
|
|
179
155
|
"column": "check_status",
|