kraph 5.0.0__tar.gz → 6.0.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.
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: kraph
3
- Version: 5.0.0
3
+ Version: 6.0.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>=3.4
8
+ Requires-Dist: arkitekt-spec>=3.19.1
9
9
  Requires-Dist: dokker>=2.8
10
- Requires-Dist: fakts>=5.4
10
+ Requires-Dist: fakts>=6.1
11
11
  Requires-Dist: rath>=4.1.1
12
12
  Requires-Dist: websockets>=15.0.1
13
13
  Description-Content-Type: text/markdown
@@ -128,9 +128,6 @@
128
128
  "Standing": [
129
129
  "kraph.traits.StandingTrait"
130
130
  ],
131
- "MediaStore": [
132
- "kraph.traits.HasPresignedDownloadAccessor"
133
- ],
134
131
  "AssertedEntity": [
135
132
  "kraph.traits.AssertedTrait",
136
133
  "kraph.traits.HasDrawings"
@@ -239,4 +236,4 @@
239
236
  ]
240
237
  }
241
238
  }
242
- }
239
+ }
@@ -1,3 +1,5 @@
1
+ directive @auth(required_scopes: [String!], required_roles: [String!], required_org_roles: [String!], any_scope_of: [String!], any_role_of: [String!], any_org_role_of: [String!], allow_scoped: Boolean) on FIELD_DEFINITION
2
+
1
3
  directive @oneOf on INPUT_OBJECT
2
4
 
