-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
this PR changes the CI to run two protobuf generators, one for each, plus another for dts. currently untested.
- Loading branch information
Showing
5 changed files
with
63 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
export { protoInt64 } from "@bufbuild/protobuf"; | ||
export * from "./gen/livekit_agent_dispatch_pb.js"; | ||
export * from "./gen/livekit_agent_pb.js"; | ||
export * from "./gen/livekit_egress_pb.js"; | ||
export * from "./gen/livekit_ingress_pb.js"; | ||
export * from "./gen/livekit_metrics_pb.js"; | ||
export * from "./gen/livekit_models_pb.js"; | ||
export * from "./gen/livekit_room_pb.js"; | ||
export * from "./gen/livekit_rtc_pb.js"; | ||
export * from "./gen/livekit_sip_pb.js"; | ||
export * from "./gen/livekit_webhook_pb.js"; | ||
export * from "./gen/version.js"; | ||
export type * from "./gen/dts/livekit_agent_dispatch_pb.d.ts"; | ||
export type * from "./gen/dts/livekit_agent_pb.d.ts"; | ||
export type * from "./gen/dts/livekit_egress_pb.d.ts"; | ||
export type * from "./gen/dts/livekit_ingress_pb.d.ts"; | ||
export type * from "./gen/dts/livekit_metrics_pb.d.ts"; | ||
export type * from "./gen/dts/livekit_models_pb.d.ts"; | ||
export type * from "./gen/dts/livekit_room_pb.d.ts"; | ||
export type * from "./gen/dts/livekit_rtc_pb.d.ts"; | ||
export type * from "./gen/dts/livekit_sip_pb.d.ts"; | ||
export type * from "./gen/dts/livekit_webhook_pb.d.ts"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,28 @@ | ||
// @ts-check | ||
export { protoInt64 } from "@bufbuild/protobuf"; | ||
export * from "./gen/livekit_agent_dispatch_pb.js"; | ||
export * from "./gen/livekit_agent_pb.js"; | ||
export * from "./gen/livekit_egress_pb.js"; | ||
export * from "./gen/livekit_ingress_pb.js"; | ||
export * from "./gen/livekit_metrics_pb.js"; | ||
export * from "./gen/livekit_models_pb.js"; | ||
export * from "./gen/livekit_room_pb.js"; | ||
export * from "./gen/livekit_rtc_pb.js"; | ||
export * from "./gen/livekit_sip_pb.js"; | ||
export * from "./gen/livekit_webhook_pb.js"; | ||
export * from "./gen/version.js"; | ||
const { protoInt64 } = require("@bufbuild/protobuf"); | ||
const agentDispatch = require("./gen/esm/livekit_agent_dispatch_pb.js"); | ||
const agent = require("./gen/esm/livekit_agent_pb.js"); | ||
const egress = require("./gen/esm/livekit_egress_pb.js"); | ||
const ingress = require("./gen/esm/livekit_ingress_pb.js"); | ||
const metrics = require("./gen/esm/livekit_metrics_pb.js"); | ||
const models = require("./gen/esm/livekit_models_pb.js"); | ||
const room = require("./gen/esm/livekit_room_pb.js"); | ||
const rtc = require("./gen/esm/livekit_rtc_pb.js"); | ||
const sip = require("./gen/esm/livekit_sip_pb.js"); | ||
const webhook = require("./gen/esm/livekit_webhook_pb.js"); | ||
const version = require("./gen/esm/version.js"); | ||
|
||
module.exports = { | ||
protoInt64, | ||
...agentDispatch, | ||
...agent, | ||
...egress, | ||
...ingress, | ||
...metrics, | ||
...models, | ||
...room, | ||
...rtc, | ||
...sip, | ||
...webhook, | ||
...version, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// @ts-check | ||
export { protoInt64 } from "@bufbuild/protobuf"; | ||
export * from "./gen/esm/livekit_agent_dispatch_pb.js"; | ||
export * from "./gen/esm/livekit_agent_pb.js"; | ||
export * from "./gen/esm/livekit_egress_pb.js"; | ||
export * from "./gen/esm/livekit_ingress_pb.js"; | ||
export * from "./gen/esm/livekit_metrics_pb.js"; | ||
export * from "./gen/esm/livekit_models_pb.js"; | ||
export * from "./gen/esm/livekit_room_pb.js"; | ||
export * from "./gen/esm/livekit_rtc_pb.js"; | ||
export * from "./gen/esm/livekit_sip_pb.js"; | ||
export * from "./gen/esm/livekit_webhook_pb.js"; | ||
export * from "./gen/esm/version.js"; |