@narrative.io/data-collaboration-sdk-ts 0.0.90 → 0.0.91

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.
@@ -8,7 +8,7 @@ export interface Dataset {
8
8
  schema: Schema;
9
9
  status: DatasetStatus;
10
10
  tags: string[];
11
- updated_at: Date;
11
+ updated_at: string;
12
12
  write_mode: DatasetWriteMode;
13
13
  last_snapshot_created_at?: string;
14
14
  active_dataset_stored_bytes?: number;
@@ -47,8 +47,8 @@ export interface DatasetTableSummaryAPIResponse {
47
47
  dataset_id: number;
48
48
  records: DatasetTableSummary[];
49
49
  }
50
- type SchemaFileConfigType = 'flat';
51
- type SchemaPropertiesType = 'string' | 'number' | 'boolean';
50
+ type SchemaFileConfigType = 'flat' | 'json' | 'parquet';
51
+ type SchemaPropertiesType = 'string' | 'boolean' | 'double' | 'long' | 'timestamptz' | 'object' | 'array';
52
52
  type DatasetStatus = 'active' | 'archived';
53
53
  type DatasetWriteMode = 'append' | 'overwrite';
54
54
  type RetentionPolicyType = 'retain_everything';
@@ -65,7 +65,7 @@ interface SchemaFileConfig {
65
65
  }
66
66
  type SchemaProperties = Record<string, {
67
67
  order: number;
68
- approximate_cardinality: number;
68
+ approximate_cardinality?: number;
69
69
  description?: string;
70
70
  type: SchemaPropertiesType;
71
71
  }>;
@@ -915,7 +915,9 @@ interface ConversationSummary {
915
915
  timestamp?: string;
916
916
  }
917
917
  type ConversationsType = 'userConversations';
918
- type ConversationsData = ConversationSummary[];
918
+ interface ConversationsData {
919
+ userConversations: ConversationSummary[];
920
+ }
919
921
  interface ConversationListMessage {
920
922
  type: ConversationsType;
921
923
  data: ConversationsData;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@narrative.io/data-collaboration-sdk-ts",
3
- "version": "0.0.90",
3
+ "version": "0.0.91",
4
4
  "main": "build/index.js",
5
5
  "repository": "github:narrative-io/data-collaboration-sdk-ts",
6
6
  "source": "src/index.ts",