Skip to main content
Version: 0.13.0 (Previous)

🚀 Invitation features

Invitation features are SDK composers, not Express middleware; authService mounts all four Invitation features with the required stores and drivers.

Inventory

FeatureComposed schema(s)Composed route(s)Purpose
createInvitationFeaturecreateInvitationSchemacreateInvitationRouteCreate and email an invitation.
getInvitationFeaturegetInvitationSchemagetInvitationByIdRouteRetrieve one invitation.
findInvitationsFeaturefindInvitationsSchemafindInvitationsRouteList invitations.
deleteInvitationFeaturedeleteInvitationSchemadeleteInvitationRouteDelete an invitation.

Details

Each feature is mounted by authService. The source definitions below show the exact schema-to-route composition.

createInvitationFeature

Implementation

This feature composes the schema and route linked in its inventory row; it is mounted by authService or a compatible custom service context.

View complete source
export const createInvitationFeature = compose(createInvitationSchema, createInvitationRoute);

getInvitationFeature

Implementation

This feature composes the schema and route linked in its inventory row; it is mounted by authService or a compatible custom service context.

View complete source
export const getInvitationFeature = compose(getInvitationSchema, getInvitationByIdRoute);

findInvitationsFeature

Implementation

This feature composes the schema and route linked in its inventory row; it is mounted by authService or a compatible custom service context.

View complete source
export const findInvitationsFeature = compose(findInvitationsSchema, findInvitationsRoute);

deleteInvitationFeature

Implementation

This feature composes the schema and route linked in its inventory row; it is mounted by authService or a compatible custom service context.

View complete source
export const deleteInvitationFeature = compose(deleteInvitationSchema, deleteInvitationRoute);