@narrative.io/data-collaboration-sdk-ts 0.0.135 → 0.0.137
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.
|
@@ -103,6 +103,7 @@ export interface SchemaFileConfig {
|
|
|
103
103
|
export type SchemaProperties = Record<string, SchemaProperty>;
|
|
104
104
|
export type SchemaProperty = SchemaPrimitiveProperty | SchemaArrayProperty | SchemaObjectProperty;
|
|
105
105
|
export interface SchemaPrimitiveProperty {
|
|
106
|
+
display_name: string;
|
|
106
107
|
type: SchemaPropertiesType;
|
|
107
108
|
order?: number;
|
|
108
109
|
approximate_cardinality?: number;
|
|
@@ -110,6 +111,7 @@ export interface SchemaPrimitiveProperty {
|
|
|
110
111
|
enum?: any[];
|
|
111
112
|
}
|
|
112
113
|
export interface SchemaObjectProperty {
|
|
114
|
+
display_name: string;
|
|
113
115
|
type: SchemaPropertiesType;
|
|
114
116
|
order?: number;
|
|
115
117
|
approximate_cardinality?: number;
|
|
@@ -118,13 +120,14 @@ export interface SchemaObjectProperty {
|
|
|
118
120
|
sensitive?: string[];
|
|
119
121
|
}
|
|
120
122
|
export interface SchemaArrayProperty {
|
|
123
|
+
display_name: string;
|
|
121
124
|
type: SchemaPropertiesType;
|
|
122
125
|
order?: number;
|
|
123
126
|
approximate_cardinality?: number;
|
|
124
127
|
description?: string;
|
|
125
128
|
items: SchemaArrayItems;
|
|
126
129
|
}
|
|
127
|
-
export type SchemaArrayItems = Omit<SchemaProperty, "description" | "order" | "approximate_cardinality">;
|
|
130
|
+
export type SchemaArrayItems = Omit<SchemaProperty, "description" | "order" | "approximate_cardinality" | "display_name">;
|
|
128
131
|
export interface Schema {
|
|
129
132
|
file_config: SchemaFileConfig;
|
|
130
133
|
type: SchemaType;
|
|
@@ -178,7 +181,7 @@ export interface ColumnSummary {
|
|
|
178
181
|
name: string;
|
|
179
182
|
type: string;
|
|
180
183
|
basic_statistics: BasicStatistics;
|
|
181
|
-
advanced_statistics: AdvancedStatistics;
|
|
184
|
+
advanced_statistics: AdvancedStatistics | null;
|
|
182
185
|
}
|
|
183
186
|
export interface BasicStatistics {
|
|
184
187
|
nan_value_count: number | null;
|