Skip to content

Commit ef37ac3

Browse files
committed
fix consistent types for indexes and constraints
using camel case in all types to be consistent. also ignore intellij files in git.
1 parent 863ff26 commit ef37ac3

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

.changeset/calm-seas-impress.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@neo4j/graph-schema-utils": minor
3+
"@neo4j/graph-json-schema": minor
4+
---
5+
6+
Changed full-text type to fullText for consistency between indexes and constaints types

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ coverage
33
.DS_Store
44
dist
55
.env
6+
.idea

packages/graph-schema-utils/src/model/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ export type IndexType =
289289
| "range"
290290
| "lookup"
291291
| "text"
292-
| "full-text"
292+
| "fullText"
293293
| "point"
294294
| "default";
295295

packages/json-schema/json-schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@
212212
"range",
213213
"lookup",
214214
"text",
215-
"full-text",
215+
"fullText",
216216
"point",
217217
"default"
218218
]

0 commit comments

Comments
 (0)