🚀 Profile features
Profile features are SDK composers, not Express middleware; profileService mounts the Profile features with the required stores and drivers.
Inventory
| Feature | Composed schema(s) | Composed route(s) | Purpose |
|---|---|---|---|
createProfileFeature | createProfileSchema | createProfileRoute | Create a profile. |
getProfileFeature | getProfileSchema | getProfileRoute | Read one profile. |
findProfilesFeature | findProfilesSchema | findProfilesRoute | List profiles. |
editProfileFeature | updateProfileSchema | updateProfileRoute | Update a profile. |
deleteProfileFeature | deleteProfileSchema | deleteProfileRoute | Delete a profile. |
getAvatarUploadUrlFeature | getSignedImageUploadUrlSchema | getAvatarUploadUrlRoute | Create a signed avatar-upload URL. |
findProfilesByIdentityIdFeature | findByIdentityIdSchema | findProfilesByIdentityIdRoute | List the caller’s identity profiles. |
createProfileFollowFeature | createProfileFollowSchema | createProfileFollowRoute | Follow a profile. |
deleteProfileFollowFeature | deleteProfileFollowSchema | deleteProfileFollowRoute | Unfollow a profile. |
getProfileFollowersFeature | getProfileFollowersSchema | getProfileFollowersRoute | List followers. |
createOrganizationFollowFeature | createOrganizationFollowSchema | createOrganizationFollowRoute | Follow an organization. |
deleteOrganizationFollowFeature | deleteOrganizationFollowSchema | deleteOrganizationFollowRoute | Unfollow an organization. |
createProductLikeFeature | createProductLikeSchema | createProductLikeRoute | Like a product. |
deleteProductLikeFeature | deleteProductLikeSchema | deleteProductLikeRoute | Remove a product like. |
Details
Each feature is mounted by profileService. The source definitions below show the exact schema-to-route composition.
createProfileFeature
Implementation
This feature composes the schema and route linked in its inventory row; it is mounted by profileService or a compatible custom service context.View complete source
getProfileFeature
Implementation
This feature composes the schema and route linked in its inventory row; it is mounted by profileService or a compatible custom service context.View complete source
findProfilesFeature
Implementation
This feature composes the schema and route linked in its inventory row; it is mounted by profileService or a compatible custom service context.View complete source
editProfileFeature
Implementation
This feature composes the schema and route linked in its inventory row; it is mounted by profileService or a compatible custom service context.
The public feature name remains editProfileFeature although the route export is updateProfileRoute.View complete source
deleteProfileFeature
Implementation
This feature composes the schema and route linked in its inventory row; it is mounted by profileService or a compatible custom service context.View complete source
getAvatarUploadUrlFeature
Implementation
This feature composes the schema and route linked in its inventory row; it is mounted by profileService or a compatible custom service context.
The route requires the optional fileStorageDriver supplied to profileService.View complete source
findProfilesByIdentityIdFeature
Implementation
This feature composes the schema and route linked in its inventory row; it is mounted by profileService or a compatible custom service context.View complete source
createProfileFollowFeature
Implementation
This feature composes the schema and route linked in its inventory row; it is mounted by profileService or a compatible custom service context.View complete source
deleteProfileFollowFeature
Implementation
This feature composes the schema and route linked in its inventory row; it is mounted by profileService or a compatible custom service context.View complete source
getProfileFollowersFeature
Implementation
This feature composes the schema and route linked in its inventory row; it is mounted by profileService or a compatible custom service context.View complete source
createOrganizationFollowFeature
Implementation
This feature composes the schema and route linked in its inventory row; it is mounted by profileService or a compatible custom service context.View complete source
deleteOrganizationFollowFeature
Implementation
This feature composes the schema and route linked in its inventory row; it is mounted by profileService or a compatible custom service context.View complete source
createProductLikeFeature
Implementation
This feature composes the schema and route linked in its inventory row; it is mounted by profileService or a compatible custom service context.View complete source
deleteProductLikeFeature
Implementation
This feature composes the schema and route linked in its inventory row; it is mounted by profileService or a compatible custom service context.View complete source