3
5
  schema @link(url: "https://specs.apollo.dev/federation/v2.11", import: ["@key"]) {
@@ -962,55 +964,6 @@ input AttestStructureInput {
962
964
  confidence: Float = null
963
965
  }
964
966
 
965
- """Temporary S3 credentials for reading a big file."""
966
- type BigFileAccessGrant {
967
- status: String!
968
- accessKey: String!
969
- secretKey: String!
970
- sessionToken: String!
971
- region: String!
972
- bucket: String!
973
- key: String!
974
- path: String!
975
- expiresIn: Int!
976
- store: String
977
- }
978
-
979
- """
980
- A BigFileStore represents a large object stored behind the S3 datalayer.
981
- """
982
- type BigFileStore @key(fields: "id", resolvable: true) {
983
- id: ID!
984
- path: String!
985
- bucket: String!
986
- key: String!
987
- originalFileName: String
988
- contentType: String
989
-
990
- """Get temporary S3 read credentials for the object."""
991
- accessGrant(host: String = null): BigFileAccessGrant!
992
- presignedUrl: String!
993
- }
994
-
995
- """Temporary S3 credentials for uploading a big file."""
996
- type BigFileUploadGrant {
997
- status: String!
998
- accessKey: String!
999
- secretKey: String!
1000
- sessionToken: String!
1001
- region: String!
1002
- bucket: String!
1003
- key: String!
1004
- path: String!
1005
- expiresIn: Int!
1006
- store: String!
1007
- maxBytes: Int!
1008
- originalFileName: String
1009
- uploadFileName: String!
1010
- uploadContentType: String
1011
- uploadFormField: String!
1012
- }
1013
-
1014
967
  """Builder arguments for generating a graph table query"""
1015
968
  input BuilderArgsInput {
1016
969
  """Optional filtering conditions for the graph query"""
@@ -1023,6 +976,11 @@ input BuilderArgsInput {
1023
976
  returnStatements: [ReturnStatementInput!] = null
1024
977
  }
1025
978
 
979
+ """
980
+ A number of bytes. 64-bit, unlike Int: serialized as a JSON number, and accepted as a number or a numeric string.
981
+ """
982
+ scalar ByteCount
983
+
1026
984
  enum Cardinality {
1027
985
  ONE_TO_ONE
1028
986
  ONE_TO_MANY
@@ -2766,19 +2724,21 @@ input EventRoleInput {
2766
2724
  ontologyReferences: [OntologyReferenceInput!]! = []
2767
2725
  }
2768
2726
 
2769
- input FinishBigFileUploadInput {
2770
- storeId: String!
2771
- valid: Boolean! = true
2772
- }
2773
-
2774
2727
  input FinishMediaUploadInput {
2775
2728
  storeId: String!
2776
2729
  valid: Boolean! = true
2777
2730
  }
2778
2731
 
2779
- input FinishZarrUploadInput {
2780
- storeId: String!
2781
- valid: Boolean! = true
2732
+ """Temporary S3 credentials for reading a media object."""
2733
+ type GeneralMediaAccessGrant {
2734
+ status: String!
2735
+ accessKey: String!
2736
+ secretKey: String!
2737
+ sessionToken: String!
2738
+ region: String!
2739
+ bucket: String!
2740
+ prefix: String!
2741
+ expiresIn: Int!
2782
2742
  }
2783
2743
 
2784
2744
  """One view over the organization's evidence log"""
@@ -3686,17 +3646,24 @@ type MediaStore @key(fields: "id", resolvable: true) {
3686
3646
  path: String!
3687
3647
  bucket: String!
3688
3648
  key: String!
3649
+
3650
+ """
3651
+ The byte budget the upload grant advertised for this store. Advertised, not enforced: a session policy bounds what a credential may write, never how much, so a store may exceed this
3652
+ """
3653
+ maxBytes: ByteCount
3654
+
3655
+ """
3656
+ How many bytes this store actually holds, measured when its upload was finished. Null while unfinished, or for stores written before this was recorded
3657
+ """
3658
+ sizeBytes: ByteCount
3689
3659
  originalFileName: String
3690
3660
  contentType: String
3691
3661
 
3692
3662
  """Get temporary S3 read credentials for the media object."""
3693
- accessGrant(host: String = null): MediaAccessGrant!
3694
-
3695
- """Compatibility field returning the canonical S3 object path."""
3696
- presignedUrl(host: String = null): String!
3663
+ accessGrant: MediaAccessGrant!
3697
3664
  }
3698
3665
 
3699
- """A presigned PUT grant for uploading a media object."""
3666
+ """Temporary S3 credentials for uploading a media object."""
3700
3667
  type MediaUploadGrant {
3701
3668
  status: String!
3702
3669
  accessKey: String!
@@ -3708,11 +3675,10 @@ type MediaUploadGrant {
3708
3675
  path: String!
3709
3676
  expiresIn: Int!
3710
3677
  store: String!
3711
- maxBytes: Int!
3678
+ maxBytes: ByteCount!
3712
3679
  originalFileName: String
3713
3680
  uploadFileName: String!
3714
3681
  uploadContentType: String
3715
- uploadFormField: String!
3716
3682
  }
3717
3683
 
3718
3684
  """
@@ -4087,22 +4053,23 @@ type Mutation {
4087
4053
  retractDifferentInstance(input: RetractDifferentInstanceInput!): AssertedDifference!
4088
4054
 
4089
4055
  """Upload media and return a URL for access"""
4090
- requestMediaUpload(input: RequestMediaUploadInput!): MediaUploadGrant!
4056
+ requestMediaUpload(input: RequestMediaUploadInput!): MediaUploadGrant! @auth(any_role_of: ["admin", "editor", "bot"])
4091
4057
 
4092
4058
  """Finalize a media upload after the client has written the object"""
4093
- finishMediaUpload(input: FinishMediaUploadInput!): MediaStore!
4059
+ finishMediaUpload(input: FinishMediaUploadInput!): MediaStore! @auth(any_role_of: ["admin", "editor", "bot"])
4094
4060
 
4095
- """Request an upload grant for a big file store"""
4096
- requestBigFileUpload(input: RequestBigFileUploadInput!): BigFileUploadGrant!
4097
-
4098
- """Finalize a big file upload after the client has written the object"""
4099
- finishBigFileUpload(input: FinishBigFileUploadInput!): BigFileStore!
4061
+ """
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
+ """
4064
+ refreshMediaUpload(input: RefreshUploadInput!): MediaUploadGrant! @auth(any_role_of: ["admin", "editor", "bot"])
4100
4065
 
4101
- """Request an upload grant for a Zarr store"""
4102
- requestZarrUpload(input: RequestZarrUploadInput!): ZarrUploadGrant!
4066
+ """Request temporary S3 read credentials for a media file"""
4067
+ requestMediaAccess(input: RequestMediaAccessInput!): MediaAccessGrant!
4103
4068
 
4104
- """Finalize a Zarr upload after the client has written the object"""
4105
- finishZarrUpload(input: FinishZarrUploadInput!): ZarrStore!
4069
+ """
4070
+ Request temporary S3 read credentials for media files in the organization
4071
+ """
4072
+ requestGeneralMediaAccess(input: RequestGeneralMediaAccessInput!): GeneralMediaAccessGrant!
4106
4073
 
4107
4074
  """Create a new graph in the graph engine"""
4108
4075
  createGraph(input: CreateGraphInput!): Graph!
@@ -5469,6 +5436,10 @@ input RecordMetricsInput {
5469
5436
  id: String!
5470
5437
  }
5471
5438
 
5439
+ input RefreshUploadInput {
5440
+ storeId: String!
5441
+ }
5442
+
5472
5443
  """A relation edge between two entities"""
5473
5444
  type Relation implements Edge {
5474
5445
  """This claim's durable identity — the `Link` primary key, a bare uuid"""
@@ -5721,32 +5692,20 @@ input RenderGraphTablePagination {
5721
5692
  offset: Int!
5722
5693
  }
5723
5694
 
5724
- input RequestBigFileUploadInput {
5725
- originalFileName: String!
5726
- fileSize: Int = null
5727
- contentType: String = null
5728
- datalayer: String! = "s3"
5729
- host: String = null
5730
- port: Int = null
5731
- protocol: String! = "https"
5695
+ input RequestGeneralMediaAccessInput {
5696
+ expiresIn: Int = null
5697
+ }
5698
+
5699
+ input RequestMediaAccessInput {
5700
+ storeId: String!
5732
5701
  }
5733
5702
 
5734
5703
  input RequestMediaUploadInput {
5735
5704
  originalFileName: String!
5736
- fileSize: Int = null
5705
+ fileSize: ByteCount!
5737
5706
  contentType: String = null
5738
5707
  }
5739
5708
 
5740
- input RequestZarrUploadInput {
5741
- shape: [Int!] = null
5742
- chunks: [Int!] = null
5743
- version: String = null
5744
- datalayer: String! = "s3"
5745
- host: String = null
5746
- port: Int = null
5747
- protocol: String! = "https"
5748
- }
5749
-
5750
5709
  """
5751
5710
  Input for claiming a remark no longer stands — withdrawn or resolved; the assertion records whose position it is
5752
5711
  """
@@ -7419,63 +7378,10 @@ enum WhereOperator {
7419
7378
  ENDS_WITH
7420
7379
  }
7421
7380
 
7422
- """Temporary S3 credentials for reading a Zarr store."""
7423
- type ZarrAccessGrant {
7424
- status: String!
7425
- accessKey: String!
7426
- secretKey: String!
7427
- sessionToken: String!
7428
- region: String!
7429
- bucket: String!
7430
- key: String!
7431
- path: String!
7432
- expiresIn: Int!
7433
- store: String
7434
- }
7435
-
7436
- type ZarrStore @key(fields: "id", resolvable: true) {
7437
- id: ID!
7438
- path: String!
7439
- bucket: String!
7440
- key: String!
7441
- shape: [Int!]!
7442
- chunks: [Int!]!
7443
- version: String
7444
- dtype: String
7445
- dimensionNames: [String]
7446
- fillValue: JSON!
7447
- attributes: JSON
7448
- storageTransformers: JSON
7449
- chunkKeyEncoding: JSON
7450
- codecs: JSON
7451
-
7452
- """Get temporary S3 read credentials for the Zarr object."""
7453
- accessGrant(host: String = null): ZarrAccessGrant!
7454
- }
7455
-
7456
- """Temporary S3 credentials for uploading a Zarr store."""
7457
- type ZarrUploadGrant {
7458
- action: String!
7459
- status: String!
7460
- accessKey: String!
7461
- secretKey: String!
7462
- sessionToken: String!
7463
- bucket: String!
7464
- key: String!
7465
- path: String!
7466
- expiresIn: Int!
7467
- store: String!
7468
- maxBytes: Int!
7469
- originalFileName: String
7470
- uploadFileName: String!
7471
- uploadContentType: String
7472
- uploadFormField: String!
7473
- }
7474
-
7475
7381
  scalar _Any
7476
7382
 
7477
- union _Entity = Assertion | BigFileStore | Comment | EntityCategory | Graph | GraphTableQuery | Instance | Link | MeasurementCategory | MediaStore | MetricKind | NaturalEventCategory | ProtocolEventCategory | RelationCategory | ScatterPlot | Standing | StructureKind | StructureRelationCategory | Term | ZarrStore
7383
+ union _Entity = Assertion | Comment | EntityCategory | Graph | GraphTableQuery | Instance | Link | MeasurementCategory | MediaStore | MetricKind | NaturalEventCategory | ProtocolEventCategory | RelationCategory | ScatterPlot | Standing | StructureKind | StructureRelationCategory | Term
7478
7384
 
7479
7385
  type _Service {
7480
7386
  sdl: String!
7481
- }
7387
+ }
@@ -15,7 +15,6 @@ from kraph.traits import (
15
15
  EntityTrait,
16
16
  GraphTrait,
17
17
  HasDrawings,
18
- HasPresignedDownloadAccessor,
19
18
  InstanceTrait,
20
19
  LinkTrait,
21
20
  MeasurementCategoryTrait,
@@ -3730,7 +3729,7 @@ class MetricKind(MetricKindTrait, BaseModel):
3730
3729
  type = "MetricKind"
3731
3730
 
3732
3731
 
3733
- class MediaStore(HasPresignedDownloadAccessor, BaseModel):
3732
+ class MediaStore(BaseModel):
3734
3733
  """No documentation"""
3735
3734
 
3736
3735
  typename: Literal["MediaStore"] = Field(
@@ -3738,14 +3737,12 @@ class MediaStore(HasPresignedDownloadAccessor, BaseModel):
3738
3737
  )
3739
3738
  id: ID
3740
3739
  key: str
3741
- presigned_url: str = Field(alias="presignedUrl")
3742
- "Compatibility field returning the canonical S3 object path."
3743
3740
  model_config = ConfigDict(frozen=True)
3744
3741
 
3745
3742
  class Meta:
3746
3743
  """Meta class for MediaStore"""
3747
3744
 
3748
- document = "fragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}"
3745
+ document = "fragment MediaStore on MediaStore {\n id\n key\n __typename\n}"
3749
3746
  name = "MediaStore"
3750
3747
  type = "MediaStore"
3751
3748
 
@@ -4748,7 +4745,7 @@ class EntityCategory(CategoryBaseEntityCategory, EntityCategoryTrait, BaseModel)
4748
4745
  class Meta:
4749
4746
  """Meta class for EntityCategory"""
4750
4747
 
4751
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment EntityCategory on EntityCategory {\n ...CategoryBase\n instanceKind\n positionX\n positionY\n width\n height\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}"
4748
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment EntityCategory on EntityCategory {\n ...CategoryBase\n instanceKind\n positionX\n positionY\n width\n height\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}"
4752
4749
  name = "EntityCategory"
4753
4750
  type = "EntityCategory"
4754
4751
 
@@ -4772,7 +4769,7 @@ class RelationCategory(CategoryBaseRelationCategory, RelationCategoryTrait, Base
4772
4769
  class Meta:
4773
4770
  """Meta class for RelationCategory"""
4774
4771
 
4775
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment RelationCategory on RelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...EntityDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}"
4772
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment RelationCategory on RelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...EntityDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}"
4776
4773
  name = "RelationCategory"
4777
4774
  type = "RelationCategory"
4778
4775
 
@@ -4798,7 +4795,7 @@ class MeasurementCategory(
4798
4795
  class Meta:
4799
4796
  """Meta class for MeasurementCategory"""
4800
4797
 
4801
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment StructureDescriptor on StructureDescriptor {\n defaultCategoryKey\n __typename\n}\n\nfragment MeasurementCategory on MeasurementCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}"
4798
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment StructureDescriptor on StructureDescriptor {\n defaultCategoryKey\n __typename\n}\n\nfragment MeasurementCategory on MeasurementCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}"
4802
4799
  name = "MeasurementCategory"
4803
4800
  type = "MeasurementCategory"
4804
4801
 
@@ -4824,7 +4821,7 @@ class StructureRelationCategory(
4824
4821
  class Meta:
4825
4822
  """Meta class for StructureRelationCategory"""
4826
4823
 
4827
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment StructureDescriptor on StructureDescriptor {\n defaultCategoryKey\n __typename\n}\n\nfragment StructureRelationCategory on StructureRelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...StructureDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}"
4824
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment StructureDescriptor on StructureDescriptor {\n defaultCategoryKey\n __typename\n}\n\nfragment StructureRelationCategory on StructureRelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...StructureDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}"
4828
4825
  name = "StructureRelationCategory"
4829
4826
  type = "StructureRelationCategory"
4830
4827
 
@@ -4854,7 +4851,7 @@ class NaturalEventCategory(
4854
4851
  class Meta:
4855
4852
  """Meta class for NaturalEventCategory"""
4856
4853
 
4857
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EventRole on EventRole {\n key\n role\n descriptor {\n ...EntityDescriptor\n __typename\n }\n __typename\n}\n\nfragment NaturalEventCategory on NaturalEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}"
4854
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EventRole on EventRole {\n key\n role\n descriptor {\n ...EntityDescriptor\n __typename\n }\n __typename\n}\n\nfragment NaturalEventCategory on NaturalEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}"
4858
4855
  name = "NaturalEventCategory"
4859
4856
  type = "NaturalEventCategory"
4860
4857
 
@@ -4884,7 +4881,7 @@ class ProtocolEventCategory(
4884
4881
  class Meta:
4885
4882
  """Meta class for ProtocolEventCategory"""
4886
4883
 
4887
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EventRole on EventRole {\n key\n role\n descriptor {\n ...EntityDescriptor\n __typename\n }\n __typename\n}\n\nfragment ProtocolEventCategory on ProtocolEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}"
4884
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EventRole on EventRole {\n key\n role\n descriptor {\n ...EntityDescriptor\n __typename\n }\n __typename\n}\n\nfragment ProtocolEventCategory on ProtocolEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}"
4888
4885
  name = "ProtocolEventCategory"
4889
4886
  type = "ProtocolEventCategory"
4890
4887
 
@@ -5014,7 +5011,7 @@ class Graph(ListGraph, GraphTrait, BaseModel):
5014
5011
  class Meta:
5015
5012
  """Meta class for Graph"""
5016
5013
 
5017
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment EventRole on EventRole {\n key\n role\n descriptor {\n ...EntityDescriptor\n __typename\n }\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment StructureDescriptor on StructureDescriptor {\n defaultCategoryKey\n __typename\n}\n\nfragment EntityCategory on EntityCategory {\n ...CategoryBase\n instanceKind\n positionX\n positionY\n width\n height\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment GraphProjection on GraphProjection {\n kind\n status\n projectedThroughSeq\n derivedThroughSeq\n lag\n pending\n schemaStale\n schemaHash\n derivedAt\n rebuiltAt\n __typename\n}\n\nfragment ListGraph on Graph {\n id\n name\n description\n ageName\n isArchived\n pinned\n __typename\n}\n\nfragment MeasurementCategory on MeasurementCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment NaturalEventCategory on NaturalEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nfragment ProtocolEventCategory on ProtocolEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nfragment RelationCategory on RelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...EntityDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment StructureRelationCategory on StructureRelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...StructureDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment Graph on Graph {\n ...ListGraph\n purl\n projection {\n ...GraphProjection\n __typename\n }\n entityCategories {\n ...EntityCategory\n __typename\n }\n relationCategories {\n ...RelationCategory\n __typename\n }\n measurementCategories {\n ...MeasurementCategory\n __typename\n }\n structureRelationCategories {\n ...StructureRelationCategory\n __typename\n }\n naturalEventCategories {\n ...NaturalEventCategory\n __typename\n }\n protocolEventCategories {\n ...ProtocolEventCategory\n __typename\n }\n __typename\n}"
5014
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment EventRole on EventRole {\n key\n role\n descriptor {\n ...EntityDescriptor\n __typename\n }\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment StructureDescriptor on StructureDescriptor {\n defaultCategoryKey\n __typename\n}\n\nfragment EntityCategory on EntityCategory {\n ...CategoryBase\n instanceKind\n positionX\n positionY\n width\n height\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment GraphProjection on GraphProjection {\n kind\n status\n projectedThroughSeq\n derivedThroughSeq\n lag\n pending\n schemaStale\n schemaHash\n derivedAt\n rebuiltAt\n __typename\n}\n\nfragment ListGraph on Graph {\n id\n name\n description\n ageName\n isArchived\n pinned\n __typename\n}\n\nfragment MeasurementCategory on MeasurementCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment NaturalEventCategory on NaturalEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nfragment ProtocolEventCategory on ProtocolEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nfragment RelationCategory on RelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...EntityDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment StructureRelationCategory on StructureRelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...StructureDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment Graph on Graph {\n ...ListGraph\n purl\n projection {\n ...GraphProjection\n __typename\n }\n entityCategories {\n ...EntityCategory\n __typename\n }\n relationCategories {\n ...RelationCategory\n __typename\n }\n measurementCategories {\n ...MeasurementCategory\n __typename\n }\n structureRelationCategories {\n ...StructureRelationCategory\n __typename\n }\n naturalEventCategories {\n ...NaturalEventCategory\n __typename\n }\n protocolEventCategories {\n ...ProtocolEventCategory\n __typename\n }\n __typename\n}"
5018
5015
  name = "Graph"
5019
5016
  type = "Graph"
5020
5017
 
@@ -5034,7 +5031,7 @@ class CreateEntityCategoryMutation(BaseModel):
5034
5031
  class Meta:
5035
5032
  """Meta class for CreateEntityCategory"""
5036
5033
 
5037
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment EntityCategory on EntityCategory {\n ...CategoryBase\n instanceKind\n positionX\n positionY\n width\n height\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nmutation CreateEntityCategory($input: CreateEntityCategoryInput!) {\n createEntityCategory(input: $input) {\n ...EntityCategory\n __typename\n }\n}"
5034
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment EntityCategory on EntityCategory {\n ...CategoryBase\n instanceKind\n positionX\n positionY\n width\n height\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nmutation CreateEntityCategory($input: CreateEntityCategoryInput!) {\n createEntityCategory(input: $input) {\n ...EntityCategory\n __typename\n }\n}"
5038
5035
 
5039
5036
 
5040
5037
  class UpdateEntityCategoryMutation(BaseModel):
@@ -5051,7 +5048,7 @@ class UpdateEntityCategoryMutation(BaseModel):
5051
5048
  class Meta:
5052
5049
  """Meta class for UpdateEntityCategory"""
5053
5050
 
5054
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment EntityCategory on EntityCategory {\n ...CategoryBase\n instanceKind\n positionX\n positionY\n width\n height\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nmutation UpdateEntityCategory($input: UpdateEntityCategoryInput!) {\n updateEntityCategory(input: $input) {\n ...EntityCategory\n __typename\n }\n}"
5051
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment EntityCategory on EntityCategory {\n ...CategoryBase\n instanceKind\n positionX\n positionY\n width\n height\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nmutation UpdateEntityCategory($input: UpdateEntityCategoryInput!) {\n updateEntityCategory(input: $input) {\n ...EntityCategory\n __typename\n }\n}"
5055
5052
 
5056
5053
 
5057
5054
  class DeleteEntityCategoryMutation(BaseModel):
@@ -5085,7 +5082,7 @@ class CreateRelationCategoryMutation(BaseModel):
5085
5082
  class Meta:
5086
5083
  """Meta class for CreateRelationCategory"""
5087
5084
 
5088
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment RelationCategory on RelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...EntityDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nmutation CreateRelationCategory($input: CreateRelationCategoryInput!) {\n createRelationCategory(input: $input) {\n ...RelationCategory\n __typename\n }\n}"
5085
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment RelationCategory on RelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...EntityDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nmutation CreateRelationCategory($input: CreateRelationCategoryInput!) {\n createRelationCategory(input: $input) {\n ...RelationCategory\n __typename\n }\n}"
5089
5086
 
5090
5087
 
5091
5088
  class UpdateRelationCategoryMutation(BaseModel):
@@ -5102,7 +5099,7 @@ class UpdateRelationCategoryMutation(BaseModel):
5102
5099
  class Meta:
5103
5100
  """Meta class for UpdateRelationCategory"""
5104
5101
 
5105
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment RelationCategory on RelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...EntityDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nmutation UpdateRelationCategory($input: UpdateRelationCategoryInput!) {\n updateRelationCategory(input: $input) {\n ...RelationCategory\n __typename\n }\n}"
5102
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment RelationCategory on RelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...EntityDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nmutation UpdateRelationCategory($input: UpdateRelationCategoryInput!) {\n updateRelationCategory(input: $input) {\n ...RelationCategory\n __typename\n }\n}"
5106
5103
 
5107
5104
 
5108
5105
  class DeleteRelationCategoryMutation(BaseModel):
@@ -5138,7 +5135,7 @@ class CreateMeasurementCategoryMutation(BaseModel):
5138
5135
  class Meta:
5139
5136
  """Meta class for CreateMeasurementCategory"""
5140
5137
 
5141
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment StructureDescriptor on StructureDescriptor {\n defaultCategoryKey\n __typename\n}\n\nfragment MeasurementCategory on MeasurementCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nmutation CreateMeasurementCategory($input: CreateMeasurementCategoryInput!) {\n createMeasurementCategory(input: $input) {\n ...MeasurementCategory\n __typename\n }\n}"
5138
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment StructureDescriptor on StructureDescriptor {\n defaultCategoryKey\n __typename\n}\n\nfragment MeasurementCategory on MeasurementCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nmutation CreateMeasurementCategory($input: CreateMeasurementCategoryInput!) {\n createMeasurementCategory(input: $input) {\n ...MeasurementCategory\n __typename\n }\n}"
5142
5139
 
5143
5140
 
5144
5141
  class UpdateMeasurementCategoryMutation(BaseModel):
@@ -5157,7 +5154,7 @@ class UpdateMeasurementCategoryMutation(BaseModel):
5157
5154
  class Meta:
5158
5155
  """Meta class for UpdateMeasurementCategory"""
5159
5156
 
5160
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment StructureDescriptor on StructureDescriptor {\n defaultCategoryKey\n __typename\n}\n\nfragment MeasurementCategory on MeasurementCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nmutation UpdateMeasurementCategory($input: UpdateMeasurementCategoryInput!) {\n updateMeasurementCategory(input: $input) {\n ...MeasurementCategory\n __typename\n }\n}"
5157
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment StructureDescriptor on StructureDescriptor {\n defaultCategoryKey\n __typename\n}\n\nfragment MeasurementCategory on MeasurementCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nmutation UpdateMeasurementCategory($input: UpdateMeasurementCategoryInput!) {\n updateMeasurementCategory(input: $input) {\n ...MeasurementCategory\n __typename\n }\n}"
5161
5158
 
5162
5159
 
5163
5160
  class DeleteMeasurementCategoryMutation(BaseModel):
@@ -5193,7 +5190,7 @@ class CreateStructureRelationCategoryMutation(BaseModel):
5193
5190
  class Meta:
5194
5191
  """Meta class for CreateStructureRelationCategory"""
5195
5192
 
5196
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment StructureDescriptor on StructureDescriptor {\n defaultCategoryKey\n __typename\n}\n\nfragment StructureRelationCategory on StructureRelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...StructureDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nmutation CreateStructureRelationCategory($input: CreateStructureRelationCategoryInput!) {\n createStructureRelationCategory(input: $input) {\n ...StructureRelationCategory\n __typename\n }\n}"
5193
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment StructureDescriptor on StructureDescriptor {\n defaultCategoryKey\n __typename\n}\n\nfragment StructureRelationCategory on StructureRelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...StructureDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nmutation CreateStructureRelationCategory($input: CreateStructureRelationCategoryInput!) {\n createStructureRelationCategory(input: $input) {\n ...StructureRelationCategory\n __typename\n }\n}"
5197
5194
 
5198
5195
 
5199
5196
  class UpdateStructureRelationCategoryMutation(BaseModel):
@@ -5212,7 +5209,7 @@ class UpdateStructureRelationCategoryMutation(BaseModel):
5212
5209
  class Meta:
5213
5210
  """Meta class for UpdateStructureRelationCategory"""
5214
5211
 
5215
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment StructureDescriptor on StructureDescriptor {\n defaultCategoryKey\n __typename\n}\n\nfragment StructureRelationCategory on StructureRelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...StructureDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nmutation UpdateStructureRelationCategory($input: UpdateStructureRelationCategoryInput!) {\n updateStructureRelationCategory(input: $input) {\n ...StructureRelationCategory\n __typename\n }\n}"
5212
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment StructureDescriptor on StructureDescriptor {\n defaultCategoryKey\n __typename\n}\n\nfragment StructureRelationCategory on StructureRelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...StructureDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nmutation UpdateStructureRelationCategory($input: UpdateStructureRelationCategoryInput!) {\n updateStructureRelationCategory(input: $input) {\n ...StructureRelationCategory\n __typename\n }\n}"
5216
5213
 
5217
5214
 
5218
5215
  class DeleteStructureRelationCategoryMutation(BaseModel):
@@ -5250,7 +5247,7 @@ class CreateNaturalEventCategoryMutation(BaseModel):
5250
5247
  class Meta:
5251
5248
  """Meta class for CreateNaturalEventCategory"""
5252
5249
 
5253
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EventRole on EventRole {\n key\n role\n descriptor {\n ...EntityDescriptor\n __typename\n }\n __typename\n}\n\nfragment NaturalEventCategory on NaturalEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nmutation CreateNaturalEventCategory($input: CreateNaturalEventCategoryInput!) {\n createNaturalEventCategory(input: $input) {\n ...NaturalEventCategory\n __typename\n }\n}"
5250
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EventRole on EventRole {\n key\n role\n descriptor {\n ...EntityDescriptor\n __typename\n }\n __typename\n}\n\nfragment NaturalEventCategory on NaturalEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nmutation CreateNaturalEventCategory($input: CreateNaturalEventCategoryInput!) {\n createNaturalEventCategory(input: $input) {\n ...NaturalEventCategory\n __typename\n }\n}"
5254
5251
 
5255
5252
 
5256
5253
  class UpdateNaturalEventCategoryMutation(BaseModel):
@@ -5269,7 +5266,7 @@ class UpdateNaturalEventCategoryMutation(BaseModel):
5269
5266
  class Meta:
5270
5267
  """Meta class for UpdateNaturalEventCategory"""
5271
5268
 
5272
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EventRole on EventRole {\n key\n role\n descriptor {\n ...EntityDescriptor\n __typename\n }\n __typename\n}\n\nfragment NaturalEventCategory on NaturalEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nmutation UpdateNaturalEventCategory($input: UpdateNaturalEventCategoryInput!) {\n updateNaturalEventCategory(input: $input) {\n ...NaturalEventCategory\n __typename\n }\n}"
5269
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EventRole on EventRole {\n key\n role\n descriptor {\n ...EntityDescriptor\n __typename\n }\n __typename\n}\n\nfragment NaturalEventCategory on NaturalEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nmutation UpdateNaturalEventCategory($input: UpdateNaturalEventCategoryInput!) {\n updateNaturalEventCategory(input: $input) {\n ...NaturalEventCategory\n __typename\n }\n}"
5273
5270
 
5274
5271
 
5275
5272
  class DeleteNaturalEventCategoryMutation(BaseModel):
@@ -5305,7 +5302,7 @@ class CreateProtocolEventCategoryMutation(BaseModel):
5305
5302
  class Meta:
5306
5303
  """Meta class for CreateProtocolEventCategory"""
5307
5304
 
5308
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EventRole on EventRole {\n key\n role\n descriptor {\n ...EntityDescriptor\n __typename\n }\n __typename\n}\n\nfragment ProtocolEventCategory on ProtocolEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nmutation CreateProtocolEventCategory($input: CreateProtocolEventCategoryInput!) {\n createProtocolEventCategory(input: $input) {\n ...ProtocolEventCategory\n __typename\n }\n}"
5305
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EventRole on EventRole {\n key\n role\n descriptor {\n ...EntityDescriptor\n __typename\n }\n __typename\n}\n\nfragment ProtocolEventCategory on ProtocolEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nmutation CreateProtocolEventCategory($input: CreateProtocolEventCategoryInput!) {\n createProtocolEventCategory(input: $input) {\n ...ProtocolEventCategory\n __typename\n }\n}"
5309
5306
 
5310
5307
 
5311
5308
  class UpdateProtocolEventCategoryMutation(BaseModel):
@@ -5324,7 +5321,7 @@ class UpdateProtocolEventCategoryMutation(BaseModel):
5324
5321
  class Meta:
5325
5322
  """Meta class for UpdateProtocolEventCategory"""
5326
5323
 
5327
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EventRole on EventRole {\n key\n role\n descriptor {\n ...EntityDescriptor\n __typename\n }\n __typename\n}\n\nfragment ProtocolEventCategory on ProtocolEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nmutation UpdateProtocolEventCategory($input: UpdateProtocolEventCategoryInput!) {\n updateProtocolEventCategory(input: $input) {\n ...ProtocolEventCategory\n __typename\n }\n}"
5324
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EventRole on EventRole {\n key\n role\n descriptor {\n ...EntityDescriptor\n __typename\n }\n __typename\n}\n\nfragment ProtocolEventCategory on ProtocolEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nmutation UpdateProtocolEventCategory($input: UpdateProtocolEventCategoryInput!) {\n updateProtocolEventCategory(input: $input) {\n ...ProtocolEventCategory\n __typename\n }\n}"
5328
5325
 
5329
5326
 
5330
5327
  class DeleteProtocolEventCategoryMutation(BaseModel):
@@ -5626,7 +5623,7 @@ class CreateGraphMutation(BaseModel):
5626
5623
  class Meta:
5627
5624
  """Meta class for CreateGraph"""
5628
5625
 
5629
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment EventRole on EventRole {\n key\n role\n descriptor {\n ...EntityDescriptor\n __typename\n }\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment StructureDescriptor on StructureDescriptor {\n defaultCategoryKey\n __typename\n}\n\nfragment EntityCategory on EntityCategory {\n ...CategoryBase\n instanceKind\n positionX\n positionY\n width\n height\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment GraphProjection on GraphProjection {\n kind\n status\n projectedThroughSeq\n derivedThroughSeq\n lag\n pending\n schemaStale\n schemaHash\n derivedAt\n rebuiltAt\n __typename\n}\n\nfragment ListGraph on Graph {\n id\n name\n description\n ageName\n isArchived\n pinned\n __typename\n}\n\nfragment MeasurementCategory on MeasurementCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment NaturalEventCategory on NaturalEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nfragment ProtocolEventCategory on ProtocolEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nfragment RelationCategory on RelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...EntityDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment StructureRelationCategory on StructureRelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...StructureDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment Graph on Graph {\n ...ListGraph\n purl\n projection {\n ...GraphProjection\n __typename\n }\n entityCategories {\n ...EntityCategory\n __typename\n }\n relationCategories {\n ...RelationCategory\n __typename\n }\n measurementCategories {\n ...MeasurementCategory\n __typename\n }\n structureRelationCategories {\n ...StructureRelationCategory\n __typename\n }\n naturalEventCategories {\n ...NaturalEventCategory\n __typename\n }\n protocolEventCategories {\n ...ProtocolEventCategory\n __typename\n }\n __typename\n}\n\nmutation CreateGraph($input: CreateGraphInput!) {\n createGraph(input: $input) {\n ...Graph\n __typename\n }\n}"
5626
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment EventRole on EventRole {\n key\n role\n descriptor {\n ...EntityDescriptor\n __typename\n }\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment StructureDescriptor on StructureDescriptor {\n defaultCategoryKey\n __typename\n}\n\nfragment EntityCategory on EntityCategory {\n ...CategoryBase\n instanceKind\n positionX\n positionY\n width\n height\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment GraphProjection on GraphProjection {\n kind\n status\n projectedThroughSeq\n derivedThroughSeq\n lag\n pending\n schemaStale\n schemaHash\n derivedAt\n rebuiltAt\n __typename\n}\n\nfragment ListGraph on Graph {\n id\n name\n description\n ageName\n isArchived\n pinned\n __typename\n}\n\nfragment MeasurementCategory on MeasurementCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment NaturalEventCategory on NaturalEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nfragment ProtocolEventCategory on ProtocolEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nfragment RelationCategory on RelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...EntityDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment StructureRelationCategory on StructureRelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...StructureDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment Graph on Graph {\n ...ListGraph\n purl\n projection {\n ...GraphProjection\n __typename\n }\n entityCategories {\n ...EntityCategory\n __typename\n }\n relationCategories {\n ...RelationCategory\n __typename\n }\n measurementCategories {\n ...MeasurementCategory\n __typename\n }\n structureRelationCategories {\n ...StructureRelationCategory\n __typename\n }\n naturalEventCategories {\n ...NaturalEventCategory\n __typename\n }\n protocolEventCategories {\n ...ProtocolEventCategory\n __typename\n }\n __typename\n}\n\nmutation CreateGraph($input: CreateGraphInput!) {\n createGraph(input: $input) {\n ...Graph\n __typename\n }\n}"
5630
5627
 
5631
5628
 
5632
5629
  class UpdateGraphMutation(BaseModel):
@@ -5643,7 +5640,7 @@ class UpdateGraphMutation(BaseModel):
5643
5640
  class Meta:
5644
5641
  """Meta class for UpdateGraph"""
5645
5642
 
5646
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment EventRole on EventRole {\n key\n role\n descriptor {\n ...EntityDescriptor\n __typename\n }\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment StructureDescriptor on StructureDescriptor {\n defaultCategoryKey\n __typename\n}\n\nfragment EntityCategory on EntityCategory {\n ...CategoryBase\n instanceKind\n positionX\n positionY\n width\n height\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment GraphProjection on GraphProjection {\n kind\n status\n projectedThroughSeq\n derivedThroughSeq\n lag\n pending\n schemaStale\n schemaHash\n derivedAt\n rebuiltAt\n __typename\n}\n\nfragment ListGraph on Graph {\n id\n name\n description\n ageName\n isArchived\n pinned\n __typename\n}\n\nfragment MeasurementCategory on MeasurementCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment NaturalEventCategory on NaturalEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nfragment ProtocolEventCategory on ProtocolEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nfragment RelationCategory on RelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...EntityDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment StructureRelationCategory on StructureRelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...StructureDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment Graph on Graph {\n ...ListGraph\n purl\n projection {\n ...GraphProjection\n __typename\n }\n entityCategories {\n ...EntityCategory\n __typename\n }\n relationCategories {\n ...RelationCategory\n __typename\n }\n measurementCategories {\n ...MeasurementCategory\n __typename\n }\n structureRelationCategories {\n ...StructureRelationCategory\n __typename\n }\n naturalEventCategories {\n ...NaturalEventCategory\n __typename\n }\n protocolEventCategories {\n ...ProtocolEventCategory\n __typename\n }\n __typename\n}\n\nmutation UpdateGraph($input: UpdateGraphInput!) {\n updateGraph(input: $input) {\n ...Graph\n __typename\n }\n}"
5643
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment EventRole on EventRole {\n key\n role\n descriptor {\n ...EntityDescriptor\n __typename\n }\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment StructureDescriptor on StructureDescriptor {\n defaultCategoryKey\n __typename\n}\n\nfragment EntityCategory on EntityCategory {\n ...CategoryBase\n instanceKind\n positionX\n positionY\n width\n height\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment GraphProjection on GraphProjection {\n kind\n status\n projectedThroughSeq\n derivedThroughSeq\n lag\n pending\n schemaStale\n schemaHash\n derivedAt\n rebuiltAt\n __typename\n}\n\nfragment ListGraph on Graph {\n id\n name\n description\n ageName\n isArchived\n pinned\n __typename\n}\n\nfragment MeasurementCategory on MeasurementCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment NaturalEventCategory on NaturalEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nfragment ProtocolEventCategory on ProtocolEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nfragment RelationCategory on RelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...EntityDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment StructureRelationCategory on StructureRelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...StructureDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment Graph on Graph {\n ...ListGraph\n purl\n projection {\n ...GraphProjection\n __typename\n }\n entityCategories {\n ...EntityCategory\n __typename\n }\n relationCategories {\n ...RelationCategory\n __typename\n }\n measurementCategories {\n ...MeasurementCategory\n __typename\n }\n structureRelationCategories {\n ...StructureRelationCategory\n __typename\n }\n naturalEventCategories {\n ...NaturalEventCategory\n __typename\n }\n protocolEventCategories {\n ...ProtocolEventCategory\n __typename\n }\n __typename\n}\n\nmutation UpdateGraph($input: UpdateGraphInput!) {\n updateGraph(input: $input) {\n ...Graph\n __typename\n }\n}"
5647
5644
 
5648
5645
 
5649
5646
  class UpdateGraphVisualMutation(BaseModel):
@@ -5660,7 +5657,7 @@ class UpdateGraphVisualMutation(BaseModel):
5660
5657
  class Meta:
5661
5658
  """Meta class for UpdateGraphVisual"""
5662
5659
 
5663
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment EventRole on EventRole {\n key\n role\n descriptor {\n ...EntityDescriptor\n __typename\n }\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment StructureDescriptor on StructureDescriptor {\n defaultCategoryKey\n __typename\n}\n\nfragment EntityCategory on EntityCategory {\n ...CategoryBase\n instanceKind\n positionX\n positionY\n width\n height\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment GraphProjection on GraphProjection {\n kind\n status\n projectedThroughSeq\n derivedThroughSeq\n lag\n pending\n schemaStale\n schemaHash\n derivedAt\n rebuiltAt\n __typename\n}\n\nfragment ListGraph on Graph {\n id\n name\n description\n ageName\n isArchived\n pinned\n __typename\n}\n\nfragment MeasurementCategory on MeasurementCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment NaturalEventCategory on NaturalEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nfragment ProtocolEventCategory on ProtocolEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nfragment RelationCategory on RelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...EntityDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment StructureRelationCategory on StructureRelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...StructureDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment Graph on Graph {\n ...ListGraph\n purl\n projection {\n ...GraphProjection\n __typename\n }\n entityCategories {\n ...EntityCategory\n __typename\n }\n relationCategories {\n ...RelationCategory\n __typename\n }\n measurementCategories {\n ...MeasurementCategory\n __typename\n }\n structureRelationCategories {\n ...StructureRelationCategory\n __typename\n }\n naturalEventCategories {\n ...NaturalEventCategory\n __typename\n }\n protocolEventCategories {\n ...ProtocolEventCategory\n __typename\n }\n __typename\n}\n\nmutation UpdateGraphVisual($input: UpdateGraphVisualInput!) {\n updateGraphVisual(input: $input) {\n ...Graph\n __typename\n }\n}"
5660
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment EventRole on EventRole {\n key\n role\n descriptor {\n ...EntityDescriptor\n __typename\n }\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment StructureDescriptor on StructureDescriptor {\n defaultCategoryKey\n __typename\n}\n\nfragment EntityCategory on EntityCategory {\n ...CategoryBase\n instanceKind\n positionX\n positionY\n width\n height\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment GraphProjection on GraphProjection {\n kind\n status\n projectedThroughSeq\n derivedThroughSeq\n lag\n pending\n schemaStale\n schemaHash\n derivedAt\n rebuiltAt\n __typename\n}\n\nfragment ListGraph on Graph {\n id\n name\n description\n ageName\n isArchived\n pinned\n __typename\n}\n\nfragment MeasurementCategory on MeasurementCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment NaturalEventCategory on NaturalEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nfragment ProtocolEventCategory on ProtocolEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nfragment RelationCategory on RelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...EntityDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment StructureRelationCategory on StructureRelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...StructureDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment Graph on Graph {\n ...ListGraph\n purl\n projection {\n ...GraphProjection\n __typename\n }\n entityCategories {\n ...EntityCategory\n __typename\n }\n relationCategories {\n ...RelationCategory\n __typename\n }\n measurementCategories {\n ...MeasurementCategory\n __typename\n }\n structureRelationCategories {\n ...StructureRelationCategory\n __typename\n }\n naturalEventCategories {\n ...NaturalEventCategory\n __typename\n }\n protocolEventCategories {\n ...ProtocolEventCategory\n __typename\n }\n __typename\n}\n\nmutation UpdateGraphVisual($input: UpdateGraphVisualInput!) {\n updateGraphVisual(input: $input) {\n ...Graph\n __typename\n }\n}"
5664
5661
 
5665
5662
 
5666
5663
  class ArchiveGraphMutation(BaseModel):
@@ -5677,7 +5674,7 @@ class ArchiveGraphMutation(BaseModel):
5677
5674
  class Meta:
5678
5675
  """Meta class for ArchiveGraph"""
5679
5676
 
5680
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment EventRole on EventRole {\n key\n role\n descriptor {\n ...EntityDescriptor\n __typename\n }\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment StructureDescriptor on StructureDescriptor {\n defaultCategoryKey\n __typename\n}\n\nfragment EntityCategory on EntityCategory {\n ...CategoryBase\n instanceKind\n positionX\n positionY\n width\n height\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment GraphProjection on GraphProjection {\n kind\n status\n projectedThroughSeq\n derivedThroughSeq\n lag\n pending\n schemaStale\n schemaHash\n derivedAt\n rebuiltAt\n __typename\n}\n\nfragment ListGraph on Graph {\n id\n name\n description\n ageName\n isArchived\n pinned\n __typename\n}\n\nfragment MeasurementCategory on MeasurementCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment NaturalEventCategory on NaturalEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nfragment ProtocolEventCategory on ProtocolEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nfragment RelationCategory on RelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...EntityDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment StructureRelationCategory on StructureRelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...StructureDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment Graph on Graph {\n ...ListGraph\n purl\n projection {\n ...GraphProjection\n __typename\n }\n entityCategories {\n ...EntityCategory\n __typename\n }\n relationCategories {\n ...RelationCategory\n __typename\n }\n measurementCategories {\n ...MeasurementCategory\n __typename\n }\n structureRelationCategories {\n ...StructureRelationCategory\n __typename\n }\n naturalEventCategories {\n ...NaturalEventCategory\n __typename\n }\n protocolEventCategories {\n ...ProtocolEventCategory\n __typename\n }\n __typename\n}\n\nmutation ArchiveGraph($input: ArchiveGraphInput!) {\n archiveGraph(input: $input) {\n ...Graph\n __typename\n }\n}"
5677
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment EventRole on EventRole {\n key\n role\n descriptor {\n ...EntityDescriptor\n __typename\n }\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment StructureDescriptor on StructureDescriptor {\n defaultCategoryKey\n __typename\n}\n\nfragment EntityCategory on EntityCategory {\n ...CategoryBase\n instanceKind\n positionX\n positionY\n width\n height\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment GraphProjection on GraphProjection {\n kind\n status\n projectedThroughSeq\n derivedThroughSeq\n lag\n pending\n schemaStale\n schemaHash\n derivedAt\n rebuiltAt\n __typename\n}\n\nfragment ListGraph on Graph {\n id\n name\n description\n ageName\n isArchived\n pinned\n __typename\n}\n\nfragment MeasurementCategory on MeasurementCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment NaturalEventCategory on NaturalEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nfragment ProtocolEventCategory on ProtocolEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nfragment RelationCategory on RelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...EntityDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment StructureRelationCategory on StructureRelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...StructureDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment Graph on Graph {\n ...ListGraph\n purl\n projection {\n ...GraphProjection\n __typename\n }\n entityCategories {\n ...EntityCategory\n __typename\n }\n relationCategories {\n ...RelationCategory\n __typename\n }\n measurementCategories {\n ...MeasurementCategory\n __typename\n }\n structureRelationCategories {\n ...StructureRelationCategory\n __typename\n }\n naturalEventCategories {\n ...NaturalEventCategory\n __typename\n }\n protocolEventCategories {\n ...ProtocolEventCategory\n __typename\n }\n __typename\n}\n\nmutation ArchiveGraph($input: ArchiveGraphInput!) {\n archiveGraph(input: $input) {\n ...Graph\n __typename\n }\n}"
5681
5678
 
5682
5679
 
5683
5680
  class DeleteGraphMutation(BaseModel):
@@ -6146,7 +6143,7 @@ class GetEntityCategoryQuery(BaseModel):
6146
6143
  class Meta:
6147
6144
  """Meta class for GetEntityCategory"""
6148
6145
 
6149
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment EntityCategory on EntityCategory {\n ...CategoryBase\n instanceKind\n positionX\n positionY\n width\n height\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nquery GetEntityCategory($id: ID!) {\n entityCategory(id: $id) {\n ...EntityCategory\n __typename\n }\n}"
6146
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment EntityCategory on EntityCategory {\n ...CategoryBase\n instanceKind\n positionX\n positionY\n width\n height\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nquery GetEntityCategory($id: ID!) {\n entityCategory(id: $id) {\n ...EntityCategory\n __typename\n }\n}"
6150
6147
 
6151
6148
 
6152
6149
  class ListEntityCategoriesQuery(BaseModel):
@@ -6164,7 +6161,7 @@ class ListEntityCategoriesQuery(BaseModel):
6164
6161
  class Meta:
6165
6162
  """Meta class for ListEntityCategories"""
6166
6163
 
6167
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment EntityCategory on EntityCategory {\n ...CategoryBase\n instanceKind\n positionX\n positionY\n width\n height\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nquery ListEntityCategories($filters: EntityCategoryFilter, $pagination: OffsetPaginationInput) {\n entityCategories(filters: $filters, pagination: $pagination) {\n ...EntityCategory\n __typename\n }\n}"
6164
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment EntityCategory on EntityCategory {\n ...CategoryBase\n instanceKind\n positionX\n positionY\n width\n height\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nquery ListEntityCategories($filters: EntityCategoryFilter, $pagination: OffsetPaginationInput) {\n entityCategories(filters: $filters, pagination: $pagination) {\n ...EntityCategory\n __typename\n }\n}"
6168
6165
 
6169
6166
 
6170
6167
  class SearchEntityCategoriesQueryOptions(EntityCategoryTrait, BaseModel):
@@ -6212,7 +6209,7 @@ class GetRelationCategoryQuery(BaseModel):
6212
6209
  class Meta:
6213
6210
  """Meta class for GetRelationCategory"""
6214
6211
 
6215
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment RelationCategory on RelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...EntityDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nquery GetRelationCategory($id: ID!) {\n relationCategory(id: $id) {\n ...RelationCategory\n __typename\n }\n}"
6212
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment RelationCategory on RelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...EntityDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nquery GetRelationCategory($id: ID!) {\n relationCategory(id: $id) {\n ...RelationCategory\n __typename\n }\n}"
6216
6213
 
6217
6214
 
6218
6215
  class ListRelationCategoriesQuery(BaseModel):
@@ -6232,7 +6229,7 @@ class ListRelationCategoriesQuery(BaseModel):
6232
6229
  class Meta:
6233
6230
  """Meta class for ListRelationCategories"""
6234
6231
 
6235
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment RelationCategory on RelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...EntityDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nquery ListRelationCategories($filters: RelationCategoryFilter, $pagination: OffsetPaginationInput) {\n relationCategories(filters: $filters, pagination: $pagination) {\n ...RelationCategory\n __typename\n }\n}"
6232
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment RelationCategory on RelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...EntityDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nquery ListRelationCategories($filters: RelationCategoryFilter, $pagination: OffsetPaginationInput) {\n relationCategories(filters: $filters, pagination: $pagination) {\n ...RelationCategory\n __typename\n }\n}"
6236
6233
 
6237
6234
 
6238
6235
  class SearchRelationCategoriesQueryOptions(RelationCategoryTrait, BaseModel):
@@ -6280,7 +6277,7 @@ class GetMeasurementCategoryQuery(BaseModel):
6280
6277
  class Meta:
6281
6278
  """Meta class for GetMeasurementCategory"""
6282
6279
 
6283
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment StructureDescriptor on StructureDescriptor {\n defaultCategoryKey\n __typename\n}\n\nfragment MeasurementCategory on MeasurementCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nquery GetMeasurementCategory($id: ID!) {\n measurementCategory(id: $id) {\n ...MeasurementCategory\n __typename\n }\n}"
6280
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment StructureDescriptor on StructureDescriptor {\n defaultCategoryKey\n __typename\n}\n\nfragment MeasurementCategory on MeasurementCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nquery GetMeasurementCategory($id: ID!) {\n measurementCategory(id: $id) {\n ...MeasurementCategory\n __typename\n }\n}"
6284
6281
 
6285
6282
 
6286
6283
  class ListMeasurementCategoriesQuery(BaseModel):
@@ -6300,7 +6297,7 @@ class ListMeasurementCategoriesQuery(BaseModel):
6300
6297
  class Meta:
6301
6298
  """Meta class for ListMeasurementCategories"""
6302
6299
 
6303
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment StructureDescriptor on StructureDescriptor {\n defaultCategoryKey\n __typename\n}\n\nfragment MeasurementCategory on MeasurementCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nquery ListMeasurementCategories($filters: MeasurementCategoryFilter, $pagination: OffsetPaginationInput) {\n measurementCategories(filters: $filters, pagination: $pagination) {\n ...MeasurementCategory\n __typename\n }\n}"
6300
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment StructureDescriptor on StructureDescriptor {\n defaultCategoryKey\n __typename\n}\n\nfragment MeasurementCategory on MeasurementCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nquery ListMeasurementCategories($filters: MeasurementCategoryFilter, $pagination: OffsetPaginationInput) {\n measurementCategories(filters: $filters, pagination: $pagination) {\n ...MeasurementCategory\n __typename\n }\n}"
6304
6301
 
6305
6302
 
6306
6303
  class SearchMeasurementCategoriesQueryOptions(MeasurementCategoryTrait, BaseModel):
@@ -6350,7 +6347,7 @@ class GetStructureRelationCategoryQuery(BaseModel):
6350
6347
  class Meta:
6351
6348
  """Meta class for GetStructureRelationCategory"""
6352
6349
 
6353
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment StructureDescriptor on StructureDescriptor {\n defaultCategoryKey\n __typename\n}\n\nfragment StructureRelationCategory on StructureRelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...StructureDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nquery GetStructureRelationCategory($id: ID!) {\n structureRelationCategory(id: $id) {\n ...StructureRelationCategory\n __typename\n }\n}"
6350
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment StructureDescriptor on StructureDescriptor {\n defaultCategoryKey\n __typename\n}\n\nfragment StructureRelationCategory on StructureRelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...StructureDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nquery GetStructureRelationCategory($id: ID!) {\n structureRelationCategory(id: $id) {\n ...StructureRelationCategory\n __typename\n }\n}"
6354
6351
 
6355
6352
 
6356
6353
  class ListStructureRelationCategoriesQuery(BaseModel):
@@ -6370,7 +6367,7 @@ class ListStructureRelationCategoriesQuery(BaseModel):
6370
6367
  class Meta:
6371
6368
  """Meta class for ListStructureRelationCategories"""
6372
6369
 
6373
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment StructureDescriptor on StructureDescriptor {\n defaultCategoryKey\n __typename\n}\n\nfragment StructureRelationCategory on StructureRelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...StructureDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nquery ListStructureRelationCategories($filters: StructureRelationCategoryFilter, $pagination: OffsetPaginationInput) {\n structureRelationCategories(filters: $filters, pagination: $pagination) {\n ...StructureRelationCategory\n __typename\n }\n}"
6370
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment StructureDescriptor on StructureDescriptor {\n defaultCategoryKey\n __typename\n}\n\nfragment StructureRelationCategory on StructureRelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...StructureDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nquery ListStructureRelationCategories($filters: StructureRelationCategoryFilter, $pagination: OffsetPaginationInput) {\n structureRelationCategories(filters: $filters, pagination: $pagination) {\n ...StructureRelationCategory\n __typename\n }\n}"
6374
6371
 
6375
6372
 
6376
6373
  class SearchStructureRelationCategoriesQueryOptions(
@@ -6420,7 +6417,7 @@ class GetNaturalEventCategoryQuery(BaseModel):
6420
6417
  class Meta:
6421
6418
  """Meta class for GetNaturalEventCategory"""
6422
6419
 
6423
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EventRole on EventRole {\n key\n role\n descriptor {\n ...EntityDescriptor\n __typename\n }\n __typename\n}\n\nfragment NaturalEventCategory on NaturalEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nquery GetNaturalEventCategory($id: ID!) {\n naturalEventCategory(id: $id) {\n ...NaturalEventCategory\n __typename\n }\n}"
6420
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EventRole on EventRole {\n key\n role\n descriptor {\n ...EntityDescriptor\n __typename\n }\n __typename\n}\n\nfragment NaturalEventCategory on NaturalEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nquery GetNaturalEventCategory($id: ID!) {\n naturalEventCategory(id: $id) {\n ...NaturalEventCategory\n __typename\n }\n}"
6424
6421
 
6425
6422
 
6426
6423
  class ListNaturalEventCategoriesQuery(BaseModel):
@@ -6440,7 +6437,7 @@ class ListNaturalEventCategoriesQuery(BaseModel):
6440
6437
  class Meta:
6441
6438
  """Meta class for ListNaturalEventCategories"""
6442
6439
 
6443
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EventRole on EventRole {\n key\n role\n descriptor {\n ...EntityDescriptor\n __typename\n }\n __typename\n}\n\nfragment NaturalEventCategory on NaturalEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nquery ListNaturalEventCategories($filters: NaturalEventCategoryFilter, $pagination: OffsetPaginationInput) {\n naturalEventCategories(filters: $filters, pagination: $pagination) {\n ...NaturalEventCategory\n __typename\n }\n}"
6440
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EventRole on EventRole {\n key\n role\n descriptor {\n ...EntityDescriptor\n __typename\n }\n __typename\n}\n\nfragment NaturalEventCategory on NaturalEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nquery ListNaturalEventCategories($filters: NaturalEventCategoryFilter, $pagination: OffsetPaginationInput) {\n naturalEventCategories(filters: $filters, pagination: $pagination) {\n ...NaturalEventCategory\n __typename\n }\n}"
6444
6441
 
6445
6442
 
6446
6443
  class SearchNaturalEventCategoriesQueryOptions(NaturalEventCategoryTrait, BaseModel):
@@ -6490,7 +6487,7 @@ class GetProtocolEventCategoryQuery(BaseModel):
6490
6487
  class Meta:
6491
6488
  """Meta class for GetProtocolEventCategory"""
6492
6489
 
6493
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EventRole on EventRole {\n key\n role\n descriptor {\n ...EntityDescriptor\n __typename\n }\n __typename\n}\n\nfragment ProtocolEventCategory on ProtocolEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nquery GetProtocolEventCategory($id: ID!) {\n protocolEventCategory(id: $id) {\n ...ProtocolEventCategory\n __typename\n }\n}"
6490
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EventRole on EventRole {\n key\n role\n descriptor {\n ...EntityDescriptor\n __typename\n }\n __typename\n}\n\nfragment ProtocolEventCategory on ProtocolEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nquery GetProtocolEventCategory($id: ID!) {\n protocolEventCategory(id: $id) {\n ...ProtocolEventCategory\n __typename\n }\n}"
6494
6491
 
6495
6492
 
6496
6493
  class ListProtocolEventCategoriesQuery(BaseModel):
@@ -6510,7 +6507,7 @@ class ListProtocolEventCategoriesQuery(BaseModel):
6510
6507
  class Meta:
6511
6508
  """Meta class for ListProtocolEventCategories"""
6512
6509
 
6513
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EventRole on EventRole {\n key\n role\n descriptor {\n ...EntityDescriptor\n __typename\n }\n __typename\n}\n\nfragment ProtocolEventCategory on ProtocolEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nquery ListProtocolEventCategories($filters: ProtocolEventCategoryFilter, $pagination: OffsetPaginationInput) {\n protocolEventCategories(filters: $filters, pagination: $pagination) {\n ...ProtocolEventCategory\n __typename\n }\n}"
6510
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EventRole on EventRole {\n key\n role\n descriptor {\n ...EntityDescriptor\n __typename\n }\n __typename\n}\n\nfragment ProtocolEventCategory on ProtocolEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nquery ListProtocolEventCategories($filters: ProtocolEventCategoryFilter, $pagination: OffsetPaginationInput) {\n protocolEventCategories(filters: $filters, pagination: $pagination) {\n ...ProtocolEventCategory\n __typename\n }\n}"
6514
6511
 
6515
6512
 
6516
6513
  class SearchProtocolEventCategoriesQueryOptions(ProtocolEventCategoryTrait, BaseModel):
@@ -6794,7 +6791,7 @@ class GetGraphQuery(BaseModel):
6794
6791
  class Meta:
6795
6792
  """Meta class for GetGraph"""
6796
6793
 
6797
- document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n presignedUrl\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment EventRole on EventRole {\n key\n role\n descriptor {\n ...EntityDescriptor\n __typename\n }\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment StructureDescriptor on StructureDescriptor {\n defaultCategoryKey\n __typename\n}\n\nfragment EntityCategory on EntityCategory {\n ...CategoryBase\n instanceKind\n positionX\n positionY\n width\n height\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment GraphProjection on GraphProjection {\n kind\n status\n projectedThroughSeq\n derivedThroughSeq\n lag\n pending\n schemaStale\n schemaHash\n derivedAt\n rebuiltAt\n __typename\n}\n\nfragment ListGraph on Graph {\n id\n name\n description\n ageName\n isArchived\n pinned\n __typename\n}\n\nfragment MeasurementCategory on MeasurementCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment NaturalEventCategory on NaturalEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nfragment ProtocolEventCategory on ProtocolEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nfragment RelationCategory on RelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...EntityDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment StructureRelationCategory on StructureRelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...StructureDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment Graph on Graph {\n ...ListGraph\n purl\n projection {\n ...GraphProjection\n __typename\n }\n entityCategories {\n ...EntityCategory\n __typename\n }\n relationCategories {\n ...RelationCategory\n __typename\n }\n measurementCategories {\n ...MeasurementCategory\n __typename\n }\n structureRelationCategories {\n ...StructureRelationCategory\n __typename\n }\n naturalEventCategories {\n ...NaturalEventCategory\n __typename\n }\n protocolEventCategories {\n ...ProtocolEventCategory\n __typename\n }\n __typename\n}\n\nquery GetGraph($id: ID!) {\n graph(id: $id) {\n ...Graph\n __typename\n }\n}"
6794
+ document = "fragment CategoryRef on Category {\n id\n key\n label\n ageName\n __typename\n}\n\nfragment MediaStore on MediaStore {\n id\n key\n __typename\n}\n\nfragment TermRef on Term {\n id\n key\n kind\n __typename\n}\n\nfragment CategoryBase on Category {\n ...CategoryRef\n description\n purl\n color\n pinned\n image {\n ...MediaStore\n __typename\n }\n graph {\n id\n name\n __typename\n }\n term {\n ...TermRef\n __typename\n }\n __typename\n}\n\nfragment EntityDescriptor on EntityDescriptor {\n keys\n ontologyTerms\n defaultCategoryKey\n __typename\n}\n\nfragment EventRole on EventRole {\n key\n role\n descriptor {\n ...EntityDescriptor\n __typename\n }\n __typename\n}\n\nfragment PropertyDefinition on PropertyDefinition {\n key\n label\n valueKind\n unit\n description\n derivation\n index\n searchable\n __typename\n}\n\nfragment StructureDescriptor on StructureDescriptor {\n defaultCategoryKey\n __typename\n}\n\nfragment EntityCategory on EntityCategory {\n ...CategoryBase\n instanceKind\n positionX\n positionY\n width\n height\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment GraphProjection on GraphProjection {\n kind\n status\n projectedThroughSeq\n derivedThroughSeq\n lag\n pending\n schemaStale\n schemaHash\n derivedAt\n rebuiltAt\n __typename\n}\n\nfragment ListGraph on Graph {\n id\n name\n description\n ageName\n isArchived\n pinned\n __typename\n}\n\nfragment MeasurementCategory on MeasurementCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment NaturalEventCategory on NaturalEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nfragment ProtocolEventCategory on ProtocolEventCategory {\n ...CategoryBase\n positionX\n positionY\n width\n height\n inputs {\n ...EventRole\n __typename\n }\n outputs {\n ...EventRole\n __typename\n }\n __typename\n}\n\nfragment RelationCategory on RelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...EntityDescriptor\n __typename\n }\n targetDescriptor {\n ...EntityDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment StructureRelationCategory on StructureRelationCategory {\n ...CategoryBase\n sourceDescriptor {\n ...StructureDescriptor\n __typename\n }\n targetDescriptor {\n ...StructureDescriptor\n __typename\n }\n propertyDefinitions {\n ...PropertyDefinition\n __typename\n }\n __typename\n}\n\nfragment Graph on Graph {\n ...ListGraph\n purl\n projection {\n ...GraphProjection\n __typename\n }\n entityCategories {\n ...EntityCategory\n __typename\n }\n relationCategories {\n ...RelationCategory\n __typename\n }\n measurementCategories {\n ...MeasurementCategory\n __typename\n }\n structureRelationCategories {\n ...StructureRelationCategory\n __typename\n }\n naturalEventCategories {\n ...NaturalEventCategory\n __typename\n }\n protocolEventCategories {\n ...ProtocolEventCategory\n __typename\n }\n __typename\n}\n\nquery GetGraph($id: ID!) {\n graph(id: $id) {\n ...Graph\n __typename\n }\n}"
6798
6795
 
6799
6796
 
6800
6797
  class ListGraphsQuery(BaseModel):
@@ -111,8 +111,8 @@ def kraph(
111
111
  FaktsAuthLink(token_loader=tokens),
112
112
  UploadLink(datalayer=store),
113
113
  SplitLink(
114
- left=AIOHttpLink(endpoint_url=kraph.to_http_path("graphql"), proxy=kraph.proxy),
115
- right=GraphQLWSLink(ws_endpoint_url=kraph.to_ws_path("graphql"), proxy=kraph.proxy),
114
+ left=AIOHttpLink(endpoint_url=kraph.to_http_path("graphql"), proxy=kraph.proxy, ssl_context=kraph.ssl_context()),
115
+ right=GraphQLWSLink(ws_endpoint_url=kraph.to_ws_path("graphql"), proxy=kraph.proxy, ssl_context=kraph.ssl_context()),
116
116
  split=lambda o: o.node.operation != OperationType.SUBSCRIPTION,
117
117
  ),
118
118
  )
@@ -31,6 +31,7 @@ Example:
31
31
 
32
32
  """
33
33
 
34
+ import ssl
34
35
  from types import TracebackType
35
36
  from fakts import Alias
36
37
  from koil.composition import KoiledModel
@@ -56,6 +57,18 @@ class DataLayer(KoiledModel):
56
57
  """The HTTP forward proxy (``http://host:port``) the store is only reachable
57
58
  through, when it sits on a private mesh. ``None`` connects directly."""
58
59
 
60
+ certificates: list[str] = []
61
+ """The certificate(s) the store's hub registered, when its alias is pinned:
62
+ TLS to it is verified by those alone (``arkitekt_spec.declare.tls``). Empty
63
+ for any other store."""
64
+
65
+ def ssl_context(self) -> ssl.SSLContext:
66
+ """The context to reach the store with: its hub's certificate alone when
67
+ pinned, the public roots otherwise."""
68
+ from arkitekt_spec.declare import tls
69
+
70
+ return tls.pinned_context(self.certificates) if self.certificates else tls.default_context()
71
+
59
72
 
60
73
  @classmethod
61
74
  def from_alias(cls, alias: "Alias") -> "DataLayer":
@@ -67,7 +80,11 @@ class DataLayer(KoiledModel):
67
80
  Returns:
68
81
  The datalayer, ready to use.
69
82
  """
70
- return cls(endpoint_url=alias.to_http_path(), proxy=alias.proxy)
83
+ return cls(
84
+ endpoint_url=alias.to_http_path(),
85
+ proxy=alias.proxy,
86
+ certificates=list(alias.certificates) if alias.is_pinned() else [],
87
+ )
71
88
 
72
89
  async def get_endpoint_url(self):
73
90
  return self.endpoint_url
@@ -294,16 +294,3 @@ class GraphTrait(ContextBound):
294
294
  raise ProjectionTimeout(
295
295
  f"view {graph_id} did not draw seq {seq} within {timeout}s: {projection}"
296
296
  )
297
-
298
-
299
- class HasPresignedDownloadAccessor(ContextBound):
300
- """Download accessor for media stores."""
301
-
302
- _accessor = ("key", "bucket")
303
-
304
- def download(self, file_name: Optional[str] = None, kraph: Optional["Kraph"] = None) -> str:
305
- """Download this file through the datalayer of ``kraph``, else of the client that fetched it."""
306
- from kraph.io import download_file
307
-
308
- url, key = get_attributes_or_error(self, "presigned_url", "key")
309
- return download_file(client_of(self, kraph).datalayer, url, file_name=file_name or key)
@@ -13,9 +13,9 @@ dependencies = [
13
13
  "rath>=4.1.1",
14
14
  "websockets>=15.0.1",
15
15
  # The service and structures are declared with arkitekt-spec.
16
- "arkitekt-spec>=3.4",
16
+ "arkitekt-spec>=3.19.1",
17
17
  # The service wiring (Alias, Require, FaktsAuthLink); it came through rekuest before.
18
- "fakts>=5.4",
18
+ "fakts>=6.1",
19
19
  ]
20
20
 
21
21
  [project.optional-dependencies]
@@ -32,6 +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>=2.3.0",
35
36
  "dokker>=2.8",
36
37
  "basedpyright>=1.21",
37
38
  ]
kraph-5.0.0/kraph/io.py DELETED
@@ -1,33 +0,0 @@
1
- from typing import TYPE_CHECKING
2
-
3
- import aiohttp
4
- from koil import unkoil
5
-
6
- if TYPE_CHECKING:
7
- from kraph.datalayer import DataLayer
8
-
9
-
10
- async def adownload_file(datalayer: "DataLayer", presigned_url: str, file_name: str) -> str:
11
- """Download a presigned url from ``datalayer`` into ``file_name``."""
12
- endpoint_url = await datalayer.get_endpoint_url()
13
-
14
- async with aiohttp.ClientSession() as session:
15
- # ``proxy=None`` is aiohttp's own default, so an unproxied datalayer is unchanged.
16
- async with session.get(
17
- endpoint_url + presigned_url, proxy=datalayer.proxy
18
- ) as response:
19
- with open(file_name, "wb") as file:
20
- while True:
21
- chunk = await response.content.read(
22
- 1024
23
- ) # read the response by chunks of 1024 bytes
24
- if not chunk:
25
- break
26
- file.write(chunk)
27
-
28
- return file_name
29
-
30
-
31
- def download_file(datalayer: "DataLayer", presigned_url: str, file_name: str) -> str:
32
- """Blocking :func:`adownload_file`."""
33
- return unkoil(adownload_file, datalayer, presigned_url, file_name)
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