@upstart.gg/sdk
Version:
You can test the CLI without recompiling by running:
24 lines (22 loc) • 852 B
JavaScript
import { linksSchema } from "../links/schema.js";
import { Type } from "@sinclair/typebox";
//#region src/shared/datasources/internal/contact-info/schema.ts
const contactInfoSchema = Type.Object({
email: Type.String({
format: "email",
title: "Email"
}),
phone: Type.Optional(Type.String({ title: "Phone" })),
companyName: Type.Optional(Type.String({ title: "Company Name" })),
firstName: Type.Optional(Type.String({ title: "First Name" })),
lastName: Type.Optional(Type.String({ title: "Last Name" })),
url: Type.Optional(Type.String({
format: "uri",
title: "Website URL"
})),
address: Type.Optional(Type.String({ title: "Address" })),
socialLinks: linksSchema
}, { description: "A generic schema representing a person or company contact information" });
//#endregion
export { contactInfoSchema };
//# sourceMappingURL=schema.js.map