kraph 6.0.0__tar.gz → 6.1.0__tar.gz
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.
- {kraph-6.0.0 → kraph-6.1.0}/PKG-INFO +2 -2
- {kraph-6.0.0 → kraph-6.1.0}/kraph/api/project.json +13 -1
- {kraph-6.0.0 → kraph-6.1.0}/kraph/api/schema.graphql +157 -157
- {kraph-6.0.0 → kraph-6.1.0}/kraph/api/schema.py +8 -1
- {kraph-6.0.0 → kraph-6.1.0}/pyproject.toml +3 -3
- {kraph-6.0.0 → kraph-6.1.0}/.gitignore +0 -0
- {kraph-6.0.0 → kraph-6.1.0}/README.md +0 -0
- {kraph-6.0.0 → kraph-6.1.0}/kraph/__init__.py +0 -0
- {kraph-6.0.0 → kraph-6.1.0}/kraph/api/__init__.py +0 -0
- {kraph-6.0.0 → kraph-6.1.0}/kraph/arkitekt.py +0 -0
- {kraph-6.0.0 → kraph-6.1.0}/kraph/client.py +0 -0
- {kraph-6.0.0 → kraph-6.1.0}/kraph/contrib/fakts/__init__.py +0 -0
- {kraph-6.0.0 → kraph-6.1.0}/kraph/datalayer.py +0 -0
- {kraph-6.0.0 → kraph-6.1.0}/kraph/errors.py +0 -0
- {kraph-6.0.0 → kraph-6.1.0}/kraph/kraph.py +0 -0
- {kraph-6.0.0 → kraph-6.1.0}/kraph/links/__init__.py +0 -0
- {kraph-6.0.0 → kraph-6.1.0}/kraph/links/errors.py +0 -0
- {kraph-6.0.0 → kraph-6.1.0}/kraph/links/upload.py +0 -0
- {kraph-6.0.0 → kraph-6.1.0}/kraph/py.typed +0 -0
- {kraph-6.0.0 → kraph-6.1.0}/kraph/rath.py +0 -0
- {kraph-6.0.0 → kraph-6.1.0}/kraph/refs.py +0 -0
- {kraph-6.0.0 → kraph-6.1.0}/kraph/scalars.py +0 -0
- {kraph-6.0.0 → kraph-6.1.0}/kraph/traits.py +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: kraph
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.1.0
|
|
4
4
|
Summary: the arkitekt knowledge graph
|
|
5
5
|
Author-email: jhnnsrs <jhnnsrs@gmail.com>
|
|
6
6
|
License-Expression: GPL-3.0-or-later
|
|
7
7
|
Requires-Python: <4.0,>=3.11
|
|
8
|
-
Requires-Dist: arkitekt-spec>=
|
|
8
|
+
Requires-Dist: arkitekt-spec>=5.0
|
|
9
9
|
Requires-Dist: dokker>=2.8
|
|
10
10
|
Requires-Dist: fakts>=6.1
|
|
11
11
|
Requires-Dist: rath>=4.1.1
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
]
|
|
180
180
|
},
|
|
181
181
|
"additional_config": {},
|
|
182
|
-
"
|
|
182
|
+
"class_fields": [],
|
|
183
183
|
"force_plugin_order": true,
|
|
184
184
|
"omitted_document_rules": [],
|
|
185
185
|
"parsers": [],
|
|
@@ -199,6 +199,18 @@
|
|
|
199
199
|
{
|
|
200
200
|
"type": "turms.plugins.client.ClientPlugin",
|
|
201
201
|
"client_class": "KraphApi",
|
|
202
|
+
"client_fields": [
|
|
203
|
+
{
|
|
204
|
+
"name": "__scopes__",
|
|
205
|
+
"kind": "tuple[str, ...]",
|
|
206
|
+
"collector": {
|
|
207
|
+
"type": "root_field_directive",
|
|
208
|
+
"directive": "auth",
|
|
209
|
+
"argument": "required_scopes"
|
|
210
|
+
},
|
|
211
|
+
"combine": "union"
|
|
212
|
+
}
|
|
213
|
+
],
|
|
202
214
|
"global_kwargs": [
|
|
203
215
|
{
|
|
204
216
|
"key": "task",
|
|
@@ -3871,324 +3871,324 @@ type Mutation {
|
|
|
3871
3871
|
"""
|
|
3872
3872
|
Claim that an entity exists, under one of the organization's words. Returns the assertion and every view that draws it — empty when no view declares the word, which is an ordinary outcome
|
|
3873
3873
|
"""
|
|
3874
|
-
assertEntityExists(input: AssertEntityExistsInput!): AssertedEntity!
|
|
3874
|
+
assertEntityExists(input: AssertEntityExistsInput!): AssertedEntity! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
3875
3875
|
|
|
3876
3876
|
"""
|
|
3877
3877
|
Claim that an entity no longer stands. It leaves every projection that counts the claim; the evidence stays.
|
|
3878
3878
|
"""
|
|
3879
|
-
retractEntity(input: RetractEntityInput!): AssertedEntity!
|
|
3879
|
+
retractEntity(input: RetractEntityInput!): AssertedEntity! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
3880
3880
|
|
|
3881
3881
|
"""
|
|
3882
3882
|
Claim that an entity exists, returning it to every projection whose rules admit it
|
|
3883
3883
|
"""
|
|
3884
|
-
attestEntity(input: AttestEntityInput!): AssertedEntity!
|
|
3884
|
+
attestEntity(input: AttestEntityInput!): AssertedEntity! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
3885
3885
|
|
|
3886
3886
|
"""
|
|
3887
3887
|
Claim that an external datum exists. Idempotent by (identifier, object): a second claim about a datum already on the record is agreement, recorded as a standing under this act (RFC 0023)
|
|
3888
3888
|
"""
|
|
3889
|
-
assertStructureExists(input: AssertStructureExistsInput!): AssertedStructure!
|
|
3889
|
+
assertStructureExists(input: AssertStructureExistsInput!): AssertedStructure! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
3890
3890
|
|
|
3891
3891
|
"""
|
|
3892
3892
|
Claim that a structure still stands, after somebody retracted it. New evidence, not an undo — both positions stay on the record
|
|
3893
3893
|
"""
|
|
3894
|
-
attestStructure(input: AttestStructureInput!): AssertedStructure!
|
|
3894
|
+
attestStructure(input: AttestStructureInput!): AssertedStructure! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
3895
3895
|
|
|
3896
3896
|
"""
|
|
3897
3897
|
Claim that a measurement still stands. The derived values that dropped it are refolded
|
|
3898
3898
|
"""
|
|
3899
|
-
attestMetric(input: AttestMetricInput!): AssertedMetric!
|
|
3899
|
+
attestMetric(input: AttestMetricInput!): AssertedMetric! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
3900
3900
|
|
|
3901
3901
|
"""
|
|
3902
3902
|
Claim that a link claim still stands — a relation, a classification, a participation, a measurement. One act for every kind, as `retractLinks` is
|
|
3903
3903
|
"""
|
|
3904
|
-
attestLink(input: AttestLinkInput!): AssertedLinks!
|
|
3904
|
+
attestLink(input: AttestLinkInput!): AssertedLinks! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
3905
3905
|
|
|
3906
3906
|
"""
|
|
3907
3907
|
Retract a datum: a Standing(stands=false) against it. Its metrics and INFORMS claims stay on the record, but stop counting for every node it informs until somebody attests it again (RFC 0023)
|
|
3908
3908
|
"""
|
|
3909
|
-
retractStructure(input: RetractStructureInput!): AssertedStructure!
|
|
3909
|
+
retractStructure(input: RetractStructureInput!): AssertedStructure! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
3910
3910
|
|
|
3911
3911
|
"""Claim that a datum is evidence for an entity — an INFORMS claim"""
|
|
3912
|
-
assertInforms(input: AssertInformsInput!): AssertedDescription!
|
|
3912
|
+
assertInforms(input: AssertInformsInput!): AssertedDescription! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
3913
3913
|
|
|
3914
3914
|
"""
|
|
3915
3915
|
Record measurements against a datum already on the record, as one act (was `updateStructure`)
|
|
3916
3916
|
"""
|
|
3917
|
-
recordMetrics(input: RecordMetricsInput!): AssertedStructure!
|
|
3917
|
+
recordMetrics(input: RecordMetricsInput!): AssertedStructure! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
3918
3918
|
|
|
3919
3919
|
"""
|
|
3920
3920
|
Record a remark about an external datum, minting its structure if this is the first sight of it. A reply names its parent and stays on the parent's thread
|
|
3921
3921
|
"""
|
|
3922
|
-
commentOnStructure(input: CommentOnStructureInput!): AssertedComment!
|
|
3922
|
+
commentOnStructure(input: CommentOnStructureInput!): AssertedComment! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
3923
3923
|
|
|
3924
3924
|
"""
|
|
3925
3925
|
Claim a remark no longer stands — resolved by a reviewer or withdrawn by its author; the assertion records whose position it is. The row survives
|
|
3926
3926
|
"""
|
|
3927
|
-
retractComment(input: RetractCommentInput!): AssertedComment!
|
|
3927
|
+
retractComment(input: RetractCommentInput!): AssertedComment! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
3928
3928
|
|
|
3929
3929
|
"""
|
|
3930
3930
|
Claim a remark stands again — reopening, as new evidence rather than an undo
|
|
3931
3931
|
"""
|
|
3932
|
-
attestComment(input: AttestCommentInput!): AssertedComment!
|
|
3932
|
+
attestComment(input: AttestCommentInput!): AssertedComment! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
3933
3933
|
|
|
3934
3934
|
"""
|
|
3935
3935
|
Record a measurement, creating the structure it describes if this is its first sight. One assertion covers both
|
|
3936
3936
|
"""
|
|
3937
|
-
assertMetricValue(input: AssertMetricValueInput!): AssertedMetric!
|
|
3937
|
+
assertMetricValue(input: AssertMetricValueInput!): AssertedMetric! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
3938
3938
|
|
|
3939
3939
|
"""
|
|
3940
3940
|
Record a measurement against a structure that already exists, named by its evidence id
|
|
3941
3941
|
"""
|
|
3942
|
-
assertMetricValueForStructure(input: AssertMetricValueForStructureInput!): AssertedMetric!
|
|
3942
|
+
assertMetricValueForStructure(input: AssertMetricValueForStructureInput!): AssertedMetric! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
3943
3943
|
|
|
3944
3944
|
"""
|
|
3945
3945
|
Retract a measurement without destroying it. It stays readable, because a derived value that dropped it still has to be explainable
|
|
3946
3946
|
"""
|
|
3947
|
-
retractMetric(input: RetractMetricInput!): AssertedMetric!
|
|
3947
|
+
retractMetric(input: RetractMetricInput!): AssertedMetric! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
3948
3948
|
|
|
3949
3949
|
"""
|
|
3950
3950
|
Correct a measurement by retracting it and asserting a new one. The returned metric has a new id: it is a new row, not an edited one
|
|
3951
3951
|
"""
|
|
3952
|
-
supersedeMetricValue(input: SupersedeMetricValueInput!): AssertedMetric!
|
|
3952
|
+
supersedeMetricValue(input: SupersedeMetricValueInput!): AssertedMetric! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
3953
3953
|
|
|
3954
3954
|
"""
|
|
3955
3955
|
Assert that a structure measures an entity, under one of the organization's words. Drawings are always empty: a measurement has no AGE edge
|
|
3956
3956
|
"""
|
|
3957
|
-
assertMeasurementExists(input: AssertMeasurementExistsInput!): AssertedMeasurement!
|
|
3957
|
+
assertMeasurementExists(input: AssertMeasurementExistsInput!): AssertedMeasurement! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
3958
3958
|
|
|
3959
3959
|
"""Retract a measurement assertion without destroying it"""
|
|
3960
|
-
retractMeasurement(input: RetractMeasurementInput!): AssertedMeasurement!
|
|
3960
|
+
retractMeasurement(input: RetractMeasurementInput!): AssertedMeasurement! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
3961
3961
|
|
|
3962
3962
|
"""
|
|
3963
3963
|
Assert a relation between two entities, under one of the organization's words
|
|
3964
3964
|
"""
|
|
3965
|
-
assertRelationExists(input: AssertRelationExistsInput!): AssertedRelation!
|
|
3965
|
+
assertRelationExists(input: AssertRelationExistsInput!): AssertedRelation! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
3966
3966
|
|
|
3967
3967
|
"""
|
|
3968
3968
|
Replace a relation with a new assertion, retracting the old one. Two assertions are recorded; the result reports the one that made the relation now standing
|
|
3969
3969
|
"""
|
|
3970
|
-
supersedeRelation(input: SupersedeRelationInput!): AssertedRelation!
|
|
3970
|
+
supersedeRelation(input: SupersedeRelationInput!): AssertedRelation! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
3971
3971
|
|
|
3972
3972
|
"""
|
|
3973
3973
|
Retract a relation assertion without destroying it. The edge survives wherever another live assertion still states the same proposition
|
|
3974
3974
|
"""
|
|
3975
|
-
retractRelation(input: RetractRelationInput!): AssertedRelation!
|
|
3975
|
+
retractRelation(input: RetractRelationInput!): AssertedRelation! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
3976
3976
|
|
|
3977
3977
|
"""
|
|
3978
3978
|
Assert a relation between two structures. Drawings are always empty: neither endpoint has a vertex
|
|
3979
3979
|
"""
|
|
3980
|
-
assertStructureRelationExists(input: AssertStructureRelationExistsInput!): AssertedStructureRelation!
|
|
3980
|
+
assertStructureRelationExists(input: AssertStructureRelationExistsInput!): AssertedStructureRelation! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
3981
3981
|
|
|
3982
3982
|
"""Replace a structure relation, keeping the old assertion on the record"""
|
|
3983
|
-
supersedeStructureRelation(input: SupersedeStructureRelationInput!): AssertedStructureRelation!
|
|
3983
|
+
supersedeStructureRelation(input: SupersedeStructureRelationInput!): AssertedStructureRelation! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
3984
3984
|
|
|
3985
3985
|
"""Retract a structure relation assertion without destroying it"""
|
|
3986
|
-
retractStructureRelation(input: RetractStructureRelationInput!): AssertedStructureRelation!
|
|
3986
|
+
retractStructureRelation(input: RetractStructureRelationInput!): AssertedStructureRelation! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
3987
3987
|
|
|
3988
3988
|
"""
|
|
3989
3989
|
Claim that a natural event happened, under one of the organization's words
|
|
3990
3990
|
"""
|
|
3991
|
-
assertNaturalEventExists(input: AssertNaturalEventExistsInput!): AssertedNaturalEvent!
|
|
3991
|
+
assertNaturalEventExists(input: AssertNaturalEventExistsInput!): AssertedNaturalEvent! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
3992
3992
|
|
|
3993
3993
|
"""Claim that a natural event no longer stands"""
|
|
3994
|
-
retractNaturalEvent(input: RetractNaturalEventInput!): AssertedNaturalEvent!
|
|
3994
|
+
retractNaturalEvent(input: RetractNaturalEventInput!): AssertedNaturalEvent! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
3995
3995
|
|
|
3996
3996
|
"""Claim that a natural event exists"""
|
|
3997
|
-
attestNaturalEvent(input: AttestNaturalEventInput!): AssertedNaturalEvent!
|
|
3997
|
+
attestNaturalEvent(input: AttestNaturalEventInput!): AssertedNaturalEvent! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
3998
3998
|
|
|
3999
3999
|
"""
|
|
4000
4000
|
Claim that a protocol step happened, under one of the organization's words
|
|
4001
4001
|
"""
|
|
4002
|
-
assertProtocolEventExists(input: AssertProtocolEventExistsInput!): AssertedProtocolEvent!
|
|
4002
|
+
assertProtocolEventExists(input: AssertProtocolEventExistsInput!): AssertedProtocolEvent! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
4003
4003
|
|
|
4004
4004
|
"""Claim that a protocol event no longer stands"""
|
|
4005
|
-
retractProtocolEvent(input: RetractProtocolEventInput!): AssertedProtocolEvent!
|
|
4005
|
+
retractProtocolEvent(input: RetractProtocolEventInput!): AssertedProtocolEvent! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
4006
4006
|
|
|
4007
4007
|
"""Claim that a protocol event exists"""
|
|
4008
|
-
attestProtocolEvent(input: AttestProtocolEventInput!): AssertedProtocolEvent!
|
|
4008
|
+
attestProtocolEvent(input: AttestProtocolEventInput!): AssertedProtocolEvent! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
4009
4009
|
|
|
4010
4010
|
"""
|
|
4011
4011
|
Claim that an entity took part in an event, without displacing anyone else's claim
|
|
4012
4012
|
"""
|
|
4013
|
-
assertParticipation(input: AssertParticipationInput!): AssertedParticipation!
|
|
4013
|
+
assertParticipation(input: AssertParticipationInput!): AssertedParticipation! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
4014
4014
|
|
|
4015
4015
|
"""
|
|
4016
4016
|
Claim that several entities took part in one event, as one act and one assertion
|
|
4017
4017
|
"""
|
|
4018
|
-
assertParticipations(input: AssertParticipationsInput!): AssertedLinks!
|
|
4018
|
+
assertParticipations(input: AssertParticipationsInput!): AssertedLinks! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
4019
4019
|
|
|
4020
4020
|
"""
|
|
4021
4021
|
Retract one claim that an entity took part in an event. The edge survives while another claim still states it
|
|
4022
4022
|
"""
|
|
4023
|
-
retractParticipation(input: RetractParticipationInput!): AssertedParticipation!
|
|
4023
|
+
retractParticipation(input: RetractParticipationInput!): AssertedParticipation! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
4024
4024
|
|
|
4025
4025
|
"""
|
|
4026
4026
|
Claim that several nodes are of a word, without displacing anyone else's claim. One act, one assertion
|
|
4027
4027
|
"""
|
|
4028
|
-
classifyNodes(input: ClassifyNodesInput!): AssertedInstances!
|
|
4028
|
+
classifyNodes(input: ClassifyNodesInput!): AssertedInstances! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
4029
4029
|
|
|
4030
4030
|
"""
|
|
4031
4031
|
Retract several link claims as one act, by their `Link` ids — a relation, a classification, a participation, a measurement
|
|
4032
4032
|
"""
|
|
4033
|
-
retractLinks(input: RetractLinksInput!): AssertedLinks!
|
|
4033
|
+
retractLinks(input: RetractLinksInput!): AssertedLinks! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
4034
4034
|
|
|
4035
4035
|
"""
|
|
4036
4036
|
Claim that several already-recorded instances are one thing. An equivalence with no primary — the order of the ids carries no meaning
|
|
4037
4037
|
"""
|
|
4038
|
-
assertSameInstance(input: AssertSameInstanceInput!): AssertedSameness!
|
|
4038
|
+
assertSameInstance(input: AssertSameInstanceInput!): AssertedSameness! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
4039
4039
|
|
|
4040
4040
|
"""
|
|
4041
4041
|
Withdraw one sameness claim. The component it held together is rebuilt from the claims that survive, which may split it
|
|
4042
4042
|
"""
|
|
4043
|
-
retractSameInstance(input: RetractSameInstanceInput!): AssertedSameness!
|
|
4043
|
+
retractSameInstance(input: RetractSameInstanceInput!): AssertedSameness! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
4044
4044
|
|
|
4045
4045
|
"""
|
|
4046
4046
|
Claim that several already-recorded instances are distinct things (RFC 0019). A standing, trusted difference vetoes every direct sameness between its two ends; a disagreement through a third instance is reported as a conflict, not resolved
|
|
4047
4047
|
"""
|
|
4048
|
-
assertDifferentInstance(input: AssertDifferentInstanceInput!): AssertedDifference!
|
|
4048
|
+
assertDifferentInstance(input: AssertDifferentInstanceInput!): AssertedDifference! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
4049
4049
|
|
|
4050
4050
|
"""
|
|
4051
4051
|
Withdraw one difference claim. The sameness it vetoed counts again, and the component is rebuilt
|
|
4052
4052
|
"""
|
|
4053
|
-
retractDifferentInstance(input: RetractDifferentInstanceInput!): AssertedDifference!
|
|
4053
|
+
retractDifferentInstance(input: RetractDifferentInstanceInput!): AssertedDifference! @auth(required_scopes: ["kraph_assert"], any_role_of: ["kraph_editor"])
|
|
4054
4054
|
|
|
4055
4055
|
"""Upload media and return a URL for access"""
|
|
4056
|
-
requestMediaUpload(input: RequestMediaUploadInput!): MediaUploadGrant! @auth(
|
|
4056
|
+
requestMediaUpload(input: RequestMediaUploadInput!): MediaUploadGrant! @auth(required_scopes: ["kraph_insights"], any_role_of: ["kraph_editor"])
|
|
4057
4057
|
|
|
4058
4058
|
"""Finalize a media upload after the client has written the object"""
|
|
4059
|
-
finishMediaUpload(input: FinishMediaUploadInput!): MediaStore! @auth(
|
|
4059
|
+
finishMediaUpload(input: FinishMediaUploadInput!): MediaStore! @auth(required_scopes: ["kraph_insights"], any_role_of: ["kraph_editor"])
|
|
4060
4060
|
|
|
4061
4061
|
"""
|
|
4062
4062
|
Reissue upload credentials for a media upload still in flight, to the same key, so a write that outlives its credentials carries on. Only the uploader may, never for a finished store, and never past the upload's time limit
|
|
4063
4063
|
"""
|
|
4064
|
-
refreshMediaUpload(input: RefreshUploadInput!): MediaUploadGrant! @auth(
|
|
4064
|
+
refreshMediaUpload(input: RefreshUploadInput!): MediaUploadGrant! @auth(required_scopes: ["kraph_insights"], any_role_of: ["kraph_editor"])
|
|
4065
4065
|
|
|
4066
4066
|
"""Request temporary S3 read credentials for a media file"""
|
|
4067
|
-
requestMediaAccess(input: RequestMediaAccessInput!): MediaAccessGrant!
|
|
4067
|
+
requestMediaAccess(input: RequestMediaAccessInput!): MediaAccessGrant! @auth(required_scopes: ["kraph_read"])
|
|
4068
4068
|
|
|
4069
4069
|
"""
|
|
4070
4070
|
Request temporary S3 read credentials for media files in the organization
|
|
4071
4071
|
"""
|
|
4072
|
-
requestGeneralMediaAccess(input: RequestGeneralMediaAccessInput!): GeneralMediaAccessGrant!
|
|
4072
|
+
requestGeneralMediaAccess(input: RequestGeneralMediaAccessInput!): GeneralMediaAccessGrant! @auth(required_scopes: ["kraph_read"])
|
|
4073
4073
|
|
|
4074
4074
|
"""Create a new graph in the graph engine"""
|
|
4075
|
-
createGraph(input: CreateGraphInput!): Graph!
|
|
4075
|
+
createGraph(input: CreateGraphInput!): Graph! @auth(required_scopes: ["kraph_insights"], any_role_of: ["kraph_editor"])
|
|
4076
4076
|
|
|
4077
4077
|
"""Update an existing graph in the graph engine"""
|
|
4078
|
-
updateGraph(input: UpdateGraphInput!): Graph!
|
|
4078
|
+
updateGraph(input: UpdateGraphInput!): Graph! @auth(required_scopes: ["kraph_insights"], any_role_of: ["kraph_editor"])
|
|
4079
4079
|
|
|
4080
4080
|
"""Update the visual configuration of a graph in the graph engine"""
|
|
4081
|
-
updateGraphVisual(input: UpdateGraphVisualInput!): Graph!
|
|
4081
|
+
updateGraphVisual(input: UpdateGraphVisualInput!): Graph! @auth(required_scopes: ["kraph_insights"], any_role_of: ["kraph_editor"])
|
|
4082
4082
|
|
|
4083
4083
|
"""Create or update a graph table query using builder arguments"""
|
|
4084
|
-
createGraphTableQueryThroughBuilder(input: CreateGraphTableQueryThroughBuilderInput!): GraphTableQuery!
|
|
4084
|
+
createGraphTableQueryThroughBuilder(input: CreateGraphTableQueryThroughBuilderInput!): GraphTableQuery! @auth(required_scopes: ["kraph_insights"], any_role_of: ["kraph_editor"])
|
|
4085
4085
|
|
|
4086
4086
|
"""Create a graph table query"""
|
|
4087
|
-
createGraphTableQuery(input: CreateGraphTableQueryInput!): GraphTableQuery!
|
|
4087
|
+
createGraphTableQuery(input: CreateGraphTableQueryInput!): GraphTableQuery! @auth(required_scopes: ["kraph_insights"], any_role_of: ["kraph_editor"])
|
|
4088
4088
|
|
|
4089
4089
|
"""Update a graph table query"""
|
|
4090
|
-
updateGraphTableQuery(input: UpdateGraphTableQueryInput!): GraphTableQuery!
|
|
4090
|
+
updateGraphTableQuery(input: UpdateGraphTableQueryInput!): GraphTableQuery! @auth(required_scopes: ["kraph_insights"], any_role_of: ["kraph_editor"])
|
|
4091
4091
|
|
|
4092
4092
|
"""Delete a graph table query"""
|
|
4093
|
-
deleteGraphTableQuery(input: DeleteGraphTableQueryInput!): ID!
|
|
4093
|
+
deleteGraphTableQuery(input: DeleteGraphTableQueryInput!): ID! @auth(required_scopes: ["kraph_insights"], any_role_of: ["kraph_editor"])
|
|
4094
4094
|
|
|
4095
4095
|
"""Archive a graph table query"""
|
|
4096
|
-
archiveGraphTableQuery(input: ArchiveGraphTableQueryInput!): GraphTableQuery!
|
|
4096
|
+
archiveGraphTableQuery(input: ArchiveGraphTableQueryInput!): GraphTableQuery! @auth(required_scopes: ["kraph_insights"], any_role_of: ["kraph_editor"])
|
|
4097
4097
|
|
|
4098
4098
|
"""Create a scatter plot"""
|
|
4099
|
-
createScatterPlot(input: CreateScatterPlotInput!): ScatterPlot!
|
|
4099
|
+
createScatterPlot(input: CreateScatterPlotInput!): ScatterPlot! @auth(required_scopes: ["kraph_insights"], any_role_of: ["kraph_editor"])
|
|
4100
4100
|
|
|
4101
4101
|
"""Update a scatter plot"""
|
|
4102
|
-
updateScatterPlot(input: UpdateScatterPlotInput!): ScatterPlot!
|
|
4102
|
+
updateScatterPlot(input: UpdateScatterPlotInput!): ScatterPlot! @auth(required_scopes: ["kraph_insights"], any_role_of: ["kraph_editor"])
|
|
4103
4103
|
|
|
4104
4104
|
"""Delete a scatter plot"""
|
|
4105
|
-
deleteScatterPlot(input: DeleteScatterPlotInput!): ID!
|
|
4105
|
+
deleteScatterPlot(input: DeleteScatterPlotInput!): ID! @auth(required_scopes: ["kraph_insights"], any_role_of: ["kraph_editor"])
|
|
4106
4106
|
|
|
4107
4107
|
"""Delete a graph from the graph engine"""
|
|
4108
|
-
deleteGraph(input: DeleteGraphInput!): ID!
|
|
4108
|
+
deleteGraph(input: DeleteGraphInput!): ID! @auth(required_scopes: ["kraph_insights"], any_role_of: ["kraph_editor"])
|
|
4109
4109
|
|
|
4110
4110
|
"""Archive a graph in the graph engine (soft delete)"""
|
|
4111
|
-
archiveGraph(input: ArchiveGraphInput!): Graph!
|
|
4111
|
+
archiveGraph(input: ArchiveGraphInput!): Graph! @auth(required_scopes: ["kraph_insights"], any_role_of: ["kraph_editor"])
|
|
4112
4112
|
|
|
4113
4113
|
"""Create a new entity category in the graph"""
|
|
4114
|
-
createEntityCategory(input: CreateEntityCategoryInput!): EntityCategory!
|
|
4114
|
+
createEntityCategory(input: CreateEntityCategoryInput!): EntityCategory! @auth(required_scopes: ["kraph_schema"], any_role_of: ["kraph_curator"])
|
|
4115
4115
|
|
|
4116
4116
|
"""Delete an entity category from the graph"""
|
|
4117
|
-
deleteEntityCategory(input: DeleteEntityCategoryInput!): ID!
|
|
4117
|
+
deleteEntityCategory(input: DeleteEntityCategoryInput!): ID! @auth(required_scopes: ["kraph_schema"], any_role_of: ["kraph_curator"])
|
|
4118
4118
|
|
|
4119
4119
|
"""Update an existing entity category in the graph"""
|
|
4120
|
-
updateEntityCategory(input: UpdateEntityCategoryInput!): EntityCategory!
|
|
4120
|
+
updateEntityCategory(input: UpdateEntityCategoryInput!): EntityCategory! @auth(required_scopes: ["kraph_schema"], any_role_of: ["kraph_curator"])
|
|
4121
4121
|
|
|
4122
4122
|
"""
|
|
4123
4123
|
Declare one of the organization's words, or describe one an ingest minted bare
|
|
4124
4124
|
"""
|
|
4125
|
-
createTerm(input: CreateTermInput!): Term!
|
|
4125
|
+
createTerm(input: CreateTermInput!): Term! @auth(required_scopes: ["kraph_schema"], any_role_of: ["kraph_curator"])
|
|
4126
4126
|
|
|
4127
4127
|
"""
|
|
4128
4128
|
Update a term's label, description, PURL or colour, or hide it. Its kind and key are its identity and cannot change, and a term is never deleted — hiding is how a word is put away.
|
|
4129
4129
|
"""
|
|
4130
|
-
updateTerm(input: UpdateTermInput!): Term!
|
|
4130
|
+
updateTerm(input: UpdateTermInput!): Term! @auth(required_scopes: ["kraph_schema"], any_role_of: ["kraph_curator"])
|
|
4131
4131
|
|
|
4132
4132
|
"""
|
|
4133
4133
|
Retire a structure kind. Refused while any structure is recorded under it — evidence is never deleted; retract the structures first
|
|
4134
4134
|
"""
|
|
4135
|
-
deleteStructureKind(input: DeleteStructureKindInput!): ID!
|
|
4135
|
+
deleteStructureKind(input: DeleteStructureKindInput!): ID! @auth(required_scopes: ["kraph_schema"], any_role_of: ["kraph_curator"])
|
|
4136
4136
|
|
|
4137
4137
|
"""Update a structure kind's label, description or colour"""
|
|
4138
|
-
updateStructureKind(input: UpdateStructureKindInput!): StructureKind!
|
|
4138
|
+
updateStructureKind(input: UpdateStructureKindInput!): StructureKind! @auth(required_scopes: ["kraph_schema"], any_role_of: ["kraph_curator"])
|
|
4139
4139
|
|
|
4140
4140
|
"""Create a new structure relation category in the graph"""
|
|
4141
|
-
createStructureRelationCategory(input: CreateStructureRelationCategoryInput!): StructureRelationCategory!
|
|
4141
|
+
createStructureRelationCategory(input: CreateStructureRelationCategoryInput!): StructureRelationCategory! @auth(required_scopes: ["kraph_schema"], any_role_of: ["kraph_curator"])
|
|
4142
4142
|
|
|
4143
4143
|
"""Delete a structure relation category from the graph"""
|
|
4144
|
-
deleteStructureRelationCategory(input: DeleteStructureRelationCategoryInput!): ID!
|
|
4144
|
+
deleteStructureRelationCategory(input: DeleteStructureRelationCategoryInput!): ID! @auth(required_scopes: ["kraph_schema"], any_role_of: ["kraph_curator"])
|
|
4145
4145
|
|
|
4146
4146
|
"""Update an existing structure relation category in the graph"""
|
|
4147
|
-
updateStructureRelationCategory(input: UpdateStructureRelationCategoryInput!): StructureRelationCategory!
|
|
4147
|
+
updateStructureRelationCategory(input: UpdateStructureRelationCategoryInput!): StructureRelationCategory! @auth(required_scopes: ["kraph_schema"], any_role_of: ["kraph_curator"])
|
|
4148
4148
|
|
|
4149
4149
|
"""
|
|
4150
4150
|
Retire a metric kind. Refused while any metric is recorded under it — evidence is never deleted; retract the metrics first
|
|
4151
4151
|
"""
|
|
4152
|
-
deleteMetricKind(input: DeleteMetricKindInput!): ID!
|
|
4152
|
+
deleteMetricKind(input: DeleteMetricKindInput!): ID! @auth(required_scopes: ["kraph_schema"], any_role_of: ["kraph_curator"])
|
|
4153
4153
|
|
|
4154
4154
|
"""Update a metric kind's label, description or colour"""
|
|
4155
|
-
updateMetricKind(input: UpdateMetricKindInput!): MetricKind!
|
|
4155
|
+
updateMetricKind(input: UpdateMetricKindInput!): MetricKind! @auth(required_scopes: ["kraph_schema"], any_role_of: ["kraph_curator"])
|
|
4156
4156
|
|
|
4157
4157
|
"""Create a new measurement category in the graph"""
|
|
4158
|
-
createMeasurementCategory(input: CreateMeasurementCategoryInput!): MeasurementCategory!
|
|
4158
|
+
createMeasurementCategory(input: CreateMeasurementCategoryInput!): MeasurementCategory! @auth(required_scopes: ["kraph_schema"], any_role_of: ["kraph_curator"])
|
|
4159
4159
|
|
|
4160
4160
|
"""Delete a measurement category from the graph"""
|
|
4161
|
-
deleteMeasurementCategory(input: DeleteMeasurementCategoryInput!): ID!
|
|
4161
|
+
deleteMeasurementCategory(input: DeleteMeasurementCategoryInput!): ID! @auth(required_scopes: ["kraph_schema"], any_role_of: ["kraph_curator"])
|
|
4162
4162
|
|
|
4163
4163
|
"""Update an existing measurement category in the graph"""
|
|
4164
|
-
updateMeasurementCategory(input: UpdateMeasurementCategoryInput!): MeasurementCategory!
|
|
4164
|
+
updateMeasurementCategory(input: UpdateMeasurementCategoryInput!): MeasurementCategory! @auth(required_scopes: ["kraph_schema"], any_role_of: ["kraph_curator"])
|
|
4165
4165
|
|
|
4166
4166
|
"""Create a new relation category in the graph"""
|
|
4167
|
-
createRelationCategory(input: CreateRelationCategoryInput!): RelationCategory!
|
|
4167
|
+
createRelationCategory(input: CreateRelationCategoryInput!): RelationCategory! @auth(required_scopes: ["kraph_schema"], any_role_of: ["kraph_curator"])
|
|
4168
4168
|
|
|
4169
4169
|
"""Delete a relation category from the graph"""
|
|
4170
|
-
deleteRelationCategory(input: DeleteRelationCategoryInput!): ID!
|
|
4170
|
+
deleteRelationCategory(input: DeleteRelationCategoryInput!): ID! @auth(required_scopes: ["kraph_schema"], any_role_of: ["kraph_curator"])
|
|
4171
4171
|
|
|
4172
4172
|
"""Update an existing relation category in the graph"""
|
|
4173
|
-
updateRelationCategory(input: UpdateRelationCategoryInput!): RelationCategory!
|
|
4173
|
+
updateRelationCategory(input: UpdateRelationCategoryInput!): RelationCategory! @auth(required_scopes: ["kraph_schema"], any_role_of: ["kraph_curator"])
|
|
4174
4174
|
|
|
4175
4175
|
"""Create a new natural event category in the graph"""
|
|
4176
|
-
createNaturalEventCategory(input: CreateNaturalEventCategoryInput!): NaturalEventCategory!
|
|
4176
|
+
createNaturalEventCategory(input: CreateNaturalEventCategoryInput!): NaturalEventCategory! @auth(required_scopes: ["kraph_schema"], any_role_of: ["kraph_curator"])
|
|
4177
4177
|
|
|
4178
4178
|
"""Delete a natural event category from the graph"""
|
|
4179
|
-
deleteNaturalEventCategory(input: DeleteNaturalEventCategoryInput!): ID!
|
|
4179
|
+
deleteNaturalEventCategory(input: DeleteNaturalEventCategoryInput!): ID! @auth(required_scopes: ["kraph_schema"], any_role_of: ["kraph_curator"])
|
|
4180
4180
|
|
|
4181
4181
|
"""Update an existing natural event category in the graph"""
|
|
4182
|
-
updateNaturalEventCategory(input: UpdateNaturalEventCategoryInput!): NaturalEventCategory!
|
|
4182
|
+
updateNaturalEventCategory(input: UpdateNaturalEventCategoryInput!): NaturalEventCategory! @auth(required_scopes: ["kraph_schema"], any_role_of: ["kraph_curator"])
|
|
4183
4183
|
|
|
4184
4184
|
"""Create a new protocol event category in the graph"""
|
|
4185
|
-
createProtocolEventCategory(input: CreateProtocolEventCategoryInput!): ProtocolEventCategory!
|
|
4185
|
+
createProtocolEventCategory(input: CreateProtocolEventCategoryInput!): ProtocolEventCategory! @auth(required_scopes: ["kraph_schema"], any_role_of: ["kraph_curator"])
|
|
4186
4186
|
|
|
4187
4187
|
"""Delete a protocol event category from the graph"""
|
|
4188
|
-
deleteProtocolEventCategory(input: DeleteProtocolEventCategoryInput!): ID!
|
|
4188
|
+
deleteProtocolEventCategory(input: DeleteProtocolEventCategoryInput!): ID! @auth(required_scopes: ["kraph_schema"], any_role_of: ["kraph_curator"])
|
|
4189
4189
|
|
|
4190
4190
|
"""Update an existing protocol event category in the graph"""
|
|
4191
|
-
updateProtocolEventCategory(input: UpdateProtocolEventCategoryInput!): ProtocolEventCategory!
|
|
4191
|
+
updateProtocolEventCategory(input: UpdateProtocolEventCategoryInput!): ProtocolEventCategory! @auth(required_scopes: ["kraph_schema"], any_role_of: ["kraph_curator"])
|
|
4192
4192
|
}
|
|
4193
4193
|
|
|
4194
4194
|
"""A natural event in the knowledge graph"""
|
|
@@ -5162,261 +5162,261 @@ type Query {
|
|
|
5162
5162
|
_service: _Service!
|
|
5163
5163
|
|
|
5164
5164
|
"""Get a graph by ID"""
|
|
5165
|
-
graph(id: ID!): Graph!
|
|
5165
|
+
graph(id: ID!): Graph! @auth(required_scopes: ["kraph_read"])
|
|
5166
5166
|
|
|
5167
5167
|
"""List all graphs in the graph engine"""
|
|
5168
|
-
graphs(filters: GraphFilter, ordering: [GraphOrder!]! = [], pagination: OffsetPaginationInput): [Graph!]!
|
|
5168
|
+
graphs(filters: GraphFilter, ordering: [GraphOrder!]! = [], pagination: OffsetPaginationInput): [Graph!]! @auth(required_scopes: ["kraph_read"])
|
|
5169
5169
|
|
|
5170
5170
|
"""List all entity categories"""
|
|
5171
|
-
entityCategories(filters: EntityCategoryFilter, ordering: [EntityCategoryOrder!]! = [], pagination: OffsetPaginationInput): [EntityCategory!]!
|
|
5171
|
+
entityCategories(filters: EntityCategoryFilter, ordering: [EntityCategoryOrder!]! = [], pagination: OffsetPaginationInput): [EntityCategory!]! @auth(required_scopes: ["kraph_read"])
|
|
5172
5172
|
|
|
5173
5173
|
"""Get a single entity category by ID"""
|
|
5174
|
-
entityCategory(id: ID!): EntityCategory!
|
|
5174
|
+
entityCategory(id: ID!): EntityCategory! @auth(required_scopes: ["kraph_read"])
|
|
5175
5175
|
|
|
5176
5176
|
"""List all measurement categories"""
|
|
5177
|
-
measurementCategories(filters: MeasurementCategoryFilter, ordering: [MeasurementCategoryOrder!]! = [], pagination: OffsetPaginationInput): [MeasurementCategory!]!
|
|
5177
|
+
measurementCategories(filters: MeasurementCategoryFilter, ordering: [MeasurementCategoryOrder!]! = [], pagination: OffsetPaginationInput): [MeasurementCategory!]! @auth(required_scopes: ["kraph_read"])
|
|
5178
5178
|
|
|
5179
5179
|
"""Get a single measurement category by ID"""
|
|
5180
|
-
measurementCategory(id: ID!): MeasurementCategory!
|
|
5180
|
+
measurementCategory(id: ID!): MeasurementCategory! @auth(required_scopes: ["kraph_read"])
|
|
5181
5181
|
|
|
5182
5182
|
"""List all relation categories"""
|
|
5183
|
-
relationCategories(filters: RelationCategoryFilter, ordering: [RelationCategoryOrder!]! = [], pagination: OffsetPaginationInput): [RelationCategory!]!
|
|
5183
|
+
relationCategories(filters: RelationCategoryFilter, ordering: [RelationCategoryOrder!]! = [], pagination: OffsetPaginationInput): [RelationCategory!]! @auth(required_scopes: ["kraph_read"])
|
|
5184
5184
|
|
|
5185
5185
|
"""Get a single relation category by ID"""
|
|
5186
|
-
relationCategory(id: ID!): RelationCategory!
|
|
5186
|
+
relationCategory(id: ID!): RelationCategory! @auth(required_scopes: ["kraph_read"])
|
|
5187
5187
|
|
|
5188
5188
|
"""List all structure relation categories"""
|
|
5189
|
-
structureRelationCategories(filters: StructureRelationCategoryFilter, ordering: [StructureRelationCategoryOrder!]! = [], pagination: OffsetPaginationInput): [StructureRelationCategory!]!
|
|
5189
|
+
structureRelationCategories(filters: StructureRelationCategoryFilter, ordering: [StructureRelationCategoryOrder!]! = [], pagination: OffsetPaginationInput): [StructureRelationCategory!]! @auth(required_scopes: ["kraph_read"])
|
|
5190
5190
|
|
|
5191
5191
|
"""Get a single structure relation category by ID"""
|
|
5192
|
-
structureRelationCategory(id: ID!): StructureRelationCategory!
|
|
5192
|
+
structureRelationCategory(id: ID!): StructureRelationCategory! @auth(required_scopes: ["kraph_read"])
|
|
5193
5193
|
|
|
5194
5194
|
"""List all natural event categories"""
|
|
5195
|
-
naturalEventCategories(filters: NaturalEventCategoryFilter, ordering: [NaturalEventCategoryOrder!]! = [], pagination: OffsetPaginationInput): [NaturalEventCategory!]!
|
|
5195
|
+
naturalEventCategories(filters: NaturalEventCategoryFilter, ordering: [NaturalEventCategoryOrder!]! = [], pagination: OffsetPaginationInput): [NaturalEventCategory!]! @auth(required_scopes: ["kraph_read"])
|
|
5196
5196
|
|
|
5197
5197
|
"""Get a single natural event category by ID"""
|
|
5198
|
-
naturalEventCategory(id: ID!): NaturalEventCategory!
|
|
5198
|
+
naturalEventCategory(id: ID!): NaturalEventCategory! @auth(required_scopes: ["kraph_read"])
|
|
5199
5199
|
|
|
5200
5200
|
"""List all protocol event categories"""
|
|
5201
|
-
protocolEventCategories(filters: ProtocolEventCategoryFilter, ordering: [ProtocolEventCategoryOrder!]! = [], pagination: OffsetPaginationInput): [ProtocolEventCategory!]!
|
|
5201
|
+
protocolEventCategories(filters: ProtocolEventCategoryFilter, ordering: [ProtocolEventCategoryOrder!]! = [], pagination: OffsetPaginationInput): [ProtocolEventCategory!]! @auth(required_scopes: ["kraph_read"])
|
|
5202
5202
|
|
|
5203
5203
|
"""Get a single protocol event category by ID"""
|
|
5204
|
-
protocolEventCategory(id: ID!): ProtocolEventCategory!
|
|
5204
|
+
protocolEventCategory(id: ID!): ProtocolEventCategory! @auth(required_scopes: ["kraph_read"])
|
|
5205
5205
|
|
|
5206
5206
|
"""Get aggregated graph stats with optional filters"""
|
|
5207
|
-
graphStats(filters: GraphFilter = null): GraphStats!
|
|
5207
|
+
graphStats(filters: GraphFilter = null): GraphStats! @auth(required_scopes: ["kraph_read"])
|
|
5208
5208
|
|
|
5209
5209
|
"""Get aggregated entity-category stats with optional filters"""
|
|
5210
|
-
entityCategoryStats(filters: EntityCategoryFilter = null): EntityCategoryStats!
|
|
5210
|
+
entityCategoryStats(filters: EntityCategoryFilter = null): EntityCategoryStats! @auth(required_scopes: ["kraph_read"])
|
|
5211
5211
|
|
|
5212
5212
|
"""Aggregated structure-kind stats"""
|
|
5213
|
-
structureKindStats(filters: StructureKindFilter = null): StructureKindStats!
|
|
5213
|
+
structureKindStats(filters: StructureKindFilter = null): StructureKindStats! @auth(required_scopes: ["kraph_read"])
|
|
5214
5214
|
|
|
5215
5215
|
"""Aggregated metric-kind stats"""
|
|
5216
|
-
metricKindStats(filters: MetricKindFilter = null): MetricKindStats!
|
|
5216
|
+
metricKindStats(filters: MetricKindFilter = null): MetricKindStats! @auth(required_scopes: ["kraph_read"])
|
|
5217
5217
|
|
|
5218
5218
|
"""Get aggregated measurement-category stats with optional filters"""
|
|
5219
|
-
measurementCategoryStats(filters: MeasurementCategoryFilter = null): MeasurementCategoryStats!
|
|
5219
|
+
measurementCategoryStats(filters: MeasurementCategoryFilter = null): MeasurementCategoryStats! @auth(required_scopes: ["kraph_read"])
|
|
5220
5220
|
|
|
5221
5221
|
"""Get aggregated relation-category stats with optional filters"""
|
|
5222
|
-
relationCategoryStats(filters: RelationCategoryFilter = null): RelationCategoryStats!
|
|
5222
|
+
relationCategoryStats(filters: RelationCategoryFilter = null): RelationCategoryStats! @auth(required_scopes: ["kraph_read"])
|
|
5223
5223
|
|
|
5224
5224
|
"""Get aggregated structure-relation-category stats with optional filters"""
|
|
5225
|
-
structureRelationCategoryStats(filters: StructureRelationCategoryFilter = null): StructureRelationCategoryStats!
|
|
5225
|
+
structureRelationCategoryStats(filters: StructureRelationCategoryFilter = null): StructureRelationCategoryStats! @auth(required_scopes: ["kraph_read"])
|
|
5226
5226
|
|
|
5227
5227
|
"""Get aggregated protocol-event-category stats with optional filters"""
|
|
5228
|
-
protocolEventCategoryStats(filters: ProtocolEventCategoryFilter = null): ProtocolEventCategoryStats!
|
|
5228
|
+
protocolEventCategoryStats(filters: ProtocolEventCategoryFilter = null): ProtocolEventCategoryStats! @auth(required_scopes: ["kraph_read"])
|
|
5229
5229
|
|
|
5230
5230
|
"""Get aggregated natural-event-category stats with optional filters"""
|
|
5231
|
-
naturalEventCategoryStats(filters: NaturalEventCategoryFilter = null): NaturalEventCategoryStats!
|
|
5231
|
+
naturalEventCategoryStats(filters: NaturalEventCategoryFilter = null): NaturalEventCategoryStats! @auth(required_scopes: ["kraph_read"])
|
|
5232
5232
|
|
|
5233
5233
|
"""Show all saved graph queries"""
|
|
5234
|
-
graphQueries: [GraphQuery!]!
|
|
5234
|
+
graphQueries: [GraphQuery!]! @auth(required_scopes: ["kraph_read"])
|
|
5235
5235
|
|
|
5236
5236
|
"""Show a single saved graph query by ID"""
|
|
5237
|
-
graphQuery(id: ID!): GraphQuery!
|
|
5237
|
+
graphQuery(id: ID!): GraphQuery! @auth(required_scopes: ["kraph_read"])
|
|
5238
5238
|
|
|
5239
5239
|
"""Show all saved graph table queries"""
|
|
5240
|
-
graphTableQueries(filters: GraphTableQueryFilter, ordering: [GraphTableQueryOrder!]! = [], pagination: OffsetPaginationInput): [GraphTableQuery!]!
|
|
5240
|
+
graphTableQueries(filters: GraphTableQueryFilter, ordering: [GraphTableQueryOrder!]! = [], pagination: OffsetPaginationInput): [GraphTableQuery!]! @auth(required_scopes: ["kraph_read"])
|
|
5241
5241
|
|
|
5242
5242
|
"""Show a single saved graph table query by ID"""
|
|
5243
|
-
graphTableQuery(id: ID!): GraphTableQuery!
|
|
5243
|
+
graphTableQuery(id: ID!): GraphTableQuery! @auth(required_scopes: ["kraph_read"])
|
|
5244
5244
|
|
|
5245
5245
|
"""Show all saved scatter plots"""
|
|
5246
|
-
scatterPlots(filters: ScatterPlotFilter, ordering: [ScatterPlotOrder!]! = [], pagination: OffsetPaginationInput): [ScatterPlot!]!
|
|
5246
|
+
scatterPlots(filters: ScatterPlotFilter, ordering: [ScatterPlotOrder!]! = [], pagination: OffsetPaginationInput): [ScatterPlot!]! @auth(required_scopes: ["kraph_read"])
|
|
5247
5247
|
|
|
5248
5248
|
"""Show a single saved scatter plot by ID"""
|
|
5249
|
-
scatterPlot(id: ID!): ScatterPlot!
|
|
5249
|
+
scatterPlot(id: ID!): ScatterPlot! @auth(required_scopes: ["kraph_read"])
|
|
5250
5250
|
|
|
5251
5251
|
"""Get one claimed individual by ID, as the log has it"""
|
|
5252
|
-
instance(id: ID!): Instance!
|
|
5252
|
+
instance(id: ID!): Instance! @auth(required_scopes: ["kraph_read"])
|
|
5253
5253
|
|
|
5254
5254
|
"""Get one claim relating two things by ID, as the log has it"""
|
|
5255
|
-
link(id: ID!): Link!
|
|
5255
|
+
link(id: ID!): Link! @auth(required_scopes: ["kraph_read"])
|
|
5256
5256
|
|
|
5257
5257
|
"""Every position anyone has taken on one claim, newest first"""
|
|
5258
|
-
standings(id: ID = null, filters: StandingFilter = null, pagination: LogPaginationInput = null): [Standing!]!
|
|
5258
|
+
standings(id: ID = null, filters: StandingFilter = null, pagination: LogPaginationInput = null): [Standing!]! @auth(required_scopes: ["kraph_read"])
|
|
5259
5259
|
|
|
5260
5260
|
"""Get one remark by ID, as the log has it"""
|
|
5261
|
-
comment(id: ID!): Comment!
|
|
5261
|
+
comment(id: ID!): Comment! @auth(required_scopes: ["kraph_read"])
|
|
5262
5262
|
|
|
5263
5263
|
"""
|
|
5264
5264
|
Every remark about one external datum, addressed by (identifier, object), newest first — resolved ones included
|
|
5265
5265
|
"""
|
|
5266
|
-
commentsFor(identifier: String!, object: ID!): [Comment!]!
|
|
5266
|
+
commentsFor(identifier: String!, object: ID!): [Comment!]! @auth(required_scopes: ["kraph_read"])
|
|
5267
5267
|
|
|
5268
5268
|
"""Every remark that mentions the caller, newest first"""
|
|
5269
|
-
myMentions: [Comment!]!
|
|
5269
|
+
myMentions: [Comment!]! @auth(required_scopes: ["kraph_read"])
|
|
5270
5270
|
|
|
5271
5271
|
"""
|
|
5272
5272
|
Get a node by ID, as the named view holds it. Refused when that view does not admit the node; the claim itself is `instance(id:)`
|
|
5273
5273
|
"""
|
|
5274
|
-
node(id: ID!, graph: ID!): Node!
|
|
5274
|
+
node(id: ID!, graph: ID!): Node! @auth(required_scopes: ["kraph_read"])
|
|
5275
5275
|
|
|
5276
5276
|
"""
|
|
5277
5277
|
List the individuals a view holds, as it draws them — view grain: one row per individual, membership from the view's rule, properties as of the view's cursor
|
|
5278
5278
|
"""
|
|
5279
|
-
nodes(graph: ID!, filters: NodeFilters = null, ordering: [NodeOrder!] = null, pagination: NodePaginationInput = null): [Node!]!
|
|
5279
|
+
nodes(graph: ID!, filters: NodeFilters = null, ordering: [NodeOrder!] = null, pagination: NodePaginationInput = null): [Node!]! @auth(required_scopes: ["kraph_read"])
|
|
5280
5280
|
|
|
5281
5281
|
"""Get an entity by ID, as the named view holds it — see `node`"""
|
|
5282
|
-
entity(id: ID!, graph: ID!): Entity!
|
|
5282
|
+
entity(id: ID!, graph: ID!): Entity! @auth(required_scopes: ["kraph_read"])
|
|
5283
5283
|
|
|
5284
5284
|
"""
|
|
5285
5285
|
List the entities a category's view holds, as it draws them — view grain: one row per individual
|
|
5286
5286
|
"""
|
|
5287
|
-
entities(entityCategoryId: ID!, filters: EntityFilter = null, ordering: [EntityOrder!] = null, pagination: EntityPaginationInput = null): [Entity!]!
|
|
5287
|
+
entities(entityCategoryId: ID!, filters: EntityFilter = null, ordering: [EntityOrder!] = null, pagination: EntityPaginationInput = null): [Entity!]! @auth(required_scopes: ["kraph_read"])
|
|
5288
5288
|
|
|
5289
5289
|
"""Get a structure by ID — a bare uuid, its evidence primary key"""
|
|
5290
|
-
structure(id: ID!): Structure!
|
|
5290
|
+
structure(id: ID!): Structure! @auth(required_scopes: ["kraph_read"])
|
|
5291
5291
|
|
|
5292
5292
|
"""List structures with optional filters, ordering, and pagination"""
|
|
5293
|
-
structures(structureKindId: ID = null, filters: StructureFilter = null, ordering: [StructureOrder!] = null, pagination: StructurePaginationInput = null): [Structure!]!
|
|
5293
|
+
structures(structureKindId: ID = null, filters: StructureFilter = null, ordering: [StructureOrder!] = null, pagination: StructurePaginationInput = null): [Structure!]! @auth(required_scopes: ["kraph_read"])
|
|
5294
5294
|
|
|
5295
5295
|
"""
|
|
5296
5296
|
Get a structure by identifier and object. No graph: a structure belongs to the organization and has no vertex in any projection
|
|
5297
5297
|
"""
|
|
5298
|
-
structureByIdentifier(identifier: StructureIdentifier!, object: StructureObject!): Structure!
|
|
5298
|
+
structureByIdentifier(identifier: StructureIdentifier!, object: StructureObject!): Structure! @auth(required_scopes: ["kraph_read"])
|
|
5299
5299
|
|
|
5300
5300
|
"""List the structures that are evidence for an entity"""
|
|
5301
|
-
informingStructures(entityId: String!): [Structure!]!
|
|
5301
|
+
informingStructures(entityId: String!): [Structure!]! @auth(required_scopes: ["kraph_read"])
|
|
5302
5302
|
|
|
5303
5303
|
"""Get a natural event by ID, as the named view holds it — see `node`"""
|
|
5304
|
-
naturalEvent(id: ID!, graph: ID!): NaturalEvent!
|
|
5304
|
+
naturalEvent(id: ID!, graph: ID!): NaturalEvent! @auth(required_scopes: ["kraph_read"])
|
|
5305
5305
|
|
|
5306
5306
|
"""
|
|
5307
5307
|
List the natural events a category's view holds — view grain: one row per individual
|
|
5308
5308
|
"""
|
|
5309
|
-
naturalEvents(naturalEventCategoryId: ID!, filters: NaturalEventFilter = null, ordering: [NaturalEventOrder!] = null, pagination: NaturalEventPaginationInput = null): [NaturalEvent!]!
|
|
5309
|
+
naturalEvents(naturalEventCategoryId: ID!, filters: NaturalEventFilter = null, ordering: [NaturalEventOrder!] = null, pagination: NaturalEventPaginationInput = null): [NaturalEvent!]! @auth(required_scopes: ["kraph_read"])
|
|
5310
5310
|
|
|
5311
5311
|
"""Get a protocol event by ID, as the named view holds it — see `node`"""
|
|
5312
|
-
protocolEvent(id: ID!, graph: ID!): ProtocolEvent!
|
|
5312
|
+
protocolEvent(id: ID!, graph: ID!): ProtocolEvent! @auth(required_scopes: ["kraph_read"])
|
|
5313
5313
|
|
|
5314
5314
|
"""
|
|
5315
5315
|
List the protocol events a category's view holds — view grain: one row per individual
|
|
5316
5316
|
"""
|
|
5317
|
-
protocolEvents(protocolEventCategoryId: ID!, filters: ProtocolEventFilter = null, ordering: [ProtocolEventOrder!] = null, pagination: ProtocolEventPaginationInput = null): [ProtocolEvent!]!
|
|
5317
|
+
protocolEvents(protocolEventCategoryId: ID!, filters: ProtocolEventFilter = null, ordering: [ProtocolEventOrder!] = null, pagination: ProtocolEventPaginationInput = null): [ProtocolEvent!]! @auth(required_scopes: ["kraph_read"])
|
|
5318
5318
|
|
|
5319
5319
|
"""Get a measurement claim by ID — a bare uuid, its `Link` primary key"""
|
|
5320
|
-
measurement(id: ID!): Measurement!
|
|
5320
|
+
measurement(id: ID!): Measurement! @auth(required_scopes: ["kraph_read"])
|
|
5321
5321
|
|
|
5322
5322
|
"""List the measurement claims a category's rule admits — log grain"""
|
|
5323
|
-
measurements(measurementCategoryId: ID!, filters: MeasurementFilter = null, ordering: [MeasurementOrder!] = null, pagination: MeasurementPaginationInput = null): [Measurement!]!
|
|
5323
|
+
measurements(measurementCategoryId: ID!, filters: MeasurementFilter = null, ordering: [MeasurementOrder!] = null, pagination: MeasurementPaginationInput = null): [Measurement!]! @auth(required_scopes: ["kraph_read"])
|
|
5324
5324
|
|
|
5325
5325
|
"""Get an INFORMS claim by ID — a bare uuid, its `Link` primary key"""
|
|
5326
|
-
description(id: ID!): Description!
|
|
5326
|
+
description(id: ID!): Description! @auth(required_scopes: ["kraph_read"])
|
|
5327
5327
|
|
|
5328
5328
|
"""
|
|
5329
5329
|
Get an input participation claim by ID — a bare uuid, its `Link` primary key
|
|
5330
5330
|
"""
|
|
5331
|
-
inputParticipation(id: ID!): InputParticipation!
|
|
5331
|
+
inputParticipation(id: ID!): InputParticipation! @auth(required_scopes: ["kraph_read"])
|
|
5332
5332
|
|
|
5333
5333
|
"""
|
|
5334
5334
|
List the input participation claims a view admits — log grain, under the view's event categories' rules
|
|
5335
5335
|
"""
|
|
5336
|
-
inputParticipations(graph: ID!, filters: ParticipationFilter = null, ordering: [ParticipationOrder!] = null, pagination: ParticipationPaginationInput = null): [InputParticipation!]!
|
|
5336
|
+
inputParticipations(graph: ID!, filters: ParticipationFilter = null, ordering: [ParticipationOrder!] = null, pagination: ParticipationPaginationInput = null): [InputParticipation!]! @auth(required_scopes: ["kraph_read"])
|
|
5337
5337
|
|
|
5338
5338
|
"""
|
|
5339
5339
|
Get an output participation claim by ID — a bare uuid, its `Link` primary key
|
|
5340
5340
|
"""
|
|
5341
|
-
outputParticipation(id: ID!): OutputParticipation!
|
|
5341
|
+
outputParticipation(id: ID!): OutputParticipation! @auth(required_scopes: ["kraph_read"])
|
|
5342
5342
|
|
|
5343
5343
|
"""
|
|
5344
5344
|
List the output participation claims a view admits — log grain, under the view's event categories' rules
|
|
5345
5345
|
"""
|
|
5346
|
-
outputParticipations(graph: ID!, filters: ParticipationFilter = null, ordering: [ParticipationOrder!] = null, pagination: ParticipationPaginationInput = null): [OutputParticipation!]!
|
|
5346
|
+
outputParticipations(graph: ID!, filters: ParticipationFilter = null, ordering: [ParticipationOrder!] = null, pagination: ParticipationPaginationInput = null): [OutputParticipation!]! @auth(required_scopes: ["kraph_read"])
|
|
5347
5347
|
|
|
5348
5348
|
"""
|
|
5349
5349
|
The acts of claiming, newest first, by who made them, with what tool and when
|
|
5350
5350
|
"""
|
|
5351
|
-
assertions(filters: AssertionFilter = null, pagination: LogPaginationInput = null): [Assertion!]!
|
|
5351
|
+
assertions(filters: AssertionFilter = null, pagination: LogPaginationInput = null): [Assertion!]! @auth(required_scopes: ["kraph_read"])
|
|
5352
5352
|
|
|
5353
5353
|
"""One act of claiming, with every claim it recorded"""
|
|
5354
|
-
assertion(id: ID!): Assertion!
|
|
5354
|
+
assertion(id: ID!): Assertion! @auth(required_scopes: ["kraph_read"])
|
|
5355
5355
|
|
|
5356
5356
|
"""
|
|
5357
5357
|
The log forward from a seq, ascending, cut at the committed horizon — the read a consumer polls without ever skipping a late-committing act
|
|
5358
5358
|
"""
|
|
5359
|
-
changes(afterSeq: Int!, limit: Int! = 100): Changes!
|
|
5359
|
+
changes(afterSeq: Int!, limit: Int! = 100): Changes! @auth(required_scopes: ["kraph_read"])
|
|
5360
5360
|
|
|
5361
5361
|
"""Get a relation claim by ID — a bare uuid, its `Link` primary key"""
|
|
5362
|
-
relation(id: ID!): Relation!
|
|
5362
|
+
relation(id: ID!): Relation! @auth(required_scopes: ["kraph_read"])
|
|
5363
5363
|
|
|
5364
5364
|
"""
|
|
5365
5365
|
List the relation claims a category's rule admits — log grain: every claim, standings folded under the category's rule, however the view draws them
|
|
5366
5366
|
"""
|
|
5367
|
-
relations(relationCategoryId: ID!, filters: RelationFilter = null, ordering: [RelationOrder!] = null, pagination: RelationPaginationInput = null): [Relation!]!
|
|
5367
|
+
relations(relationCategoryId: ID!, filters: RelationFilter = null, ordering: [RelationOrder!] = null, pagination: RelationPaginationInput = null): [Relation!]! @auth(required_scopes: ["kraph_read"])
|
|
5368
5368
|
|
|
5369
5369
|
"""
|
|
5370
5370
|
Get a structure relation claim by ID — a bare uuid, its `Link` primary key
|
|
5371
5371
|
"""
|
|
5372
|
-
structureRelation(id: ID!): StructureRelation!
|
|
5372
|
+
structureRelation(id: ID!): StructureRelation! @auth(required_scopes: ["kraph_read"])
|
|
5373
5373
|
|
|
5374
5374
|
"""
|
|
5375
5375
|
List the structure relation claims a category's rule admits — log grain
|
|
5376
5376
|
"""
|
|
5377
|
-
structureRelations(structureRelationCategoryId: ID!, filters: StructureRelationFilter = null, ordering: [StructureRelationOrder!] = null, pagination: StructureRelationPaginationInput = null): [StructureRelation!]!
|
|
5377
|
+
structureRelations(structureRelationCategoryId: ID!, filters: StructureRelationFilter = null, ordering: [StructureRelationOrder!] = null, pagination: StructureRelationPaginationInput = null): [StructureRelation!]! @auth(required_scopes: ["kraph_read"])
|
|
5378
5378
|
|
|
5379
5379
|
"""Get a metric by ID"""
|
|
5380
|
-
metric(id: ID!): Metric!
|
|
5380
|
+
metric(id: ID!): Metric! @auth(required_scopes: ["kraph_read"])
|
|
5381
5381
|
|
|
5382
5382
|
"""List every un-retracted metric recorded under one metric kind"""
|
|
5383
|
-
metrics(metricKindId: ID!): [Metric!]!
|
|
5383
|
+
metrics(metricKindId: ID!): [Metric!]! @auth(required_scopes: ["kraph_read"])
|
|
5384
5384
|
|
|
5385
5385
|
"""List every un-retracted metric describing a structure"""
|
|
5386
|
-
metricsForStructure(structureId: ID!): [Metric!]!
|
|
5386
|
+
metricsForStructure(structureId: ID!): [Metric!]! @auth(required_scopes: ["kraph_read"])
|
|
5387
5387
|
|
|
5388
5388
|
"""List every metric recorded under one assertion"""
|
|
5389
|
-
metricsForAssertion(assertionId: ID!): [Metric!]!
|
|
5389
|
+
metricsForAssertion(assertionId: ID!): [Metric!]! @auth(required_scopes: ["kraph_read"])
|
|
5390
5390
|
|
|
5391
5391
|
"""
|
|
5392
5392
|
List the organization's words — its vocabulary, independent of any graph
|
|
5393
5393
|
"""
|
|
5394
|
-
terms(filters: TermFilter = null, pagination: VocabularyPaginationInput = null): [Term!]!
|
|
5394
|
+
terms(filters: TermFilter = null, pagination: VocabularyPaginationInput = null): [Term!]! @auth(required_scopes: ["kraph_read"])
|
|
5395
5395
|
|
|
5396
5396
|
"""Get one of the organization's words by ID"""
|
|
5397
|
-
term(id: ID!): Term!
|
|
5397
|
+
term(id: ID!): Term! @auth(required_scopes: ["kraph_read"])
|
|
5398
5398
|
|
|
5399
5399
|
"""List the organization's structure kinds"""
|
|
5400
|
-
structureKinds(filters: StructureKindFilter = null, pagination: VocabularyPaginationInput = null): [StructureKind!]!
|
|
5400
|
+
structureKinds(filters: StructureKindFilter = null, pagination: VocabularyPaginationInput = null): [StructureKind!]! @auth(required_scopes: ["kraph_read"])
|
|
5401
5401
|
|
|
5402
5402
|
"""Get one structure kind by ID"""
|
|
5403
|
-
structureKind(id: ID!): StructureKind!
|
|
5403
|
+
structureKind(id: ID!): StructureKind! @auth(required_scopes: ["kraph_read"])
|
|
5404
5404
|
|
|
5405
5405
|
"""List the organization's metric kinds"""
|
|
5406
|
-
metricKinds(filters: MetricKindFilter = null, pagination: VocabularyPaginationInput = null): [MetricKind!]!
|
|
5406
|
+
metricKinds(filters: MetricKindFilter = null, pagination: VocabularyPaginationInput = null): [MetricKind!]! @auth(required_scopes: ["kraph_read"])
|
|
5407
5407
|
|
|
5408
5408
|
"""Get one metric kind by ID"""
|
|
5409
|
-
metricKind(id: ID!): MetricKind!
|
|
5409
|
+
metricKind(id: ID!): MetricKind! @auth(required_scopes: ["kraph_read"])
|
|
5410
5410
|
|
|
5411
5411
|
"""
|
|
5412
5412
|
Render a saved table query. Answers from the **drawing**: a page of the view's property graph as of its cursor, filtered, ordered and paged there — the one read with no log path. `Graph.projection { lag }` says how far behind the log it is
|
|
5413
5413
|
"""
|
|
5414
|
-
renderGraphTable(query: ID!, filters: RenderGraphTableFilter = null, pagination: RenderGraphTablePagination = null, order: RenderGraphTableOrder = null): GraphTableRender
|
|
5414
|
+
renderGraphTable(query: ID!, filters: RenderGraphTableFilter = null, pagination: RenderGraphTablePagination = null, order: RenderGraphTableOrder = null): GraphTableRender @auth(required_scopes: ["kraph_read"])
|
|
5415
5415
|
|
|
5416
5416
|
"""
|
|
5417
5417
|
Render a table plan **without saving it** — the plan a client is still writing, against one view. Same compile path as `renderGraphTable`: answers from the drawing, labels resolved against the view's namespace, filtered, ordered and paged there. Nothing is written; the plan comes back as compiled
|
|
5418
5418
|
"""
|
|
5419
|
-
renderTablePlan(graph: ID!, plan: TableQueryPlanInput!, filters: RenderGraphTableFilter = null, pagination: RenderGraphTablePagination = null, order: RenderGraphTableOrder = null): TablePlanRender!
|
|
5419
|
+
renderTablePlan(graph: ID!, plan: TableQueryPlanInput!, filters: RenderGraphTableFilter = null, pagination: RenderGraphTablePagination = null, order: RenderGraphTableOrder = null): TablePlanRender! @auth(required_scopes: ["kraph_read"])
|
|
5420
5420
|
}
|
|
5421
5421
|
|
|
5422
5422
|
"""Input for recording measurements against a datum already on the record"""
|
|
@@ -6632,7 +6632,7 @@ type Subscription {
|
|
|
6632
6632
|
"""
|
|
6633
6633
|
Each act of claiming in the caller's organization, as its transaction commits. Never an act that rolled back, never another tenant's
|
|
6634
6634
|
"""
|
|
6635
|
-
assertionRecorded: Assertion!
|
|
6635
|
+
assertionRecorded: Assertion! @auth(required_scopes: ["kraph_read"])
|
|
6636
6636
|
}
|
|
6637
6637
|
|
|
6638
6638
|
"""Input for superseding a metric value"""
|
|
@@ -7384,4 +7384,4 @@ union _Entity = Assertion | Comment | EntityCategory | Graph | GraphTableQuery |
|
|
|
7384
7384
|
|
|
7385
7385
|
type _Service {
|
|
7386
7386
|
sdl: String!
|
|
7387
|
-
}
|
|
7387
|
+
}
|
|
@@ -34,7 +34,7 @@ from kraph.traits import (
|
|
|
34
34
|
from pydantic import AliasChoices, BaseModel, ConfigDict, Field
|
|
35
35
|
from rath.scalars import ID, IDCoercible
|
|
36
36
|
from rath.task import TaskLike
|
|
37
|
-
from typing import Annotated, Any, Iterable, Literal
|
|
37
|
+
from typing import Annotated, Any, ClassVar, Iterable, Literal
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
class GraphQLDefault:
|
|
@@ -7201,6 +7201,13 @@ class KraphApi:
|
|
|
7201
7201
|
Each method hands its operation to ``execute``, ``aexecute``, ``subscribe``, ``asubscribe`` of ``self``, which the class this one is mixed into (or a base of it) provides.
|
|
7202
7202
|
"""
|
|
7203
7203
|
|
|
7204
|
+
__scopes__: ClassVar[tuple[str, ...]] = (
|
|
7205
|
+
"kraph_assert",
|
|
7206
|
+
"kraph_insights",
|
|
7207
|
+
"kraph_read",
|
|
7208
|
+
"kraph_schema",
|
|
7209
|
+
)
|
|
7210
|
+
|
|
7204
7211
|
async def acreate_entity_category(
|
|
7205
7212
|
self,
|
|
7206
7213
|
key: str,
|
|
@@ -12,8 +12,8 @@ dependencies = [
|
|
|
12
12
|
"dokker>=2.8",
|
|
13
13
|
"rath>=4.1.1",
|
|
14
14
|
"websockets>=15.0.1",
|
|
15
|
-
# The service and structures are declared with arkitekt-spec.
|
|
16
|
-
"arkitekt-spec>=
|
|
15
|
+
# The service and structures are declared with arkitekt-spec (5.0: a service reads its scopes off its client).
|
|
16
|
+
"arkitekt-spec>=5.0",
|
|
17
17
|
# The service wiring (Alias, Require, FaktsAuthLink); it came through rekuest before.
|
|
18
18
|
"fakts>=6.1",
|
|
19
19
|
]
|
|
@@ -32,7 +32,7 @@ dev-dependencies = [
|
|
|
32
32
|
"black>=23.1.0,<24",
|
|
33
33
|
"pytest-aiohttp>=1.0.4,<2",
|
|
34
34
|
"ruff>=0.0.254",
|
|
35
|
-
"turms>=
|
|
35
|
+
"turms>=3.0",
|
|
36
36
|
"dokker>=2.8",
|
|
37
37
|
"basedpyright>=1.21",
|
|
38
38
|
]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|