Skip to content

Commit

Permalink
chore: expose missing types in client
Browse files Browse the repository at this point in the history
  • Loading branch information
ShimmerGlass committed Dec 2, 2022
1 parent 7f2baac commit d0c0a7e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion graphkb/graph_api.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
package graphkb

import "github.com/clems4ever/go-graphkb/internal/client"
import (
"github.com/clems4ever/go-graphkb/internal/client"
"github.com/clems4ever/go-graphkb/internal/knowledge"
)

// GraphAPI is the representation of the graphkb API exposed to data sources.
type GraphAPI = client.GraphAPI
Expand All @@ -23,6 +26,12 @@ type Column = client.Column
// Item is map with the members of a row item in the QueryResponse
type Item = client.Item

type AssetWithID = knowledge.AssetWithID

type RelationWithID = knowledge.RelationWithID

type Property = knowledge.Property

// PutGraphSchemaRequestBody a request body for the schema update
type PutGraphSchemaRequestBody = client.PutGraphSchemaRequestBody

Expand Down

0 comments on commit d0c0a7e

Please sign in to comment.