メインコンテンツまでスキップ
バージョン: 🚧 Canary

🚀 Attribute features

Attribute features are SDK composers, not Express middleware; attributesService mounts all five with the datastore and authentication context described in the index.

Inventory

FeatureComposed schema(s)Composed route(s)Purpose
createAttributeFeaturecreateAttributesSchemacreateAttributeRouteCreate a group.
getAttributeFeaturegetAttributeSchemagetAttributeRouteRead one group.
findAttributesFeaturefindAttributesSchemafindAttributesRouteList groups.
updateAttributeFeatureupdateAttributesSchemaupdateAttributeRouteRename a group.
deleteAttributeFeaturedeleteAttributeSchemadeleteAttributeRouteDelete a group.

Details

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

createAttributeFeature

Implementation

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

View complete source
export const createAttributeFeature = compose(
createAttributesSchema,
createAttributeRoute
);

getAttributeFeature

Implementation

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

View complete source
export const getAttributeFeature = compose(getAttributeSchema, getAttributeRoute);

findAttributesFeature

Implementation

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

View complete source
export const findAttributesFeature = compose(
findAttributesSchema,
findAttributesRoute
);

updateAttributeFeature

Implementation

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

View complete source
export const updateAttributeFeature = compose(
updateAttributesSchema,
updateAttributeRoute
);

deleteAttributeFeature

Implementation

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

View complete source
export const deleteAttributeFeature = compose(
deleteAttributeSchema,
deleteAttributeRoute
);