datajunction-server 0.0.222__tar.gz → 0.0.223__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,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: datajunction-server
3
- Version: 0.0.222
3
+ Version: 0.0.223
4
4
  Summary: DataJunction server library for running to a DataJunction server
5
5
  Project-URL: Homepage, https://datajunction.io
6
6
  Project-URL: Repository, https://github.com/DataJunction/dj
@@ -76,6 +76,23 @@ input CubeDefinition {
76
76
  orderby: [String!] = null
77
77
  }
78
78
 
79
+ input CustomMetadataFilterInput {
80
+ key: String!
81
+ op: CustomMetadataOp! = EQ
82
+ value: JSON = null
83
+ }
84
+
85
+ enum CustomMetadataOp {
86
+ EQ
87
+ NE
88
+ EXISTS
89
+ GT
90
+ GTE
91
+ LT
92
+ LTE
93
+ CONTAINS
94
+ }
95
+
79
96
  type DJError {
80
97
  code: ErrorCode!
81
98
  message: String
@@ -524,6 +541,9 @@ type Query {
524
541
  """Filter to dimension nodes that are not linked to by any other node"""
525
542
  orphanedDimension: Boolean! = false
526
543
 
544
+ """Filter to nodes matching ALL of these custom metadata conditions"""
545
+ customMetadataFilters: [CustomMetadataFilterInput!] = null
546
+
527
547
  """Limit nodes"""
528
548
  limit: Int = 1000
529
549
  orderBy: NodeSortField! = CREATED_AT
@@ -585,6 +605,9 @@ type Query {
585
605
 
586
606
  """Filter to dimension nodes that are not linked to by any other node"""
587
607
  orphanedDimension: Boolean! = false
608
+
609
+ """Filter to nodes matching ALL of these custom metadata conditions"""
610
+ customMetadataFilters: [CustomMetadataFilterInput!] = null
588
611
  after: String = null
589
612
  before: String = null
590
613