Skip to content

Commit

Permalink
refactor: change node proto and add it to the registry (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
d-roak authored Oct 30, 2024
1 parent c59081a commit 3dee126
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions buf.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
version: v2
modules:
- path: packages/node/src/proto
name: buf.build/topology/node

- path: packages/object/src/proto
name: buf.build/topology/object

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions packages/node/src/rpc/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ import * as grpc from "@grpc/grpc-js";
import type { ServerUnaryCall, sendUnaryData } from "@grpc/grpc-js";
import { Logger } from "@topology-foundation/logger";
import type { TopologyNode } from "../index.js";
import { TopologyRpcService } from "../proto/rpc_grpc_pb.js";
import { TopologyRpcService } from "../proto/topology/node/rpc_grpc_pb.js";
import type {
GetCroHashGraphRequest,
GetCroHashGraphResponse,
SubscribeCroRequest,
SubscribeCroResponse,
UnsubscribeCroRequest,
UnsubscribeCroResponse,
} from "../proto/rpc_pb.js";
} from "../proto/topology/node/rpc_pb.js";

export function init(node: TopologyNode) {
const log = new Logger(
Expand Down

0 comments on commit 3dee126

Please sign in to comment.