{
  "$schema": "homarr-custom-widget-v2",
  "name": "JellyGlance storage",
  "description": "Library storage and upcoming disk estimate.",
  "iconUrl": "https://jellyglance.com/project-logo.png",
  "url": "http://jellyglance:3000/api/widgets/storage",
  "authType": "apiKeyHeader",
  "headerName": "x-api-token",
  "method": "GET",
  "displayType": "customJsx",
  "displayConfig": {
    "type": "customJsx",
    "template": "<Stack gap=\"sm\" p=\"xs\">\n  <Group justify=\"space-between\" align=\"center\">\n    <Group gap=\"xs\">\n      <Avatar src=\"https://jellyglance.com/project-logo.png\" size={24} radius=\"xl\" />\n      <Stack gap={0}>\n        <Text fw={800} size=\"sm\">Storage</Text>\n        <Text size=\"xs\" c=\"dimmed\">{data.upcomingEstimate} incoming</Text>\n      </Stack>\n    </Group>\n    <Badge variant=\"light\" color=\"violet\">Glance</Badge>\n  </Group>\n  <Grid gutter=\"xs\">\n    <Grid.Col span={12}><Card withBorder radius=\"md\" p=\"xs\"><Text size=\"xs\" c=\"teal\">Used</Text><Text fw={800} size=\"lg\">{data.totalLabel}</Text></Card></Grid.Col>\n    <Grid.Col span={6}><Card withBorder radius=\"md\" p=\"xs\"><Text size=\"xs\" c=\"orange\">Upcoming</Text><Text fw={800} size=\"lg\">{data.upcomingCount}</Text></Card></Grid.Col>\n    <Grid.Col span={6}><Card withBorder radius=\"md\" p=\"xs\"><Text size=\"xs\" c=\"blue\">Estimate</Text><Text fw={800} size=\"lg\">{data.upcomingEstimate}</Text></Card></Grid.Col>\n  </Grid>\n</Stack>"
  }
}
