nest-scramble 1.4.2 โ†’ 1.4.5

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.
package/README.md CHANGED
@@ -344,28 +344,63 @@ jobs:
344
344
  path: openapi.json
345
345
  ```
346
346
 
347
- ## ๐ŸŽจ Documentation UI - World-Class Design
347
+ ## ๐ŸŽจ Documentation UI - Professional API Dashboard
348
348
 
349
- ### โœจ Futuristic Theme (NEW!)
349
+ ### โœจ Elite Dashboard Design (NEW!)
350
350
 
351
- Nest-Scramble now features a **bespoke, futuristic dashboard** that rivals high-end SaaS products like Stripe, Vercel, and Linear!
351
+ Nest-Scramble features a **professional, high-end API dashboard** inspired by Stripe and Postman, where each request is displayed on a separate page for focused documentation!
352
352
 
353
353
  **๐Ÿš€ Key Features:**
354
- - **Deep Space Dark Mode** - Ultra-premium `#050505` background
355
- - **Glassmorphism Design** - Backdrop blur effects on all cards
356
- - **Cyber Gradients** - Cyan-to-purple button animations
357
- - **Animated Grid Background** - Subtle pulsing effect
358
- - **Night Owl Code Theme** - Beautiful syntax highlighting
359
- - **Custom Scrollbar** - Gradient styling throughout
360
- - **Spotlight Search** - Cmd+K style search experience
361
- - **Easter Egg Console** - Hidden developer messages โœจ
354
+ - **Sidebar-Only Navigation** - Fixed 320px sidebar with controller grouping
355
+ - **Single-Request Per Page** - Each endpoint gets its own dedicated view
356
+ - **Three-Column Elite Layout** - Information | Request Editor | Test Panel
357
+ - **Deep Black Background** - Professional `#000000` and `#0B0E14` theme
358
+ - **Cyber-Cyan Accents** - `#00f2ff` for active states and primary actions
359
+ - **Vibrant HTTP Method Badges** - Color-coded with glow effects:
360
+ - GET = Royal Blue (`#3B82F6`)
361
+ - POST = Emerald Green (`#10B981`)
362
+ - PUT = Amber Orange (`#F59E0B`)
363
+ - PATCH = Violet Purple (`#8B5CF6`)
364
+ - DELETE = Vibrant Red (`#EF4444`)
365
+ - **Glassmorphism Effects** - Backdrop blur on request/response panels
366
+ - **40px Spacious Padding** - Premium whitespace throughout
367
+ - **Terminal-Style Response** - Black box with green text for API responses
368
+ - **High-Contrast Labels** - Required, Type, and Default badges
369
+ - **Custom Scrollbars** - Gradient cyan-to-purple styling
370
+ - **Plus Jakarta Sans Typography** - Modern, professional font family
371
+ - **Powered by Badge** - Animated branding with pulse effect
372
+
373
+ ### ๐Ÿ“ Three-Column Elite Interface
374
+
375
+ The dashboard uses a professional three-column layout for each endpoint:
376
+
377
+ **Column 1 (Left) - Information Panel:**
378
+ - Endpoint title with large, bold typography
379
+ - HTTP method badge with vibrant colors and glow
380
+ - Endpoint description and documentation
381
+ - Clean parameters table with high-contrast labels
382
+ - Type information and required field indicators
383
+
384
+ **Column 2 (Middle) - Request Body Editor:**
385
+ - Glassmorphism design with backdrop blur
386
+ - Auto-filled mock data examples
387
+ - JSON editor with syntax highlighting
388
+ - Copy-to-clipboard functionality
389
+ - Real-time validation
390
+
391
+ **Column 3 (Right) - Test Request Panel:**
392
+ - Enhanced glassmorphism with cyan border glow
393
+ - Large "Send Request" button with gradient animation
394
+ - Terminal-style response viewer (black background, green text)
395
+ - Status code indicators
396
+ - Response headers display
362
397
 
