UNPKG

alepha

Version:

Easy-to-use modern TypeScript framework for building many kind of applications.

15 lines (12 loc) 405 B
import type { Static } from "alepha"; import { parameters } from "../entities/parameters.ts"; /** * Activate parameter body schema. * * Creator fields are omitted; the controller captures the authenticated user * server-side. */ export const activateParameterBodySchema = parameters.schema.pick({ version: true, }); export type ActivateParameterBody = Static<typeof activateParameterBodySchema>;