lib

Core libraries for Radroots
git clone https://radroots.dev/git/lib.git
Log | Files | Refs | README

commit 31e0f07fa55a06289eb4b7f7e0d7b5262f1cbafb
parent 597ebf9950e39c1ac775471c3e91d2368375537f
Author: triesap <tyson@radroots.org>
Date:   Sun,  5 Jul 2026 06:55:18 +0000

wasm: add knowledge event exports

Diffstat:
Mtools/sdk_xtask_import/src/dto_roots.rs | 23+++++++++++++++++++++++
Mtools/sdk_xtask_import/src/wasm_declarations.rs | 34++++++++++++++++++++++++++++++++++
2 files changed, 57 insertions(+), 0 deletions(-)

diff --git a/tools/sdk_xtask_import/src/dto_roots.rs b/tools/sdk_xtask_import/src/dto_roots.rs @@ -590,14 +590,17 @@ mod tests { "JobInputType", "JobPaymentRequest", "RadrootsAccountClaim", + "RadrootsAddressableRef", "RadrootsAppData", "RadrootsComment", "RadrootsCommercialDomain", + "RadrootsContributionAttestation", "RadrootsCoop", "RadrootsCoopLocation", "RadrootsCoopRef", "RadrootsDocument", "RadrootsDocumentSubject", + "RadrootsEvidenceBounty", "RadrootsFarm", "RadrootsFarmPublicLocation", "RadrootsFarmRef", @@ -614,6 +617,22 @@ mod tests { "RadrootsJobParam", "RadrootsJobRequest", "RadrootsJobResult", + "RadrootsKnowledgeChangeProposal", + "RadrootsKnowledgeCitationSpan", + "RadrootsKnowledgeClaim", + "RadrootsKnowledgeFieldContext", + "RadrootsKnowledgeFieldReport", + "RadrootsKnowledgeLocation", + "RadrootsKnowledgeLocationPrecision", + "RadrootsKnowledgeNodeRef", + "RadrootsKnowledgeObservation", + "RadrootsKnowledgeObservationValue", + "RadrootsKnowledgeRelation", + "RadrootsKnowledgeReview", + "RadrootsKnowledgeReviewScope", + "RadrootsKnowledgeReviewScore", + "RadrootsKnowledgeReviewTarget", + "RadrootsKnowledgeSource", "RadrootsList", "RadrootsListEntry", "RadrootsListSet", @@ -666,6 +685,7 @@ mod tests { "RadrootsResourceAreaRef", "RadrootsResourceHarvestCap", "RadrootsResourceHarvestProduct", + "RadrootsRightsAssertion", "RadrootsSeal", "RadrootsSocialFarmAnchor", "RadrootsSocialLocation", @@ -676,6 +696,9 @@ mod tests { "RadrootsTradeListingValidateRequest", "RadrootsTradeListingValidateResult", "RadrootsTradeValidationListingError", + "RadrootsWikiArticle", + "RadrootsWikiMergeRequest", + "RadrootsWikiRedirect", ]; const EVENTS_INDEXED_TYPE_INVENTORY: &[&str] = &[ "RadrootsEventsIndexedShardId", diff --git a/tools/sdk_xtask_import/src/wasm_declarations.rs b/tools/sdk_xtask_import/src/wasm_declarations.rs @@ -393,6 +393,23 @@ const EVENTS_CODEC_FUNCTIONS: &[WasmPublicFunction] = &[ public_function!("job_feedback_tags", Some("job_json"), String, 2, 4), public_function!("job_request_tags", Some("job_json"), String, 2, 4), public_function!("job_result_tags", Some("job_json"), String, 2, 4), + public_function!("knowledge_claim_tags", Some("claim_json"), String, 2, 4), + public_function!( + "knowledge_field_report_tags", + Some("report_json"), + String, + 2, + 4 + ), + public_function!( + "knowledge_relation_tags", + Some("relation_json"), + String, + 2, + 4 + ), + public_function!("knowledge_review_tags", Some("review_json"), String, 2, 4), + public_function!("knowledge_source_tags", Some("source_json"), String, 2, 4), public_function!("list_set_tags", Some("list_json"), String, 2, 4), public_function!("list_tags", Some("list_json"), String, 2, 4), public_function!("listing_tags", Some("listing_json"), String, 2, 4), @@ -406,6 +423,23 @@ const EVENTS_CODEC_FUNCTIONS: &[WasmPublicFunction] = &[ public_function!("report_tags", Some("report_json"), String, 2, 4), public_function!("repost_tags", Some("repost_json"), String, 2, 4), public_function!("seal_tags", Some("seal_json"), String, 2, 4), + public_function!("wiki_article_tags", Some("article_json"), String, 2, 4), + public_function!( + "wiki_merge_request_tags", + Some("request_json"), + String, + 2, + 4 + ), + public_function!("wiki_redirect_tags", Some("redirect_json"), String, 2, 4), + public_function!( + "verify_and_decode_event_json", + Some("event_json"), + String, + 2, + 4 + ), + public_function!("contract_manifest_json", None, String, 0, 4), ]; const EVENTS_CODEC_SUPPORT_EXPORTS: &[WasmSupportExport] = &[