@bull-board/ui 8.1.0 → 8.1.2

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.
Files changed (60) hide show
  1. package/dist/index.ejs +1 -1
  2. package/dist/static/js/590.dc2868965d.js +808 -0
  3. package/dist/static/js/async/{384.8909864bc5.js → 121.bc4b11294f.js} +1 -1
  4. package/dist/static/js/async/172.5610b6d5ce.js +2 -0
  5. package/dist/static/js/async/177.a011a3dfb7.js +1 -0
  6. package/dist/static/js/async/365.e60c5bb82b.js +1 -0
  7. package/dist/static/js/async/450.6bf3182330.js +1 -0
  8. package/dist/static/js/async/{415.bd31b53981.js → 524.adf11d9fc8.js} +1 -1
  9. package/dist/static/js/async/609.88388ef9ae.js +1 -0
  10. package/dist/static/js/async/{661.2520a6fcce.js → 661.8523cd41a7.js} +2 -2
  11. package/dist/static/js/async/718.2f4df2042e.js +1 -0
  12. package/dist/static/js/async/725.1e2a996dab.js +1 -0
  13. package/dist/static/js/async/{343.803ace31e2.js → 737.4a37018d49.js} +1 -1
  14. package/dist/static/js/async/814.bff57943ab.js +1 -0
  15. package/dist/static/js/async/847.8340f53d0d.js +1 -0
  16. package/dist/static/js/async/940.cb7a9bdcfd.js +1 -0
  17. package/dist/static/js/async/{highlight-worker.e55f556eca.js → highlight-worker.de1e31a2dc.js} +1 -1
  18. package/dist/static/js/async/highlight.c4898cd8ee.js +1 -0
  19. package/dist/static/js/main.f55b94a6cc.js +9 -0
  20. package/dist/static/locales/da-DK/messages.json +23 -1
  21. package/dist/static/locales/de-DE/messages.json +23 -1
  22. package/dist/static/locales/en-GB/messages.json +23 -1
  23. package/dist/static/locales/en-US/messages.json +23 -1
  24. package/dist/static/locales/es-ES/messages.json +23 -1
  25. package/dist/static/locales/fr-FR/messages.json +23 -1
  26. package/dist/static/locales/ja-JP/messages.json +23 -1
  27. package/dist/static/locales/ko-KR/messages.json +23 -1
  28. package/dist/static/locales/pt-BR/messages.json +23 -1
  29. package/dist/static/locales/tr-TR/messages.json +23 -1
  30. package/dist/static/locales/zh-CN/messages.json +23 -1
  31. package/package.json +17 -7
  32. package/typings/app.d.ts +0 -2
  33. package/typings/i18next.d.ts +14 -0
  34. package/dist/static/js/906.01e54249a2.js +0 -808
  35. package/dist/static/js/async/172.39f5f97cdc.js +0 -2
  36. package/dist/static/js/async/409.42d2e90f3f.js +0 -1
  37. package/dist/static/js/async/581.51493329d5.js +0 -1
  38. package/dist/static/js/async/632.5719f30177.js +0 -1
  39. package/dist/static/js/async/648.00dbf6f52f.js +0 -1
  40. package/dist/static/js/async/718.9170e50e3c.js +0 -1
  41. package/dist/static/js/async/832.ea66eb970f.js +0 -1
  42. package/dist/static/js/async/837.f5f4cf1102.js +0 -1
  43. package/dist/static/js/async/857.99229283ec.js +0 -1
  44. package/dist/static/js/async/926.0fbac7e274.js +0 -1
  45. package/dist/static/js/async/977.bd45fb235d.js +0 -1
  46. package/dist/static/js/async/highlight.c2a0349882.js +0 -1
  47. package/dist/static/js/main.ef251c97cd.js +0 -9
  48. /package/dist/static/css/async/{384.00a0466c73.css → 121.00a0466c73.css} +0 -0
  49. /package/dist/static/css/async/{415.9647eb502f.css → 177.9647eb502f.css} +0 -0
  50. /package/dist/static/css/async/{581.eb4f1f3bab.css → 450.eb4f1f3bab.css} +0 -0
  51. /package/dist/static/css/async/{648.9647eb502f.css → 524.9647eb502f.css} +0 -0
  52. /package/dist/static/css/async/{632.c19d052062.css → 609.c19d052062.css} +0 -0
  53. /package/dist/static/css/async/{977.32499dd5cd.css → 718.32499dd5cd.css} +0 -0
  54. /package/dist/static/css/async/{926.706c206163.css → 725.706c206163.css} +0 -0
  55. /package/dist/static/css/async/{837.5880506aef.css → 814.5880506aef.css} +0 -0
  56. /package/dist/static/css/async/{718.9647eb502f.css → 847.9647eb502f.css} +0 -0
  57. /package/dist/static/css/async/{857.c9300469a8.css → 940.c9300469a8.css} +0 -0
  58. /package/dist/static/js/{906.01e54249a2.js.LICENSE.txt → 590.dc2868965d.js.LICENSE.txt} +0 -0
  59. /package/dist/static/js/async/{172.39f5f97cdc.js.LICENSE.txt → 172.5610b6d5ce.js.LICENSE.txt} +0 -0
  60. /package/dist/static/js/async/{661.2520a6fcce.js.LICENSE.txt → 661.8523cd41a7.js.LICENSE.txt} +0 -0
