diff --git a/app/api/logs/[...path]/route.ts b/app/api/logs/[...path]/route.ts
index 6a1f266ec..099dee047 100644
--- a/app/api/logs/[...path]/route.ts
+++ b/app/api/logs/[...path]/route.ts
@@ -30,12 +30,13 @@ async function handle(
// const matchResponse = request_data.logEntry.match(regex);
const regex_message = /(?<="content":")(.*?)(?="}[,\]])/g;
const matchAllMessage = request_data.logEntry.match(regex_message);
- console.log(matchAllMessage, "=====");
+ // console.log(matchAllMessage, "=====");
if (matchAllMessage.length > 0) {
request_data.logToken =
getTokenLength(matchAllMessage.join(" ")) +
matchAllMessage.length * 3;
}
+ delete request_data["logEntry"];
}
} catch (e) {
console.log("[LOG]", "logToken", e);
diff --git a/app/app/(admin)/admin/usage-by-model-chart.tsx b/app/app/(admin)/admin/usage-by-model-chart.tsx
index 07c149749..99c55f5de 100644
--- a/app/app/(admin)/admin/usage-by-model-chart.tsx
+++ b/app/app/(admin)/admin/usage-by-model-chart.tsx
@@ -5,15 +5,12 @@ import * as echarts from "echarts";
import { DatePicker, DatePickerValue } from "@tremor/react";
import { zhCN } from "date-fns/locale";
import { EChartsOption } from "echarts";
-import { OptionDataItem, OptionDataValue } from "echarts/types/src/util/types";
-// import { param } from "ts-interface-checker"; // 导入 echarts
+import { essos, walden } from "@/lib/charts_theme";
export default function UsageByModelChart() {
const [currentDate, setCurrentDate] = useState(new Date());
const [searchDate, setSearchDate] = useState("");
- const [clientSide, setClientSide] = useState(false);
-
useEffect(() => {
let ignore = false;
// console.log('windows', window.location.href)
@@ -57,7 +54,8 @@ export default function UsageByModelChart() {
fetchData().then((option) => {
if (!ignore && option && typeof window !== "undefined") {
let chartDom = document.getElementById("usage-by-model-chart");
- let myChart = echarts.init(chartDom);
+ echarts.registerTheme("default", essos);
+ let myChart = echarts.init(chartDom, "default");
option && myChart.setOption(option);
setSearchDate(currentDateString);
console.log("option计数", 1);
diff --git a/app/icons/auto.svg b/app/icons/auto.svg
index 6745dfbd0..540ebdd13 100644
--- a/app/icons/auto.svg
+++ b/app/icons/auto.svg
@@ -1 +1 @@
-
+
\ No newline at end of file
diff --git a/app/icons/bot.svg b/app/icons/bot.svg
index 6e3af5be7..758a57ebc 100644
--- a/app/icons/bot.svg
+++ b/app/icons/bot.svg
@@ -1,28 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/app/icons/break.svg b/app/icons/break.svg
index fbfe04f46..903356fb9 100644
--- a/app/icons/break.svg
+++ b/app/icons/break.svg
@@ -1 +1 @@
-
+
\ No newline at end of file
diff --git a/app/icons/cancel.svg b/app/icons/cancel.svg
index 390b11166..584b5886f 100644
--- a/app/icons/cancel.svg
+++ b/app/icons/cancel.svg
@@ -1 +1 @@
-
+
\ No newline at end of file
diff --git a/app/icons/chat-settings.svg b/app/icons/chat-settings.svg
index 0a37b294c..0f56a263b 100644
--- a/app/icons/chat-settings.svg
+++ b/app/icons/chat-settings.svg
@@ -1 +1 @@
-
+
\ No newline at end of file
diff --git a/app/icons/chat.svg b/app/icons/chat.svg
index 697688551..744b2e033 100644
--- a/app/icons/chat.svg
+++ b/app/icons/chat.svg
@@ -1,27 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/app/icons/chatgpt.svg b/app/icons/chatgpt.svg
index 5b9cd93d5..66cd45ce7 100644
--- a/app/icons/chatgpt.svg
+++ b/app/icons/chatgpt.svg
@@ -1,16 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/app/icons/clear.svg b/app/icons/clear.svg
index f0430fc47..f43466c96 100644
--- a/app/icons/clear.svg
+++ b/app/icons/clear.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/app/icons/close.svg b/app/icons/close.svg
index f8e0ec889..812f3276e 100644
--- a/app/icons/close.svg
+++ b/app/icons/close.svg
@@ -1,21 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/app/icons/cloud-fail.svg b/app/icons/cloud-fail.svg
index 6e6a35fe5..a6017ed6c 100644
--- a/app/icons/cloud-fail.svg
+++ b/app/icons/cloud-fail.svg
@@ -1 +1 @@
-
+
\ No newline at end of file
diff --git a/app/icons/cloud-success.svg b/app/icons/cloud-success.svg
index 8c5f3d6fd..a8148a895 100644
--- a/app/icons/cloud-success.svg
+++ b/app/icons/cloud-success.svg
@@ -1 +1 @@
-
+
\ No newline at end of file
diff --git a/app/icons/config.svg b/app/icons/config.svg
index 7e1d23a27..3334dd274 100644
--- a/app/icons/config.svg
+++ b/app/icons/config.svg
@@ -1 +1 @@
-
+
\ No newline at end of file
diff --git a/app/icons/confirm.svg b/app/icons/confirm.svg
index e40fe8aac..f9795381a 100644
--- a/app/icons/confirm.svg
+++ b/app/icons/confirm.svg
@@ -1 +1 @@
-
+
\ No newline at end of file
diff --git a/app/icons/connection.svg b/app/icons/connection.svg
index 036873020..7a91a6f57 100644
--- a/app/icons/connection.svg
+++ b/app/icons/connection.svg
@@ -1 +1 @@
-
+
\ No newline at end of file
diff --git a/app/icons/dark.svg b/app/icons/dark.svg
index c96c188bb..e2074da48 100644
--- a/app/icons/dark.svg
+++ b/app/icons/dark.svg
@@ -1 +1 @@
-
+
\ No newline at end of file
diff --git a/app/icons/drag.svg b/app/icons/drag.svg
index a39157c7e..9c62b56b1 100644
--- a/app/icons/drag.svg
+++ b/app/icons/drag.svg
@@ -1 +1 @@
-
+
\ No newline at end of file
diff --git a/app/icons/edit.svg b/app/icons/edit.svg
index 230c57b99..a2bc6020d 100644
--- a/app/icons/edit.svg
+++ b/app/icons/edit.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/app/icons/eye-off.svg b/app/icons/eye-off.svg
index a0a44f7ac..dd7e0b80a 100644
--- a/app/icons/eye-off.svg
+++ b/app/icons/eye-off.svg
@@ -1,4 +1 @@
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/app/icons/eye.svg b/app/icons/eye.svg
index b5df29d5b..aab43d431 100644
--- a/app/icons/eye.svg
+++ b/app/icons/eye.svg
@@ -1,4 +1 @@
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/app/icons/light.svg b/app/icons/light.svg
index a425e0107..8f7095176 100644
--- a/app/icons/light.svg
+++ b/app/icons/light.svg
@@ -1 +1 @@
-
+
\ No newline at end of file
diff --git a/app/icons/lightning.svg b/app/icons/lightning.svg
index d208ad87d..8ce0b7311 100644
--- a/app/icons/lightning.svg
+++ b/app/icons/lightning.svg
@@ -1 +1 @@
-
+
\ No newline at end of file
diff --git a/app/icons/pause.svg b/app/icons/pause.svg
index 382f7a939..4e81ef067 100644
--- a/app/icons/pause.svg
+++ b/app/icons/pause.svg
@@ -1 +1 @@
-
+
\ No newline at end of file
diff --git a/app/icons/pin.svg b/app/icons/pin.svg
index caf7b0ee4..53f5bb4d0 100644
--- a/app/icons/pin.svg
+++ b/app/icons/pin.svg
@@ -1 +1 @@
-
+
\ No newline at end of file
diff --git a/app/icons/reload.svg b/app/icons/reload.svg
index f5ae07a52..be104dd27 100644
--- a/app/icons/reload.svg
+++ b/app/icons/reload.svg
@@ -1,24 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/app/icons/rename.svg b/app/icons/rename.svg
index cee69eb8d..311e0f434 100644
--- a/app/icons/rename.svg
+++ b/app/icons/rename.svg
@@ -1 +1 @@
-
+
\ No newline at end of file
diff --git a/app/icons/return.svg b/app/icons/return.svg
index eba5e78f9..630838ff8 100644
--- a/app/icons/return.svg
+++ b/app/icons/return.svg
@@ -1,21 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/app/icons/robot.svg b/app/icons/robot.svg
index 62dd9dc8d..08fa0a2ea 100644
--- a/app/icons/robot.svg
+++ b/app/icons/robot.svg
@@ -1 +1 @@
-
+
\ No newline at end of file
diff --git a/app/icons/send-white.svg b/app/icons/send-white.svg
index 9c9799f7d..3becbecd8 100644
--- a/app/icons/send-white.svg
+++ b/app/icons/send-white.svg
@@ -1,21 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/app/icons/settings.svg b/app/icons/settings.svg
index 6c0e74dff..5a21c8713 100644
--- a/app/icons/settings.svg
+++ b/app/icons/settings.svg
@@ -1,21 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/app/icons/upload.svg b/app/icons/upload.svg
index f9999a7f9..0bc76e30e 100644
--- a/app/icons/upload.svg
+++ b/app/icons/upload.svg
@@ -1 +1 @@
-
+
\ No newline at end of file
diff --git a/app/locales/jp.ts b/app/locales/jp.ts
new file mode 100644
index 000000000..e69de29bb
diff --git a/docs/images/head-cover.png b/docs/images/head-cover.png
index 859d83b05..7fd4aeb58 100644
Binary files a/docs/images/head-cover.png and b/docs/images/head-cover.png differ
diff --git a/docs/images/upstash-1.png b/docs/images/upstash-1.png
index 5813c521f..253ee60c1 100644
Binary files a/docs/images/upstash-1.png and b/docs/images/upstash-1.png differ
diff --git a/docs/images/upstash-2.png b/docs/images/upstash-2.png
index 91078642d..d1f255d6b 100644
Binary files a/docs/images/upstash-2.png and b/docs/images/upstash-2.png differ
diff --git a/docs/images/upstash-3.png b/docs/images/upstash-3.png
index 06c53d190..5b2109409 100644
Binary files a/docs/images/upstash-3.png and b/docs/images/upstash-3.png differ
diff --git a/docs/images/upstash-4.png b/docs/images/upstash-4.png
index ae301c4d3..a22ccc99a 100644
Binary files a/docs/images/upstash-4.png and b/docs/images/upstash-4.png differ
diff --git a/docs/images/upstash-5.png b/docs/images/upstash-5.png
index 728a37460..57f8b4f95 100644
Binary files a/docs/images/upstash-5.png and b/docs/images/upstash-5.png differ
diff --git a/docs/images/upstash-6.png b/docs/images/upstash-6.png
index 0991c89cf..75770760c 100644
Binary files a/docs/images/upstash-6.png and b/docs/images/upstash-6.png differ
diff --git a/docs/images/upstash-7.png b/docs/images/upstash-7.png
index 3b3408537..76fd0ea86 100644
Binary files a/docs/images/upstash-7.png and b/docs/images/upstash-7.png differ
diff --git a/lib/charts_theme.ts b/lib/charts_theme.ts
new file mode 100644
index 000000000..3c3e6edf1
--- /dev/null
+++ b/lib/charts_theme.ts
@@ -0,0 +1,790 @@
+export const essos=
+ {
+ "color": [
+ "#893448",
+ "#d95850",
+ "#eb8146",
+ "#ffb248",
+ "#f2d643",
+ "#ebdba4"
+ ],
+ "backgroundColor": "rgba(242,234,191,0)",
+ "textStyle": {},
+ "title": {
+ "textStyle": {
+ "color": "#893448"
+ },
+ "subtextStyle": {
+ "color": "#d95850"
+ }
+ },
+ "line": {
+ "itemStyle": {
+ "borderWidth": "2"
+ },
+ "lineStyle": {
+ "width": "2"
+ },
+ "symbolSize": "6",
+ "symbol": "emptyCircle",
+ "smooth": true
+ },
+ "radar": {
+ "itemStyle": {
+ "borderWidth": "2"
+ },
+ "lineStyle": {
+ "width": "2"
+ },
+ "symbolSize": "6",
+ "symbol": "emptyCircle",
+ "smooth": true
+ },
+ "bar": {
+ "itemStyle": {
+ "barBorderWidth": 0,
+ "barBorderColor": "#ccc"
+ }
+ },
+ "pie": {
+ "itemStyle": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ }
+ },
+ "scatter": {
+ "itemStyle": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ }
+ },
+ "boxplot": {
+ "itemStyle": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ }
+ },
+ "parallel": {
+ "itemStyle": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ }
+ },
+ "sankey": {
+ "itemStyle": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ }
+ },
+ "funnel": {
+ "itemStyle": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ }
+ },
+ "gauge": {
+ "itemStyle": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ }
+ },
+ "candlestick": {
+ "itemStyle": {
+ "color": "#eb8146",
+ "color0": "transparent",
+ "borderColor": "#d95850",
+ "borderColor0": "#58c470",
+ "borderWidth": "2"
+ }
+ },
+ "graph": {
+ "itemStyle": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ },
+ "lineStyle": {
+ "width": 1,
+ "color": "#aaaaaa"
+ },
+ "symbolSize": "6",
+ "symbol": "emptyCircle",
+ "smooth": true,
+ "color": [
+ "#893448",
+ "#d95850",
+ "#eb8146",
+ "#ffb248",
+ "#f2d643",
+ "#ebdba4"
+ ],
+ "label": {
+ "color": "#ffffff"
+ }
+ },
+ "map": {
+ "itemStyle": {
+ "areaColor": "#f3f3f3",
+ "borderColor": "#999999",
+ "borderWidth": 0.5
+ },
+ "label": {
+ "color": "#893448"
+ },
+ "emphasis": {
+ "itemStyle": {
+ "areaColor": "#ffb248",
+ "borderColor": "#eb8146",
+ "borderWidth": 1
+ },
+ "label": {
+ "color": "#893448"
+ }
+ }
+ },
+ "geo": {
+ "itemStyle": {
+ "areaColor": "#f3f3f3",
+ "borderColor": "#999999",
+ "borderWidth": 0.5
+ },
+ "label": {
+ "color": "#893448"
+ },
+ "emphasis": {
+ "itemStyle": {
+ "areaColor": "#ffb248",
+ "borderColor": "#eb8146",
+ "borderWidth": 1
+ },
+ "label": {
+ "color": "#893448"
+ }
+ }
+ },
+ "categoryAxis": {
+ "axisLine": {
+ "show": true,
+ "lineStyle": {
+ "color": "#aaaaaa"
+ }
+ },
+ "axisTick": {
+ "show": false,
+ "lineStyle": {
+ "color": "#333"
+ }
+ },
+ "axisLabel": {
+ "show": true,
+ "color": "#999999"
+ },
+ "splitLine": {
+ "show": true,
+ "lineStyle": {
+ "color": [
+ "#e6e6e6"
+ ]
+ }
+ },
+ "splitArea": {
+ "show": false,
+ "areaStyle": {
+ "color": [
+ "rgba(250,250,250,0.05)",
+ "rgba(200,200,200,0.02)"
+ ]
+ }
+ }
+ },
+ "valueAxis": {
+ "axisLine": {
+ "show": true,
+ "lineStyle": {
+ "color": "#aaaaaa"
+ }
+ },
+ "axisTick": {
+ "show": false,
+ "lineStyle": {
+ "color": "#333"
+ }
+ },
+ "axisLabel": {
+ "show": true,
+ "color": "#999999"
+ },
+ "splitLine": {
+ "show": true,
+ "lineStyle": {
+ "color": [
+ "#e6e6e6"
+ ]
+ }
+ },
+ "splitArea": {
+ "show": false,
+ "areaStyle": {
+ "color": [
+ "rgba(250,250,250,0.05)",
+ "rgba(200,200,200,0.02)"
+ ]
+ }
+ }
+ },
+ "logAxis": {
+ "axisLine": {
+ "show": true,
+ "lineStyle": {
+ "color": "#aaaaaa"
+ }
+ },
+ "axisTick": {
+ "show": false,
+ "lineStyle": {
+ "color": "#333"
+ }
+ },
+ "axisLabel": {
+ "show": true,
+ "color": "#999999"
+ },
+ "splitLine": {
+ "show": true,
+ "lineStyle": {
+ "color": [
+ "#e6e6e6"
+ ]
+ }
+ },
+ "splitArea": {
+ "show": false,
+ "areaStyle": {
+ "color": [
+ "rgba(250,250,250,0.05)",
+ "rgba(200,200,200,0.02)"
+ ]
+ }
+ }
+ },
+ "timeAxis": {
+ "axisLine": {
+ "show": true,
+ "lineStyle": {
+ "color": "#aaaaaa"
+ }
+ },
+ "axisTick": {
+ "show": false,
+ "lineStyle": {
+ "color": "#333"
+ }
+ },
+ "axisLabel": {
+ "show": true,
+ "color": "#999999"
+ },
+ "splitLine": {
+ "show": true,
+ "lineStyle": {
+ "color": [
+ "#e6e6e6"
+ ]
+ }
+ },
+ "splitArea": {
+ "show": false,
+ "areaStyle": {
+ "color": [
+ "rgba(250,250,250,0.05)",
+ "rgba(200,200,200,0.02)"
+ ]
+ }
+ }
+ },
+ "toolbox": {
+ "iconStyle": {
+ "borderColor": "#999999"
+ },
+ "emphasis": {
+ "iconStyle": {
+ "borderColor": "#666666"
+ }
+ }
+ },
+ "legend": {
+ "textStyle": {
+ "color": "#999999"
+ }
+ },
+ "tooltip": {
+ "axisPointer": {
+ "lineStyle": {
+ "color": "#cccccc",
+ "width": 1
+ },
+ "crossStyle": {
+ "color": "#cccccc",
+ "width": 1
+ }
+ }
+ },
+ "timeline": {
+ "lineStyle": {
+ "color": "#893448",
+ "width": 1
+ },
+ "itemStyle": {
+ "color": "#893448",
+ "borderWidth": 1
+ },
+ "controlStyle": {
+ "color": "#893448",
+ "borderColor": "#893448",
+ "borderWidth": 0.5
+ },
+ "checkpointStyle": {
+ "color": "#eb8146",
+ "borderColor": "#ffb248"
+ },
+ "label": {
+ "color": "#893448"
+ },
+ "emphasis": {
+ "itemStyle": {
+ "color": "#ffb248"
+ },
+ "controlStyle": {
+ "color": "#893448",
+ "borderColor": "#893448",
+ "borderWidth": 0.5
+ },
+ "label": {
+ "color": "#893448"
+ }
+ }
+ },
+ "visualMap": {
+ "color": [
+ "#893448",
+ "#d95850",
+ "#eb8146",
+ "#ffb248",
+ "#f2d643",
+ "rgb(247,238,173)"
+ ]
+ },
+ "dataZoom": {
+ "backgroundColor": "rgba(255,255,255,0)",
+ "dataBackgroundColor": "rgba(255,178,72,0.5)",
+ "fillerColor": "rgba(255,178,72,0.15)",
+ "handleColor": "#ffb248",
+ "handleSize": "100%",
+ "textStyle": {
+ "color": "#333"
+ }
+ },
+ "markPoint": {
+ "label": {
+ "color": "#ffffff"
+ },
+ "emphasis": {
+ "label": {
+ "color": "#ffffff"
+ }
+ }
+ }
+ }
+
+
+export const walden =
+ {
+ "color": [
+ "#3fb1e3",
+ "#6be6c1",
+ "#626c91",
+ "#a0a7e6",
+ "#c4ebad",
+ "#96dee8"
+ ],
+ "backgroundColor": "rgba(252,252,252,0)",
+ "textStyle": {},
+ "title": {
+ "textStyle": {
+ "color": "#666666"
+ },
+ "subtextStyle": {
+ "color": "#999999"
+ }
+ },
+ "line": {
+ "itemStyle": {
+ "borderWidth": "2"
+ },
+ "lineStyle": {
+ "width": "3"
+ },
+ "symbolSize": "8",
+ "symbol": "emptyCircle",
+ "smooth": false
+ },
+ "radar": {
+ "itemStyle": {
+ "borderWidth": "2"
+ },
+ "lineStyle": {
+ "width": "3"
+ },
+ "symbolSize": "8",
+ "symbol": "emptyCircle",
+ "smooth": false
+ },
+ "bar": {
+ "itemStyle": {
+ "barBorderWidth": 0,
+ "barBorderColor": "#ccc"
+ }
+ },
+ "pie": {
+ "itemStyle": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ }
+ },
+ "scatter": {
+ "itemStyle": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ }
+ },
+ "boxplot": {
+ "itemStyle": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ }
+ },
+ "parallel": {
+ "itemStyle": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ }
+ },
+ "sankey": {
+ "itemStyle": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ }
+ },
+ "funnel": {
+ "itemStyle": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ }
+ },
+ "gauge": {
+ "itemStyle": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ }
+ },
+ "candlestick": {
+ "itemStyle": {
+ "color": "#e6a0d2",
+ "color0": "transparent",
+ "borderColor": "#e6a0d2",
+ "borderColor0": "#3fb1e3",
+ "borderWidth": "2"
+ }
+ },
+ "graph": {
+ "itemStyle": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ },
+ "lineStyle": {
+ "width": "1",
+ "color": "#cccccc"
+ },
+ "symbolSize": "8",
+ "symbol": "emptyCircle",
+ "smooth": false,
+ "color": [
+ "#3fb1e3",
+ "#6be6c1",
+ "#626c91",
+ "#a0a7e6",
+ "#c4ebad",
+ "#96dee8"
+ ],
+ "label": {
+ "color": "#ffffff"
+ }
+ },
+ "map": {
+ "itemStyle": {
+ "areaColor": "#eeeeee",
+ "borderColor": "#aaaaaa",
+ "borderWidth": 0.5
+ },
+ "label": {
+ "color": "#ffffff"
+ },
+ "emphasis": {
+ "itemStyle": {
+ "areaColor": "rgba(63,177,227,0.25)",
+ "borderColor": "#3fb1e3",
+ "borderWidth": 1
+ },
+ "label": {
+ "color": "#3fb1e3"
+ }
+ }
+ },
+ "geo": {
+ "itemStyle": {
+ "areaColor": "#eeeeee",
+ "borderColor": "#aaaaaa",
+ "borderWidth": 0.5
+ },
+ "label": {
+ "color": "#ffffff"
+ },
+ "emphasis": {
+ "itemStyle": {
+ "areaColor": "rgba(63,177,227,0.25)",
+ "borderColor": "#3fb1e3",
+ "borderWidth": 1
+ },
+ "label": {
+ "color": "#3fb1e3"
+ }
+ }
+ },
+ "categoryAxis": {
+ "axisLine": {
+ "show": true,
+ "lineStyle": {
+ "color": "#cccccc"
+ }
+ },
+ "axisTick": {
+ "show": false,
+ "lineStyle": {
+ "color": "#333"
+ }
+ },
+ "axisLabel": {
+ "show": true,
+ "color": "#999999"
+ },
+ "splitLine": {
+ "show": true,
+ "lineStyle": {
+ "color": [
+ "#eeeeee"
+ ]
+ }
+ },
+ "splitArea": {
+ "show": false,
+ "areaStyle": {
+ "color": [
+ "rgba(250,250,250,0.05)",
+ "rgba(200,200,200,0.02)"
+ ]
+ }
+ }
+ },
+ "valueAxis": {
+ "axisLine": {
+ "show": true,
+ "lineStyle": {
+ "color": "#cccccc"
+ }
+ },
+ "axisTick": {
+ "show": false,
+ "lineStyle": {
+ "color": "#333"
+ }
+ },
+ "axisLabel": {
+ "show": true,
+ "color": "#999999"
+ },
+ "splitLine": {
+ "show": true,
+ "lineStyle": {
+ "color": [
+ "#eeeeee"
+ ]
+ }
+ },
+ "splitArea": {
+ "show": false,
+ "areaStyle": {
+ "color": [
+ "rgba(250,250,250,0.05)",
+ "rgba(200,200,200,0.02)"
+ ]
+ }
+ }
+ },
+ "logAxis": {
+ "axisLine": {
+ "show": true,
+ "lineStyle": {
+ "color": "#cccccc"
+ }
+ },
+ "axisTick": {
+ "show": false,
+ "lineStyle": {
+ "color": "#333"
+ }
+ },
+ "axisLabel": {
+ "show": true,
+ "color": "#999999"
+ },
+ "splitLine": {
+ "show": true,
+ "lineStyle": {
+ "color": [
+ "#eeeeee"
+ ]
+ }
+ },
+ "splitArea": {
+ "show": false,
+ "areaStyle": {
+ "color": [
+ "rgba(250,250,250,0.05)",
+ "rgba(200,200,200,0.02)"
+ ]
+ }
+ }
+ },
+ "timeAxis": {
+ "axisLine": {
+ "show": true,
+ "lineStyle": {
+ "color": "#cccccc"
+ }
+ },
+ "axisTick": {
+ "show": false,
+ "lineStyle": {
+ "color": "#333"
+ }
+ },
+ "axisLabel": {
+ "show": true,
+ "color": "#999999"
+ },
+ "splitLine": {
+ "show": true,
+ "lineStyle": {
+ "color": [
+ "#eeeeee"
+ ]
+ }
+ },
+ "splitArea": {
+ "show": false,
+ "areaStyle": {
+ "color": [
+ "rgba(250,250,250,0.05)",
+ "rgba(200,200,200,0.02)"
+ ]
+ }
+ }
+ },
+ "toolbox": {
+ "iconStyle": {
+ "borderColor": "#999999"
+ },
+ "emphasis": {
+ "iconStyle": {
+ "borderColor": "#666666"
+ }
+ }
+ },
+ "legend": {
+ "textStyle": {
+ "color": "#999999"
+ }
+ },
+ "tooltip": {
+ "axisPointer": {
+ "lineStyle": {
+ "color": "#cccccc",
+ "width": 1
+ },
+ "crossStyle": {
+ "color": "#cccccc",
+ "width": 1
+ }
+ }
+ },
+ "timeline": {
+ "lineStyle": {
+ "color": "#626c91",
+ "width": 1
+ },
+ "itemStyle": {
+ "color": "#626c91",
+ "borderWidth": 1
+ },
+ "controlStyle": {
+ "color": "#626c91",
+ "borderColor": "#626c91",
+ "borderWidth": 0.5
+ },
+ "checkpointStyle": {
+ "color": "#3fb1e3",
+ "borderColor": "#3fb1e3"
+ },
+ "label": {
+ "color": "#626c91"
+ },
+ "emphasis": {
+ "itemStyle": {
+ "color": "#626c91"
+ },
+ "controlStyle": {
+ "color": "#626c91",
+ "borderColor": "#626c91",
+ "borderWidth": 0.5
+ },
+ "label": {
+ "color": "#626c91"
+ }
+ }
+ },
+ "visualMap": {
+ "color": [
+ "#2a99c9",
+ "#afe8ff"
+ ]
+ },
+ "dataZoom": {
+ "backgroundColor": "rgba(255,255,255,0)",
+ "dataBackgroundColor": "rgba(222,222,222,1)",
+ "fillerColor": "rgba(114,230,212,0.25)",
+ "handleColor": "#cccccc",
+ "handleSize": "100%",
+ "textStyle": {
+ "color": "#999999"
+ }
+ },
+ "markPoint": {
+ "label": {
+ "color": "#ffffff"
+ },
+ "emphasis": {
+ "label": {
+ "color": "#ffffff"
+ }
+ }
+ }
+ }
diff --git a/prisma/schema.prisma b/prisma/schema.prisma
index 78b2fae42..32a0eda2c 100644
--- a/prisma/schema.prisma
+++ b/prisma/schema.prisma
@@ -70,7 +70,7 @@ model LogEntry {
model String? @db.VarChar(25)
userName String? @db.VarChar(50)
createdAt DateTime @default(now())
- logEntry String? @db.Text
+ // logEntry String? @db.Text
logToken Int? @default(0)
user User? @relation(fields: [userName], references: [name], onDelete: NoAction)
}
diff --git a/public/android-chrome-192x192.png b/public/android-chrome-192x192.png
index b191a58ac..797a7d86a 100644
Binary files a/public/android-chrome-192x192.png and b/public/android-chrome-192x192.png differ
diff --git a/public/android-chrome-512x512.png b/public/android-chrome-512x512.png
index c7e52c394..c0265ef4f 100644
Binary files a/public/android-chrome-512x512.png and b/public/android-chrome-512x512.png differ
diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png
index b0da95315..a76212ae0 100644
Binary files a/public/apple-touch-icon.png and b/public/apple-touch-icon.png differ
diff --git a/public/favicon-32x32.png b/public/favicon-32x32.png
index 2fee10dfb..c464762ea 100644
Binary files a/public/favicon-32x32.png and b/public/favicon-32x32.png differ
diff --git a/public/macos.png b/public/macos.png
index 2eb110707..4ca110e37 100644
Binary files a/public/macos.png and b/public/macos.png differ
diff --git a/src-tauri/icons/128x128.png b/src-tauri/icons/128x128.png
index 148479fca..445c65313 100644
Binary files a/src-tauri/icons/128x128.png and b/src-tauri/icons/128x128.png differ
diff --git a/src-tauri/icons/Square107x107Logo.png b/src-tauri/icons/Square107x107Logo.png
index 6b6f4a2fd..103276290 100644
Binary files a/src-tauri/icons/Square107x107Logo.png and b/src-tauri/icons/Square107x107Logo.png differ
diff --git a/src-tauri/icons/Square142x142Logo.png b/src-tauri/icons/Square142x142Logo.png
index 7c11ec3eb..fe38d9925 100644
Binary files a/src-tauri/icons/Square142x142Logo.png and b/src-tauri/icons/Square142x142Logo.png differ
diff --git a/src-tauri/icons/Square150x150Logo.png b/src-tauri/icons/Square150x150Logo.png
index 2da5070a4..78c1e0722 100644
Binary files a/src-tauri/icons/Square150x150Logo.png and b/src-tauri/icons/Square150x150Logo.png differ
diff --git a/src-tauri/icons/Square44x44Logo.png b/src-tauri/icons/Square44x44Logo.png
index 16e472163..8e3b27816 100644
Binary files a/src-tauri/icons/Square44x44Logo.png and b/src-tauri/icons/Square44x44Logo.png differ
diff --git a/src-tauri/icons/Square71x71Logo.png b/src-tauri/icons/Square71x71Logo.png
index 534d53547..e8a2d095d 100644
Binary files a/src-tauri/icons/Square71x71Logo.png and b/src-tauri/icons/Square71x71Logo.png differ
diff --git a/src-tauri/icons/Square89x89Logo.png b/src-tauri/icons/Square89x89Logo.png
index a817c9b63..77e9a8972 100644
Binary files a/src-tauri/icons/Square89x89Logo.png and b/src-tauri/icons/Square89x89Logo.png differ
diff --git a/src-tauri/icons/StoreLogo.png b/src-tauri/icons/StoreLogo.png
index 01b40ebfc..0b98f3c57 100644
Binary files a/src-tauri/icons/StoreLogo.png and b/src-tauri/icons/StoreLogo.png differ
diff --git a/src-tauri/icons/icon.png b/src-tauri/icons/icon.png
index 84971ce12..c0265ef4f 100644
Binary files a/src-tauri/icons/icon.png and b/src-tauri/icons/icon.png differ