sekejap 0.18.0 → 0.18.2

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.
package/index.d.ts CHANGED
@@ -63,11 +63,28 @@ export interface IndexDecl {
63
63
  ready: boolean;
64
64
  }
65
65
 
66
+ export interface EdgeTableInfo {
67
+ /** Each REFERENCES column and the table it names. */
68
+ references: Array<[string, string]>;
69
+ key: string[];
70
+ /** Null until a property graph declares the table. */
71
+ source: string | null;
72
+ source_table: string | null;
73
+ destination: string | null;
74
+ destination_table: string | null;
75
+ label: string | null;
76
+ graph: string | null;
77
+ }
78
+
66
79
  export interface CollectionDescriptor {
67
80
  name: string;
81
+ /** `public`, or the named schema the table belongs to. */
82
+ schema: string;
83
+ /** Set for an edge table, null for a table of rows. */
84
+ edge: EdgeTableInfo | null;
68
85
  timestamps: boolean;
69
86
  rows: number | null;
70
- fields: Array<FieldDecl & { declared: string | null; primary_key: boolean }>;
87
+ fields: Array<FieldDecl & { declared: string | null; primary_key: boolean; not_null: boolean; default: string | null }>;
71
88
  indexes: IndexDecl[];
72
89
  }
73
90
 
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sekejap",
3
- "version": "0.18.0",
3
+ "version": "0.18.2",
4
4
  "description": "Embedded graph-first multi-model database — Node.js binding over the C ABI (libsekejap)",
5
5
  "license": "MIT OR Apache-2.0",
6
6
  "repository": "github:sekejapdb/sekejap",