mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
[gremlin] Modularize into namespaces (#35761)
This commit is contained in:
parent
f5d41d7eeb
commit
035ef670e2
@ -1,4 +1,10 @@
|
||||
import {
|
||||
driver,
|
||||
process,
|
||||
structure,
|
||||
} from "gremlin";
|
||||
|
||||
const {
|
||||
RemoteConnection,
|
||||
RemoteStrategy,
|
||||
RemoteTraversal,
|
||||
@ -7,12 +13,14 @@ import {
|
||||
ResultSet,
|
||||
Authenticator,
|
||||
PlainTextSaslAuthenticator,
|
||||
} = driver;
|
||||
|
||||
const {
|
||||
Bytecode,
|
||||
EnumValue,
|
||||
P,
|
||||
TextP,
|
||||
Traversal,
|
||||
Graph,
|
||||
TraversalStrategies,
|
||||
TraversalSideEffects,
|
||||
TraversalStrategy,
|
||||
@ -21,16 +29,6 @@ import {
|
||||
GraphTraversalSource,
|
||||
Translator,
|
||||
AnonymousTraversalSource,
|
||||
Element,
|
||||
GraphSONReader,
|
||||
GraphSONWriter,
|
||||
Edge,
|
||||
Vertex,
|
||||
VertexProperty,
|
||||
Path,
|
||||
Property,
|
||||
Long,
|
||||
toLong,
|
||||
barrier,
|
||||
cardinality,
|
||||
column,
|
||||
@ -43,8 +41,22 @@ import {
|
||||
pop,
|
||||
scope,
|
||||
t,
|
||||
statics
|
||||
} from "gremlin";
|
||||
statics,
|
||||
} = process;
|
||||
|
||||
const {
|
||||
Graph,
|
||||
Element,
|
||||
GraphSONReader,
|
||||
GraphSONWriter,
|
||||
Edge,
|
||||
Vertex,
|
||||
VertexProperty,
|
||||
Path,
|
||||
Property,
|
||||
Long,
|
||||
toLong,
|
||||
} = structure;
|
||||
|
||||
function constructorTests() {
|
||||
const remoteConnection = new RemoteConnection("test");
|
||||
|
||||
980
types/gremlin/index.d.ts
vendored
980
types/gremlin/index.d.ts
vendored
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user