From e611e82ad6e87d4a14c334ca5015e235f101fafb Mon Sep 17 00:00:00 2001 From: Joshua Parkin Date: Fri, 23 Jun 2023 21:52:17 -0700 Subject: [PATCH] Revert "include missing template information in language language" This reverts commit bbe4bc32e47402856caf5bffd9eb21d17fb2f09c. --- .../hc-dna/zomes/integrity/src/lib.rs | 12 +----------- bootstrap-languages/language-language/putAdapter.ts | 4 ---- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/bootstrap-languages/language-language/hc-dna/zomes/integrity/src/lib.rs b/bootstrap-languages/language-language/hc-dna/zomes/integrity/src/lib.rs index e480352dc..3d628abc1 100644 --- a/bootstrap-languages/language-language/hc-dna/zomes/integrity/src/lib.rs +++ b/bootstrap-languages/language-language/hc-dna/zomes/integrity/src/lib.rs @@ -12,16 +12,6 @@ pub struct LanguageMetadata { pub name: String, pub description: String, pub address: String, - pub author: String, - pub templated: Option, - #[serde(rename = "templateSourceLanguageAddress")] - pub template_source_language_address: Option, - #[serde(rename = "templateAppliedParams")] - pub template_applied_params: Option, - #[serde(rename = "possibleTemplateParams")] - pub possbile_template_params: Option>, - #[serde(rename = "sourceCodeLink")] - pub source_code_link: Option, pub size: usize, pub chunks_hashes: Vec, } @@ -56,4 +46,4 @@ pub enum EntryTypes { #[hdk_link_types] pub enum LinkTypes { LanguageLink, -} +} \ No newline at end of file diff --git a/bootstrap-languages/language-language/putAdapter.ts b/bootstrap-languages/language-language/putAdapter.ts index 53060a409..d9a18433d 100644 --- a/bootstrap-languages/language-language/putAdapter.ts +++ b/bootstrap-languages/language-language/putAdapter.ts @@ -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