Skip to content

Commit

Permalink
Revert "include missing template information in language language"
Browse files Browse the repository at this point in the history
This reverts commit bbe4bc3.
  • Loading branch information
jdeepee committed Jun 24, 2023
1 parent bb6a526 commit e611e82
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@ pub struct LanguageMetadata {
pub name: String,
pub description: String,
pub address: String,
pub author: String,
pub templated: Option<bool>,
#[serde(rename = "templateSourceLanguageAddress")]
pub template_source_language_address: Option<String>,
#[serde(rename = "templateAppliedParams")]
pub template_applied_params: Option<String>,
#[serde(rename = "possibleTemplateParams")]
pub possbile_template_params: Option<Vec<String>>,
#[serde(rename = "sourceCodeLink")]
pub source_code_link: Option<String>,
pub size: usize,
pub chunks_hashes: Vec<EntryHash>,
}
Expand Down Expand Up @@ -56,4 +46,4 @@ pub enum EntryTypes {
#[hdk_link_types]
pub enum LinkTypes {
LanguageLink,
}
}
4 changes: 0 additions & 4 deletions bootstrap-languages/language-language/putAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ export class LanguageStoragePutAdapter implements PublicSharing {
name: language.meta.name,
description: language.meta.description,
address: language.meta.address,
templateSourceLanguageAddress: language.meta.templateSourceLanguageAddress,
templateAppliedParams: language.meta.templateAppliedParams,
possibleTemplateParams: language.meta.possibleTemplateParams,
sourceCodeLink: language.meta.sourceCodeLink,
chunks_hashes: hashes,
size: data_uncompressed.length,
} as LanguageMetadata
Expand Down

0 comments on commit e611e82

Please sign in to comment.