@narrative.io/data-collaboration-sdk-ts 0.0.135 → 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,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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@narrative.io/data-collaboration-sdk-ts",
3
- "version": "0.0.135",
3
+ "version": "0.0.136",
4
4
  "main": "build/index.js",
5
5
  "repository": "github:narrative-io/data-collaboration-sdk-ts",
6
6
  "source": "src/index.ts",