@opencode-ai/core 0.0.0-next-17293
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/README.md +3 -0
- package/dist/account/sql.js +35 -0
- package/dist/agent.js +101 -0
- package/dist/aisdk-native.js +10 -0
- package/dist/aisdk.js +17 -0
- package/dist/app.js +19 -0
- package/dist/bus.js +103 -0
- package/dist/catalog.js +98 -0
- package/dist/chunks/permission-015h7azv.js +427 -0
- package/dist/chunks/permission-02dbfq60.js +18 -0
- package/dist/chunks/permission-04kwjb53.js +192 -0
- package/dist/chunks/permission-06jas3ts.js +117 -0
- package/dist/chunks/permission-08m6gcy4.js +126 -0
- package/dist/chunks/permission-0c101nc9.js +116 -0
- package/dist/chunks/permission-0cgt0xh2.js +18 -0
- package/dist/chunks/permission-0cm1xtm8.js +85 -0
- package/dist/chunks/permission-0emnz988.js +130 -0
- package/dist/chunks/permission-0f48qthw.js +32 -0
- package/dist/chunks/permission-0kvmztkf.js +31 -0
- package/dist/chunks/permission-0w91d2d0.js +72 -0
- package/dist/chunks/permission-0zr7btsm.js +203 -0
- package/dist/chunks/permission-0zz82cjq.js +17 -0
- package/dist/chunks/permission-10xtr3be.js +34 -0
- package/dist/chunks/permission-14dbm5wf.js +90 -0
- package/dist/chunks/permission-18pv8fg3.js +98 -0
- package/dist/chunks/permission-1c00jchy.js +64 -0
- package/dist/chunks/permission-1cxqkg6x.js +63 -0
- package/dist/chunks/permission-1e2ryyac.js +42 -0
- package/dist/chunks/permission-1fb7bmpf.js +15 -0
- package/dist/chunks/permission-1kvtxahz.js +175 -0
- package/dist/chunks/permission-1q4v9p9k.js +70 -0
- package/dist/chunks/permission-1wcz8fvj.js +16 -0
- package/dist/chunks/permission-1xksxgzs.js +24 -0
- package/dist/chunks/permission-1zxa6y0n.js +578 -0
- package/dist/chunks/permission-25pxtba7.js +13 -0
- package/dist/chunks/permission-26arpb2f.js +65 -0
- package/dist/chunks/permission-2806rrqb.js +615 -0
- package/dist/chunks/permission-2g1pqmbp.js +253 -0
- package/dist/chunks/permission-2nkse5ac.js +62 -0
- package/dist/chunks/permission-2nmyybe0.js +21 -0
- package/dist/chunks/permission-2qdvkq1m.js +223 -0
- package/dist/chunks/permission-2qdx6zz3.js +16 -0
- package/dist/chunks/permission-2zyawa45.js +73 -0
- package/dist/chunks/permission-325xrcef.js +286 -0
- package/dist/chunks/permission-37rcj8p3.js +187 -0
- package/dist/chunks/permission-3c4nztf9.js +11 -0
- package/dist/chunks/permission-3e69n02a.js +14 -0
- package/dist/chunks/permission-3g3rpp2x.js +17 -0
- package/dist/chunks/permission-3mfgaav1.js +321 -0
- package/dist/chunks/permission-3q6gbwmd.js +26 -0
- package/dist/chunks/permission-3thh6229.js +18 -0
- package/dist/chunks/permission-3vh42rcr.js +35 -0
- package/dist/chunks/permission-3w0f1yxt.js +64 -0
- package/dist/chunks/permission-3w3ybtfd.js +109 -0
- package/dist/chunks/permission-42xz94rv.js +78 -0
- package/dist/chunks/permission-470a55pw.js +91 -0
- package/dist/chunks/permission-476jw5d9.js +65 -0
- package/dist/chunks/permission-47rh966y.js +194 -0
- package/dist/chunks/permission-47ty4mvs.js +18 -0
- package/dist/chunks/permission-4b2tz2m9.js +22 -0
- package/dist/chunks/permission-4bk5angc.js +355 -0
- package/dist/chunks/permission-4s2xwh5d.js +91 -0
- package/dist/chunks/permission-4szcs9x3.js +94 -0
- package/dist/chunks/permission-4zfy2va0.js +173 -0
- package/dist/chunks/permission-4zzdwbaz.js +18 -0
- package/dist/chunks/permission-50jxp3hw.js +35 -0
- package/dist/chunks/permission-52jzav25.js +13 -0
- package/dist/chunks/permission-56p2m126.js +31 -0
- package/dist/chunks/permission-57tzwnz4.js +107 -0
- package/dist/chunks/permission-5a5ch9ts.js +31 -0
- package/dist/chunks/permission-5m82aax9.js +150 -0
- package/dist/chunks/permission-5p2sx24b.js +56 -0
- package/dist/chunks/permission-5pfeh60c.js +154 -0
- package/dist/chunks/permission-5rs65q6p.js +65 -0
- package/dist/chunks/permission-5sgbvx3z.js +83 -0
- package/dist/chunks/permission-5va1yh78.js +23 -0
- package/dist/chunks/permission-6628r0j2.js +162 -0
- package/dist/chunks/permission-69qrqpw0.js +15 -0
- package/dist/chunks/permission-6ctn5n86.js +342 -0
- package/dist/chunks/permission-6jdj5f9n.js +9 -0
- package/dist/chunks/permission-6jtjggv5.js +248 -0
- package/dist/chunks/permission-6k7y0zvr.js +87 -0
- package/dist/chunks/permission-6sc9h3ca.js +116 -0
- package/dist/chunks/permission-6v88ksgf.js +82 -0
- package/dist/chunks/permission-6xc82ex6.js +136 -0
- package/dist/chunks/permission-6yt963b8.js +29 -0
- package/dist/chunks/permission-706a4azd.js +292 -0
- package/dist/chunks/permission-707etsmq.js +174 -0
- package/dist/chunks/permission-71jckxbv.js +36 -0
- package/dist/chunks/permission-77madsw4.js +214 -0
- package/dist/chunks/permission-7mpw7j43.js +287 -0
- package/dist/chunks/permission-7mrpdsq5.js +229 -0
- package/dist/chunks/permission-7n9qwqk4.js +14 -0
- package/dist/chunks/permission-7wadkhey.js +175 -0
- package/dist/chunks/permission-7wcmqxrc.js +50 -0
- package/dist/chunks/permission-7wee78f9.js +408 -0
- package/dist/chunks/permission-849eva8b.js +205 -0
- package/dist/chunks/permission-857g7h76.js +41 -0
- package/dist/chunks/permission-85wgk4kd.js +139 -0
- package/dist/chunks/permission-88jbfw8z.js +41 -0
- package/dist/chunks/permission-8m0qaa0v.js +99 -0
- package/dist/chunks/permission-8nn8kqcn.js +25 -0
- package/dist/chunks/permission-8sj3ajy5.js +58 -0
- package/dist/chunks/permission-8w2n8x74.js +64 -0
- package/dist/chunks/permission-8w9tzfz1.js +14 -0
- package/dist/chunks/permission-8wv04gvy.js +115 -0
- package/dist/chunks/permission-8ywqk2j9.js +50 -0
- package/dist/chunks/permission-906y0b6d.js +13 -0
- package/dist/chunks/permission-93qdgxxd.js +30 -0
- package/dist/chunks/permission-999qd968.js +84 -0
- package/dist/chunks/permission-9avt6sfe.js +124 -0
- package/dist/chunks/permission-9dct5xhx.js +21 -0
- package/dist/chunks/permission-9e8kfd6p.js +239 -0
- package/dist/chunks/permission-9f0rnpkn.js +16 -0
- package/dist/chunks/permission-9pygavrm.js +145 -0
- package/dist/chunks/permission-9q1hedyj.js +468 -0
- package/dist/chunks/permission-9r0qzhnf.js +34 -0
- package/dist/chunks/permission-9rdqpzw3.js +115 -0
- package/dist/chunks/permission-9sdtsapf.js +30 -0
- package/dist/chunks/permission-a02svayp.js +10 -0
- package/dist/chunks/permission-a2yyszsy.js +75 -0
- package/dist/chunks/permission-a3xgesk5.js +174 -0
- package/dist/chunks/permission-a65h300v.js +155 -0
- package/dist/chunks/permission-a6ndeaxw.js +162 -0
- package/dist/chunks/permission-a7aazggv.js +110 -0
- package/dist/chunks/permission-a83yvq99.js +5 -0
- package/dist/chunks/permission-a9h3q0q9.js +130 -0
- package/dist/chunks/permission-aftdh555.js +147 -0
- package/dist/chunks/permission-aks7qxgd.js +112 -0
- package/dist/chunks/permission-anrqexna.js +111 -0
- package/dist/chunks/permission-ans8s2g6.js +230 -0
- package/dist/chunks/permission-at95jcnb.js +77 -0
- package/dist/chunks/permission-ayevdmef.js +25 -0
- package/dist/chunks/permission-ayfwnm78.js +18 -0
- package/dist/chunks/permission-b02txbh8.js +22 -0
- package/dist/chunks/permission-b3hvtezn.js +88 -0
- package/dist/chunks/permission-b92sdcjk.js +99 -0
- package/dist/chunks/permission-bbqs2y60.js +14 -0
- package/dist/chunks/permission-bha9y19b.js +168 -0
- package/dist/chunks/permission-brsh5f65.js +146 -0
- package/dist/chunks/permission-bxdhjb3y.js +107 -0
- package/dist/chunks/permission-byab506k.js +14 -0
- package/dist/chunks/permission-c5md9thr.js +106 -0
- package/dist/chunks/permission-c77ad0vh.js +16 -0
- package/dist/chunks/permission-c8dztf94.js +90 -0
- package/dist/chunks/permission-cd4w01s5.js +30 -0
- package/dist/chunks/permission-cgvnqv92.js +27 -0
- package/dist/chunks/permission-chtvf7xd.js +310 -0
- package/dist/chunks/permission-cm67rqy2.js +22 -0
- package/dist/chunks/permission-csanxt95.js +99 -0
- package/dist/chunks/permission-cz3dkvcz.js +16 -0
- package/dist/chunks/permission-d076mabj.js +683 -0
- package/dist/chunks/permission-d0n9nbkk.js +70 -0
- package/dist/chunks/permission-d4a2h60z.js +222 -0
- package/dist/chunks/permission-d5t1sv80.js +103 -0
- package/dist/chunks/permission-d6s8p2vk.js +157 -0
- package/dist/chunks/permission-d6vvk673.js +149 -0
- package/dist/chunks/permission-dbah77c1.js +17 -0
- package/dist/chunks/permission-ddn74qps.js +37 -0
- package/dist/chunks/permission-df3v2q6j.js +77 -0
- package/dist/chunks/permission-dhcq6c44.js +14 -0
- package/dist/chunks/permission-dhphtf1x.js +45 -0
- package/dist/chunks/permission-dht5baf0.js +16 -0
- package/dist/chunks/permission-dppgrtwb.js +126 -0
- package/dist/chunks/permission-e1z9a0ts.js +69 -0
- package/dist/chunks/permission-e2mxwc51.js +109 -0
- package/dist/chunks/permission-ed4jjjcc.js +171 -0
- package/dist/chunks/permission-ehj9csmv.js +6 -0
- package/dist/chunks/permission-erj4j75s.js +129 -0
- package/dist/chunks/permission-eyk9wdct.js +61 -0
- package/dist/chunks/permission-ezs3tagn.js +54 -0
- package/dist/chunks/permission-ezvn03y4.js +12 -0
- package/dist/chunks/permission-f05p34aa.js +80 -0
- package/dist/chunks/permission-f0sqeedm.js +68 -0
- package/dist/chunks/permission-f1ge3yjy.js +179 -0
- package/dist/chunks/permission-f26x8jzg.js +301 -0
- package/dist/chunks/permission-f4cp4g4a.js +17 -0
- package/dist/chunks/permission-f6fn40ps.js +81 -0
- package/dist/chunks/permission-f84sxdqn.js +49 -0
- package/dist/chunks/permission-f9e3yxsz.js +72 -0
- package/dist/chunks/permission-faypg4r1.js +13 -0
- package/dist/chunks/permission-fj3fqzqb.js +175 -0
- package/dist/chunks/permission-fm1nvm5g.js +32 -0
- package/dist/chunks/permission-fmyre8m1.js +24 -0
- package/dist/chunks/permission-g7k9te92.js +15 -0
- package/dist/chunks/permission-g9yygpzr.js +80 -0
- package/dist/chunks/permission-gcay93cp.js +14 -0
- package/dist/chunks/permission-gd2xppx8.js +14 -0
- package/dist/chunks/permission-gd5xeqc2.js +32 -0
- package/dist/chunks/permission-ghm4673n.js +27 -0
- package/dist/chunks/permission-ghwjy7my.js +41 -0
- package/dist/chunks/permission-gm8kdh5e.js +39 -0
- package/dist/chunks/permission-gs6njsxc.js +332 -0
- package/dist/chunks/permission-gvyf4y9v.js +601 -0
- package/dist/chunks/permission-gxp1x3zs.js +21 -0
- package/dist/chunks/permission-gy500k2r.js +17 -0
- package/dist/chunks/permission-h487ttse.js +112 -0
- package/dist/chunks/permission-h8ecejt5.js +106 -0
- package/dist/chunks/permission-ha4enwv8.js +722 -0
- package/dist/chunks/permission-hkcvyz4t.js +142 -0
- package/dist/chunks/permission-hr2x6e6g.js +107 -0
- package/dist/chunks/permission-hy0hzg1s.js +234 -0
- package/dist/chunks/permission-hzeg9cfr.js +49 -0
- package/dist/chunks/permission-j07kk359.js +21 -0
- package/dist/chunks/permission-j2hktz7g.js +205 -0
- package/dist/chunks/permission-j32ayx7z.js +86 -0
- package/dist/chunks/permission-jcd3zvtj.js +75 -0
- package/dist/chunks/permission-jm82nbh8.js +259 -0
- package/dist/chunks/permission-jssy2dr3.js +18 -0
- package/dist/chunks/permission-jsvyv3zx.js +1467 -0
- package/dist/chunks/permission-jve7t217.js +28 -0
- package/dist/chunks/permission-k59zb4v2.js +274 -0
- package/dist/chunks/permission-kg1345f7.js +63 -0
- package/dist/chunks/permission-khnqrbwa.js +179 -0
- package/dist/chunks/permission-kpdbz7gn.js +16 -0
- package/dist/chunks/permission-kxy11nzk.js +24 -0
- package/dist/chunks/permission-kyyqvx4s.js +13 -0
- package/dist/chunks/permission-m01ryvbe.js +22 -0
- package/dist/chunks/permission-m8cbvarh.js +19 -0
- package/dist/chunks/permission-ma07p6tt.js +83 -0
- package/dist/chunks/permission-ma60vzgv.js +13 -0
- package/dist/chunks/permission-mf0hyk7z.js +18 -0
- package/dist/chunks/permission-mwceq5am.js +102 -0
- package/dist/chunks/permission-mya790jh.js +72 -0
- package/dist/chunks/permission-n3m50c2t.js +15 -0
- package/dist/chunks/permission-n59ptmzm.js +155 -0
- package/dist/chunks/permission-n6t016aw.js +153 -0
- package/dist/chunks/permission-n9rwdya5.js +375 -0
- package/dist/chunks/permission-nesb2rcz.js +18 -0
- package/dist/chunks/permission-nkm1m8dz.js +25 -0
- package/dist/chunks/permission-nr76rjj3.js +46 -0
- package/dist/chunks/permission-nsc0c3zb.js +14 -0
- package/dist/chunks/permission-nv7zjdpe.js +56 -0
- package/dist/chunks/permission-nzrjycs5.js +21 -0
- package/dist/chunks/permission-p2ry9sj0.js +121 -0
- package/dist/chunks/permission-pf0ndnmr.js +183 -0
- package/dist/chunks/permission-pfqehjmy.js +18 -0
- package/dist/chunks/permission-ph1me6ah.js +156 -0
- package/dist/chunks/permission-pq4b4pqk.js +29 -0
- package/dist/chunks/permission-prf9bavk.js +96 -0
- package/dist/chunks/permission-prg6vhnf.js +41 -0
- package/dist/chunks/permission-q4r4pzs4.js +207 -0
- package/dist/chunks/permission-qa8qg9jd.js +276 -0
- package/dist/chunks/permission-qaarhjrp.js +19 -0
- package/dist/chunks/permission-qc167nrn.js +29 -0
- package/dist/chunks/permission-qde5933h.js +260 -0
- package/dist/chunks/permission-qe0d689s.js +18 -0
- package/dist/chunks/permission-qe9kfb7t.js +92 -0
- package/dist/chunks/permission-qnjh8g89.js +692 -0
- package/dist/chunks/permission-qnk5fbz4.js +183 -0
- package/dist/chunks/permission-qp95y4jb.js +13 -0
- package/dist/chunks/permission-qyfd1tbv.js +295 -0
- package/dist/chunks/permission-r3k9abhd.js +34 -0
- package/dist/chunks/permission-r5ce0emk.js +405 -0
- package/dist/chunks/permission-r8f4w671.js +17 -0
- package/dist/chunks/permission-rdfev9jy.js +12 -0
- package/dist/chunks/permission-rmgfhn2t.js +380 -0
- package/dist/chunks/permission-rnfxxvxb.js +120 -0
- package/dist/chunks/permission-rqswsgbs.js +105 -0
- package/dist/chunks/permission-rr5phte9.js +777 -0
- package/dist/chunks/permission-rt6yg6j2.js +338 -0
- package/dist/chunks/permission-rvfvac9x.js +18 -0
- package/dist/chunks/permission-ryap75b3.js +261 -0
- package/dist/chunks/permission-s27a5c5r.js +272 -0
- package/dist/chunks/permission-s6by3cc4.js +71 -0
- package/dist/chunks/permission-s7jy4mh3.js +73 -0
- package/dist/chunks/permission-s7whb9gt.js +31 -0
- package/dist/chunks/permission-se76j685.js +13 -0
- package/dist/chunks/permission-sem2g21k.js +8 -0
- package/dist/chunks/permission-smpeg8c9.js +18 -0
- package/dist/chunks/permission-spc2jgzw.js +271 -0
- package/dist/chunks/permission-szax8zgv.js +251 -0
- package/dist/chunks/permission-szjq6xea.js +57 -0
- package/dist/chunks/permission-t1xz8esh.js +115 -0
- package/dist/chunks/permission-t2j2ttmx.js +51 -0
- package/dist/chunks/permission-tcn24h1d.js +52 -0
- package/dist/chunks/permission-tdm3rp2k.js +49 -0
- package/dist/chunks/permission-tenv3kfs.js +83 -0
- package/dist/chunks/permission-thstd87d.js +21 -0
- package/dist/chunks/permission-tmb1f636.js +28 -0
- package/dist/chunks/permission-ts4t4v20.js +97 -0
- package/dist/chunks/permission-ttxf0gsy.js +0 -0
- package/dist/chunks/permission-tvmhrvfj.js +4 -0
- package/dist/chunks/permission-tyh0a1hs.js +124 -0
- package/dist/chunks/permission-v2adqbbe.js +19 -0
- package/dist/chunks/permission-v5s1ymsp.js +160 -0
- package/dist/chunks/permission-v972xay6.js +14 -0
- package/dist/chunks/permission-v9bfv94f.js +41 -0
- package/dist/chunks/permission-v9zc0ymn.js +169 -0
- package/dist/chunks/permission-vh4z0rtm.js +151 -0
- package/dist/chunks/permission-vvd6rh5t.js +47 -0
- package/dist/chunks/permission-vynn1k31.js +257 -0
- package/dist/chunks/permission-vz49gck1.js +309 -0
- package/dist/chunks/permission-vz89hfgr.js +116 -0
- package/dist/chunks/permission-w4678h5q.js +127 -0
- package/dist/chunks/permission-wd268jeg.js +83 -0
- package/dist/chunks/permission-we2zmhe4.js +74 -0
- package/dist/chunks/permission-wf37p1a1.js +266 -0
- package/dist/chunks/permission-wj4sxzqa.js +38 -0
- package/dist/chunks/permission-wmxdh12w.js +13 -0
- package/dist/chunks/permission-wps8gh8n.js +18 -0
- package/dist/chunks/permission-wt193r4g.js +130 -0
- package/dist/chunks/permission-wvha5myg.js +178 -0
- package/dist/chunks/permission-wwdwn09j.js +41 -0
- package/dist/chunks/permission-wwntjmk1.js +13 -0
- package/dist/chunks/permission-wx89ywv3.js +104 -0
- package/dist/chunks/permission-wyqjaaa5.js +17 -0
- package/dist/chunks/permission-x4q807cx.js +26 -0
- package/dist/chunks/permission-x89fqk1b.js +214 -0
- package/dist/chunks/permission-xd1cg062.js +171 -0
- package/dist/chunks/permission-xd8vz63e.js +398 -0
- package/dist/chunks/permission-xfd1xnk3.js +49 -0
- package/dist/chunks/permission-xfrawapx.js +75 -0
- package/dist/chunks/permission-xgv25zxy.js +16 -0
- package/dist/chunks/permission-xwftk1fd.js +18 -0
- package/dist/chunks/permission-y0x38cee.js +28 -0
- package/dist/chunks/permission-y1d74x2z.js +206 -0
- package/dist/chunks/permission-y1tgg8ry.js +324 -0
- package/dist/chunks/permission-y4beh62e.js +192 -0
- package/dist/chunks/permission-y67x6rf6.js +19 -0
- package/dist/chunks/permission-y76hsvs9.js +39 -0
- package/dist/chunks/permission-y8rs54ne.js +16 -0
- package/dist/chunks/permission-yjjxtbjv.js +33 -0
- package/dist/chunks/permission-yjwwrq2w.js +36 -0
- package/dist/chunks/permission-yrqrg4vp.js +17 -0
- package/dist/chunks/permission-z47nswr2.js +16 -0
- package/dist/chunks/permission-z4nw170e.js +283 -0
- package/dist/chunks/permission-z5ystmxz.js +74 -0
- package/dist/chunks/permission-z66vzcey.js +470 -0
- package/dist/chunks/permission-zbqqnp0n.js +75 -0
- package/dist/chunks/permission-zdkg1k91.js +23 -0
- package/dist/chunks/permission-zfxc0ze5.js +123 -0
- package/dist/chunks/permission-zr271bqv.js +103 -0
- package/dist/chunks/permission-zsf8rs93.js +20 -0
- package/dist/chunks/permission-zt25ybqs.js +370 -0
- package/dist/chunks/permission-zthe9zqc.js +36 -0
- package/dist/chunks/permission-zvvp2xr4.js +99 -0
- package/dist/chunks/permission-zxzx89zt.js +585 -0
- package/dist/codemode/catalog.js +13 -0
- package/dist/codemode/instructions.js +15 -0
- package/dist/codemode/tool.js +12 -0
- package/dist/command.js +140 -0
- package/dist/config/markdown.js +13 -0
- package/dist/config/normalize.js +27 -0
- package/dist/config/plugin/agent.js +136 -0
- package/dist/config/plugin/command.js +128 -0
- package/dist/config/plugin/instruction.js +92 -0
- package/dist/config/plugin/policy.js +117 -0
- package/dist/config/plugin/provider.js +116 -0
- package/dist/config/plugin/reference.js +120 -0
- package/dist/config/plugin/skill-file.js +109 -0
- package/dist/config/plugin/skill.js +139 -0
- package/dist/config/plugin/source.js +122 -0
- package/dist/config/plugin/websearch.js +116 -0
- package/dist/config/variable.js +11 -0
- package/dist/config.js +129 -0
- package/dist/credential/sql.js +8 -0
- package/dist/credential.js +87 -0
- package/dist/database/database.js +82 -0
- package/dist/database/drizzle/effect-sqlite/driver.js +27 -0
- package/dist/database/drizzle/effect-sqlite/index.js +36 -0
- package/dist/database/drizzle/effect-sqlite/migrator.js +20 -0
- package/dist/database/drizzle/effect-sqlite/session.js +22 -0
- package/dist/database/drizzle/index.js +42 -0
- package/dist/database/drizzle/internal/drizzle-utils.js +19 -0
- package/dist/database/drizzle/sqlite-core/effect/count.js +7 -0
- package/dist/database/drizzle/sqlite-core/effect/db.js +17 -0
- package/dist/database/drizzle/sqlite-core/effect/delete.js +8 -0
- package/dist/database/drizzle/sqlite-core/effect/index.js +59 -0
- package/dist/database/drizzle/sqlite-core/effect/insert.js +10 -0
- package/dist/database/drizzle/sqlite-core/effect/query.js +9 -0
- package/dist/database/drizzle/sqlite-core/effect/raw.js +7 -0
- package/dist/database/drizzle/sqlite-core/effect/select.js +10 -0
- package/dist/database/drizzle/sqlite-core/effect/session.js +25 -0
- package/dist/database/drizzle/sqlite-core/effect/update.js +10 -0
- package/dist/database/drizzle/up-migrations/effect-sqlite.js +9 -0
- package/dist/database/drizzle/up-migrations/sqlite.js +14 -0
- package/dist/database/drizzle/up-migrations/utils.js +9 -0
- package/dist/database/drizzle.js +43 -0
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +7 -0
- package/dist/database/migration/20260211171708_add_project_commands.js +7 -0
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +7 -0
- package/dist/database/migration/20260225215848_workspace.js +7 -0
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +7 -0
- package/dist/database/migration/20260228203230_blue_harpoon.js +7 -0
- package/dist/database/migration/20260303231226_add_workspace_fields.js +7 -0
- package/dist/database/migration/20260309230000_move_org_to_state.js +7 -0
- package/dist/database/migration/20260312043431_session_message_cursor.js +7 -0
- package/dist/database/migration/20260323234822_events.js +7 -0
- package/dist/database/migration/20260410174513_workspace-name.js +7 -0
- package/dist/database/migration/20260413175956_chief_energizer.js +7 -0
- package/dist/database/migration/20260423070820_add_icon_url_override.js +7 -0
- package/dist/database/migration/20260427172553_slow_nightmare.js +7 -0
- package/dist/database/migration/20260428004200_add_session_path.js +7 -0
- package/dist/database/migration/20260501142318_next_venus.js +7 -0
- package/dist/database/migration/20260504145000_add_sync_owner.js +7 -0
- package/dist/database/migration/20260507164347_add_workspace_time.js +7 -0
- package/dist/database/migration/20260510033149_session_usage.js +7 -0
- package/dist/database/migration/20260511000411_data_migration_state.js +7 -0
- package/dist/database/migration/20260511173437_session-metadata.js +7 -0
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +7 -0
- package/dist/database/migration/20260601202201_amazing_prowler.js +7 -0
- package/dist/database/migration/20260602002951_lowly_union_jack.js +7 -0
- package/dist/database/migration/20260602182828_add_project_directories.js +7 -0
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +7 -0
- package/dist/database/migration/20260603040000_session_message_projection_order.js +7 -0
- package/dist/database/migration/20260603141458_session_input_inbox.js +7 -0
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +7 -0
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +7 -0
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +7 -0
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +7 -0
- package/dist/database/migration/20260611035744_credential.js +7 -0
- package/dist/database/migration/20260611192811_lush_chimera.js +7 -0
- package/dist/database/migration/20260612174303_project_dir_strategy.js +7 -0
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +7 -0
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +7 -0
- package/dist/database/migration/20260622202450_simplify_session_input.js +7 -0
- package/dist/database/migration/20260804233008_loose_psylocke.js +7 -0
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +9 -0
- package/dist/database/migration/20260808023530_workspace_domain.js +7 -0
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +7 -0
- package/dist/database/migration.gen.js +49 -0
- package/dist/database/migration.js +55 -0
- package/dist/database/path.js +14 -0
- package/dist/database/schema.gen.js +7 -0
- package/dist/database/schema.sql.js +7 -0
- package/dist/database/sqlite.bun.js +78 -0
- package/dist/database/sqlite.js +13 -0
- package/dist/database/sqlite.node.js +74 -0
- package/dist/database/sqlite.workerd.js +128 -0
- package/dist/database/v1-migration.bun.js +739 -0
- package/dist/database/v1-migration.js +7 -0
- package/dist/database/v1-migration.noop.js +16 -0
- package/dist/effect/app-node-builder.js +340 -0
- package/dist/effect/app-node-platform.js +11 -0
- package/dist/effect/keyed-mutex.js +11 -0
- package/dist/environment/driver.js +12 -0
- package/dist/environment/environment.js +93 -0
- package/dist/environment/exec-defaults.js +10 -0
- package/dist/environment/files.js +17 -0
- package/dist/environment/index.js +113 -0
- package/dist/environment/local.js +10 -0
- package/dist/environment/memory.js +10 -0
- package/dist/event/sql.js +9 -0
- package/dist/event-logger.js +104 -0
- package/dist/file-mutation.js +98 -0
- package/dist/file.js +9 -0
- package/dist/filesystem/fff.bun.js +23 -0
- package/dist/filesystem/fff.js +7 -0
- package/dist/filesystem/fff.node.js +24 -0
- package/dist/filesystem/ignore.js +58 -0
- package/dist/filesystem/location-watcher.js +118 -0
- package/dist/filesystem/protected.js +13 -0
- package/dist/filesystem/search.js +108 -0
- package/dist/filesystem/watcher-binding.js +7 -0
- package/dist/filesystem/watcher.js +33 -0
- package/dist/filesystem.js +122 -0
- package/dist/form.js +124 -0
- package/dist/formatter/builtins.js +8 -0
- package/dist/formatter.js +120 -0
- package/dist/generate.js +107 -0
- package/dist/git.js +24 -0
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +7 -0
- package/dist/github-copilot/chat/get-response-metadata.js +7 -0
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +7 -0
- package/dist/github-copilot/chat/openai-compatible-api-types.js +0 -0
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +13 -0
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +7 -0
- package/dist/github-copilot/chat/openai-compatible-metadata-extractor.js +0 -0
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +7 -0
- package/dist/github-copilot/copilot-provider.js +67 -0
- package/dist/github-copilot/models.js +11 -0
- package/dist/github-copilot/openai-compatible-error.js +9 -0
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +8 -0
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +7 -0
- package/dist/github-copilot/responses/openai-config.js +0 -0
- package/dist/github-copilot/responses/openai-error.js +9 -0
- package/dist/github-copilot/responses/openai-responses-api-types.js +0 -0
- package/dist/github-copilot/responses/openai-responses-language-model.js +17 -0
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +12 -0
- package/dist/github-copilot/responses/openai-responses-settings.js +0 -0
- package/dist/github-copilot/responses/tool/code-interpreter.js +15 -0
- package/dist/github-copilot/responses/tool/file-search.js +11 -0
- package/dist/github-copilot/responses/tool/image-generation.js +9 -0
- package/dist/github-copilot/responses/tool/local-shell.js +9 -0
- package/dist/github-copilot/responses/tool/web-search-preview.js +7 -0
- package/dist/github-copilot/responses/tool/web-search.js +7 -0
- package/dist/id/id.js +15 -0
- package/dist/image/photon-wasm.bun.js +8 -0
- package/dist/image/photon-wasm.node.js +8 -0
- package/dist/image/photon.js +208 -0
- package/dist/image.js +137 -0
- package/dist/instruction-discovery.js +100 -0
- package/dist/instructions/builtins.js +88 -0
- package/dist/instructions/index.js +45 -0
- package/dist/integration/connection.js +13 -0
- package/dist/integration.js +127 -0
- package/dist/job.js +15 -0
- package/dist/kv/sql.js +8 -0
- package/dist/kv.js +77 -0
- package/dist/location-mutation.js +92 -0
- package/dist/location-service-map.js +86 -0
- package/dist/location-services.js +319 -0
- package/dist/location.js +93 -0
- package/dist/mcp/client.js +13 -0
- package/dist/mcp/index.js +167 -0
- package/dist/mcp/instructions.js +163 -0
- package/dist/mcp/oauth.js +20 -0
- package/dist/mime.js +9 -0
- package/dist/model-resolver.js +115 -0
- package/dist/model.js +30 -0
- package/dist/models-dev.js +103 -0
- package/dist/oauth/page.js +13 -0
- package/dist/permission/saved.js +94 -0
- package/dist/permission/sql.js +11 -0
- package/dist/permission.js +142 -0
- package/dist/plugin/agent.js +107 -0
- package/dist/plugin/command.js +84 -0
- package/dist/plugin/hooks.js +12 -0
- package/dist/plugin/host.js +190 -0
- package/dist/plugin/internal.js +278 -0
- package/dist/plugin/models-dev.js +90 -0
- package/dist/plugin/plan.js +89 -0
- package/dist/plugin/promise.js +151 -0
- package/dist/plugin/provider/alibaba.js +8 -0
- package/dist/plugin/provider/amazon-bedrock.js +8 -0
- package/dist/plugin/provider/anthropic.js +8 -0
- package/dist/plugin/provider/azure.js +121 -0
- package/dist/plugin/provider/cerebras.js +8 -0
- package/dist/plugin/provider/cloudflare-ai-gateway.js +122 -0
- package/dist/plugin/provider/cloudflare-workers-ai.js +122 -0
- package/dist/plugin/provider/cohere.js +8 -0
- package/dist/plugin/provider/configured.js +119 -0
- package/dist/plugin/provider/deepinfra.js +8 -0
- package/dist/plugin/provider/dynamic.js +7 -0
- package/dist/plugin/provider/factory.js +7 -0
- package/dist/plugin/provider/gateway.js +8 -0
- package/dist/plugin/provider/github-copilot.js +100 -0
- package/dist/plugin/provider/gitlab.js +9 -0
- package/dist/plugin/provider/google-vertex.js +8 -0
- package/dist/plugin/provider/groq.js +8 -0
- package/dist/plugin/provider/kilo.js +8 -0
- package/dist/plugin/provider/llmgateway.js +91 -0
- package/dist/plugin/provider/mistral.js +8 -0
- package/dist/plugin/provider/nvidia.js +8 -0
- package/dist/plugin/provider/openai-compatible.js +7 -0
- package/dist/plugin/provider/openai.js +93 -0
- package/dist/plugin/provider/opencode.js +106 -0
- package/dist/plugin/provider/openrouter.js +9 -0
- package/dist/plugin/provider/perplexity.js +8 -0
- package/dist/plugin/provider/sap-ai-core.js +8 -0
- package/dist/plugin/provider/snowflake-cortex.js +10 -0
- package/dist/plugin/provider/togetherai.js +8 -0
- package/dist/plugin/provider/venice.js +8 -0
- package/dist/plugin/provider/vercel.js +8 -0
- package/dist/plugin/provider/xai.js +91 -0
- package/dist/plugin/provider/zenmux.js +8 -0
- package/dist/plugin/provider.js +157 -0
- package/dist/plugin/runtime.js +195 -0
- package/dist/plugin/sdk.js +92 -0
- package/dist/plugin/skill.js +143 -0
- package/dist/plugin/supervisor.js +285 -0
- package/dist/plugin/system-prompt.js +21 -0
- package/dist/plugin/variant.js +13 -0
- package/dist/plugin/warming.js +117 -0
- package/dist/plugin/websearch/exa.js +13 -0
- package/dist/plugin/websearch/firecrawl.js +14 -0
- package/dist/plugin/websearch/index.js +13 -0
- package/dist/plugin/websearch/mcp.js +14 -0
- package/dist/plugin/websearch/parallel.js +14 -0
- package/dist/plugin.js +199 -0
- package/dist/project/copy-strategies.js +85 -0
- package/dist/project/copy.js +119 -0
- package/dist/project/directories.js +88 -0
- package/dist/project/schema.js +22 -0
- package/dist/project/sql.js +14 -0
- package/dist/project.js +100 -0
- package/dist/provider.js +31 -0
- package/dist/pty/protocol.js +45 -0
- package/dist/pty/pty.bun.js +28 -0
- package/dist/pty/pty.js +0 -0
- package/dist/pty/pty.node.js +30 -0
- package/dist/pty/schema.js +7 -0
- package/dist/pty/ticket.js +118 -0
- package/dist/pty.js +137 -0
- package/dist/question.js +111 -0
- package/dist/reference/instructions.js +93 -0
- package/dist/reference.js +101 -0
- package/dist/repository-cache.js +34 -0
- package/dist/repository.js +29 -0
- package/dist/ripgrep/binary.js +8 -0
- package/dist/ripgrep.js +100 -0
- package/dist/schema.js +21 -0
- package/dist/session/compaction.js +161 -0
- package/dist/session/context.js +291 -0
- package/dist/session/error.js +21 -0
- package/dist/session/event.js +7 -0
- package/dist/session/execution/restart.js +186 -0
- package/dist/session/execution.js +130 -0
- package/dist/session/generate-node.js +297 -0
- package/dist/session/generate.js +9 -0
- package/dist/session/history.js +92 -0
- package/dist/session/info.js +92 -0
- package/dist/session/instruction-entry.js +90 -0
- package/dist/session/instruction-state.js +35 -0
- package/dist/session/instructions.js +105 -0
- package/dist/session/message-updater.js +11 -0
- package/dist/session/message.js +7 -0
- package/dist/session/model-headers.js +11 -0
- package/dist/session/model-http.js +11 -0
- package/dist/session/model-request.js +305 -0
- package/dist/session/pending.js +142 -0
- package/dist/session/projector.js +104 -0
- package/dist/session/prompt-cache-diagnostics.js +11 -0
- package/dist/session/prompt-cache-key.js +10 -0
- package/dist/session/revert.js +127 -0
- package/dist/session/run-coordinator.js +9 -0
- package/dist/session/runner/index.js +100 -0
- package/dist/session/runner/llm.js +305 -0
- package/dist/session/runner/max-steps.js +7 -0
- package/dist/session/runner/model.js +113 -0
- package/dist/session/runner/publish-llm-event.js +9 -0
- package/dist/session/runner/retry.js +93 -0
- package/dist/session/runner/to-llm-message.js +7 -0
- package/dist/session/schema.js +11 -0
- package/dist/session/sql.js +21 -0
- package/dist/session/store.js +104 -0
- package/dist/session/title.js +123 -0
- package/dist/session/to-session-error.js +116 -0
- package/dist/session/transfer.js +454 -0
- package/dist/session/usage.js +15 -0
- package/dist/session.js +218 -0
- package/dist/shell/parse.js +11 -0
- package/dist/shell/parser-wasm.bun.js +10 -0
- package/dist/shell/parser-wasm.node.js +13 -0
- package/dist/shell/select.js +26 -0
- package/dist/shell.js +136 -0
- package/dist/skill/discovery.js +12 -0
- package/dist/skill/instructions.js +110 -0
- package/dist/skill.js +129 -0
- package/dist/snapshot.js +124 -0
- package/dist/state.js +13 -0
- package/dist/tool/http-body.js +7 -0
- package/dist/tool/mcp.js +166 -0
- package/dist/tool/plugin/edit.js +152 -0
- package/dist/tool/plugin/file-diff.js +7 -0
- package/dist/tool/plugin/glob.js +126 -0
- package/dist/tool/plugin/grep.js +126 -0
- package/dist/tool/plugin/patch.js +155 -0
- package/dist/tool/plugin/question.js +121 -0
- package/dist/tool/plugin/read.js +127 -0
- package/dist/tool/plugin/shell.js +191 -0
- package/dist/tool/plugin/skill.js +118 -0
- package/dist/tool/plugin/subagent.js +190 -0
- package/dist/tool/plugin/webfetch.js +124 -0
- package/dist/tool/plugin/websearch.js +119 -0
- package/dist/tool/plugin/write.js +154 -0
- package/dist/tool/read-filesystem.js +126 -0
- package/dist/tool/runtime.js +11 -0
- package/dist/tool-output.js +127 -0
- package/dist/tool.js +164 -0
- package/dist/types/account/sql.d.ts +325 -0
- package/dist/types/agent.d.ts +119 -0
- package/dist/types/aisdk-native.d.ts +13 -0
- package/dist/types/aisdk.d.ts +52 -0
- package/dist/types/app.d.ts +13 -0
- package/dist/types/bus.d.ts +93 -0
- package/dist/types/catalog.d.ts +49 -0
- package/dist/types/codemode/catalog.d.ts +23 -0
- package/dist/types/codemode/instructions.d.ts +6 -0
- package/dist/types/codemode/tool.d.ts +58 -0
- package/dist/types/command.d.ts +103 -0
- package/dist/types/config/markdown.d.ts +5 -0
- package/dist/types/config/normalize.d.ts +15 -0
- package/dist/types/config/plugin/agent.d.ts +5 -0
- package/dist/types/config/plugin/command.d.ts +4 -0
- package/dist/types/config/plugin/instruction.d.ts +7 -0
- package/dist/types/config/plugin/policy.d.ts +3 -0
- package/dist/types/config/plugin/provider.d.ts +3 -0
- package/dist/types/config/plugin/reference.d.ts +5 -0
- package/dist/types/config/plugin/skill-file.d.ts +15 -0
- package/dist/types/config/plugin/skill.d.ts +8 -0
- package/dist/types/config/plugin/source.d.ts +25 -0
- package/dist/types/config/plugin/websearch.d.ts +3 -0
- package/dist/types/config/variable.d.ts +60 -0
- package/dist/types/config.d.ts +44 -0
- package/dist/types/credential/sql.d.ts +169 -0
- package/dist/types/credential.d.ts +82 -0
- package/dist/types/database/database.d.ts +23 -0
- package/dist/types/database/drizzle/effect-sqlite/driver.d.ts +43 -0
- package/dist/types/database/drizzle/effect-sqlite/index.d.ts +3 -0
- package/dist/types/database/drizzle/effect-sqlite/migrator.d.ts +4 -0
- package/dist/types/database/drizzle/effect-sqlite/session.d.ts +47 -0
- package/dist/types/database/drizzle/index.d.ts +5 -0
- package/dist/types/database/drizzle/internal/drizzle-utils.d.ts +20 -0
- package/dist/types/database/drizzle/sqlite-core/effect/count.d.ts +20 -0
- package/dist/types/database/drizzle/sqlite-core/effect/db.d.ts +82 -0
- package/dist/types/database/drizzle/sqlite-core/effect/delete.d.ts +69 -0
- package/dist/types/database/drizzle/sqlite-core/effect/index.d.ts +9 -0
- package/dist/types/database/drizzle/sqlite-core/effect/insert.d.ts +95 -0
- package/dist/types/database/drizzle/sqlite-core/effect/query.d.ts +63 -0
- package/dist/types/database/drizzle/sqlite-core/effect/raw.d.ts +32 -0
- package/dist/types/database/drizzle/sqlite-core/effect/select.d.ts +64 -0
- package/dist/types/database/drizzle/sqlite-core/effect/session.d.ts +88 -0
- package/dist/types/database/drizzle/sqlite-core/effect/update.d.ts +90 -0
- package/dist/types/database/drizzle/up-migrations/effect-sqlite.d.ts +8 -0
- package/dist/types/database/drizzle/up-migrations/sqlite.d.ts +53 -0
- package/dist/types/database/drizzle/up-migrations/utils.d.ts +21 -0
- package/dist/types/database/drizzle.d.ts +1 -0
- package/dist/types/database/migration/20260127222353_familiar_lady_ursula.d.ts +3 -0
- package/dist/types/database/migration/20260211171708_add_project_commands.d.ts +3 -0
- package/dist/types/database/migration/20260213144116_wakeful_the_professor.d.ts +3 -0
- package/dist/types/database/migration/20260225215848_workspace.d.ts +3 -0
- package/dist/types/database/migration/20260227213759_add_session_workspace_id.d.ts +3 -0
- package/dist/types/database/migration/20260228203230_blue_harpoon.d.ts +3 -0
- package/dist/types/database/migration/20260303231226_add_workspace_fields.d.ts +3 -0
- package/dist/types/database/migration/20260309230000_move_org_to_state.d.ts +3 -0
- package/dist/types/database/migration/20260312043431_session_message_cursor.d.ts +3 -0
- package/dist/types/database/migration/20260323234822_events.d.ts +3 -0
- package/dist/types/database/migration/20260410174513_workspace-name.d.ts +3 -0
- package/dist/types/database/migration/20260413175956_chief_energizer.d.ts +3 -0
- package/dist/types/database/migration/20260423070820_add_icon_url_override.d.ts +3 -0
- package/dist/types/database/migration/20260427172553_slow_nightmare.d.ts +3 -0
- package/dist/types/database/migration/20260428004200_add_session_path.d.ts +3 -0
- package/dist/types/database/migration/20260501142318_next_venus.d.ts +3 -0
- package/dist/types/database/migration/20260504145000_add_sync_owner.d.ts +3 -0
- package/dist/types/database/migration/20260507164347_add_workspace_time.d.ts +3 -0
- package/dist/types/database/migration/20260510033149_session_usage.d.ts +3 -0
- package/dist/types/database/migration/20260511000411_data_migration_state.d.ts +3 -0
- package/dist/types/database/migration/20260511173437_session-metadata.d.ts +3 -0
- package/dist/types/database/migration/20260601010001_normalize_storage_paths.d.ts +3 -0
- package/dist/types/database/migration/20260601202201_amazing_prowler.d.ts +3 -0
- package/dist/types/database/migration/20260602002951_lowly_union_jack.d.ts +3 -0
- package/dist/types/database/migration/20260602182828_add_project_directories.d.ts +3 -0
- package/dist/types/database/migration/20260603001617_session_message_projection_indexes.d.ts +3 -0
- package/dist/types/database/migration/20260603040000_session_message_projection_order.d.ts +3 -0
- package/dist/types/database/migration/20260603141458_session_input_inbox.d.ts +3 -0
- package/dist/types/database/migration/20260603160727_jittery_ezekiel_stane.d.ts +3 -0
- package/dist/types/database/migration/20260604172448_event_sourced_session_input.d.ts +3 -0
- package/dist/types/database/migration/20260605003541_add_session_context_snapshot.d.ts +3 -0
- package/dist/types/database/migration/20260605042240_add_context_epoch_agent.d.ts +3 -0
- package/dist/types/database/migration/20260611035744_credential.d.ts +3 -0
- package/dist/types/database/migration/20260611192811_lush_chimera.d.ts +3 -0
- package/dist/types/database/migration/20260612174303_project_dir_strategy.d.ts +3 -0
- package/dist/types/database/migration/20260622142730_simplify_session_context_epoch.d.ts +3 -0
- package/dist/types/database/migration/20260622170816_reset_v2_session_state.d.ts +3 -0
- package/dist/types/database/migration/20260622202450_simplify_session_input.d.ts +3 -0
- package/dist/types/database/migration/20260804233008_loose_psylocke.d.ts +3 -0
- package/dist/types/database/migration/20260805200742_import_legacy_credentials.d.ts +5 -0
- package/dist/types/database/migration/20260808023530_workspace_domain.d.ts +3 -0
- package/dist/types/database/migration/20260811161259_execution_claim_attempts.d.ts +3 -0
- package/dist/types/database/migration.d.ts +13 -0
- package/dist/types/database/migration.gen.d.ts +2 -0
- package/dist/types/database/path.d.ts +68 -0
- package/dist/types/database/schema.gen.d.ts +3 -0
- package/dist/types/database/schema.sql.d.ts +4 -0
- package/dist/types/database/sqlite.bun.d.ts +14 -0
- package/dist/types/database/sqlite.d.ts +20 -0
- package/dist/types/database/sqlite.node.d.ts +16 -0
- package/dist/types/database/sqlite.workerd.d.ts +29 -0
- package/dist/types/database/v1-migration.bun.d.ts +71 -0
- package/dist/types/database/v1-migration.d.ts +2 -0
- package/dist/types/database/v1-migration.noop.d.ts +11 -0
- package/dist/types/effect/app-node-builder.d.ts +3 -0
- package/dist/types/effect/app-node-platform.d.ts +4 -0
- package/dist/types/effect/keyed-mutex.d.ts +19 -0
- package/dist/types/environment/driver.d.ts +7 -0
- package/dist/types/environment/environment.d.ts +12 -0
- package/dist/types/environment/exec-defaults.d.ts +4 -0
- package/dist/types/environment/files.d.ts +60 -0
- package/dist/types/environment/index.d.ts +10 -0
- package/dist/types/environment/local.d.ts +13 -0
- package/dist/types/environment/memory.d.ts +8 -0
- package/dist/types/event/sql.d.ts +158 -0
- package/dist/types/event-logger.d.ts +5 -0
- package/dist/types/file-mutation.d.ts +40 -0
- package/dist/types/file.d.ts +9 -0
- package/dist/types/filesystem/fff.bun.d.ts +7 -0
- package/dist/types/filesystem/fff.d.ts +60 -0
- package/dist/types/filesystem/fff.node.d.ts +4 -0
- package/dist/types/filesystem/ignore.d.ts +2 -0
- package/dist/types/filesystem/location-watcher.d.ts +8 -0
- package/dist/types/filesystem/protected.d.ts +6 -0
- package/dist/types/filesystem/search.d.ts +20 -0
- package/dist/types/filesystem/watcher-binding.d.ts +1 -0
- package/dist/types/filesystem/watcher.d.ts +105 -0
- package/dist/types/filesystem.d.ts +130 -0
- package/dist/types/form.d.ts +450 -0
- package/dist/types/formatter/builtins.d.ts +18 -0
- package/dist/types/formatter.d.ts +9 -0
- package/dist/types/generate.d.ts +28 -0
- package/dist/types/git.d.ts +133 -0
- package/dist/types/github-copilot/chat/convert-to-openai-compatible-chat-messages.d.ts +3 -0
- package/dist/types/github-copilot/chat/get-response-metadata.d.ts +9 -0
- package/dist/types/github-copilot/chat/map-openai-compatible-finish-reason.d.ts +2 -0
- package/dist/types/github-copilot/chat/openai-compatible-api-types.d.ts +48 -0
- package/dist/types/github-copilot/chat/openai-compatible-chat-language-model.d.ts +135 -0
- package/dist/types/github-copilot/chat/openai-compatible-chat-options.d.ts +9 -0
- package/dist/types/github-copilot/chat/openai-compatible-metadata-extractor.d.ts +43 -0
- package/dist/types/github-copilot/chat/openai-compatible-prepare-tools.d.ts +21 -0
- package/dist/types/github-copilot/copilot-provider.d.ts +36 -0
- package/dist/types/github-copilot/models.d.ts +3 -0
- package/dist/types/github-copilot/openai-compatible-error.d.ts +16 -0
- package/dist/types/github-copilot/responses/convert-to-openai-responses-input.d.ts +19 -0
- package/dist/types/github-copilot/responses/map-openai-responses-finish-reason.d.ts +5 -0
- package/dist/types/github-copilot/responses/openai-config.d.ts +20 -0
- package/dist/types/github-copilot/responses/openai-error.d.ts +11 -0
- package/dist/types/github-copilot/responses/openai-responses-api-types.d.ts +185 -0
- package/dist/types/github-copilot/responses/openai-responses-language-model.d.ts +205 -0
- package/dist/types/github-copilot/responses/openai-responses-prepare-tools.d.ts +24 -0
- package/dist/types/github-copilot/responses/openai-responses-settings.d.ts +1 -0
- package/dist/types/github-copilot/responses/tool/code-interpreter.d.ts +86 -0
- package/dist/types/github-copilot/responses/tool/file-search.d.ts +95 -0
- package/dist/types/github-copilot/responses/tool/image-generation.d.ts +42 -0
- package/dist/types/github-copilot/responses/tool/local-shell.d.ts +14 -0
- package/dist/types/github-copilot/responses/tool/web-search-preview.d.ts +15 -0
- package/dist/types/github-copilot/responses/tool/web-search.d.ts +18 -0
- package/dist/types/id/id.d.ts +19 -0
- package/dist/types/image/photon-wasm.bun.d.ts +2 -0
- package/dist/types/image/photon-wasm.node.d.ts +2 -0
- package/dist/types/image/photon.d.ts +24 -0
- package/dist/types/image.d.ts +35 -0
- package/dist/types/instruction-discovery.d.ts +73 -0
- package/dist/types/instructions/builtins.d.ts +11 -0
- package/dist/types/instructions/index.d.ts +88 -0
- package/dist/types/integration/connection.d.ts +26 -0
- package/dist/types/integration.d.ts +1648 -0
- package/dist/types/job.d.ts +67 -0
- package/dist/types/kv/sql.d.ts +71 -0
- package/dist/types/kv.d.ts +12 -0
- package/dist/types/location-mutation.d.ts +48 -0
- package/dist/types/location-service-map.d.ts +9 -0
- package/dist/types/location-services.d.ts +52 -0
- package/dist/types/location.d.ts +14 -0
- package/dist/types/mcp/client.d.ts +277 -0
- package/dist/types/mcp/index.d.ts +224 -0
- package/dist/types/mcp/instructions.d.ts +13 -0
- package/dist/types/mcp/oauth.d.ts +86 -0
- package/dist/types/mime.d.ts +2 -0
- package/dist/types/model-resolver.d.ts +103 -0
- package/dist/types/model.d.ts +177 -0
- package/dist/types/models-dev.d.ts +33 -0
- package/dist/types/oauth/page.d.ts +15 -0
- package/dist/types/permission/saved.d.ts +40 -0
- package/dist/types/permission/sql.d.ts +103 -0
- package/dist/types/permission.d.ts +125 -0
- package/dist/types/plugin/agent.d.ts +2 -0
- package/dist/types/plugin/command.d.ts +3 -0
- package/dist/types/plugin/hooks.d.ts +31 -0
- package/dist/types/plugin/host.d.ts +280 -0
- package/dist/types/plugin/internal.d.ts +49 -0
- package/dist/types/plugin/models-dev.d.ts +3 -0
- package/dist/types/plugin/plan.d.ts +2 -0
- package/dist/types/plugin/promise.d.ts +13 -0
- package/dist/types/plugin/provider/alibaba.d.ts +1 -0
- package/dist/types/plugin/provider/amazon-bedrock.d.ts +1 -0
- package/dist/types/plugin/provider/anthropic.d.ts +1 -0
- package/dist/types/plugin/provider/azure.d.ts +1 -0
- package/dist/types/plugin/provider/cerebras.d.ts +1 -0
- package/dist/types/plugin/provider/cloudflare-ai-gateway.d.ts +1 -0
- package/dist/types/plugin/provider/cloudflare-workers-ai.d.ts +1 -0
- package/dist/types/plugin/provider/cohere.d.ts +1 -0
- package/dist/types/plugin/provider/configured.d.ts +5 -0
- package/dist/types/plugin/provider/deepinfra.d.ts +1 -0
- package/dist/types/plugin/provider/dynamic.d.ts +2 -0
- package/dist/types/plugin/provider/factory.d.ts +6 -0
- package/dist/types/plugin/provider/gateway.d.ts +1 -0
- package/dist/types/plugin/provider/github-copilot.d.ts +8 -0
- package/dist/types/plugin/provider/gitlab.d.ts +1 -0
- package/dist/types/plugin/provider/google-vertex.d.ts +1 -0
- package/dist/types/plugin/provider/groq.d.ts +1 -0
- package/dist/types/plugin/provider/kilo.d.ts +1 -0
- package/dist/types/plugin/provider/llmgateway.d.ts +2 -0
- package/dist/types/plugin/provider/mistral.d.ts +1 -0
- package/dist/types/plugin/provider/nvidia.d.ts +1 -0
- package/dist/types/plugin/provider/openai-compatible.d.ts +1 -0
- package/dist/types/plugin/provider/openai.d.ts +2 -0
- package/dist/types/plugin/provider/opencode.d.ts +4 -0
- package/dist/types/plugin/provider/openrouter.d.ts +1 -0
- package/dist/types/plugin/provider/perplexity.d.ts +1 -0
- package/dist/types/plugin/provider/sap-ai-core.d.ts +2 -0
- package/dist/types/plugin/provider/snowflake-cortex.d.ts +4 -0
- package/dist/types/plugin/provider/togetherai.d.ts +1 -0
- package/dist/types/plugin/provider/venice.d.ts +1 -0
- package/dist/types/plugin/provider/vercel.d.ts +1 -0
- package/dist/types/plugin/provider/xai.d.ts +2 -0
- package/dist/types/plugin/provider/zenmux.d.ts +1 -0
- package/dist/types/plugin/provider.d.ts +2 -0
- package/dist/types/plugin/runtime.d.ts +32 -0
- package/dist/types/plugin/sdk.d.ts +58 -0
- package/dist/types/plugin/skill.d.ts +6 -0
- package/dist/types/plugin/supervisor.d.ts +16 -0
- package/dist/types/plugin/system-prompt.d.ts +8 -0
- package/dist/types/plugin/variant.d.ts +10 -0
- package/dist/types/plugin/warming.d.ts +4 -0
- package/dist/types/plugin/websearch/exa.d.ts +5 -0
- package/dist/types/plugin/websearch/firecrawl.d.ts +5 -0
- package/dist/types/plugin/websearch/index.d.ts +1 -0
- package/dist/types/plugin/websearch/mcp.d.ts +9 -0
- package/dist/types/plugin/websearch/parallel.d.ts +5 -0
- package/dist/types/plugin.d.ts +15 -0
- package/dist/types/project/copy-strategies.d.ts +24 -0
- package/dist/types/project/copy.d.ts +96 -0
- package/dist/types/project/directories.d.ts +49 -0
- package/dist/types/project/schema.d.ts +68 -0
- package/dist/types/project/sql.d.ts +299 -0
- package/dist/types/project.d.ts +88 -0
- package/dist/types/provider.d.ts +77 -0
- package/dist/types/pty/protocol.d.ts +5 -0
- package/dist/types/pty/pty.bun.d.ts +4 -0
- package/dist/types/pty/pty.d.ts +22 -0
- package/dist/types/pty/pty.node.d.ts +3 -0
- package/dist/types/pty/schema.d.ts +1 -0
- package/dist/types/pty/ticket.d.ts +24 -0
- package/dist/types/pty.d.ts +87 -0
- package/dist/types/question.d.ts +105 -0
- package/dist/types/reference/instructions.d.ts +10 -0
- package/dist/types/reference.d.ts +64 -0
- package/dist/types/repository-cache.d.ts +71 -0
- package/dist/types/repository.d.ts +50 -0
- package/dist/types/ripgrep/binary.d.ts +11 -0
- package/dist/types/ripgrep.d.ts +50 -0
- package/dist/types/schema.d.ts +45 -0
- package/dist/types/session/compaction.d.ts +39 -0
- package/dist/types/session/context.d.ts +44 -0
- package/dist/types/session/error.d.ts +56 -0
- package/dist/types/session/event.d.ts +2 -0
- package/dist/types/session/execution/restart.d.ts +43 -0
- package/dist/types/session/execution.d.ts +42 -0
- package/dist/types/session/generate-node.d.ts +9 -0
- package/dist/types/session/generate.d.ts +19 -0
- package/dist/types/session/history.d.ts +1097 -0
- package/dist/types/session/info.d.ts +3 -0
- package/dist/types/session/instruction-entry.d.ts +32 -0
- package/dist/types/session/instruction-state.d.ts +48 -0
- package/dist/types/session/instructions.d.ts +15 -0
- package/dist/types/session/message-updater.d.ts +18 -0
- package/dist/types/session/message.d.ts +2 -0
- package/dist/types/session/model-headers.d.ts +12 -0
- package/dist/types/session/model-http.d.ts +11 -0
- package/dist/types/session/model-request.d.ts +44 -0
- package/dist/types/session/pending.d.ts +380 -0
- package/dist/types/session/projector.d.ts +4 -0
- package/dist/types/session/prompt-cache-diagnostics.d.ts +29 -0
- package/dist/types/session/prompt-cache-key.d.ts +3 -0
- package/dist/types/session/revert.d.ts +36 -0
- package/dist/types/session/run-coordinator.d.ts +36 -0
- package/dist/types/session/runner/index.d.ts +19 -0
- package/dist/types/session/runner/llm.d.ts +3 -0
- package/dist/types/session/runner/max-steps.d.ts +1 -0
- package/dist/types/session/runner/model.d.ts +55 -0
- package/dist/types/session/runner/publish-llm-event.d.ts +256 -0
- package/dist/types/session/runner/retry.d.ts +18 -0
- package/dist/types/session/runner/to-llm-message.d.ts +5 -0
- package/dist/types/session/schema.d.ts +177 -0
- package/dist/types/session/sql.d.ts +1024 -0
- package/dist/types/session/store.d.ts +43 -0
- package/dist/types/session/title.d.ts +18 -0
- package/dist/types/session/to-session-error.d.ts +2 -0
- package/dist/types/session/transfer.d.ts +769 -0
- package/dist/types/session/usage.d.ts +13 -0
- package/dist/types/session.d.ts +327 -0
- package/dist/types/shell/parse.d.ts +9 -0
- package/dist/types/shell/parser-wasm.bun.d.ts +5 -0
- package/dist/types/shell/parser-wasm.node.d.ts +5 -0
- package/dist/types/shell/select.d.ts +25 -0
- package/dist/types/shell.d.ts +43 -0
- package/dist/types/skill/discovery.d.ts +10 -0
- package/dist/types/skill/instructions.d.ts +11 -0
- package/dist/types/skill.d.ts +83 -0
- package/dist/types/snapshot.d.ts +53 -0
- package/dist/types/state.d.ts +38 -0
- package/dist/types/tool/http-body.d.ts +3 -0
- package/dist/types/tool/mcp.d.ts +20 -0
- package/dist/types/tool/plugin/edit.d.ts +38 -0
- package/dist/types/tool/plugin/file-diff.d.ts +2 -0
- package/dist/types/tool/plugin/glob.d.ts +26 -0
- package/dist/types/tool/plugin/grep.d.ts +37 -0
- package/dist/types/tool/plugin/patch.d.ts +37 -0
- package/dist/types/tool/plugin/question.d.ts +32 -0
- package/dist/types/tool/plugin/read.d.ts +36 -0
- package/dist/types/tool/plugin/shell.d.ts +21 -0
- package/dist/types/tool/plugin/skill.d.ts +21 -0
- package/dist/types/tool/plugin/subagent.d.ts +27 -0
- package/dist/types/tool/plugin/webfetch.d.ts +21 -0
- package/dist/types/tool/plugin/websearch.d.ts +17 -0
- package/dist/types/tool/plugin/write.d.ts +32 -0
- package/dist/types/tool/read-filesystem.d.ts +100 -0
- package/dist/types/tool/runtime.d.ts +26 -0
- package/dist/types/tool-output.d.ts +16 -0
- package/dist/types/tool.d.ts +40 -0
- package/dist/types/util/array.d.ts +1 -0
- package/dist/types/util/binary.d.ts +7 -0
- package/dist/types/util/encode.d.ts +5 -0
- package/dist/types/util/error.d.ts +269 -0
- package/dist/types/util/identifier.d.ts +1 -0
- package/dist/types/util/iife.d.ts +1 -0
- package/dist/types/util/lazy.d.ts +1 -0
- package/dist/types/util/path.d.ts +4 -0
- package/dist/types/util/process-lock-ffi.bun.d.ts +12 -0
- package/dist/types/util/process-lock-ffi.node.d.ts +12 -0
- package/dist/types/util/process-lock.d.ts +20 -0
- package/dist/types/util/retry.d.ts +8 -0
- package/dist/types/util/slug.d.ts +3 -0
- package/dist/types/util/token.d.ts +2 -0
- package/dist/types/util/which.d.ts +1 -0
- package/dist/types/util/wildcard.d.ts +2 -0
- package/dist/types/v1/config/agent.d.ts +96 -0
- package/dist/types/v1/config/attachment.d.ts +18 -0
- package/dist/types/v1/config/command.d.ts +11 -0
- package/dist/types/v1/config/config.d.ts +1243 -0
- package/dist/types/v1/config/error.d.ts +1773 -0
- package/dist/types/v1/config/formatter.d.ts +15 -0
- package/dist/types/v1/config/layout.d.ts +4 -0
- package/dist/types/v1/config/lsp.d.ts +38 -0
- package/dist/types/v1/config/mcp.d.ts +56 -0
- package/dist/types/v1/config/migrate.d.ts +421 -0
- package/dist/types/v1/config/permission.d.ts +59 -0
- package/dist/types/v1/config/plugin.d.ts +6 -0
- package/dist/types/v1/config/provider-options.d.ts +11 -0
- package/dist/types/v1/config/provider.d.ts +112 -0
- package/dist/types/v1/config/server.d.ts +10 -0
- package/dist/types/v1/config/skills.d.ts +7 -0
- package/dist/types/v1/permission.d.ts +27 -0
- package/dist/types/vcs/git.d.ts +12 -0
- package/dist/types/vcs/hg.d.ts +13 -0
- package/dist/types/vcs/patch.d.ts +21 -0
- package/dist/types/vcs.d.ts +17 -0
- package/dist/types/websearch.d.ts +66 -0
- package/dist/types/wellknown/plugin.d.ts +4 -0
- package/dist/types/wellknown.d.ts +106 -0
- package/dist/types/workspace/driver.d.ts +54 -0
- package/dist/types/workspace/sql.d.ts +89 -0
- package/dist/types/workspace.d.ts +44 -0
- package/dist/util/array.js +14 -0
- package/dist/util/binary.js +43 -0
- package/dist/util/encode.js +57 -0
- package/dist/util/error.js +7 -0
- package/dist/util/identifier.js +7 -0
- package/dist/util/iife.js +7 -0
- package/dist/util/lazy.js +7 -0
- package/dist/util/path.js +42 -0
- package/dist/util/process-lock-ffi.bun.js +53 -0
- package/dist/util/process-lock-ffi.node.js +46 -0
- package/dist/util/process-lock.js +124 -0
- package/dist/util/retry.js +38 -0
- package/dist/util/slug.js +7 -0
- package/dist/util/token.js +9 -0
- package/dist/util/which.js +7 -0
- package/dist/util/wildcard.js +9 -0
- package/dist/v1/config/agent.js +11 -0
- package/dist/v1/config/attachment.js +12 -0
- package/dist/v1/config/command.js +9 -0
- package/dist/v1/config/config.js +24 -0
- package/dist/v1/config/error.js +18 -0
- package/dist/v1/config/formatter.js +11 -0
- package/dist/v1/config/layout.js +9 -0
- package/dist/v1/config/lsp.js +17 -0
- package/dist/v1/config/mcp.js +16 -0
- package/dist/v1/config/migrate.js +38 -0
- package/dist/v1/config/permission.js +15 -0
- package/dist/v1/config/plugin.js +11 -0
- package/dist/v1/config/provider-options.js +11 -0
- package/dist/v1/config/provider.js +14 -0
- package/dist/v1/config/server.js +10 -0
- package/dist/v1/config/skills.js +9 -0
- package/dist/v1/permission.js +51 -0
- package/dist/vcs/git.js +10 -0
- package/dist/vcs/hg.js +10 -0
- package/dist/vcs/patch.js +27 -0
- package/dist/vcs.js +97 -0
- package/dist/websearch.js +111 -0
- package/dist/wellknown/plugin.js +89 -0
- package/dist/wellknown.js +104 -0
- package/dist/workspace/driver.js +23 -0
- package/dist/workspace/sql.js +7 -0
- package/dist/workspace.js +86 -0
- package/package.json +146 -0
|
@@ -0,0 +1,1648 @@
|
|
|
1
|
+
export * as Integration from "./integration.js";
|
|
2
|
+
import { Cause, Context, Effect, Schema, Scope, Types } from "effect";
|
|
3
|
+
import { Integration } from "@opencode-ai/schema/integration";
|
|
4
|
+
import { Credential } from "./credential.js";
|
|
5
|
+
import { State } from "./state.js";
|
|
6
|
+
import { IntegrationConnection } from "./integration/connection.js";
|
|
7
|
+
import { Form } from "./form.js";
|
|
8
|
+
export declare const ID: Schema.brand<Schema.String, "Integration.ID">;
|
|
9
|
+
export type ID = Integration.ID;
|
|
10
|
+
export declare const MethodID: Schema.brand<Schema.String, "Integration.MethodID">;
|
|
11
|
+
export type MethodID = Integration.MethodID;
|
|
12
|
+
export declare const AttemptID: Schema.brand<Schema.String, "Integration.AttemptID"> & {
|
|
13
|
+
create: () => string & import("effect/Brand").Brand<"Integration.AttemptID">;
|
|
14
|
+
};
|
|
15
|
+
export type AttemptID = typeof AttemptID.Type;
|
|
16
|
+
export declare const OAuthMethod: Schema.Struct<{
|
|
17
|
+
readonly id: Schema.brand<Schema.String, "Integration.MethodID">;
|
|
18
|
+
readonly type: Schema.Literal<"oauth">;
|
|
19
|
+
readonly label: Schema.String;
|
|
20
|
+
readonly form: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
21
|
+
readonly type: Schema.Literal<"string">;
|
|
22
|
+
readonly format: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>>, Schema.optionalKey<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>, never, never>;
|
|
23
|
+
readonly minLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
24
|
+
readonly maxLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
25
|
+
readonly pattern: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
26
|
+
readonly placeholder: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
27
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
28
|
+
readonly options: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
29
|
+
readonly value: Schema.String;
|
|
30
|
+
readonly label: Schema.String;
|
|
31
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
32
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
33
|
+
readonly value: Schema.String;
|
|
34
|
+
readonly label: Schema.String;
|
|
35
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
36
|
+
}>>>, never, never>;
|
|
37
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
38
|
+
readonly key: Schema.String;
|
|
39
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
40
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
41
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
42
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
43
|
+
readonly key: Schema.String;
|
|
44
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
45
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
46
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
47
|
+
readonly key: Schema.String;
|
|
48
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
49
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
50
|
+
}>>>, never, never>;
|
|
51
|
+
}>, Schema.Struct<{
|
|
52
|
+
readonly type: Schema.Literal<"number">;
|
|
53
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
54
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
55
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
56
|
+
readonly key: Schema.String;
|
|
57
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
58
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
59
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
60
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
61
|
+
readonly key: Schema.String;
|
|
62
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
63
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
64
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
65
|
+
readonly key: Schema.String;
|
|
66
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
67
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
68
|
+
}>>>, never, never>;
|
|
69
|
+
}>, Schema.Struct<{
|
|
70
|
+
readonly type: Schema.Literal<"integer">;
|
|
71
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
72
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
73
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
74
|
+
readonly key: Schema.String;
|
|
75
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
76
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
77
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
78
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
79
|
+
readonly key: Schema.String;
|
|
80
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
81
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
82
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
83
|
+
readonly key: Schema.String;
|
|
84
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
85
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
86
|
+
}>>>, never, never>;
|
|
87
|
+
}>, Schema.Struct<{
|
|
88
|
+
readonly type: Schema.Literal<"boolean">;
|
|
89
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
90
|
+
readonly key: Schema.String;
|
|
91
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
92
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
93
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
94
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
95
|
+
readonly key: Schema.String;
|
|
96
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
97
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
98
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
99
|
+
readonly key: Schema.String;
|
|
100
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
101
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
102
|
+
}>>>, never, never>;
|
|
103
|
+
}>, Schema.Struct<{
|
|
104
|
+
readonly type: Schema.Literal<"multiselect">;
|
|
105
|
+
readonly options: Schema.$Array<Schema.Struct<{
|
|
106
|
+
readonly value: Schema.String;
|
|
107
|
+
readonly label: Schema.String;
|
|
108
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
109
|
+
}>>;
|
|
110
|
+
readonly minItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
111
|
+
readonly maxItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
112
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
113
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
|
|
114
|
+
readonly key: Schema.String;
|
|
115
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
116
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
117
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
118
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
119
|
+
readonly key: Schema.String;
|
|
120
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
121
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
122
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
123
|
+
readonly key: Schema.String;
|
|
124
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
125
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
126
|
+
}>>>, never, never>;
|
|
127
|
+
}>, Schema.Struct<{
|
|
128
|
+
readonly key: Schema.String;
|
|
129
|
+
readonly type: Schema.Literal<"external">;
|
|
130
|
+
readonly url: Schema.String;
|
|
131
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
132
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
133
|
+
}>]>>>>, Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
134
|
+
readonly type: Schema.Literal<"string">;
|
|
135
|
+
readonly format: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>>, Schema.optionalKey<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>, never, never>;
|
|
136
|
+
readonly minLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
137
|
+
readonly maxLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
138
|
+
readonly pattern: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
139
|
+
readonly placeholder: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
140
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
141
|
+
readonly options: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
142
|
+
readonly value: Schema.String;
|
|
143
|
+
readonly label: Schema.String;
|
|
144
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
145
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
146
|
+
readonly value: Schema.String;
|
|
147
|
+
readonly label: Schema.String;
|
|
148
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
149
|
+
}>>>, never, never>;
|
|
150
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
151
|
+
readonly key: Schema.String;
|
|
152
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
153
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
154
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
155
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
156
|
+
readonly key: Schema.String;
|
|
157
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
158
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
159
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
160
|
+
readonly key: Schema.String;
|
|
161
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
162
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
163
|
+
}>>>, never, never>;
|
|
164
|
+
}>, Schema.Struct<{
|
|
165
|
+
readonly type: Schema.Literal<"number">;
|
|
166
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
167
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
168
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
169
|
+
readonly key: Schema.String;
|
|
170
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
171
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
172
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
173
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
174
|
+
readonly key: Schema.String;
|
|
175
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
176
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
177
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
178
|
+
readonly key: Schema.String;
|
|
179
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
180
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
181
|
+
}>>>, never, never>;
|
|
182
|
+
}>, Schema.Struct<{
|
|
183
|
+
readonly type: Schema.Literal<"integer">;
|
|
184
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
185
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
186
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
187
|
+
readonly key: Schema.String;
|
|
188
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
189
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
190
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
191
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
192
|
+
readonly key: Schema.String;
|
|
193
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
194
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
195
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
196
|
+
readonly key: Schema.String;
|
|
197
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
198
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
199
|
+
}>>>, never, never>;
|
|
200
|
+
}>, Schema.Struct<{
|
|
201
|
+
readonly type: Schema.Literal<"boolean">;
|
|
202
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
203
|
+
readonly key: Schema.String;
|
|
204
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
205
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
206
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
207
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
208
|
+
readonly key: Schema.String;
|
|
209
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
210
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
211
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
212
|
+
readonly key: Schema.String;
|
|
213
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
214
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
215
|
+
}>>>, never, never>;
|
|
216
|
+
}>, Schema.Struct<{
|
|
217
|
+
readonly type: Schema.Literal<"multiselect">;
|
|
218
|
+
readonly options: Schema.$Array<Schema.Struct<{
|
|
219
|
+
readonly value: Schema.String;
|
|
220
|
+
readonly label: Schema.String;
|
|
221
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
222
|
+
}>>;
|
|
223
|
+
readonly minItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
224
|
+
readonly maxItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
225
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
226
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
|
|
227
|
+
readonly key: Schema.String;
|
|
228
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
229
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
230
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
231
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
232
|
+
readonly key: Schema.String;
|
|
233
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
234
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
235
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
236
|
+
readonly key: Schema.String;
|
|
237
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
238
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
239
|
+
}>>>, never, never>;
|
|
240
|
+
}>, Schema.Struct<{
|
|
241
|
+
readonly key: Schema.String;
|
|
242
|
+
readonly type: Schema.Literal<"external">;
|
|
243
|
+
readonly url: Schema.String;
|
|
244
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
245
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
246
|
+
}>]>>>, never, never>;
|
|
247
|
+
}>;
|
|
248
|
+
export type OAuthMethod = Integration.OAuthMethod;
|
|
249
|
+
export declare const CommandMethod: Schema.Struct<{
|
|
250
|
+
readonly id: Schema.brand<Schema.String, "Integration.MethodID">;
|
|
251
|
+
readonly type: Schema.Literal<"command">;
|
|
252
|
+
readonly label: Schema.String;
|
|
253
|
+
readonly command: Schema.$Array<Schema.String>;
|
|
254
|
+
}>;
|
|
255
|
+
export type CommandMethod = Integration.CommandMethod;
|
|
256
|
+
export declare const KeyMethod: Schema.Struct<{
|
|
257
|
+
readonly type: Schema.Literal<"key">;
|
|
258
|
+
readonly label: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
259
|
+
readonly form: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
260
|
+
readonly type: Schema.Literal<"string">;
|
|
261
|
+
readonly format: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>>, Schema.optionalKey<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>, never, never>;
|
|
262
|
+
readonly minLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
263
|
+
readonly maxLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
264
|
+
readonly pattern: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
265
|
+
readonly placeholder: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
266
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
267
|
+
readonly options: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
268
|
+
readonly value: Schema.String;
|
|
269
|
+
readonly label: Schema.String;
|
|
270
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
271
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
272
|
+
readonly value: Schema.String;
|
|
273
|
+
readonly label: Schema.String;
|
|
274
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
275
|
+
}>>>, never, never>;
|
|
276
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
277
|
+
readonly key: Schema.String;
|
|
278
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
279
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
280
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
281
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
282
|
+
readonly key: Schema.String;
|
|
283
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
284
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
285
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
286
|
+
readonly key: Schema.String;
|
|
287
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
288
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
289
|
+
}>>>, never, never>;
|
|
290
|
+
}>, Schema.Struct<{
|
|
291
|
+
readonly type: Schema.Literal<"number">;
|
|
292
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
293
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
294
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
295
|
+
readonly key: Schema.String;
|
|
296
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
297
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
298
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
299
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
300
|
+
readonly key: Schema.String;
|
|
301
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
302
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
303
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
304
|
+
readonly key: Schema.String;
|
|
305
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
306
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
307
|
+
}>>>, never, never>;
|
|
308
|
+
}>, Schema.Struct<{
|
|
309
|
+
readonly type: Schema.Literal<"integer">;
|
|
310
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
311
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
312
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
313
|
+
readonly key: Schema.String;
|
|
314
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
315
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
316
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
317
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
318
|
+
readonly key: Schema.String;
|
|
319
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
320
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
321
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
322
|
+
readonly key: Schema.String;
|
|
323
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
324
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
325
|
+
}>>>, never, never>;
|
|
326
|
+
}>, Schema.Struct<{
|
|
327
|
+
readonly type: Schema.Literal<"boolean">;
|
|
328
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
329
|
+
readonly key: Schema.String;
|
|
330
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
331
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
332
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
333
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
334
|
+
readonly key: Schema.String;
|
|
335
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
336
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
337
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
338
|
+
readonly key: Schema.String;
|
|
339
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
340
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
341
|
+
}>>>, never, never>;
|
|
342
|
+
}>, Schema.Struct<{
|
|
343
|
+
readonly type: Schema.Literal<"multiselect">;
|
|
344
|
+
readonly options: Schema.$Array<Schema.Struct<{
|
|
345
|
+
readonly value: Schema.String;
|
|
346
|
+
readonly label: Schema.String;
|
|
347
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
348
|
+
}>>;
|
|
349
|
+
readonly minItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
350
|
+
readonly maxItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
351
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
352
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
|
|
353
|
+
readonly key: Schema.String;
|
|
354
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
355
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
356
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
357
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
358
|
+
readonly key: Schema.String;
|
|
359
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
360
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
361
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
362
|
+
readonly key: Schema.String;
|
|
363
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
364
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
365
|
+
}>>>, never, never>;
|
|
366
|
+
}>, Schema.Struct<{
|
|
367
|
+
readonly key: Schema.String;
|
|
368
|
+
readonly type: Schema.Literal<"external">;
|
|
369
|
+
readonly url: Schema.String;
|
|
370
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
371
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
372
|
+
}>]>>>>, Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
373
|
+
readonly type: Schema.Literal<"string">;
|
|
374
|
+
readonly format: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>>, Schema.optionalKey<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>, never, never>;
|
|
375
|
+
readonly minLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
376
|
+
readonly maxLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
377
|
+
readonly pattern: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
378
|
+
readonly placeholder: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
379
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
380
|
+
readonly options: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
381
|
+
readonly value: Schema.String;
|
|
382
|
+
readonly label: Schema.String;
|
|
383
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
384
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
385
|
+
readonly value: Schema.String;
|
|
386
|
+
readonly label: Schema.String;
|
|
387
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
388
|
+
}>>>, never, never>;
|
|
389
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
390
|
+
readonly key: Schema.String;
|
|
391
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
392
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
393
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
394
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
395
|
+
readonly key: Schema.String;
|
|
396
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
397
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
398
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
399
|
+
readonly key: Schema.String;
|
|
400
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
401
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
402
|
+
}>>>, never, never>;
|
|
403
|
+
}>, Schema.Struct<{
|
|
404
|
+
readonly type: Schema.Literal<"number">;
|
|
405
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
406
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
407
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
408
|
+
readonly key: Schema.String;
|
|
409
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
410
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
411
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
412
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
413
|
+
readonly key: Schema.String;
|
|
414
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
415
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
416
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
417
|
+
readonly key: Schema.String;
|
|
418
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
419
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
420
|
+
}>>>, never, never>;
|
|
421
|
+
}>, Schema.Struct<{
|
|
422
|
+
readonly type: Schema.Literal<"integer">;
|
|
423
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
424
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
425
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
426
|
+
readonly key: Schema.String;
|
|
427
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
428
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
429
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
430
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
431
|
+
readonly key: Schema.String;
|
|
432
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
433
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
434
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
435
|
+
readonly key: Schema.String;
|
|
436
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
437
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
438
|
+
}>>>, never, never>;
|
|
439
|
+
}>, Schema.Struct<{
|
|
440
|
+
readonly type: Schema.Literal<"boolean">;
|
|
441
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
442
|
+
readonly key: Schema.String;
|
|
443
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
444
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
445
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
446
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
447
|
+
readonly key: Schema.String;
|
|
448
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
449
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
450
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
451
|
+
readonly key: Schema.String;
|
|
452
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
453
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
454
|
+
}>>>, never, never>;
|
|
455
|
+
}>, Schema.Struct<{
|
|
456
|
+
readonly type: Schema.Literal<"multiselect">;
|
|
457
|
+
readonly options: Schema.$Array<Schema.Struct<{
|
|
458
|
+
readonly value: Schema.String;
|
|
459
|
+
readonly label: Schema.String;
|
|
460
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
461
|
+
}>>;
|
|
462
|
+
readonly minItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
463
|
+
readonly maxItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
464
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
465
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
|
|
466
|
+
readonly key: Schema.String;
|
|
467
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
468
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
469
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
470
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
471
|
+
readonly key: Schema.String;
|
|
472
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
473
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
474
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
475
|
+
readonly key: Schema.String;
|
|
476
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
477
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
478
|
+
}>>>, never, never>;
|
|
479
|
+
}>, Schema.Struct<{
|
|
480
|
+
readonly key: Schema.String;
|
|
481
|
+
readonly type: Schema.Literal<"external">;
|
|
482
|
+
readonly url: Schema.String;
|
|
483
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
484
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
485
|
+
}>]>>>, never, never>;
|
|
486
|
+
}>;
|
|
487
|
+
export type KeyMethod = Integration.KeyMethod;
|
|
488
|
+
export declare const EnvMethod: Schema.Struct<{
|
|
489
|
+
readonly type: Schema.Literal<"env">;
|
|
490
|
+
readonly names: Schema.$Array<Schema.String>;
|
|
491
|
+
}>;
|
|
492
|
+
export type EnvMethod = Integration.EnvMethod;
|
|
493
|
+
export declare const Method: Schema.Union<readonly [Schema.Struct<{
|
|
494
|
+
readonly id: Schema.brand<Schema.String, "Integration.MethodID">;
|
|
495
|
+
readonly type: Schema.Literal<"oauth">;
|
|
496
|
+
readonly label: Schema.String;
|
|
497
|
+
readonly form: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
498
|
+
readonly type: Schema.Literal<"string">;
|
|
499
|
+
readonly format: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>>, Schema.optionalKey<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>, never, never>;
|
|
500
|
+
readonly minLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
501
|
+
readonly maxLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
502
|
+
readonly pattern: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
503
|
+
readonly placeholder: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
504
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
505
|
+
readonly options: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
506
|
+
readonly value: Schema.String;
|
|
507
|
+
readonly label: Schema.String;
|
|
508
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
509
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
510
|
+
readonly value: Schema.String;
|
|
511
|
+
readonly label: Schema.String;
|
|
512
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
513
|
+
}>>>, never, never>;
|
|
514
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
515
|
+
readonly key: Schema.String;
|
|
516
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
517
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
518
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
519
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
520
|
+
readonly key: Schema.String;
|
|
521
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
522
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
523
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
524
|
+
readonly key: Schema.String;
|
|
525
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
526
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
527
|
+
}>>>, never, never>;
|
|
528
|
+
}>, Schema.Struct<{
|
|
529
|
+
readonly type: Schema.Literal<"number">;
|
|
530
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
531
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
532
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
533
|
+
readonly key: Schema.String;
|
|
534
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
535
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
536
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
537
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
538
|
+
readonly key: Schema.String;
|
|
539
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
540
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
541
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
542
|
+
readonly key: Schema.String;
|
|
543
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
544
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
545
|
+
}>>>, never, never>;
|
|
546
|
+
}>, Schema.Struct<{
|
|
547
|
+
readonly type: Schema.Literal<"integer">;
|
|
548
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
549
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
550
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
551
|
+
readonly key: Schema.String;
|
|
552
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
553
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
554
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
555
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
556
|
+
readonly key: Schema.String;
|
|
557
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
558
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
559
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
560
|
+
readonly key: Schema.String;
|
|
561
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
562
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
563
|
+
}>>>, never, never>;
|
|
564
|
+
}>, Schema.Struct<{
|
|
565
|
+
readonly type: Schema.Literal<"boolean">;
|
|
566
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
567
|
+
readonly key: Schema.String;
|
|
568
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
569
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
570
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
571
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
572
|
+
readonly key: Schema.String;
|
|
573
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
574
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
575
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
576
|
+
readonly key: Schema.String;
|
|
577
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
578
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
579
|
+
}>>>, never, never>;
|
|
580
|
+
}>, Schema.Struct<{
|
|
581
|
+
readonly type: Schema.Literal<"multiselect">;
|
|
582
|
+
readonly options: Schema.$Array<Schema.Struct<{
|
|
583
|
+
readonly value: Schema.String;
|
|
584
|
+
readonly label: Schema.String;
|
|
585
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
586
|
+
}>>;
|
|
587
|
+
readonly minItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
588
|
+
readonly maxItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
589
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
590
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
|
|
591
|
+
readonly key: Schema.String;
|
|
592
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
593
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
594
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
595
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
596
|
+
readonly key: Schema.String;
|
|
597
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
598
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
599
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
600
|
+
readonly key: Schema.String;
|
|
601
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
602
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
603
|
+
}>>>, never, never>;
|
|
604
|
+
}>, Schema.Struct<{
|
|
605
|
+
readonly key: Schema.String;
|
|
606
|
+
readonly type: Schema.Literal<"external">;
|
|
607
|
+
readonly url: Schema.String;
|
|
608
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
609
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
610
|
+
}>]>>>>, Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
611
|
+
readonly type: Schema.Literal<"string">;
|
|
612
|
+
readonly format: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>>, Schema.optionalKey<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>, never, never>;
|
|
613
|
+
readonly minLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
614
|
+
readonly maxLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
615
|
+
readonly pattern: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
616
|
+
readonly placeholder: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
617
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
618
|
+
readonly options: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
619
|
+
readonly value: Schema.String;
|
|
620
|
+
readonly label: Schema.String;
|
|
621
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
622
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
623
|
+
readonly value: Schema.String;
|
|
624
|
+
readonly label: Schema.String;
|
|
625
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
626
|
+
}>>>, never, never>;
|
|
627
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
628
|
+
readonly key: Schema.String;
|
|
629
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
630
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
631
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
632
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
633
|
+
readonly key: Schema.String;
|
|
634
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
635
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
636
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
637
|
+
readonly key: Schema.String;
|
|
638
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
639
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
640
|
+
}>>>, never, never>;
|
|
641
|
+
}>, Schema.Struct<{
|
|
642
|
+
readonly type: Schema.Literal<"number">;
|
|
643
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
644
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
645
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
646
|
+
readonly key: Schema.String;
|
|
647
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
648
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
649
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
650
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
651
|
+
readonly key: Schema.String;
|
|
652
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
653
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
654
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
655
|
+
readonly key: Schema.String;
|
|
656
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
657
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
658
|
+
}>>>, never, never>;
|
|
659
|
+
}>, Schema.Struct<{
|
|
660
|
+
readonly type: Schema.Literal<"integer">;
|
|
661
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
662
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
663
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
664
|
+
readonly key: Schema.String;
|
|
665
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
666
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
667
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
668
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
669
|
+
readonly key: Schema.String;
|
|
670
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
671
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
672
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
673
|
+
readonly key: Schema.String;
|
|
674
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
675
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
676
|
+
}>>>, never, never>;
|
|
677
|
+
}>, Schema.Struct<{
|
|
678
|
+
readonly type: Schema.Literal<"boolean">;
|
|
679
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
680
|
+
readonly key: Schema.String;
|
|
681
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
682
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
683
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
684
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
685
|
+
readonly key: Schema.String;
|
|
686
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
687
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
688
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
689
|
+
readonly key: Schema.String;
|
|
690
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
691
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
692
|
+
}>>>, never, never>;
|
|
693
|
+
}>, Schema.Struct<{
|
|
694
|
+
readonly type: Schema.Literal<"multiselect">;
|
|
695
|
+
readonly options: Schema.$Array<Schema.Struct<{
|
|
696
|
+
readonly value: Schema.String;
|
|
697
|
+
readonly label: Schema.String;
|
|
698
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
699
|
+
}>>;
|
|
700
|
+
readonly minItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
701
|
+
readonly maxItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
702
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
703
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
|
|
704
|
+
readonly key: Schema.String;
|
|
705
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
706
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
707
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
708
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
709
|
+
readonly key: Schema.String;
|
|
710
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
711
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
712
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
713
|
+
readonly key: Schema.String;
|
|
714
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
715
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
716
|
+
}>>>, never, never>;
|
|
717
|
+
}>, Schema.Struct<{
|
|
718
|
+
readonly key: Schema.String;
|
|
719
|
+
readonly type: Schema.Literal<"external">;
|
|
720
|
+
readonly url: Schema.String;
|
|
721
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
722
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
723
|
+
}>]>>>, never, never>;
|
|
724
|
+
}>, Schema.Struct<{
|
|
725
|
+
readonly id: Schema.brand<Schema.String, "Integration.MethodID">;
|
|
726
|
+
readonly type: Schema.Literal<"command">;
|
|
727
|
+
readonly label: Schema.String;
|
|
728
|
+
readonly command: Schema.$Array<Schema.String>;
|
|
729
|
+
}>, Schema.Struct<{
|
|
730
|
+
readonly type: Schema.Literal<"key">;
|
|
731
|
+
readonly label: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
732
|
+
readonly form: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
733
|
+
readonly type: Schema.Literal<"string">;
|
|
734
|
+
readonly format: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>>, Schema.optionalKey<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>, never, never>;
|
|
735
|
+
readonly minLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
736
|
+
readonly maxLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
737
|
+
readonly pattern: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
738
|
+
readonly placeholder: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
739
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
740
|
+
readonly options: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
741
|
+
readonly value: Schema.String;
|
|
742
|
+
readonly label: Schema.String;
|
|
743
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
744
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
745
|
+
readonly value: Schema.String;
|
|
746
|
+
readonly label: Schema.String;
|
|
747
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
748
|
+
}>>>, never, never>;
|
|
749
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
750
|
+
readonly key: Schema.String;
|
|
751
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
752
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
753
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
754
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
755
|
+
readonly key: Schema.String;
|
|
756
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
757
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
758
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
759
|
+
readonly key: Schema.String;
|
|
760
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
761
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
762
|
+
}>>>, never, never>;
|
|
763
|
+
}>, Schema.Struct<{
|
|
764
|
+
readonly type: Schema.Literal<"number">;
|
|
765
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
766
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
767
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
768
|
+
readonly key: Schema.String;
|
|
769
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
770
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
771
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
772
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
773
|
+
readonly key: Schema.String;
|
|
774
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
775
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
776
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
777
|
+
readonly key: Schema.String;
|
|
778
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
779
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
780
|
+
}>>>, never, never>;
|
|
781
|
+
}>, Schema.Struct<{
|
|
782
|
+
readonly type: Schema.Literal<"integer">;
|
|
783
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
784
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
785
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
786
|
+
readonly key: Schema.String;
|
|
787
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
788
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
789
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
790
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
791
|
+
readonly key: Schema.String;
|
|
792
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
793
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
794
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
795
|
+
readonly key: Schema.String;
|
|
796
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
797
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
798
|
+
}>>>, never, never>;
|
|
799
|
+
}>, Schema.Struct<{
|
|
800
|
+
readonly type: Schema.Literal<"boolean">;
|
|
801
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
802
|
+
readonly key: Schema.String;
|
|
803
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
804
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
805
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
806
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
807
|
+
readonly key: Schema.String;
|
|
808
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
809
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
810
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
811
|
+
readonly key: Schema.String;
|
|
812
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
813
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
814
|
+
}>>>, never, never>;
|
|
815
|
+
}>, Schema.Struct<{
|
|
816
|
+
readonly type: Schema.Literal<"multiselect">;
|
|
817
|
+
readonly options: Schema.$Array<Schema.Struct<{
|
|
818
|
+
readonly value: Schema.String;
|
|
819
|
+
readonly label: Schema.String;
|
|
820
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
821
|
+
}>>;
|
|
822
|
+
readonly minItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
823
|
+
readonly maxItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
824
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
825
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
|
|
826
|
+
readonly key: Schema.String;
|
|
827
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
828
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
829
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
830
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
831
|
+
readonly key: Schema.String;
|
|
832
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
833
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
834
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
835
|
+
readonly key: Schema.String;
|
|
836
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
837
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
838
|
+
}>>>, never, never>;
|
|
839
|
+
}>, Schema.Struct<{
|
|
840
|
+
readonly key: Schema.String;
|
|
841
|
+
readonly type: Schema.Literal<"external">;
|
|
842
|
+
readonly url: Schema.String;
|
|
843
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
844
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
845
|
+
}>]>>>>, Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
846
|
+
readonly type: Schema.Literal<"string">;
|
|
847
|
+
readonly format: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>>, Schema.optionalKey<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>, never, never>;
|
|
848
|
+
readonly minLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
849
|
+
readonly maxLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
850
|
+
readonly pattern: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
851
|
+
readonly placeholder: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
852
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
853
|
+
readonly options: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
854
|
+
readonly value: Schema.String;
|
|
855
|
+
readonly label: Schema.String;
|
|
856
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
857
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
858
|
+
readonly value: Schema.String;
|
|
859
|
+
readonly label: Schema.String;
|
|
860
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
861
|
+
}>>>, never, never>;
|
|
862
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
863
|
+
readonly key: Schema.String;
|
|
864
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
865
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
866
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
867
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
868
|
+
readonly key: Schema.String;
|
|
869
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
870
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
871
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
872
|
+
readonly key: Schema.String;
|
|
873
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
874
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
875
|
+
}>>>, never, never>;
|
|
876
|
+
}>, Schema.Struct<{
|
|
877
|
+
readonly type: Schema.Literal<"number">;
|
|
878
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
879
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
880
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
881
|
+
readonly key: Schema.String;
|
|
882
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
883
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
884
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
885
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
886
|
+
readonly key: Schema.String;
|
|
887
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
888
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
889
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
890
|
+
readonly key: Schema.String;
|
|
891
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
892
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
893
|
+
}>>>, never, never>;
|
|
894
|
+
}>, Schema.Struct<{
|
|
895
|
+
readonly type: Schema.Literal<"integer">;
|
|
896
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
897
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
898
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
899
|
+
readonly key: Schema.String;
|
|
900
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
901
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
902
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
903
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
904
|
+
readonly key: Schema.String;
|
|
905
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
906
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
907
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
908
|
+
readonly key: Schema.String;
|
|
909
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
910
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
911
|
+
}>>>, never, never>;
|
|
912
|
+
}>, Schema.Struct<{
|
|
913
|
+
readonly type: Schema.Literal<"boolean">;
|
|
914
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
915
|
+
readonly key: Schema.String;
|
|
916
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
917
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
918
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
919
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
920
|
+
readonly key: Schema.String;
|
|
921
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
922
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
923
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
924
|
+
readonly key: Schema.String;
|
|
925
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
926
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
927
|
+
}>>>, never, never>;
|
|
928
|
+
}>, Schema.Struct<{
|
|
929
|
+
readonly type: Schema.Literal<"multiselect">;
|
|
930
|
+
readonly options: Schema.$Array<Schema.Struct<{
|
|
931
|
+
readonly value: Schema.String;
|
|
932
|
+
readonly label: Schema.String;
|
|
933
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
934
|
+
}>>;
|
|
935
|
+
readonly minItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
936
|
+
readonly maxItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
937
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
938
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
|
|
939
|
+
readonly key: Schema.String;
|
|
940
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
941
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
942
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
943
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
944
|
+
readonly key: Schema.String;
|
|
945
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
946
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
947
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
948
|
+
readonly key: Schema.String;
|
|
949
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
950
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
951
|
+
}>>>, never, never>;
|
|
952
|
+
}>, Schema.Struct<{
|
|
953
|
+
readonly key: Schema.String;
|
|
954
|
+
readonly type: Schema.Literal<"external">;
|
|
955
|
+
readonly url: Schema.String;
|
|
956
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
957
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
958
|
+
}>]>>>, never, never>;
|
|
959
|
+
}>, Schema.Struct<{
|
|
960
|
+
readonly type: Schema.Literal<"env">;
|
|
961
|
+
readonly names: Schema.$Array<Schema.String>;
|
|
962
|
+
}>]>;
|
|
963
|
+
export type Method = Integration.Method;
|
|
964
|
+
export declare const Info: Schema.Struct<{
|
|
965
|
+
readonly id: Schema.brand<Schema.String, "Integration.ID">;
|
|
966
|
+
readonly name: Schema.String;
|
|
967
|
+
readonly methods: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
968
|
+
readonly id: Schema.brand<Schema.String, "Integration.MethodID">;
|
|
969
|
+
readonly type: Schema.Literal<"oauth">;
|
|
970
|
+
readonly label: Schema.String;
|
|
971
|
+
readonly form: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
972
|
+
readonly type: Schema.Literal<"string">;
|
|
973
|
+
readonly format: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>>, Schema.optionalKey<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>, never, never>;
|
|
974
|
+
readonly minLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
975
|
+
readonly maxLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
976
|
+
readonly pattern: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
977
|
+
readonly placeholder: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
978
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
979
|
+
readonly options: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
980
|
+
readonly value: Schema.String;
|
|
981
|
+
readonly label: Schema.String;
|
|
982
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
983
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
984
|
+
readonly value: Schema.String;
|
|
985
|
+
readonly label: Schema.String;
|
|
986
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
987
|
+
}>>>, never, never>;
|
|
988
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
989
|
+
readonly key: Schema.String;
|
|
990
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
991
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
992
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
993
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
994
|
+
readonly key: Schema.String;
|
|
995
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
996
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
997
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
998
|
+
readonly key: Schema.String;
|
|
999
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1000
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1001
|
+
}>>>, never, never>;
|
|
1002
|
+
}>, Schema.Struct<{
|
|
1003
|
+
readonly type: Schema.Literal<"number">;
|
|
1004
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1005
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1006
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1007
|
+
readonly key: Schema.String;
|
|
1008
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1009
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1010
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1011
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1012
|
+
readonly key: Schema.String;
|
|
1013
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1014
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1015
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1016
|
+
readonly key: Schema.String;
|
|
1017
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1018
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1019
|
+
}>>>, never, never>;
|
|
1020
|
+
}>, Schema.Struct<{
|
|
1021
|
+
readonly type: Schema.Literal<"integer">;
|
|
1022
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1023
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1024
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1025
|
+
readonly key: Schema.String;
|
|
1026
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1027
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1028
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1029
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1030
|
+
readonly key: Schema.String;
|
|
1031
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1032
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1033
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1034
|
+
readonly key: Schema.String;
|
|
1035
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1036
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1037
|
+
}>>>, never, never>;
|
|
1038
|
+
}>, Schema.Struct<{
|
|
1039
|
+
readonly type: Schema.Literal<"boolean">;
|
|
1040
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1041
|
+
readonly key: Schema.String;
|
|
1042
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1043
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1044
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1045
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1046
|
+
readonly key: Schema.String;
|
|
1047
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1048
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1049
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1050
|
+
readonly key: Schema.String;
|
|
1051
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1052
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1053
|
+
}>>>, never, never>;
|
|
1054
|
+
}>, Schema.Struct<{
|
|
1055
|
+
readonly type: Schema.Literal<"multiselect">;
|
|
1056
|
+
readonly options: Schema.$Array<Schema.Struct<{
|
|
1057
|
+
readonly value: Schema.String;
|
|
1058
|
+
readonly label: Schema.String;
|
|
1059
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1060
|
+
}>>;
|
|
1061
|
+
readonly minItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1062
|
+
readonly maxItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1063
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1064
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
|
|
1065
|
+
readonly key: Schema.String;
|
|
1066
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1067
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1068
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1069
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1070
|
+
readonly key: Schema.String;
|
|
1071
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1072
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1073
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1074
|
+
readonly key: Schema.String;
|
|
1075
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1076
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1077
|
+
}>>>, never, never>;
|
|
1078
|
+
}>, Schema.Struct<{
|
|
1079
|
+
readonly key: Schema.String;
|
|
1080
|
+
readonly type: Schema.Literal<"external">;
|
|
1081
|
+
readonly url: Schema.String;
|
|
1082
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1083
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1084
|
+
}>]>>>>, Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
1085
|
+
readonly type: Schema.Literal<"string">;
|
|
1086
|
+
readonly format: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>>, Schema.optionalKey<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>, never, never>;
|
|
1087
|
+
readonly minLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1088
|
+
readonly maxLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1089
|
+
readonly pattern: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1090
|
+
readonly placeholder: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1091
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1092
|
+
readonly options: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1093
|
+
readonly value: Schema.String;
|
|
1094
|
+
readonly label: Schema.String;
|
|
1095
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1096
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1097
|
+
readonly value: Schema.String;
|
|
1098
|
+
readonly label: Schema.String;
|
|
1099
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1100
|
+
}>>>, never, never>;
|
|
1101
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1102
|
+
readonly key: Schema.String;
|
|
1103
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1104
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1105
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1106
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1107
|
+
readonly key: Schema.String;
|
|
1108
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1109
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1110
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1111
|
+
readonly key: Schema.String;
|
|
1112
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1113
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1114
|
+
}>>>, never, never>;
|
|
1115
|
+
}>, Schema.Struct<{
|
|
1116
|
+
readonly type: Schema.Literal<"number">;
|
|
1117
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1118
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1119
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1120
|
+
readonly key: Schema.String;
|
|
1121
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1122
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1123
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1124
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1125
|
+
readonly key: Schema.String;
|
|
1126
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1127
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1128
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1129
|
+
readonly key: Schema.String;
|
|
1130
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1131
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1132
|
+
}>>>, never, never>;
|
|
1133
|
+
}>, Schema.Struct<{
|
|
1134
|
+
readonly type: Schema.Literal<"integer">;
|
|
1135
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1136
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1137
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1138
|
+
readonly key: Schema.String;
|
|
1139
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1140
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1141
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1142
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1143
|
+
readonly key: Schema.String;
|
|
1144
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1145
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1146
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1147
|
+
readonly key: Schema.String;
|
|
1148
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1149
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1150
|
+
}>>>, never, never>;
|
|
1151
|
+
}>, Schema.Struct<{
|
|
1152
|
+
readonly type: Schema.Literal<"boolean">;
|
|
1153
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1154
|
+
readonly key: Schema.String;
|
|
1155
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1156
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1157
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1158
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1159
|
+
readonly key: Schema.String;
|
|
1160
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1161
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1162
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1163
|
+
readonly key: Schema.String;
|
|
1164
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1165
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1166
|
+
}>>>, never, never>;
|
|
1167
|
+
}>, Schema.Struct<{
|
|
1168
|
+
readonly type: Schema.Literal<"multiselect">;
|
|
1169
|
+
readonly options: Schema.$Array<Schema.Struct<{
|
|
1170
|
+
readonly value: Schema.String;
|
|
1171
|
+
readonly label: Schema.String;
|
|
1172
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1173
|
+
}>>;
|
|
1174
|
+
readonly minItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1175
|
+
readonly maxItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1176
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1177
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
|
|
1178
|
+
readonly key: Schema.String;
|
|
1179
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1180
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1181
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1182
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1183
|
+
readonly key: Schema.String;
|
|
1184
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1185
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1186
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1187
|
+
readonly key: Schema.String;
|
|
1188
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1189
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1190
|
+
}>>>, never, never>;
|
|
1191
|
+
}>, Schema.Struct<{
|
|
1192
|
+
readonly key: Schema.String;
|
|
1193
|
+
readonly type: Schema.Literal<"external">;
|
|
1194
|
+
readonly url: Schema.String;
|
|
1195
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1196
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1197
|
+
}>]>>>, never, never>;
|
|
1198
|
+
}>, Schema.Struct<{
|
|
1199
|
+
readonly id: Schema.brand<Schema.String, "Integration.MethodID">;
|
|
1200
|
+
readonly type: Schema.Literal<"command">;
|
|
1201
|
+
readonly label: Schema.String;
|
|
1202
|
+
readonly command: Schema.$Array<Schema.String>;
|
|
1203
|
+
}>, Schema.Struct<{
|
|
1204
|
+
readonly type: Schema.Literal<"key">;
|
|
1205
|
+
readonly label: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1206
|
+
readonly form: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
1207
|
+
readonly type: Schema.Literal<"string">;
|
|
1208
|
+
readonly format: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>>, Schema.optionalKey<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>, never, never>;
|
|
1209
|
+
readonly minLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1210
|
+
readonly maxLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1211
|
+
readonly pattern: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1212
|
+
readonly placeholder: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1213
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1214
|
+
readonly options: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1215
|
+
readonly value: Schema.String;
|
|
1216
|
+
readonly label: Schema.String;
|
|
1217
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1218
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1219
|
+
readonly value: Schema.String;
|
|
1220
|
+
readonly label: Schema.String;
|
|
1221
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1222
|
+
}>>>, never, never>;
|
|
1223
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1224
|
+
readonly key: Schema.String;
|
|
1225
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1226
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1227
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1228
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1229
|
+
readonly key: Schema.String;
|
|
1230
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1231
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1232
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1233
|
+
readonly key: Schema.String;
|
|
1234
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1235
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1236
|
+
}>>>, never, never>;
|
|
1237
|
+
}>, Schema.Struct<{
|
|
1238
|
+
readonly type: Schema.Literal<"number">;
|
|
1239
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1240
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1241
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1242
|
+
readonly key: Schema.String;
|
|
1243
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1244
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1245
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1246
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1247
|
+
readonly key: Schema.String;
|
|
1248
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1249
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1250
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1251
|
+
readonly key: Schema.String;
|
|
1252
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1253
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1254
|
+
}>>>, never, never>;
|
|
1255
|
+
}>, Schema.Struct<{
|
|
1256
|
+
readonly type: Schema.Literal<"integer">;
|
|
1257
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1258
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1259
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1260
|
+
readonly key: Schema.String;
|
|
1261
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1262
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1263
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1264
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1265
|
+
readonly key: Schema.String;
|
|
1266
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1267
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1268
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1269
|
+
readonly key: Schema.String;
|
|
1270
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1271
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1272
|
+
}>>>, never, never>;
|
|
1273
|
+
}>, Schema.Struct<{
|
|
1274
|
+
readonly type: Schema.Literal<"boolean">;
|
|
1275
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1276
|
+
readonly key: Schema.String;
|
|
1277
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1278
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1279
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1280
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1281
|
+
readonly key: Schema.String;
|
|
1282
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1283
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1284
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1285
|
+
readonly key: Schema.String;
|
|
1286
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1287
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1288
|
+
}>>>, never, never>;
|
|
1289
|
+
}>, Schema.Struct<{
|
|
1290
|
+
readonly type: Schema.Literal<"multiselect">;
|
|
1291
|
+
readonly options: Schema.$Array<Schema.Struct<{
|
|
1292
|
+
readonly value: Schema.String;
|
|
1293
|
+
readonly label: Schema.String;
|
|
1294
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1295
|
+
}>>;
|
|
1296
|
+
readonly minItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1297
|
+
readonly maxItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1298
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1299
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
|
|
1300
|
+
readonly key: Schema.String;
|
|
1301
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1302
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1303
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1304
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1305
|
+
readonly key: Schema.String;
|
|
1306
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1307
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1308
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1309
|
+
readonly key: Schema.String;
|
|
1310
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1311
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1312
|
+
}>>>, never, never>;
|
|
1313
|
+
}>, Schema.Struct<{
|
|
1314
|
+
readonly key: Schema.String;
|
|
1315
|
+
readonly type: Schema.Literal<"external">;
|
|
1316
|
+
readonly url: Schema.String;
|
|
1317
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1318
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1319
|
+
}>]>>>>, Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
1320
|
+
readonly type: Schema.Literal<"string">;
|
|
1321
|
+
readonly format: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>>, Schema.optionalKey<Schema.Literals<readonly ["email", "uri", "date", "date-time"]>>, never, never>;
|
|
1322
|
+
readonly minLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1323
|
+
readonly maxLength: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1324
|
+
readonly pattern: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1325
|
+
readonly placeholder: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1326
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1327
|
+
readonly options: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1328
|
+
readonly value: Schema.String;
|
|
1329
|
+
readonly label: Schema.String;
|
|
1330
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1331
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1332
|
+
readonly value: Schema.String;
|
|
1333
|
+
readonly label: Schema.String;
|
|
1334
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1335
|
+
}>>>, never, never>;
|
|
1336
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1337
|
+
readonly key: Schema.String;
|
|
1338
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1339
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1340
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1341
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1342
|
+
readonly key: Schema.String;
|
|
1343
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1344
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1345
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1346
|
+
readonly key: Schema.String;
|
|
1347
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1348
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1349
|
+
}>>>, never, never>;
|
|
1350
|
+
}>, Schema.Struct<{
|
|
1351
|
+
readonly type: Schema.Literal<"number">;
|
|
1352
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1353
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1354
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1355
|
+
readonly key: Schema.String;
|
|
1356
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1357
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1358
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1359
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1360
|
+
readonly key: Schema.String;
|
|
1361
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1362
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1363
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1364
|
+
readonly key: Schema.String;
|
|
1365
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1366
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1367
|
+
}>>>, never, never>;
|
|
1368
|
+
}>, Schema.Struct<{
|
|
1369
|
+
readonly type: Schema.Literal<"integer">;
|
|
1370
|
+
readonly minimum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1371
|
+
readonly maximum: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1372
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
1373
|
+
readonly key: Schema.String;
|
|
1374
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1375
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1376
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1377
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1378
|
+
readonly key: Schema.String;
|
|
1379
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1380
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1381
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1382
|
+
readonly key: Schema.String;
|
|
1383
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1384
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1385
|
+
}>>>, never, never>;
|
|
1386
|
+
}>, Schema.Struct<{
|
|
1387
|
+
readonly type: Schema.Literal<"boolean">;
|
|
1388
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1389
|
+
readonly key: Schema.String;
|
|
1390
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1391
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1392
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1393
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1394
|
+
readonly key: Schema.String;
|
|
1395
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1396
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1397
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1398
|
+
readonly key: Schema.String;
|
|
1399
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1400
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1401
|
+
}>>>, never, never>;
|
|
1402
|
+
}>, Schema.Struct<{
|
|
1403
|
+
readonly type: Schema.Literal<"multiselect">;
|
|
1404
|
+
readonly options: Schema.$Array<Schema.Struct<{
|
|
1405
|
+
readonly value: Schema.String;
|
|
1406
|
+
readonly label: Schema.String;
|
|
1407
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1408
|
+
}>>;
|
|
1409
|
+
readonly minItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1410
|
+
readonly maxItems: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1411
|
+
readonly custom: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1412
|
+
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
|
|
1413
|
+
readonly key: Schema.String;
|
|
1414
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1415
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1416
|
+
readonly required: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
1417
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1418
|
+
readonly key: Schema.String;
|
|
1419
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1420
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1421
|
+
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1422
|
+
readonly key: Schema.String;
|
|
1423
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
1424
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
|
|
1425
|
+
}>>>, never, never>;
|
|
1426
|
+
}>, Schema.Struct<{
|
|
1427
|
+
readonly key: Schema.String;
|
|
1428
|
+
readonly type: Schema.Literal<"external">;
|
|
1429
|
+
readonly url: Schema.String;
|
|
1430
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1431
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1432
|
+
}>]>>>, never, never>;
|
|
1433
|
+
}>, Schema.Struct<{
|
|
1434
|
+
readonly type: Schema.Literal<"env">;
|
|
1435
|
+
readonly names: Schema.$Array<Schema.String>;
|
|
1436
|
+
}>]>>;
|
|
1437
|
+
readonly connections: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
1438
|
+
readonly type: Schema.Literal<"credential">;
|
|
1439
|
+
readonly id: Schema.brand<Schema.String, "Credential.ID"> & {
|
|
1440
|
+
create: () => string & import("effect/Brand").Brand<"Credential.ID">;
|
|
1441
|
+
};
|
|
1442
|
+
readonly label: Schema.String;
|
|
1443
|
+
}>, Schema.Struct<{
|
|
1444
|
+
readonly type: Schema.Literal<"env">;
|
|
1445
|
+
readonly name: Schema.String;
|
|
1446
|
+
}>]>>;
|
|
1447
|
+
}>;
|
|
1448
|
+
export type Info = Integration.Info;
|
|
1449
|
+
export type OAuthAuthorization = {
|
|
1450
|
+
readonly url: string;
|
|
1451
|
+
readonly instructions: string;
|
|
1452
|
+
readonly expiresAt?: number;
|
|
1453
|
+
} & ({
|
|
1454
|
+
readonly mode: "auto";
|
|
1455
|
+
readonly callback: Effect.Effect<Credential.OAuth, unknown>;
|
|
1456
|
+
} | {
|
|
1457
|
+
readonly mode: "code";
|
|
1458
|
+
readonly callback: (code: string) => Effect.Effect<Credential.OAuth, unknown>;
|
|
1459
|
+
});
|
|
1460
|
+
export interface OAuthImplementation {
|
|
1461
|
+
readonly integrationID: ID;
|
|
1462
|
+
readonly method: OAuthMethod;
|
|
1463
|
+
readonly authorize: (answer: Form.Answer) => Effect.Effect<OAuthAuthorization, unknown, Scope.Scope>;
|
|
1464
|
+
readonly refresh?: (credential: Credential.OAuth) => Effect.Effect<Credential.OAuth, unknown>;
|
|
1465
|
+
readonly label?: (credential: Credential.OAuth) => string | undefined;
|
|
1466
|
+
}
|
|
1467
|
+
export interface KeyImplementation {
|
|
1468
|
+
readonly integrationID: ID;
|
|
1469
|
+
readonly method: KeyMethod;
|
|
1470
|
+
}
|
|
1471
|
+
export interface CommandImplementation {
|
|
1472
|
+
readonly integrationID: ID;
|
|
1473
|
+
readonly method: CommandMethod;
|
|
1474
|
+
}
|
|
1475
|
+
export interface EnvImplementation {
|
|
1476
|
+
readonly integrationID: ID;
|
|
1477
|
+
readonly method: EnvMethod;
|
|
1478
|
+
}
|
|
1479
|
+
export type Implementation = OAuthImplementation | CommandImplementation | KeyImplementation | EnvImplementation;
|
|
1480
|
+
export declare const Attempt: typeof Integration.Attempt;
|
|
1481
|
+
export type Attempt = Integration.Attempt;
|
|
1482
|
+
export declare const AttemptStatus: Schema.Union<readonly [Schema.Struct<{
|
|
1483
|
+
readonly status: Schema.Literal<"pending">;
|
|
1484
|
+
readonly time: Schema.Struct<{
|
|
1485
|
+
readonly created: Schema.Number;
|
|
1486
|
+
readonly expires: Schema.Number;
|
|
1487
|
+
}>;
|
|
1488
|
+
}>, Schema.Struct<{
|
|
1489
|
+
readonly status: Schema.Literal<"complete">;
|
|
1490
|
+
readonly time: Schema.Struct<{
|
|
1491
|
+
readonly created: Schema.Number;
|
|
1492
|
+
readonly expires: Schema.Number;
|
|
1493
|
+
}>;
|
|
1494
|
+
}>, Schema.Struct<{
|
|
1495
|
+
readonly status: Schema.Literal<"failed">;
|
|
1496
|
+
readonly message: Schema.String;
|
|
1497
|
+
readonly time: Schema.Struct<{
|
|
1498
|
+
readonly created: Schema.Number;
|
|
1499
|
+
readonly expires: Schema.Number;
|
|
1500
|
+
}>;
|
|
1501
|
+
}>, Schema.Struct<{
|
|
1502
|
+
readonly status: Schema.Literal<"expired">;
|
|
1503
|
+
readonly time: Schema.Struct<{
|
|
1504
|
+
readonly created: Schema.Number;
|
|
1505
|
+
readonly expires: Schema.Number;
|
|
1506
|
+
}>;
|
|
1507
|
+
}>]>;
|
|
1508
|
+
export type AttemptStatus = typeof AttemptStatus.Type;
|
|
1509
|
+
export declare const CommandAttempt: Schema.Struct<{
|
|
1510
|
+
readonly attemptID: Schema.brand<Schema.String, "Integration.AttemptID"> & {
|
|
1511
|
+
create: () => string & import("effect/Brand").Brand<"Integration.AttemptID">;
|
|
1512
|
+
};
|
|
1513
|
+
readonly time: Schema.Struct<{
|
|
1514
|
+
readonly created: Schema.Number;
|
|
1515
|
+
readonly expires: Schema.Number;
|
|
1516
|
+
}>;
|
|
1517
|
+
}>;
|
|
1518
|
+
export type CommandAttempt = Integration.CommandAttempt;
|
|
1519
|
+
export declare const CommandAttemptStatus: Schema.Union<readonly [Schema.Struct<{
|
|
1520
|
+
readonly status: Schema.Literal<"pending">;
|
|
1521
|
+
readonly message: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1522
|
+
readonly time: Schema.Struct<{
|
|
1523
|
+
readonly created: Schema.Number;
|
|
1524
|
+
readonly expires: Schema.Number;
|
|
1525
|
+
}>;
|
|
1526
|
+
}>, Schema.Struct<{
|
|
1527
|
+
readonly status: Schema.Literal<"complete">;
|
|
1528
|
+
readonly time: Schema.Struct<{
|
|
1529
|
+
readonly created: Schema.Number;
|
|
1530
|
+
readonly expires: Schema.Number;
|
|
1531
|
+
}>;
|
|
1532
|
+
}>, Schema.Struct<{
|
|
1533
|
+
readonly status: Schema.Literal<"failed">;
|
|
1534
|
+
readonly message: Schema.String;
|
|
1535
|
+
readonly time: Schema.Struct<{
|
|
1536
|
+
readonly created: Schema.Number;
|
|
1537
|
+
readonly expires: Schema.Number;
|
|
1538
|
+
}>;
|
|
1539
|
+
}>, Schema.Struct<{
|
|
1540
|
+
readonly status: Schema.Literal<"expired">;
|
|
1541
|
+
readonly time: Schema.Struct<{
|
|
1542
|
+
readonly created: Schema.Number;
|
|
1543
|
+
readonly expires: Schema.Number;
|
|
1544
|
+
}>;
|
|
1545
|
+
}>]>;
|
|
1546
|
+
export type CommandAttemptStatus = Integration.CommandAttemptStatus;
|
|
1547
|
+
declare const CodeRequiredError_base: Schema.Class<CodeRequiredError, Schema.TaggedStruct<"Integration.CodeRequired", {
|
|
1548
|
+
readonly attemptID: Schema.brand<Schema.String, "Integration.AttemptID"> & {
|
|
1549
|
+
create: () => string & import("effect/Brand").Brand<"Integration.AttemptID">;
|
|
1550
|
+
};
|
|
1551
|
+
}>, Cause.YieldableError>;
|
|
1552
|
+
export declare class CodeRequiredError extends CodeRequiredError_base {
|
|
1553
|
+
}
|
|
1554
|
+
declare const AuthorizationError_base: Schema.Class<AuthorizationError, Schema.TaggedStruct<"Integration.Authorization", {
|
|
1555
|
+
readonly cause: Schema.Defect;
|
|
1556
|
+
}>, Cause.YieldableError>;
|
|
1557
|
+
export declare class AuthorizationError extends AuthorizationError_base {
|
|
1558
|
+
}
|
|
1559
|
+
export type Error = CodeRequiredError | AuthorizationError;
|
|
1560
|
+
export { Event } from "@opencode-ai/schema/integration";
|
|
1561
|
+
export declare const Ref: Schema.Struct<{
|
|
1562
|
+
readonly id: Schema.brand<Schema.String, "Integration.ID">;
|
|
1563
|
+
readonly name: Schema.String;
|
|
1564
|
+
}>;
|
|
1565
|
+
export type Ref = Integration.Ref;
|
|
1566
|
+
export type Draft = {
|
|
1567
|
+
list: () => readonly Ref[];
|
|
1568
|
+
get: (id: ID) => Ref | undefined;
|
|
1569
|
+
update: (id: ID, update: (integration: Types.DeepMutable<Ref>) => void) => void;
|
|
1570
|
+
remove: (id: ID) => void;
|
|
1571
|
+
method: {
|
|
1572
|
+
list: (integrationID: ID) => readonly Method[];
|
|
1573
|
+
update: (implementation: Implementation) => void;
|
|
1574
|
+
remove: (integrationID: ID, method: Method) => void;
|
|
1575
|
+
};
|
|
1576
|
+
};
|
|
1577
|
+
export interface Interface extends State.Transformable<Draft> {
|
|
1578
|
+
/** Registers a scoped transform over the integration registry. */
|
|
1579
|
+
/** Returns one integration with its methods and current connections. */
|
|
1580
|
+
readonly get: (id: ID) => Effect.Effect<Info | undefined>;
|
|
1581
|
+
/** Returns all integrations with their methods and current connections. */
|
|
1582
|
+
readonly list: () => Effect.Effect<Info[]>;
|
|
1583
|
+
readonly connection: {
|
|
1584
|
+
/** Returns the active connection for one integration. */
|
|
1585
|
+
readonly active: (id: ID) => Effect.Effect<IntegrationConnection.Info | undefined>;
|
|
1586
|
+
/** Resolves a connection into usable credential material. */
|
|
1587
|
+
readonly resolve: (connection: IntegrationConnection.Info) => Effect.Effect<Credential.Value | undefined, AuthorizationError>;
|
|
1588
|
+
/** Runs a key method and stores the resulting credential. */
|
|
1589
|
+
readonly key: (input: {
|
|
1590
|
+
/** Integration receiving the credential. */
|
|
1591
|
+
readonly integrationID: ID;
|
|
1592
|
+
/** Secret entered by the user. */
|
|
1593
|
+
readonly key: string;
|
|
1594
|
+
/** Values collected from the method's form fields. */
|
|
1595
|
+
readonly answer?: Form.Answer;
|
|
1596
|
+
/** User-facing label for the stored credential. */
|
|
1597
|
+
readonly label?: string;
|
|
1598
|
+
}) => Effect.Effect<void, AuthorizationError>;
|
|
1599
|
+
/** Updates a stored credential exposed as a connection. */
|
|
1600
|
+
readonly update: (credentialID: Credential.ID, updates: Partial<Pick<Credential.Info, "label">>) => Effect.Effect<void>;
|
|
1601
|
+
/** Removes a stored credential connection. */
|
|
1602
|
+
readonly remove: (credentialID: Credential.ID) => Effect.Effect<void>;
|
|
1603
|
+
};
|
|
1604
|
+
readonly oauth: {
|
|
1605
|
+
/** Starts a stateful OAuth attempt. */
|
|
1606
|
+
readonly connect: (input: {
|
|
1607
|
+
readonly integrationID: ID;
|
|
1608
|
+
readonly methodID: MethodID;
|
|
1609
|
+
readonly answer?: Form.Answer;
|
|
1610
|
+
readonly label?: string;
|
|
1611
|
+
}) => Effect.Effect<Attempt, AuthorizationError>;
|
|
1612
|
+
/** Returns the current state of an OAuth attempt. */
|
|
1613
|
+
readonly status: (input: {
|
|
1614
|
+
readonly integrationID: ID;
|
|
1615
|
+
readonly attemptID: AttemptID;
|
|
1616
|
+
}) => Effect.Effect<AttemptStatus>;
|
|
1617
|
+
/** Completes the attempt and stores its credential. */
|
|
1618
|
+
readonly complete: (input: {
|
|
1619
|
+
readonly integrationID: ID;
|
|
1620
|
+
readonly attemptID: AttemptID;
|
|
1621
|
+
readonly code?: string;
|
|
1622
|
+
}) => Effect.Effect<void, CodeRequiredError | AuthorizationError>;
|
|
1623
|
+
/** Cancels an attempt and releases its resources. */
|
|
1624
|
+
readonly cancel: (input: {
|
|
1625
|
+
readonly integrationID: ID;
|
|
1626
|
+
readonly attemptID: AttemptID;
|
|
1627
|
+
}) => Effect.Effect<void>;
|
|
1628
|
+
};
|
|
1629
|
+
readonly command: {
|
|
1630
|
+
readonly connect: (input: {
|
|
1631
|
+
readonly integrationID: ID;
|
|
1632
|
+
readonly methodID: MethodID;
|
|
1633
|
+
readonly label?: string;
|
|
1634
|
+
}) => Effect.Effect<CommandAttempt, AuthorizationError>;
|
|
1635
|
+
readonly status: (input: {
|
|
1636
|
+
readonly integrationID: ID;
|
|
1637
|
+
readonly attemptID: AttemptID;
|
|
1638
|
+
}) => Effect.Effect<CommandAttemptStatus>;
|
|
1639
|
+
readonly cancel: (input: {
|
|
1640
|
+
readonly integrationID: ID;
|
|
1641
|
+
readonly attemptID: AttemptID;
|
|
1642
|
+
}) => Effect.Effect<void>;
|
|
1643
|
+
};
|
|
1644
|
+
}
|
|
1645
|
+
declare const Service_base: Context.ServiceClass<Service, "@opencode/Integration", Interface>;
|
|
1646
|
+
export declare class Service extends Service_base {
|
|
1647
|
+
}
|
|
1648
|
+
export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
|