@glitch-stack/types 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +36 -0
- package/dist/index.mjs +1 -0
- package/dist/json-schema.d.mts +2986 -0
- package/dist/json-schema.mjs +1 -0
- package/dist/schemas-BlaXUErN.mjs +1 -0
- package/dist/schemas-CmGKaL-o.d.mts +2194 -0
- package/dist/schemas.d.mts +2 -0
- package/dist/schemas.mjs +1 -0
- package/package.json +52 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{C as _0x1f256f,L as _0x1cade2,M as _0x3d9137,N as _0x5715f4,O as _0x5b82e4,P as _0x4346b9,W as _0x1dc860,Z as _0x1f3368,a as _0x2cd57d,b as _0x20b55a,c as _0x11e5d2,f as _0x43f615,g as _0x31e1ad,h as _0x19c83f,n as _0x247669,o as _0x20228d,s as _0x225669,u as _0x509149,v,w as _0x1d5644,z as _0x581c57}from'./schemas-BlaXUErN.mjs';import{z as _0x151932}from'zod';function S(){return _0x151932['toJSONSchema'](_0x19c83f);}function C(){return _0x151932['toJSONSchema'](_0x5b82e4);}function w(){return _0x151932['toJSONSchema'](_0x509149);}function T(){return _0x151932['toJSONSchema'](_0x1cade2);}function E(){return _0x151932['toJSONSchema'](_0x20b55a);}function D(){return _0x151932['toJSONSchema'](_0x225669);}function O(){return _0x151932['toJSONSchema'](v);}function k(){return _0x151932['toJSONSchema'](_0x3d9137);}function A(){return _0x151932['toJSONSchema'](_0x247669);}function j(){return _0x151932['toJSONSchema'](_0x11e5d2);}function M(){return _0x151932['toJSONSchema'](_0x5715f4);}function N(){return _0x151932['toJSONSchema'](_0x1f3368);}function P(){return _0x151932['toJSONSchema'](_0x581c57);}function F(){return _0x151932['toJSONSchema'](_0x31e1ad);}function I(){return _0x151932['toJSONSchema'](_0x1dc860);}function L(){return _0x151932['toJSONSchema'](_0x20228d);}function R(){return _0x151932['toJSONSchema'](_0x43f615);}function z(){return _0x151932['toJSONSchema'](_0x2cd57d);}function B(){return _0x151932['toJSONSchema'](_0x4346b9);}function V(){return _0x151932['toJSONSchema'](_0x1f256f);}function H(){return _0x151932['toJSONSchema'](_0x1d5644);}function U(){return{'database':S(),'orm':C(),'backend':w(),'runtime':T(),'frontend':E(),'addons':D(),'examples':O(),'packageManager':k(),'api':A(),'auth':j(),'payments':M(),'webDeploy':N(),'serverDeploy':P(),'directoryConflict':F(),'template':I(),'addonOptions':L(),'createInput':R(),'addInput':z(),'projectConfig':B(),'glitchStackConfig':V(),'initResult':H()};}export{A as getAPIJsonSchema,z as getAddInputJsonSchema,L as getAddonOptionsJsonSchema,D as getAddonsJsonSchema,U as getAllJsonSchemas,j as getAuthJsonSchema,w as getBackendJsonSchema,R as getCreateInputJsonSchema,S as getDatabaseJsonSchema,F as getDirectoryConflictJsonSchema,O as getExamplesJsonSchema,E as getFrontendJsonSchema,V as getGlitchStackConfigJsonSchema,H as getInitResultJsonSchema,C as getORMJsonSchema,k as getPackageManagerJsonSchema,M as getPaymentsJsonSchema,B as getProjectConfigJsonSchema,T as getRuntimeJsonSchema,P as getServerDeployJsonSchema,I as getTemplateJsonSchema,N as getWebDeployJsonSchema};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{z as _0x3f9803}from'zod';const t=_0x3f9803['enum'](['none','sqlite','postgres','mysql'])['describe']('Database\x20type'),n=_0x3f9803['enum'](['drizzle','prisma','none'])['describe']('ORM\x20type'),r=_0x3f9803['enum'](['hono','express','fastify','nest','self','none'])['describe']('Backend\x20framework'),i=_0x3f9803['enum'](['bun','node','workers','none'])['describe']('Runtime\x20environment'),a=_0x3f9803['enum'](['tanstack-start','next','angular','native-uniwind','astro','none'])['describe']('Frontend\x20framework'),o=_0x3f9803['enum'](['pwa','tauri','electrobun','starlight','biome','husky','mcp','turborepo','fumadocs','ultracite','opentui','wxt','skills','none'])['describe']('Additional\x20addons'),s=_0x3f9803['array'](o),c=_0x3f9803['enum'](['todo','ai','none'])['describe']('Example\x20templates\x20to\x20include'),l=_0x3f9803['enum'](['npm','pnpm','bun'])['describe']('Package\x20manager'),u=_0x3f9803['enum'](['trpc','orpc','none'])['describe']('API\x20type'),d=_0x3f9803['enum'](['better-auth','clerk','none'])['describe']('Authentication\x20provider'),f=_0x3f9803['enum'](['polar','none'])['describe']('Payments\x20provider'),p=_0x3f9803['enum'](['cloudflare','none'])['describe']('Web\x20deployment'),m=_0x3f9803['enum'](['cloudflare','none'])['describe']('Server\x20deployment'),h=_0x3f9803['enum'](['merge','overwrite','increment','error'])['describe']('How\x20to\x20handle\x20existing\x20directory\x20conflicts'),g=_0x3f9803['enum'](['t3','uniwind','none'])['describe']('Predefined\x20project\x20template'),_=_0x3f9803['enum'](['vanilla','vue','react'])['describe']('WXT\x20template'),v=_0x3f9803['enum'](['core','react'])['describe']('OpenTUI\x20template'),y=_0x3f9803['enum'](['next-mdx','next-mdx-static','waku','tanstack-start','tanstack-start-spa'])['describe']('Fumadocs\x20template'),b=_0x3f9803['enum'](['project','global'])['describe']('Installation\x20scope'),x=_0x3f9803['enum'](['glitch-stack','context7','cloudflare-docs','shadcn','next-devtools','astro-docs','planetscale','neon','supabase','better-auth','clerk','expo','polar'])['describe']('MCP\x20server\x20to\x20install'),S=_0x3f9803['enum'](['antigravity','cline','cline-cli','cursor','claude-code','codex','opencode','gemini-cli','github-copilot-cli','mcporter','vscode','zed','claude-desktop','goose'])['describe']('Agent\x20target\x20for\x20MCP\x20installation'),C=_0x3f9803['enum'](['vercel-labs/agent-skills','vercel/ai','vercel/turborepo','yusukebe/hono-skill','vercel-labs/next-skills','heroui-inc/heroui','shadcn/ui','better-auth/skills','clerk/skills','neondatabase/agent-skills','supabase/agent-skills','planetscale/database-skills','expo/skills','prisma/skills','msmps/opentui-skill','haydenbleasel/ultracite'])['describe']('Skill\x20source\x20repository'),w=_0x3f9803['enum'](['cursor','claude-code','cline','github-copilot','codex','opencode','windsurf','goose','roo','kilo','gemini-cli','antigravity','openhands','trae','amp','pi','qoder','qwen-code','kiro-cli','droid','command-code','clawdbot','zencoder','neovate','mcpjam'])['describe']('Agent\x20target\x20for\x20skill\x20installation'),T=_0x3f9803['strictObject']({'source':C['describe']('Skill\x20source\x20to\x20install\x20from'),'skills':_0x3f9803['array'](_0x3f9803['string']())['describe']('Curated\x20skill\x20names\x20to\x20install\x20from\x20this\x20source')}),E=_0x3f9803['enum'](['biome','eslint'])['describe']('Ultracite\x20linter'),D=_0x3f9803['enum'](['vscode','cursor','windsurf','antigravity','kiro','trae','void','zed'])['describe']('Ultracite\x20editor\x20integration'),O=_0x3f9803['enum'](['claude','codex','jules','copilot','cline','amp','aider','firebase-studio','open-hands','gemini','junie','augmentcode','kilo-code','goose','roo-code','warp','droid','opencode','crush','qwen','amazon-q-cli','firebender','cursor-cli','mistral-vibe','vercel'])['describe']('Ultracite\x20agent\x20integration'),k=_0x3f9803['enum'](['cursor','windsurf','claude'])['describe']('Ultracite\x20hook\x20integration'),A=_0x3f9803['strictObject']({'wxt':_0x3f9803['strictObject']({'template':_,'devPort':_0x3f9803['number']()['int']()['min'](0x1)['max'](0xffff)['optional']()['describe']('WXT\x20dev\x20server\x20port')})['optional']()['describe']('Options\x20for\x20the\x20WXT\x20addon'),'fumadocs':_0x3f9803['strictObject']({'template':y,'devPort':_0x3f9803['number']()['int']()['min'](0x1)['max'](0xffff)['optional']()['describe']('Fumadocs\x20dev\x20server\x20port')})['optional']()['describe']('Options\x20for\x20the\x20Fumadocs\x20addon'),'opentui':_0x3f9803['strictObject']({'template':v})['optional']()['describe']('Options\x20for\x20the\x20OpenTUI\x20addon'),'mcp':_0x3f9803['strictObject']({'scope':b['optional'](),'servers':_0x3f9803['array'](x)['optional']()['describe']('MCP\x20servers\x20to\x20install'),'agents':_0x3f9803['array'](S)['optional']()['describe']('Agents\x20to\x20wire\x20MCP\x20servers\x20into')})['optional']()['describe']('Options\x20for\x20the\x20MCP\x20addon'),'skills':_0x3f9803['strictObject']({'scope':b['optional'](),'agents':_0x3f9803['array'](w)['optional']()['describe']('Agents\x20to\x20install\x20skills\x20into'),'selections':_0x3f9803['array'](T)['optional']()['describe']('Skills\x20grouped\x20by\x20source')})['optional']()['describe']('Options\x20for\x20the\x20Skills\x20addon'),'ultracite':_0x3f9803['strictObject']({'linter':E['optional'](),'editors':_0x3f9803['array'](D)['optional'](),'agents':_0x3f9803['array'](O)['optional'](),'hooks':_0x3f9803['array'](k)['optional']()})['optional']()['describe']('Options\x20for\x20the\x20Ultracite\x20addon')})['describe']('Addon-specific\x20configuration'),j=_0x3f9803['string']()['min'](0x1,'Project\x20name\x20cannot\x20be\x20empty')['max'](0xff,'Project\x20name\x20must\x20be\x20less\x20than\x20255\x20characters')['refine'](_0x95e74c=>_0x95e74c==='.'||!_0x95e74c['startsWith']('.'),'Project\x20name\x20cannot\x20start\x20with\x20a\x20dot\x20(except\x20for\x20\x27.\x27)')['refine'](_0xe74343=>_0xe74343==='.'||!_0xe74343['startsWith']('-'),'Project\x20name\x20cannot\x20start\x20with\x20a\x20dash')['refine'](_0x1b37c9=>!['<','>',':','\x22','|','?','*']['some'](_0x25c00b=>_0x1b37c9['includes'](_0x25c00b)),'Project\x20name\x20contains\x20invalid\x20characters')['refine'](_0x472382=>_0x472382['toLowerCase']()!=='node_modules','Project\x20name\x20is\x20reserved')['describe']('Project\x20name\x20or\x20path'),M=_0x3f9803['object']({'projectName':_0x3f9803['string']()['optional'](),'template':g['optional'](),'yes':_0x3f9803['boolean']()['optional'](),'yolo':_0x3f9803['boolean']()['optional'](),'dryRun':_0x3f9803['boolean']()['optional'](),'verbose':_0x3f9803['boolean']()['optional'](),'addonOptions':A['optional'](),'database':t['optional'](),'orm':n['optional'](),'auth':d['optional'](),'payments':f['optional'](),'frontend':_0x3f9803['array'](a)['optional'](),'addons':s['optional'](),'examples':_0x3f9803['array'](c)['optional'](),'git':_0x3f9803['boolean']()['optional'](),'packageManager':l['optional'](),'install':_0x3f9803['boolean']()['optional'](),'backend':r['optional'](),'runtime':i['optional'](),'api':u['optional'](),'webDeploy':p['optional'](),'serverDeploy':m['optional'](),'directoryConflict':h['optional'](),'renderTitle':_0x3f9803['boolean']()['optional']()})['strict'](),N=_0x3f9803['object']({'addons':s['optional'](),'addonOptions':A['optional'](),'webDeploy':p['optional'](),'serverDeploy':m['optional'](),'projectDir':_0x3f9803['string']()['optional'](),'install':_0x3f9803['boolean']()['optional'](),'packageManager':l['optional'](),'dryRun':_0x3f9803['boolean']()['optional']()})['strict'](),P=M['safeExtend']({'projectDirectory':_0x3f9803['string']()['optional']()})['strict'](),F=_0x3f9803['object']({'projectName':_0x3f9803['string'](),'projectDir':_0x3f9803['string'](),'relativePath':_0x3f9803['string'](),'addonOptions':A['optional'](),'database':t,'orm':n,'backend':r,'runtime':i,'frontend':_0x3f9803['array'](a),'addons':s,'examples':_0x3f9803['array'](c),'auth':d,'payments':f,'git':_0x3f9803['boolean'](),'packageManager':l,'install':_0x3f9803['boolean'](),'api':u,'webDeploy':p,'serverDeploy':m}),I=_0x3f9803['object']({'version':_0x3f9803['string']()['describe']('CLI\x20version\x20used\x20to\x20create\x20this\x20project'),'createdAt':_0x3f9803['string']()['describe']('Timestamp\x20when\x20the\x20project\x20was\x20created'),'reproducibleCommand':_0x3f9803['string']()['optional']()['describe']('Command\x20to\x20reproduce\x20this\x20project\x20setup'),'addonOptions':A['optional'](),'database':t,'orm':n,'backend':r,'runtime':i,'frontend':_0x3f9803['array'](a),'addons':s,'examples':_0x3f9803['array'](c),'auth':d,'payments':f,'packageManager':l,'api':u,'webDeploy':p,'serverDeploy':m}),L=_0x3f9803['object']({'$schema':_0x3f9803['string']()['optional']()['describe']('JSON\x20Schema\x20reference\x20for\x20validation')})['extend'](I['shape'])['strict']()['meta']({'id':'https://r2.better-t-stack.dev/schema.json','title':'Glitch\x20Stack\x20Configuration','description':'Configuration\x20file\x20for\x20Glitch\x20Stack\x20projects'}),R=_0x3f9803['object']({'success':_0x3f9803['boolean'](),'projectConfig':F,'reproducibleCommand':_0x3f9803['string'](),'timeScaffolded':_0x3f9803['string'](),'elapsedTimeMs':_0x3f9803['number'](),'projectDirectory':_0x3f9803['string'](),'relativePath':_0x3f9803['string'](),'error':_0x3f9803['string']()['optional']()}),z=t['options'],B=n['options'],V=r['options'],H=i['options'],U=a['options'],W=o['options'],G=c['options'],K=l['options'],q=u['options'],J=d['options'],Y=f['options'],X=p['options'],Z=m['options'],Q=h['options'],$=g['options'];export{K as A,T as B,I as C,x as D,S as E,j as F,v as G,C as H,H as I,k as J,O as K,i as L,l as M,f as N,n as O,F as P,_ as Q,Z as R,L as S,b as T,$ as U,w as V,g as W,X,E as Y,p as Z,G as _,N as a,a as b,d as c,P as d,M as f,h as g,t as h,J as i,Y as j,B as k,V as l,Q as m,u as n,A as o,z as p,D as q,q as r,o as s,W as t,r as u,c as v,R as w,y as x,U as y,m as z};
|