alepha
Version:
Easy-to-use modern TypeScript framework for building many kind of applications.
12 lines (9 loc) • 402 B
text/typescript
import type { Static } from "alepha";
import { userAccountInfoSchema } from "alepha/security";
import { apiRegistryResponseSchema } from "alepha/server/links";
import { tokensSchema } from "./tokensSchema.ts";
export const tokenResponseSchema = tokensSchema.extend({
user: userAccountInfoSchema,
api: apiRegistryResponseSchema,
});
export type TokenResponse = Static<typeof tokenResponseSchema>;