Consolidate more extension API structs that were duplicated btwn client and server (#9797)

Release Notes:

- N/A
This commit is contained in:
Max Brunsfeld 2024-03-25 21:28:18 -07:00 committed by GitHub
parent 5e7fcc02fa
commit b0409ddd68
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 35 additions and 47 deletions

View file

@ -243,10 +243,10 @@ fn metadata_from_extension_and_version(
version: extension_version::Model,
) -> ExtensionMetadata {
ExtensionMetadata {
id: extension.external_id,
id: extension.external_id.into(),
manifest: rpc::ExtensionApiManifest {
name: extension.name,
version: version.version,
version: version.version.into(),
authors: version
.authors
.split(',')