@commandkit/devtools 1.2.0-rc.9 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +19 -3
- package/dist/server/app.d.ts +1 -1
- package/package.json +14 -8
- package/ui/assets/commands-qU7AMiq3.js +1 -0
- package/ui/assets/{events-mcYM4bcV.js → events-CP5YTD8j.js} +1 -1
- package/ui/assets/{feature-flags-BV5G4Fku.js → feature-flags-DtTJqVGy.js} +1 -1
- package/ui/assets/{guilds-DxKiii_g.js → guilds-DpjA4ejz.js} +1 -1
- package/ui/assets/index-MQlxaR0w.js +1 -0
- package/ui/assets/index-dwRFzfPU.css +1 -0
- package/ui/assets/index-o7tU8EM7.js +59 -0
- package/ui/assets/{plugins-2z5p-Tu8.js → plugins-Da1IKaVI.js} +1 -1
- package/ui/index.html +2 -2
- package/ui/assets/commands-IE8coIjN.js +0 -21
- package/ui/assets/index-B_iMxRPI.css +0 -1
- package/ui/assets/index-CyODypjh.js +0 -175
- package/ui/assets/index-yV0hKx_G.js +0 -21
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import{i as c,u as h,j as e,B as s,C as a,b as r,f as t,e as l,l as x,h as m,m as n,n as i}from"./index-CyODypjh.js";/**
|
|
2
|
-
* @license lucide-react v0.541.0 - ISC
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the ISC license.
|
|
5
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/const j=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],o=c("arrow-up-right",j);/**
|
|
7
|
-
* @license lucide-react v0.541.0 - ISC
|
|
8
|
-
*
|
|
9
|
-
* This source code is licensed under the ISC license.
|
|
10
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/const u=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],p=c("message-square",u);/**
|
|
12
|
-
* @license lucide-react v0.541.0 - ISC
|
|
13
|
-
*
|
|
14
|
-
* This source code is licensed under the ISC license.
|
|
15
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
16
|
-
*/const f=[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]],N=c("server",f);/**
|
|
17
|
-
* @license lucide-react v0.541.0 - ISC
|
|
18
|
-
*
|
|
19
|
-
* This source code is licensed under the ISC license.
|
|
20
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
21
|
-
*/const g=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],y=c("users",g);function w(){const d=h();return e.jsxs("div",{className:"flex flex-1 flex-col gap-6 p-6",children:[e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsxs("h1",{className:"text-3xl font-bold inline-flex items-center gap-2",children:["CommandKit DevTools ",e.jsx(s,{children:"Preview"})]}),e.jsx("p",{className:"text-muted-foreground",children:"Welcome to the CommandKit DevTools."})]}),e.jsxs("div",{className:"grid gap-6 md:grid-cols-3",children:[e.jsxs(a,{children:[e.jsxs(r,{className:"flex flex-row items-center justify-between pb-2",children:[e.jsx(t,{className:"text-xl font-medium",children:"Guilds"}),e.jsx(N,{className:"h-5 w-5 text-muted-foreground"})]}),e.jsxs(l,{children:[e.jsx("div",{className:"text-3xl font-bold",children:d.user.data.guilds}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"Servers where your bot is active"})]}),e.jsx(x,{children:e.jsxs(s,{variant:"outline",className:"gap-1",children:[e.jsx(o,{className:"h-3 w-3"}),e.jsx("span",{children:"Active"})]})})]}),e.jsxs(a,{children:[e.jsxs(r,{className:"flex flex-row items-center justify-between pb-2",children:[e.jsx(t,{className:"text-xl font-medium",children:"Users"}),e.jsx(y,{className:"h-5 w-5 text-muted-foreground"})]}),e.jsxs(l,{children:[e.jsx("div",{className:"text-3xl font-bold",children:d.user.data.users}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"Users with access to your bot"})]}),e.jsx(x,{children:e.jsxs(s,{variant:"outline",className:"gap-1",children:[e.jsx(o,{className:"h-3 w-3"}),e.jsx("span",{children:"Growing"})]})})]}),e.jsxs(a,{children:[e.jsxs(r,{className:"flex flex-row items-center justify-between pb-2",children:[e.jsx(t,{className:"text-xl font-medium",children:"Channels"}),e.jsx(p,{className:"h-5 w-5 text-muted-foreground"})]}),e.jsxs(l,{children:[e.jsx("div",{className:"text-3xl font-bold",children:d.user.data.channels}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"Channels where your bot is available"})]}),e.jsx(x,{children:e.jsxs(s,{variant:"outline",className:"gap-1",children:[e.jsx(o,{className:"h-3 w-3"}),e.jsx("span",{children:"Available"})]})})]})]}),e.jsxs(a,{children:[e.jsxs(r,{children:[e.jsx(t,{children:"Quick Actions"}),e.jsx(m,{children:"These are some of the available actions"})]}),e.jsxs(l,{className:"flex flex-wrap gap-4",children:[e.jsx(n,{to:"/commands",children:e.jsx(i,{className:"cursor-pointer",children:"View Commands"})}),e.jsx(n,{to:"/guilds",children:e.jsx(i,{className:"cursor-pointer",children:"Manage Guilds"})}),e.jsx(n,{to:"/events",children:e.jsx(i,{className:"cursor-pointer",children:"View Events"})}),e.jsx(n,{to:"/plugins",children:e.jsx(i,{className:"cursor-pointer",children:"View Plugins"})})]})]})]})}export{w as component};
|