@storm-software/config 1.128.12 → 1.129.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/CHANGELOG.md +14 -0
- package/README.md +1 -1
- package/dist/chunk-5GTVE2BD.js +27 -0
- package/dist/chunk-FLV46URX.cjs +27 -0
- package/dist/define-config.d.cts +20 -19
- package/dist/define-config.d.ts +20 -19
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/schema.cjs +1 -1
- package/dist/schema.d.cts +15 -7
- package/dist/schema.d.ts +15 -7
- package/dist/schema.js +1 -1
- package/dist/types.d.cts +4 -2
- package/dist/types.d.ts +4 -2
- package/package.json +2 -2
- package/presets/storm-software.json +1 -0
- package/schemas/storm-workspace.schema.json +7 -0
- package/src/define-config.d.ts +1 -0
- package/src/schema.d.ts +8 -0
- package/src/types.d.ts +3 -1
- package/dist/chunk-ESPZFBRQ.cjs +0 -27
- package/dist/chunk-GT5YRCY4.js +0 -27
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Config
|
|
4
4
|
|
|
5
|
+
## [1.128.13](https://github.com/storm-software/storm-ops/releases/tag/config%401.128.13) (2025-09-06)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Update README markdown files
|
|
10
|
+
([b641c33df](https://github.com/storm-software/storm-ops/commit/b641c33df))
|
|
11
|
+
|
|
12
|
+
## [1.128.12](https://github.com/storm-software/storm-ops/releases/tag/config%401.128.12) (2025-08-28)
|
|
13
|
+
|
|
14
|
+
### Miscellaneous
|
|
15
|
+
|
|
16
|
+
- **monorepo:** Regenerate README markdown files
|
|
17
|
+
([b25aa8830](https://github.com/storm-software/storm-ops/commit/b25aa8830))
|
|
18
|
+
|
|
5
19
|
## [1.128.11](https://github.com/storm-software/storm-ops/releases/tag/config%401.128.11) (2025-08-28)
|
|
6
20
|
|
|
7
21
|
### Miscellaneous
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import {p,o}from'./chunk-TYDRIJER.js';import {a as a$1}from'./chunk-WOT6VMZA.js';function l(e,t,r){function o(u,p){var h;Object.defineProperty(u,"_zod",{value:u._zod??{},enumerable:false}),(h=u._zod).traits??(h.traits=new Set),u._zod.traits.add(e),t(u,p);for(let v in c.prototype)v in u||Object.defineProperty(u,v,{value:c.prototype[v].bind(u)});u._zod.constr=c,u._zod.def=p;}let n=r?.Parent??Object;class i extends n{}Object.defineProperty(i,"name",{value:e});function c(u){var p;let h=r?.Parent?new i:this;o(h,u),(p=h._zod).deferred??(p.deferred=[]);for(let v of h._zod.deferred)v();return h}return Object.defineProperty(c,"init",{value:o}),Object.defineProperty(c,Symbol.hasInstance,{value:u=>r?.Parent&&u instanceof r.Parent?true:u?._zod?.traits?.has(e)}),Object.defineProperty(c,"name",{value:e}),c}var L=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.");}},te={};function N(e){return te}var b={};a$1(b,{BIGINT_FORMAT_RANGES:()=>ot,Class:()=>Ze,NUMBER_FORMAT_RANGES:()=>rt,aborted:()=>K,allowsEval:()=>Te,assert:()=>eo,assertEqual:()=>Xr,assertIs:()=>Hr,assertNever:()=>Qr,assertNotEqual:()=>Yr,assignProp:()=>Pe,cached:()=>re,captureStackTrace:()=>oe,cleanEnum:()=>ho,cleanRegex:()=>W,clone:()=>E,createTransparentProxy:()=>co,defineLazy:()=>y,esc:()=>O,escapeRegex:()=>G,extend:()=>po,finalizeIssue:()=>R,floatSafeRemainder:()=>Qe,getElementAtPath:()=>ro,getEnumValues:()=>ke,getLengthableOrigin:()=>Ee,getParsedType:()=>so,getSizableOrigin:()=>nt,isObject:()=>V,isPlainObject:()=>ne,issue:()=>it,joinValues:()=>to,jsonStringifyReplacer:()=>ye,merge:()=>lo,normalizeParams:()=>D,nullish:()=>Se,numKeys:()=>io,omit:()=>ao,optionalKeys:()=>Ie,partial:()=>mo,pick:()=>uo,prefixIssues:()=>C,primitiveTypes:()=>et,promiseAllObject:()=>oo,propertyKeyTypes:()=>Me,randomString:()=>no,required:()=>fo,stringifyPrimitive:()=>tt,unwrapMessage:()=>B});function Xr(e){return e}function Yr(e){return e}function Hr(e){}function Qr(e){throw new Error}function eo(e){}function ke(e){let t=Object.values(e).filter(o=>typeof o=="number");return Object.entries(e).filter(([o,n])=>t.indexOf(+o)===-1).map(([o,n])=>n)}function to(e,t="|"){return e.map(r=>tt(r)).join(t)}function ye(e,t){return typeof t=="bigint"?t.toString():t}function re(e){return {get value(){{let r=e();return Object.defineProperty(this,"value",{value:r}),r}}}}function Se(e){return e==null}function W(e){let t=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}function Qe(e,t){let r=(e.toString().split(".")[1]||"").length,o=(t.toString().split(".")[1]||"").length,n=r>o?r:o,i=Number.parseInt(e.toFixed(n).replace(".","")),c=Number.parseInt(t.toFixed(n).replace(".",""));return i%c/10**n}function y(e,t,r){Object.defineProperty(e,t,{get(){{let n=r();return e[t]=n,n}},set(n){Object.defineProperty(e,t,{value:n});},configurable:true});}function Pe(e,t,r){Object.defineProperty(e,t,{value:r,writable:true,enumerable:true,configurable:true});}function ro(e,t){return t?t.reduce((r,o)=>r?.[o],e):e}function oo(e){let t=Object.keys(e),r=t.map(o=>e[o]);return Promise.all(r).then(o=>{let n={};for(let i=0;i<t.length;i++)n[t[i]]=o[i];return n})}function no(e=10){let t="abcdefghijklmnopqrstuvwxyz",r="";for(let o=0;o<e;o++)r+=t[Math.floor(Math.random()*t.length)];return r}function O(e){return JSON.stringify(e)}var oe=Error.captureStackTrace?Error.captureStackTrace:(...e)=>{};function V(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}var Te=re(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return false;try{let e=Function;return new e(""),!0}catch{return false}});function ne(e){if(V(e)===false)return false;let t=e.constructor;if(t===void 0)return true;let r=t.prototype;return !(V(r)===false||Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")===false)}function io(e){let t=0;for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&t++;return t}var so=e=>{let t=typeof e;switch(t){case "undefined":return "undefined";case "string":return "string";case "number":return Number.isNaN(e)?"nan":"number";case "boolean":return "boolean";case "function":return "function";case "bigint":return "bigint";case "symbol":return "symbol";case "object":return Array.isArray(e)?"array":e===null?"null":e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?"promise":typeof Map<"u"&&e instanceof Map?"map":typeof Set<"u"&&e instanceof Set?"set":typeof Date<"u"&&e instanceof Date?"date":typeof File<"u"&&e instanceof File?"file":"object";default:throw new Error(`Unknown data type: ${t}`)}},Me=new Set(["string","number","symbol"]),et=new Set(["string","number","bigint","boolean","symbol","undefined"]);function G(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function E(e,t,r){let o=new e._zod.constr(t??e._zod.def);return (!t||r?.parent)&&(o._zod.parent=e),o}function D(e){let t=e;if(!t)return {};if(typeof t=="string")return {error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message;}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function co(e){let t;return new Proxy({},{get(r,o,n){return t??(t=e()),Reflect.get(t,o,n)},set(r,o,n,i){return t??(t=e()),Reflect.set(t,o,n,i)},has(r,o){return t??(t=e()),Reflect.has(t,o)},deleteProperty(r,o){return t??(t=e()),Reflect.deleteProperty(t,o)},ownKeys(r){return t??(t=e()),Reflect.ownKeys(t)},getOwnPropertyDescriptor(r,o){return t??(t=e()),Reflect.getOwnPropertyDescriptor(t,o)},defineProperty(r,o,n){return t??(t=e()),Reflect.defineProperty(t,o,n)}})}function tt(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function Ie(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}var rt={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},ot={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function uo(e,t){let r={},o=e._zod.def;for(let n in t){if(!(n in o.shape))throw new Error(`Unrecognized key: "${n}"`);t[n]&&(r[n]=o.shape[n]);}return E(e,{...e._zod.def,shape:r,checks:[]})}function ao(e,t){let r={...e._zod.def.shape},o=e._zod.def;for(let n in t){if(!(n in o.shape))throw new Error(`Unrecognized key: "${n}"`);t[n]&&delete r[n];}return E(e,{...e._zod.def,shape:r,checks:[]})}function po(e,t){if(!ne(t))throw new Error("Invalid input to extend: expected a plain object");let r={...e._zod.def,get shape(){let o={...e._zod.def.shape,...t};return Pe(this,"shape",o),o},checks:[]};return E(e,r)}function lo(e,t){return E(e,{...e._zod.def,get shape(){let r={...e._zod.def.shape,...t._zod.def.shape};return Pe(this,"shape",r),r},catchall:t._zod.def.catchall,checks:[]})}function mo(e,t,r){let o=t._zod.def.shape,n={...o};if(r)for(let i in r){if(!(i in o))throw new Error(`Unrecognized key: "${i}"`);r[i]&&(n[i]=e?new e({type:"optional",innerType:o[i]}):o[i]);}else for(let i in o)n[i]=e?new e({type:"optional",innerType:o[i]}):o[i];return E(t,{...t._zod.def,shape:n,checks:[]})}function fo(e,t,r){let o=t._zod.def.shape,n={...o};if(r)for(let i in r){if(!(i in n))throw new Error(`Unrecognized key: "${i}"`);r[i]&&(n[i]=new e({type:"nonoptional",innerType:o[i]}));}else for(let i in o)n[i]=new e({type:"nonoptional",innerType:o[i]});return E(t,{...t._zod.def,shape:n,checks:[]})}function K(e,t=0){for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue!==true)return true;return false}function C(e,t){return t.map(r=>{var o;return (o=r).path??(o.path=[]),r.path.unshift(e),r})}function B(e){return typeof e=="string"?e:e?.message}function R(e,t,r){let o={...e,path:e.path??[]};if(!e.message){let n=B(e.inst?._zod.def?.error?.(e))??B(t?.error?.(e))??B(r.customError?.(e))??B(r.localeError?.(e))??"Invalid input";o.message=n;}return delete o.inst,delete o.continue,t?.reportInput||delete o.input,o}function nt(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function Ee(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function it(...e){let[t,r,o]=e;return typeof t=="string"?{message:t,code:"custom",input:r,inst:o}:{...t}}function ho(e){return Object.entries(e).filter(([t,r])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}var Ze=class{constructor(...t){}};var st=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:false}),Object.defineProperty(e,"issues",{value:t,enumerable:false}),Object.defineProperty(e,"message",{get(){return JSON.stringify(t,ye,2)},enumerable:true}),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:false});},ct=l("$ZodError",st),J=l("$ZodError",st,{Parent:Error});var _o=e=>(t,r,o,n)=>{let i=o?Object.assign(o,{async:false}):{async:false},c=t._zod.run({value:r,issues:[]},i);if(c instanceof Promise)throw new L;if(c.issues.length){let u=new(n?.Err??e)(c.issues.map(p=>R(p,i,N())));throw oe(u,n?.callee),u}return c.value},Ce=_o(J),zo=e=>async(t,r,o,n)=>{let i=o?Object.assign(o,{async:true}):{async:true},c=t._zod.run({value:r,issues:[]},i);if(c instanceof Promise&&(c=await c),c.issues.length){let u=new(n?.Err??e)(c.issues.map(p=>R(p,i,N())));throw oe(u,n?.callee),u}return c.value},Ae=zo(J),xo=e=>(t,r,o)=>{let n=o?{...o,async:false}:{async:false},i=t._zod.run({value:r,issues:[]},n);if(i instanceof Promise)throw new L;return i.issues.length?{success:false,error:new(e??ct)(i.issues.map(c=>R(c,n,N())))}:{success:true,data:i.value}},q=xo(J),vo=e=>async(t,r,o)=>{let n=o?Object.assign(o,{async:true}):{async:true},i=t._zod.run({value:r,issues:[]},n);return i instanceof Promise&&(i=await i),i.issues.length?{success:false,error:new e(i.issues.map(c=>R(c,n,N())))}:{success:true,data:i.value}},X=vo(J);var ut=/^([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+$/;var at=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)};var pt=/true|false/i;var Y=l("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[]);});var lt=l("$ZodCheckLengthEquals",(e,t)=>{var r;Y.init(e,t),(r=e._zod.def).when??(r.when=o=>{let n=o.value;return !Se(n)&&n.length!==void 0}),e._zod.onattach.push(o=>{let n=o._zod.bag;n.minimum=t.length,n.maximum=t.length,n.length=t.length;}),e._zod.check=o=>{let n=o.value,i=n.length;if(i===t.length)return;let c=Ee(n),u=i>t.length;o.issues.push({origin:c,...u?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:true,exact:true,input:o.value,inst:e,continue:!t.abort});};}),Re=l("$ZodCheckStringFormat",(e,t)=>{var r,o;Y.init(e,t),e._zod.onattach.push(n=>{let i=n._zod.bag;i.format=t.format,t.pattern&&(i.patterns??(i.patterns=new Set),i.patterns.add(t.pattern));}),t.pattern?(r=e._zod).check??(r.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort});}):(o=e._zod).check??(o.check=()=>{});}),dt=l("$ZodCheckRegex",(e,t)=>{Re.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort});};});var mt=l("$ZodCheckOverwrite",(e,t)=>{Y.init(e,t),e._zod.check=r=>{r.value=t.tx(r.value);};});var ie=class{constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t);}indented(t){this.indent+=1,t(this),this.indent-=1;}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}let o=t.split(`
|
|
2
|
+
`).filter(c=>c),n=Math.min(...o.map(c=>c.length-c.trimStart().length)),i=o.map(c=>c.slice(n)).map(c=>" ".repeat(this.indent*2)+c);for(let c of i)this.content.push(c);}compile(){let t=Function,r=this?.args,n=[...(this?.content??[""]).map(i=>` ${i}`)];return new t(...r,n.join(`
|
|
3
|
+
`))}};var ht={major:4,minor:0,patch:5};var k=l("$ZodType",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=ht;let o=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&o.unshift(e);for(let n of o)for(let i of n._zod.onattach)i(e);if(o.length===0)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse;});else {let n=(i,c,u)=>{let p=K(i),h;for(let v of c){if(v._zod.def.when){if(!v._zod.def.when(i))continue}else if(p)continue;let f=i.issues.length,_=v._zod.check(i);if(_ instanceof Promise&&u?.async===false)throw new L;if(h||_ instanceof Promise)h=(h??Promise.resolve()).then(async()=>{await _,i.issues.length!==f&&(p||(p=K(i,f)));});else {if(i.issues.length===f)continue;p||(p=K(i,f));}}return h?h.then(()=>i):i};e._zod.run=(i,c)=>{let u=e._zod.parse(i,c);if(u instanceof Promise){if(c.async===false)throw new L;return u.then(p=>n(p,o,c))}return n(u,o,c)};}e["~standard"]={validate:n=>{try{let i=q(e,n);return i.success?{value:i.data}:{issues:i.error?.issues}}catch{return X(e,n).then(c=>c.success?{value:c.data}:{issues:c.error?.issues})}},vendor:"zod",version:1};}),Le=l("$ZodString",(e,t)=>{k.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??at(e._zod.bag),e._zod.parse=(r,o)=>{if(t.coerce)try{r.value=String(r.value);}catch{}return typeof r.value=="string"||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:e}),r};}),je=l("$ZodStringFormat",(e,t)=>{Re.init(e,t),Le.init(e,t);});var vt=l("$ZodURL",(e,t)=>{je.init(e,t),e._zod.check=r=>{try{let o=r.value,n=new URL(o),i=n.href;t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(n.hostname)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:ut.source,input:r.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(n.protocol.endsWith(":")?n.protocol.slice(0,-1):n.protocol)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort})),!o.endsWith("/")&&i.endsWith("/")?r.value=i.slice(0,-1):r.value=i;return}catch{r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort});}};});var $t=l("$ZodBoolean",(e,t)=>{k.init(e,t),e._zod.pattern=pt,e._zod.parse=(r,o)=>{if(t.coerce)try{r.value=!!r.value;}catch{}let n=r.value;return typeof n=="boolean"||r.issues.push({expected:"boolean",code:"invalid_type",input:n,inst:e}),r};});var wt=l("$ZodAny",(e,t)=>{k.init(e,t),e._zod.parse=r=>r;});function gt(e,t,r){e.issues.length&&t.issues.push(...C(r,e.issues)),t.value[r]=e.value;}var bt=l("$ZodArray",(e,t)=>{k.init(e,t),e._zod.parse=(r,o)=>{let n=r.value;if(!Array.isArray(n))return r.issues.push({expected:"array",code:"invalid_type",input:n,inst:e}),r;r.value=Array(n.length);let i=[];for(let c=0;c<n.length;c++){let u=n[c],p=t.element._zod.run({value:u,issues:[]},o);p instanceof Promise?i.push(p.then(h=>gt(h,r,c))):gt(p,r,c);}return i.length?Promise.all(i).then(()=>r):r};});function se(e,t,r){e.issues.length&&t.issues.push(...C(r,e.issues)),t.value[r]=e.value;}function _t(e,t,r,o){e.issues.length?o[r]===void 0?r in o?t.value[r]=void 0:t.value[r]=e.value:t.issues.push(...C(r,e.issues)):e.value===void 0?r in o&&(t.value[r]=void 0):t.value[r]=e.value;}var Zt=l("$ZodObject",(e,t)=>{k.init(e,t);let r=re(()=>{let f=Object.keys(t.shape);for(let z of f)if(!(t.shape[z]instanceof k))throw new Error(`Invalid element at key "${z}": expected a Zod schema`);let _=Ie(t.shape);return {shape:t.shape,keys:f,keySet:new Set(f),numKeys:f.length,optionalKeys:new Set(_)}});y(e._zod,"propValues",()=>{let f=t.shape,_={};for(let z in f){let M=f[z]._zod;if(M.values){_[z]??(_[z]=new Set);for(let A of M.values)_[z].add(A);}}return _});let o=f=>{let _=new ie(["shape","payload","ctx"]),z=r.value,M=w=>{let x=O(w);return `shape[${x}]._zod.run({ value: input[${x}], issues: [] }, ctx)`};_.write("const input = payload.value;");let A=Object.create(null),we=0;for(let w of z.keys)A[w]=`key_${we++}`;_.write("const newResult = {}");for(let w of z.keys)if(z.optionalKeys.has(w)){let x=A[w];_.write(`const ${x} = ${M(w)};`);let $=O(w);_.write(`
|
|
4
|
+
if (${x}.issues.length) {
|
|
5
|
+
if (input[${$}] === undefined) {
|
|
6
|
+
if (${$} in input) {
|
|
7
|
+
newResult[${$}] = undefined;
|
|
8
|
+
}
|
|
9
|
+
} else {
|
|
10
|
+
payload.issues = payload.issues.concat(
|
|
11
|
+
${x}.issues.map((iss) => ({
|
|
12
|
+
...iss,
|
|
13
|
+
path: iss.path ? [${$}, ...iss.path] : [${$}],
|
|
14
|
+
}))
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
} else if (${x}.value === undefined) {
|
|
18
|
+
if (${$} in input) newResult[${$}] = undefined;
|
|
19
|
+
} else {
|
|
20
|
+
newResult[${$}] = ${x}.value;
|
|
21
|
+
}
|
|
22
|
+
`);}else {let x=A[w];_.write(`const ${x} = ${M(w)};`),_.write(`
|
|
23
|
+
if (${x}.issues.length) payload.issues = payload.issues.concat(${x}.issues.map(iss => ({
|
|
24
|
+
...iss,
|
|
25
|
+
path: iss.path ? [${O(w)}, ...iss.path] : [${O(w)}]
|
|
26
|
+
})));`),_.write(`newResult[${O(w)}] = ${x}.value`);}_.write("payload.value = newResult;"),_.write("return payload;");let Q=_.compile();return (w,x)=>Q(f,w,x)},n,i=V,c=!te.jitless,p=c&&Te.value,h=t.catchall,v;e._zod.parse=(f,_)=>{v??(v=r.value);let z=f.value;if(!i(z))return f.issues.push({expected:"object",code:"invalid_type",input:z,inst:e}),f;let M=[];if(c&&p&&_?.async===false&&_.jitless!==true)n||(n=o(t.shape)),f=n(f,_);else {f.value={};let x=v.shape;for(let $ of v.keys){let F=x[$],ee=F._zod.run({value:z[$],issues:[]},_),qe=F._zod.optin==="optional"&&F._zod.optout==="optional";ee instanceof Promise?M.push(ee.then(Xe=>qe?_t(Xe,f,$,z):se(Xe,f,$))):qe?_t(ee,f,$,z):se(ee,f,$);}}if(!h)return M.length?Promise.all(M).then(()=>f):f;let A=[],we=v.keySet,Q=h._zod,w=Q.def.type;for(let x of Object.keys(z)){if(we.has(x))continue;if(w==="never"){A.push(x);continue}let $=Q.run({value:z[x],issues:[]},_);$ instanceof Promise?M.push($.then(F=>se(F,f,x))):se($,f,x);}return A.length&&f.issues.push({code:"unrecognized_keys",keys:A,input:z,inst:e}),M.length?Promise.all(M).then(()=>f):f};});function zt(e,t,r,o){for(let n of e)if(n.issues.length===0)return t.value=n.value,t;return t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(n=>n.issues.map(i=>R(i,o,N())))}),t}var kt=l("$ZodUnion",(e,t)=>{k.init(e,t),y(e._zod,"optin",()=>t.options.some(r=>r._zod.optin==="optional")?"optional":void 0),y(e._zod,"optout",()=>t.options.some(r=>r._zod.optout==="optional")?"optional":void 0),y(e._zod,"values",()=>{if(t.options.every(r=>r._zod.values))return new Set(t.options.flatMap(r=>Array.from(r._zod.values)))}),y(e._zod,"pattern",()=>{if(t.options.every(r=>r._zod.pattern)){let r=t.options.map(o=>o._zod.pattern);return new RegExp(`^(${r.map(o=>W(o.source)).join("|")})$`)}}),e._zod.parse=(r,o)=>{let n=false,i=[];for(let c of t.options){let u=c._zod.run({value:r.value,issues:[]},o);if(u instanceof Promise)i.push(u),n=true;else {if(u.issues.length===0)return u;i.push(u);}}return n?Promise.all(i).then(c=>zt(c,r,e,o)):zt(i,r,e,o)};});var yt=l("$ZodRecord",(e,t)=>{k.init(e,t),e._zod.parse=(r,o)=>{let n=r.value;if(!ne(n))return r.issues.push({expected:"record",code:"invalid_type",input:n,inst:e}),r;let i=[];if(t.keyType._zod.values){let c=t.keyType._zod.values;r.value={};for(let p of c)if(typeof p=="string"||typeof p=="number"||typeof p=="symbol"){let h=t.valueType._zod.run({value:n[p],issues:[]},o);h instanceof Promise?i.push(h.then(v=>{v.issues.length&&r.issues.push(...C(p,v.issues)),r.value[p]=v.value;})):(h.issues.length&&r.issues.push(...C(p,h.issues)),r.value[p]=h.value);}let u;for(let p in n)c.has(p)||(u=u??[],u.push(p));u&&u.length>0&&r.issues.push({code:"unrecognized_keys",input:n,inst:e,keys:u});}else {r.value={};for(let c of Reflect.ownKeys(n)){if(c==="__proto__")continue;let u=t.keyType._zod.run({value:c,issues:[]},o);if(u instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(u.issues.length){r.issues.push({origin:"record",code:"invalid_key",issues:u.issues.map(h=>R(h,o,N())),input:c,path:[c],inst:e}),r.value[u.value]=u.value;continue}let p=t.valueType._zod.run({value:n[c],issues:[]},o);p instanceof Promise?i.push(p.then(h=>{h.issues.length&&r.issues.push(...C(c,h.issues)),r.value[u.value]=h.value;})):(p.issues.length&&r.issues.push(...C(c,p.issues)),r.value[u.value]=p.value);}}return i.length?Promise.all(i).then(()=>r):r};});var St=l("$ZodEnum",(e,t)=>{k.init(e,t);let r=ke(t.entries);e._zod.values=new Set(r),e._zod.pattern=new RegExp(`^(${r.filter(o=>Me.has(typeof o)).map(o=>typeof o=="string"?G(o):o.toString()).join("|")})$`),e._zod.parse=(o,n)=>{let i=o.value;return e._zod.values.has(i)||o.issues.push({code:"invalid_value",values:r,input:i,inst:e}),o};}),Pt=l("$ZodLiteral",(e,t)=>{k.init(e,t),e._zod.values=new Set(t.values),e._zod.pattern=new RegExp(`^(${t.values.map(r=>typeof r=="string"?G(r):r?r.toString():String(r)).join("|")})$`),e._zod.parse=(r,o)=>{let n=r.value;return e._zod.values.has(n)||r.issues.push({code:"invalid_value",values:t.values,input:n,inst:e}),r};});var Tt=l("$ZodOptional",(e,t)=>{k.init(e,t),e._zod.optin="optional",e._zod.optout="optional",y(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),y(e._zod,"pattern",()=>{let r=t.innerType._zod.pattern;return r?new RegExp(`^(${W(r.source)})?$`):void 0}),e._zod.parse=(r,o)=>t.innerType._zod.optin==="optional"?t.innerType._zod.run(r,o):r.value===void 0?r:t.innerType._zod.run(r,o);}),Mt=l("$ZodNullable",(e,t)=>{k.init(e,t),y(e._zod,"optin",()=>t.innerType._zod.optin),y(e._zod,"optout",()=>t.innerType._zod.optout),y(e._zod,"pattern",()=>{let r=t.innerType._zod.pattern;return r?new RegExp(`^(${W(r.source)}|null)$`):void 0}),y(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(r,o)=>r.value===null?r:t.innerType._zod.run(r,o);}),It=l("$ZodDefault",(e,t)=>{k.init(e,t),e._zod.optin="optional",y(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,o)=>{if(r.value===void 0)return r.value=t.defaultValue,r;let n=t.innerType._zod.run(r,o);return n instanceof Promise?n.then(i=>xt(i,t)):xt(n,t)};});function xt(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var Oe=class{constructor(){this._map=new Map,this._idmap=new Map;}add(t,...r){let o=r[0];if(this._map.set(t,o),o&&typeof o=="object"&&"id"in o){if(this._idmap.has(o.id))throw new Error(`ID ${o.id} already exists in the registry`);this._idmap.set(o.id,t);}return this}clear(){return this._map=new Map,this._idmap=new Map,this}remove(t){let r=this._map.get(t);return r&&typeof r=="object"&&"id"in r&&this._idmap.delete(r.id),this._map.delete(t),this}get(t){let r=t._zod.parent;if(r){let o={...this.get(r)??{}};return delete o.id,{...o,...this._map.get(t)}}return this._map.get(t)}has(t){return this._map.has(t)}};function De(){return new Oe}function Et(e,t){return new e({type:"string",...D(t)})}function Ct(e,t){return new e({type:"string",format:"url",check:"string_format",abort:false,...D(t)})}function At(e,t){return new e({type:"boolean",...D(t)})}function Nt(e){return new e({type:"any"})}function Ue(e,t){return new lt({check:"length_equals",...D(t),length:e})}function Fe(e,t){return new dt({check:"string_format",format:"regex",...D(t),pattern:e})}function Be(e){return new mt({check:"overwrite",tx:e})}function d(){return Be(e=>e.trim())}function S(){return Be(e=>e.toLowerCase())}var I=l("ZodMiniType",(e,t)=>{if(!e._zod)throw new Error("Uninitialized schema in ZodMiniType.");k.init(e,t),e.def=t,e.parse=(r,o)=>Ce(e,r,o,{callee:e.parse}),e.safeParse=(r,o)=>q(e,r,o),e.parseAsync=async(r,o)=>Ae(e,r,o,{callee:e.parseAsync}),e.safeParseAsync=async(r,o)=>X(e,r,o),e.check=(...r)=>e.clone({...t,checks:[...t.checks??[],...r.map(o=>typeof o=="function"?{_zod:{check:o,def:{check:"custom"},onattach:[]}}:o)]}),e.clone=(r,o)=>E(e,r,o),e.brand=()=>e,e.register=((r,o)=>(r.add(e,o),e));}),Lt=l("ZodMiniString",(e,t)=>{Le.init(e,t),I.init(e,t);});function a(e){return Et(Lt,e)}var So=l("ZodMiniStringFormat",(e,t)=>{je.init(e,t),Lt.init(e,t);});var Po=l("ZodMiniURL",(e,t)=>{vt.init(e,t),So.init(e,t);});function P(e){return Ct(Po,e)}var To=l("ZodMiniBoolean",(e,t)=>{$t.init(e,t),I.init(e,t);});function Ve(e){return At(To,e)}var Mo=l("ZodMiniAny",(e,t)=>{wt.init(e,t),I.init(e,t);});function jt(){return Nt(Mo)}var Io=l("ZodMiniArray",(e,t)=>{bt.init(e,t),I.init(e,t);});function We(e,t){return new Io({type:"array",element:e,...b.normalizeParams(t)})}var Eo=l("ZodMiniObject",(e,t)=>{Zt.init(e,t),I.init(e,t),b.defineLazy(e,"shape",()=>t.shape);});function T(e,t){let r={type:"object",get shape(){return b.assignProp(this,"shape",{...e}),this.shape},...b.normalizeParams(t)};return new Eo(r)}var Co=l("ZodMiniUnion",(e,t)=>{kt.init(e,t),I.init(e,t);});function j(e,t){return new Co({type:"union",options:e,...b.normalizeParams(t)})}var Ao=l("ZodMiniRecord",(e,t)=>{yt.init(e,t),I.init(e,t);});function Ge(e,t,r){return new Ao({type:"record",keyType:e,valueType:t,...b.normalizeParams(r)})}var No=l("ZodMiniEnum",(e,t)=>{St.init(e,t),I.init(e,t);});function H(e,t){let r=Array.isArray(e)?Object.fromEntries(e.map(o=>[o,o])):e;return new No({type:"enum",entries:r,...b.normalizeParams(t)})}var Ro=l("ZodMiniLiteral",(e,t)=>{Pt.init(e,t),I.init(e,t);});function Ot(e,t){return new Ro({type:"literal",values:Array.isArray(e)?e:[e],...b.normalizeParams(t)})}var Lo=l("ZodMiniOptional",(e,t)=>{Tt.init(e,t),I.init(e,t);});function m(e){return new Lo({type:"optional",innerType:e})}var jo=l("ZodMiniNullable",(e,t)=>{Mt.init(e,t),I.init(e,t);});function Dt(e){return new jo({type:"nullable",innerType:e})}var Oo=l("ZodMiniDefault",(e,t)=>{It.init(e,t),I.init(e,t);});function g(e,t){return new Oo({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():t}})}var s=De(),Z=a().check(Ue(7),S(),Fe(/^#([0-9a-f]{3}){1,2}$/i),d());s.add(Z,{description:"A base schema for describing the format of colors"});var ce=g(Z,"#151718");s.add(ce,{description:"The dark background color of the workspace"});var ue=g(Z,"#cbd5e1");s.add(ue,{description:"The light background color of the workspace"});var ae=g(Z,"#1fb2a6");s.add(ae,{description:"The primary brand specific color of the workspace"});var pe=m(Z);s.add(pe,{description:"The alternate brand specific color of the workspace"});var le=m(Z);s.add(le,{description:"The secondary brand specific color of the workspace"});var de=g(Z,"#3fa6ff");s.add(de,{description:"The color used to display hyperlink text"});var me=g(Z,"#818cf8");s.add(me,{description:"The second brand specific color of the workspace"});var fe=g(Z,"#45b27e");s.add(fe,{description:"The success color of the workspace"});var he=g(Z,"#38bdf8");s.add(he,{description:"The informational color of the workspace"});var ge=g(Z,"#f3d371");s.add(ge,{description:"The warning color of the workspace"});var _e=g(Z,"#d8314a");s.add(_e,{description:"The danger color of the workspace"});var ze=m(Z);s.add(ze,{description:"The fatal color of the workspace"});var xe=g(Z,"#4ade80");s.add(xe,{description:"The positive number color of the workspace"});var ve=g(Z,"#ef4444");s.add(ve,{description:"The negative number color of the workspace"});var $e=m(We(Z));s.add($e,{description:"The color stops for the base gradient color pattern used in the workspace"});var Fo=T({foreground:ue,background:ce,brand:ae,alternate:pe,accent:le,link:de,help:me,success:fe,info:he,warning:ge,danger:_e,fatal:ze,positive:xe,negative:ve,gradient:$e}),Bo=T({foreground:ce,background:ue,brand:ae,alternate:pe,accent:le,link:de,help:me,success:fe,info:he,warning:ge,danger:_e,fatal:ze,positive:xe,negative:ve,gradient:$e}),Vo=T({dark:Fo,light:Bo}),Wo=T({dark:ce,light:ue,brand:ae,alternate:pe,accent:le,link:de,help:me,success:fe,info:he,warning:ge,danger:_e,fatal:ze,positive:xe,negative:ve,gradient:$e}),U=m(P());s.add(U,{description:"A remote registry URL used to publish distributable packages"});var Ut=g(T({github:U,npm:U,cargo:U,cyclone:U,container:U}),{});s.add(Ut,{description:"A list of remote registry URLs used by Storm Software"});var Ke=j([Wo,Vo]);s.add(Ke,{description:"Colors used for various workspace elements"});var Ft=Ge(j([j([Ot("base"),a()]),a()]),Ke);s.add(Ft,{description:"Storm theme config values used for styling various package elements"});var Bt=m(j([a().check(d()),We(a().check(d()))]));s.add(Bt,{description:"The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration."});var Vt=a().check(d());s.add(Vt,{description:"The workspace bot user's name (this is the bot that will be used to perform various tasks)"});var Wt=a().check(d());s.add(Wt,{description:"The email of the workspace bot"});var Gt=T({name:Vt,email:Wt});s.add(Gt,{description:"The workspace's bot user's config used to automated various operations tasks"});var Kt=m(a().check(d(),P()));s.add(Kt,{description:"A URL to a banner image used to display the workspace's release"});var Jt=g(a().check(d()),p);s.add(Jt,{description:"The alt text for the workspace's release banner image"});var qt=T({url:Kt,alt:Jt});s.add(qt,{description:"The workspace's banner image used during the release process"});var Xt=m(a().check(d()));s.add(Xt,{description:"A header message appended to the start of the workspace's release notes"});var Yt=m(a().check(d()));s.add(Yt,{description:"A footer message appended to the end of the workspace's release notes"});var Ht=T({banner:j([qt,a().check(d(),P())]),header:Xt,footer:Yt});s.add(Ht,{description:"The workspace's release config used during the release process"});var Qt=m(a().check(d()));s.add(Qt,{description:"A Twitter/X account associated with the organization/project"});var er=m(a().check(d()));s.add(er,{description:"A Discord account associated with the organization/project"});var tr=m(a().check(d()));s.add(tr,{description:"A Telegram account associated with the organization/project"});var rr=m(a().check(d()));s.add(rr,{description:"A Slack account associated with the organization/project"});var or=m(a().check(d()));s.add(or,{description:"A Medium account associated with the organization/project"});var nr=m(a().check(d()));s.add(nr,{description:"A GitHub account associated with the organization/project"});var ir=T({twitter:Qt,discord:er,telegram:tr,slack:rr,medium:or,github:nr});s.add(ir,{description:"The workspace's account config used to store various social media links"});var sr=m(a().check(d()));s.add(sr,{description:"The directory used to store the environment's cached file data"});var cr=m(a().check(d()));s.add(cr,{description:"The directory used to store the environment's data files"});var ur=m(a().check(d()));s.add(ur,{description:"The directory used to store the environment's configuration files"});var ar=m(a().check(d()));s.add(ar,{description:"The directory used to store the environment's temp files"});var pr=m(a().check(d()));s.add(pr,{description:"The directory used to store the environment's log files"});var lr=g(a().check(d()),"dist");s.add(lr,{description:"The directory used to store the workspace's distributable files after a build (relative to the workspace root)"});var dr=T({cache:sr,data:cr,config:ur,temp:ar,log:pr,build:lr});s.add(dr,{description:"Various directories used by the workspace to store data, cache, and configuration files"});var mr=g(H(["minimal","monorepo"]),"monorepo");s.add(mr,{description:"The variant of the workspace. This can be used to enable or disable certain features or configurations."});var fr=g(a().check(d()),o);s.add(fr,{description:"The path to the workspace's error codes JSON file"});var hr=m(P());s.add(hr,{description:"A URL to a page that looks up the workspace's error messages given a specific error code"});var gr=T({codesFile:fr,url:hr});s.add(gr,{description:"The workspace's error config used when creating error details during a system error"});var _r=m(a().check(d(),S()));s.add(_r,{description:"The name of the organization"});var zr=m(a().check(d()));s.add(zr,{description:"A description of the organization"});var xr=m(P());s.add(xr,{description:"A URL to the organization's logo image"});var vr=m(P());s.add(vr,{description:"A URL to the organization's icon image"});var $r=m(P());s.add($r,{description:"A URL to a page that provides more information about the organization"});var wr=T({name:_r,description:zr,logo:xr,icon:vr,url:$r});s.add(wr,{description:"The workspace's organization details"});var br=g(a().check(d(),S()),"https://public.storm-cdn.com/schemas/storm-workspace.schema.json");s.add(br,{description:"The URL or file path to the JSON schema file that describes the Storm configuration file"});var Zr=a().check(d(),S());s.add(Zr,{description:"The name of the workspace/project/service/package/scope using this configuration"});var kr=a().check(d(),S());s.add(kr,{description:"The namespace of the workspace/project/service/package/scope using this configuration"});var yr=j([wr,a().check(d(),S())]);s.add(yr,{description:"The organization of the workspace. This can be a string or an object containing the organization's details"});var Sr=a().check(d(),S());s.add(Sr,{description:"The repo URL of the workspace (i.e. the GitHub repository URL)"});var Pr=g(a().check(d()),"Apache-2.0");s.add(Pr,{description:"The license type of the package"});var Tr=m(P());s.add(Tr,{description:"The homepage of the workspace"});var Mr=m(P());s.add(Mr,{description:"The documentation site for the workspace"});var Ir=m(P());s.add(Ir,{description:"The development portal site for the workspace"});var Er=m(P());s.add(Er,{description:"The licensing site for the workspace"});var Cr=m(P());s.add(Cr,{description:"The contact site for the workspace"});var Ar=m(P());s.add(Ar,{description:"The support site for the workspace. If not provided, this is defaulted to the `contact` config value"});var Nr=g(a().check(d(),S()),"main");s.add(Nr,{description:"The branch of the workspace"});var Rr=m(a().check(d(),S()));s.add(Rr,{description:"A tag specifying the version pre-release identifier"});var Lr=m(a().check(d(),S()));s.add(Lr,{description:"The owner of the package"});var jr=g(H(["development","staging","production"]).check(d(),S()),"production");s.add(jr,{description:"The current runtime environment mode for the package"});var Or=a().check(d(),S());s.add(Or,{description:"The root directory of the workspace"});var Dr=g(Ve(),false);s.add(Dr,{description:"Should all known types of workspace caching be skipped?"});var Ur=g(H(["npm","yarn","pnpm","bun"]),"npm");s.add(Ur,{description:"The JavaScript/TypeScript package manager used by the repository"});var Fr=g(a().check(d()),"America/New_York");s.add(Fr,{description:"The default timezone of the workspace"});var Br=g(a().check(d()),"en-US");s.add(Br,{description:"The default locale of the workspace"});var Vr=g(H(["silent","fatal","error","warn","success","info","debug","trace","all"]),"info");s.add(Vr,{description:"The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."});var Wr=g(Ve(),true);s.add(Wr,{description:"Should the logging of the current Storm Workspace configuration be skipped?"});var Gr=g(Dt(a().check(d())),null);s.add(Gr,{description:"The filepath of the Storm config. When this field is null, no config file was found in the current workspace."});var Je=g(Ge(a(),jt()),{});s.add(Je,{description:"Configuration of each used extension"});var Tc=T({$schema:br,extends:Bt,name:Zr,variant:mr,namespace:kr,organization:yr,repository:Sr,license:Pr,homepage:Tr,docs:Mr,portal:Ir,licensing:Er,contact:Cr,support:Ar,branch:Nr,preid:Rr,owner:Lr,bot:Gt,release:Ht,socials:ir,error:gr,mode:jr,workspaceRoot:Or,skipCache:Dr,directories:dr,packageManager:Ur,timezone:Fr,locale:Br,logLevel:Vr,skipConfigLogging:Wr,registry:Ut,configFile:Gr,colors:j([Ke,Ft]),extensions:Je});s.add(Je,{description:"Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo."});
|
|
27
|
+
export{$r as $,Jt as A,qt as B,Xt as C,Yt as D,Ht as E,Qt as F,er as G,tr as H,rr as I,or as J,nr as K,ir as L,sr as M,cr as N,ur as O,ar as P,pr as Q,lr as R,dr as S,mr as T,fr as U,hr as V,gr as W,_r as X,zr as Y,xr as Z,vr as _,s as a,wr as aa,ce as b,Pr as ba,ue as c,Tr as ca,ae as d,Mr as da,pe as e,Ir as ea,le as f,Er as fa,de as g,Cr as ga,me as h,Ar as ha,fe as i,Nr as ia,he as j,Rr as ja,ge as k,Lr as ka,_e as l,jr as la,ze as m,Or as ma,xe as n,Dr as na,ve as o,Ur as oa,$e as p,Fr as pa,Fo as q,Br as qa,Bo as r,Vr as ra,Vo as s,Wr as sa,Wo as t,Gr as ta,Ut as u,Je as ua,Ke as v,Tc as va,Ft as w,Bt as x,Gt as y,Kt as z};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
'use strict';var chunkUODLXUQT_cjs=require('./chunk-UODLXUQT.cjs'),chunk4VDLQK6F_cjs=require('./chunk-4VDLQK6F.cjs');function l(e,t,r){function o(u,p){var h;Object.defineProperty(u,"_zod",{value:u._zod??{},enumerable:false}),(h=u._zod).traits??(h.traits=new Set),u._zod.traits.add(e),t(u,p);for(let v in c.prototype)v in u||Object.defineProperty(u,v,{value:c.prototype[v].bind(u)});u._zod.constr=c,u._zod.def=p;}let n=r?.Parent??Object;class i extends n{}Object.defineProperty(i,"name",{value:e});function c(u){var p;let h=r?.Parent?new i:this;o(h,u),(p=h._zod).deferred??(p.deferred=[]);for(let v of h._zod.deferred)v();return h}return Object.defineProperty(c,"init",{value:o}),Object.defineProperty(c,Symbol.hasInstance,{value:u=>r?.Parent&&u instanceof r.Parent?true:u?._zod?.traits?.has(e)}),Object.defineProperty(c,"name",{value:e}),c}var j=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.");}},re={};function R(e){return re}var Z={};chunk4VDLQK6F_cjs.a(Z,{BIGINT_FORMAT_RANGES:()=>nt,Class:()=>ke,NUMBER_FORMAT_RANGES:()=>ot,aborted:()=>J,allowsEval:()=>Me,assert:()=>to,assertEqual:()=>Yr,assertIs:()=>Qr,assertNever:()=>eo,assertNotEqual:()=>Hr,assignProp:()=>Te,cached:()=>oe,captureStackTrace:()=>ne,cleanEnum:()=>go,cleanRegex:()=>G,clone:()=>C,createTransparentProxy:()=>uo,defineLazy:()=>S,esc:()=>D,escapeRegex:()=>K,extend:()=>lo,finalizeIssue:()=>L,floatSafeRemainder:()=>et,getElementAtPath:()=>oo,getEnumValues:()=>ye,getLengthableOrigin:()=>Ce,getParsedType:()=>co,getSizableOrigin:()=>it,isObject:()=>W,isPlainObject:()=>ie,issue:()=>st,joinValues:()=>ro,jsonStringifyReplacer:()=>Se,merge:()=>mo,normalizeParams:()=>U,nullish:()=>Pe,numKeys:()=>so,omit:()=>po,optionalKeys:()=>Ee,partial:()=>fo,pick:()=>ao,prefixIssues:()=>A,primitiveTypes:()=>tt,promiseAllObject:()=>no,propertyKeyTypes:()=>Ie,randomString:()=>io,required:()=>ho,stringifyPrimitive:()=>rt,unwrapMessage:()=>V});function Yr(e){return e}function Hr(e){return e}function Qr(e){}function eo(e){throw new Error}function to(e){}function ye(e){let t=Object.values(e).filter(o=>typeof o=="number");return Object.entries(e).filter(([o,n])=>t.indexOf(+o)===-1).map(([o,n])=>n)}function ro(e,t="|"){return e.map(r=>rt(r)).join(t)}function Se(e,t){return typeof t=="bigint"?t.toString():t}function oe(e){return {get value(){{let r=e();return Object.defineProperty(this,"value",{value:r}),r}}}}function Pe(e){return e==null}function G(e){let t=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}function et(e,t){let r=(e.toString().split(".")[1]||"").length,o=(t.toString().split(".")[1]||"").length,n=r>o?r:o,i=Number.parseInt(e.toFixed(n).replace(".","")),c=Number.parseInt(t.toFixed(n).replace(".",""));return i%c/10**n}function S(e,t,r){Object.defineProperty(e,t,{get(){{let n=r();return e[t]=n,n}},set(n){Object.defineProperty(e,t,{value:n});},configurable:true});}function Te(e,t,r){Object.defineProperty(e,t,{value:r,writable:true,enumerable:true,configurable:true});}function oo(e,t){return t?t.reduce((r,o)=>r?.[o],e):e}function no(e){let t=Object.keys(e),r=t.map(o=>e[o]);return Promise.all(r).then(o=>{let n={};for(let i=0;i<t.length;i++)n[t[i]]=o[i];return n})}function io(e=10){let t="abcdefghijklmnopqrstuvwxyz",r="";for(let o=0;o<e;o++)r+=t[Math.floor(Math.random()*t.length)];return r}function D(e){return JSON.stringify(e)}var ne=Error.captureStackTrace?Error.captureStackTrace:(...e)=>{};function W(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}var Me=oe(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return false;try{let e=Function;return new e(""),!0}catch{return false}});function ie(e){if(W(e)===false)return false;let t=e.constructor;if(t===void 0)return true;let r=t.prototype;return !(W(r)===false||Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")===false)}function so(e){let t=0;for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&t++;return t}var co=e=>{let t=typeof e;switch(t){case "undefined":return "undefined";case "string":return "string";case "number":return Number.isNaN(e)?"nan":"number";case "boolean":return "boolean";case "function":return "function";case "bigint":return "bigint";case "symbol":return "symbol";case "object":return Array.isArray(e)?"array":e===null?"null":e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?"promise":typeof Map<"u"&&e instanceof Map?"map":typeof Set<"u"&&e instanceof Set?"set":typeof Date<"u"&&e instanceof Date?"date":typeof File<"u"&&e instanceof File?"file":"object";default:throw new Error(`Unknown data type: ${t}`)}},Ie=new Set(["string","number","symbol"]),tt=new Set(["string","number","bigint","boolean","symbol","undefined"]);function K(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function C(e,t,r){let o=new e._zod.constr(t??e._zod.def);return (!t||r?.parent)&&(o._zod.parent=e),o}function U(e){let t=e;if(!t)return {};if(typeof t=="string")return {error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message;}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function uo(e){let t;return new Proxy({},{get(r,o,n){return t??(t=e()),Reflect.get(t,o,n)},set(r,o,n,i){return t??(t=e()),Reflect.set(t,o,n,i)},has(r,o){return t??(t=e()),Reflect.has(t,o)},deleteProperty(r,o){return t??(t=e()),Reflect.deleteProperty(t,o)},ownKeys(r){return t??(t=e()),Reflect.ownKeys(t)},getOwnPropertyDescriptor(r,o){return t??(t=e()),Reflect.getOwnPropertyDescriptor(t,o)},defineProperty(r,o,n){return t??(t=e()),Reflect.defineProperty(t,o,n)}})}function rt(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function Ee(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}var ot={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},nt={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function ao(e,t){let r={},o=e._zod.def;for(let n in t){if(!(n in o.shape))throw new Error(`Unrecognized key: "${n}"`);t[n]&&(r[n]=o.shape[n]);}return C(e,{...e._zod.def,shape:r,checks:[]})}function po(e,t){let r={...e._zod.def.shape},o=e._zod.def;for(let n in t){if(!(n in o.shape))throw new Error(`Unrecognized key: "${n}"`);t[n]&&delete r[n];}return C(e,{...e._zod.def,shape:r,checks:[]})}function lo(e,t){if(!ie(t))throw new Error("Invalid input to extend: expected a plain object");let r={...e._zod.def,get shape(){let o={...e._zod.def.shape,...t};return Te(this,"shape",o),o},checks:[]};return C(e,r)}function mo(e,t){return C(e,{...e._zod.def,get shape(){let r={...e._zod.def.shape,...t._zod.def.shape};return Te(this,"shape",r),r},catchall:t._zod.def.catchall,checks:[]})}function fo(e,t,r){let o=t._zod.def.shape,n={...o};if(r)for(let i in r){if(!(i in o))throw new Error(`Unrecognized key: "${i}"`);r[i]&&(n[i]=e?new e({type:"optional",innerType:o[i]}):o[i]);}else for(let i in o)n[i]=e?new e({type:"optional",innerType:o[i]}):o[i];return C(t,{...t._zod.def,shape:n,checks:[]})}function ho(e,t,r){let o=t._zod.def.shape,n={...o};if(r)for(let i in r){if(!(i in n))throw new Error(`Unrecognized key: "${i}"`);r[i]&&(n[i]=new e({type:"nonoptional",innerType:o[i]}));}else for(let i in o)n[i]=new e({type:"nonoptional",innerType:o[i]});return C(t,{...t._zod.def,shape:n,checks:[]})}function J(e,t=0){for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue!==true)return true;return false}function A(e,t){return t.map(r=>{var o;return (o=r).path??(o.path=[]),r.path.unshift(e),r})}function V(e){return typeof e=="string"?e:e?.message}function L(e,t,r){let o={...e,path:e.path??[]};if(!e.message){let n=V(e.inst?._zod.def?.error?.(e))??V(t?.error?.(e))??V(r.customError?.(e))??V(r.localeError?.(e))??"Invalid input";o.message=n;}return delete o.inst,delete o.continue,t?.reportInput||delete o.input,o}function it(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function Ce(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function st(...e){let[t,r,o]=e;return typeof t=="string"?{message:t,code:"custom",input:r,inst:o}:{...t}}function go(e){return Object.entries(e).filter(([t,r])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}var ke=class{constructor(...t){}};var ct=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:false}),Object.defineProperty(e,"issues",{value:t,enumerable:false}),Object.defineProperty(e,"message",{get(){return JSON.stringify(t,Se,2)},enumerable:true}),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:false});},ut=l("$ZodError",ct),q=l("$ZodError",ct,{Parent:Error});var zo=e=>(t,r,o,n)=>{let i=o?Object.assign(o,{async:false}):{async:false},c=t._zod.run({value:r,issues:[]},i);if(c instanceof Promise)throw new j;if(c.issues.length){let u=new(n?.Err??e)(c.issues.map(p=>L(p,i,R())));throw ne(u,n?.callee),u}return c.value},Ae=zo(q),xo=e=>async(t,r,o,n)=>{let i=o?Object.assign(o,{async:true}):{async:true},c=t._zod.run({value:r,issues:[]},i);if(c instanceof Promise&&(c=await c),c.issues.length){let u=new(n?.Err??e)(c.issues.map(p=>L(p,i,R())));throw ne(u,n?.callee),u}return c.value},Ne=xo(q),vo=e=>(t,r,o)=>{let n=o?{...o,async:false}:{async:false},i=t._zod.run({value:r,issues:[]},n);if(i instanceof Promise)throw new j;return i.issues.length?{success:false,error:new(e??ut)(i.issues.map(c=>L(c,n,R())))}:{success:true,data:i.value}},X=vo(q),$o=e=>async(t,r,o)=>{let n=o?Object.assign(o,{async:true}):{async:true},i=t._zod.run({value:r,issues:[]},n);return i instanceof Promise&&(i=await i),i.issues.length?{success:false,error:new e(i.issues.map(c=>L(c,n,R())))}:{success:true,data:i.value}},Y=$o(q);var at=/^([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+$/;var pt=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)};var lt=/true|false/i;var H=l("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[]);});var dt=l("$ZodCheckLengthEquals",(e,t)=>{var r;H.init(e,t),(r=e._zod.def).when??(r.when=o=>{let n=o.value;return !Pe(n)&&n.length!==void 0}),e._zod.onattach.push(o=>{let n=o._zod.bag;n.minimum=t.length,n.maximum=t.length,n.length=t.length;}),e._zod.check=o=>{let n=o.value,i=n.length;if(i===t.length)return;let c=Ce(n),u=i>t.length;o.issues.push({origin:c,...u?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:true,exact:true,input:o.value,inst:e,continue:!t.abort});};}),Le=l("$ZodCheckStringFormat",(e,t)=>{var r,o;H.init(e,t),e._zod.onattach.push(n=>{let i=n._zod.bag;i.format=t.format,t.pattern&&(i.patterns??(i.patterns=new Set),i.patterns.add(t.pattern));}),t.pattern?(r=e._zod).check??(r.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort});}):(o=e._zod).check??(o.check=()=>{});}),mt=l("$ZodCheckRegex",(e,t)=>{Le.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort});};});var ft=l("$ZodCheckOverwrite",(e,t)=>{H.init(e,t),e._zod.check=r=>{r.value=t.tx(r.value);};});var se=class{constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t);}indented(t){this.indent+=1,t(this),this.indent-=1;}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}let o=t.split(`
|
|
2
|
+
`).filter(c=>c),n=Math.min(...o.map(c=>c.length-c.trimStart().length)),i=o.map(c=>c.slice(n)).map(c=>" ".repeat(this.indent*2)+c);for(let c of i)this.content.push(c);}compile(){let t=Function,r=this?.args,n=[...(this?.content??[""]).map(i=>` ${i}`)];return new t(...r,n.join(`
|
|
3
|
+
`))}};var gt={major:4,minor:0,patch:5};var y=l("$ZodType",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=gt;let o=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&o.unshift(e);for(let n of o)for(let i of n._zod.onattach)i(e);if(o.length===0)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse;});else {let n=(i,c,u)=>{let p=J(i),h;for(let v of c){if(v._zod.def.when){if(!v._zod.def.when(i))continue}else if(p)continue;let f=i.issues.length,_=v._zod.check(i);if(_ instanceof Promise&&u?.async===false)throw new j;if(h||_ instanceof Promise)h=(h??Promise.resolve()).then(async()=>{await _,i.issues.length!==f&&(p||(p=J(i,f)));});else {if(i.issues.length===f)continue;p||(p=J(i,f));}}return h?h.then(()=>i):i};e._zod.run=(i,c)=>{let u=e._zod.parse(i,c);if(u instanceof Promise){if(c.async===false)throw new j;return u.then(p=>n(p,o,c))}return n(u,o,c)};}e["~standard"]={validate:n=>{try{let i=X(e,n);return i.success?{value:i.data}:{issues:i.error?.issues}}catch{return Y(e,n).then(c=>c.success?{value:c.data}:{issues:c.error?.issues})}},vendor:"zod",version:1};}),je=l("$ZodString",(e,t)=>{y.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??pt(e._zod.bag),e._zod.parse=(r,o)=>{if(t.coerce)try{r.value=String(r.value);}catch{}return typeof r.value=="string"||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:e}),r};}),Oe=l("$ZodStringFormat",(e,t)=>{Le.init(e,t),je.init(e,t);});var $t=l("$ZodURL",(e,t)=>{Oe.init(e,t),e._zod.check=r=>{try{let o=r.value,n=new URL(o),i=n.href;t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(n.hostname)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:at.source,input:r.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(n.protocol.endsWith(":")?n.protocol.slice(0,-1):n.protocol)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort})),!o.endsWith("/")&&i.endsWith("/")?r.value=i.slice(0,-1):r.value=i;return}catch{r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort});}};});var wt=l("$ZodBoolean",(e,t)=>{y.init(e,t),e._zod.pattern=lt,e._zod.parse=(r,o)=>{if(t.coerce)try{r.value=!!r.value;}catch{}let n=r.value;return typeof n=="boolean"||r.issues.push({expected:"boolean",code:"invalid_type",input:n,inst:e}),r};});var bt=l("$ZodAny",(e,t)=>{y.init(e,t),e._zod.parse=r=>r;});function _t(e,t,r){e.issues.length&&t.issues.push(...A(r,e.issues)),t.value[r]=e.value;}var Zt=l("$ZodArray",(e,t)=>{y.init(e,t),e._zod.parse=(r,o)=>{let n=r.value;if(!Array.isArray(n))return r.issues.push({expected:"array",code:"invalid_type",input:n,inst:e}),r;r.value=Array(n.length);let i=[];for(let c=0;c<n.length;c++){let u=n[c],p=t.element._zod.run({value:u,issues:[]},o);p instanceof Promise?i.push(p.then(h=>_t(h,r,c))):_t(p,r,c);}return i.length?Promise.all(i).then(()=>r):r};});function ce(e,t,r){e.issues.length&&t.issues.push(...A(r,e.issues)),t.value[r]=e.value;}function zt(e,t,r,o){e.issues.length?o[r]===void 0?r in o?t.value[r]=void 0:t.value[r]=e.value:t.issues.push(...A(r,e.issues)):e.value===void 0?r in o&&(t.value[r]=void 0):t.value[r]=e.value;}var kt=l("$ZodObject",(e,t)=>{y.init(e,t);let r=oe(()=>{let f=Object.keys(t.shape);for(let z of f)if(!(t.shape[z]instanceof y))throw new Error(`Invalid element at key "${z}": expected a Zod schema`);let _=Ee(t.shape);return {shape:t.shape,keys:f,keySet:new Set(f),numKeys:f.length,optionalKeys:new Set(_)}});S(e._zod,"propValues",()=>{let f=t.shape,_={};for(let z in f){let I=f[z]._zod;if(I.values){_[z]??(_[z]=new Set);for(let N of I.values)_[z].add(N);}}return _});let o=f=>{let _=new se(["shape","payload","ctx"]),z=r.value,I=w=>{let x=D(w);return `shape[${x}]._zod.run({ value: input[${x}], issues: [] }, ctx)`};_.write("const input = payload.value;");let N=Object.create(null),be=0;for(let w of z.keys)N[w]=`key_${be++}`;_.write("const newResult = {}");for(let w of z.keys)if(z.optionalKeys.has(w)){let x=N[w];_.write(`const ${x} = ${I(w)};`);let $=D(w);_.write(`
|
|
4
|
+
if (${x}.issues.length) {
|
|
5
|
+
if (input[${$}] === undefined) {
|
|
6
|
+
if (${$} in input) {
|
|
7
|
+
newResult[${$}] = undefined;
|
|
8
|
+
}
|
|
9
|
+
} else {
|
|
10
|
+
payload.issues = payload.issues.concat(
|
|
11
|
+
${x}.issues.map((iss) => ({
|
|
12
|
+
...iss,
|
|
13
|
+
path: iss.path ? [${$}, ...iss.path] : [${$}],
|
|
14
|
+
}))
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
} else if (${x}.value === undefined) {
|
|
18
|
+
if (${$} in input) newResult[${$}] = undefined;
|
|
19
|
+
} else {
|
|
20
|
+
newResult[${$}] = ${x}.value;
|
|
21
|
+
}
|
|
22
|
+
`);}else {let x=N[w];_.write(`const ${x} = ${I(w)};`),_.write(`
|
|
23
|
+
if (${x}.issues.length) payload.issues = payload.issues.concat(${x}.issues.map(iss => ({
|
|
24
|
+
...iss,
|
|
25
|
+
path: iss.path ? [${D(w)}, ...iss.path] : [${D(w)}]
|
|
26
|
+
})));`),_.write(`newResult[${D(w)}] = ${x}.value`);}_.write("payload.value = newResult;"),_.write("return payload;");let ee=_.compile();return (w,x)=>ee(f,w,x)},n,i=W,c=!re.jitless,p=c&&Me.value,h=t.catchall,v;e._zod.parse=(f,_)=>{v??(v=r.value);let z=f.value;if(!i(z))return f.issues.push({expected:"object",code:"invalid_type",input:z,inst:e}),f;let I=[];if(c&&p&&_?.async===false&&_.jitless!==true)n||(n=o(t.shape)),f=n(f,_);else {f.value={};let x=v.shape;for(let $ of v.keys){let B=x[$],te=B._zod.run({value:z[$],issues:[]},_),Xe=B._zod.optin==="optional"&&B._zod.optout==="optional";te instanceof Promise?I.push(te.then(Ye=>Xe?zt(Ye,f,$,z):ce(Ye,f,$))):Xe?zt(te,f,$,z):ce(te,f,$);}}if(!h)return I.length?Promise.all(I).then(()=>f):f;let N=[],be=v.keySet,ee=h._zod,w=ee.def.type;for(let x of Object.keys(z)){if(be.has(x))continue;if(w==="never"){N.push(x);continue}let $=ee.run({value:z[x],issues:[]},_);$ instanceof Promise?I.push($.then(B=>ce(B,f,x))):ce($,f,x);}return N.length&&f.issues.push({code:"unrecognized_keys",keys:N,input:z,inst:e}),I.length?Promise.all(I).then(()=>f):f};});function xt(e,t,r,o){for(let n of e)if(n.issues.length===0)return t.value=n.value,t;return t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(n=>n.issues.map(i=>L(i,o,R())))}),t}var yt=l("$ZodUnion",(e,t)=>{y.init(e,t),S(e._zod,"optin",()=>t.options.some(r=>r._zod.optin==="optional")?"optional":void 0),S(e._zod,"optout",()=>t.options.some(r=>r._zod.optout==="optional")?"optional":void 0),S(e._zod,"values",()=>{if(t.options.every(r=>r._zod.values))return new Set(t.options.flatMap(r=>Array.from(r._zod.values)))}),S(e._zod,"pattern",()=>{if(t.options.every(r=>r._zod.pattern)){let r=t.options.map(o=>o._zod.pattern);return new RegExp(`^(${r.map(o=>G(o.source)).join("|")})$`)}}),e._zod.parse=(r,o)=>{let n=false,i=[];for(let c of t.options){let u=c._zod.run({value:r.value,issues:[]},o);if(u instanceof Promise)i.push(u),n=true;else {if(u.issues.length===0)return u;i.push(u);}}return n?Promise.all(i).then(c=>xt(c,r,e,o)):xt(i,r,e,o)};});var St=l("$ZodRecord",(e,t)=>{y.init(e,t),e._zod.parse=(r,o)=>{let n=r.value;if(!ie(n))return r.issues.push({expected:"record",code:"invalid_type",input:n,inst:e}),r;let i=[];if(t.keyType._zod.values){let c=t.keyType._zod.values;r.value={};for(let p of c)if(typeof p=="string"||typeof p=="number"||typeof p=="symbol"){let h=t.valueType._zod.run({value:n[p],issues:[]},o);h instanceof Promise?i.push(h.then(v=>{v.issues.length&&r.issues.push(...A(p,v.issues)),r.value[p]=v.value;})):(h.issues.length&&r.issues.push(...A(p,h.issues)),r.value[p]=h.value);}let u;for(let p in n)c.has(p)||(u=u??[],u.push(p));u&&u.length>0&&r.issues.push({code:"unrecognized_keys",input:n,inst:e,keys:u});}else {r.value={};for(let c of Reflect.ownKeys(n)){if(c==="__proto__")continue;let u=t.keyType._zod.run({value:c,issues:[]},o);if(u instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(u.issues.length){r.issues.push({origin:"record",code:"invalid_key",issues:u.issues.map(h=>L(h,o,R())),input:c,path:[c],inst:e}),r.value[u.value]=u.value;continue}let p=t.valueType._zod.run({value:n[c],issues:[]},o);p instanceof Promise?i.push(p.then(h=>{h.issues.length&&r.issues.push(...A(c,h.issues)),r.value[u.value]=h.value;})):(p.issues.length&&r.issues.push(...A(c,p.issues)),r.value[u.value]=p.value);}}return i.length?Promise.all(i).then(()=>r):r};});var Pt=l("$ZodEnum",(e,t)=>{y.init(e,t);let r=ye(t.entries);e._zod.values=new Set(r),e._zod.pattern=new RegExp(`^(${r.filter(o=>Ie.has(typeof o)).map(o=>typeof o=="string"?K(o):o.toString()).join("|")})$`),e._zod.parse=(o,n)=>{let i=o.value;return e._zod.values.has(i)||o.issues.push({code:"invalid_value",values:r,input:i,inst:e}),o};}),Tt=l("$ZodLiteral",(e,t)=>{y.init(e,t),e._zod.values=new Set(t.values),e._zod.pattern=new RegExp(`^(${t.values.map(r=>typeof r=="string"?K(r):r?r.toString():String(r)).join("|")})$`),e._zod.parse=(r,o)=>{let n=r.value;return e._zod.values.has(n)||r.issues.push({code:"invalid_value",values:t.values,input:n,inst:e}),r};});var Mt=l("$ZodOptional",(e,t)=>{y.init(e,t),e._zod.optin="optional",e._zod.optout="optional",S(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),S(e._zod,"pattern",()=>{let r=t.innerType._zod.pattern;return r?new RegExp(`^(${G(r.source)})?$`):void 0}),e._zod.parse=(r,o)=>t.innerType._zod.optin==="optional"?t.innerType._zod.run(r,o):r.value===void 0?r:t.innerType._zod.run(r,o);}),It=l("$ZodNullable",(e,t)=>{y.init(e,t),S(e._zod,"optin",()=>t.innerType._zod.optin),S(e._zod,"optout",()=>t.innerType._zod.optout),S(e._zod,"pattern",()=>{let r=t.innerType._zod.pattern;return r?new RegExp(`^(${G(r.source)}|null)$`):void 0}),S(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(r,o)=>r.value===null?r:t.innerType._zod.run(r,o);}),Et=l("$ZodDefault",(e,t)=>{y.init(e,t),e._zod.optin="optional",S(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,o)=>{if(r.value===void 0)return r.value=t.defaultValue,r;let n=t.innerType._zod.run(r,o);return n instanceof Promise?n.then(i=>vt(i,t)):vt(n,t)};});function vt(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var De=class{constructor(){this._map=new Map,this._idmap=new Map;}add(t,...r){let o=r[0];if(this._map.set(t,o),o&&typeof o=="object"&&"id"in o){if(this._idmap.has(o.id))throw new Error(`ID ${o.id} already exists in the registry`);this._idmap.set(o.id,t);}return this}clear(){return this._map=new Map,this._idmap=new Map,this}remove(t){let r=this._map.get(t);return r&&typeof r=="object"&&"id"in r&&this._idmap.delete(r.id),this._map.delete(t),this}get(t){let r=t._zod.parent;if(r){let o={...this.get(r)??{}};return delete o.id,{...o,...this._map.get(t)}}return this._map.get(t)}has(t){return this._map.has(t)}};function Ue(){return new De}function Ct(e,t){return new e({type:"string",...U(t)})}function At(e,t){return new e({type:"string",format:"url",check:"string_format",abort:false,...U(t)})}function Nt(e,t){return new e({type:"boolean",...U(t)})}function Rt(e){return new e({type:"any"})}function Fe(e,t){return new dt({check:"length_equals",...U(t),length:e})}function Be(e,t){return new mt({check:"string_format",format:"regex",...U(t),pattern:e})}function Ve(e){return new ft({check:"overwrite",tx:e})}function d(){return Ve(e=>e.trim())}function P(){return Ve(e=>e.toLowerCase())}var E=l("ZodMiniType",(e,t)=>{if(!e._zod)throw new Error("Uninitialized schema in ZodMiniType.");y.init(e,t),e.def=t,e.parse=(r,o)=>Ae(e,r,o,{callee:e.parse}),e.safeParse=(r,o)=>X(e,r,o),e.parseAsync=async(r,o)=>Ne(e,r,o,{callee:e.parseAsync}),e.safeParseAsync=async(r,o)=>Y(e,r,o),e.check=(...r)=>e.clone({...t,checks:[...t.checks??[],...r.map(o=>typeof o=="function"?{_zod:{check:o,def:{check:"custom"},onattach:[]}}:o)]}),e.clone=(r,o)=>C(e,r,o),e.brand=()=>e,e.register=((r,o)=>(r.add(e,o),e));}),jt=l("ZodMiniString",(e,t)=>{je.init(e,t),E.init(e,t);});function a(e){return Ct(jt,e)}var Po=l("ZodMiniStringFormat",(e,t)=>{Oe.init(e,t),jt.init(e,t);});var To=l("ZodMiniURL",(e,t)=>{$t.init(e,t),Po.init(e,t);});function T(e){return At(To,e)}var Mo=l("ZodMiniBoolean",(e,t)=>{wt.init(e,t),E.init(e,t);});function We(e){return Nt(Mo,e)}var Io=l("ZodMiniAny",(e,t)=>{bt.init(e,t),E.init(e,t);});function Ot(){return Rt(Io)}var Eo=l("ZodMiniArray",(e,t)=>{Zt.init(e,t),E.init(e,t);});function Ge(e,t){return new Eo({type:"array",element:e,...Z.normalizeParams(t)})}var Co=l("ZodMiniObject",(e,t)=>{kt.init(e,t),E.init(e,t),Z.defineLazy(e,"shape",()=>t.shape);});function M(e,t){let r={type:"object",get shape(){return Z.assignProp(this,"shape",{...e}),this.shape},...Z.normalizeParams(t)};return new Co(r)}var Ao=l("ZodMiniUnion",(e,t)=>{yt.init(e,t),E.init(e,t);});function O(e,t){return new Ao({type:"union",options:e,...Z.normalizeParams(t)})}var No=l("ZodMiniRecord",(e,t)=>{St.init(e,t),E.init(e,t);});function Ke(e,t,r){return new No({type:"record",keyType:e,valueType:t,...Z.normalizeParams(r)})}var Ro=l("ZodMiniEnum",(e,t)=>{Pt.init(e,t),E.init(e,t);});function Q(e,t){let r=Array.isArray(e)?Object.fromEntries(e.map(o=>[o,o])):e;return new Ro({type:"enum",entries:r,...Z.normalizeParams(t)})}var Lo=l("ZodMiniLiteral",(e,t)=>{Tt.init(e,t),E.init(e,t);});function Dt(e,t){return new Lo({type:"literal",values:Array.isArray(e)?e:[e],...Z.normalizeParams(t)})}var jo=l("ZodMiniOptional",(e,t)=>{Mt.init(e,t),E.init(e,t);});function m(e){return new jo({type:"optional",innerType:e})}var Oo=l("ZodMiniNullable",(e,t)=>{It.init(e,t),E.init(e,t);});function Ut(e){return new Oo({type:"nullable",innerType:e})}var Do=l("ZodMiniDefault",(e,t)=>{Et.init(e,t),E.init(e,t);});function g(e,t){return new Do({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():t}})}var s=Ue(),k=a().check(Fe(7),P(),Be(/^#([0-9a-f]{3}){1,2}$/i),d());s.add(k,{description:"A base schema for describing the format of colors"});var ue=g(k,"#151718");s.add(ue,{description:"The dark background color of the workspace"});var ae=g(k,"#cbd5e1");s.add(ae,{description:"The light background color of the workspace"});var pe=g(k,"#1fb2a6");s.add(pe,{description:"The primary brand specific color of the workspace"});var le=m(k);s.add(le,{description:"The alternate brand specific color of the workspace"});var de=m(k);s.add(de,{description:"The secondary brand specific color of the workspace"});var me=g(k,"#3fa6ff");s.add(me,{description:"The color used to display hyperlink text"});var fe=g(k,"#818cf8");s.add(fe,{description:"The second brand specific color of the workspace"});var he=g(k,"#45b27e");s.add(he,{description:"The success color of the workspace"});var ge=g(k,"#38bdf8");s.add(ge,{description:"The informational color of the workspace"});var _e=g(k,"#f3d371");s.add(_e,{description:"The warning color of the workspace"});var ze=g(k,"#d8314a");s.add(ze,{description:"The danger color of the workspace"});var xe=m(k);s.add(xe,{description:"The fatal color of the workspace"});var ve=g(k,"#4ade80");s.add(ve,{description:"The positive number color of the workspace"});var $e=g(k,"#ef4444");s.add($e,{description:"The negative number color of the workspace"});var we=m(Ge(k));s.add(we,{description:"The color stops for the base gradient color pattern used in the workspace"});var Bo=M({foreground:ae,background:ue,brand:pe,alternate:le,accent:de,link:me,help:fe,success:he,info:ge,warning:_e,danger:ze,fatal:xe,positive:ve,negative:$e,gradient:we}),Vo=M({foreground:ue,background:ae,brand:pe,alternate:le,accent:de,link:me,help:fe,success:he,info:ge,warning:_e,danger:ze,fatal:xe,positive:ve,negative:$e,gradient:we}),Wo=M({dark:Bo,light:Vo}),Go=M({dark:ue,light:ae,brand:pe,alternate:le,accent:de,link:me,help:fe,success:he,info:ge,warning:_e,danger:ze,fatal:xe,positive:ve,negative:$e,gradient:we}),F=m(T());s.add(F,{description:"A remote registry URL used to publish distributable packages"});var Ft=g(M({github:F,npm:F,cargo:F,cyclone:F,container:F}),{});s.add(Ft,{description:"A list of remote registry URLs used by Storm Software"});var Je=O([Go,Wo]);s.add(Je,{description:"Colors used for various workspace elements"});var Bt=Ke(O([O([Dt("base"),a()]),a()]),Je);s.add(Bt,{description:"Storm theme config values used for styling various package elements"});var Vt=m(O([a().check(d()),Ge(a().check(d()))]));s.add(Vt,{description:"The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration."});var Wt=a().check(d());s.add(Wt,{description:"The workspace bot user's name (this is the bot that will be used to perform various tasks)"});var Gt=a().check(d());s.add(Gt,{description:"The email of the workspace bot"});var Kt=M({name:Wt,email:Gt});s.add(Kt,{description:"The workspace's bot user's config used to automated various operations tasks"});var Jt=m(a().check(d(),T()));s.add(Jt,{description:"A URL to a banner image used to display the workspace's release"});var qt=g(a().check(d()),chunkUODLXUQT_cjs.p);s.add(qt,{description:"The alt text for the workspace's release banner image"});var Xt=M({url:Jt,alt:qt});s.add(Xt,{description:"The workspace's banner image used during the release process"});var Yt=m(a().check(d()));s.add(Yt,{description:"A header message appended to the start of the workspace's release notes"});var Ht=m(a().check(d()));s.add(Ht,{description:"A footer message appended to the end of the workspace's release notes"});var Qt=M({banner:O([Xt,a().check(d(),T())]),header:Yt,footer:Ht});s.add(Qt,{description:"The workspace's release config used during the release process"});var er=m(a().check(d()));s.add(er,{description:"A Twitter/X account associated with the organization/project"});var tr=m(a().check(d()));s.add(tr,{description:"A Discord account associated with the organization/project"});var rr=m(a().check(d()));s.add(rr,{description:"A Telegram account associated with the organization/project"});var or=m(a().check(d()));s.add(or,{description:"A Slack account associated with the organization/project"});var nr=m(a().check(d()));s.add(nr,{description:"A Medium account associated with the organization/project"});var ir=m(a().check(d()));s.add(ir,{description:"A GitHub account associated with the organization/project"});var sr=M({twitter:er,discord:tr,telegram:rr,slack:or,medium:nr,github:ir});s.add(sr,{description:"The workspace's account config used to store various social media links"});var cr=m(a().check(d()));s.add(cr,{description:"The directory used to store the environment's cached file data"});var ur=m(a().check(d()));s.add(ur,{description:"The directory used to store the environment's data files"});var ar=m(a().check(d()));s.add(ar,{description:"The directory used to store the environment's configuration files"});var pr=m(a().check(d()));s.add(pr,{description:"The directory used to store the environment's temp files"});var lr=m(a().check(d()));s.add(lr,{description:"The directory used to store the environment's log files"});var dr=g(a().check(d()),"dist");s.add(dr,{description:"The directory used to store the workspace's distributable files after a build (relative to the workspace root)"});var mr=M({cache:cr,data:ur,config:ar,temp:pr,log:lr,build:dr});s.add(mr,{description:"Various directories used by the workspace to store data, cache, and configuration files"});var fr=g(Q(["minimal","monorepo"]),"monorepo");s.add(fr,{description:"The variant of the workspace. This can be used to enable or disable certain features or configurations."});var hr=g(a().check(d()),chunkUODLXUQT_cjs.o);s.add(hr,{description:"The path to the workspace's error codes JSON file"});var gr=m(T());s.add(gr,{description:"A URL to a page that looks up the workspace's error messages given a specific error code"});var _r=M({codesFile:hr,url:gr});s.add(_r,{description:"The workspace's error config used when creating error details during a system error"});var zr=m(a().check(d(),P()));s.add(zr,{description:"The name of the organization"});var xr=m(a().check(d()));s.add(xr,{description:"A description of the organization"});var vr=m(T());s.add(vr,{description:"A URL to the organization's logo image"});var $r=m(T());s.add($r,{description:"A URL to the organization's icon image"});var wr=m(T());s.add(wr,{description:"A URL to a page that provides more information about the organization"});var br=M({name:zr,description:xr,logo:vr,icon:$r,url:wr});s.add(br,{description:"The workspace's organization details"});var Zr=g(a().check(d(),P()),"https://public.storm-cdn.com/schemas/storm-workspace.schema.json");s.add(Zr,{description:"The URL or file path to the JSON schema file that describes the Storm configuration file"});var kr=a().check(d(),P());s.add(kr,{description:"The name of the workspace/project/service/package/scope using this configuration"});var yr=a().check(d(),P());s.add(yr,{description:"The namespace of the workspace/project/service/package/scope using this configuration"});var Sr=O([br,a().check(d(),P())]);s.add(Sr,{description:"The organization of the workspace. This can be a string or an object containing the organization's details"});var Pr=a().check(d(),P());s.add(Pr,{description:"The repo URL of the workspace (i.e. the GitHub repository URL)"});var Tr=g(a().check(d()),"Apache-2.0");s.add(Tr,{description:"The license type of the package"});var Mr=m(T());s.add(Mr,{description:"The homepage of the workspace"});var Ir=m(T());s.add(Ir,{description:"The documentation site for the workspace"});var Er=m(T());s.add(Er,{description:"The development portal site for the workspace"});var Cr=m(T());s.add(Cr,{description:"The licensing site for the workspace"});var Ar=m(T());s.add(Ar,{description:"The contact site for the workspace"});var Nr=m(T());s.add(Nr,{description:"The support site for the workspace. If not provided, this is defaulted to the `contact` config value"});var Rr=g(a().check(d(),P()),"main");s.add(Rr,{description:"The branch of the workspace"});var Lr=m(a().check(d(),P()));s.add(Lr,{description:"A tag specifying the version pre-release identifier"});var jr=m(a().check(d(),P()));s.add(jr,{description:"The owner of the package"});var Or=g(Q(["development","staging","production"]).check(d(),P()),"production");s.add(Or,{description:"The current runtime environment mode for the package"});var Dr=a().check(d(),P());s.add(Dr,{description:"The root directory of the workspace"});var Ur=g(We(),false);s.add(Ur,{description:"Should all known types of workspace caching be skipped?"});var Fr=g(Q(["npm","yarn","pnpm","bun"]),"npm");s.add(Fr,{description:"The JavaScript/TypeScript package manager used by the repository"});var Br=g(a().check(d()),"America/New_York");s.add(Br,{description:"The default timezone of the workspace"});var Vr=g(a().check(d()),"en-US");s.add(Vr,{description:"The default locale of the workspace"});var Wr=g(Q(["silent","fatal","error","warn","success","info","debug","trace","all"]),"info");s.add(Wr,{description:"The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."});var Gr=g(We(),true);s.add(Gr,{description:"Should the logging of the current Storm Workspace configuration be skipped?"});var Kr=g(Ut(a().check(d())),null);s.add(Kr,{description:"The filepath of the Storm config. When this field is null, no config file was found in the current workspace."});var qe=g(Ke(a(),Ot()),{});s.add(qe,{description:"Configuration of each used extension"});var Gc=M({$schema:Zr,extends:Vt,name:kr,variant:fr,namespace:yr,organization:Sr,repository:Pr,license:Tr,homepage:Mr,docs:Ir,portal:Er,licensing:Cr,contact:Ar,support:Nr,branch:Rr,preid:Lr,owner:jr,bot:Kt,release:Qt,socials:sr,error:_r,mode:Or,workspaceRoot:Dr,skipCache:Ur,directories:mr,packageManager:Fr,timezone:Br,locale:Vr,logLevel:Wr,skipConfigLogging:Gr,registry:Ft,configFile:Kr,colors:O([Je,Bt]),extensions:qe});s.add(qe,{description:"Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo."});
|
|
27
|
+
exports.$=wr;exports.A=qt;exports.B=Xt;exports.C=Yt;exports.D=Ht;exports.E=Qt;exports.F=er;exports.G=tr;exports.H=rr;exports.I=or;exports.J=nr;exports.K=ir;exports.L=sr;exports.M=cr;exports.N=ur;exports.O=ar;exports.P=pr;exports.Q=lr;exports.R=dr;exports.S=mr;exports.T=fr;exports.U=hr;exports.V=gr;exports.W=_r;exports.X=zr;exports.Y=xr;exports.Z=vr;exports._=$r;exports.a=s;exports.aa=br;exports.b=ue;exports.ba=Tr;exports.c=ae;exports.ca=Mr;exports.d=pe;exports.da=Ir;exports.e=le;exports.ea=Er;exports.f=de;exports.fa=Cr;exports.g=me;exports.ga=Ar;exports.h=fe;exports.ha=Nr;exports.i=he;exports.ia=Rr;exports.j=ge;exports.ja=Lr;exports.k=_e;exports.ka=jr;exports.l=ze;exports.la=Or;exports.m=xe;exports.ma=Dr;exports.n=ve;exports.na=Ur;exports.o=$e;exports.oa=Fr;exports.p=we;exports.pa=Br;exports.q=Bo;exports.qa=Vr;exports.r=Vo;exports.ra=Wr;exports.s=Wo;exports.sa=Gr;exports.t=Go;exports.ta=Kr;exports.u=Ft;exports.ua=qe;exports.v=Je;exports.va=Gc;exports.w=Bt;exports.x=Vt;exports.y=Kt;exports.z=Jt;
|
package/dist/define-config.d.cts
CHANGED
|
@@ -54,6 +54,22 @@ declare const defineConfig: (input: StormWorkspaceConfigInput) => {
|
|
|
54
54
|
build?: string | undefined;
|
|
55
55
|
};
|
|
56
56
|
colors: {
|
|
57
|
+
dark?: string | undefined;
|
|
58
|
+
light?: string | undefined;
|
|
59
|
+
brand?: string | undefined;
|
|
60
|
+
alternate?: string | undefined;
|
|
61
|
+
accent?: string | undefined;
|
|
62
|
+
link?: string | undefined;
|
|
63
|
+
help?: string | undefined;
|
|
64
|
+
success?: string | undefined;
|
|
65
|
+
info?: string | undefined;
|
|
66
|
+
warning?: string | undefined;
|
|
67
|
+
danger?: string | undefined;
|
|
68
|
+
fatal?: string | undefined;
|
|
69
|
+
positive?: string | undefined;
|
|
70
|
+
negative?: string | undefined;
|
|
71
|
+
gradient?: string[] | undefined;
|
|
72
|
+
} | {
|
|
57
73
|
dark: {
|
|
58
74
|
foreground?: string | undefined;
|
|
59
75
|
background?: string | undefined;
|
|
@@ -88,7 +104,7 @@ declare const defineConfig: (input: StormWorkspaceConfigInput) => {
|
|
|
88
104
|
negative?: string | undefined;
|
|
89
105
|
gradient?: string[] | undefined;
|
|
90
106
|
};
|
|
91
|
-
} | {
|
|
107
|
+
} | Record<string, {
|
|
92
108
|
dark?: string | undefined;
|
|
93
109
|
light?: string | undefined;
|
|
94
110
|
brand?: string | undefined;
|
|
@@ -104,7 +120,7 @@ declare const defineConfig: (input: StormWorkspaceConfigInput) => {
|
|
|
104
120
|
positive?: string | undefined;
|
|
105
121
|
negative?: string | undefined;
|
|
106
122
|
gradient?: string[] | undefined;
|
|
107
|
-
} |
|
|
123
|
+
} | {
|
|
108
124
|
dark: {
|
|
109
125
|
foreground?: string | undefined;
|
|
110
126
|
background?: string | undefined;
|
|
@@ -139,25 +155,10 @@ declare const defineConfig: (input: StormWorkspaceConfigInput) => {
|
|
|
139
155
|
negative?: string | undefined;
|
|
140
156
|
gradient?: string[] | undefined;
|
|
141
157
|
};
|
|
142
|
-
} | {
|
|
143
|
-
dark?: string | undefined;
|
|
144
|
-
light?: string | undefined;
|
|
145
|
-
brand?: string | undefined;
|
|
146
|
-
alternate?: string | undefined;
|
|
147
|
-
accent?: string | undefined;
|
|
148
|
-
link?: string | undefined;
|
|
149
|
-
help?: string | undefined;
|
|
150
|
-
success?: string | undefined;
|
|
151
|
-
info?: string | undefined;
|
|
152
|
-
warning?: string | undefined;
|
|
153
|
-
danger?: string | undefined;
|
|
154
|
-
fatal?: string | undefined;
|
|
155
|
-
positive?: string | undefined;
|
|
156
|
-
negative?: string | undefined;
|
|
157
|
-
gradient?: string[] | undefined;
|
|
158
158
|
}>;
|
|
159
159
|
$schema?: string | undefined;
|
|
160
160
|
extends?: string | string[] | undefined;
|
|
161
|
+
variant?: "minimal" | "monorepo" | undefined;
|
|
161
162
|
license?: string | undefined;
|
|
162
163
|
homepage?: string | undefined;
|
|
163
164
|
docs?: string | undefined;
|
|
@@ -173,7 +174,7 @@ declare const defineConfig: (input: StormWorkspaceConfigInput) => {
|
|
|
173
174
|
packageManager?: "npm" | "yarn" | "pnpm" | "bun" | undefined;
|
|
174
175
|
timezone?: string | undefined;
|
|
175
176
|
locale?: string | undefined;
|
|
176
|
-
logLevel?: "
|
|
177
|
+
logLevel?: "error" | "success" | "silent" | "fatal" | "warn" | "info" | "debug" | "trace" | "all" | undefined;
|
|
177
178
|
skipConfigLogging?: boolean | undefined;
|
|
178
179
|
registry?: {
|
|
179
180
|
github?: string | undefined;
|
package/dist/define-config.d.ts
CHANGED
|
@@ -54,6 +54,22 @@ declare const defineConfig: (input: StormWorkspaceConfigInput) => {
|
|
|
54
54
|
build?: string | undefined;
|
|
55
55
|
};
|
|
56
56
|
colors: {
|
|
57
|
+
dark?: string | undefined;
|
|
58
|
+
light?: string | undefined;
|
|
59
|
+
brand?: string | undefined;
|
|
60
|
+
alternate?: string | undefined;
|
|
61
|
+
accent?: string | undefined;
|
|
62
|
+
link?: string | undefined;
|
|
63
|
+
help?: string | undefined;
|
|
64
|
+
success?: string | undefined;
|
|
65
|
+
info?: string | undefined;
|
|
66
|
+
warning?: string | undefined;
|
|
67
|
+
danger?: string | undefined;
|
|
68
|
+
fatal?: string | undefined;
|
|
69
|
+
positive?: string | undefined;
|
|
70
|
+
negative?: string | undefined;
|
|
71
|
+
gradient?: string[] | undefined;
|
|
72
|
+
} | {
|
|
57
73
|
dark: {
|
|
58
74
|
foreground?: string | undefined;
|
|
59
75
|
background?: string | undefined;
|
|
@@ -88,7 +104,7 @@ declare const defineConfig: (input: StormWorkspaceConfigInput) => {
|
|
|
88
104
|
negative?: string | undefined;
|
|
89
105
|
gradient?: string[] | undefined;
|
|
90
106
|
};
|
|
91
|
-
} | {
|
|
107
|
+
} | Record<string, {
|
|
92
108
|
dark?: string | undefined;
|
|
93
109
|
light?: string | undefined;
|
|
94
110
|
brand?: string | undefined;
|
|
@@ -104,7 +120,7 @@ declare const defineConfig: (input: StormWorkspaceConfigInput) => {
|
|
|
104
120
|
positive?: string | undefined;
|
|
105
121
|
negative?: string | undefined;
|
|
106
122
|
gradient?: string[] | undefined;
|
|
107
|
-
} |
|
|
123
|
+
} | {
|
|
108
124
|
dark: {
|
|
109
125
|
foreground?: string | undefined;
|
|
110
126
|
background?: string | undefined;
|
|
@@ -139,25 +155,10 @@ declare const defineConfig: (input: StormWorkspaceConfigInput) => {
|
|
|
139
155
|
negative?: string | undefined;
|
|
140
156
|
gradient?: string[] | undefined;
|
|
141
157
|
};
|
|
142
|
-
} | {
|
|
143
|
-
dark?: string | undefined;
|
|
144
|
-
light?: string | undefined;
|
|
145
|
-
brand?: string | undefined;
|
|
146
|
-
alternate?: string | undefined;
|
|
147
|
-
accent?: string | undefined;
|
|
148
|
-
link?: string | undefined;
|
|
149
|
-
help?: string | undefined;
|
|
150
|
-
success?: string | undefined;
|
|
151
|
-
info?: string | undefined;
|
|
152
|
-
warning?: string | undefined;
|
|
153
|
-
danger?: string | undefined;
|
|
154
|
-
fatal?: string | undefined;
|
|
155
|
-
positive?: string | undefined;
|
|
156
|
-
negative?: string | undefined;
|
|
157
|
-
gradient?: string[] | undefined;
|
|
158
158
|
}>;
|
|
159
159
|
$schema?: string | undefined;
|
|
160
160
|
extends?: string | string[] | undefined;
|
|
161
|
+
variant?: "minimal" | "monorepo" | undefined;
|
|
161
162
|
license?: string | undefined;
|
|
162
163
|
homepage?: string | undefined;
|
|
163
164
|
docs?: string | undefined;
|
|
@@ -173,7 +174,7 @@ declare const defineConfig: (input: StormWorkspaceConfigInput) => {
|
|
|
173
174
|
packageManager?: "npm" | "yarn" | "pnpm" | "bun" | undefined;
|
|
174
175
|
timezone?: string | undefined;
|
|
175
176
|
locale?: string | undefined;
|
|
176
|
-
logLevel?: "
|
|
177
|
+
logLevel?: "error" | "success" | "silent" | "fatal" | "warn" | "info" | "debug" | "trace" | "all" | undefined;
|
|
177
178
|
skipConfigLogging?: boolean | undefined;
|
|
178
179
|
registry?: {
|
|
179
180
|
github?: string | undefined;
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var chunk4RGB2QSN_cjs=require('./chunk-4RGB2QSN.cjs'),chunkESPZFBRQ_cjs=require('./chunk-ESPZFBRQ.cjs'),chunkUODLXUQT_cjs=require('./chunk-UODLXUQT.cjs'),chunkTE4DJKBE_cjs=require('./chunk-TE4DJKBE.cjs');require('./chunk-4VDLQK6F.cjs');Object.defineProperty(exports,"defineConfig",{enumerable:true,get:function(){return chunk4RGB2QSN_cjs.a}});Object.defineProperty(exports,"accentColorSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.f}});Object.defineProperty(exports,"alternateColorSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.e}});Object.defineProperty(exports,"branchSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.ha}});Object.defineProperty(exports,"brandColorSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.d}});Object.defineProperty(exports,"colorsSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.v}});Object.defineProperty(exports,"configFileSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.sa}});Object.defineProperty(exports,"contactSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.fa}});Object.defineProperty(exports,"dangerColorSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.l}});Object.defineProperty(exports,"darkColorSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.b}});Object.defineProperty(exports,"darkColorsSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.q}});Object.defineProperty(exports,"docsSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.ca}});Object.defineProperty(exports,"errorCodesFileSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.T}});Object.defineProperty(exports,"errorSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.V}});Object.defineProperty(exports,"errorUrlSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.U}});Object.defineProperty(exports,"extendsSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.x}});Object.defineProperty(exports,"extensionsSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.ta}});Object.defineProperty(exports,"fatalColorSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.m}});Object.defineProperty(exports,"gradientStopsSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.p}});Object.defineProperty(exports,"helpColorSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.h}});Object.defineProperty(exports,"homepageSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.ba}});Object.defineProperty(exports,"infoColorSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.j}});Object.defineProperty(exports,"licenseSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.aa}});Object.defineProperty(exports,"licensingSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.ea}});Object.defineProperty(exports,"lightColorSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.c}});Object.defineProperty(exports,"lightColorsSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.r}});Object.defineProperty(exports,"linkColorSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.g}});Object.defineProperty(exports,"localeSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.pa}});Object.defineProperty(exports,"logLevelSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.qa}});Object.defineProperty(exports,"modeSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.ka}});Object.defineProperty(exports,"multiColorsSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.s}});Object.defineProperty(exports,"negativeColorSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.o}});Object.defineProperty(exports,"organizationDescriptionSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.X}});Object.defineProperty(exports,"organizationIconSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.Z}});Object.defineProperty(exports,"organizationLogoSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.Y}});Object.defineProperty(exports,"organizationNameSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.W}});Object.defineProperty(exports,"organizationSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.$}});Object.defineProperty(exports,"organizationUrlSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs._}});Object.defineProperty(exports,"ownerSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.ja}});Object.defineProperty(exports,"packageManagerSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.na}});Object.defineProperty(exports,"portalSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.da}});Object.defineProperty(exports,"positiveColorSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.n}});Object.defineProperty(exports,"preidSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.ia}});Object.defineProperty(exports,"registrySchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.u}});Object.defineProperty(exports,"schemaRegistry",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.a}});Object.defineProperty(exports,"singleColorsSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.t}});Object.defineProperty(exports,"skipCacheSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.ma}});Object.defineProperty(exports,"skipConfigLoggingSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.ra}});Object.defineProperty(exports,"successColorSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.i}});Object.defineProperty(exports,"supportSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.ga}});Object.defineProperty(exports,"themeColorsSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.w}});Object.defineProperty(exports,"timezoneSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.oa}});Object.defineProperty(exports,"warningColorSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.k}});Object.defineProperty(exports,"workspaceBotSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.y}});Object.defineProperty(exports,"workspaceConfigSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.ua}});Object.defineProperty(exports,"workspaceDirectoryBuildSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.R}});Object.defineProperty(exports,"workspaceDirectoryCacheSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.M}});Object.defineProperty(exports,"workspaceDirectoryConfigSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.O}});Object.defineProperty(exports,"workspaceDirectoryDataSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.N}});Object.defineProperty(exports,"workspaceDirectoryLogSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.Q}});Object.defineProperty(exports,"workspaceDirectorySchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.S}});Object.defineProperty(exports,"workspaceDirectoryTempSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.P}});Object.defineProperty(exports,"workspaceReleaseBannerAltSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.A}});Object.defineProperty(exports,"workspaceReleaseBannerSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.B}});Object.defineProperty(exports,"workspaceReleaseBannerUrlSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.z}});Object.defineProperty(exports,"workspaceReleaseFooterSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.D}});Object.defineProperty(exports,"workspaceReleaseHeaderSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.C}});Object.defineProperty(exports,"workspaceReleaseSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.E}});Object.defineProperty(exports,"workspaceRootSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.la}});Object.defineProperty(exports,"workspaceSocialsDiscordSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.G}});Object.defineProperty(exports,"workspaceSocialsGithubSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.K}});Object.defineProperty(exports,"workspaceSocialsMediumSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.J}});Object.defineProperty(exports,"workspaceSocialsSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.L}});Object.defineProperty(exports,"workspaceSocialsSlackSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.I}});Object.defineProperty(exports,"workspaceSocialsTelegramSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.H}});Object.defineProperty(exports,"workspaceSocialsTwitterSchema",{enumerable:true,get:function(){return chunkESPZFBRQ_cjs.F}});Object.defineProperty(exports,"STORM_DEFAULT_BANNER_ALT",{enumerable:true,get:function(){return chunkUODLXUQT_cjs.p}});Object.defineProperty(exports,"STORM_DEFAULT_CONTACT",{enumerable:true,get:function(){return chunkUODLXUQT_cjs.c}});Object.defineProperty(exports,"STORM_DEFAULT_DOCS",{enumerable:true,get:function(){return chunkUODLXUQT_cjs.a}});Object.defineProperty(exports,"STORM_DEFAULT_ERROR_CODES_FILE",{enumerable:true,get:function(){return chunkUODLXUQT_cjs.o}});Object.defineProperty(exports,"STORM_DEFAULT_HOMEPAGE",{enumerable:true,get:function(){return chunkUODLXUQT_cjs.b}});Object.defineProperty(exports,"STORM_DEFAULT_LICENSE",{enumerable:true,get:function(){return chunkUODLXUQT_cjs.f}});Object.defineProperty(exports,"STORM_DEFAULT_LICENSING",{enumerable:true,get:function(){return chunkUODLXUQT_cjs.e}});Object.defineProperty(exports,"STORM_DEFAULT_RELEASE_BANNER",{enumerable:true,get:function(){return chunkUODLXUQT_cjs.g}});Object.defineProperty(exports,"STORM_DEFAULT_RELEASE_FOOTER",{enumerable:true,get:function(){return chunkUODLXUQT_cjs.n}});Object.defineProperty(exports,"STORM_DEFAULT_SOCIAL_DISCORD",{enumerable:true,get:function(){return chunkUODLXUQT_cjs.i}});Object.defineProperty(exports,"STORM_DEFAULT_SOCIAL_GITHUB",{enumerable:true,get:function(){return chunkUODLXUQT_cjs.m}});Object.defineProperty(exports,"STORM_DEFAULT_SOCIAL_MEDIUM",{enumerable:true,get:function(){return chunkUODLXUQT_cjs.l}});Object.defineProperty(exports,"STORM_DEFAULT_SOCIAL_SLACK",{enumerable:true,get:function(){return chunkUODLXUQT_cjs.k}});Object.defineProperty(exports,"STORM_DEFAULT_SOCIAL_TELEGRAM",{enumerable:true,get:function(){return chunkUODLXUQT_cjs.j}});Object.defineProperty(exports,"STORM_DEFAULT_SOCIAL_TWITTER",{enumerable:true,get:function(){return chunkUODLXUQT_cjs.h}});Object.defineProperty(exports,"STORM_DEFAULT_SUPPORT",{enumerable:true,get:function(){return chunkUODLXUQT_cjs.d}});Object.defineProperty(exports,"COLOR_KEYS",{enumerable:true,get:function(){return chunkTE4DJKBE_cjs.a}});
|
|
1
|
+
'use strict';var chunk4RGB2QSN_cjs=require('./chunk-4RGB2QSN.cjs'),chunkFLV46URX_cjs=require('./chunk-FLV46URX.cjs'),chunkUODLXUQT_cjs=require('./chunk-UODLXUQT.cjs'),chunkTE4DJKBE_cjs=require('./chunk-TE4DJKBE.cjs');require('./chunk-4VDLQK6F.cjs');Object.defineProperty(exports,"defineConfig",{enumerable:true,get:function(){return chunk4RGB2QSN_cjs.a}});Object.defineProperty(exports,"accentColorSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.f}});Object.defineProperty(exports,"alternateColorSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.e}});Object.defineProperty(exports,"branchSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.ia}});Object.defineProperty(exports,"brandColorSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.d}});Object.defineProperty(exports,"colorsSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.v}});Object.defineProperty(exports,"configFileSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.ta}});Object.defineProperty(exports,"contactSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.ga}});Object.defineProperty(exports,"dangerColorSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.l}});Object.defineProperty(exports,"darkColorSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.b}});Object.defineProperty(exports,"darkColorsSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.q}});Object.defineProperty(exports,"docsSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.da}});Object.defineProperty(exports,"errorCodesFileSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.U}});Object.defineProperty(exports,"errorSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.W}});Object.defineProperty(exports,"errorUrlSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.V}});Object.defineProperty(exports,"extendsSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.x}});Object.defineProperty(exports,"extensionsSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.ua}});Object.defineProperty(exports,"fatalColorSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.m}});Object.defineProperty(exports,"gradientStopsSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.p}});Object.defineProperty(exports,"helpColorSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.h}});Object.defineProperty(exports,"homepageSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.ca}});Object.defineProperty(exports,"infoColorSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.j}});Object.defineProperty(exports,"licenseSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.ba}});Object.defineProperty(exports,"licensingSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.fa}});Object.defineProperty(exports,"lightColorSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.c}});Object.defineProperty(exports,"lightColorsSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.r}});Object.defineProperty(exports,"linkColorSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.g}});Object.defineProperty(exports,"localeSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.qa}});Object.defineProperty(exports,"logLevelSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.ra}});Object.defineProperty(exports,"modeSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.la}});Object.defineProperty(exports,"multiColorsSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.s}});Object.defineProperty(exports,"negativeColorSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.o}});Object.defineProperty(exports,"organizationDescriptionSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.Y}});Object.defineProperty(exports,"organizationIconSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs._}});Object.defineProperty(exports,"organizationLogoSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.Z}});Object.defineProperty(exports,"organizationNameSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.X}});Object.defineProperty(exports,"organizationSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.aa}});Object.defineProperty(exports,"organizationUrlSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.$}});Object.defineProperty(exports,"ownerSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.ka}});Object.defineProperty(exports,"packageManagerSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.oa}});Object.defineProperty(exports,"portalSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.ea}});Object.defineProperty(exports,"positiveColorSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.n}});Object.defineProperty(exports,"preidSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.ja}});Object.defineProperty(exports,"registrySchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.u}});Object.defineProperty(exports,"schemaRegistry",{enumerable:true,get:function(){return chunkFLV46URX_cjs.a}});Object.defineProperty(exports,"singleColorsSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.t}});Object.defineProperty(exports,"skipCacheSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.na}});Object.defineProperty(exports,"skipConfigLoggingSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.sa}});Object.defineProperty(exports,"successColorSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.i}});Object.defineProperty(exports,"supportSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.ha}});Object.defineProperty(exports,"themeColorsSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.w}});Object.defineProperty(exports,"timezoneSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.pa}});Object.defineProperty(exports,"variantSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.T}});Object.defineProperty(exports,"warningColorSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.k}});Object.defineProperty(exports,"workspaceBotSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.y}});Object.defineProperty(exports,"workspaceConfigSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.va}});Object.defineProperty(exports,"workspaceDirectoryBuildSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.R}});Object.defineProperty(exports,"workspaceDirectoryCacheSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.M}});Object.defineProperty(exports,"workspaceDirectoryConfigSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.O}});Object.defineProperty(exports,"workspaceDirectoryDataSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.N}});Object.defineProperty(exports,"workspaceDirectoryLogSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.Q}});Object.defineProperty(exports,"workspaceDirectorySchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.S}});Object.defineProperty(exports,"workspaceDirectoryTempSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.P}});Object.defineProperty(exports,"workspaceReleaseBannerAltSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.A}});Object.defineProperty(exports,"workspaceReleaseBannerSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.B}});Object.defineProperty(exports,"workspaceReleaseBannerUrlSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.z}});Object.defineProperty(exports,"workspaceReleaseFooterSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.D}});Object.defineProperty(exports,"workspaceReleaseHeaderSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.C}});Object.defineProperty(exports,"workspaceReleaseSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.E}});Object.defineProperty(exports,"workspaceRootSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.ma}});Object.defineProperty(exports,"workspaceSocialsDiscordSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.G}});Object.defineProperty(exports,"workspaceSocialsGithubSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.K}});Object.defineProperty(exports,"workspaceSocialsMediumSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.J}});Object.defineProperty(exports,"workspaceSocialsSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.L}});Object.defineProperty(exports,"workspaceSocialsSlackSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.I}});Object.defineProperty(exports,"workspaceSocialsTelegramSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.H}});Object.defineProperty(exports,"workspaceSocialsTwitterSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.F}});Object.defineProperty(exports,"STORM_DEFAULT_BANNER_ALT",{enumerable:true,get:function(){return chunkUODLXUQT_cjs.p}});Object.defineProperty(exports,"STORM_DEFAULT_CONTACT",{enumerable:true,get:function(){return chunkUODLXUQT_cjs.c}});Object.defineProperty(exports,"STORM_DEFAULT_DOCS",{enumerable:true,get:function(){return chunkUODLXUQT_cjs.a}});Object.defineProperty(exports,"STORM_DEFAULT_ERROR_CODES_FILE",{enumerable:true,get:function(){return chunkUODLXUQT_cjs.o}});Object.defineProperty(exports,"STORM_DEFAULT_HOMEPAGE",{enumerable:true,get:function(){return chunkUODLXUQT_cjs.b}});Object.defineProperty(exports,"STORM_DEFAULT_LICENSE",{enumerable:true,get:function(){return chunkUODLXUQT_cjs.f}});Object.defineProperty(exports,"STORM_DEFAULT_LICENSING",{enumerable:true,get:function(){return chunkUODLXUQT_cjs.e}});Object.defineProperty(exports,"STORM_DEFAULT_RELEASE_BANNER",{enumerable:true,get:function(){return chunkUODLXUQT_cjs.g}});Object.defineProperty(exports,"STORM_DEFAULT_RELEASE_FOOTER",{enumerable:true,get:function(){return chunkUODLXUQT_cjs.n}});Object.defineProperty(exports,"STORM_DEFAULT_SOCIAL_DISCORD",{enumerable:true,get:function(){return chunkUODLXUQT_cjs.i}});Object.defineProperty(exports,"STORM_DEFAULT_SOCIAL_GITHUB",{enumerable:true,get:function(){return chunkUODLXUQT_cjs.m}});Object.defineProperty(exports,"STORM_DEFAULT_SOCIAL_MEDIUM",{enumerable:true,get:function(){return chunkUODLXUQT_cjs.l}});Object.defineProperty(exports,"STORM_DEFAULT_SOCIAL_SLACK",{enumerable:true,get:function(){return chunkUODLXUQT_cjs.k}});Object.defineProperty(exports,"STORM_DEFAULT_SOCIAL_TELEGRAM",{enumerable:true,get:function(){return chunkUODLXUQT_cjs.j}});Object.defineProperty(exports,"STORM_DEFAULT_SOCIAL_TWITTER",{enumerable:true,get:function(){return chunkUODLXUQT_cjs.h}});Object.defineProperty(exports,"STORM_DEFAULT_SUPPORT",{enumerable:true,get:function(){return chunkUODLXUQT_cjs.d}});Object.defineProperty(exports,"COLOR_KEYS",{enumerable:true,get:function(){return chunkTE4DJKBE_cjs.a}});
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { STORM_DEFAULT_BANNER_ALT, STORM_DEFAULT_CONTACT, STORM_DEFAULT_DOCS, STORM_DEFAULT_ERROR_CODES_FILE, STORM_DEFAULT_HOMEPAGE, STORM_DEFAULT_LICENSE, STORM_DEFAULT_LICENSING, STORM_DEFAULT_RELEASE_BANNER, STORM_DEFAULT_RELEASE_FOOTER, STORM_DEFAULT_SOCIAL_DISCORD, STORM_DEFAULT_SOCIAL_GITHUB, STORM_DEFAULT_SOCIAL_MEDIUM, STORM_DEFAULT_SOCIAL_SLACK, STORM_DEFAULT_SOCIAL_TELEGRAM, STORM_DEFAULT_SOCIAL_TWITTER, STORM_DEFAULT_SUPPORT } from './constants.cjs';
|
|
2
2
|
export { defineConfig } from './define-config.cjs';
|
|
3
|
-
export { accentColorSchema, alternateColorSchema, branchSchema, brandColorSchema, colorsSchema, configFileSchema, contactSchema, dangerColorSchema, darkColorSchema, darkColorsSchema, docsSchema, errorCodesFileSchema, errorSchema, errorUrlSchema, extendsSchema, extensionsSchema, fatalColorSchema, gradientStopsSchema, helpColorSchema, homepageSchema, infoColorSchema, licenseSchema, licensingSchema, lightColorSchema, lightColorsSchema, linkColorSchema, localeSchema, logLevelSchema, modeSchema, multiColorsSchema, negativeColorSchema, organizationDescriptionSchema, organizationIconSchema, organizationLogoSchema, organizationNameSchema, organizationSchema, organizationUrlSchema, ownerSchema, packageManagerSchema, portalSchema, positiveColorSchema, preidSchema, registrySchema, schemaRegistry, singleColorsSchema, skipCacheSchema, skipConfigLoggingSchema, successColorSchema, supportSchema, themeColorsSchema, timezoneSchema, warningColorSchema, workspaceBotSchema, workspaceConfigSchema, workspaceDirectoryBuildSchema, workspaceDirectoryCacheSchema, workspaceDirectoryConfigSchema, workspaceDirectoryDataSchema, workspaceDirectoryLogSchema, workspaceDirectorySchema, workspaceDirectoryTempSchema, workspaceReleaseBannerAltSchema, workspaceReleaseBannerSchema, workspaceReleaseBannerUrlSchema, workspaceReleaseFooterSchema, workspaceReleaseHeaderSchema, workspaceReleaseSchema, workspaceRootSchema, workspaceSocialsDiscordSchema, workspaceSocialsGithubSchema, workspaceSocialsMediumSchema, workspaceSocialsSchema, workspaceSocialsSlackSchema, workspaceSocialsTelegramSchema, workspaceSocialsTwitterSchema } from './schema.cjs';
|
|
4
|
-
export { COLOR_KEYS, Colors, ColorsInput, ColorsMap, ColorsMapInput, DarkThemeColors, DarkThemeColorsInput, LightThemeColors, LightThemeColorsInput, MultiThemeColors, MultiThemeColorsInput, OrganizationConfig, OrganizationConfigInput, SingleThemeColors, SingleThemeColorsInput, StormConfig, StormWorkspaceConfig, StormWorkspaceConfigInput } from './types.cjs';
|
|
3
|
+
export { accentColorSchema, alternateColorSchema, branchSchema, brandColorSchema, colorsSchema, configFileSchema, contactSchema, dangerColorSchema, darkColorSchema, darkColorsSchema, docsSchema, errorCodesFileSchema, errorSchema, errorUrlSchema, extendsSchema, extensionsSchema, fatalColorSchema, gradientStopsSchema, helpColorSchema, homepageSchema, infoColorSchema, licenseSchema, licensingSchema, lightColorSchema, lightColorsSchema, linkColorSchema, localeSchema, logLevelSchema, modeSchema, multiColorsSchema, negativeColorSchema, organizationDescriptionSchema, organizationIconSchema, organizationLogoSchema, organizationNameSchema, organizationSchema, organizationUrlSchema, ownerSchema, packageManagerSchema, portalSchema, positiveColorSchema, preidSchema, registrySchema, schemaRegistry, singleColorsSchema, skipCacheSchema, skipConfigLoggingSchema, successColorSchema, supportSchema, themeColorsSchema, timezoneSchema, variantSchema, warningColorSchema, workspaceBotSchema, workspaceConfigSchema, workspaceDirectoryBuildSchema, workspaceDirectoryCacheSchema, workspaceDirectoryConfigSchema, workspaceDirectoryDataSchema, workspaceDirectoryLogSchema, workspaceDirectorySchema, workspaceDirectoryTempSchema, workspaceReleaseBannerAltSchema, workspaceReleaseBannerSchema, workspaceReleaseBannerUrlSchema, workspaceReleaseFooterSchema, workspaceReleaseHeaderSchema, workspaceReleaseSchema, workspaceRootSchema, workspaceSocialsDiscordSchema, workspaceSocialsGithubSchema, workspaceSocialsMediumSchema, workspaceSocialsSchema, workspaceSocialsSlackSchema, workspaceSocialsTelegramSchema, workspaceSocialsTwitterSchema } from './schema.cjs';
|
|
4
|
+
export { COLOR_KEYS, Colors, ColorsInput, ColorsMap, ColorsMapInput, DarkThemeColors, DarkThemeColorsInput, LightThemeColors, LightThemeColorsInput, MultiThemeColors, MultiThemeColorsInput, OrganizationConfig, OrganizationConfigInput, SingleThemeColors, SingleThemeColorsInput, StormConfig, StormWorkspaceConfig, StormWorkspaceConfigInput, Variant, VariantInput } from './types.cjs';
|
|
5
5
|
import 'zod/mini';
|
|
6
6
|
import 'zod';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { STORM_DEFAULT_BANNER_ALT, STORM_DEFAULT_CONTACT, STORM_DEFAULT_DOCS, STORM_DEFAULT_ERROR_CODES_FILE, STORM_DEFAULT_HOMEPAGE, STORM_DEFAULT_LICENSE, STORM_DEFAULT_LICENSING, STORM_DEFAULT_RELEASE_BANNER, STORM_DEFAULT_RELEASE_FOOTER, STORM_DEFAULT_SOCIAL_DISCORD, STORM_DEFAULT_SOCIAL_GITHUB, STORM_DEFAULT_SOCIAL_MEDIUM, STORM_DEFAULT_SOCIAL_SLACK, STORM_DEFAULT_SOCIAL_TELEGRAM, STORM_DEFAULT_SOCIAL_TWITTER, STORM_DEFAULT_SUPPORT } from './constants.js';
|
|
2
2
|
export { defineConfig } from './define-config.js';
|
|
3
|
-
export { accentColorSchema, alternateColorSchema, branchSchema, brandColorSchema, colorsSchema, configFileSchema, contactSchema, dangerColorSchema, darkColorSchema, darkColorsSchema, docsSchema, errorCodesFileSchema, errorSchema, errorUrlSchema, extendsSchema, extensionsSchema, fatalColorSchema, gradientStopsSchema, helpColorSchema, homepageSchema, infoColorSchema, licenseSchema, licensingSchema, lightColorSchema, lightColorsSchema, linkColorSchema, localeSchema, logLevelSchema, modeSchema, multiColorsSchema, negativeColorSchema, organizationDescriptionSchema, organizationIconSchema, organizationLogoSchema, organizationNameSchema, organizationSchema, organizationUrlSchema, ownerSchema, packageManagerSchema, portalSchema, positiveColorSchema, preidSchema, registrySchema, schemaRegistry, singleColorsSchema, skipCacheSchema, skipConfigLoggingSchema, successColorSchema, supportSchema, themeColorsSchema, timezoneSchema, warningColorSchema, workspaceBotSchema, workspaceConfigSchema, workspaceDirectoryBuildSchema, workspaceDirectoryCacheSchema, workspaceDirectoryConfigSchema, workspaceDirectoryDataSchema, workspaceDirectoryLogSchema, workspaceDirectorySchema, workspaceDirectoryTempSchema, workspaceReleaseBannerAltSchema, workspaceReleaseBannerSchema, workspaceReleaseBannerUrlSchema, workspaceReleaseFooterSchema, workspaceReleaseHeaderSchema, workspaceReleaseSchema, workspaceRootSchema, workspaceSocialsDiscordSchema, workspaceSocialsGithubSchema, workspaceSocialsMediumSchema, workspaceSocialsSchema, workspaceSocialsSlackSchema, workspaceSocialsTelegramSchema, workspaceSocialsTwitterSchema } from './schema.js';
|
|
4
|
-
export { COLOR_KEYS, Colors, ColorsInput, ColorsMap, ColorsMapInput, DarkThemeColors, DarkThemeColorsInput, LightThemeColors, LightThemeColorsInput, MultiThemeColors, MultiThemeColorsInput, OrganizationConfig, OrganizationConfigInput, SingleThemeColors, SingleThemeColorsInput, StormConfig, StormWorkspaceConfig, StormWorkspaceConfigInput } from './types.js';
|
|
3
|
+
export { accentColorSchema, alternateColorSchema, branchSchema, brandColorSchema, colorsSchema, configFileSchema, contactSchema, dangerColorSchema, darkColorSchema, darkColorsSchema, docsSchema, errorCodesFileSchema, errorSchema, errorUrlSchema, extendsSchema, extensionsSchema, fatalColorSchema, gradientStopsSchema, helpColorSchema, homepageSchema, infoColorSchema, licenseSchema, licensingSchema, lightColorSchema, lightColorsSchema, linkColorSchema, localeSchema, logLevelSchema, modeSchema, multiColorsSchema, negativeColorSchema, organizationDescriptionSchema, organizationIconSchema, organizationLogoSchema, organizationNameSchema, organizationSchema, organizationUrlSchema, ownerSchema, packageManagerSchema, portalSchema, positiveColorSchema, preidSchema, registrySchema, schemaRegistry, singleColorsSchema, skipCacheSchema, skipConfigLoggingSchema, successColorSchema, supportSchema, themeColorsSchema, timezoneSchema, variantSchema, warningColorSchema, workspaceBotSchema, workspaceConfigSchema, workspaceDirectoryBuildSchema, workspaceDirectoryCacheSchema, workspaceDirectoryConfigSchema, workspaceDirectoryDataSchema, workspaceDirectoryLogSchema, workspaceDirectorySchema, workspaceDirectoryTempSchema, workspaceReleaseBannerAltSchema, workspaceReleaseBannerSchema, workspaceReleaseBannerUrlSchema, workspaceReleaseFooterSchema, workspaceReleaseHeaderSchema, workspaceReleaseSchema, workspaceRootSchema, workspaceSocialsDiscordSchema, workspaceSocialsGithubSchema, workspaceSocialsMediumSchema, workspaceSocialsSchema, workspaceSocialsSlackSchema, workspaceSocialsTelegramSchema, workspaceSocialsTwitterSchema } from './schema.js';
|
|
4
|
+
export { COLOR_KEYS, Colors, ColorsInput, ColorsMap, ColorsMapInput, DarkThemeColors, DarkThemeColorsInput, LightThemeColors, LightThemeColorsInput, MultiThemeColors, MultiThemeColorsInput, OrganizationConfig, OrganizationConfigInput, SingleThemeColors, SingleThemeColorsInput, StormConfig, StormWorkspaceConfig, StormWorkspaceConfigInput, Variant, VariantInput } from './types.js';
|
|
5
5
|
import 'zod/mini';
|
|
6
6
|
import 'zod';
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as defineConfig}from'./chunk-5QIMO5EY.js';export{f as accentColorSchema,e as alternateColorSchema,
|
|
1
|
+
export{a as defineConfig}from'./chunk-5QIMO5EY.js';export{f as accentColorSchema,e as alternateColorSchema,ia as branchSchema,d as brandColorSchema,v as colorsSchema,ta as configFileSchema,ga as contactSchema,l as dangerColorSchema,b as darkColorSchema,q as darkColorsSchema,da as docsSchema,U as errorCodesFileSchema,W as errorSchema,V as errorUrlSchema,x as extendsSchema,ua as extensionsSchema,m as fatalColorSchema,p as gradientStopsSchema,h as helpColorSchema,ca as homepageSchema,j as infoColorSchema,ba as licenseSchema,fa as licensingSchema,c as lightColorSchema,r as lightColorsSchema,g as linkColorSchema,qa as localeSchema,ra as logLevelSchema,la as modeSchema,s as multiColorsSchema,o as negativeColorSchema,Y as organizationDescriptionSchema,_ as organizationIconSchema,Z as organizationLogoSchema,X as organizationNameSchema,aa as organizationSchema,$ as organizationUrlSchema,ka as ownerSchema,oa as packageManagerSchema,ea as portalSchema,n as positiveColorSchema,ja as preidSchema,u as registrySchema,a as schemaRegistry,t as singleColorsSchema,na as skipCacheSchema,sa as skipConfigLoggingSchema,i as successColorSchema,ha as supportSchema,w as themeColorsSchema,pa as timezoneSchema,T as variantSchema,k as warningColorSchema,y as workspaceBotSchema,va as workspaceConfigSchema,R as workspaceDirectoryBuildSchema,M as workspaceDirectoryCacheSchema,O as workspaceDirectoryConfigSchema,N as workspaceDirectoryDataSchema,Q as workspaceDirectoryLogSchema,S as workspaceDirectorySchema,P as workspaceDirectoryTempSchema,A as workspaceReleaseBannerAltSchema,B as workspaceReleaseBannerSchema,z as workspaceReleaseBannerUrlSchema,D as workspaceReleaseFooterSchema,C as workspaceReleaseHeaderSchema,E as workspaceReleaseSchema,ma as workspaceRootSchema,G as workspaceSocialsDiscordSchema,K as workspaceSocialsGithubSchema,J as workspaceSocialsMediumSchema,L as workspaceSocialsSchema,I as workspaceSocialsSlackSchema,H as workspaceSocialsTelegramSchema,F as workspaceSocialsTwitterSchema}from'./chunk-5GTVE2BD.js';export{p as STORM_DEFAULT_BANNER_ALT,c as STORM_DEFAULT_CONTACT,a as STORM_DEFAULT_DOCS,o as STORM_DEFAULT_ERROR_CODES_FILE,b as STORM_DEFAULT_HOMEPAGE,f as STORM_DEFAULT_LICENSE,e as STORM_DEFAULT_LICENSING,g as STORM_DEFAULT_RELEASE_BANNER,n as STORM_DEFAULT_RELEASE_FOOTER,i as STORM_DEFAULT_SOCIAL_DISCORD,m as STORM_DEFAULT_SOCIAL_GITHUB,l as STORM_DEFAULT_SOCIAL_MEDIUM,k as STORM_DEFAULT_SOCIAL_SLACK,j as STORM_DEFAULT_SOCIAL_TELEGRAM,h as STORM_DEFAULT_SOCIAL_TWITTER,d as STORM_DEFAULT_SUPPORT}from'./chunk-TYDRIJER.js';export{a as COLOR_KEYS}from'./chunk-WIOU3CJS.js';import'./chunk-WOT6VMZA.js';
|
package/dist/schema.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkFLV46URX_cjs=require('./chunk-FLV46URX.cjs');require('./chunk-UODLXUQT.cjs'),require('./chunk-4VDLQK6F.cjs');Object.defineProperty(exports,"accentColorSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.f}});Object.defineProperty(exports,"alternateColorSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.e}});Object.defineProperty(exports,"branchSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.ia}});Object.defineProperty(exports,"brandColorSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.d}});Object.defineProperty(exports,"colorsSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.v}});Object.defineProperty(exports,"configFileSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.ta}});Object.defineProperty(exports,"contactSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.ga}});Object.defineProperty(exports,"dangerColorSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.l}});Object.defineProperty(exports,"darkColorSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.b}});Object.defineProperty(exports,"darkColorsSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.q}});Object.defineProperty(exports,"docsSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.da}});Object.defineProperty(exports,"errorCodesFileSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.U}});Object.defineProperty(exports,"errorSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.W}});Object.defineProperty(exports,"errorUrlSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.V}});Object.defineProperty(exports,"extendsSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.x}});Object.defineProperty(exports,"extensionsSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.ua}});Object.defineProperty(exports,"fatalColorSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.m}});Object.defineProperty(exports,"gradientStopsSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.p}});Object.defineProperty(exports,"helpColorSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.h}});Object.defineProperty(exports,"homepageSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.ca}});Object.defineProperty(exports,"infoColorSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.j}});Object.defineProperty(exports,"licenseSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.ba}});Object.defineProperty(exports,"licensingSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.fa}});Object.defineProperty(exports,"lightColorSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.c}});Object.defineProperty(exports,"lightColorsSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.r}});Object.defineProperty(exports,"linkColorSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.g}});Object.defineProperty(exports,"localeSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.qa}});Object.defineProperty(exports,"logLevelSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.ra}});Object.defineProperty(exports,"modeSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.la}});Object.defineProperty(exports,"multiColorsSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.s}});Object.defineProperty(exports,"negativeColorSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.o}});Object.defineProperty(exports,"organizationDescriptionSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.Y}});Object.defineProperty(exports,"organizationIconSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs._}});Object.defineProperty(exports,"organizationLogoSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.Z}});Object.defineProperty(exports,"organizationNameSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.X}});Object.defineProperty(exports,"organizationSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.aa}});Object.defineProperty(exports,"organizationUrlSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.$}});Object.defineProperty(exports,"ownerSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.ka}});Object.defineProperty(exports,"packageManagerSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.oa}});Object.defineProperty(exports,"portalSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.ea}});Object.defineProperty(exports,"positiveColorSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.n}});Object.defineProperty(exports,"preidSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.ja}});Object.defineProperty(exports,"registrySchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.u}});Object.defineProperty(exports,"schemaRegistry",{enumerable:true,get:function(){return chunkFLV46URX_cjs.a}});Object.defineProperty(exports,"singleColorsSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.t}});Object.defineProperty(exports,"skipCacheSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.na}});Object.defineProperty(exports,"skipConfigLoggingSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.sa}});Object.defineProperty(exports,"successColorSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.i}});Object.defineProperty(exports,"supportSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.ha}});Object.defineProperty(exports,"themeColorsSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.w}});Object.defineProperty(exports,"timezoneSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.pa}});Object.defineProperty(exports,"variantSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.T}});Object.defineProperty(exports,"warningColorSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.k}});Object.defineProperty(exports,"workspaceBotSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.y}});Object.defineProperty(exports,"workspaceConfigSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.va}});Object.defineProperty(exports,"workspaceDirectoryBuildSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.R}});Object.defineProperty(exports,"workspaceDirectoryCacheSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.M}});Object.defineProperty(exports,"workspaceDirectoryConfigSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.O}});Object.defineProperty(exports,"workspaceDirectoryDataSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.N}});Object.defineProperty(exports,"workspaceDirectoryLogSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.Q}});Object.defineProperty(exports,"workspaceDirectorySchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.S}});Object.defineProperty(exports,"workspaceDirectoryTempSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.P}});Object.defineProperty(exports,"workspaceReleaseBannerAltSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.A}});Object.defineProperty(exports,"workspaceReleaseBannerSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.B}});Object.defineProperty(exports,"workspaceReleaseBannerUrlSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.z}});Object.defineProperty(exports,"workspaceReleaseFooterSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.D}});Object.defineProperty(exports,"workspaceReleaseHeaderSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.C}});Object.defineProperty(exports,"workspaceReleaseSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.E}});Object.defineProperty(exports,"workspaceRootSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.ma}});Object.defineProperty(exports,"workspaceSocialsDiscordSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.G}});Object.defineProperty(exports,"workspaceSocialsGithubSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.K}});Object.defineProperty(exports,"workspaceSocialsMediumSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.J}});Object.defineProperty(exports,"workspaceSocialsSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.L}});Object.defineProperty(exports,"workspaceSocialsSlackSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.I}});Object.defineProperty(exports,"workspaceSocialsTelegramSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.H}});Object.defineProperty(exports,"workspaceSocialsTwitterSchema",{enumerable:true,get:function(){return chunkFLV46URX_cjs.F}});
|
package/dist/schema.d.cts
CHANGED
|
@@ -268,6 +268,10 @@ declare const workspaceDirectorySchema: z.ZodMiniObject<{
|
|
|
268
268
|
log: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
269
269
|
build: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
270
270
|
}, z.core.$strip>;
|
|
271
|
+
declare const variantSchema: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
272
|
+
minimal: "minimal";
|
|
273
|
+
monorepo: "monorepo";
|
|
274
|
+
}>>;
|
|
271
275
|
declare const errorCodesFileSchema: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
272
276
|
declare const errorUrlSchema: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
273
277
|
declare const errorSchema: z.ZodMiniObject<{
|
|
@@ -315,12 +319,12 @@ declare const packageManagerSchema: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
|
315
319
|
declare const timezoneSchema: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
316
320
|
declare const localeSchema: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
317
321
|
declare const logLevelSchema: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
322
|
+
error: "error";
|
|
318
323
|
success: "success";
|
|
319
|
-
info: "info";
|
|
320
|
-
fatal: "fatal";
|
|
321
324
|
silent: "silent";
|
|
322
|
-
|
|
325
|
+
fatal: "fatal";
|
|
323
326
|
warn: "warn";
|
|
327
|
+
info: "info";
|
|
324
328
|
debug: "debug";
|
|
325
329
|
trace: "trace";
|
|
326
330
|
all: "all";
|
|
@@ -335,6 +339,10 @@ declare const workspaceConfigSchema: z.ZodMiniObject<{
|
|
|
335
339
|
$schema: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
336
340
|
extends: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
337
341
|
name: z.ZodMiniString<string>;
|
|
342
|
+
variant: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
343
|
+
minimal: "minimal";
|
|
344
|
+
monorepo: "monorepo";
|
|
345
|
+
}>>;
|
|
338
346
|
namespace: z.ZodMiniString<string>;
|
|
339
347
|
organization: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
340
348
|
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -402,12 +410,12 @@ declare const workspaceConfigSchema: z.ZodMiniObject<{
|
|
|
402
410
|
timezone: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
403
411
|
locale: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
404
412
|
logLevel: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
413
|
+
error: "error";
|
|
405
414
|
success: "success";
|
|
406
|
-
info: "info";
|
|
407
|
-
fatal: "fatal";
|
|
408
415
|
silent: "silent";
|
|
409
|
-
|
|
416
|
+
fatal: "fatal";
|
|
410
417
|
warn: "warn";
|
|
418
|
+
info: "info";
|
|
411
419
|
debug: "debug";
|
|
412
420
|
trace: "trace";
|
|
413
421
|
all: "all";
|
|
@@ -527,4 +535,4 @@ declare const workspaceConfigSchema: z.ZodMiniObject<{
|
|
|
527
535
|
extensions: z.ZodMiniDefault<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniAny>>;
|
|
528
536
|
}, z.core.$strip>;
|
|
529
537
|
|
|
530
|
-
export { accentColorSchema, alternateColorSchema, branchSchema, brandColorSchema, colorsSchema, configFileSchema, contactSchema, dangerColorSchema, darkColorSchema, darkColorsSchema, docsSchema, errorCodesFileSchema, errorSchema, errorUrlSchema, extendsSchema, extensionsSchema, fatalColorSchema, gradientStopsSchema, helpColorSchema, homepageSchema, infoColorSchema, licenseSchema, licensingSchema, lightColorSchema, lightColorsSchema, linkColorSchema, localeSchema, logLevelSchema, modeSchema, multiColorsSchema, negativeColorSchema, organizationDescriptionSchema, organizationIconSchema, organizationLogoSchema, organizationNameSchema, organizationSchema, organizationUrlSchema, ownerSchema, packageManagerSchema, portalSchema, positiveColorSchema, preidSchema, registrySchema, schemaRegistry, singleColorsSchema, skipCacheSchema, skipConfigLoggingSchema, successColorSchema, supportSchema, themeColorsSchema, timezoneSchema, warningColorSchema, workspaceBotSchema, workspaceConfigSchema, workspaceDirectoryBuildSchema, workspaceDirectoryCacheSchema, workspaceDirectoryConfigSchema, workspaceDirectoryDataSchema, workspaceDirectoryLogSchema, workspaceDirectorySchema, workspaceDirectoryTempSchema, workspaceReleaseBannerAltSchema, workspaceReleaseBannerSchema, workspaceReleaseBannerUrlSchema, workspaceReleaseFooterSchema, workspaceReleaseHeaderSchema, workspaceReleaseSchema, workspaceRootSchema, workspaceSocialsDiscordSchema, workspaceSocialsGithubSchema, workspaceSocialsMediumSchema, workspaceSocialsSchema, workspaceSocialsSlackSchema, workspaceSocialsTelegramSchema, workspaceSocialsTwitterSchema };
|
|
538
|
+
export { accentColorSchema, alternateColorSchema, branchSchema, brandColorSchema, colorsSchema, configFileSchema, contactSchema, dangerColorSchema, darkColorSchema, darkColorsSchema, docsSchema, errorCodesFileSchema, errorSchema, errorUrlSchema, extendsSchema, extensionsSchema, fatalColorSchema, gradientStopsSchema, helpColorSchema, homepageSchema, infoColorSchema, licenseSchema, licensingSchema, lightColorSchema, lightColorsSchema, linkColorSchema, localeSchema, logLevelSchema, modeSchema, multiColorsSchema, negativeColorSchema, organizationDescriptionSchema, organizationIconSchema, organizationLogoSchema, organizationNameSchema, organizationSchema, organizationUrlSchema, ownerSchema, packageManagerSchema, portalSchema, positiveColorSchema, preidSchema, registrySchema, schemaRegistry, singleColorsSchema, skipCacheSchema, skipConfigLoggingSchema, successColorSchema, supportSchema, themeColorsSchema, timezoneSchema, variantSchema, warningColorSchema, workspaceBotSchema, workspaceConfigSchema, workspaceDirectoryBuildSchema, workspaceDirectoryCacheSchema, workspaceDirectoryConfigSchema, workspaceDirectoryDataSchema, workspaceDirectoryLogSchema, workspaceDirectorySchema, workspaceDirectoryTempSchema, workspaceReleaseBannerAltSchema, workspaceReleaseBannerSchema, workspaceReleaseBannerUrlSchema, workspaceReleaseFooterSchema, workspaceReleaseHeaderSchema, workspaceReleaseSchema, workspaceRootSchema, workspaceSocialsDiscordSchema, workspaceSocialsGithubSchema, workspaceSocialsMediumSchema, workspaceSocialsSchema, workspaceSocialsSlackSchema, workspaceSocialsTelegramSchema, workspaceSocialsTwitterSchema };
|
package/dist/schema.d.ts
CHANGED
|
@@ -268,6 +268,10 @@ declare const workspaceDirectorySchema: z.ZodMiniObject<{
|
|
|
268
268
|
log: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
269
269
|
build: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
270
270
|
}, z.core.$strip>;
|
|
271
|
+
declare const variantSchema: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
272
|
+
minimal: "minimal";
|
|
273
|
+
monorepo: "monorepo";
|
|
274
|
+
}>>;
|
|
271
275
|
declare const errorCodesFileSchema: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
272
276
|
declare const errorUrlSchema: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
273
277
|
declare const errorSchema: z.ZodMiniObject<{
|
|
@@ -315,12 +319,12 @@ declare const packageManagerSchema: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
|
315
319
|
declare const timezoneSchema: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
316
320
|
declare const localeSchema: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
317
321
|
declare const logLevelSchema: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
322
|
+
error: "error";
|
|
318
323
|
success: "success";
|
|
319
|
-
info: "info";
|
|
320
|
-
fatal: "fatal";
|
|
321
324
|
silent: "silent";
|
|
322
|
-
|
|
325
|
+
fatal: "fatal";
|
|
323
326
|
warn: "warn";
|
|
327
|
+
info: "info";
|
|
324
328
|
debug: "debug";
|
|
325
329
|
trace: "trace";
|
|
326
330
|
all: "all";
|
|
@@ -335,6 +339,10 @@ declare const workspaceConfigSchema: z.ZodMiniObject<{
|
|
|
335
339
|
$schema: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
336
340
|
extends: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
337
341
|
name: z.ZodMiniString<string>;
|
|
342
|
+
variant: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
343
|
+
minimal: "minimal";
|
|
344
|
+
monorepo: "monorepo";
|
|
345
|
+
}>>;
|
|
338
346
|
namespace: z.ZodMiniString<string>;
|
|
339
347
|
organization: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
340
348
|
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -402,12 +410,12 @@ declare const workspaceConfigSchema: z.ZodMiniObject<{
|
|
|
402
410
|
timezone: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
403
411
|
locale: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
404
412
|
logLevel: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
413
|
+
error: "error";
|
|
405
414
|
success: "success";
|
|
406
|
-
info: "info";
|
|
407
|
-
fatal: "fatal";
|
|
408
415
|
silent: "silent";
|
|
409
|
-
|
|
416
|
+
fatal: "fatal";
|
|
410
417
|
warn: "warn";
|
|
418
|
+
info: "info";
|
|
411
419
|
debug: "debug";
|
|
412
420
|
trace: "trace";
|
|
413
421
|
all: "all";
|
|
@@ -527,4 +535,4 @@ declare const workspaceConfigSchema: z.ZodMiniObject<{
|
|
|
527
535
|
extensions: z.ZodMiniDefault<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniAny>>;
|
|
528
536
|
}, z.core.$strip>;
|
|
529
537
|
|
|
530
|
-
export { accentColorSchema, alternateColorSchema, branchSchema, brandColorSchema, colorsSchema, configFileSchema, contactSchema, dangerColorSchema, darkColorSchema, darkColorsSchema, docsSchema, errorCodesFileSchema, errorSchema, errorUrlSchema, extendsSchema, extensionsSchema, fatalColorSchema, gradientStopsSchema, helpColorSchema, homepageSchema, infoColorSchema, licenseSchema, licensingSchema, lightColorSchema, lightColorsSchema, linkColorSchema, localeSchema, logLevelSchema, modeSchema, multiColorsSchema, negativeColorSchema, organizationDescriptionSchema, organizationIconSchema, organizationLogoSchema, organizationNameSchema, organizationSchema, organizationUrlSchema, ownerSchema, packageManagerSchema, portalSchema, positiveColorSchema, preidSchema, registrySchema, schemaRegistry, singleColorsSchema, skipCacheSchema, skipConfigLoggingSchema, successColorSchema, supportSchema, themeColorsSchema, timezoneSchema, warningColorSchema, workspaceBotSchema, workspaceConfigSchema, workspaceDirectoryBuildSchema, workspaceDirectoryCacheSchema, workspaceDirectoryConfigSchema, workspaceDirectoryDataSchema, workspaceDirectoryLogSchema, workspaceDirectorySchema, workspaceDirectoryTempSchema, workspaceReleaseBannerAltSchema, workspaceReleaseBannerSchema, workspaceReleaseBannerUrlSchema, workspaceReleaseFooterSchema, workspaceReleaseHeaderSchema, workspaceReleaseSchema, workspaceRootSchema, workspaceSocialsDiscordSchema, workspaceSocialsGithubSchema, workspaceSocialsMediumSchema, workspaceSocialsSchema, workspaceSocialsSlackSchema, workspaceSocialsTelegramSchema, workspaceSocialsTwitterSchema };
|
|
538
|
+
export { accentColorSchema, alternateColorSchema, branchSchema, brandColorSchema, colorsSchema, configFileSchema, contactSchema, dangerColorSchema, darkColorSchema, darkColorsSchema, docsSchema, errorCodesFileSchema, errorSchema, errorUrlSchema, extendsSchema, extensionsSchema, fatalColorSchema, gradientStopsSchema, helpColorSchema, homepageSchema, infoColorSchema, licenseSchema, licensingSchema, lightColorSchema, lightColorsSchema, linkColorSchema, localeSchema, logLevelSchema, modeSchema, multiColorsSchema, negativeColorSchema, organizationDescriptionSchema, organizationIconSchema, organizationLogoSchema, organizationNameSchema, organizationSchema, organizationUrlSchema, ownerSchema, packageManagerSchema, portalSchema, positiveColorSchema, preidSchema, registrySchema, schemaRegistry, singleColorsSchema, skipCacheSchema, skipConfigLoggingSchema, successColorSchema, supportSchema, themeColorsSchema, timezoneSchema, variantSchema, warningColorSchema, workspaceBotSchema, workspaceConfigSchema, workspaceDirectoryBuildSchema, workspaceDirectoryCacheSchema, workspaceDirectoryConfigSchema, workspaceDirectoryDataSchema, workspaceDirectoryLogSchema, workspaceDirectorySchema, workspaceDirectoryTempSchema, workspaceReleaseBannerAltSchema, workspaceReleaseBannerSchema, workspaceReleaseBannerUrlSchema, workspaceReleaseFooterSchema, workspaceReleaseHeaderSchema, workspaceReleaseSchema, workspaceRootSchema, workspaceSocialsDiscordSchema, workspaceSocialsGithubSchema, workspaceSocialsMediumSchema, workspaceSocialsSchema, workspaceSocialsSlackSchema, workspaceSocialsTelegramSchema, workspaceSocialsTwitterSchema };
|
package/dist/schema.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{f as accentColorSchema,e as alternateColorSchema,
|
|
1
|
+
export{f as accentColorSchema,e as alternateColorSchema,ia as branchSchema,d as brandColorSchema,v as colorsSchema,ta as configFileSchema,ga as contactSchema,l as dangerColorSchema,b as darkColorSchema,q as darkColorsSchema,da as docsSchema,U as errorCodesFileSchema,W as errorSchema,V as errorUrlSchema,x as extendsSchema,ua as extensionsSchema,m as fatalColorSchema,p as gradientStopsSchema,h as helpColorSchema,ca as homepageSchema,j as infoColorSchema,ba as licenseSchema,fa as licensingSchema,c as lightColorSchema,r as lightColorsSchema,g as linkColorSchema,qa as localeSchema,ra as logLevelSchema,la as modeSchema,s as multiColorsSchema,o as negativeColorSchema,Y as organizationDescriptionSchema,_ as organizationIconSchema,Z as organizationLogoSchema,X as organizationNameSchema,aa as organizationSchema,$ as organizationUrlSchema,ka as ownerSchema,oa as packageManagerSchema,ea as portalSchema,n as positiveColorSchema,ja as preidSchema,u as registrySchema,a as schemaRegistry,t as singleColorsSchema,na as skipCacheSchema,sa as skipConfigLoggingSchema,i as successColorSchema,ha as supportSchema,w as themeColorsSchema,pa as timezoneSchema,T as variantSchema,k as warningColorSchema,y as workspaceBotSchema,va as workspaceConfigSchema,R as workspaceDirectoryBuildSchema,M as workspaceDirectoryCacheSchema,O as workspaceDirectoryConfigSchema,N as workspaceDirectoryDataSchema,Q as workspaceDirectoryLogSchema,S as workspaceDirectorySchema,P as workspaceDirectoryTempSchema,A as workspaceReleaseBannerAltSchema,B as workspaceReleaseBannerSchema,z as workspaceReleaseBannerUrlSchema,D as workspaceReleaseFooterSchema,C as workspaceReleaseHeaderSchema,E as workspaceReleaseSchema,ma as workspaceRootSchema,G as workspaceSocialsDiscordSchema,K as workspaceSocialsGithubSchema,J as workspaceSocialsMediumSchema,L as workspaceSocialsSchema,I as workspaceSocialsSlackSchema,H as workspaceSocialsTelegramSchema,F as workspaceSocialsTwitterSchema}from'./chunk-5GTVE2BD.js';import'./chunk-TYDRIJER.js';import'./chunk-WOT6VMZA.js';
|
package/dist/types.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
|
-
import { workspaceConfigSchema, darkColorsSchema, lightColorsSchema, multiColorsSchema, singleColorsSchema, colorsSchema, themeColorsSchema, organizationSchema } from './schema.cjs';
|
|
2
|
+
import { workspaceConfigSchema, darkColorsSchema, lightColorsSchema, multiColorsSchema, singleColorsSchema, colorsSchema, themeColorsSchema, organizationSchema, variantSchema } from './schema.cjs';
|
|
3
3
|
import 'zod/mini';
|
|
4
4
|
|
|
5
5
|
type DarkThemeColors = z.infer<typeof darkColorsSchema>;
|
|
@@ -16,6 +16,8 @@ type ColorsMap = z.infer<typeof themeColorsSchema>;
|
|
|
16
16
|
type ColorsMapInput = z.input<typeof themeColorsSchema>;
|
|
17
17
|
type OrganizationConfig = z.infer<typeof organizationSchema>;
|
|
18
18
|
type OrganizationConfigInput = z.input<typeof organizationSchema>;
|
|
19
|
+
type Variant = z.infer<typeof variantSchema>;
|
|
20
|
+
type VariantInput = z.input<typeof variantSchema>;
|
|
19
21
|
type TStormWorkspaceConfig = z.infer<typeof workspaceConfigSchema>;
|
|
20
22
|
type StormWorkspaceConfigInput = z.input<typeof workspaceConfigSchema>;
|
|
21
23
|
/**
|
|
@@ -41,4 +43,4 @@ type StormConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"
|
|
|
41
43
|
type StormWorkspaceConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = StormConfig<TExtensionName, TExtensionConfig>;
|
|
42
44
|
declare const COLOR_KEYS: string[];
|
|
43
45
|
|
|
44
|
-
export { COLOR_KEYS, type Colors, type ColorsInput, type ColorsMap, type ColorsMapInput, type DarkThemeColors, type DarkThemeColorsInput, type LightThemeColors, type LightThemeColorsInput, type MultiThemeColors, type MultiThemeColorsInput, type OrganizationConfig, type OrganizationConfigInput, type SingleThemeColors, type SingleThemeColorsInput, type StormConfig, type StormWorkspaceConfig, type StormWorkspaceConfigInput };
|
|
46
|
+
export { COLOR_KEYS, type Colors, type ColorsInput, type ColorsMap, type ColorsMapInput, type DarkThemeColors, type DarkThemeColorsInput, type LightThemeColors, type LightThemeColorsInput, type MultiThemeColors, type MultiThemeColorsInput, type OrganizationConfig, type OrganizationConfigInput, type SingleThemeColors, type SingleThemeColorsInput, type StormConfig, type StormWorkspaceConfig, type StormWorkspaceConfigInput, type Variant, type VariantInput };
|
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
|
-
import { workspaceConfigSchema, darkColorsSchema, lightColorsSchema, multiColorsSchema, singleColorsSchema, colorsSchema, themeColorsSchema, organizationSchema } from './schema.js';
|
|
2
|
+
import { workspaceConfigSchema, darkColorsSchema, lightColorsSchema, multiColorsSchema, singleColorsSchema, colorsSchema, themeColorsSchema, organizationSchema, variantSchema } from './schema.js';
|
|
3
3
|
import 'zod/mini';
|
|
4
4
|
|
|
5
5
|
type DarkThemeColors = z.infer<typeof darkColorsSchema>;
|
|
@@ -16,6 +16,8 @@ type ColorsMap = z.infer<typeof themeColorsSchema>;
|
|
|
16
16
|
type ColorsMapInput = z.input<typeof themeColorsSchema>;
|
|
17
17
|
type OrganizationConfig = z.infer<typeof organizationSchema>;
|
|
18
18
|
type OrganizationConfigInput = z.input<typeof organizationSchema>;
|
|
19
|
+
type Variant = z.infer<typeof variantSchema>;
|
|
20
|
+
type VariantInput = z.input<typeof variantSchema>;
|
|
19
21
|
type TStormWorkspaceConfig = z.infer<typeof workspaceConfigSchema>;
|
|
20
22
|
type StormWorkspaceConfigInput = z.input<typeof workspaceConfigSchema>;
|
|
21
23
|
/**
|
|
@@ -41,4 +43,4 @@ type StormConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"
|
|
|
41
43
|
type StormWorkspaceConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = StormConfig<TExtensionName, TExtensionConfig>;
|
|
42
44
|
declare const COLOR_KEYS: string[];
|
|
43
45
|
|
|
44
|
-
export { COLOR_KEYS, type Colors, type ColorsInput, type ColorsMap, type ColorsMapInput, type DarkThemeColors, type DarkThemeColorsInput, type LightThemeColors, type LightThemeColorsInput, type MultiThemeColors, type MultiThemeColorsInput, type OrganizationConfig, type OrganizationConfigInput, type SingleThemeColors, type SingleThemeColorsInput, type StormConfig, type StormWorkspaceConfig, type StormWorkspaceConfigInput };
|
|
46
|
+
export { COLOR_KEYS, type Colors, type ColorsInput, type ColorsMap, type ColorsMapInput, type DarkThemeColors, type DarkThemeColorsInput, type LightThemeColors, type LightThemeColorsInput, type MultiThemeColors, type MultiThemeColorsInput, type OrganizationConfig, type OrganizationConfigInput, type SingleThemeColors, type SingleThemeColorsInput, type StormConfig, type StormWorkspaceConfig, type StormWorkspaceConfigInput, type Variant, type VariantInput };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/config",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.129.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Configuration management tools and schemas for Storm Software projects, providing a standardized approach to handle project settings and presets.",
|
|
6
6
|
"repository": {
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"types": "./dist/index.d.ts",
|
|
87
87
|
"devDependencies": { "tsup": "8.4.0", "zod": "^4.0.2" },
|
|
88
88
|
"publishConfig": { "access": "public" },
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "bd2cceced6f34cd309c7a8cf92fca76621c40470"
|
|
90
90
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://public.storm-cdn.com/schemas/storm-workspace.schema.json",
|
|
3
|
+
"variant": "monorepo",
|
|
3
4
|
"organization": {
|
|
4
5
|
"name": "storm-software",
|
|
5
6
|
"description": "An open source software development organization and the creator of the Stryke utilities, Storm Stack, Cyclone UI, Acidic, and Storm Cloud.",
|
|
@@ -25,6 +25,12 @@
|
|
|
25
25
|
"type": "string",
|
|
26
26
|
"description": "The name of the workspace/project/service/package/scope using this configuration"
|
|
27
27
|
},
|
|
28
|
+
"variant": {
|
|
29
|
+
"default": "monorepo",
|
|
30
|
+
"description": "The variant of the workspace. This can be used to enable or disable certain features or configurations.",
|
|
31
|
+
"type": "string",
|
|
32
|
+
"enum": ["minimal", "monorepo"]
|
|
33
|
+
},
|
|
28
34
|
"namespace": {
|
|
29
35
|
"type": "string",
|
|
30
36
|
"description": "The namespace of the workspace/project/service/package/scope using this configuration"
|
|
@@ -1253,6 +1259,7 @@
|
|
|
1253
1259
|
"required": [
|
|
1254
1260
|
"$schema",
|
|
1255
1261
|
"name",
|
|
1262
|
+
"variant",
|
|
1256
1263
|
"namespace",
|
|
1257
1264
|
"organization",
|
|
1258
1265
|
"repository",
|
package/src/define-config.d.ts
CHANGED
|
@@ -154,6 +154,7 @@ export declare const defineConfig: (input: StormWorkspaceConfigInput) => {
|
|
|
154
154
|
}>;
|
|
155
155
|
$schema?: string | undefined;
|
|
156
156
|
extends?: string | string[] | undefined;
|
|
157
|
+
variant?: "minimal" | "monorepo" | undefined;
|
|
157
158
|
license?: string | undefined;
|
|
158
159
|
homepage?: string | undefined;
|
|
159
160
|
docs?: string | undefined;
|
package/src/schema.d.ts
CHANGED
|
@@ -267,6 +267,10 @@ export declare const workspaceDirectorySchema: z.ZodMiniObject<{
|
|
|
267
267
|
log: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
268
268
|
build: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
269
269
|
}, z.core.$strip>;
|
|
270
|
+
export declare const variantSchema: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
271
|
+
minimal: "minimal";
|
|
272
|
+
monorepo: "monorepo";
|
|
273
|
+
}>>;
|
|
270
274
|
export declare const errorCodesFileSchema: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
271
275
|
export declare const errorUrlSchema: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
272
276
|
export declare const errorSchema: z.ZodMiniObject<{
|
|
@@ -334,6 +338,10 @@ export declare const workspaceConfigSchema: z.ZodMiniObject<{
|
|
|
334
338
|
$schema: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
335
339
|
extends: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
336
340
|
name: z.ZodMiniString<string>;
|
|
341
|
+
variant: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
342
|
+
minimal: "minimal";
|
|
343
|
+
monorepo: "monorepo";
|
|
344
|
+
}>>;
|
|
337
345
|
namespace: z.ZodMiniString<string>;
|
|
338
346
|
organization: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
339
347
|
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
package/src/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
|
-
import type { colorsSchema, darkColorsSchema, lightColorsSchema, multiColorsSchema, organizationSchema, singleColorsSchema, themeColorsSchema, workspaceConfigSchema } from "./schema";
|
|
2
|
+
import type { colorsSchema, darkColorsSchema, lightColorsSchema, multiColorsSchema, organizationSchema, singleColorsSchema, themeColorsSchema, variantSchema, workspaceConfigSchema } from "./schema";
|
|
3
3
|
export type DarkThemeColors = z.infer<typeof darkColorsSchema>;
|
|
4
4
|
export type DarkThemeColorsInput = z.input<typeof darkColorsSchema>;
|
|
5
5
|
export type LightThemeColors = z.infer<typeof lightColorsSchema>;
|
|
@@ -14,6 +14,8 @@ export type ColorsMap = z.infer<typeof themeColorsSchema>;
|
|
|
14
14
|
export type ColorsMapInput = z.input<typeof themeColorsSchema>;
|
|
15
15
|
export type OrganizationConfig = z.infer<typeof organizationSchema>;
|
|
16
16
|
export type OrganizationConfigInput = z.input<typeof organizationSchema>;
|
|
17
|
+
export type Variant = z.infer<typeof variantSchema>;
|
|
18
|
+
export type VariantInput = z.input<typeof variantSchema>;
|
|
17
19
|
type TStormWorkspaceConfig = z.infer<typeof workspaceConfigSchema>;
|
|
18
20
|
export type StormWorkspaceConfigInput = z.input<typeof workspaceConfigSchema>;
|
|
19
21
|
/**
|
package/dist/chunk-ESPZFBRQ.cjs
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
'use strict';var chunkUODLXUQT_cjs=require('./chunk-UODLXUQT.cjs'),chunk4VDLQK6F_cjs=require('./chunk-4VDLQK6F.cjs');function l(e,t,r){function o(u,p){var h;Object.defineProperty(u,"_zod",{value:u._zod??{},enumerable:false}),(h=u._zod).traits??(h.traits=new Set),u._zod.traits.add(e),t(u,p);for(let v in c.prototype)v in u||Object.defineProperty(u,v,{value:c.prototype[v].bind(u)});u._zod.constr=c,u._zod.def=p;}let n=r?.Parent??Object;class i extends n{}Object.defineProperty(i,"name",{value:e});function c(u){var p;let h=r?.Parent?new i:this;o(h,u),(p=h._zod).deferred??(p.deferred=[]);for(let v of h._zod.deferred)v();return h}return Object.defineProperty(c,"init",{value:o}),Object.defineProperty(c,Symbol.hasInstance,{value:u=>r?.Parent&&u instanceof r.Parent?true:u?._zod?.traits?.has(e)}),Object.defineProperty(c,"name",{value:e}),c}var j=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.");}},te={};function R(e){return te}var Z={};chunk4VDLQK6F_cjs.a(Z,{BIGINT_FORMAT_RANGES:()=>nt,Class:()=>ke,NUMBER_FORMAT_RANGES:()=>ot,aborted:()=>J,allowsEval:()=>Me,assert:()=>eo,assertEqual:()=>Xr,assertIs:()=>Hr,assertNever:()=>Qr,assertNotEqual:()=>Yr,assignProp:()=>Te,cached:()=>re,captureStackTrace:()=>oe,cleanEnum:()=>ho,cleanRegex:()=>G,clone:()=>C,createTransparentProxy:()=>co,defineLazy:()=>S,esc:()=>D,escapeRegex:()=>K,extend:()=>po,finalizeIssue:()=>L,floatSafeRemainder:()=>et,getElementAtPath:()=>ro,getEnumValues:()=>ye,getLengthableOrigin:()=>Ce,getParsedType:()=>so,getSizableOrigin:()=>it,isObject:()=>W,isPlainObject:()=>ne,issue:()=>st,joinValues:()=>to,jsonStringifyReplacer:()=>Se,merge:()=>lo,normalizeParams:()=>U,nullish:()=>Pe,numKeys:()=>io,omit:()=>ao,optionalKeys:()=>Ee,partial:()=>mo,pick:()=>uo,prefixIssues:()=>A,primitiveTypes:()=>tt,promiseAllObject:()=>oo,propertyKeyTypes:()=>Ie,randomString:()=>no,required:()=>fo,stringifyPrimitive:()=>rt,unwrapMessage:()=>V});function Xr(e){return e}function Yr(e){return e}function Hr(e){}function Qr(e){throw new Error}function eo(e){}function ye(e){let t=Object.values(e).filter(o=>typeof o=="number");return Object.entries(e).filter(([o,n])=>t.indexOf(+o)===-1).map(([o,n])=>n)}function to(e,t="|"){return e.map(r=>rt(r)).join(t)}function Se(e,t){return typeof t=="bigint"?t.toString():t}function re(e){return {get value(){{let r=e();return Object.defineProperty(this,"value",{value:r}),r}}}}function Pe(e){return e==null}function G(e){let t=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}function et(e,t){let r=(e.toString().split(".")[1]||"").length,o=(t.toString().split(".")[1]||"").length,n=r>o?r:o,i=Number.parseInt(e.toFixed(n).replace(".","")),c=Number.parseInt(t.toFixed(n).replace(".",""));return i%c/10**n}function S(e,t,r){Object.defineProperty(e,t,{get(){{let n=r();return e[t]=n,n}},set(n){Object.defineProperty(e,t,{value:n});},configurable:true});}function Te(e,t,r){Object.defineProperty(e,t,{value:r,writable:true,enumerable:true,configurable:true});}function ro(e,t){return t?t.reduce((r,o)=>r?.[o],e):e}function oo(e){let t=Object.keys(e),r=t.map(o=>e[o]);return Promise.all(r).then(o=>{let n={};for(let i=0;i<t.length;i++)n[t[i]]=o[i];return n})}function no(e=10){let t="abcdefghijklmnopqrstuvwxyz",r="";for(let o=0;o<e;o++)r+=t[Math.floor(Math.random()*t.length)];return r}function D(e){return JSON.stringify(e)}var oe=Error.captureStackTrace?Error.captureStackTrace:(...e)=>{};function W(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}var Me=re(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return false;try{let e=Function;return new e(""),!0}catch{return false}});function ne(e){if(W(e)===false)return false;let t=e.constructor;if(t===void 0)return true;let r=t.prototype;return !(W(r)===false||Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")===false)}function io(e){let t=0;for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&t++;return t}var so=e=>{let t=typeof e;switch(t){case "undefined":return "undefined";case "string":return "string";case "number":return Number.isNaN(e)?"nan":"number";case "boolean":return "boolean";case "function":return "function";case "bigint":return "bigint";case "symbol":return "symbol";case "object":return Array.isArray(e)?"array":e===null?"null":e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?"promise":typeof Map<"u"&&e instanceof Map?"map":typeof Set<"u"&&e instanceof Set?"set":typeof Date<"u"&&e instanceof Date?"date":typeof File<"u"&&e instanceof File?"file":"object";default:throw new Error(`Unknown data type: ${t}`)}},Ie=new Set(["string","number","symbol"]),tt=new Set(["string","number","bigint","boolean","symbol","undefined"]);function K(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function C(e,t,r){let o=new e._zod.constr(t??e._zod.def);return (!t||r?.parent)&&(o._zod.parent=e),o}function U(e){let t=e;if(!t)return {};if(typeof t=="string")return {error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message;}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function co(e){let t;return new Proxy({},{get(r,o,n){return t??(t=e()),Reflect.get(t,o,n)},set(r,o,n,i){return t??(t=e()),Reflect.set(t,o,n,i)},has(r,o){return t??(t=e()),Reflect.has(t,o)},deleteProperty(r,o){return t??(t=e()),Reflect.deleteProperty(t,o)},ownKeys(r){return t??(t=e()),Reflect.ownKeys(t)},getOwnPropertyDescriptor(r,o){return t??(t=e()),Reflect.getOwnPropertyDescriptor(t,o)},defineProperty(r,o,n){return t??(t=e()),Reflect.defineProperty(t,o,n)}})}function rt(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function Ee(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}var ot={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},nt={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function uo(e,t){let r={},o=e._zod.def;for(let n in t){if(!(n in o.shape))throw new Error(`Unrecognized key: "${n}"`);t[n]&&(r[n]=o.shape[n]);}return C(e,{...e._zod.def,shape:r,checks:[]})}function ao(e,t){let r={...e._zod.def.shape},o=e._zod.def;for(let n in t){if(!(n in o.shape))throw new Error(`Unrecognized key: "${n}"`);t[n]&&delete r[n];}return C(e,{...e._zod.def,shape:r,checks:[]})}function po(e,t){if(!ne(t))throw new Error("Invalid input to extend: expected a plain object");let r={...e._zod.def,get shape(){let o={...e._zod.def.shape,...t};return Te(this,"shape",o),o},checks:[]};return C(e,r)}function lo(e,t){return C(e,{...e._zod.def,get shape(){let r={...e._zod.def.shape,...t._zod.def.shape};return Te(this,"shape",r),r},catchall:t._zod.def.catchall,checks:[]})}function mo(e,t,r){let o=t._zod.def.shape,n={...o};if(r)for(let i in r){if(!(i in o))throw new Error(`Unrecognized key: "${i}"`);r[i]&&(n[i]=e?new e({type:"optional",innerType:o[i]}):o[i]);}else for(let i in o)n[i]=e?new e({type:"optional",innerType:o[i]}):o[i];return C(t,{...t._zod.def,shape:n,checks:[]})}function fo(e,t,r){let o=t._zod.def.shape,n={...o};if(r)for(let i in r){if(!(i in n))throw new Error(`Unrecognized key: "${i}"`);r[i]&&(n[i]=new e({type:"nonoptional",innerType:o[i]}));}else for(let i in o)n[i]=new e({type:"nonoptional",innerType:o[i]});return C(t,{...t._zod.def,shape:n,checks:[]})}function J(e,t=0){for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue!==true)return true;return false}function A(e,t){return t.map(r=>{var o;return (o=r).path??(o.path=[]),r.path.unshift(e),r})}function V(e){return typeof e=="string"?e:e?.message}function L(e,t,r){let o={...e,path:e.path??[]};if(!e.message){let n=V(e.inst?._zod.def?.error?.(e))??V(t?.error?.(e))??V(r.customError?.(e))??V(r.localeError?.(e))??"Invalid input";o.message=n;}return delete o.inst,delete o.continue,t?.reportInput||delete o.input,o}function it(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function Ce(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function st(...e){let[t,r,o]=e;return typeof t=="string"?{message:t,code:"custom",input:r,inst:o}:{...t}}function ho(e){return Object.entries(e).filter(([t,r])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}var ke=class{constructor(...t){}};var ct=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:false}),Object.defineProperty(e,"issues",{value:t,enumerable:false}),Object.defineProperty(e,"message",{get(){return JSON.stringify(t,Se,2)},enumerable:true}),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:false});},ut=l("$ZodError",ct),q=l("$ZodError",ct,{Parent:Error});var _o=e=>(t,r,o,n)=>{let i=o?Object.assign(o,{async:false}):{async:false},c=t._zod.run({value:r,issues:[]},i);if(c instanceof Promise)throw new j;if(c.issues.length){let u=new(n?.Err??e)(c.issues.map(p=>L(p,i,R())));throw oe(u,n?.callee),u}return c.value},Ae=_o(q),zo=e=>async(t,r,o,n)=>{let i=o?Object.assign(o,{async:true}):{async:true},c=t._zod.run({value:r,issues:[]},i);if(c instanceof Promise&&(c=await c),c.issues.length){let u=new(n?.Err??e)(c.issues.map(p=>L(p,i,R())));throw oe(u,n?.callee),u}return c.value},Ne=zo(q),xo=e=>(t,r,o)=>{let n=o?{...o,async:false}:{async:false},i=t._zod.run({value:r,issues:[]},n);if(i instanceof Promise)throw new j;return i.issues.length?{success:false,error:new(e??ut)(i.issues.map(c=>L(c,n,R())))}:{success:true,data:i.value}},X=xo(q),vo=e=>async(t,r,o)=>{let n=o?Object.assign(o,{async:true}):{async:true},i=t._zod.run({value:r,issues:[]},n);return i instanceof Promise&&(i=await i),i.issues.length?{success:false,error:new e(i.issues.map(c=>L(c,n,R())))}:{success:true,data:i.value}},Y=vo(q);var at=/^([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+$/;var pt=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)};var lt=/true|false/i;var H=l("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[]);});var dt=l("$ZodCheckLengthEquals",(e,t)=>{var r;H.init(e,t),(r=e._zod.def).when??(r.when=o=>{let n=o.value;return !Pe(n)&&n.length!==void 0}),e._zod.onattach.push(o=>{let n=o._zod.bag;n.minimum=t.length,n.maximum=t.length,n.length=t.length;}),e._zod.check=o=>{let n=o.value,i=n.length;if(i===t.length)return;let c=Ce(n),u=i>t.length;o.issues.push({origin:c,...u?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:true,exact:true,input:o.value,inst:e,continue:!t.abort});};}),Le=l("$ZodCheckStringFormat",(e,t)=>{var r,o;H.init(e,t),e._zod.onattach.push(n=>{let i=n._zod.bag;i.format=t.format,t.pattern&&(i.patterns??(i.patterns=new Set),i.patterns.add(t.pattern));}),t.pattern?(r=e._zod).check??(r.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort});}):(o=e._zod).check??(o.check=()=>{});}),mt=l("$ZodCheckRegex",(e,t)=>{Le.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort});};});var ft=l("$ZodCheckOverwrite",(e,t)=>{H.init(e,t),e._zod.check=r=>{r.value=t.tx(r.value);};});var ie=class{constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t);}indented(t){this.indent+=1,t(this),this.indent-=1;}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}let o=t.split(`
|
|
2
|
-
`).filter(c=>c),n=Math.min(...o.map(c=>c.length-c.trimStart().length)),i=o.map(c=>c.slice(n)).map(c=>" ".repeat(this.indent*2)+c);for(let c of i)this.content.push(c);}compile(){let t=Function,r=this?.args,n=[...(this?.content??[""]).map(i=>` ${i}`)];return new t(...r,n.join(`
|
|
3
|
-
`))}};var gt={major:4,minor:0,patch:5};var y=l("$ZodType",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=gt;let o=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&o.unshift(e);for(let n of o)for(let i of n._zod.onattach)i(e);if(o.length===0)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse;});else {let n=(i,c,u)=>{let p=J(i),h;for(let v of c){if(v._zod.def.when){if(!v._zod.def.when(i))continue}else if(p)continue;let f=i.issues.length,_=v._zod.check(i);if(_ instanceof Promise&&u?.async===false)throw new j;if(h||_ instanceof Promise)h=(h??Promise.resolve()).then(async()=>{await _,i.issues.length!==f&&(p||(p=J(i,f)));});else {if(i.issues.length===f)continue;p||(p=J(i,f));}}return h?h.then(()=>i):i};e._zod.run=(i,c)=>{let u=e._zod.parse(i,c);if(u instanceof Promise){if(c.async===false)throw new j;return u.then(p=>n(p,o,c))}return n(u,o,c)};}e["~standard"]={validate:n=>{try{let i=X(e,n);return i.success?{value:i.data}:{issues:i.error?.issues}}catch{return Y(e,n).then(c=>c.success?{value:c.data}:{issues:c.error?.issues})}},vendor:"zod",version:1};}),je=l("$ZodString",(e,t)=>{y.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??pt(e._zod.bag),e._zod.parse=(r,o)=>{if(t.coerce)try{r.value=String(r.value);}catch{}return typeof r.value=="string"||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:e}),r};}),Oe=l("$ZodStringFormat",(e,t)=>{Le.init(e,t),je.init(e,t);});var $t=l("$ZodURL",(e,t)=>{Oe.init(e,t),e._zod.check=r=>{try{let o=r.value,n=new URL(o),i=n.href;t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(n.hostname)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:at.source,input:r.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(n.protocol.endsWith(":")?n.protocol.slice(0,-1):n.protocol)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort})),!o.endsWith("/")&&i.endsWith("/")?r.value=i.slice(0,-1):r.value=i;return}catch{r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort});}};});var wt=l("$ZodBoolean",(e,t)=>{y.init(e,t),e._zod.pattern=lt,e._zod.parse=(r,o)=>{if(t.coerce)try{r.value=!!r.value;}catch{}let n=r.value;return typeof n=="boolean"||r.issues.push({expected:"boolean",code:"invalid_type",input:n,inst:e}),r};});var bt=l("$ZodAny",(e,t)=>{y.init(e,t),e._zod.parse=r=>r;});function _t(e,t,r){e.issues.length&&t.issues.push(...A(r,e.issues)),t.value[r]=e.value;}var Zt=l("$ZodArray",(e,t)=>{y.init(e,t),e._zod.parse=(r,o)=>{let n=r.value;if(!Array.isArray(n))return r.issues.push({expected:"array",code:"invalid_type",input:n,inst:e}),r;r.value=Array(n.length);let i=[];for(let c=0;c<n.length;c++){let u=n[c],p=t.element._zod.run({value:u,issues:[]},o);p instanceof Promise?i.push(p.then(h=>_t(h,r,c))):_t(p,r,c);}return i.length?Promise.all(i).then(()=>r):r};});function se(e,t,r){e.issues.length&&t.issues.push(...A(r,e.issues)),t.value[r]=e.value;}function zt(e,t,r,o){e.issues.length?o[r]===void 0?r in o?t.value[r]=void 0:t.value[r]=e.value:t.issues.push(...A(r,e.issues)):e.value===void 0?r in o&&(t.value[r]=void 0):t.value[r]=e.value;}var kt=l("$ZodObject",(e,t)=>{y.init(e,t);let r=re(()=>{let f=Object.keys(t.shape);for(let z of f)if(!(t.shape[z]instanceof y))throw new Error(`Invalid element at key "${z}": expected a Zod schema`);let _=Ee(t.shape);return {shape:t.shape,keys:f,keySet:new Set(f),numKeys:f.length,optionalKeys:new Set(_)}});S(e._zod,"propValues",()=>{let f=t.shape,_={};for(let z in f){let I=f[z]._zod;if(I.values){_[z]??(_[z]=new Set);for(let N of I.values)_[z].add(N);}}return _});let o=f=>{let _=new ie(["shape","payload","ctx"]),z=r.value,I=w=>{let x=D(w);return `shape[${x}]._zod.run({ value: input[${x}], issues: [] }, ctx)`};_.write("const input = payload.value;");let N=Object.create(null),be=0;for(let w of z.keys)N[w]=`key_${be++}`;_.write("const newResult = {}");for(let w of z.keys)if(z.optionalKeys.has(w)){let x=N[w];_.write(`const ${x} = ${I(w)};`);let $=D(w);_.write(`
|
|
4
|
-
if (${x}.issues.length) {
|
|
5
|
-
if (input[${$}] === undefined) {
|
|
6
|
-
if (${$} in input) {
|
|
7
|
-
newResult[${$}] = undefined;
|
|
8
|
-
}
|
|
9
|
-
} else {
|
|
10
|
-
payload.issues = payload.issues.concat(
|
|
11
|
-
${x}.issues.map((iss) => ({
|
|
12
|
-
...iss,
|
|
13
|
-
path: iss.path ? [${$}, ...iss.path] : [${$}],
|
|
14
|
-
}))
|
|
15
|
-
);
|
|
16
|
-
}
|
|
17
|
-
} else if (${x}.value === undefined) {
|
|
18
|
-
if (${$} in input) newResult[${$}] = undefined;
|
|
19
|
-
} else {
|
|
20
|
-
newResult[${$}] = ${x}.value;
|
|
21
|
-
}
|
|
22
|
-
`);}else {let x=N[w];_.write(`const ${x} = ${I(w)};`),_.write(`
|
|
23
|
-
if (${x}.issues.length) payload.issues = payload.issues.concat(${x}.issues.map(iss => ({
|
|
24
|
-
...iss,
|
|
25
|
-
path: iss.path ? [${D(w)}, ...iss.path] : [${D(w)}]
|
|
26
|
-
})));`),_.write(`newResult[${D(w)}] = ${x}.value`);}_.write("payload.value = newResult;"),_.write("return payload;");let Q=_.compile();return (w,x)=>Q(f,w,x)},n,i=W,c=!te.jitless,p=c&&Me.value,h=t.catchall,v;e._zod.parse=(f,_)=>{v??(v=r.value);let z=f.value;if(!i(z))return f.issues.push({expected:"object",code:"invalid_type",input:z,inst:e}),f;let I=[];if(c&&p&&_?.async===false&&_.jitless!==true)n||(n=o(t.shape)),f=n(f,_);else {f.value={};let x=v.shape;for(let $ of v.keys){let B=x[$],ee=B._zod.run({value:z[$],issues:[]},_),Xe=B._zod.optin==="optional"&&B._zod.optout==="optional";ee instanceof Promise?I.push(ee.then(Ye=>Xe?zt(Ye,f,$,z):se(Ye,f,$))):Xe?zt(ee,f,$,z):se(ee,f,$);}}if(!h)return I.length?Promise.all(I).then(()=>f):f;let N=[],be=v.keySet,Q=h._zod,w=Q.def.type;for(let x of Object.keys(z)){if(be.has(x))continue;if(w==="never"){N.push(x);continue}let $=Q.run({value:z[x],issues:[]},_);$ instanceof Promise?I.push($.then(B=>se(B,f,x))):se($,f,x);}return N.length&&f.issues.push({code:"unrecognized_keys",keys:N,input:z,inst:e}),I.length?Promise.all(I).then(()=>f):f};});function xt(e,t,r,o){for(let n of e)if(n.issues.length===0)return t.value=n.value,t;return t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(n=>n.issues.map(i=>L(i,o,R())))}),t}var yt=l("$ZodUnion",(e,t)=>{y.init(e,t),S(e._zod,"optin",()=>t.options.some(r=>r._zod.optin==="optional")?"optional":void 0),S(e._zod,"optout",()=>t.options.some(r=>r._zod.optout==="optional")?"optional":void 0),S(e._zod,"values",()=>{if(t.options.every(r=>r._zod.values))return new Set(t.options.flatMap(r=>Array.from(r._zod.values)))}),S(e._zod,"pattern",()=>{if(t.options.every(r=>r._zod.pattern)){let r=t.options.map(o=>o._zod.pattern);return new RegExp(`^(${r.map(o=>G(o.source)).join("|")})$`)}}),e._zod.parse=(r,o)=>{let n=false,i=[];for(let c of t.options){let u=c._zod.run({value:r.value,issues:[]},o);if(u instanceof Promise)i.push(u),n=true;else {if(u.issues.length===0)return u;i.push(u);}}return n?Promise.all(i).then(c=>xt(c,r,e,o)):xt(i,r,e,o)};});var St=l("$ZodRecord",(e,t)=>{y.init(e,t),e._zod.parse=(r,o)=>{let n=r.value;if(!ne(n))return r.issues.push({expected:"record",code:"invalid_type",input:n,inst:e}),r;let i=[];if(t.keyType._zod.values){let c=t.keyType._zod.values;r.value={};for(let p of c)if(typeof p=="string"||typeof p=="number"||typeof p=="symbol"){let h=t.valueType._zod.run({value:n[p],issues:[]},o);h instanceof Promise?i.push(h.then(v=>{v.issues.length&&r.issues.push(...A(p,v.issues)),r.value[p]=v.value;})):(h.issues.length&&r.issues.push(...A(p,h.issues)),r.value[p]=h.value);}let u;for(let p in n)c.has(p)||(u=u??[],u.push(p));u&&u.length>0&&r.issues.push({code:"unrecognized_keys",input:n,inst:e,keys:u});}else {r.value={};for(let c of Reflect.ownKeys(n)){if(c==="__proto__")continue;let u=t.keyType._zod.run({value:c,issues:[]},o);if(u instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(u.issues.length){r.issues.push({origin:"record",code:"invalid_key",issues:u.issues.map(h=>L(h,o,R())),input:c,path:[c],inst:e}),r.value[u.value]=u.value;continue}let p=t.valueType._zod.run({value:n[c],issues:[]},o);p instanceof Promise?i.push(p.then(h=>{h.issues.length&&r.issues.push(...A(c,h.issues)),r.value[u.value]=h.value;})):(p.issues.length&&r.issues.push(...A(c,p.issues)),r.value[u.value]=p.value);}}return i.length?Promise.all(i).then(()=>r):r};});var Pt=l("$ZodEnum",(e,t)=>{y.init(e,t);let r=ye(t.entries);e._zod.values=new Set(r),e._zod.pattern=new RegExp(`^(${r.filter(o=>Ie.has(typeof o)).map(o=>typeof o=="string"?K(o):o.toString()).join("|")})$`),e._zod.parse=(o,n)=>{let i=o.value;return e._zod.values.has(i)||o.issues.push({code:"invalid_value",values:r,input:i,inst:e}),o};}),Tt=l("$ZodLiteral",(e,t)=>{y.init(e,t),e._zod.values=new Set(t.values),e._zod.pattern=new RegExp(`^(${t.values.map(r=>typeof r=="string"?K(r):r?r.toString():String(r)).join("|")})$`),e._zod.parse=(r,o)=>{let n=r.value;return e._zod.values.has(n)||r.issues.push({code:"invalid_value",values:t.values,input:n,inst:e}),r};});var Mt=l("$ZodOptional",(e,t)=>{y.init(e,t),e._zod.optin="optional",e._zod.optout="optional",S(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),S(e._zod,"pattern",()=>{let r=t.innerType._zod.pattern;return r?new RegExp(`^(${G(r.source)})?$`):void 0}),e._zod.parse=(r,o)=>t.innerType._zod.optin==="optional"?t.innerType._zod.run(r,o):r.value===void 0?r:t.innerType._zod.run(r,o);}),It=l("$ZodNullable",(e,t)=>{y.init(e,t),S(e._zod,"optin",()=>t.innerType._zod.optin),S(e._zod,"optout",()=>t.innerType._zod.optout),S(e._zod,"pattern",()=>{let r=t.innerType._zod.pattern;return r?new RegExp(`^(${G(r.source)}|null)$`):void 0}),S(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(r,o)=>r.value===null?r:t.innerType._zod.run(r,o);}),Et=l("$ZodDefault",(e,t)=>{y.init(e,t),e._zod.optin="optional",S(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,o)=>{if(r.value===void 0)return r.value=t.defaultValue,r;let n=t.innerType._zod.run(r,o);return n instanceof Promise?n.then(i=>vt(i,t)):vt(n,t)};});function vt(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var De=class{constructor(){this._map=new Map,this._idmap=new Map;}add(t,...r){let o=r[0];if(this._map.set(t,o),o&&typeof o=="object"&&"id"in o){if(this._idmap.has(o.id))throw new Error(`ID ${o.id} already exists in the registry`);this._idmap.set(o.id,t);}return this}clear(){return this._map=new Map,this._idmap=new Map,this}remove(t){let r=this._map.get(t);return r&&typeof r=="object"&&"id"in r&&this._idmap.delete(r.id),this._map.delete(t),this}get(t){let r=t._zod.parent;if(r){let o={...this.get(r)??{}};return delete o.id,{...o,...this._map.get(t)}}return this._map.get(t)}has(t){return this._map.has(t)}};function Ue(){return new De}function Ct(e,t){return new e({type:"string",...U(t)})}function At(e,t){return new e({type:"string",format:"url",check:"string_format",abort:false,...U(t)})}function Nt(e,t){return new e({type:"boolean",...U(t)})}function Rt(e){return new e({type:"any"})}function Fe(e,t){return new dt({check:"length_equals",...U(t),length:e})}function Be(e,t){return new mt({check:"string_format",format:"regex",...U(t),pattern:e})}function Ve(e){return new ft({check:"overwrite",tx:e})}function d(){return Ve(e=>e.trim())}function P(){return Ve(e=>e.toLowerCase())}var E=l("ZodMiniType",(e,t)=>{if(!e._zod)throw new Error("Uninitialized schema in ZodMiniType.");y.init(e,t),e.def=t,e.parse=(r,o)=>Ae(e,r,o,{callee:e.parse}),e.safeParse=(r,o)=>X(e,r,o),e.parseAsync=async(r,o)=>Ne(e,r,o,{callee:e.parseAsync}),e.safeParseAsync=async(r,o)=>Y(e,r,o),e.check=(...r)=>e.clone({...t,checks:[...t.checks??[],...r.map(o=>typeof o=="function"?{_zod:{check:o,def:{check:"custom"},onattach:[]}}:o)]}),e.clone=(r,o)=>C(e,r,o),e.brand=()=>e,e.register=((r,o)=>(r.add(e,o),e));}),jt=l("ZodMiniString",(e,t)=>{je.init(e,t),E.init(e,t);});function a(e){return Ct(jt,e)}var So=l("ZodMiniStringFormat",(e,t)=>{Oe.init(e,t),jt.init(e,t);});var Po=l("ZodMiniURL",(e,t)=>{$t.init(e,t),So.init(e,t);});function T(e){return At(Po,e)}var To=l("ZodMiniBoolean",(e,t)=>{wt.init(e,t),E.init(e,t);});function We(e){return Nt(To,e)}var Mo=l("ZodMiniAny",(e,t)=>{bt.init(e,t),E.init(e,t);});function Ot(){return Rt(Mo)}var Io=l("ZodMiniArray",(e,t)=>{Zt.init(e,t),E.init(e,t);});function Ge(e,t){return new Io({type:"array",element:e,...Z.normalizeParams(t)})}var Eo=l("ZodMiniObject",(e,t)=>{kt.init(e,t),E.init(e,t),Z.defineLazy(e,"shape",()=>t.shape);});function M(e,t){let r={type:"object",get shape(){return Z.assignProp(this,"shape",{...e}),this.shape},...Z.normalizeParams(t)};return new Eo(r)}var Co=l("ZodMiniUnion",(e,t)=>{yt.init(e,t),E.init(e,t);});function O(e,t){return new Co({type:"union",options:e,...Z.normalizeParams(t)})}var Ao=l("ZodMiniRecord",(e,t)=>{St.init(e,t),E.init(e,t);});function Ke(e,t,r){return new Ao({type:"record",keyType:e,valueType:t,...Z.normalizeParams(r)})}var No=l("ZodMiniEnum",(e,t)=>{Pt.init(e,t),E.init(e,t);});function ce(e,t){let r=Array.isArray(e)?Object.fromEntries(e.map(o=>[o,o])):e;return new No({type:"enum",entries:r,...Z.normalizeParams(t)})}var Ro=l("ZodMiniLiteral",(e,t)=>{Tt.init(e,t),E.init(e,t);});function Dt(e,t){return new Ro({type:"literal",values:Array.isArray(e)?e:[e],...Z.normalizeParams(t)})}var Lo=l("ZodMiniOptional",(e,t)=>{Mt.init(e,t),E.init(e,t);});function m(e){return new Lo({type:"optional",innerType:e})}var jo=l("ZodMiniNullable",(e,t)=>{It.init(e,t),E.init(e,t);});function Ut(e){return new jo({type:"nullable",innerType:e})}var Oo=l("ZodMiniDefault",(e,t)=>{Et.init(e,t),E.init(e,t);});function g(e,t){return new Oo({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():t}})}var s=Ue(),k=a().check(Fe(7),P(),Be(/^#([0-9a-f]{3}){1,2}$/i),d());s.add(k,{description:"A base schema for describing the format of colors"});var ue=g(k,"#151718");s.add(ue,{description:"The dark background color of the workspace"});var ae=g(k,"#cbd5e1");s.add(ae,{description:"The light background color of the workspace"});var pe=g(k,"#1fb2a6");s.add(pe,{description:"The primary brand specific color of the workspace"});var le=m(k);s.add(le,{description:"The alternate brand specific color of the workspace"});var de=m(k);s.add(de,{description:"The secondary brand specific color of the workspace"});var me=g(k,"#3fa6ff");s.add(me,{description:"The color used to display hyperlink text"});var fe=g(k,"#818cf8");s.add(fe,{description:"The second brand specific color of the workspace"});var he=g(k,"#45b27e");s.add(he,{description:"The success color of the workspace"});var ge=g(k,"#38bdf8");s.add(ge,{description:"The informational color of the workspace"});var _e=g(k,"#f3d371");s.add(_e,{description:"The warning color of the workspace"});var ze=g(k,"#d8314a");s.add(ze,{description:"The danger color of the workspace"});var xe=m(k);s.add(xe,{description:"The fatal color of the workspace"});var ve=g(k,"#4ade80");s.add(ve,{description:"The positive number color of the workspace"});var $e=g(k,"#ef4444");s.add($e,{description:"The negative number color of the workspace"});var we=m(Ge(k));s.add(we,{description:"The color stops for the base gradient color pattern used in the workspace"});var Fo=M({foreground:ae,background:ue,brand:pe,alternate:le,accent:de,link:me,help:fe,success:he,info:ge,warning:_e,danger:ze,fatal:xe,positive:ve,negative:$e,gradient:we}),Bo=M({foreground:ue,background:ae,brand:pe,alternate:le,accent:de,link:me,help:fe,success:he,info:ge,warning:_e,danger:ze,fatal:xe,positive:ve,negative:$e,gradient:we}),Vo=M({dark:Fo,light:Bo}),Wo=M({dark:ue,light:ae,brand:pe,alternate:le,accent:de,link:me,help:fe,success:he,info:ge,warning:_e,danger:ze,fatal:xe,positive:ve,negative:$e,gradient:we}),F=m(T());s.add(F,{description:"A remote registry URL used to publish distributable packages"});var Ft=g(M({github:F,npm:F,cargo:F,cyclone:F,container:F}),{});s.add(Ft,{description:"A list of remote registry URLs used by Storm Software"});var Je=O([Wo,Vo]);s.add(Je,{description:"Colors used for various workspace elements"});var Bt=Ke(O([O([Dt("base"),a()]),a()]),Je);s.add(Bt,{description:"Storm theme config values used for styling various package elements"});var Vt=m(O([a().check(d()),Ge(a().check(d()))]));s.add(Vt,{description:"The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration."});var Wt=a().check(d());s.add(Wt,{description:"The workspace bot user's name (this is the bot that will be used to perform various tasks)"});var Gt=a().check(d());s.add(Gt,{description:"The email of the workspace bot"});var Kt=M({name:Wt,email:Gt});s.add(Kt,{description:"The workspace's bot user's config used to automated various operations tasks"});var Jt=m(a().check(d(),T()));s.add(Jt,{description:"A URL to a banner image used to display the workspace's release"});var qt=g(a().check(d()),chunkUODLXUQT_cjs.p);s.add(qt,{description:"The alt text for the workspace's release banner image"});var Xt=M({url:Jt,alt:qt});s.add(Xt,{description:"The workspace's banner image used during the release process"});var Yt=m(a().check(d()));s.add(Yt,{description:"A header message appended to the start of the workspace's release notes"});var Ht=m(a().check(d()));s.add(Ht,{description:"A footer message appended to the end of the workspace's release notes"});var Qt=M({banner:O([Xt,a().check(d(),T())]),header:Yt,footer:Ht});s.add(Qt,{description:"The workspace's release config used during the release process"});var er=m(a().check(d()));s.add(er,{description:"A Twitter/X account associated with the organization/project"});var tr=m(a().check(d()));s.add(tr,{description:"A Discord account associated with the organization/project"});var rr=m(a().check(d()));s.add(rr,{description:"A Telegram account associated with the organization/project"});var or=m(a().check(d()));s.add(or,{description:"A Slack account associated with the organization/project"});var nr=m(a().check(d()));s.add(nr,{description:"A Medium account associated with the organization/project"});var ir=m(a().check(d()));s.add(ir,{description:"A GitHub account associated with the organization/project"});var sr=M({twitter:er,discord:tr,telegram:rr,slack:or,medium:nr,github:ir});s.add(sr,{description:"The workspace's account config used to store various social media links"});var cr=m(a().check(d()));s.add(cr,{description:"The directory used to store the environment's cached file data"});var ur=m(a().check(d()));s.add(ur,{description:"The directory used to store the environment's data files"});var ar=m(a().check(d()));s.add(ar,{description:"The directory used to store the environment's configuration files"});var pr=m(a().check(d()));s.add(pr,{description:"The directory used to store the environment's temp files"});var lr=m(a().check(d()));s.add(lr,{description:"The directory used to store the environment's log files"});var dr=g(a().check(d()),"dist");s.add(dr,{description:"The directory used to store the workspace's distributable files after a build (relative to the workspace root)"});var mr=M({cache:cr,data:ur,config:ar,temp:pr,log:lr,build:dr});s.add(mr,{description:"Various directories used by the workspace to store data, cache, and configuration files"});var fr=g(a().check(d()),chunkUODLXUQT_cjs.o);s.add(fr,{description:"The path to the workspace's error codes JSON file"});var hr=m(T());s.add(hr,{description:"A URL to a page that looks up the workspace's error messages given a specific error code"});var gr=M({codesFile:fr,url:hr});s.add(gr,{description:"The workspace's error config used when creating error details during a system error"});var _r=m(a().check(d(),P()));s.add(_r,{description:"The name of the organization"});var zr=m(a().check(d()));s.add(zr,{description:"A description of the organization"});var xr=m(T());s.add(xr,{description:"A URL to the organization's logo image"});var vr=m(T());s.add(vr,{description:"A URL to the organization's icon image"});var $r=m(T());s.add($r,{description:"A URL to a page that provides more information about the organization"});var wr=M({name:_r,description:zr,logo:xr,icon:vr,url:$r});s.add(wr,{description:"The workspace's organization details"});var br=g(a().check(d(),P()),"https://public.storm-cdn.com/schemas/storm-workspace.schema.json");s.add(br,{description:"The URL or file path to the JSON schema file that describes the Storm configuration file"});var Zr=a().check(d(),P());s.add(Zr,{description:"The name of the workspace/project/service/package/scope using this configuration"});var kr=a().check(d(),P());s.add(kr,{description:"The namespace of the workspace/project/service/package/scope using this configuration"});var yr=O([wr,a().check(d(),P())]);s.add(yr,{description:"The organization of the workspace. This can be a string or an object containing the organization's details"});var Sr=a().check(d(),P());s.add(Sr,{description:"The repo URL of the workspace (i.e. the GitHub repository URL)"});var Pr=g(a().check(d()),"Apache-2.0");s.add(Pr,{description:"The license type of the package"});var Tr=m(T());s.add(Tr,{description:"The homepage of the workspace"});var Mr=m(T());s.add(Mr,{description:"The documentation site for the workspace"});var Ir=m(T());s.add(Ir,{description:"The development portal site for the workspace"});var Er=m(T());s.add(Er,{description:"The licensing site for the workspace"});var Cr=m(T());s.add(Cr,{description:"The contact site for the workspace"});var Ar=m(T());s.add(Ar,{description:"The support site for the workspace. If not provided, this is defaulted to the `contact` config value"});var Nr=g(a().check(d(),P()),"main");s.add(Nr,{description:"The branch of the workspace"});var Rr=m(a().check(d(),P()));s.add(Rr,{description:"A tag specifying the version pre-release identifier"});var Lr=m(a().check(d(),P()));s.add(Lr,{description:"The owner of the package"});var jr=g(ce(["development","staging","production"]).check(d(),P()),"production");s.add(jr,{description:"The current runtime environment mode for the package"});var Or=a().check(d(),P());s.add(Or,{description:"The root directory of the workspace"});var Dr=g(We(),false);s.add(Dr,{description:"Should all known types of workspace caching be skipped?"});var Ur=g(ce(["npm","yarn","pnpm","bun"]),"npm");s.add(Ur,{description:"The JavaScript/TypeScript package manager used by the repository"});var Fr=g(a().check(d()),"America/New_York");s.add(Fr,{description:"The default timezone of the workspace"});var Br=g(a().check(d()),"en-US");s.add(Br,{description:"The default locale of the workspace"});var Vr=g(ce(["silent","fatal","error","warn","success","info","debug","trace","all"]),"info");s.add(Vr,{description:"The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."});var Wr=g(We(),true);s.add(Wr,{description:"Should the logging of the current Storm Workspace configuration be skipped?"});var Gr=g(Ut(a().check(d())),null);s.add(Gr,{description:"The filepath of the Storm config. When this field is null, no config file was found in the current workspace."});var qe=g(Ke(a(),Ot()),{});s.add(qe,{description:"Configuration of each used extension"});var Wc=M({$schema:br,extends:Vt,name:Zr,namespace:kr,organization:yr,repository:Sr,license:Pr,homepage:Tr,docs:Mr,portal:Ir,licensing:Er,contact:Cr,support:Ar,branch:Nr,preid:Rr,owner:Lr,bot:Kt,release:Qt,socials:sr,error:gr,mode:jr,workspaceRoot:Or,skipCache:Dr,directories:mr,packageManager:Ur,timezone:Fr,locale:Br,logLevel:Vr,skipConfigLogging:Wr,registry:Ft,configFile:Gr,colors:O([Je,Bt]),extensions:qe});s.add(qe,{description:"Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo."});
|
|
27
|
-
exports.$=wr;exports.A=qt;exports.B=Xt;exports.C=Yt;exports.D=Ht;exports.E=Qt;exports.F=er;exports.G=tr;exports.H=rr;exports.I=or;exports.J=nr;exports.K=ir;exports.L=sr;exports.M=cr;exports.N=ur;exports.O=ar;exports.P=pr;exports.Q=lr;exports.R=dr;exports.S=mr;exports.T=fr;exports.U=hr;exports.V=gr;exports.W=_r;exports.X=zr;exports.Y=xr;exports.Z=vr;exports._=$r;exports.a=s;exports.aa=Pr;exports.b=ue;exports.ba=Tr;exports.c=ae;exports.ca=Mr;exports.d=pe;exports.da=Ir;exports.e=le;exports.ea=Er;exports.f=de;exports.fa=Cr;exports.g=me;exports.ga=Ar;exports.h=fe;exports.ha=Nr;exports.i=he;exports.ia=Rr;exports.j=ge;exports.ja=Lr;exports.k=_e;exports.ka=jr;exports.l=ze;exports.la=Or;exports.m=xe;exports.ma=Dr;exports.n=ve;exports.na=Ur;exports.o=$e;exports.oa=Fr;exports.p=we;exports.pa=Br;exports.q=Fo;exports.qa=Vr;exports.r=Bo;exports.ra=Wr;exports.s=Vo;exports.sa=Gr;exports.t=Wo;exports.ta=qe;exports.u=Ft;exports.ua=Wc;exports.v=Je;exports.w=Bt;exports.x=Vt;exports.y=Kt;exports.z=Jt;
|
package/dist/chunk-GT5YRCY4.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import {p,o}from'./chunk-TYDRIJER.js';import {a as a$1}from'./chunk-WOT6VMZA.js';function l(e,t,r){function o(u,p){var h;Object.defineProperty(u,"_zod",{value:u._zod??{},enumerable:false}),(h=u._zod).traits??(h.traits=new Set),u._zod.traits.add(e),t(u,p);for(let v in c.prototype)v in u||Object.defineProperty(u,v,{value:c.prototype[v].bind(u)});u._zod.constr=c,u._zod.def=p;}let n=r?.Parent??Object;class i extends n{}Object.defineProperty(i,"name",{value:e});function c(u){var p;let h=r?.Parent?new i:this;o(h,u),(p=h._zod).deferred??(p.deferred=[]);for(let v of h._zod.deferred)v();return h}return Object.defineProperty(c,"init",{value:o}),Object.defineProperty(c,Symbol.hasInstance,{value:u=>r?.Parent&&u instanceof r.Parent?true:u?._zod?.traits?.has(e)}),Object.defineProperty(c,"name",{value:e}),c}var L=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.");}},ee={};function N(e){return ee}var b={};a$1(b,{BIGINT_FORMAT_RANGES:()=>ot,Class:()=>Ze,NUMBER_FORMAT_RANGES:()=>rt,aborted:()=>K,allowsEval:()=>Te,assert:()=>Qr,assertEqual:()=>qr,assertIs:()=>Yr,assertNever:()=>Hr,assertNotEqual:()=>Xr,assignProp:()=>Pe,cached:()=>te,captureStackTrace:()=>re,cleanEnum:()=>fo,cleanRegex:()=>W,clone:()=>E,createTransparentProxy:()=>so,defineLazy:()=>y,esc:()=>O,escapeRegex:()=>G,extend:()=>ao,finalizeIssue:()=>R,floatSafeRemainder:()=>Qe,getElementAtPath:()=>to,getEnumValues:()=>ke,getLengthableOrigin:()=>Ee,getParsedType:()=>io,getSizableOrigin:()=>nt,isObject:()=>V,isPlainObject:()=>oe,issue:()=>it,joinValues:()=>eo,jsonStringifyReplacer:()=>ye,merge:()=>po,normalizeParams:()=>D,nullish:()=>Se,numKeys:()=>no,omit:()=>uo,optionalKeys:()=>Ie,partial:()=>lo,pick:()=>co,prefixIssues:()=>C,primitiveTypes:()=>et,promiseAllObject:()=>ro,propertyKeyTypes:()=>Me,randomString:()=>oo,required:()=>mo,stringifyPrimitive:()=>tt,unwrapMessage:()=>B});function qr(e){return e}function Xr(e){return e}function Yr(e){}function Hr(e){throw new Error}function Qr(e){}function ke(e){let t=Object.values(e).filter(o=>typeof o=="number");return Object.entries(e).filter(([o,n])=>t.indexOf(+o)===-1).map(([o,n])=>n)}function eo(e,t="|"){return e.map(r=>tt(r)).join(t)}function ye(e,t){return typeof t=="bigint"?t.toString():t}function te(e){return {get value(){{let r=e();return Object.defineProperty(this,"value",{value:r}),r}}}}function Se(e){return e==null}function W(e){let t=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}function Qe(e,t){let r=(e.toString().split(".")[1]||"").length,o=(t.toString().split(".")[1]||"").length,n=r>o?r:o,i=Number.parseInt(e.toFixed(n).replace(".","")),c=Number.parseInt(t.toFixed(n).replace(".",""));return i%c/10**n}function y(e,t,r){Object.defineProperty(e,t,{get(){{let n=r();return e[t]=n,n}},set(n){Object.defineProperty(e,t,{value:n});},configurable:true});}function Pe(e,t,r){Object.defineProperty(e,t,{value:r,writable:true,enumerable:true,configurable:true});}function to(e,t){return t?t.reduce((r,o)=>r?.[o],e):e}function ro(e){let t=Object.keys(e),r=t.map(o=>e[o]);return Promise.all(r).then(o=>{let n={};for(let i=0;i<t.length;i++)n[t[i]]=o[i];return n})}function oo(e=10){let t="abcdefghijklmnopqrstuvwxyz",r="";for(let o=0;o<e;o++)r+=t[Math.floor(Math.random()*t.length)];return r}function O(e){return JSON.stringify(e)}var re=Error.captureStackTrace?Error.captureStackTrace:(...e)=>{};function V(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}var Te=te(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return false;try{let e=Function;return new e(""),!0}catch{return false}});function oe(e){if(V(e)===false)return false;let t=e.constructor;if(t===void 0)return true;let r=t.prototype;return !(V(r)===false||Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")===false)}function no(e){let t=0;for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&t++;return t}var io=e=>{let t=typeof e;switch(t){case "undefined":return "undefined";case "string":return "string";case "number":return Number.isNaN(e)?"nan":"number";case "boolean":return "boolean";case "function":return "function";case "bigint":return "bigint";case "symbol":return "symbol";case "object":return Array.isArray(e)?"array":e===null?"null":e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?"promise":typeof Map<"u"&&e instanceof Map?"map":typeof Set<"u"&&e instanceof Set?"set":typeof Date<"u"&&e instanceof Date?"date":typeof File<"u"&&e instanceof File?"file":"object";default:throw new Error(`Unknown data type: ${t}`)}},Me=new Set(["string","number","symbol"]),et=new Set(["string","number","bigint","boolean","symbol","undefined"]);function G(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function E(e,t,r){let o=new e._zod.constr(t??e._zod.def);return (!t||r?.parent)&&(o._zod.parent=e),o}function D(e){let t=e;if(!t)return {};if(typeof t=="string")return {error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message;}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function so(e){let t;return new Proxy({},{get(r,o,n){return t??(t=e()),Reflect.get(t,o,n)},set(r,o,n,i){return t??(t=e()),Reflect.set(t,o,n,i)},has(r,o){return t??(t=e()),Reflect.has(t,o)},deleteProperty(r,o){return t??(t=e()),Reflect.deleteProperty(t,o)},ownKeys(r){return t??(t=e()),Reflect.ownKeys(t)},getOwnPropertyDescriptor(r,o){return t??(t=e()),Reflect.getOwnPropertyDescriptor(t,o)},defineProperty(r,o,n){return t??(t=e()),Reflect.defineProperty(t,o,n)}})}function tt(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function Ie(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}var rt={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},ot={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function co(e,t){let r={},o=e._zod.def;for(let n in t){if(!(n in o.shape))throw new Error(`Unrecognized key: "${n}"`);t[n]&&(r[n]=o.shape[n]);}return E(e,{...e._zod.def,shape:r,checks:[]})}function uo(e,t){let r={...e._zod.def.shape},o=e._zod.def;for(let n in t){if(!(n in o.shape))throw new Error(`Unrecognized key: "${n}"`);t[n]&&delete r[n];}return E(e,{...e._zod.def,shape:r,checks:[]})}function ao(e,t){if(!oe(t))throw new Error("Invalid input to extend: expected a plain object");let r={...e._zod.def,get shape(){let o={...e._zod.def.shape,...t};return Pe(this,"shape",o),o},checks:[]};return E(e,r)}function po(e,t){return E(e,{...e._zod.def,get shape(){let r={...e._zod.def.shape,...t._zod.def.shape};return Pe(this,"shape",r),r},catchall:t._zod.def.catchall,checks:[]})}function lo(e,t,r){let o=t._zod.def.shape,n={...o};if(r)for(let i in r){if(!(i in o))throw new Error(`Unrecognized key: "${i}"`);r[i]&&(n[i]=e?new e({type:"optional",innerType:o[i]}):o[i]);}else for(let i in o)n[i]=e?new e({type:"optional",innerType:o[i]}):o[i];return E(t,{...t._zod.def,shape:n,checks:[]})}function mo(e,t,r){let o=t._zod.def.shape,n={...o};if(r)for(let i in r){if(!(i in n))throw new Error(`Unrecognized key: "${i}"`);r[i]&&(n[i]=new e({type:"nonoptional",innerType:o[i]}));}else for(let i in o)n[i]=new e({type:"nonoptional",innerType:o[i]});return E(t,{...t._zod.def,shape:n,checks:[]})}function K(e,t=0){for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue!==true)return true;return false}function C(e,t){return t.map(r=>{var o;return (o=r).path??(o.path=[]),r.path.unshift(e),r})}function B(e){return typeof e=="string"?e:e?.message}function R(e,t,r){let o={...e,path:e.path??[]};if(!e.message){let n=B(e.inst?._zod.def?.error?.(e))??B(t?.error?.(e))??B(r.customError?.(e))??B(r.localeError?.(e))??"Invalid input";o.message=n;}return delete o.inst,delete o.continue,t?.reportInput||delete o.input,o}function nt(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function Ee(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function it(...e){let[t,r,o]=e;return typeof t=="string"?{message:t,code:"custom",input:r,inst:o}:{...t}}function fo(e){return Object.entries(e).filter(([t,r])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}var Ze=class{constructor(...t){}};var st=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:false}),Object.defineProperty(e,"issues",{value:t,enumerable:false}),Object.defineProperty(e,"message",{get(){return JSON.stringify(t,ye,2)},enumerable:true}),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:false});},ct=l("$ZodError",st),J=l("$ZodError",st,{Parent:Error});var go=e=>(t,r,o,n)=>{let i=o?Object.assign(o,{async:false}):{async:false},c=t._zod.run({value:r,issues:[]},i);if(c instanceof Promise)throw new L;if(c.issues.length){let u=new(n?.Err??e)(c.issues.map(p=>R(p,i,N())));throw re(u,n?.callee),u}return c.value},Ce=go(J),_o=e=>async(t,r,o,n)=>{let i=o?Object.assign(o,{async:true}):{async:true},c=t._zod.run({value:r,issues:[]},i);if(c instanceof Promise&&(c=await c),c.issues.length){let u=new(n?.Err??e)(c.issues.map(p=>R(p,i,N())));throw re(u,n?.callee),u}return c.value},Ae=_o(J),zo=e=>(t,r,o)=>{let n=o?{...o,async:false}:{async:false},i=t._zod.run({value:r,issues:[]},n);if(i instanceof Promise)throw new L;return i.issues.length?{success:false,error:new(e??ct)(i.issues.map(c=>R(c,n,N())))}:{success:true,data:i.value}},q=zo(J),xo=e=>async(t,r,o)=>{let n=o?Object.assign(o,{async:true}):{async:true},i=t._zod.run({value:r,issues:[]},n);return i instanceof Promise&&(i=await i),i.issues.length?{success:false,error:new e(i.issues.map(c=>R(c,n,N())))}:{success:true,data:i.value}},X=xo(J);var ut=/^([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+$/;var at=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)};var pt=/true|false/i;var Y=l("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[]);});var lt=l("$ZodCheckLengthEquals",(e,t)=>{var r;Y.init(e,t),(r=e._zod.def).when??(r.when=o=>{let n=o.value;return !Se(n)&&n.length!==void 0}),e._zod.onattach.push(o=>{let n=o._zod.bag;n.minimum=t.length,n.maximum=t.length,n.length=t.length;}),e._zod.check=o=>{let n=o.value,i=n.length;if(i===t.length)return;let c=Ee(n),u=i>t.length;o.issues.push({origin:c,...u?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:true,exact:true,input:o.value,inst:e,continue:!t.abort});};}),Re=l("$ZodCheckStringFormat",(e,t)=>{var r,o;Y.init(e,t),e._zod.onattach.push(n=>{let i=n._zod.bag;i.format=t.format,t.pattern&&(i.patterns??(i.patterns=new Set),i.patterns.add(t.pattern));}),t.pattern?(r=e._zod).check??(r.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort});}):(o=e._zod).check??(o.check=()=>{});}),dt=l("$ZodCheckRegex",(e,t)=>{Re.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort});};});var mt=l("$ZodCheckOverwrite",(e,t)=>{Y.init(e,t),e._zod.check=r=>{r.value=t.tx(r.value);};});var ne=class{constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t);}indented(t){this.indent+=1,t(this),this.indent-=1;}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}let o=t.split(`
|
|
2
|
-
`).filter(c=>c),n=Math.min(...o.map(c=>c.length-c.trimStart().length)),i=o.map(c=>c.slice(n)).map(c=>" ".repeat(this.indent*2)+c);for(let c of i)this.content.push(c);}compile(){let t=Function,r=this?.args,n=[...(this?.content??[""]).map(i=>` ${i}`)];return new t(...r,n.join(`
|
|
3
|
-
`))}};var ht={major:4,minor:0,patch:5};var k=l("$ZodType",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=ht;let o=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&o.unshift(e);for(let n of o)for(let i of n._zod.onattach)i(e);if(o.length===0)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse;});else {let n=(i,c,u)=>{let p=K(i),h;for(let v of c){if(v._zod.def.when){if(!v._zod.def.when(i))continue}else if(p)continue;let f=i.issues.length,_=v._zod.check(i);if(_ instanceof Promise&&u?.async===false)throw new L;if(h||_ instanceof Promise)h=(h??Promise.resolve()).then(async()=>{await _,i.issues.length!==f&&(p||(p=K(i,f)));});else {if(i.issues.length===f)continue;p||(p=K(i,f));}}return h?h.then(()=>i):i};e._zod.run=(i,c)=>{let u=e._zod.parse(i,c);if(u instanceof Promise){if(c.async===false)throw new L;return u.then(p=>n(p,o,c))}return n(u,o,c)};}e["~standard"]={validate:n=>{try{let i=q(e,n);return i.success?{value:i.data}:{issues:i.error?.issues}}catch{return X(e,n).then(c=>c.success?{value:c.data}:{issues:c.error?.issues})}},vendor:"zod",version:1};}),Le=l("$ZodString",(e,t)=>{k.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??at(e._zod.bag),e._zod.parse=(r,o)=>{if(t.coerce)try{r.value=String(r.value);}catch{}return typeof r.value=="string"||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:e}),r};}),je=l("$ZodStringFormat",(e,t)=>{Re.init(e,t),Le.init(e,t);});var vt=l("$ZodURL",(e,t)=>{je.init(e,t),e._zod.check=r=>{try{let o=r.value,n=new URL(o),i=n.href;t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(n.hostname)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:ut.source,input:r.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(n.protocol.endsWith(":")?n.protocol.slice(0,-1):n.protocol)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort})),!o.endsWith("/")&&i.endsWith("/")?r.value=i.slice(0,-1):r.value=i;return}catch{r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort});}};});var $t=l("$ZodBoolean",(e,t)=>{k.init(e,t),e._zod.pattern=pt,e._zod.parse=(r,o)=>{if(t.coerce)try{r.value=!!r.value;}catch{}let n=r.value;return typeof n=="boolean"||r.issues.push({expected:"boolean",code:"invalid_type",input:n,inst:e}),r};});var wt=l("$ZodAny",(e,t)=>{k.init(e,t),e._zod.parse=r=>r;});function gt(e,t,r){e.issues.length&&t.issues.push(...C(r,e.issues)),t.value[r]=e.value;}var bt=l("$ZodArray",(e,t)=>{k.init(e,t),e._zod.parse=(r,o)=>{let n=r.value;if(!Array.isArray(n))return r.issues.push({expected:"array",code:"invalid_type",input:n,inst:e}),r;r.value=Array(n.length);let i=[];for(let c=0;c<n.length;c++){let u=n[c],p=t.element._zod.run({value:u,issues:[]},o);p instanceof Promise?i.push(p.then(h=>gt(h,r,c))):gt(p,r,c);}return i.length?Promise.all(i).then(()=>r):r};});function ie(e,t,r){e.issues.length&&t.issues.push(...C(r,e.issues)),t.value[r]=e.value;}function _t(e,t,r,o){e.issues.length?o[r]===void 0?r in o?t.value[r]=void 0:t.value[r]=e.value:t.issues.push(...C(r,e.issues)):e.value===void 0?r in o&&(t.value[r]=void 0):t.value[r]=e.value;}var Zt=l("$ZodObject",(e,t)=>{k.init(e,t);let r=te(()=>{let f=Object.keys(t.shape);for(let z of f)if(!(t.shape[z]instanceof k))throw new Error(`Invalid element at key "${z}": expected a Zod schema`);let _=Ie(t.shape);return {shape:t.shape,keys:f,keySet:new Set(f),numKeys:f.length,optionalKeys:new Set(_)}});y(e._zod,"propValues",()=>{let f=t.shape,_={};for(let z in f){let M=f[z]._zod;if(M.values){_[z]??(_[z]=new Set);for(let A of M.values)_[z].add(A);}}return _});let o=f=>{let _=new ne(["shape","payload","ctx"]),z=r.value,M=w=>{let x=O(w);return `shape[${x}]._zod.run({ value: input[${x}], issues: [] }, ctx)`};_.write("const input = payload.value;");let A=Object.create(null),we=0;for(let w of z.keys)A[w]=`key_${we++}`;_.write("const newResult = {}");for(let w of z.keys)if(z.optionalKeys.has(w)){let x=A[w];_.write(`const ${x} = ${M(w)};`);let $=O(w);_.write(`
|
|
4
|
-
if (${x}.issues.length) {
|
|
5
|
-
if (input[${$}] === undefined) {
|
|
6
|
-
if (${$} in input) {
|
|
7
|
-
newResult[${$}] = undefined;
|
|
8
|
-
}
|
|
9
|
-
} else {
|
|
10
|
-
payload.issues = payload.issues.concat(
|
|
11
|
-
${x}.issues.map((iss) => ({
|
|
12
|
-
...iss,
|
|
13
|
-
path: iss.path ? [${$}, ...iss.path] : [${$}],
|
|
14
|
-
}))
|
|
15
|
-
);
|
|
16
|
-
}
|
|
17
|
-
} else if (${x}.value === undefined) {
|
|
18
|
-
if (${$} in input) newResult[${$}] = undefined;
|
|
19
|
-
} else {
|
|
20
|
-
newResult[${$}] = ${x}.value;
|
|
21
|
-
}
|
|
22
|
-
`);}else {let x=A[w];_.write(`const ${x} = ${M(w)};`),_.write(`
|
|
23
|
-
if (${x}.issues.length) payload.issues = payload.issues.concat(${x}.issues.map(iss => ({
|
|
24
|
-
...iss,
|
|
25
|
-
path: iss.path ? [${O(w)}, ...iss.path] : [${O(w)}]
|
|
26
|
-
})));`),_.write(`newResult[${O(w)}] = ${x}.value`);}_.write("payload.value = newResult;"),_.write("return payload;");let H=_.compile();return (w,x)=>H(f,w,x)},n,i=V,c=!ee.jitless,p=c&&Te.value,h=t.catchall,v;e._zod.parse=(f,_)=>{v??(v=r.value);let z=f.value;if(!i(z))return f.issues.push({expected:"object",code:"invalid_type",input:z,inst:e}),f;let M=[];if(c&&p&&_?.async===false&&_.jitless!==true)n||(n=o(t.shape)),f=n(f,_);else {f.value={};let x=v.shape;for(let $ of v.keys){let F=x[$],Q=F._zod.run({value:z[$],issues:[]},_),qe=F._zod.optin==="optional"&&F._zod.optout==="optional";Q instanceof Promise?M.push(Q.then(Xe=>qe?_t(Xe,f,$,z):ie(Xe,f,$))):qe?_t(Q,f,$,z):ie(Q,f,$);}}if(!h)return M.length?Promise.all(M).then(()=>f):f;let A=[],we=v.keySet,H=h._zod,w=H.def.type;for(let x of Object.keys(z)){if(we.has(x))continue;if(w==="never"){A.push(x);continue}let $=H.run({value:z[x],issues:[]},_);$ instanceof Promise?M.push($.then(F=>ie(F,f,x))):ie($,f,x);}return A.length&&f.issues.push({code:"unrecognized_keys",keys:A,input:z,inst:e}),M.length?Promise.all(M).then(()=>f):f};});function zt(e,t,r,o){for(let n of e)if(n.issues.length===0)return t.value=n.value,t;return t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(n=>n.issues.map(i=>R(i,o,N())))}),t}var kt=l("$ZodUnion",(e,t)=>{k.init(e,t),y(e._zod,"optin",()=>t.options.some(r=>r._zod.optin==="optional")?"optional":void 0),y(e._zod,"optout",()=>t.options.some(r=>r._zod.optout==="optional")?"optional":void 0),y(e._zod,"values",()=>{if(t.options.every(r=>r._zod.values))return new Set(t.options.flatMap(r=>Array.from(r._zod.values)))}),y(e._zod,"pattern",()=>{if(t.options.every(r=>r._zod.pattern)){let r=t.options.map(o=>o._zod.pattern);return new RegExp(`^(${r.map(o=>W(o.source)).join("|")})$`)}}),e._zod.parse=(r,o)=>{let n=false,i=[];for(let c of t.options){let u=c._zod.run({value:r.value,issues:[]},o);if(u instanceof Promise)i.push(u),n=true;else {if(u.issues.length===0)return u;i.push(u);}}return n?Promise.all(i).then(c=>zt(c,r,e,o)):zt(i,r,e,o)};});var yt=l("$ZodRecord",(e,t)=>{k.init(e,t),e._zod.parse=(r,o)=>{let n=r.value;if(!oe(n))return r.issues.push({expected:"record",code:"invalid_type",input:n,inst:e}),r;let i=[];if(t.keyType._zod.values){let c=t.keyType._zod.values;r.value={};for(let p of c)if(typeof p=="string"||typeof p=="number"||typeof p=="symbol"){let h=t.valueType._zod.run({value:n[p],issues:[]},o);h instanceof Promise?i.push(h.then(v=>{v.issues.length&&r.issues.push(...C(p,v.issues)),r.value[p]=v.value;})):(h.issues.length&&r.issues.push(...C(p,h.issues)),r.value[p]=h.value);}let u;for(let p in n)c.has(p)||(u=u??[],u.push(p));u&&u.length>0&&r.issues.push({code:"unrecognized_keys",input:n,inst:e,keys:u});}else {r.value={};for(let c of Reflect.ownKeys(n)){if(c==="__proto__")continue;let u=t.keyType._zod.run({value:c,issues:[]},o);if(u instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(u.issues.length){r.issues.push({origin:"record",code:"invalid_key",issues:u.issues.map(h=>R(h,o,N())),input:c,path:[c],inst:e}),r.value[u.value]=u.value;continue}let p=t.valueType._zod.run({value:n[c],issues:[]},o);p instanceof Promise?i.push(p.then(h=>{h.issues.length&&r.issues.push(...C(c,h.issues)),r.value[u.value]=h.value;})):(p.issues.length&&r.issues.push(...C(c,p.issues)),r.value[u.value]=p.value);}}return i.length?Promise.all(i).then(()=>r):r};});var St=l("$ZodEnum",(e,t)=>{k.init(e,t);let r=ke(t.entries);e._zod.values=new Set(r),e._zod.pattern=new RegExp(`^(${r.filter(o=>Me.has(typeof o)).map(o=>typeof o=="string"?G(o):o.toString()).join("|")})$`),e._zod.parse=(o,n)=>{let i=o.value;return e._zod.values.has(i)||o.issues.push({code:"invalid_value",values:r,input:i,inst:e}),o};}),Pt=l("$ZodLiteral",(e,t)=>{k.init(e,t),e._zod.values=new Set(t.values),e._zod.pattern=new RegExp(`^(${t.values.map(r=>typeof r=="string"?G(r):r?r.toString():String(r)).join("|")})$`),e._zod.parse=(r,o)=>{let n=r.value;return e._zod.values.has(n)||r.issues.push({code:"invalid_value",values:t.values,input:n,inst:e}),r};});var Tt=l("$ZodOptional",(e,t)=>{k.init(e,t),e._zod.optin="optional",e._zod.optout="optional",y(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),y(e._zod,"pattern",()=>{let r=t.innerType._zod.pattern;return r?new RegExp(`^(${W(r.source)})?$`):void 0}),e._zod.parse=(r,o)=>t.innerType._zod.optin==="optional"?t.innerType._zod.run(r,o):r.value===void 0?r:t.innerType._zod.run(r,o);}),Mt=l("$ZodNullable",(e,t)=>{k.init(e,t),y(e._zod,"optin",()=>t.innerType._zod.optin),y(e._zod,"optout",()=>t.innerType._zod.optout),y(e._zod,"pattern",()=>{let r=t.innerType._zod.pattern;return r?new RegExp(`^(${W(r.source)}|null)$`):void 0}),y(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(r,o)=>r.value===null?r:t.innerType._zod.run(r,o);}),It=l("$ZodDefault",(e,t)=>{k.init(e,t),e._zod.optin="optional",y(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,o)=>{if(r.value===void 0)return r.value=t.defaultValue,r;let n=t.innerType._zod.run(r,o);return n instanceof Promise?n.then(i=>xt(i,t)):xt(n,t)};});function xt(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var Oe=class{constructor(){this._map=new Map,this._idmap=new Map;}add(t,...r){let o=r[0];if(this._map.set(t,o),o&&typeof o=="object"&&"id"in o){if(this._idmap.has(o.id))throw new Error(`ID ${o.id} already exists in the registry`);this._idmap.set(o.id,t);}return this}clear(){return this._map=new Map,this._idmap=new Map,this}remove(t){let r=this._map.get(t);return r&&typeof r=="object"&&"id"in r&&this._idmap.delete(r.id),this._map.delete(t),this}get(t){let r=t._zod.parent;if(r){let o={...this.get(r)??{}};return delete o.id,{...o,...this._map.get(t)}}return this._map.get(t)}has(t){return this._map.has(t)}};function De(){return new Oe}function Et(e,t){return new e({type:"string",...D(t)})}function Ct(e,t){return new e({type:"string",format:"url",check:"string_format",abort:false,...D(t)})}function At(e,t){return new e({type:"boolean",...D(t)})}function Nt(e){return new e({type:"any"})}function Ue(e,t){return new lt({check:"length_equals",...D(t),length:e})}function Fe(e,t){return new dt({check:"string_format",format:"regex",...D(t),pattern:e})}function Be(e){return new mt({check:"overwrite",tx:e})}function d(){return Be(e=>e.trim())}function S(){return Be(e=>e.toLowerCase())}var I=l("ZodMiniType",(e,t)=>{if(!e._zod)throw new Error("Uninitialized schema in ZodMiniType.");k.init(e,t),e.def=t,e.parse=(r,o)=>Ce(e,r,o,{callee:e.parse}),e.safeParse=(r,o)=>q(e,r,o),e.parseAsync=async(r,o)=>Ae(e,r,o,{callee:e.parseAsync}),e.safeParseAsync=async(r,o)=>X(e,r,o),e.check=(...r)=>e.clone({...t,checks:[...t.checks??[],...r.map(o=>typeof o=="function"?{_zod:{check:o,def:{check:"custom"},onattach:[]}}:o)]}),e.clone=(r,o)=>E(e,r,o),e.brand=()=>e,e.register=((r,o)=>(r.add(e,o),e));}),Lt=l("ZodMiniString",(e,t)=>{Le.init(e,t),I.init(e,t);});function a(e){return Et(Lt,e)}var yo=l("ZodMiniStringFormat",(e,t)=>{je.init(e,t),Lt.init(e,t);});var So=l("ZodMiniURL",(e,t)=>{vt.init(e,t),yo.init(e,t);});function P(e){return Ct(So,e)}var Po=l("ZodMiniBoolean",(e,t)=>{$t.init(e,t),I.init(e,t);});function Ve(e){return At(Po,e)}var To=l("ZodMiniAny",(e,t)=>{wt.init(e,t),I.init(e,t);});function jt(){return Nt(To)}var Mo=l("ZodMiniArray",(e,t)=>{bt.init(e,t),I.init(e,t);});function We(e,t){return new Mo({type:"array",element:e,...b.normalizeParams(t)})}var Io=l("ZodMiniObject",(e,t)=>{Zt.init(e,t),I.init(e,t),b.defineLazy(e,"shape",()=>t.shape);});function T(e,t){let r={type:"object",get shape(){return b.assignProp(this,"shape",{...e}),this.shape},...b.normalizeParams(t)};return new Io(r)}var Eo=l("ZodMiniUnion",(e,t)=>{kt.init(e,t),I.init(e,t);});function j(e,t){return new Eo({type:"union",options:e,...b.normalizeParams(t)})}var Co=l("ZodMiniRecord",(e,t)=>{yt.init(e,t),I.init(e,t);});function Ge(e,t,r){return new Co({type:"record",keyType:e,valueType:t,...b.normalizeParams(r)})}var Ao=l("ZodMiniEnum",(e,t)=>{St.init(e,t),I.init(e,t);});function se(e,t){let r=Array.isArray(e)?Object.fromEntries(e.map(o=>[o,o])):e;return new Ao({type:"enum",entries:r,...b.normalizeParams(t)})}var No=l("ZodMiniLiteral",(e,t)=>{Pt.init(e,t),I.init(e,t);});function Ot(e,t){return new No({type:"literal",values:Array.isArray(e)?e:[e],...b.normalizeParams(t)})}var Ro=l("ZodMiniOptional",(e,t)=>{Tt.init(e,t),I.init(e,t);});function m(e){return new Ro({type:"optional",innerType:e})}var Lo=l("ZodMiniNullable",(e,t)=>{Mt.init(e,t),I.init(e,t);});function Dt(e){return new Lo({type:"nullable",innerType:e})}var jo=l("ZodMiniDefault",(e,t)=>{It.init(e,t),I.init(e,t);});function g(e,t){return new jo({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():t}})}var s=De(),Z=a().check(Ue(7),S(),Fe(/^#([0-9a-f]{3}){1,2}$/i),d());s.add(Z,{description:"A base schema for describing the format of colors"});var ce=g(Z,"#151718");s.add(ce,{description:"The dark background color of the workspace"});var ue=g(Z,"#cbd5e1");s.add(ue,{description:"The light background color of the workspace"});var ae=g(Z,"#1fb2a6");s.add(ae,{description:"The primary brand specific color of the workspace"});var pe=m(Z);s.add(pe,{description:"The alternate brand specific color of the workspace"});var le=m(Z);s.add(le,{description:"The secondary brand specific color of the workspace"});var de=g(Z,"#3fa6ff");s.add(de,{description:"The color used to display hyperlink text"});var me=g(Z,"#818cf8");s.add(me,{description:"The second brand specific color of the workspace"});var fe=g(Z,"#45b27e");s.add(fe,{description:"The success color of the workspace"});var he=g(Z,"#38bdf8");s.add(he,{description:"The informational color of the workspace"});var ge=g(Z,"#f3d371");s.add(ge,{description:"The warning color of the workspace"});var _e=g(Z,"#d8314a");s.add(_e,{description:"The danger color of the workspace"});var ze=m(Z);s.add(ze,{description:"The fatal color of the workspace"});var xe=g(Z,"#4ade80");s.add(xe,{description:"The positive number color of the workspace"});var ve=g(Z,"#ef4444");s.add(ve,{description:"The negative number color of the workspace"});var $e=m(We(Z));s.add($e,{description:"The color stops for the base gradient color pattern used in the workspace"});var Uo=T({foreground:ue,background:ce,brand:ae,alternate:pe,accent:le,link:de,help:me,success:fe,info:he,warning:ge,danger:_e,fatal:ze,positive:xe,negative:ve,gradient:$e}),Fo=T({foreground:ce,background:ue,brand:ae,alternate:pe,accent:le,link:de,help:me,success:fe,info:he,warning:ge,danger:_e,fatal:ze,positive:xe,negative:ve,gradient:$e}),Bo=T({dark:Uo,light:Fo}),Vo=T({dark:ce,light:ue,brand:ae,alternate:pe,accent:le,link:de,help:me,success:fe,info:he,warning:ge,danger:_e,fatal:ze,positive:xe,negative:ve,gradient:$e}),U=m(P());s.add(U,{description:"A remote registry URL used to publish distributable packages"});var Ut=g(T({github:U,npm:U,cargo:U,cyclone:U,container:U}),{});s.add(Ut,{description:"A list of remote registry URLs used by Storm Software"});var Ke=j([Vo,Bo]);s.add(Ke,{description:"Colors used for various workspace elements"});var Ft=Ge(j([j([Ot("base"),a()]),a()]),Ke);s.add(Ft,{description:"Storm theme config values used for styling various package elements"});var Bt=m(j([a().check(d()),We(a().check(d()))]));s.add(Bt,{description:"The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration."});var Vt=a().check(d());s.add(Vt,{description:"The workspace bot user's name (this is the bot that will be used to perform various tasks)"});var Wt=a().check(d());s.add(Wt,{description:"The email of the workspace bot"});var Gt=T({name:Vt,email:Wt});s.add(Gt,{description:"The workspace's bot user's config used to automated various operations tasks"});var Kt=m(a().check(d(),P()));s.add(Kt,{description:"A URL to a banner image used to display the workspace's release"});var Jt=g(a().check(d()),p);s.add(Jt,{description:"The alt text for the workspace's release banner image"});var qt=T({url:Kt,alt:Jt});s.add(qt,{description:"The workspace's banner image used during the release process"});var Xt=m(a().check(d()));s.add(Xt,{description:"A header message appended to the start of the workspace's release notes"});var Yt=m(a().check(d()));s.add(Yt,{description:"A footer message appended to the end of the workspace's release notes"});var Ht=T({banner:j([qt,a().check(d(),P())]),header:Xt,footer:Yt});s.add(Ht,{description:"The workspace's release config used during the release process"});var Qt=m(a().check(d()));s.add(Qt,{description:"A Twitter/X account associated with the organization/project"});var er=m(a().check(d()));s.add(er,{description:"A Discord account associated with the organization/project"});var tr=m(a().check(d()));s.add(tr,{description:"A Telegram account associated with the organization/project"});var rr=m(a().check(d()));s.add(rr,{description:"A Slack account associated with the organization/project"});var or=m(a().check(d()));s.add(or,{description:"A Medium account associated with the organization/project"});var nr=m(a().check(d()));s.add(nr,{description:"A GitHub account associated with the organization/project"});var ir=T({twitter:Qt,discord:er,telegram:tr,slack:rr,medium:or,github:nr});s.add(ir,{description:"The workspace's account config used to store various social media links"});var sr=m(a().check(d()));s.add(sr,{description:"The directory used to store the environment's cached file data"});var cr=m(a().check(d()));s.add(cr,{description:"The directory used to store the environment's data files"});var ur=m(a().check(d()));s.add(ur,{description:"The directory used to store the environment's configuration files"});var ar=m(a().check(d()));s.add(ar,{description:"The directory used to store the environment's temp files"});var pr=m(a().check(d()));s.add(pr,{description:"The directory used to store the environment's log files"});var lr=g(a().check(d()),"dist");s.add(lr,{description:"The directory used to store the workspace's distributable files after a build (relative to the workspace root)"});var dr=T({cache:sr,data:cr,config:ur,temp:ar,log:pr,build:lr});s.add(dr,{description:"Various directories used by the workspace to store data, cache, and configuration files"});var mr=g(a().check(d()),o);s.add(mr,{description:"The path to the workspace's error codes JSON file"});var fr=m(P());s.add(fr,{description:"A URL to a page that looks up the workspace's error messages given a specific error code"});var hr=T({codesFile:mr,url:fr});s.add(hr,{description:"The workspace's error config used when creating error details during a system error"});var gr=m(a().check(d(),S()));s.add(gr,{description:"The name of the organization"});var _r=m(a().check(d()));s.add(_r,{description:"A description of the organization"});var zr=m(P());s.add(zr,{description:"A URL to the organization's logo image"});var xr=m(P());s.add(xr,{description:"A URL to the organization's icon image"});var vr=m(P());s.add(vr,{description:"A URL to a page that provides more information about the organization"});var $r=T({name:gr,description:_r,logo:zr,icon:xr,url:vr});s.add($r,{description:"The workspace's organization details"});var wr=g(a().check(d(),S()),"https://public.storm-cdn.com/schemas/storm-workspace.schema.json");s.add(wr,{description:"The URL or file path to the JSON schema file that describes the Storm configuration file"});var br=a().check(d(),S());s.add(br,{description:"The name of the workspace/project/service/package/scope using this configuration"});var Zr=a().check(d(),S());s.add(Zr,{description:"The namespace of the workspace/project/service/package/scope using this configuration"});var kr=j([$r,a().check(d(),S())]);s.add(kr,{description:"The organization of the workspace. This can be a string or an object containing the organization's details"});var yr=a().check(d(),S());s.add(yr,{description:"The repo URL of the workspace (i.e. the GitHub repository URL)"});var Sr=g(a().check(d()),"Apache-2.0");s.add(Sr,{description:"The license type of the package"});var Pr=m(P());s.add(Pr,{description:"The homepage of the workspace"});var Tr=m(P());s.add(Tr,{description:"The documentation site for the workspace"});var Mr=m(P());s.add(Mr,{description:"The development portal site for the workspace"});var Ir=m(P());s.add(Ir,{description:"The licensing site for the workspace"});var Er=m(P());s.add(Er,{description:"The contact site for the workspace"});var Cr=m(P());s.add(Cr,{description:"The support site for the workspace. If not provided, this is defaulted to the `contact` config value"});var Ar=g(a().check(d(),S()),"main");s.add(Ar,{description:"The branch of the workspace"});var Nr=m(a().check(d(),S()));s.add(Nr,{description:"A tag specifying the version pre-release identifier"});var Rr=m(a().check(d(),S()));s.add(Rr,{description:"The owner of the package"});var Lr=g(se(["development","staging","production"]).check(d(),S()),"production");s.add(Lr,{description:"The current runtime environment mode for the package"});var jr=a().check(d(),S());s.add(jr,{description:"The root directory of the workspace"});var Or=g(Ve(),false);s.add(Or,{description:"Should all known types of workspace caching be skipped?"});var Dr=g(se(["npm","yarn","pnpm","bun"]),"npm");s.add(Dr,{description:"The JavaScript/TypeScript package manager used by the repository"});var Ur=g(a().check(d()),"America/New_York");s.add(Ur,{description:"The default timezone of the workspace"});var Fr=g(a().check(d()),"en-US");s.add(Fr,{description:"The default locale of the workspace"});var Br=g(se(["silent","fatal","error","warn","success","info","debug","trace","all"]),"info");s.add(Br,{description:"The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."});var Vr=g(Ve(),true);s.add(Vr,{description:"Should the logging of the current Storm Workspace configuration be skipped?"});var Wr=g(Dt(a().check(d())),null);s.add(Wr,{description:"The filepath of the Storm config. When this field is null, no config file was found in the current workspace."});var Je=g(Ge(a(),jt()),{});s.add(Je,{description:"Configuration of each used extension"});var Pc=T({$schema:wr,extends:Bt,name:br,namespace:Zr,organization:kr,repository:yr,license:Sr,homepage:Pr,docs:Tr,portal:Mr,licensing:Ir,contact:Er,support:Cr,branch:Ar,preid:Nr,owner:Rr,bot:Gt,release:Ht,socials:ir,error:hr,mode:Lr,workspaceRoot:jr,skipCache:Or,directories:dr,packageManager:Dr,timezone:Ur,locale:Fr,logLevel:Br,skipConfigLogging:Vr,registry:Ut,configFile:Wr,colors:j([Ke,Ft]),extensions:Je});s.add(Je,{description:"Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo."});
|
|
27
|
-
export{$r as $,Jt as A,qt as B,Xt as C,Yt as D,Ht as E,Qt as F,er as G,tr as H,rr as I,or as J,nr as K,ir as L,sr as M,cr as N,ur as O,ar as P,pr as Q,lr as R,dr as S,mr as T,fr as U,hr as V,gr as W,_r as X,zr as Y,xr as Z,vr as _,s as a,Sr as aa,ce as b,Pr as ba,ue as c,Tr as ca,ae as d,Mr as da,pe as e,Ir as ea,le as f,Er as fa,de as g,Cr as ga,me as h,Ar as ha,fe as i,Nr as ia,he as j,Rr as ja,ge as k,Lr as ka,_e as l,jr as la,ze as m,Or as ma,xe as n,Dr as na,ve as o,Ur as oa,$e as p,Fr as pa,Uo as q,Br as qa,Fo as r,Vr as ra,Bo as s,Wr as sa,Vo as t,Je as ta,Ut as u,Pc as ua,Ke as v,Ft as w,Bt as x,Gt as y,Kt as z};
|