UNPKG

@reliverse/rse

Version:

@reliverse/rse is your all-in-one companion for bootstrapping and improving any kind of projects (especially web apps built with frameworks like Next.js) — whether you're kicking off something new or upgrading an existing app. It is also a little AI-power

32 lines (31 loc) 1.36 kB
import { Type } from "@sinclair/typebox"; export const hardcodedSchema = Type.Object({ RelivatorTitle: Type.Literal( "Relivator template is the foundation of your eCommerce platform: Build More Efficient, Engaging, and Profitable Online Stores" ), RelivatorShort: Type.Literal("Relivator"), RelivatorLower: Type.Literal("relivator"), RelivatorDomain: Type.Literal("relivator.com"), DefaultAuthor: Type.Literal("blefnk"), DefaultEmail: Type.Literal("onboarding@resend.dev"), GeneralTemplate: Type.Literal("template") }); export const urlPatternsSchema = Type.Object({ githubUrl: Type.Function([Type.String(), Type.String()], Type.String()), vercelUrl: Type.Function([Type.String()], Type.String()), packageName: Type.Function([Type.String()], Type.String()) }); export const HardcodedStrings = { RelivatorTitle: "Relivator template is the foundation of your eCommerce platform: Build More Efficient, Engaging, and Profitable Online Stores", RelivatorShort: "Relivator", RelivatorLower: "relivator", RelivatorDomain: "relivator.com", DefaultAuthor: "blefnk", DefaultEmail: "onboarding@resend.dev", GeneralTemplate: "template" }; export const CommonPatterns = { githubUrl: (author, repo) => `https://github.com/${author}/${repo}`, vercelUrl: (project) => `${project}.vercel.app`, packageName: (name) => `@${name}/app` };