Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Import prehog protos #1464

Closed

Conversation

ravicious
Copy link
Member

@ravicious ravicious commented Dec 28, 2022

goog.exportSymbol('proto.teleport.terminal.v1.ClusterProperties', null, global);
goog.exportSymbol('proto.teleport.terminal.v1.ConnectUsageEventOneOf', null, global);
goog.exportSymbol('proto.teleport.terminal.v1.ConnectUsageEventOneOf.EventCase', null, global);
var prehog_v1alpha_connect_pb = require('../prehog/v1alpha/connect_pb.js');
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is how the import paths look like in the generated JS files so that's why I put prehog JS files under services/tshd/prehog/v1alpha.

For now I think that's okay but if we ever need to change the paths, there should be a way to achieve this through some config options.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant