Map a resolved napplet manifest's archetype data into an IntentCatalogEntry.
Repeated slugs group into one support record; action and convention arrays remain stable and deduplicated.
A resolved manifest's structural archetype data.
The IntentCatalogEntry for createCatalogIntentResolver.
IntentCatalogEntry
createCatalogIntentResolver
manifestToIntentCatalogEntry({ dTag: 'profile-viewer', title: 'Profile', archetypes: [{ slug: 'profile', convention: 'napplet:profile/open' }],});// → { dTag: 'profile-viewer', title: 'Profile',// archetypes: { profile: {// actions: ['open'],// conventions: ['napplet:profile/open'],// } } } Copy
manifestToIntentCatalogEntry({ dTag: 'profile-viewer', title: 'Profile', archetypes: [{ slug: 'profile', convention: 'napplet:profile/open' }],});// → { dTag: 'profile-viewer', title: 'Profile',// archetypes: { profile: {// actions: ['open'],// conventions: ['napplet:profile/open'],// } } }
Map a resolved napplet manifest's archetype data into an IntentCatalogEntry.
Repeated slugs group into one support record; action and convention arrays remain stable and deduplicated.