@@ -6,7 +6,9 @@
6
6
  "SEARCH_INPUT_PLACEHOLDER": "Filtrar filas",
7
7
  "PAUSED": "Em Pausa",
8
8
  "EXPAND_ALL": "Expand all groups",
9
- "COLLAPSE_ALL": "Collapse all groups"
9
+ "COLLAPSE_ALL": "Collapse all groups",
10
+ "EXPAND_SIDEBAR": "Expand sidebar",
11
+ "COLLAPSE_SIDEBAR": "Collapse sidebar"
10
12
  },
11
13
  "DASHBOARD": {
12
14
  "JOBS_COUNT_one": "{{count}} Tarefa",
@@ -124,6 +126,26 @@
124
126
  "FAILED": "Erro",
125
127
  "DELAYED": "Atrasado",
126
128
  "PAUSED": "Pausado"
129
+ },
130
+ "INFO": {
131
+ "TITLE": "Informações da fila",
132
+ "OVERVIEW": "Visão geral",
133
+ "NAME": "Nome",
134
+ "DISPLAY_NAME": "Nome de exibição",
135
+ "TYPE": "Tipo",
136
+ "STATE": "Estado",
137
+ "RUNNING": "Em execução",
138
+ "PAUSED": "Em pausa",
139
+ "READ_ONLY": "Somente leitura",
140
+ "RETRIES": "Tentativas permitidas",
141
+ "GLOBAL_CONCURRENCY": "Concorrência global",
142
+ "DELIMITER": "Delimitador de grupo",
143
+ "TOTAL_JOBS": "Total de trabalhos",
144
+ "DEFAULTS": "Opções padrão de trabalho",
145
+ "DESCRIPTION": "Descrição",
146
+ "NOT_SET": "Não definido",
147
+ "YES": "Sim",
148
+ "NO": "Não"
127
149
  }
128
150
  },
129
151
  "METRICS": {
@@ -6,7 +6,9 @@
6
6
  "SEARCH_INPUT_PLACEHOLDER": "Kuyrukları filtrele",
7
7
  "PAUSED": "Durduruldu",
8
8
  "EXPAND_ALL": "Expand all groups",
9
- "COLLAPSE_ALL": "Collapse all groups"
9
+ "COLLAPSE_ALL": "Collapse all groups",
10
+ "EXPAND_SIDEBAR": "Expand sidebar",
11
+ "COLLAPSE_SIDEBAR": "Collapse sidebar"
10
12
  },
