Skip to content

Commit

Permalink
feat: add MLS types to Typescript (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
nmalzieu authored May 21, 2024
1 parent ff0b6f8 commit 7119f9c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
12 changes: 11 additions & 1 deletion dev/ts/generate
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,14 @@ docker run --rm -i -v${PWD}:/code xmtp/protoc \
keystore_api/v1/keystore.proto \
message_contents/private_preferences.proto \
message_contents/signed_payload.proto \
message_contents/ecies.proto
message_contents/ecies.proto \
mls/api/v1/mls.proto \
mls/database/intents.proto \
mls/message_contents/association.proto \
mls/message_contents/content.proto \
mls/message_contents/credential.proto \
mls/message_contents/group_membership.proto \
mls/message_contents/group_metadata.proto \
mls/message_contents/group_mutable_metadata.proto \
mls/message_contents/transcript_messages.proto \
mls_validation/v1/service.proto
10 changes: 10 additions & 0 deletions ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,13 @@ export * as keystore from "./keystore_api/v1/keystore.pb";
export * as privatePreferences from "./message_contents/private_preferences.pb";
export * as signedPayload from "./message_contents/signed_payload.pb";
export * as ecies from "./message_contents/ecies.pb";
export * as mlsApi from "./mls/api/v1/mls.pb";
export * as mlsDatabaseIntent from "./mls/database/intents.pb";
export * as mlsAssociation from "./mls/message_contents/association.pb";
export * as mlsContent from "./mls/message_contents/content.pb";
export * as mlsCredential from "./mls/message_contents/credential.pb";
export * as mlsGroupMembership from "./mls/message_contents/group_membership.pb";
export * as mlsGroupMetadata from "./mls/message_contents/group_metadata.pb";
export * as mlsGroupMutableMetadata from "./mls/message_contents/group_mutable_metadata.pb";
export * as mlsTranscriptMessages from "./mls/message_contents/transcript_messages.pb";
export * as mlsValidationService from "./mls_validation/v1/service.pb";

0 comments on commit 7119f9c

Please sign in to comment.