syrtis-python-client-internal 2.2.0__py3-none-any.whl → 2.4.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 +332 -94
- 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 +93 -68
- 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 +474 -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 +41 -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 +12 -9
- 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 +61 -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.4.0.dist-info}/METADATA +3 -3
- {syrtis_python_client_internal-2.2.0.dist-info → syrtis_python_client_internal-2.4.0.dist-info}/RECORD +76 -46
- {syrtis_python_client_internal-2.2.0.dist-info → syrtis_python_client_internal-2.4.0.dist-info}/WHEEL +0 -0
- {syrtis_python_client_internal-2.2.0.dist-info → syrtis_python_client_internal-2.4.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,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "artifact",
|
|
3
|
+
"description": "A content kept in a storage, and what describes it: what is kept here is\nits reference — the storage its content was written to, and where in it\n(`locator`) —; its content is in the storage, never here.\nIt belongs to a project, and to a state of it (`scope`): a session's — a\nfile a request brought, a response a node kept —, or the shared one. In a\npipeline it is one element of a projection (`projection`), as the last\nrun in its scope made it: written by the core once the stage ends, the\nrows the run before left in that scope gone; its key is its identity,\nkept by what derives from it, its parents the keys it was made from. Out\nof one, a scenario's: its key is its id.\nSeveral artifacts may point at one content — one brought to a pipeline is\nits step's element too —: the content leaves its storage with the last of\nthem (ArtifactFileService::forget).",
|
|
3
4
|
"properties": [
|
|
4
5
|
{
|
|
5
|
-
"name": "
|
|
6
|
-
"type": "string",
|
|
7
|
-
"orm": {
|
|
8
|
-
"kind": "field",
|
|
9
|
-
"column": "secure_id",
|
|
10
|
-
"type": "string",
|
|
11
|
-
"nullable": false,
|
|
12
|
-
"unique": false,
|
|
13
|
-
"id": false,
|
|
14
|
-
"generated": false,
|
|
15
|
-
"length": 255
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"name": "contentType",
|
|
6
|
+
"name": "project",
|
|
20
7
|
"type": "relation",
|
|
21
|
-
"
|
|
22
|
-
"default": null,
|
|
23
|
-
"target": "content_type",
|
|
8
|
+
"target": "project",
|
|
24
9
|
"orm": {
|
|
25
10
|
"kind": "association",
|
|
26
11
|
"association_type": "many_to_one",
|
|
27
|
-
"target_entity": "App\\Entity\\
|
|
28
|
-
"target": "
|
|
12
|
+
"target_entity": "App\\Entity\\Project",
|
|
13
|
+
"target": "project",
|
|
29
14
|
"mapped_by": null,
|
|
30
15
|
"inversed_by": null,
|
|
31
16
|
"is_owning_side": true,
|
|
@@ -34,35 +19,7 @@
|
|
|
34
19
|
"fetch": 2,
|
|
35
20
|
"join_columns": [
|
|
36
21
|
{
|
|
37
|
-
"name": "
|
|
38
|
-
"referenced_column_name": "id",
|
|
39
|
-
"nullable": false,
|
|
40
|
-
"unique": false,
|
|
41
|
-
"on_delete": null
|
|
42
|
-
}
|
|
43
|
-
]
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"name": "storage",
|
|
48
|
-
"type": "relation",
|
|
49
|
-
"nullable": true,
|
|
50
|
-
"default": null,
|
|
51
|
-
"target": "storage",
|
|
52
|
-
"orm": {
|
|
53
|
-
"kind": "association",
|
|
54
|
-
"association_type": "many_to_one",
|
|
55
|
-
"target_entity": "App\\Entity\\Storage",
|
|
56
|
-
"target": "storage",
|
|
57
|
-
"mapped_by": null,
|
|
58
|
-
"inversed_by": null,
|
|
59
|
-
"is_owning_side": true,
|
|
60
|
-
"orphan_removal": false,
|
|
61
|
-
"cascade": {},
|
|
62
|
-
"fetch": 2,
|
|
63
|
-
"join_columns": [
|
|
64
|
-
{
|
|
65
|
-
"name": "storage_id",
|
|
22
|
+
"name": "project_id",
|
|
66
23
|
"referenced_column_name": "id",
|
|
67
24
|
"nullable": false,
|
|
68
25
|
"unique": false,
|
|
@@ -97,7 +54,7 @@
|
|
|
97
54
|
"target_entity": "App\\Entity\\Projection",
|
|
98
55
|
"target": "projection",
|
|
99
56
|
"mapped_by": null,
|
|
100
|
-
"inversed_by":
|
|
57
|
+
"inversed_by": null,
|
|
101
58
|
"is_owning_side": true,
|
|
102
59
|
"orphan_removal": false,
|
|
103
60
|
"cascade": {},
|
|
@@ -106,24 +63,106 @@
|
|
|
106
63
|
{
|
|
107
64
|
"name": "projection_id",
|
|
108
65
|
"referenced_column_name": "id",
|
|
109
|
-
"nullable":
|
|
66
|
+
"nullable": true,
|
|
110
67
|
"unique": false,
|
|
111
|
-
"on_delete":
|
|
68
|
+
"on_delete": "CASCADE"
|
|
112
69
|
}
|
|
113
70
|
]
|
|
114
71
|
}
|
|
115
72
|
},
|
|
116
73
|
{
|
|
117
|
-
"name": "
|
|
74
|
+
"name": "title",
|
|
75
|
+
"type": "string",
|
|
76
|
+
"nullable": true,
|
|
77
|
+
"default": null,
|
|
78
|
+
"orm": {
|
|
79
|
+
"kind": "field",
|
|
80
|
+
"column": "title",
|
|
81
|
+
"type": "string",
|
|
82
|
+
"nullable": true,
|
|
83
|
+
"unique": false,
|
|
84
|
+
"id": false,
|
|
85
|
+
"generated": false,
|
|
86
|
+
"length": 255
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "mimeType",
|
|
91
|
+
"type": "string",
|
|
92
|
+
"nullable": true,
|
|
93
|
+
"default": null,
|
|
94
|
+
"orm": {
|
|
95
|
+
"kind": "field",
|
|
96
|
+
"column": "mime_type",
|
|
97
|
+
"type": "string",
|
|
98
|
+
"nullable": true,
|
|
99
|
+
"unique": false,
|
|
100
|
+
"id": false,
|
|
101
|
+
"generated": false,
|
|
102
|
+
"length": 128
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "scope",
|
|
107
|
+
"type": "string",
|
|
108
|
+
"default": null,
|
|
109
|
+
"orm": {
|
|
110
|
+
"kind": "field",
|
|
111
|
+
"column": "scope",
|
|
112
|
+
"type": "string",
|
|
113
|
+
"nullable": false,
|
|
114
|
+
"unique": false,
|
|
115
|
+
"id": false,
|
|
116
|
+
"generated": false,
|
|
117
|
+
"length": 255,
|
|
118
|
+
"options": {
|
|
119
|
+
"default": "shared"
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "key",
|
|
125
|
+
"type": "string",
|
|
126
|
+
"default": "",
|
|
127
|
+
"orm": {
|
|
128
|
+
"kind": "field",
|
|
129
|
+
"column": "element_key",
|
|
130
|
+
"type": "string",
|
|
131
|
+
"nullable": false,
|
|
132
|
+
"unique": false,
|
|
133
|
+
"id": false,
|
|
134
|
+
"generated": false,
|
|
135
|
+
"length": 255
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"name": "contentType",
|
|
140
|
+
"type": "string",
|
|
141
|
+
"default": "",
|
|
142
|
+
"orm": {
|
|
143
|
+
"kind": "field",
|
|
144
|
+
"column": "content_type",
|
|
145
|
+
"type": "string",
|
|
146
|
+
"nullable": false,
|
|
147
|
+
"unique": false,
|
|
148
|
+
"id": false,
|
|
149
|
+
"generated": false,
|
|
150
|
+
"length": 128
|
|
151
|
+
},
|
|
152
|
+
"nullable": true,
|
|
153
|
+
"target": "content_type"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"name": "storage",
|
|
118
157
|
"type": "relation",
|
|
119
158
|
"nullable": true,
|
|
120
159
|
"default": null,
|
|
121
|
-
"target": "
|
|
160
|
+
"target": "storage",
|
|
122
161
|
"orm": {
|
|
123
162
|
"kind": "association",
|
|
124
163
|
"association_type": "many_to_one",
|
|
125
|
-
"target_entity": "App\\Entity\\
|
|
126
|
-
"target": "
|
|
164
|
+
"target_entity": "App\\Entity\\Storage",
|
|
165
|
+
"target": "storage",
|
|
127
166
|
"mapped_by": null,
|
|
128
167
|
"inversed_by": null,
|
|
129
168
|
"is_owning_side": true,
|
|
@@ -132,14 +171,105 @@
|
|
|
132
171
|
"fetch": 2,
|
|
133
172
|
"join_columns": [
|
|
134
173
|
{
|
|
135
|
-
"name": "
|
|
174
|
+
"name": "storage_id",
|
|
136
175
|
"referenced_column_name": "id",
|
|
137
176
|
"nullable": false,
|
|
138
177
|
"unique": false,
|
|
139
|
-
"on_delete":
|
|
178
|
+
"on_delete": "RESTRICT"
|
|
140
179
|
}
|
|
141
180
|
]
|
|
142
181
|
}
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"name": "locator",
|
|
185
|
+
"type": "string",
|
|
186
|
+
"default": "",
|
|
187
|
+
"orm": {
|
|
188
|
+
"kind": "field",
|
|
189
|
+
"column": "locator",
|
|
190
|
+
"type": "string",
|
|
191
|
+
"nullable": false,
|
|
192
|
+
"unique": false,
|
|
193
|
+
"id": false,
|
|
194
|
+
"generated": false,
|
|
195
|
+
"length": 512
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"name": "size",
|
|
200
|
+
"type": "int",
|
|
201
|
+
"default": 0,
|
|
202
|
+
"orm": {
|
|
203
|
+
"kind": "field",
|
|
204
|
+
"column": "size",
|
|
205
|
+
"type": "integer",
|
|
206
|
+
"nullable": false,
|
|
207
|
+
"unique": false,
|
|
208
|
+
"id": false,
|
|
209
|
+
"generated": false,
|
|
210
|
+
"options": {
|
|
211
|
+
"default": 0
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"name": "metadata",
|
|
217
|
+
"type": "array",
|
|
218
|
+
"default": {},
|
|
219
|
+
"orm": {
|
|
220
|
+
"kind": "field",
|
|
221
|
+
"column": "metadata",
|
|
222
|
+
"type": "json",
|
|
223
|
+
"nullable": false,
|
|
224
|
+
"unique": false,
|
|
225
|
+
"id": false,
|
|
226
|
+
"generated": false
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"name": "parents",
|
|
231
|
+
"type": "array",
|
|
232
|
+
"default": {},
|
|
233
|
+
"orm": {
|
|
234
|
+
"kind": "field",
|
|
235
|
+
"column": "parents",
|
|
236
|
+
"type": "json",
|
|
237
|
+
"nullable": false,
|
|
238
|
+
"unique": false,
|
|
239
|
+
"id": false,
|
|
240
|
+
"generated": false
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"name": "position",
|
|
245
|
+
"type": "int",
|
|
246
|
+
"default": 0,
|
|
247
|
+
"orm": {
|
|
248
|
+
"kind": "field",
|
|
249
|
+
"column": "position",
|
|
250
|
+
"type": "integer",
|
|
251
|
+
"nullable": false,
|
|
252
|
+
"unique": false,
|
|
253
|
+
"id": false,
|
|
254
|
+
"generated": false,
|
|
255
|
+
"options": {
|
|
256
|
+
"default": 0
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"name": "dateCreated",
|
|
262
|
+
"type": "relation",
|
|
263
|
+
"target": "date_time_immutable",
|
|
264
|
+
"orm": {
|
|
265
|
+
"kind": "field",
|
|
266
|
+
"column": "date_created",
|
|
267
|
+
"type": "datetime_immutable",
|
|
268
|
+
"nullable": false,
|
|
269
|
+
"unique": false,
|
|
270
|
+
"id": false,
|
|
271
|
+
"generated": false
|
|
272
|
+
}
|
|
143
273
|
}
|
|
144
274
|
],
|
|
145
275
|
"orm": {
|
|
@@ -148,7 +278,32 @@
|
|
|
148
278
|
"identifier": [
|
|
149
279
|
"id"
|
|
150
280
|
],
|
|
151
|
-
"indexes":
|
|
281
|
+
"indexes": [
|
|
282
|
+
{
|
|
283
|
+
"columns": [
|
|
284
|
+
"projection_id",
|
|
285
|
+
"position"
|
|
286
|
+
]
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"columns": [
|
|
290
|
+
"projection_id",
|
|
291
|
+
"scope"
|
|
292
|
+
]
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"columns": [
|
|
296
|
+
"project_id",
|
|
297
|
+
"scope"
|
|
298
|
+
]
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"columns": [
|
|
302
|
+
"storage_id",
|
|
303
|
+
"locator"
|
|
304
|
+
]
|
|
305
|
+
}
|
|
306
|
+
],
|
|
152
307
|
"unique_constraints": {},
|
|
153
308
|
"fields": {
|
|
154
309
|
"id": {
|
|
@@ -160,15 +315,119 @@
|
|
|
160
315
|
"id": true,
|
|
161
316
|
"generated": false
|
|
162
317
|
},
|
|
163
|
-
"
|
|
318
|
+
"title": {
|
|
319
|
+
"kind": "field",
|
|
320
|
+
"column": "title",
|
|
321
|
+
"type": "string",
|
|
322
|
+
"nullable": true,
|
|
323
|
+
"unique": false,
|
|
324
|
+
"id": false,
|
|
325
|
+
"generated": false,
|
|
326
|
+
"length": 255
|
|
327
|
+
},
|
|
328
|
+
"mimeType": {
|
|
329
|
+
"kind": "field",
|
|
330
|
+
"column": "mime_type",
|
|
331
|
+
"type": "string",
|
|
332
|
+
"nullable": true,
|
|
333
|
+
"unique": false,
|
|
334
|
+
"id": false,
|
|
335
|
+
"generated": false,
|
|
336
|
+
"length": 128
|
|
337
|
+
},
|
|
338
|
+
"scope": {
|
|
164
339
|
"kind": "field",
|
|
165
|
-
"column": "
|
|
340
|
+
"column": "scope",
|
|
341
|
+
"type": "string",
|
|
342
|
+
"nullable": false,
|
|
343
|
+
"unique": false,
|
|
344
|
+
"id": false,
|
|
345
|
+
"generated": false,
|
|
346
|
+
"length": 255,
|
|
347
|
+
"options": {
|
|
348
|
+
"default": "shared"
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
"key": {
|
|
352
|
+
"kind": "field",
|
|
353
|
+
"column": "element_key",
|
|
166
354
|
"type": "string",
|
|
167
355
|
"nullable": false,
|
|
168
356
|
"unique": false,
|
|
169
357
|
"id": false,
|
|
170
358
|
"generated": false,
|
|
171
359
|
"length": 255
|
|
360
|
+
},
|
|
361
|
+
"contentType": {
|
|
362
|
+
"kind": "field",
|
|
363
|
+
"column": "content_type",
|
|
364
|
+
"type": "string",
|
|
365
|
+
"nullable": false,
|
|
366
|
+
"unique": false,
|
|
367
|
+
"id": false,
|
|
368
|
+
"generated": false,
|
|
369
|
+
"length": 128
|
|
370
|
+
},
|
|
371
|
+
"locator": {
|
|
372
|
+
"kind": "field",
|
|
373
|
+
"column": "locator",
|
|
374
|
+
"type": "string",
|
|
375
|
+
"nullable": false,
|
|
376
|
+
"unique": false,
|
|
377
|
+
"id": false,
|
|
378
|
+
"generated": false,
|
|
379
|
+
"length": 512
|
|
380
|
+
},
|
|
381
|
+
"size": {
|
|
382
|
+
"kind": "field",
|
|
383
|
+
"column": "size",
|
|
384
|
+
"type": "integer",
|
|
385
|
+
"nullable": false,
|
|
386
|
+
"unique": false,
|
|
387
|
+
"id": false,
|
|
388
|
+
"generated": false,
|
|
389
|
+
"options": {
|
|
390
|
+
"default": 0
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
"metadata": {
|
|
394
|
+
"kind": "field",
|
|
395
|
+
"column": "metadata",
|
|
396
|
+
"type": "json",
|
|
397
|
+
"nullable": false,
|
|
398
|
+
"unique": false,
|
|
399
|
+
"id": false,
|
|
400
|
+
"generated": false
|
|
401
|
+
},
|
|
402
|
+
"parents": {
|
|
403
|
+
"kind": "field",
|
|
404
|
+
"column": "parents",
|
|
405
|
+
"type": "json",
|
|
406
|
+
"nullable": false,
|
|
407
|
+
"unique": false,
|
|
408
|
+
"id": false,
|
|
409
|
+
"generated": false
|
|
410
|
+
},
|
|
411
|
+
"position": {
|
|
412
|
+
"kind": "field",
|
|
413
|
+
"column": "position",
|
|
414
|
+
"type": "integer",
|
|
415
|
+
"nullable": false,
|
|
416
|
+
"unique": false,
|
|
417
|
+
"id": false,
|
|
418
|
+
"generated": false,
|
|
419
|
+
"options": {
|
|
420
|
+
"default": 0
|
|
421
|
+
}
|
|
422
|
+
},
|
|
423
|
+
"dateCreated": {
|
|
424
|
+
"kind": "field",
|
|
425
|
+
"column": "date_created",
|
|
426
|
+
"type": "datetime_immutable",
|
|
427
|
+
"nullable": false,
|
|
428
|
+
"unique": false,
|
|
429
|
+
"id": false,
|
|
430
|
+
"generated": false
|
|
172
431
|
}
|
|
173
432
|
},
|
|
174
433
|
"associations": {
|
|
@@ -178,27 +437,6 @@
|
|
|
178
437
|
"target_entity": "App\\Entity\\Projection",
|
|
179
438
|
"target": "projection",
|
|
180
439
|
"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
440
|
"inversed_by": null,
|
|
203
441
|
"is_owning_side": true,
|
|
204
442
|
"orphan_removal": false,
|
|
@@ -206,19 +444,19 @@
|
|
|
206
444
|
"fetch": 2,
|
|
207
445
|
"join_columns": [
|
|
208
446
|
{
|
|
209
|
-
"name": "
|
|
447
|
+
"name": "projection_id",
|
|
210
448
|
"referenced_column_name": "id",
|
|
211
|
-
"nullable":
|
|
449
|
+
"nullable": true,
|
|
212
450
|
"unique": false,
|
|
213
|
-
"on_delete":
|
|
451
|
+
"on_delete": "CASCADE"
|
|
214
452
|
}
|
|
215
453
|
]
|
|
216
454
|
},
|
|
217
|
-
"
|
|
455
|
+
"storage": {
|
|
218
456
|
"kind": "association",
|
|
219
457
|
"association_type": "many_to_one",
|
|
220
|
-
"target_entity": "App\\Entity\\
|
|
221
|
-
"target": "
|
|
458
|
+
"target_entity": "App\\Entity\\Storage",
|
|
459
|
+
"target": "storage",
|
|
222
460
|
"mapped_by": null,
|
|
223
461
|
"inversed_by": null,
|
|
224
462
|
"is_owning_side": true,
|
|
@@ -227,19 +465,19 @@
|
|
|
227
465
|
"fetch": 2,
|
|
228
466
|
"join_columns": [
|
|
229
467
|
{
|
|
230
|
-
"name": "
|
|
468
|
+
"name": "storage_id",
|
|
231
469
|
"referenced_column_name": "id",
|
|
232
470
|
"nullable": false,
|
|
233
471
|
"unique": false,
|
|
234
|
-
"on_delete":
|
|
472
|
+
"on_delete": "RESTRICT"
|
|
235
473
|
}
|
|
236
474
|
]
|
|
237
475
|
},
|
|
238
|
-
"
|
|
476
|
+
"project": {
|
|
239
477
|
"kind": "association",
|
|
240
478
|
"association_type": "many_to_one",
|
|
241
|
-
"target_entity": "App\\Entity\\
|
|
242
|
-
"target": "
|
|
479
|
+
"target_entity": "App\\Entity\\Project",
|
|
480
|
+
"target": "project",
|
|
243
481
|
"mapped_by": null,
|
|
244
482
|
"inversed_by": null,
|
|
245
483
|
"is_owning_side": true,
|
|
@@ -248,7 +486,7 @@
|
|
|
248
486
|
"fetch": 2,
|
|
249
487
|
"join_columns": [
|
|
250
488
|
{
|
|
251
|
-
"name": "
|
|
489
|
+
"name": "project_id",
|
|
252
490
|
"referenced_column_name": "id",
|
|
253
491
|
"nullable": false,
|
|
254
492
|
"unique": false,
|