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

🚀 Location features

Location feature は SDK composer であり、Express ミドルウェアではありません。locationService は必要なストアとドライバーで Location feature をマウントします。

目録

Feature合成されたスキーマ合成されたルート目的
createLocationFeaturecreateLocationSchemacreateLocationRoute階層ノードを作成。
getLocationFeaturegetLocationSchemagetLocationRoute1 つの公開位置情報を取得。
updateLocationFeatureupdateLocationSchemaupdateLocationRoute位置情報を更新。
deleteLocationFeaturedeleteLocationSchemadeleteLocationRouteリーフの位置情報を削除。
findLocationsFeaturefindLocationsSchemafindLocationsRoute公開位置を一覧表示。

詳細

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

createLocationFeature

実装

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

完全なソースを表示
export const createLocationFeature = compose(createLocationSchema, createLocationRoute);

getLocationFeature

実装

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

完全なソースを表示
export const getLocationFeature = compose(getLocationSchema, getLocationRoute);

updateLocationFeature

実装

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

完全なソースを表示
export const updateLocationFeature = compose(updateLocationSchema, updateLocationRoute);

deleteLocationFeature

実装

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

完全なソースを表示
export const deleteLocationFeature = compose(deleteLocationSchema, deleteLocationRoute);

findLocationsFeature

実装

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

完全なソースを表示
export const findLocationsFeature = compose(findLocationsSchema, findLocationsRoute);