icon
This commit is contained in:
parent
d76d5ed50d
commit
15775bc022
|
|
@ -3,6 +3,9 @@
|
||||||
"module": "src/index.ts",
|
"module": "src/index.ts",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
"toes": {
|
||||||
|
"icon": "🕐"
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"toes": "bun run --watch index.tsx",
|
"toes": "bun run --watch index.tsx",
|
||||||
"start": "bun toes",
|
"start": "bun toes",
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,9 @@
|
||||||
"module": "src/index.ts",
|
"module": "src/index.ts",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
"toes": {
|
||||||
|
"icon": "👤"
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"toes": "bun run --watch index.tsx",
|
"toes": "bun run --watch index.tsx",
|
||||||
"start": "bun toes",
|
"start": "bun toes",
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,9 @@
|
||||||
"module": "src/index.ts",
|
"module": "src/index.ts",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
"toes": {
|
||||||
|
"icon": "💬"
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"toes": "bun run --watch index.ts",
|
"toes": "bun run --watch index.ts",
|
||||||
"dev": "bun run --hot index.ts"
|
"dev": "bun run --hot index.ts"
|
||||||
|
|
|
||||||
|
|
@ -15,9 +15,10 @@ app.get('/api/apps/stream', c => {
|
||||||
start(controller) {
|
start(controller) {
|
||||||
const send = () => {
|
const send = () => {
|
||||||
// Strip proc field from apps before sending
|
// Strip proc field from apps before sending
|
||||||
const apps: SharedApp[] = allApps().map(({ name, state, port, started, logs }) => ({
|
const apps: SharedApp[] = allApps().map(({ name, state, icon, port, started, logs }) => ({
|
||||||
name,
|
name,
|
||||||
state,
|
state,
|
||||||
|
icon,
|
||||||
port,
|
port,
|
||||||
started,
|
started,
|
||||||
logs,
|
logs,
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@ export type LogLine = {
|
||||||
export type App = {
|
export type App = {
|
||||||
name: string
|
name: string
|
||||||
state: AppState
|
state: AppState
|
||||||
|
icon?: string
|
||||||
port?: number
|
port?: number
|
||||||
started?: number
|
started?: number
|
||||||
logs?: LogLine[]
|
logs?: LogLine[]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user