11
13
  "DASHBOARD": {
12
14
  "JOBS_COUNT_one": "{{count}} İş",
@@ -123,6 +125,26 @@
123
125
  "FAILED": "Başarısız",
124
126
  "DELAYED": "Gecikmiş",
125
127
  "PAUSED": "Durduruldu"
128
+ },
129
+ "INFO": {
130
+ "TITLE": "Kuyruk bilgisi",
131
+ "OVERVIEW": "Genel bakış",
132
+ "NAME": "Ad",
133
+ "DISPLAY_NAME": "Görünen ad",
134
+ "TYPE": "Tür",
135
+ "STATE": "Durum",
136
+ "RUNNING": "Çalışıyor",
137
+ "PAUSED": "Durduruldu",
138
+ "READ_ONLY": "Salt okunur",
139
+ "RETRIES": "Yeniden denemelere izin verilir",
140
+ "GLOBAL_CONCURRENCY": "Genel eşzamanlılık",
141
+ "DELIMITER": "Grup ayırıcı",
142
+ "TOTAL_JOBS": "Toplam iş sayısı",
143
+ "DEFAULTS": "Varsayılan iş seçenekleri",
144
+ "DESCRIPTION": "Açıklama",
145
+ "NOT_SET": "Ayarlanmamış",
146
+ "YES": "Evet",
147
+ "NO": "Hayır"
126
148
  }
127
149
  },
128
150
  "METRICS": {
@@ -6,7 +6,9 @@
6
6
  "SEARCH_INPUT_PLACEHOLDER": "筛选队列",
7
7
  "PAUSED": "已暂停",
8
8
  "EXPAND_ALL": "Expand all groups",
9
- "COLLAPSE_ALL": "Collapse all groups"
9
+ "COLLAPSE_ALL": "Collapse all groups",
10
+ "EXPAND_SIDEBAR": "Expand sidebar",
11
+ "COLLAPSE_SIDEBAR": "Collapse sidebar"
10
12
  },
11
13
  "DASHBOARD": {
12
14
  "JOBS_COUNT": "{{count}} 个作业",
@@ -121,6 +123,26 @@
121
123
  "FAILED": "失败",
122
124
  "DELAYED": "延迟",
123
125
  "PAUSED": "已暂停"
126
+ },
127
+ "INFO": {
128
+ "TITLE": "队列信息",
129
+ "OVERVIEW": "概览",
130
+ "NAME": "名称",
131
+ "DISPLAY_NAME": "显示名称",
132
+ "TYPE": "类型",
133
+ "STATE": "状态",
134
+ "RUNNING": "运行中",
135
+ "PAUSED": "已暂停",
136
+ "READ_ONLY": "只读",
137
+ "RETRIES": "允许重试",
138
+ "GLOBAL_CONCURRENCY": "全局并发数",
139
+ "DELIMITER": "组分隔符",
140
+ "TOTAL_JOBS": "作业总数",
141
+ "DEFAULTS": "默认作业选项",
142
+ "DESCRIPTION": "描述",
143
+ "NOT_SET": "未设置",
144
+ "YES": "是",
145
+ "NO": "否"
124
146
  }
125
147
  },
126
148
  "METRICS": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bull-board/ui",
3
- "version": "8.1.0",
3
+ "version": "8.1.2",
4
4
  "description": "A Dashboard UI built on top of bull or bullmq.",
5
5
  "keywords": [
6
6
  "bull",
@@ -29,13 +29,14 @@
29
29
  "build": "rsbuild build",
30
30
  "build:analyze": "RSDOCTOR=true rsbuild build",
31
31
  "clean": "rm -rf dist",
32
+ "test": "jest",
32
33
  "sync:locales": "i18next-locales-sync -c ./localesSync.config.js",
33
34
  "gen:jsonSchema": "npm run gen:jsonSchema:bullmq && npm run gen:jsonSchema:bull",
34
35
  "gen:jsonSchema:bullmq": "npx ts-json-schema-generator --path '../../node_modules/bullmq/dist/esm/interfaces/**/*.ts' --type 'JobsOptions' --out './src/schemas/bullmq/jobOptions.json'",
35
36
  "gen:jsonSchema:bull": "npx ts-json-schema-generator --path '../../node_modules/bull/*.ts' --type 'Bull.JobOptions' --out './src/schemas/bull/jobOptions.json'"
36
37
  },