363
398
  ### ๐ŸŽจ Theme Customization
364
399
 
365
400
  **Futuristic Theme (Default):**
366
401
  ```typescript
367
402
  NestScrambleModule.forRoot({
368
- theme: 'futuristic', // Modern, dark, glassmorphic
403
+ theme: 'futuristic', // Professional dark dashboard
369
404
  primaryColor: '#00f2ff', // Cyber-Cyan (default)
370
405
  customDomainIcon: '/logo.png', // Your brand favicon
371
406
  apiTitle: 'My Awesome API',
@@ -406,14 +441,16 @@ NestScrambleModule.forRoot({
406
441
 
407
442
  When you visit `http://localhost:3000/docs`, you'll experience:
408
443
 
409
- - ๐ŸŽฏ **Interactive API Explorer** - Test endpoints directly from the browser
410
- - ๐Ÿ“ **Auto-generated Examples** - Request/response samples for all endpoints
411
- - ๐Ÿ” **Spotlight Search** - Quickly find endpoints with glowing focus states
412
- - ๐ŸŒ™ **Futuristic Dark Mode** - Deep space theme with glassmorphism
413
- - ๐Ÿ“ฑ **Mobile Responsive** - Works beautifully on all devices
414
- - ๐ŸŽจ **Theme Toggle** - Switch between Futuristic and Classic (top-right button)
415
- - โœจ **Powered by Badge** - Glowing brand badge with pulse animation
416
- - ๐ŸŽญ **Easter Eggs** - Check your browser console for surprises!
444
+ - ๐ŸŽฏ **Single-Request Navigation** - Each endpoint on its own dedicated page
445
+ - ๐Ÿ“‚ **Controller Grouping** - Organized sidebar with uppercase section headers
446
+ - ๐ŸŽจ **Active State Glow** - Cyber-cyan highlight for selected endpoints
447
+ - ๐Ÿ“ **Auto-generated Examples** - Pre-filled mock data in request editor
448
+ - ๐Ÿงช **Live Testing** - Send requests directly from the three-column interface
449
+ - ๐Ÿ’ป **Terminal Response** - Black box with green text for authentic feel
450
+ - ๐Ÿ” **Quick Search** - Press 'K' to search endpoints instantly
451
+ - ๐Ÿ“ฑ **Responsive Design** - Adapts to mobile, tablet, and desktop
452
+ - โœจ **Animated Branding** - Pulsing "Powered by Nest-Scramble" badge
453
+ - ๐ŸŽญ **Developer Easter Eggs** - Check your browser console for surprises!
417
454
 
418
455
  ### ๐Ÿ–ฅ๏ธ Terminal Dashboard
419
456
 
