Skip to content

Commit 0789ce0

Browse files
committed
feat: typegraph/graph crate
1 parent 55cece9 commit 0789ce0

File tree

19 files changed

+1006
-11
lines changed

19 files changed

+1006
-11
lines changed

.ghjk/deno.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.ghjk/lock.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -977,7 +977,7 @@
977977
"ty": "denoFile@v1",
978978
"key": "test-codegen",
979979
"workingDir": "./src/typegraph/specs/codegen",
980-
"envKey": "bciqbjavwy7rbire3zwlpgo2ifwzgnm6ywxqswnh6qxezwuvc4bqhrca"
980+
"envKey": "bciqgfkhptprs54tg3wl45acxctzc2lu4v2xlh3slk6w4m5g5ctysv4a"
981981
},
982982
"test-rust": {
983983
"ty": "denoFile@v1",
@@ -1129,7 +1129,7 @@
11291129
"build-tgraph-py": {
11301130
"ty": "denoFile@v1",
11311131
"key": "build-tgraph-py",
1132-
"envKey": "bciqbk2kwzvfc2c5ti6x7z2pju22i3qkhn76hei4patfnwqv6xr4umlq"
1132+
"envKey": "bciqpei32hkwk37chtbyin65e3pvaeawn6cq3ytsihyxo54ixft7yyjq"
11331133
},
11341134
"build-tgraph-ts-jsr": {
11351135
"ty": "denoFile@v1",
@@ -1139,25 +1139,25 @@
11391139
"build-tgraph-rpc": {
11401140
"ty": "denoFile@v1",
11411141
"key": "build-tgraph-rpc",
1142-
"envKey": "bciqeeh6cx5grefrnieyki54emcwuxb57ahioapdi6opi47dyg6hxgki"
1142+
"envKey": "bciqn7hev7ej5zg7cixajsoe5kpouah36nmzt2o7vsxnxgl6tou4z7cy"
11431143
},
11441144
"build-tgraph-ts": {
11451145
"ty": "denoFile@v1",
11461146
"key": "build-tgraph-ts",
1147-
"envKey": "bciqpj74st4da74tgeqyzsppxpvncbekb65n2ow6tbcsfdcrdyq6smxy"
1147+
"envKey": "bciqdxfpgv43gmtbphf7wdom7n6wv3xvhrtexnqrokaok6ljbccma5by"
11481148
},
11491149
"build-tgraph-ts-node": {
11501150
"ty": "denoFile@v1",
11511151
"key": "build-tgraph-ts-node",
11521152
"dependsOn": [
11531153
"build-tgraph-ts"
11541154
],
1155-
"envKey": "bciqpj74st4da74tgeqyzsppxpvncbekb65n2ow6tbcsfdcrdyq6smxy"
1155+
"envKey": "bciqdxfpgv43gmtbphf7wdom7n6wv3xvhrtexnqrokaok6ljbccma5by"
11561156
},
11571157
"build-tgraph-core": {
11581158
"ty": "denoFile@v1",
11591159
"key": "build-tgraph-core",
1160-
"envKey": "bciqlndcuvoua6nwkocqwfmugmbzrpk5yfr5wfv7mzazugh3ofyptv2a"
1160+
"envKey": "bciqg4j54df6d7tkfqx5g6fwnhuznqtrveerazjqzrtykguzhefcljpa"
11611161
},
11621162
"build-tgraph": {
11631163
"ty": "denoFile@v1",
@@ -1762,7 +1762,7 @@
17621762
}
17631763
]
17641764
},
1765-
"bciqlndcuvoua6nwkocqwfmugmbzrpk5yfr5wfv7mzazugh3ofyptv2a": {
1765+
"bciqg4j54df6d7tkfqx5g6fwnhuznqtrveerazjqzrtykguzhefcljpa": {
17661766
"provides": [
17671767
{
17681768
"ty": "posix.envVar",
@@ -1800,7 +1800,7 @@
18001800
}
18011801
]
18021802
},
1803-
"bciqbk2kwzvfc2c5ti6x7z2pju22i3qkhn76hei4patfnwqv6xr4umlq": {
1803+
"bciqpei32hkwk37chtbyin65e3pvaeawn6cq3ytsihyxo54ixft7yyjq": {
18041804
"provides": [
18051805
{
18061806
"ty": "posix.envVar",
@@ -1838,7 +1838,7 @@
18381838
}
18391839
]
18401840
},
1841-
"bciqeeh6cx5grefrnieyki54emcwuxb57ahioapdi6opi47dyg6hxgki": {
1841+
"bciqn7hev7ej5zg7cixajsoe5kpouah36nmzt2o7vsxnxgl6tou4z7cy": {
18421842
"provides": [
18431843
{
18441844
"ty": "posix.envVar",
@@ -1876,7 +1876,7 @@
18761876
}
18771877
]
18781878
},
1879-
"bciqpj74st4da74tgeqyzsppxpvncbekb65n2ow6tbcsfdcrdyq6smxy": {
1879+
"bciqdxfpgv43gmtbphf7wdom7n6wv3xvhrtexnqrokaok6ljbccma5by": {
18801880
"provides": [
18811881
{
18821882
"ty": "posix.envVar",
@@ -1886,7 +1886,7 @@
18861886
{
18871887
"ty": "posix.envVar",
18881888
"key": "TYPEGRAPH_VERSION",
1889-
"val": "0.0.3"
1889+
"val": "0.0.4"
18901890
},
18911891
{
18921892
"ty": "posix.envVar",

Cargo.lock

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ members = [
99
"src/typegate/standalone",
1010
"src/typegate_api",
1111
"src/typegraph/core",
12+
"src/typegraph/graph",
1213
"src/typegraph/schema",
1314
"src/xtask",
1415
"src/utils/grpc",
@@ -43,6 +44,7 @@ typegate_engine = { path = "src/typegate/engine" }
4344
typegate_api = { path = "src/typegate_api" }
4445
grpc_utils = { path = "src/utils/grpc" }
4546
archive_utils = { path = "src/utils/archive" }
47+
typegraph = { path = "src/typegraph/graph" }
4648

4749
# cli
4850
clap = "=4.5.13"

src/typegraph/graph/Cargo.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[package]
2+
name = "typegraph"
3+
version.workspace = true
4+
edition.workspace = true
5+
6+
[dependencies]
7+
tg_schema.workspace = true
8+
serde.workspace = true
9+
serde_json.workspace = true
10+
11+
[features]
12+
mt = []

0 commit comments

Comments
 (0)