A resolved manifest's structural archetype data.
The IntentCatalogEntry for createCatalogIntentResolver.
manifestToIntentCatalogEntry({
catalogId: 'nip5d:35129:publisher:profile-viewer',
title: 'Profile',
archetypes: [{ slug: 'profile', convention: 'napplet:profile/open', params: ['pubkey'] }],
});
// → { id: 'nip5d:35129:publisher:profile-viewer', title: 'Profile',
// archetypes: { profile: { contracts: [
// { convention: 'napplet:profile/open', params: ['pubkey'] },
// ] } } }
Map a resolved napplet manifest's archetype data into an IntentCatalogEntry.
Repeated slugs group into one support record; exact contracts and their parameter arrays remain stable and deduplicated.