From 45c8d78a980088e694e34cfe69df51c6f1fbd004 Mon Sep 17 00:00:00 2001 From: Ryan Tan <65996005+ryn5@users.noreply.github.com> Date: Mon, 25 Sep 2023 15:00:36 -0700 Subject: [PATCH] Fix JS Direction import (#2259) --- docs/src/reference/gremlin-variants.asciidoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/src/reference/gremlin-variants.asciidoc b/docs/src/reference/gremlin-variants.asciidoc index bb079ed7148..043ba567733 100644 --- a/docs/src/reference/gremlin-variants.asciidoc +++ b/docs/src/reference/gremlin-variants.asciidoc @@ -1286,6 +1286,13 @@ const __ = gremlin.process.statics; const DriverRemoteConnection = gremlin.driver.DriverRemoteConnection; const column = gremlin.process.column const direction = gremlin.process.direction +const Direction = { + BOTH: direction.both, + IN: direction.in, + OUT: direction.out, + from_: direction.in, + to: direction.out, +} const p = gremlin.process.P const textp = gremlin.process.TextP const pick = gremlin.process.pick