datajunction-server 0.0.69__tar.gz → 0.0.71__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.4
2
2
  Name: datajunction-server
3
- Version: 0.0.69
3
+ Version: 0.0.71
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
@@ -41,6 +41,16 @@ type Catalog {
41
41
  engines: [Engine!]
42
42
  }
43
43
 
44
+ type Collection {
45
+ id: Int!
46
+ name: String!
47
+ description: String
48
+ createdAt: DateTime!
49
+ createdBy: User!
50
+ nodeCount: Int!
51
+ nodes: [Node!]!
52
+ }
53
+
44
54
  type Column {
45
55
  name: String!
46
56
  displayName: String
@@ -323,14 +333,14 @@ type NodeRevision {
323
333
  customMetadata: JSON
324
334
  query: String
325
335
  parents: [NodeNameVersion!]!
326
- availability: AvailabilityState
327
- materializations: [MaterializationConfig!]
328
336
  schema_: String
329
337
  table: String
330
338
  requiredDimensions: [Column!]
331
339
  catalog: Catalog
332
340
  columns(attributes: [String!] = null): [Column!]!
333
341
  dimensionLinks: [DimensionLink!]!
342
+ availability: AvailabilityState
343
+ materializations: [MaterializationConfig!]
334
344
  primaryKey: [String!]!
335
345
  metricMetadata: MetricMetadata
336
346
  isDerivedMetric: Boolean!
@@ -585,6 +595,18 @@ type Query {
585
595
 
586
596
  """List all DJ node tag types"""
587
597
  listTagTypes: [String!]!
598
+
599
+ """List collections, optionally filtered by creator (for My Workspace)."""
600
+ listCollections(
601
+ """Search fragment to filter collections by name or description"""
602
+ fragment: String = null
603
+
604
+ """Filter to collections created by this user"""
605
+ createdBy: String = null
606
+
607
+ """Limit collections"""
608
+ limit: Int = 100
609
+ ): [Collection!]!
588
610
  }
589
611
 
590
612
  type SemanticEntity {