@@ -1 +1 @@
1
- {"version":3,"file":"DocsController.d.ts","sourceRoot":"","sources":["../../src/controllers/DocsController.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,eAAO,MAAM,aAAa,aAAa,CAAC;AACxC,eAAO,MAAM,MAAM,wDAAyC,CAAC;AAE7D,qBAEa,cAAc;IAEU,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,OAAO;gBADP,WAAW,EAAE,GAAG,EAChB,OAAO,EAAE,mBAAmB;IAIvE,OAAO,CAAQ,GAAG,EAAE,GAAG;IAqEvB,OAAO,CAAC,gBAAgB;IAy3BxB,OAAO,CAAC,aAAa;IA8CrB,OAAO,CAAC,kBAAkB;IAsB1B,cAAc,CAAQ,GAAG,EAAE,GAAG;IAa9B,oBAAoB,CAAQ,GAAG,EAAE,GAAG;IAKpC,cAAc;CAGf"}
1
+ {"version":3,"file":"DocsController.d.ts","sourceRoot":"","sources":["../../src/controllers/DocsController.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,eAAO,MAAM,aAAa,aAAa,CAAC;AACxC,eAAO,MAAM,MAAM,wDAAyC,CAAC;AAE7D,qBAEa,cAAc;IAEU,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,OAAO;gBADP,WAAW,EAAE,GAAG,EAChB,OAAO,EAAE,mBAAmB;IAIvE,OAAO,CAAQ,GAAG,EAAE,GAAG;IAwEvB,OAAO,CAAC,gBAAgB;IAs3BxB,OAAO,CAAC,aAAa;IA8CrB,OAAO,CAAC,kBAAkB;IAsB1B,cAAc,CAAQ,GAAG,EAAE,GAAG;IAa9B,oBAAoB,CAAQ,GAAG,EAAE,GAAG;IAKpC,cAAc;CAGf"}
@@ -45,41 +45,44 @@ let DocsController = class DocsController {
45
45
  <div id="api-reference"></div>
46
46
  <script src="https://cdn.jsdelivr.net/npm/@scalar/api-reference"></script>
47
47
  <script>
48
- // Scalar Configuration for Single-Request Dashboard
48
+ // Professional Dashboard Configuration - Single Request Per Page
49
49
  const configuration = {
50
50
  spec: {
51
51
  url: '/docs-json'
52
52
  },
53
53
  layout: 'modern',
54
- theme: 'purple',
54
+ theme: 'none',
55
55
  darkMode: true,
56
56
  showSidebar: true,
57
57
  hideModels: false,
58
58
  hideDownloadButton: false,
59
- customCss: \`
60
- /* Force sidebar-first layout */
61
- .scalar-api-reference {
62
- display: flex !important;
63
- flex-direction: row !important;
59
+ defaultOpenAllTags: true,
60
+ searchHotKey: 'k',
61
+ servers: [
62
+ {
63
+ url: '${this.options.baseUrl || 'http://localhost:3000'}',
64
+ description: 'Development Server'
64
65
  }
65
-
66
- /* Hide the all-in-one scroll view */
67
- [class*="scroll-container"],
68
- [class*="all-endpoints"] {
69
- display: none !important;
70
- }
71
-
72
- /* Ensure single endpoint view */
73
- [class*="endpoint-container"] {
74
- display: block !important;
75
- }
76
- \`
66
+ ]
77
67
  };
78
68
 
79
- // Initialize Scalar
69
+ // Initialize Scalar with error handling
80
70
  const apiReference = document.getElementById('api-reference');
81
- if (apiReference && window.ScalarApiReference) {
82
- window.ScalarApiReference.mount(apiReference, configuration);
71
+ if (apiReference) {
72
+ // Wait for Scalar to load
73
+ const initScalar = () => {
74
+ if (window.ScalarApiReference) {
75
+ try {
76
+ window.ScalarApiReference.mount(apiReference, configuration);
77
+ console.log('%cโœ… Nest-Scramble Dashboard Loaded', 'color: #00f2ff; font-weight: bold;');
78
+ } catch (error) {
79
+ console.error('Scalar initialization error:', error);
80
+ }
81
+ } else {
82
+ setTimeout(initScalar, 100);
83
+ }
84
+ };
85
+ initScalar();
83
86
  }
84
87
 
85
88
  ${this.getEasterEggScript()}
@@ -91,42 +94,39 @@ let DocsController = class DocsController {
91
94
  }
92
95
  getFuturisticCSS(primaryColor) {
93
96
  return `
94
- /* ๐ŸŽจ Single-Request Dashboard by Mohamed Mustafa - Extreme Minimalism */
97
+ /* ๐Ÿš€ Professional API Dashboard by Mohamed Mustafa - Stripe/Postman Inspired */
95
98
  :root {
96
99
  --primary-cyber: ${primaryColor};
97
100
  --primary-glow: ${primaryColor}60;
98
101
  --primary-soft: ${primaryColor}15;
102
+ --purple-electric: #8B5CF6;
99
103
 
100
- /* Dark Mode Colors */
104
+ /* Deep Black Background */
105
+ --deep-black: #000000;
101
106
  --deep-charcoal: #0B0E14;
102
107
  --sidebar-dark: #13161C;
103
108
  --content-dark: #0B0E14;
104
- --card-dark: #1A1D24;
105
- --border-dark: #2A2D35;
109
+ --card-bg: #1A1D24;
110
+ --border-subtle: #2A2D35;
111
+
112
+ /* Text Colors - High Contrast */
113
+ --text-primary: #FFFFFF;
114
+ --text-secondary: #D1D5DB;
115
+ --text-muted: #9CA3AF;
106
116
 
107
- /* Light Mode Colors */
108
- --off-white: #F9FAFB;
109
- --sidebar-light: #FFFFFF;
110
- --content-light: #F9FAFB;
111
- --card-light: #FFFFFF;
112
- --border-light: #E5E7EB;
117
+ /* HTTP Method Colors */
118
+ --get-blue: #3B82F6;
119
+ --post-green: #10B981;
120
+ --put-orange: #F59E0B;
121
+ --patch-purple: #8B5CF6;
122
+ --delete-red: #EF4444;
113
123
 
114
- /* Text Colors */
115
- --text-primary: #F9FAFB;
116
- --text-secondary: #9CA3AF;
117
- --text-muted: #6B7280;
124
+ /* Danger & Info */
125
+ --danger-red: #F85149;
126
+ --info-blue: #58A6FF;
118
127
 
119
- /* Glow Badge Colors */
120
- --neon-blue: #3B82F6;
121
- --neon-blue-glow: rgba(59, 130, 246, 0.5);
122
- --emerald-green: #10B981;
123
- --emerald-glow: rgba(16, 185, 129, 0.5);
124
- --soft-rose: #F43F5E;
125
- --rose-glow: rgba(244, 63, 94, 0.5);
126
- --amber-orange: #F59E0B;
127
- --amber-glow: rgba(245, 158, 11, 0.5);
128
- --violet-purple: #8B5CF6;
129
- --violet-glow: rgba(139, 92, 246, 0.5);
128
+ /* Glow Effects */
129
+ --glow-shadow: 0 0 30px var(--primary-glow), 0 8px 24px rgba(0, 242, 255, 0.3);
130
130
  }
131
131
 
132
132
  /* ============================================
@@ -180,7 +180,7 @@ let DocsController = class DocsController {
180
180
  width: 320px !important;
181
181
  height: 100vh !important;
182
182
  background: var(--sidebar-dark) !important;
183
- border-right: 1px solid var(--border-dark) !important;
183
+ border-right: 1px solid var(--border-subtle) !important;
184
184
  overflow-y: auto !important;
185
185
  z-index: 1000 !important;
186
186
  padding: 0 !important;
@@ -197,11 +197,11 @@ let DocsController = class DocsController {
197
197
  font-size: 18px;
198
198
  font-weight: 800;
199
199
  color: var(--text-primary);
200
- background: linear-gradient(135deg, var(--primary-cyber), var(--violet-purple));
200
+ background: linear-gradient(135deg, var(--primary-cyber), var(--purple-electric));
201
201
  -webkit-background-clip: text;
202
202
  -webkit-text-fill-color: transparent;
203
203
  background-clip: text;
204
- border-bottom: 1px solid var(--border-dark);
204
+ border-bottom: 1px solid var(--border-subtle);
205
205
  letter-spacing: -0.5px;
206
206
  }
207
207
 
@@ -218,7 +218,7 @@ let DocsController = class DocsController {
218
218
 
219
219
  .sidebar::-webkit-scrollbar-thumb,
220
220
  [class*="sidebar"]::-webkit-scrollbar-thumb {
221
- background: var(--border-dark);
221
+ background: var(--border-subtle);
222
222
  border-radius: 3px;
223
223
  }
224
224
 
@@ -243,7 +243,7 @@ let DocsController = class DocsController {
243
243
  padding: 24px 24px 12px 24px !important;
244
244
  margin: 0 !important;
245
245
  background: transparent !important;
246
- border-top: 1px solid var(--border-dark) !important;
246
+ border-top: 1px solid var(--border-subtle) !important;
247
247
  margin-top: 16px !important;
248
248
  }
249
249
 
@@ -360,108 +360,108 @@ let DocsController = class DocsController {
360
360
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
361
361
  }
362
362
 
363
- /* GET - Neon Blue Glow */
363
+ /* GET - Royal Blue */
364
364
  [class*="method-get"],
365
365
  [class*="badge-get"],
366
366
  [data-method="get"],
367
367
  [data-method="GET"],
368
368
  .http-method-get {
369
- background: var(--neon-blue) !important;
369
+ background: var(--get-blue) !important;
370
370
  color: #ffffff !important;
371
371
  box-shadow:
372
- 0 0 20px var(--neon-blue-glow),
372
+ 0 0 20px rgba(59, 130, 246, 0.5),
373
373
  0 4px 16px rgba(59, 130, 246, 0.4) !important;
374
374
  }
375
375
 
376
376
  [class*="method-get"]:hover,
377
377
  [data-method="get"]:hover {
378
378
  box-shadow:
379
- 0 0 30px var(--neon-blue-glow),
379
+ 0 0 30px rgba(59, 130, 246, 0.6),
380
380
  0 6px 20px rgba(59, 130, 246, 0.5) !important;
381
381
  transform: translateY(-2px) !important;
382
382
  }
383
383
 
384
- /* POST - Emerald Green Glow */
384
+ /* POST - Emerald Green */
385
385
  [class*="method-post"],
386
386
  [class*="badge-post"],
387
387
  [data-method="post"],
388
388
  [data-method="POST"],
389
389
  .http-method-post {
390
- background: var(--emerald-green) !important;
390
+ background: var(--post-green) !important;
391
391
  color: #ffffff !important;
392
392
  box-shadow:
393
- 0 0 20px var(--emerald-glow),
393
+ 0 0 20px rgba(16, 185, 129, 0.5),
394
394
  0 4px 16px rgba(16, 185, 129, 0.4) !important;
395
395
  }
396
396
 
397
397
  [class*="method-post"]:hover,
398
398
  [data-method="post"]:hover {
399
399
  box-shadow:
400
- 0 0 30px var(--emerald-glow),
400
+ 0 0 30px rgba(16, 185, 129, 0.6),
401
401
  0 6px 20px rgba(16, 185, 129, 0.5) !important;
402
402
  transform: translateY(-2px) !important;
403
403
  }
404
404
 
405
- /* PUT - Amber Orange Glow */
405
+ /* PUT - Amber Orange */
406
406
  [class*="method-put"],
407
407
  [class*="badge-put"],
408
408
  [data-method="put"],
409
409
  [data-method="PUT"],
410
410
  .http-method-put {
411
- background: var(--amber-orange) !important;
411
+ background: var(--put-orange) !important;
412
412
  color: #ffffff !important;
413
413
  box-shadow:
414
- 0 0 20px var(--amber-glow),
414
+ 0 0 20px rgba(245, 158, 11, 0.5),
415
415
  0 4px 16px rgba(245, 158, 11, 0.4) !important;
416
416
  }
417
417
 
418
418
  [class*="method-put"]:hover,
419
419
  [data-method="put"]:hover {
420
420
  box-shadow:
421
- 0 0 30px var(--amber-glow),
421
+ 0 0 30px rgba(245, 158, 11, 0.6),
422
422
  0 6px 20px rgba(245, 158, 11, 0.5) !important;
423
423
  transform: translateY(-2px) !important;
424
424
  }
425
425
 
426
- /* PATCH - Violet Purple Glow */
426
+ /* PATCH - Violet Purple */
427
427
  [class*="method-patch"],
428
428
  [class*="badge-patch"],
429
429
  [data-method="patch"],
430
430
  [data-method="PATCH"],
431
431
  .http-method-patch {
432
- background: var(--violet-purple) !important;
432
+ background: var(--patch-purple) !important;
433
433
  color: #ffffff !important;
434
434
  box-shadow:
435
- 0 0 20px var(--violet-glow),
435
+ 0 0 20px rgba(139, 92, 246, 0.5),
436
436
  0 4px 16px rgba(139, 92, 246, 0.4) !important;
437
437
  }
438
438
 
439
439
  [class*="method-patch"]:hover,
440
440
  [data-method="patch"]:hover {
441
441
  box-shadow:
442
- 0 0 30px var(--violet-glow),
442
+ 0 0 30px rgba(139, 92, 246, 0.6),
443
443
  0 6px 20px rgba(139, 92, 246, 0.5) !important;
444
444
  transform: translateY(-2px) !important;
445
445
  }
446
446
 
447
- /* DELETE - Soft Rose Glow */
447
+ /* DELETE - Vibrant Red */
448
448
  [class*="method-delete"],
449
449
  [class*="badge-delete"],
450
450
  [data-method="delete"],
451
451
  [data-method="DELETE"],
452
452
  .http-method-delete {
453
- background: var(--soft-rose) !important;
453
+ background: var(--delete-red) !important;
454
454
  color: #ffffff !important;
455
455
  box-shadow:
456
- 0 0 20px var(--rose-glow),
457
- 0 4px 16px rgba(244, 63, 94, 0.4) !important;
456
+ 0 0 20px rgba(239, 68, 68, 0.5),
457
+ 0 4px 16px rgba(239, 68, 68, 0.4) !important;
458
458
  }
459
459
 
460
460
  [class*="method-delete"]:hover,
461
461
  [data-method="delete"]:hover {
462
462
  box-shadow:
463
- 0 0 30px var(--rose-glow),
464
- 0 6px 20px rgba(244, 63, 94, 0.5) !important;
463
+ 0 0 30px rgba(239, 68, 68, 0.6),
464
+ 0 6px 20px rgba(239, 68, 68, 0.5) !important;
465
465
  transform: translateY(-2px) !important;
466
466
  }
467
467
 
@@ -922,8 +922,8 @@ let DocsController = class DocsController {
922
922
  left: 0;
923
923
  right: 0;
924
924
  padding: 20px 24px;
925
- background: linear-gradient(135deg, var(--primary-cyber), var(--violet-purple));
926
- border-top: 1px solid var(--border-dark);
925
+ background: linear-gradient(135deg, var(--primary-cyber), var(--purple-electric));
926
+ border-top: 1px solid var(--border-subtle);
927
927
  font-size: 12px;
928
928
  font-weight: 700;
929
929
  text-align: center;
@@ -1 +1 @@
1
- {"version":3,"file":"DocsController.js","sourceRoot":"","sources":["../../src/controllers/DocsController.ts"],"names":[],"mappings":";;;;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AAA,YAAG,GAAE,CAAA;;;;0DAE1B;AAGD;IADC,IAAA,YAAG,EAAC,WAAW,CAAC;;;;oDAGhB;yBA7hCU,cAAc;IAF1B,IAAA,mBAAU,GAAE;IACZ,IAAA,cAAM,GAAE;IAGJ,WAAA,IAAA,eAAM,EAAC,uBAAuB,CAAC,CAAA;IAC/B,WAAA,IAAA,eAAM,EAAC,uBAAuB,CAAC,CAAA;;GAHvB,cAAc,CA8hC1B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nest-scramble",
3
- "version": "1.4.2",
3
+ "version": "1.4.5",
4
4
  "description": "A next-generation, decorator-free API documentation engine and intelligent mock server for NestJS, engineered by Mohamed Mustafa",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",