メインコンテンツまでスキップ
バージョン: 0.13.0 (Previous)

🚀 Invitation features

Invitation feature は SDK composer であり、Express ミドルウェアではありません。authService はすべての 4 つの Invitation feature を必要なストアとドライバーでマウントします。

目録

Feature合成されたスキーマ合成されたルート目的
createInvitationFeaturecreateInvitationSchemacreateInvitationRoute招待を作成しメールで送信。
getInvitationFeaturegetInvitationSchemagetInvitationByIdRoute1 つの招待を取得。
findInvitationsFeaturefindInvitationsSchemafindInvitationsRoute招待を一覧表示。
deleteInvitationFeaturedeleteInvitationSchemadeleteInvitationRoute招待を削除。

詳細

各 feature は authService によってマウントされます。以下のソース定義は、スキーマからルートへの合成を示しています。

createInvitationFeature

実装

この feature は目録の行でリンクされたスキーマとルートを合成します。authService または互換性のあるカスタムサービスコンテキストにマウントされます。

完全なソースを表示
export const createInvitationFeature = compose(createInvitationSchema, createInvitationRoute);

getInvitationFeature

実装

この feature は目録の行でリンクされたスキーマとルートを合成します。authService または互換性のあるカスタムサービスコンテキストにマウントされます。

完全なソースを表示
export const getInvitationFeature = compose(getInvitationSchema, getInvitationByIdRoute);

findInvitationsFeature

実装

この feature は目録の行でリンクされたスキーマとルートを合成します。authService または互換性のあるカスタムサービスコンテキストにマウントされます。

完全なソースを表示
export const findInvitationsFeature = compose(findInvitationsSchema, findInvitationsRoute);

deleteInvitationFeature

実装

この feature は目録の行でリンクされたスキーマとルートを合成します。authService または互換性のあるカスタムサービスコンテキストにマウントされます。

完全なソースを表示
export const deleteInvitationFeature = compose(deleteInvitationSchema, deleteInvitationRoute);