queen-mq 0.2.0 → 0.2.22

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 (85) hide show
  1. package/README.md +186 -763
  2. package/{src → client-js}/benchmark/consumer.js +6 -4
  3. package/{src → client-js}/benchmark/producer.js +9 -4
  4. package/{src → client-js}/client/client.js +277 -7
  5. package/{src → client-js}/client/index.js +1 -4
  6. package/{src → client-js}/client/utils/http.js +3 -2
  7. package/{src → client-js}/client/utils/retry.js +7 -1
  8. package/{src → client-js}/test/README.md +30 -9
  9. package/{src → client-js}/test/core-tests.js +7 -2
  10. package/{src → client-js}/test/edge-case-tests.js +2 -1
  11. package/client-js/test/human.js +162 -0
  12. package/client-js/test/partition-transaction-tests.js +482 -0
  13. package/client-js/test/qos0-tests.js +334 -0
  14. package/{src → client-js}/test/test-new.js +55 -0
  15. package/package.json +8 -17
  16. package/init-db.js +0 -20
  17. package/src/cluster-server.js +0 -242
  18. package/src/config.js +0 -229
  19. package/src/database/connection.js +0 -129
  20. package/src/database/poolManager.js +0 -199
  21. package/src/database/schema-v2.sql +0 -278
  22. package/src/managers/eventManager.js +0 -59
  23. package/src/managers/queueManagerOptimized.js +0 -1634
  24. package/src/managers/resourceCache.js +0 -96
  25. package/src/managers/systemEventManager.js +0 -132
  26. package/src/routes/ack.js +0 -26
  27. package/src/routes/configure.js +0 -46
  28. package/src/routes/messages.js +0 -368
  29. package/src/routes/pop.js +0 -69
  30. package/src/routes/push.js +0 -28
  31. package/src/routes/resources.js +0 -330
  32. package/src/routes/status.js +0 -1037
  33. package/src/server.js +0 -1633
  34. package/src/test/MIGRATION_ISSUES.md +0 -174
  35. package/src/test/test.js +0 -4524
  36. package/src/utils/streaming.js +0 -231
  37. package/src/webapp-dist/assets/Analytics-DJrE4Rz2.css +0 -1
  38. package/src/webapp-dist/assets/Analytics-HEMXKmfJ.js +0 -1
  39. package/src/webapp-dist/assets/ConfirmDialog-YEoCdE7x.js +0 -1
  40. package/src/webapp-dist/assets/ConsumerGroups-CC5VJywp.css +0 -1
  41. package/src/webapp-dist/assets/ConsumerGroups-D8Z20HhZ.js +0 -1
  42. package/src/webapp-dist/assets/Dashboard-BRFOz6it.css +0 -1
  43. package/src/webapp-dist/assets/Dashboard-Bpx9I32h.js +0 -1
  44. package/src/webapp-dist/assets/LoadingSpinner-BPttXcbs.js +0 -1
  45. package/src/webapp-dist/assets/Messages-BOfVHKma.css +0 -1
  46. package/src/webapp-dist/assets/Messages-EKURCbLl.js +0 -1
  47. package/src/webapp-dist/assets/QueueDetail-BXXA7xoZ.css +0 -1
  48. package/src/webapp-dist/assets/QueueDetail-Bmxg0KiA.js +0 -1
  49. package/src/webapp-dist/assets/Queues-CvrJkrZT.css +0 -1
  50. package/src/webapp-dist/assets/Queues-yUx9_3-9.js +0 -1
  51. package/src/webapp-dist/assets/StatusBadge-C1bBtXHh.css +0 -1
  52. package/src/webapp-dist/assets/StatusBadge-C6N84XmO.js +0 -1
  53. package/src/webapp-dist/assets/analytics-BapTekLM.js +0 -1
  54. package/src/webapp-dist/assets/colors-5z6Q_kUr.js +0 -18
  55. package/src/webapp-dist/assets/index-B7w2bKT6.css +0 -1
  56. package/src/webapp-dist/assets/index-CUSnwYTH.js +0 -31
  57. package/src/webapp-dist/assets/messages-CRV6E-xU.js +0 -1
  58. package/src/webapp-dist/assets/queen-logo-blue.svg +0 -210
  59. package/src/webapp-dist/assets/queen-logo-cyan.svg +0 -210
  60. package/src/webapp-dist/assets/queen-logo-indigo.svg +0 -210
  61. package/src/webapp-dist/assets/queen-logo-orange.svg +0 -210
  62. package/src/webapp-dist/assets/queen-logo-pink.svg +0 -210
  63. package/src/webapp-dist/assets/queen-logo-purple.svg +0 -210
  64. package/src/webapp-dist/assets/queen-logo-rose.svg +0 -239
  65. package/src/webapp-dist/assets/queen-logo.svg +0 -263
  66. package/src/webapp-dist/assets/queues-BdUbxfBC.js +0 -1
  67. package/src/webapp-dist/assets/resources-Bs9U-ceF.js +0 -1
  68. package/src/webapp-dist/index.html +0 -15
  69. package/src/websocket/wsServer.js +0 -228
  70. /package/{src → client-js}/benchmark/consumer_multi.js +0 -0
  71. /package/{src → client-js}/benchmark/producer_multi.js +0 -0
  72. /package/{src → client-js}/client/utils/loadBalancer.js +0 -0
  73. /package/{src → client-js}/services/encryptionService.js +0 -0
  74. /package/{src → client-js}/services/evictionService.js +0 -0
  75. /package/{src → client-js}/services/retentionService.js +0 -0
  76. /package/{src → client-js}/services/startupSync.js +0 -0
  77. /package/{src → client-js}/test/advanced-client-tests.js +0 -0
  78. /package/{src → client-js}/test/advanced-pattern-tests.js +0 -0
  79. /package/{src → client-js}/test/bus-mode-tests.js +0 -0
  80. /package/{src → client-js}/test/enterprise-tests.js +0 -0
  81. /package/{src → client-js}/test/partition-locking-tests.js +0 -0
  82. /package/{src → client-js}/test/utils.js +0 -0
  83. /package/{src → client-js}/test/window-buffer-test.js +0 -0
  84. /package/{src → client-js}/utils/logger.js +0 -0
  85. /package/{src → client-js}/utils/uuid.js +0 -0
