Skip to main content
Version: 🚧 Canary

🚀 Organization features

Organization features are SDK composers, not Express middleware; organizationService mounts the Organization features with the required stores and drivers.

Inventory

FeatureComposed schema(s)Composed route(s)Purpose
createOrganizationFeaturecreateOrganizationSchemacreateOrganizationRouteCreate an organization.
getOrganizationFeaturesgetOrganizationSchemagetOrganizationRouteRead one organization.
findOrganizationsFeaturesfindOrganizationsSchemafindOrganizationsRouteList organizations with filtering and pagination.
editOrganizationFeaturesupdateOrganizationSchemaupdateOrganizationRouteUpdate an organization.
deleteOrganizationFeaturesdeleteOrganizationSchemadeleteOrganizationRouteDelete an organization.
getOrganizationMemberFeaturesgetOrganizationMemberRoleSchemagetOrganizationMemberRoleRouteRead a member role.
checkOrganizationMemberExistenceFeaturescheckOrganizationMemberExistenceSchemacheckOrganizationMemberExistenceRouteCheck member existence.
findOrganizationMembersFeaturesfindOrganizationMembersSchemafindOrganizationMembersRouteList organization members.
findOrganizationsForMemberFeaturesfindOrganizationsForMemberSchemafindOrganizationsForMemberRouteList organizations for a member.
editOrganizationMembersFeaturesupsertOrganizationMembersSchemaupsertOrganizationMembersRouteUpsert organization members.
deleteOrganizationMemberFeaturesdeleteOrganizationMemberSchemadeleteOrganizationMemberRouteDelete an organization member.
findOrganizationDescendantsFeaturesfindOrganizationDescendantsSchemafindOrganizationDescendantsRouteList organization descendants.
getLogoUploadUrlFeaturegetSignedImageUploadUrlSchemagetLogoUploadUrlRouteCreate a signed logo upload URL.
getCertificateUploadUrlFeaturegetCertificateUploadUrlSchemagetCertificateUploadUrlRouteCreate a signed certificate upload URL.
createChangeRequestFeaturecreateChangeRequestSchemacreateChangeRequestRouteCreate a change request.
updateOrganizationAsAdminFeatureupdateOrganizationAsAdminSchemaupdateOrganizationAsAdminRouteUpdate an organization as admin.
findChangeRequestsForOrganizationFeaturefindChangeRequestsForOrganizationSchemafindChangeRequestsForOrganizationRouteList change requests for an organization.
getOrganizationFollowersFeaturegetOrganizationFollowersSchemagetOrganizationFollowersRouteList organization followers.

Details

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

createOrganizationFeature

Implementation

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

View complete source
export const createOrganizationFeature = compose(
createOrganizationSchema,
createOrganizationRoute
);

getOrganizationFeatures

Implementation

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

View complete source
export const getOrganizationFeatures = compose(
getOrganizationSchema,
getOrganizationRoute
);

findOrganizationsFeatures

Implementation

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

View complete source
export const findOrganizationsFeatures = compose(
findOrganizationsSchema,
findOrganizationsRoute
);

editOrganizationFeatures

Implementation

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

View complete source
export const editOrganizationFeatures = compose(
updateOrganizationSchema,
updateOrganizationRoute
);

deleteOrganizationFeatures

Implementation

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

View complete source
export const deleteOrganizationFeatures = compose(
deleteOrganizationSchema,
deleteOrganizationRoute
);

getOrganizationMemberFeatures

Implementation

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

View complete source
export const getOrganizationMemberFeatures = compose(
getOrganizationMemberRoleSchema,
getOrganizationMemberRoleRoute
);

checkOrganizationMemberExistenceFeatures

Implementation

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

View complete source
export const checkOrganizationMemberExistenceFeatures = compose(
checkOrganizationMemberExistenceSchema,
checkOrganizationMemberExistenceRoute
);

findOrganizationMembersFeatures

Implementation

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

View complete source
export const findOrganizationMembersFeatures = compose(
findOrganizationMembersSchema,
findOrganizationMembersRoute
);

findOrganizationsForMemberFeatures

Implementation

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

View complete source
export const findOrganizationsForMemberFeatures = compose(
findOrganizationsForMemberSchema,
findOrganizationsForMemberRoute
);

editOrganizationMembersFeatures

Implementation

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

View complete source
export const editOrganizationMembersFeatures = compose(
upsertOrganizationMembersSchema,
upsertOrganizationMembersRoute
);

deleteOrganizationMemberFeatures

Implementation

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

View complete source
export const deleteOrganizationMemberFeatures = compose(
deleteOrganizationMemberSchema,
deleteOrganizationMemberRoute
);

findOrganizationDescendantsFeatures

Implementation

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

View complete source
export const findOrganizationDescendantsFeatures = compose(
findOrganizationDescendantsSchema,
findOrganizationDescendantsRoute
);

getLogoUploadUrlFeature

Implementation

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

View complete source
export const getLogoUploadUrlFeature = compose(
getSignedImageUploadUrlSchema,
getLogoUploadUrlRoute
);

getCertificateUploadUrlFeature

Implementation

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

View complete source
export const getCertificateUploadUrlFeature = compose(
getCertificateUploadUrlSchema,
getCertificateUploadUrlRoute
);

createChangeRequestFeature

Implementation

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

View complete source
export const createChangeRequestFeature = compose(
createChangeRequestSchema,
createChangeRequestRoute
);

updateOrganizationAsAdminFeature

Implementation

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

View complete source
export const updateOrganizationAsAdminFeature = compose(
updateOrganizationAsAdminSchema,
updateOrganizationAsAdminRoute
);

findChangeRequestsForOrganizationFeature

Implementation

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

View complete source
export const findChangeRequestsForOrganizationFeature = compose(
findChangeRequestsForOrganizationSchema,
findChangeRequestsForOrganizationRoute
);

getOrganizationFollowersFeature

Implementation

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

View complete source
export const getOrganizationFollowersFeature = compose(
getOrganizationFollowersSchema,
getOrganizationFollowersRoute
);