@sudobility/shapeshyft_service
v1.0.7
Published
Shared tables, routes and middleware for ShapeShyft-style structured-output APIs
Readme
@sudobility/shapeshyft_service
Shared tables, routes and middleware for ShapeShyft-style structured-output APIs.
const service = createShapeshyftService({
db,
tables,
keyPrefixes: { user: "shyft_", entity: "shyftent" },
encryption,
auth,
email,
credentials, // ProviderCredentialResolver: where provider API keys come from
});
app.route("/api/v1", service.buildRoutes({ mountAdmin }));