@@ -1,239 +0,0 @@
1
- <svg viewBox="0 0 120 120" fill="none" xmlns="http://www.w3.org/2000/svg">
2
-
3
- <!-- Decorative sparkles -->
4
- <g id="sparkles">
5
- <circle cx="25" cy="30" r="1" fill="url(#sparkleGradient)" opacity="0.8">
6
- <animate attributeName="opacity" values="0.8;0.3;0.8" dur="3s" repeatCount="indefinite"/>
7
- </circle>
8
- <circle cx="95" cy="35" r="1.5" fill="url(#sparkleGradient)" opacity="0.6">
9
- <animate attributeName="opacity" values="0.6;1;0.6" dur="2.5s" repeatCount="indefinite"/>
10
- </circle>
11
- <circle cx="90" cy="85" r="1" fill="url(#sparkleGradient)" opacity="0.7">
12
- <animate attributeName="opacity" values="0.7;0.4;0.7" dur="2s" repeatCount="indefinite"/>
13
- </circle>
14
- <circle cx="30" cy="90" r="1.2" fill="url(#sparkleGradient)" opacity="0.5">
15
- <animate attributeName="opacity" values="0.5;0.9;0.5" dur="2.8s" repeatCount="indefinite"/>
16
- </circle>
17
- </g>
18
-
19
- <!-- Queue lines flowing (messages being managed) -->
20
- <g id="queue-lines">
21
- <!-- Left side queues -->
22
- <g opacity="0.8">
23
- <rect x="15" y="65" width="20" height="3" rx="1.5" fill="url(#queueGradient1)">
24
- <animate attributeName="x" values="15;20;15" dur="4s" repeatCount="indefinite"/>
25
- </rect>
26
- <rect x="18" y="72" width="15" height="3" rx="1.5" fill="url(#queueGradient2)">
27
- <animate attributeName="x" values="18;23;18" dur="3.5s" repeatCount="indefinite"/>
28
- </rect>
29
- <rect x="12" y="79" width="25" height="3" rx="1.5" fill="url(#queueGradient3)">
30
- <animate attributeName="x" values="12;17;12" dur="4.5s" repeatCount="indefinite"/>
31
- </rect>
32
- </g>
33
-
34
- <!-- Right side queues -->
35
- <g opacity="0.8">
36
- <rect x="85" y="65" width="20" height="3" rx="1.5" fill="url(#queueGradient1)">
37
- <animate attributeName="x" values="85;80;85" dur="4s" repeatCount="indefinite"/>
38
- </rect>
39
- <rect x="87" y="72" width="15" height="3" rx="1.5" fill="url(#queueGradient2)">
40
- <animate attributeName="x" values="87;82;87" dur="3.5s" repeatCount="indefinite"/>
41
- </rect>
42
- <rect x="83" y="79" width="25" height="3" rx="1.5" fill="url(#queueGradient3)">
43
- <animate attributeName="x" values="83;78;83" dur="4.5s" repeatCount="indefinite"/>
44
- </rect>
45
- </g>
46
- </g>
47
-
48
- <!-- Main duck with crown -->
49
- <g id="queen-duck" transform="translate(60, 60)">
50
- <!-- Shadow -->
51
- <ellipse cx="0" cy="35" rx="25" ry="8" fill="#000000" opacity="0.15"/>
52
-
53
- <!-- Body with elegant curves -->
54
- <path d="M -20 5 Q -25 15 -22 28 Q -18 38 -5 40 L 5 40 Q 18 38 22 28 Q 25 15 20 5 Q 15 -2 8 -3 L -8 -3 Q -15 -2 -20 5 Z"
55
- fill="url(#bodyGradient)" stroke="url(#bodyStroke)" stroke-width="1.5"/>
56
-
57
- <!-- Chest highlight -->
58
- <ellipse cx="0" cy="15" rx="12" ry="15" fill="url(#chestHighlight)" opacity="0.6"/>
59
-
60
- <!-- Wing detail left -->
61
- <path d="M -18 8 Q -23 12 -22 20 Q -20 25 -15 22 Q -12 18 -13 12 Z"
62
- fill="url(#wingGradient)" stroke="url(#wingStroke)" stroke-width="0.8" opacity="0.9"/>
63
-
64
- <!-- Wing detail right -->
65
- <path d="M 18 8 Q 23 12 22 20 Q 20 25 15 22 Q 12 18 13 12 Z"
66
- fill="url(#wingGradient)" stroke="url(#wingStroke)" stroke-width="0.8" opacity="0.9"/>
67
-
68
- <!-- Neck -->
69
- <path d="M -5 -3 Q -6 -8 -5 -12 L 5 -12 Q 6 -8 5 -3"
70
- fill="url(#neckGradient)" stroke="none"/>
71
-
72
- <!-- Head with better proportions -->
73
- <ellipse cx="0" cy="-18" rx="12" ry="13" fill="url(#headGradient)" stroke="url(#headStroke)" stroke-width="1.2"/>
74
-
75
- <!-- Head highlight -->
76
- <ellipse cx="-2" cy="-20" rx="6" ry="7" fill="url(#headHighlight)" opacity="0.5"/>
77
-
78
- <!-- Beak with royal touch -->
79
- <path d="M 8 -18 Q 14 -18 15 -17 Q 15 -15 14 -14 Q 13 -13 8 -14 Z"
80
- fill="url(#beakGradient)" stroke="#FCD34D" stroke-width="0.8"/>
81
-
82
- <!-- Eye with elegant details -->
83
- <ellipse cx="4" cy="-19" rx="3" ry="3.5" fill="white"/>
84
- <ellipse cx="4.5" cy="-19" rx="2" ry="2.5" fill="url(#eyeGradient)"/>
85
- <circle cx="5" cy="-19.5" r="1" fill="#1F2937"/>
86
- <circle cx="5.5" cy="-20" r="0.4" fill="white"/>
87
-
88
- <!-- Eyelashes for feminine touch -->
89
- <path d="M 6 -22 L 7 -23.5 M 7 -21.5 L 8.5 -22.5 M 7.5 -21 L 9 -21.5"
90
- stroke="#1F2937" stroke-width="0.4" fill="none" stroke-linecap="round"/>
91
-
92
- <!-- Cheek blush -->
93
- <ellipse cx="1" cy="-15" rx="2.5" ry="1.5" fill="#FFB6C1" opacity="0.4"/>
94
-
95
- <!-- Crown -->
96
- <g id="crown" transform="translate(0, -32)">
97
- <ellipse cx="0" cy="2" rx="12" ry="3" fill="#000000" opacity="0.1"/>
98
- <path d="M -12 0 L -10 -8 L -6 -3 L -3 -10 L 0 -5 L 3 -10 L 6 -3 L 10 -8 L 12 0 Q 10 2 0 2 Q -10 2 -12 0 Z"
99
- fill="url(#crownGradient)" stroke="url(#crownStroke)" stroke-width="1.2" stroke-linejoin="round"/>
100
- <path d="M -10 0 L -8 -6 L -5 -2 L -2 -8 L 0 -4 L 2 -8 L 5 -2 L 8 -6 L 10 0"
101
- fill="none" stroke="#FEF3C7" stroke-width="0.5" opacity="0.6"/>
102
- <circle cx="0" cy="-2" r="2.5" fill="url(#centerJewelGradient)" stroke="#f43f5e" stroke-width="0.5"/>
103
- <circle cx="0" cy="-2" r="1.5" fill="url(#jewelSparkle)" opacity="0.8"/>
104
- <circle cx="-6" cy="-1" r="1.8" fill="url(#leftJewelGradient)" stroke="#fb7185" stroke-width="0.4"/>
105
- <circle cx="6" cy="-1" r="1.8" fill="url(#rightJewelGradient)" stroke="#e11d48" stroke-width="0.4"/>
106
- <circle cx="-3" cy="-4" r="1" fill="#fda4af" opacity="0.9"/>
107
- <circle cx="3" cy="-4" r="1" fill="#fda4af" opacity="0.9"/>
108
- <circle cx="0" cy="-10" r="1.2" fill="#FEF3C7"/>
109
- <circle cx="-6" cy="-8" r="1" fill="#FEF3C7"/>
110
- <circle cx="6" cy="-8" r="1" fill="#FEF3C7"/>
111
- </g>
112
-
113
- <!-- Tail feathers -->
114
- <g id="tail" transform="translate(-22, 25)">
115
- <path d="M 0 0 Q -3 3 -2 7 Q -1 9 1 8 Q 2 5 0 0" fill="url(#tailGradient)" opacity="0.8"/>
116
- <path d="M 2 -1 Q -1 2 0 6 Q 1 8 3 7 Q 4 4 2 -1" fill="url(#tailGradient)" opacity="0.7"/>
117
- <path d="M 4 -2 Q 1 1 2 5 Q 3 7 5 6 Q 6 3 4 -2" fill="url(#tailGradient)" opacity="0.6"/>
118
- </g>
119
- </g>
120
-
121
- <defs>
122
- <radialGradient id="sparkleGradient">
123
- <stop offset="0%" style="stop-color:#fb7185;stop-opacity:1" />
124
- <stop offset="100%" style="stop-color:#fda4af;stop-opacity:0" />
125
- </radialGradient>
126
-
127
- <linearGradient id="queueGradient1" x1="0%" y1="0%" x2="100%" y2="0%">
128
- <stop offset="0%" style="stop-color:#f43f5e;stop-opacity:0.3" />
129
- <stop offset="50%" style="stop-color:#f43f5e;stop-opacity:1" />
130
- <stop offset="100%" style="stop-color:#f43f5e;stop-opacity:0.3" />
131
- </linearGradient>
132
-
133
- <linearGradient id="queueGradient2" x1="0%" y1="0%" x2="100%" y2="0%">
134
- <stop offset="0%" style="stop-color:#3B82F6;stop-opacity:0.3" />
135
- <stop offset="50%" style="stop-color:#3B82F6;stop-opacity:1" />
136
- <stop offset="100%" style="stop-color:#3B82F6;stop-opacity:0.3" />
137
- </linearGradient>
138
-
139
- <linearGradient id="queueGradient3" x1="0%" y1="0%" x2="100%" y2="0%">
140
- <stop offset="0%" style="stop-color:#F59E0B;stop-opacity:0.3" />
141
- <stop offset="50%" style="stop-color:#F59E0B;stop-opacity:1" />
142
- <stop offset="100%" style="stop-color:#F59E0B;stop-opacity:0.3" />
143
- </linearGradient>
144
-
145
- <radialGradient id="bodyGradient" cx="50%" cy="30%">
146
- <stop offset="0%" style="stop-color:#fecdd3;stop-opacity:1" />
147
- <stop offset="70%" style="stop-color:#fda4af;stop-opacity:1" />
148
- <stop offset="100%" style="stop-color:#f43f5e;stop-opacity:1" />
149
- </radialGradient>
150
-
151
- <linearGradient id="bodyStroke" x1="0%" y1="0%" x2="0%" y2="100%">
152
- <stop offset="0%" style="stop-color:#fb7185;stop-opacity:1" />
153
- <stop offset="100%" style="stop-color:#e11d48;stop-opacity:1" />
154
- </linearGradient>
155
-
156
- <radialGradient id="chestHighlight">
157
- <stop offset="0%" style="stop-color:#FFFFFF;stop-opacity:0.8" />
158
- <stop offset="100%" style="stop-color:#fff1f2;stop-opacity:0.2" />
159
- </radialGradient>
160
-
161
- <linearGradient id="wingGradient" x1="0%" y1="0%" x2="100%" y2="100%">
162
- <stop offset="0%" style="stop-color:#fda4af;stop-opacity:1" />
163
- <stop offset="100%" style="stop-color:#e11d48;stop-opacity:1" />
164
- </linearGradient>
165
-
166
- <linearGradient id="wingStroke">
167
- <stop offset="0%" style="stop-color:#f43f5e;stop-opacity:1" />
168
- <stop offset="100%" style="stop-color:#be123c;stop-opacity:1" />
169
- </linearGradient>
170
-
171
- <linearGradient id="neckGradient" x1="0%" y1="100%" x2="0%" y2="0%">
172
- <stop offset="0%" style="stop-color:#fda4af;stop-opacity:1" />
173
- <stop offset="100%" style="stop-color:#fecdd3;stop-opacity:1" />
174
- </linearGradient>
175
-
176
- <radialGradient id="headGradient" cx="40%" cy="40%">
177
- <stop offset="0%" style="stop-color:#ffe4e6;stop-opacity:1" />
178
- <stop offset="60%" style="stop-color:#fecdd3;stop-opacity:1" />
179
- <stop offset="100%" style="stop-color:#fb7185;stop-opacity:1" />
180
- </radialGradient>
181
-
182
- <linearGradient id="headStroke">
183
- <stop offset="0%" style="stop-color:#fb7185;stop-opacity:1" />
184
- <stop offset="100%" style="stop-color:#f43f5e;stop-opacity:1" />
185
- </linearGradient>
186
-
187
- <radialGradient id="headHighlight">
188
- <stop offset="0%" style="stop-color:#FFFFFF;stop-opacity:1" />
189
- <stop offset="100%" style="stop-color:#fff1f2;stop-opacity:0" />
190
- </radialGradient>
191
-
192
- <linearGradient id="beakGradient" x1="0%" y1="0%" x2="100%" y2="0%">
193
- <stop offset="0%" style="stop-color:#FDE68A;stop-opacity:1" />
194
- <stop offset="100%" style="stop-color:#FCD34D;stop-opacity:1" />
195
- </linearGradient>
196
-
197
- <radialGradient id="eyeGradient">
198
- <stop offset="0%" style="stop-color:#92400E;stop-opacity:1" />
199
- <stop offset="100%" style="stop-color:#451A03;stop-opacity:1" />
200
- </radialGradient>
201
-
202
- <linearGradient id="crownGradient" x1="0%" y1="100%" x2="0%" y2="0%">
203
- <stop offset="0%" style="stop-color:#FDE68A;stop-opacity:1" />
204
- <stop offset="50%" style="stop-color:#FCD34D;stop-opacity:1" />
205
- <stop offset="100%" style="stop-color:#FEF3C7;stop-opacity:1" />
206
- </linearGradient>
207
-
208
- <linearGradient id="crownStroke">
209
- <stop offset="0%" style="stop-color:#FCD34D;stop-opacity:1" />
210
- <stop offset="100%" style="stop-color:#FBBF24;stop-opacity:1" />
211
- </linearGradient>
212
-
213
- <radialGradient id="centerJewelGradient">
214
- <stop offset="0%" style="stop-color:#ffe4e6;stop-opacity:1" />
215
- <stop offset="100%" style="stop-color:#f43f5e;stop-opacity:1" />
216
- </radialGradient>
217
-
218
- <radialGradient id="leftJewelGradient">
219
- <stop offset="0%" style="stop-color:#fecdd3;stop-opacity:1" />
220
- <stop offset="100%" style="stop-color:#e11d48;stop-opacity:1" />
221
- </radialGradient>
222
-
223
- <radialGradient id="rightJewelGradient">
224
- <stop offset="0%" style="stop-color:#ffe4e6;stop-opacity:1" />
225
- <stop offset="100%" style="stop-color:#be123c;stop-opacity:1" />
226
- </radialGradient>
227
-
228
- <radialGradient id="jewelSparkle">
229
- <stop offset="0%" style="stop-color:#FFFFFF;stop-opacity:1" />
230
- <stop offset="100%" style="stop-color:#FFFFFF;stop-opacity:0" />
231
- </radialGradient>
232
-
233
- <linearGradient id="tailGradient" x1="0%" y1="0%" x2="100%" y2="100%">
234
- <stop offset="0%" style="stop-color:#fb7185;stop-opacity:1" />
235
- <stop offset="100%" style="stop-color:#e11d48;stop-opacity:1" />
236
- </linearGradient>
237
- </defs>
238
- </svg>
239
-
@@ -1,263 +0,0 @@
1
- <svg viewBox="0 0 120 120" fill="none" xmlns="http://www.w3.org/2000/svg">
2
-
3
- <!-- Decorative sparkles -->
4
- <g id="sparkles">
5
- <circle cx="25" cy="30" r="1" fill="url(#sparkleGradient)" opacity="0.8">
6
- <animate attributeName="opacity" values="0.8;0.3;0.8" dur="3s" repeatCount="indefinite"/>
7
- </circle>
8
- <circle cx="95" cy="35" r="1.5" fill="url(#sparkleGradient)" opacity="0.6">
9
- <animate attributeName="opacity" values="0.6;1;0.6" dur="2.5s" repeatCount="indefinite"/>
10
- </circle>
11
- <circle cx="90" cy="85" r="1" fill="url(#sparkleGradient)" opacity="0.7">
12
- <animate attributeName="opacity" values="0.7;0.4;0.7" dur="2s" repeatCount="indefinite"/>
13
- </circle>
14
- <circle cx="30" cy="90" r="1.2" fill="url(#sparkleGradient)" opacity="0.5">
15
- <animate attributeName="opacity" values="0.5;0.9;0.5" dur="2.8s" repeatCount="indefinite"/>
16
- </circle>
17
- </g>
18
-
19
- <!-- Queue lines flowing (messages being managed) -->
20
- <g id="queue-lines">
21
- <!-- Left side queues -->
22
- <g opacity="0.8">
23
- <rect x="15" y="65" width="20" height="3" rx="1.5" fill="url(#queueGradient1)">
24
- <animate attributeName="x" values="15;20;15" dur="4s" repeatCount="indefinite"/>
25
- </rect>
26
- <rect x="18" y="72" width="15" height="3" rx="1.5" fill="url(#queueGradient2)">
27
- <animate attributeName="x" values="18;23;18" dur="3.5s" repeatCount="indefinite"/>
28
- </rect>
29
- <rect x="12" y="79" width="25" height="3" rx="1.5" fill="url(#queueGradient3)">
30
- <animate attributeName="x" values="12;17;12" dur="4.5s" repeatCount="indefinite"/>
31
- </rect>
32
- </g>
33
-
34
- <!-- Right side queues -->
35
- <g opacity="0.8">
36
- <rect x="85" y="65" width="20" height="3" rx="1.5" fill="url(#queueGradient1)">
37
- <animate attributeName="x" values="85;80;85" dur="4s" repeatCount="indefinite"/>
38
- </rect>
39
- <rect x="87" y="72" width="15" height="3" rx="1.5" fill="url(#queueGradient2)">
40
- <animate attributeName="x" values="87;82;87" dur="3.5s" repeatCount="indefinite"/>
41
- </rect>
42
- <rect x="83" y="79" width="25" height="3" rx="1.5" fill="url(#queueGradient3)">
43
- <animate attributeName="x" values="83;78;83" dur="4.5s" repeatCount="indefinite"/>
44
- </rect>
45
- </g>
46
- </g>
47
-
48
- <!-- Main duck with crown -->
49
- <g id="queen-duck" transform="translate(60, 60)">
50
- <!-- Shadow -->
51
- <ellipse cx="0" cy="35" rx="25" ry="8" fill="#000000" opacity="0.15"/>
52
-
53
- <!-- Body with elegant curves -->
54
- <path d="M -20 5 Q -25 15 -22 28 Q -18 38 -5 40 L 5 40 Q 18 38 22 28 Q 25 15 20 5 Q 15 -2 8 -3 L -8 -3 Q -15 -2 -20 5 Z"
55
- fill="url(#bodyGradient)" stroke="url(#bodyStroke)" stroke-width="1.5"/>
56
-
57
- <!-- Chest highlight -->
58
- <ellipse cx="0" cy="15" rx="12" ry="15" fill="url(#chestHighlight)" opacity="0.6"/>
59
-
60
- <!-- Wing detail left -->
61
- <path d="M -18 8 Q -23 12 -22 20 Q -20 25 -15 22 Q -12 18 -13 12 Z"
62
- fill="url(#wingGradient)" stroke="url(#wingStroke)" stroke-width="0.8" opacity="0.9"/>
63
-
64
- <!-- Wing detail right -->
65
- <path d="M 18 8 Q 23 12 22 20 Q 20 25 15 22 Q 12 18 13 12 Z"
66
- fill="url(#wingGradient)" stroke="url(#wingStroke)" stroke-width="0.8" opacity="0.9"/>
67
-
68
- <!-- Neck -->
69
- <path d="M -5 -3 Q -6 -8 -5 -12 L 5 -12 Q 6 -8 5 -3"
70
- fill="url(#neckGradient)" stroke="none"/>
71
-
72
- <!-- Head with better proportions -->
73
- <ellipse cx="0" cy="-18" rx="12" ry="13" fill="url(#headGradient)" stroke="url(#headStroke)" stroke-width="1.2"/>
74
-
75
- <!-- Head highlight -->
76
- <ellipse cx="-2" cy="-20" rx="6" ry="7" fill="url(#headHighlight)" opacity="0.5"/>
77
-
78
- <!-- Beak with royal touch -->
79
- <path d="M 8 -18 Q 14 -18 15 -17 Q 15 -15 14 -14 Q 13 -13 8 -14 Z"
80
- fill="url(#beakGradient)" stroke="#FCD34D" stroke-width="0.8"/>
81
-
82
- <!-- Eye with elegant details -->
83
- <ellipse cx="4" cy="-19" rx="3" ry="3.5" fill="white"/>
84
- <ellipse cx="4.5" cy="-19" rx="2" ry="2.5" fill="url(#eyeGradient)"/>
85
- <circle cx="5" cy="-19.5" r="1" fill="#1F2937"/>
86
- <circle cx="5.5" cy="-20" r="0.4" fill="white"/> <!-- Eye sparkle -->
87
-
88
- <!-- Eyelashes for feminine touch -->
89
- <path d="M 6 -22 L 7 -23.5 M 7 -21.5 L 8.5 -22.5 M 7.5 -21 L 9 -21.5"
90
- stroke="#1F2937" stroke-width="0.4" fill="none" stroke-linecap="round"/>
91
-
92
- <!-- Cheek blush -->
93
- <ellipse cx="1" cy="-15" rx="2.5" ry="1.5" fill="#FFB6C1" opacity="0.4"/>
94
-
95
- <!-- Crown - more elegant and detailed -->
96
- <g id="crown" transform="translate(0, -32)">
97
- <!-- Crown shadow -->
98
- <ellipse cx="0" cy="2" rx="12" ry="3" fill="#000000" opacity="0.1"/>
99
-
100
- <!-- Main crown shape with better design -->
101
- <path d="M -12 0 L -10 -8 L -6 -3 L -3 -10 L 0 -5 L 3 -10 L 6 -3 L 10 -8 L 12 0 Q 10 2 0 2 Q -10 2 -12 0 Z"
102
- fill="url(#crownGradient)" stroke="url(#crownStroke)" stroke-width="1.2" stroke-linejoin="round"/>
103
-
104
- <!-- Crown inner detail -->
105
- <path d="M -10 0 L -8 -6 L -5 -2 L -2 -8 L 0 -4 L 2 -8 L 5 -2 L 8 -6 L 10 0"
106
- fill="none" stroke="#FEF3C7" stroke-width="0.5" opacity="0.6"/>
107
-
108
- <!-- Center jewel (main) -->
109
- <circle cx="0" cy="-2" r="2.5" fill="url(#centerJewelGradient)" stroke="#10B981" stroke-width="0.5"/>
110
- <circle cx="0" cy="-2" r="1.5" fill="url(#jewelSparkle)" opacity="0.8"/>
111
-
112
- <!-- Side jewels -->
113
- <circle cx="-6" cy="-1" r="1.8" fill="url(#leftJewelGradient)" stroke="#059669" stroke-width="0.4"/>
114
- <circle cx="6" cy="-1" r="1.8" fill="url(#rightJewelGradient)" stroke="#047857" stroke-width="0.4"/>
115
-
116
- <!-- Small decorative gems -->
117
- <circle cx="-3" cy="-4" r="1" fill="#6EE7B7" opacity="0.9"/>
118
- <circle cx="3" cy="-4" r="1" fill="#6EE7B7" opacity="0.9"/>
119
-
120
- <!-- Crown peaks -->
121
- <circle cx="0" cy="-10" r="1.2" fill="#FEF3C7"/>
122
- <circle cx="-6" cy="-8" r="1" fill="#FEF3C7"/>
123
- <circle cx="6" cy="-8" r="1" fill="#FEF3C7"/>
124
- </g>
125
-
126
- <!-- Tail feathers -->
127
- <g id="tail" transform="translate(-22, 25)">
128
- <path d="M 0 0 Q -3 3 -2 7 Q -1 9 1 8 Q 2 5 0 0" fill="url(#tailGradient)" opacity="0.8"/>
129
- <path d="M 2 -1 Q -1 2 0 6 Q 1 8 3 7 Q 4 4 2 -1" fill="url(#tailGradient)" opacity="0.7"/>
130
- <path d="M 4 -2 Q 1 1 2 5 Q 3 7 5 6 Q 6 3 4 -2" fill="url(#tailGradient)" opacity="0.6"/>
131
- </g>
132
- </g>
133
-
134
- <!-- Gradient definitions -->
135
- <defs>
136
- <!-- Sparkle gradient -->
137
- <radialGradient id="sparkleGradient">
138
- <stop offset="0%" style="stop-color:#34D399;stop-opacity:1" />
139
- <stop offset="100%" style="stop-color:#6EE7B7;stop-opacity:0" />
140
- </radialGradient>
141
-
142
- <!-- Queue gradients -->
143
- <linearGradient id="queueGradient1" x1="0%" y1="0%" x2="100%" y2="0%">
144
- <stop offset="0%" style="stop-color:#10B981;stop-opacity:0.3" />
145
- <stop offset="50%" style="stop-color:#10B981;stop-opacity:1" />
146
- <stop offset="100%" style="stop-color:#10B981;stop-opacity:0.3" />
147
- </linearGradient>
148
-
149
- <linearGradient id="queueGradient2" x1="0%" y1="0%" x2="100%" y2="0%">
150
- <stop offset="0%" style="stop-color:#3B82F6;stop-opacity:0.3" />
151
- <stop offset="50%" style="stop-color:#3B82F6;stop-opacity:1" />
152
- <stop offset="100%" style="stop-color:#3B82F6;stop-opacity:0.3" />
153
- </linearGradient>
154
-
155
- <linearGradient id="queueGradient3" x1="0%" y1="0%" x2="100%" y2="0%">
156
- <stop offset="0%" style="stop-color:#F59E0B;stop-opacity:0.3" />
157
- <stop offset="50%" style="stop-color:#F59E0B;stop-opacity:1" />
158
- <stop offset="100%" style="stop-color:#F59E0B;stop-opacity:0.3" />
159
- </linearGradient>
160
-
161
- <!-- Body gradients -->
162
- <radialGradient id="bodyGradient" cx="50%" cy="30%">
163
- <stop offset="0%" style="stop-color:#A7F3D0;stop-opacity:1" />
164
- <stop offset="70%" style="stop-color:#6EE7B7;stop-opacity:1" />
165
- <stop offset="100%" style="stop-color:#10B981;stop-opacity:1" />
166
- </radialGradient>
167
-
168
- <linearGradient id="bodyStroke" x1="0%" y1="0%" x2="0%" y2="100%">
169
- <stop offset="0%" style="stop-color:#34D399;stop-opacity:1" />
170
- <stop offset="100%" style="stop-color:#059669;stop-opacity:1" />
171
- </linearGradient>
172
-
173
- <radialGradient id="chestHighlight">
174
- <stop offset="0%" style="stop-color:#FFFFFF;stop-opacity:0.8" />
175
- <stop offset="100%" style="stop-color:#D1FAE5;stop-opacity:0.2" />
176
- </radialGradient>
177
-
178
- <!-- Wing gradients -->
179
- <linearGradient id="wingGradient" x1="0%" y1="0%" x2="100%" y2="100%">
180
- <stop offset="0%" style="stop-color:#6EE7B7;stop-opacity:1" />
181
- <stop offset="100%" style="stop-color:#059669;stop-opacity:1" />
182
- </linearGradient>
183
-
184
- <linearGradient id="wingStroke">
185
- <stop offset="0%" style="stop-color:#10B981;stop-opacity:1" />
186
- <stop offset="100%" style="stop-color:#047857;stop-opacity:1" />
187
- </linearGradient>
188
-
189
- <!-- Neck gradient -->
190
- <linearGradient id="neckGradient" x1="0%" y1="100%" x2="0%" y2="0%">
191
- <stop offset="0%" style="stop-color:#6EE7B7;stop-opacity:1" />
192
- <stop offset="100%" style="stop-color:#86EFAC;stop-opacity:1" />
193
- </linearGradient>
194
-
195
- <!-- Head gradients -->
196
- <radialGradient id="headGradient" cx="40%" cy="40%">
197
- <stop offset="0%" style="stop-color:#BBF7D0;stop-opacity:1" />
198
- <stop offset="60%" style="stop-color:#86EFAC;stop-opacity:1" />
199
- <stop offset="100%" style="stop-color:#34D399;stop-opacity:1" />
200
- </radialGradient>
201
-
202
- <linearGradient id="headStroke">
203
- <stop offset="0%" style="stop-color:#34D399;stop-opacity:1" />
204
- <stop offset="100%" style="stop-color:#10B981;stop-opacity:1" />
205
- </linearGradient>
206
-
207
- <radialGradient id="headHighlight">
208
- <stop offset="0%" style="stop-color:#FFFFFF;stop-opacity:1" />
209
- <stop offset="100%" style="stop-color:#F0FDF4;stop-opacity:0" />
210
- </radialGradient>
211
-
212
- <!-- Beak gradient -->
213
- <linearGradient id="beakGradient" x1="0%" y1="0%" x2="100%" y2="0%">
214
- <stop offset="0%" style="stop-color:#FDE68A;stop-opacity:1" />
215
- <stop offset="100%" style="stop-color:#FCD34D;stop-opacity:1" />
216
- </linearGradient>
217
-
218
- <!-- Eye gradient -->
219
- <radialGradient id="eyeGradient">
220
- <stop offset="0%" style="stop-color:#92400E;stop-opacity:1" />
221
- <stop offset="100%" style="stop-color:#451A03;stop-opacity:1" />
222
- </radialGradient>
223
-
224
- <!-- Crown gradients -->
225
- <linearGradient id="crownGradient" x1="0%" y1="100%" x2="0%" y2="0%">
226
- <stop offset="0%" style="stop-color:#FDE68A;stop-opacity:1" />
227
- <stop offset="50%" style="stop-color:#FCD34D;stop-opacity:1" />
228
- <stop offset="100%" style="stop-color:#FEF3C7;stop-opacity:1" />
229
- </linearGradient>
230
-
231
- <linearGradient id="crownStroke">
232
- <stop offset="0%" style="stop-color:#FCD34D;stop-opacity:1" />
233
- <stop offset="100%" style="stop-color:#FBBF24;stop-opacity:1" />
234
- </linearGradient>
235
-
236
- <!-- Jewel gradients -->
237
- <radialGradient id="centerJewelGradient">
238
- <stop offset="0%" style="stop-color:#D1FAE5;stop-opacity:1" />
239
- <stop offset="100%" style="stop-color:#10B981;stop-opacity:1" />
240
- </radialGradient>
241
-
242
- <radialGradient id="leftJewelGradient">
243
- <stop offset="0%" style="stop-color:#A7F3D0;stop-opacity:1" />
244
- <stop offset="100%" style="stop-color:#059669;stop-opacity:1" />
245
- </radialGradient>
246
-
247
- <radialGradient id="rightJewelGradient">
248
- <stop offset="0%" style="stop-color:#D1FAE5;stop-opacity:1" />
249
- <stop offset="100%" style="stop-color:#047857;stop-opacity:1" />
250
- </radialGradient>
251
-
252
- <radialGradient id="jewelSparkle">
253
- <stop offset="0%" style="stop-color:#FFFFFF;stop-opacity:1" />
254
- <stop offset="100%" style="stop-color:#FFFFFF;stop-opacity:0" />
255
- </radialGradient>
256
-
257
- <!-- Tail gradient -->
258
- <linearGradient id="tailGradient" x1="0%" y1="0%" x2="100%" y2="100%">
259
- <stop offset="0%" style="stop-color:#34D399;stop-opacity:1" />
260
- <stop offset="100%" style="stop-color:#059669;stop-opacity:1" />
261
- </linearGradient>
262
- </defs>
263
- </svg>
@@ -1 +0,0 @@
1
- import{y as u}from"./index-CUSnwYTH.js";const a={getQueues:e=>u.get("/api/v1/resources/queues",{params:e}),getQueue:e=>u.get(`/api/v1/resources/queues/${e}`),deleteQueue:e=>u.delete(`/api/v1/resources/queues/${e}`),clearQueue:(e,s)=>{const r=s?{partition:s}:{};return u.delete(`/api/v1/queues/${e}/clear`,{params:r})},configureQueue:e=>u.post("/api/v1/configure",e),getPartitions:e=>u.get("/api/v1/resources/partitions",{params:e})};export{a as q};
@@ -1 +0,0 @@
1
- import{y as e}from"./index-CUSnwYTH.js";const r={getOverview:()=>e.get("/api/v1/resources/overview"),getNamespaces:()=>e.get("/api/v1/resources/namespaces"),getTasks:()=>e.get("/api/v1/resources/tasks")};export{r};
@@ -1,15 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <link rel="icon" type="image/svg+xml" href="/assets/queen-logo.svg" />
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
- <title>Queen Message Queue</title>
8
- <script type="module" crossorigin src="/assets/index-CUSnwYTH.js"></script>
9
- <link rel="stylesheet" crossorigin href="/assets/index-B7w2bKT6.css">
10
- </head>
11
- <body>
12
- <div id="app"></div>
13
- </body>
14
- </html>
15
-