37
38
  "dependencies": {
38
- "@bull-board/api": "8.1.0"
39
+ "@bull-board/api": "8.1.2"
39
40
  },
40
41
  "devDependencies": {
41
42
  "@base-ui/react": "^1.6.0",
@@ -47,10 +48,15 @@
47
48
  "@codemirror/state": "^6.7.0",
48
49
  "@codemirror/view": "^6.43.4",
49
50
  "@lezer/common": "^1.5.2",
50
- "@rsbuild/core": "^2.1.2",
51
+ "@rsbuild/core": "^2.1.4",
51
52
  "@rsbuild/plugin-react": "^2.1.0",
52
53
  "@rsbuild/plugin-type-check": "^1.5.0",
53
54
  "@rsdoctor/rspack-plugin": "^1.5.17",
55
+ "@tanstack/react-query": "^5.101.2",
56
+ "@testing-library/dom": "^10.4.1",
57
+ "@testing-library/react": "^16.3.2",
58
+ "@types/identity-obj-proxy": "^3.0.2",
59
+ "@types/jest": "^30.0.0",
54
60
  "@types/react": "^19.2.17",
55
61
  "@types/react-dom": "^19.2.3",
56
62
  "@types/react-paginate": "^7.1.4",
@@ -61,20 +67,24 @@
61
67
  "codemirror-json-schema": "^0.8.1",
62
68
  "date-fns": "4.4.0",
63
69
  "highlight.js": "^11.11.1",
64
- "i18next": "^25.10.10",
70
+ "i18next": "^26.3.4",
65
71
  "i18next-hmr": "^3.2.0",
66
- "i18next-http-backend": "^3.0.6",
72
+ "i18next-http-backend": "^4.0.0",
67
73
  "i18next-locales-sync": "^2.1.1",
74
+ "identity-obj-proxy": "^3.0.0",
75
+ "jest": "^30.4.2",
76
+ "jest-environment-jsdom": "^30.4.1",
68
77
  "nanoid": "^5.1.16",
69
78
  "pretty-bytes": "^7.1.0",
70
79
  "react": "^19.2.7",
71
80
  "react-dom": "^19.2.7",
72
- "react-i18next": "^15.7.4",
81
+ "react-i18next": "^17.0.8",
73
82
  "react-json-view-lite": "^2.5.0",
74
83
  "react-paginate": "^8.3.0",
75
84
  "react-router-dom": "^5.3.4",
76
85
  "react-toastify": "^11.1.0",
77
- "recharts": "^3.9.1",
86
+ "recharts": "^3.9.2",
87
+ "ts-jest": "^29.4.11",
78
88
  "zustand": "4.5.7"
79
89
  }
80
90
  }
package/typings/app.d.ts CHANGED
@@ -23,7 +23,6 @@ export interface QueueActions {
23
23
  emptyQueue: (queueName: string) => () => Promise<void>;
24
24
  obliterateQueue: (queueName: string) => () => Promise<void>;
25
25
  updateQueues: () => Promise<void>;
26
- pollQueues: () => void;
27
26
  addJob: (
28
27
  queueName: string,
29
28
  jobName: string,
@@ -44,5 +43,4 @@ export interface JobActions {
44
43
  ) => () => Promise<void>;
45
44
  getJobLogs: (queueName: string) => (job: AppJob) => () => Promise<string[]>;
46
45
  getJob: () => Promise<any>;
47
- pollJob: () => void;
48
46
  }
@@ -0,0 +1,14 @@
1
+ import 'i18next';
2
+ import type messages from '../src/static/locales/en-US/messages.json';
3
+
4
+ // Makes `t()` type-checked against the primary locale (en-US). Unknown or
5
+ // misspelled keys become compile errors, and keys autocomplete. Other locales
6
+ // are kept in parity with en-US by the i18n completeness test, not by types.
7
+ declare module 'i18next' {
8
+ interface CustomTypeOptions {
9
+ defaultNS: 'messages';
10
+ resources: {
11
+ messages: typeof messages;
12
+ };
13
+ }
14
+ }