@narrative.io/data-collaboration-sdk-ts 0.0.134 → 0.0.136
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,20 +111,23 @@ 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;
|
|
116
118
|
description?: string;
|
|
117
119
|
properties: SchemaProperties;
|
|
120
|
+
sensitive?: string[];
|
|
118
121
|
}
|
|
119
122
|
export interface SchemaArrayProperty {
|
|
123
|
+
display_name: string;
|
|
120
124
|
type: SchemaPropertiesType;
|
|
121
125
|
order?: number;
|
|
122
126
|
approximate_cardinality?: number;
|
|
123
127
|
description?: string;
|
|
124
128
|
items: SchemaArrayItems;
|
|
125
129
|
}
|
|
126
|
-
export type SchemaArrayItems = Omit<SchemaProperty, "description" | "order" | "approximate_cardinality">;
|
|
130
|
+
export type SchemaArrayItems = Omit<SchemaProperty, "description" | "order" | "approximate_cardinality" | "display_name">;
|
|
127
131
|
export interface Schema {
|
|
128
132
|
file_config: SchemaFileConfig;
|
|
129
133
|
type: SchemaType;
|