@futdevpro/nts-dynamo 1.14.69 → 1.14.71

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.
@@ -142,6 +142,11 @@ jobs:
142
142
  run: |
143
143
  echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
144
144
 
145
+ - name: Get safe-chain version
146
+ run: |
147
+ VERSION=$(curl -s https://api.github.com/repos/AikidoSec/safe-chain/releases/latest | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/' | sed 's/^v//')
148
+ echo "SAFE_CHAIN_VERSION=$VERSION" >> $GITHUB_ENV
149
+
145
150
  - name: Install safe-chain
146
151
  run: |
147
152
  curl -fsSL https://raw.githubusercontent.com/AikidoSec/safe-chain/main/install-scripts/install-safe-chain.sh | sh -s -- --ci
@@ -152,7 +157,7 @@ jobs:
152
157
 
153
158
  - name: Install Packages
154
159
  run: |
155
- pnpm i
160
+ pnpm i --safe-chain-skip-minimum-package-age
156
161
 
157
162
  - name: Build
158
163
  run: |
package/README.md CHANGED
@@ -1,140 +1,674 @@
1
+ # Dynamo-NTS
1
2
 
3
+ ![Dynamo-NTS Logo](src/_assets/dynamo-nts-logo-256.png)
2
4
 
3
- Dynamo is a framework developed by FDP that allows you to perform software development tasks easily, efficiently, quickly, and simply. As well as creating a unified system, the development of which will increase the stability of all our projects. Dynamo is easy to use, with the goal of creating complete systems with the right energy investment for the design process so that it can be easily upgraded in any form later.
5
+ **Dynamo-NTS** (NodeTS) is a comprehensive backend framework for building robust, secure, and scalable Node.js applications with TypeScript. Built on top of [Dynamo FSM](https://www.npmjs.com/package/@futdevpro/fsm-dynamo) (`@futdevpro/fsm-dynamo`), it provides a structured approach to server-side development with clear separation of concerns, extensive configuration options, and production-ready implementations for common backend tasks.
4
6
 
5
- Using dynamo can reduce software development costs by a fraction.
7
+ Dynamo-NTS uses **[Dynamo FSM](https://www.npmjs.com/package/@futdevpro/fsm-dynamo)** as its foundational layer, implementing the server-side components of the FSM architecture. All core interfaces, types, and utilities are provided by FSM, ensuring consistency and type safety across the entire Dynamo ecosystem.
6
8
 
9
+ Dynamo-NTS is part of the unified **Dynamo ecosystem**, a full-stack development framework designed to accelerate the development of scalable web applications. The ecosystem consists of interconnected packages that work together seamlessly, with Dynamo-NTS serving as the backend implementation layer. The frontend counterpart is **[Dynamo NGX](https://www.npmjs.com/package/@futdevpro/ngx-dynamo)**, which uses **[Dynamo NGX Models](https://www.npmjs.com/package/@futdevpro/ngx-dynamo-models)** for type-safe model definitions.
7
10
 
8
- Part of this project is also a builder or editor interface, through which even those who are not software developers or have no development experience, can perform the development.
11
+ ### Design Philosophy
9
12
 
10
- This interface can help juniors and people unfamiliar with development to easily make minor modifications and repairs to the system. Or they can easily get to know and understand the operation and structure of even a more complex project.
13
+ Dynamo-NTS is built with two key principles:
11
14
 
12
- ...
15
+ - **Full Override Capability**: Every component, service, and class can be overridden or extended. The framework provides a solid foundation with sensible defaults, but you have complete control to customize or replace any part to fit your specific needs. This makes Dynamo-NTS highly customizable and adaptable to any project requirements.
13
16
 
14
- more documentation and description soon...
17
+ - **Complete Type Information**: All types, interfaces, and definitions are included in the compiled output. This ensures excellent readability and maintainability—everything you need is available at compile time through TypeScript's type system, providing full IntelliSense support and eliminating the need to reference external documentation during development.
15
18
 
16
- ...
19
+ ### Simplified System Definitions
17
20
 
18
- support out projects to make it happen sooner!
19
- https://futdevpro.hu/support/dynamo
21
+ Dynamo-NTS simplifies complex system definitions by abstracting common backend infrastructure into simple parameterization. Instead of manually configuring various libraries and services, you define your application through straightforward parameter objects:
20
22
 
23
+ - **Express Usage**: HTTP/HTTPS server setup, routing, middleware, and error handling are configured through `DyNTS_App_Params`, `DyNTS_Http_Settings`, and `DyNTS_RoutingModule` parameters (simplifies Express server initialization and route management)
24
+ - **MongoDB/Mongoose Usage**: Database connections, models, schemas, and operations are managed through `DyNTS_DBService` and `DyNTS_DataService` with simple data model parameter definitions (simplifies Mongoose schema creation and model management)
25
+ - **Socket.io Usage**: Real-time communication setup, event handling, and presence tracking are configured through `DyNTS_SocketServerService` parameters and the `DyNTS_AppExtended` class (simplifies Socket.io server initialization and event management)
26
+ - **Nodemailer Usage**: Email sending with templating, attachments, and async delivery is handled through `DyNTS_EmailService` with template component definitions (simplifies Nodemailer transporter setup and email template management)
27
+ - **OAuth2 Implementation**: Complete OAuth2.0 protocol flows including authorization codes, token exchange, and refresh tokens are managed through `DyNTS_OAuth2_Controller` and `DyNTS_OAuth2_AuthService` (simplifies complex OAuth2 flow implementation)
28
+ - **Axios Usage**: HTTP client requests to external APIs are standardized through `DyNTS_ApiService` with `DyNTS_ApiCall_Params` configuration (simplifies Axios request setup, error handling, and response management)
29
+ - **Discord.js / Slack / Teams Bot Development**: Platform-agnostic bot framework through `DyNTS_Bot_MessagingProvider_ServiceBase` and bot modules (simplifies Discord.js, Slack, and Teams bot development with unified interfaces)
30
+ - **OpenAI / AI Provider Integration**: AI/LLM operations including chat, embeddings, and vector search are abstracted through `DyNTS_AI_Provider_ServiceBase` and provider implementations (simplifies OpenAI SDK usage and enables multi-provider architecture)
31
+ - **Location Tracking**: IP-based geolocation through `geoip-lite` is integrated into the usage tracking module (simplifies location data collection from HTTP requests)
21
32
 
33
+ This parameterization approach eliminates boilerplate code and provides a consistent, type-safe interface for all backend operations. Instead of learning multiple library APIs and their configuration patterns, developers work with unified Dynamo-NTS parameter objects that handle the underlying complexity.
22
34
 
35
+ ## Table of Contents
23
36
 
37
+ - [Installation](#installation)
38
+ - [Quick Start](#quick-start)
39
+ - [Core Concepts](#core-concepts)
40
+ - [Modules Overview](#modules-overview)
41
+ - [Usage Examples](#usage-examples)
42
+ - [Ecosystem Integration](#ecosystem-integration)
43
+ - [API Reference](#api-reference)
24
44
 
45
+ ## Installation
25
46
 
26
- Development notes...:
47
+ Install Dynamo-NTS using pnpm (recommended) or npm:
27
48
 
28
- # Hashtag1
29
- ## Hashtag2
30
- ### Hashtag3
31
- #### Hashtag4
32
- ##### Hashtag5
33
- ###### Hashtag6
49
+ ```bash
50
+ pnpm add @futdevpro/dynamo-nts
51
+ # or
52
+ npm install @futdevpro/dynamo-nts
53
+ ```
34
54
 
35
- ____________________________________
55
+ ### Peer Dependencies
36
56
 
57
+ Dynamo-NTS requires peer dependencies that are divided into two categories: core dependencies (required for the main module) and module-specific dependencies (required only when using specific modules).
37
58
 
38
- - LINE
39
- - LINES
40
- - MORE LINES
59
+ #### Core Dependencies (Required)
41
60
 
42
- * star line
43
- * star lines
44
- * more star lines
61
+ These dependencies are required for the main Dynamo-NTS functionality:
45
62
 
46
- 1. num1
47
- 2. num2
48
- 3. num3
63
+ - [`@futdevpro/fsm-dynamo`](https://www.npmjs.com/package/@futdevpro/fsm-dynamo) - The foundational package providing core interfaces and utilities (always required)
64
+ - `express` - Web framework for Node.js (simplified through Dynamo-NTS parameterization)
65
+ - `mongoose` - MongoDB object modeling (simplified through Dynamo-NTS data services)
66
+ - `axios` - HTTP client (simplified through Dynamo-NTS API service)
67
+ - `body-parser` - Request body parsing middleware
68
+ - `dotenv` - Environment variable management
69
+ - `rxjs` - Reactive programming library
70
+ - `@types/express` - TypeScript types for Express
71
+ - `@types/node` - TypeScript types for Node.js
72
+ - `ts-node` - TypeScript execution environment
49
73
 
50
- **STARS**
51
- **[STARS-N-BRACET]**
74
+ Install core dependencies:
52
75
 
53
- EZMIEZ
54
- Standard [VajonE](https://futdevpro.hu)
55
- Standard [Jinja2](https://jinja.palletsprojects.com/en/2.10.x/templates/)
76
+ ```bash
77
+ pnpm add @futdevpro/fsm-dynamo express mongoose axios body-parser dotenv rxjs @types/express @types/node ts-node
78
+ ```
56
79
 
57
- check ✓
58
- cross ✗
80
+ #### Module-Specific Dependencies (Optional)
59
81
 
60
- ```
61
- valami
62
- ```
82
+ These dependencies are only required when using specific modules:
63
83
 
84
+ - **Socket Module**: `socket.io` - Real-time communication (simplified through Dynamo-NTS socket services)
85
+ - **Email Service**: `nodemailer` - Email sending (simplified through Dynamo-NTS email services)
86
+ - **Usage Module**: `geoip-lite` and `@types/geoip-lite` - IP geolocation (simplified through Dynamo-NTS usage module)
87
+ - **Bot Module (Discord)**: `discord.js` - Discord bot development (simplified through Dynamo-NTS bot module)
88
+ - **AI Module (OpenAI)**: `openai` - OpenAI API integration (simplified through Dynamo-NTS AI module)
64
89
 
65
- ```xml
66
- <asd>
67
- <fgh>
68
- <id>central-mirror</id>
69
- <name>AAFK {projektname} repo</name>
70
- <url>https://futdevpro.hu</url>
71
- </fgh>
72
- </asd>
73
- ```
90
+ Install module-specific dependencies as needed:
91
+
92
+ ```bash
93
+ # For Socket module
94
+ pnpm add socket.io
74
95
 
75
- ```yaml
76
- web:
77
- ports:
78
- - number: 1234
79
- protocol: TCP
80
- - number: 2345
81
- protocol: UDP
96
+ # For Email service
97
+ pnpm add nodemailer
98
+
99
+ # For Usage module
100
+ pnpm add geoip-lite @types/geoip-lite
101
+
102
+ # For Bot module (Discord)
103
+ pnpm add discord.js
104
+
105
+ # For AI module (OpenAI)
106
+ pnpm add openai
82
107
  ```
83
108
 
109
+ ## Quick Start
110
+
111
+ The following example demonstrates how to set up a basic Dynamo-NTS application with routing and socket support:
112
+
113
+ ```typescript
114
+ import {
115
+ DyNTS_AppExtended,
116
+ DyNTS_App_Params,
117
+ DyNTS_GlobalService_Settings,
118
+ DyNTS_Http_Settings,
119
+ DyNTS_RoutingModule
120
+ } from '@futdevpro/nts-dynamo';
121
+ import {
122
+ DyNTS_SocketServerService
123
+ } from '@futdevpro/nts-dynamo/socket';
124
+ import { DyFM_usageSession_dataParams } from '@futdevpro/fsm-dynamo/usage';
125
+ import { DyFM_customData_dataParams } from '@futdevpro/fsm-dynamo/custom-data';
126
+ import { DyNTS_getUsageRoutingModule } from '@futdevpro/nts-dynamo/usage';
127
+ import { DyNTS_getTestRoutingModule } from '@futdevpro/nts-dynamo/test';
128
+
129
+ import { AuthService } from './core-services/auth.service';
130
+ import { Email_ServiceCollection } from './core-services/email.service-collection';
131
+ import { User_Controller } from './routes/user/user.controller';
132
+ import { Chat_SocketServerService } from './socket-services/chat.socket-server-service';
133
+
134
+ export class App extends DyNTS_AppExtended {
135
+
136
+ getAppParams(): DyNTS_App_Params {
137
+ return new DyNTS_App_Params({
138
+ name: 'My Application',
139
+ version: '1.0.0',
140
+ dbName: 'myapp',
141
+ dbUri: process.env.MONGO_URL || 'mongodb://localhost:27017/myapp',
142
+ systemShortCodeName: 'MYAPP',
143
+ });
144
+ }
145
+
146
+ getGlobalServiceCollection(): DyNTS_GlobalService_Settings {
147
+ return {
148
+ authService: AuthService.getInstance(),
149
+ emailServiceCollection: Email_ServiceCollection.getInstance(),
150
+ dbModels: [
151
+ // Your data model parameters here
152
+ DyFM_usageSession_dataParams,
153
+ DyFM_customData_dataParams,
154
+ ],
155
+ };
156
+ }
157
+
158
+ getPortSettings(): DyNTS_Http_Settings {
159
+ return new DyNTS_Http_Settings({
160
+ httpPort: 3000,
161
+ });
162
+ }
163
+
164
+ getRoutingModules(): DyNTS_RoutingModule[] {
165
+ return [
166
+ new DyNTS_RoutingModule({
167
+ route: '/user',
168
+ controllers: [
169
+ User_Controller.getInstance(),
170
+ ],
171
+ }),
172
+ DyNTS_getTestRoutingModule(),
173
+ DyNTS_getUsageRoutingModule(),
174
+ ];
175
+ }
84
176
 
85
- ```json
86
- {
87
- "name": "@futdevpro/nts-dynamo",
88
- "version": "01.05.57",
89
- "description": "Dynamic NodeTS (NodeJS-Typescript), MongoDB Backend System Framework by Future Development Program Ltd.",
90
- "scripts": {
91
- "test": "echo \"Error: no test specified\" && exit 1",
92
-
93
- "build": "npm run install-n-build",
177
+ getSocketServices(): DyNTS_SocketServerService<any>[] {
178
+ return [
179
+ Chat_SocketServerService.getInstance(),
180
+ ];
94
181
  }
95
182
  }
183
+
184
+ // Start the application
185
+ const app = new App();
96
186
  ```
97
187
 
98
- ```ts
188
+ ## Core Concepts
189
+
190
+ Dynamo-NTS uses [Dynamo FSM](https://www.npmjs.com/package/@futdevpro/fsm-dynamo) as its foundation, implementing all server-side components defined in the FSM architecture. All types, interfaces, and base models are provided by FSM, ensuring full type safety and consistency.
191
+
192
+ ### Extensibility and Customization
193
+
194
+ Dynamo-NTS is designed with extensibility in mind. Every component, service, and class can be overridden or extended to meet your specific requirements:
195
+
196
+ - **Service Override**: All services (authentication, email, data services, etc.) can be extended or completely replaced with custom implementations
197
+ - **Method Override**: Abstract methods in base classes allow you to customize behavior while maintaining the framework structure
198
+ - **Configuration Override**: Global settings, route security, and application parameters can be overridden at any level
199
+ - **Type Safety**: All overrides maintain full TypeScript type safety, with all types and interfaces available at compile time
200
+
201
+ This design philosophy ensures that Dynamo-NTS provides a solid foundation while remaining fully customizable for your specific use cases.
202
+
203
+ ### Complete Type Information
204
+
205
+ All types, interfaces, and definitions are included in the compiled output, ensuring excellent readability and maintainability. When you compile your project, you have access to:
206
+
207
+ - Complete type definitions for all services, models, and interfaces
208
+ - Full IntelliSense support in your IDE
209
+ - Compile-time type checking for all framework components
210
+ - Self-documenting code through TypeScript's type system
211
+
212
+ This approach eliminates the need to reference external documentation during development—everything you need is available in your IDE's autocomplete and type hints.
213
+
214
+ ### Application Classes
215
+
216
+ Dynamo-NTS provides two main application base classes that simplify Express server setup:
217
+
218
+ - **`DyNTS_App`**: Basic application class for standard HTTP server applications without real-time socket support
219
+ - **`DyNTS_AppExtended`**: Extended application class that includes built-in socket server capabilities for real-time communication (simplifies Socket.io setup)
220
+
221
+ Both classes abstract away Express server configuration, requiring you to implement several abstract methods with simple parameter objects:
222
+
223
+ - `getAppParams()`: Define application parameters (name, version, database name, etc.) - replaces Express app initialization
224
+ - `getGlobalServiceCollection()`: Configure global services (authentication, email, database models) - replaces manual service registration
225
+ - `getPortSettings()`: Configure HTTP/HTTPS ports - replaces Express server.listen() configuration
226
+ - `getRoutingModules()`: Define API routes and controllers - replaces Express router setup
227
+
228
+ ### Data Services
229
+
230
+ Data services provide a structured way to interact with MongoDB, simplifying Mongoose model and schema definitions:
231
+
232
+ - **`DyNTS_DBService<T>`**: Low-level MongoDB service for direct database operations (simplifies Mongoose model creation)
233
+ - **`DyNTS_DataService<T>`**: High-level data service with business logic, validation, and dependency management (simplifies MongoDB CRUD operations)
234
+ - **`DyNTS_ArchiveDataService<T>`**: Service for managing archived data in separate collections
235
+
236
+ Instead of manually creating Mongoose schemas and models, you define data models through `DyFM_DataModel_Params` (from FSM), and Dynamo-NTS handles schema generation, model creation, and connection management automatically. Data services handle CRUD operations, data validation, dependency tracking, and provide methods for searching, filtering, and managing data relationships.
237
+
238
+ ### Routing System
239
+
240
+ The routing system provides a structured approach to defining RESTful API endpoints, simplifying Express router configuration:
241
+
242
+ - **`DyNTS_RoutingModule`**: Groups related controllers under a common route path (replaces Express Router setup)
243
+ - **`DyNTS_Controller`**: Abstract base class for defining HTTP endpoints (simplifies Express route handlers)
244
+ - **`DyNTS_Endpoint_Params`**: Configuration for individual API endpoints (replaces Express route definitions)
245
+
246
+ Instead of manually setting up Express routers and route handlers, you define endpoints through parameter objects. Controllers define endpoints with support for:
247
+ - Multiple HTTP methods (GET, POST, PUT, PATCH, DELETE)
248
+ - Pre-processing middleware (authentication, validation)
249
+ - Task functions for handling requests
250
+ - Route security levels (open, secure, both)
251
+
252
+ ### Global Services
253
+
254
+ The `DyNTS_GlobalService` provides centralized access to:
255
+
256
+ - Authentication service
257
+ - Email service collection
258
+ - Database models registry
259
+ - Error handlers
260
+ - Socket server instances
261
+
262
+ ### Authentication
263
+
264
+ Dynamo-NTS provides an abstract `DyNTS_AuthService` class that you can extend to implement your authentication logic. The framework supports:
265
+
266
+ - Token-based authentication
267
+ - OAuth2 flows (via the OAuth2 module)
268
+ - Session management
269
+ - Route-level security configuration
270
+
271
+ ## Modules Overview
272
+
273
+ Dynamo-NTS is organized into focused modules, each providing specific functionality:
274
+
275
+ ### Main Module
276
+
277
+ The core foundation providing essential components:
278
+
279
+ - **Collections**: Archive utilities, global settings, environment configuration
280
+ - **Enums**: Data model types, service functions, route security levels
281
+ - **Models**: Application configuration interfaces, control models, database types
282
+ - **Services**: Core services for API communication, authentication, data management, routing
283
+
284
+ ### AI Module
285
+
286
+ Provides abstractions and implementations for AI operations:
287
+
288
+ - **Abstract Service Bases**: Base classes for AI providers, LLM services, LLM chat services, and embedding services
289
+ - **OpenAI Implementation**: Complete OpenAI integration with LLM, chat, and embedding support
290
+ - **Document AI**: Document chunking and preprocessing for AI models
291
+ - **Vector Search**: MongoDB Atlas vector database operations with automatic data vectorization
292
+
293
+ ### Assistant Module
294
+
295
+ Platform and AI provider agnostic solutions for creating intelligent assistants:
296
+
297
+ - Integrates communication providers (bot) with AI providers (LLM Chat)
298
+ - Message conversion utilities
299
+ - Conversation management
300
+ - Configurable settings for system prompts and message filtering
301
+
302
+ ### Bot Module
303
+
304
+ Platform-agnostic bot functionality:
305
+
306
+ - Message, channel, and user wrappers for any messaging platform
307
+ - Command system for bot commands
308
+ - Routine system for scheduled and event-driven tasks
309
+ - IO management for bot interactions
310
+ - Provider support for Discord, Slack, and Teams
311
+
312
+ ### Socket Module
313
+
314
+ Real-time communication capabilities that simplify Socket.io setup:
315
+
316
+ - Socket client and server implementations with secure and open connection options (simplifies Socket.io server initialization)
317
+ - Event handling system for managing real-time communications (replaces manual Socket.io event handler setup)
318
+ - Presence tracking for monitoring connected clients
319
+ - Error handling and logging for reliable operation
320
+ - Extended application class with built-in socket server capabilities (automatically configures Socket.io with Express server)
321
+
322
+ ### Messaging Module
323
+
324
+ Backend implementation for unified messaging system:
325
+
326
+ - Data services for messages and conversations
327
+ - Control services for business logic orchestration
328
+ - Real-time socket events
329
+ - RESTful HTTP endpoints
330
+ - Integration with bot and assistant modules
331
+
332
+ ### OAuth2 Module
333
+
334
+ Complete OAuth2.0 protocol implementation:
335
+
336
+ - OAuth2 authorization and token management
337
+ - Client management and user authentication
338
+ - Token exchange and refresh operations
339
+ - Authorization code and access token generation
340
+
341
+ ### Server Module
342
+
343
+ Solutions for basic server endpoints:
344
+
345
+ - Error handling for saving and retrieving server errors
346
+ - Server status monitoring with version and uptime information
347
+ - Server status snapshots for saving and retrieving status at specific times
348
+ - Error statistics for monitoring and analysis
349
+
350
+ ### Defaults Module
351
+
352
+ Default implementations for common services:
353
+
354
+ - Default user data model and service for authentication and user management
355
+ - Default authentication service with basic token-based authentication
356
+ - Default socket events service with graceful degradation
357
+ - All services can be extended or replaced with custom implementations
358
+
359
+ ### Custom Data Module
360
+
361
+ Tools for managing custom data:
362
+
363
+ - Data service for handling custom data operations with optional initialization
364
+ - Controller with RESTful endpoints for data operations
365
+ - GET endpoint for retrieving custom data by ID
366
+ - POST endpoint for modifying custom data
367
+ - Configurable routing module with optional security overrides
368
+
369
+ ### Test Module
370
+
371
+ Testing and monitoring tools:
372
+
373
+ - Test endpoints for different HTTP methods (GET, POST, DELETE)
374
+ - Server status endpoint with version and uptime information
375
+ - Configurable routing module with security override options
376
+ - Automatic controller registration for easy setup
377
+
378
+ ### Usage Module
379
+
380
+ Session and usage tracking tools:
381
+
382
+ - Session management tools for creating, updating, and closing sessions
383
+ - Usage data collection and analysis tools
384
+ - Location tracking from HTTP requests
385
+ - Usage statistics retrieval with time range filtering
386
+ - Daily usage statistics calculation
387
+
388
+ ## Usage Examples
389
+
390
+ ### Basic Application Setup
391
+
392
+ This example shows a complete application setup using `DyNTS_AppExtended`:
393
+
394
+ ```typescript
395
+ import {
396
+ DyNTS_AppExtended,
397
+ DyNTS_App_Params,
398
+ DyNTS_GlobalService_Settings,
399
+ DyNTS_Http_Settings,
400
+ DyNTS_RoutingModule
401
+ } from '@futdevpro/nts-dynamo';
402
+ import { DyNTS_SocketServerService } from '@futdevpro/nts-dynamo/socket';
403
+
99
404
  export class App extends DyNTS_AppExtended {
100
-
101
- ...
102
-
103
- // Setting up App params, and preparing project global settings
104
- setupAppParams(): void {
105
- this.params = new DyNTS_AppParams({
106
- name: 'Warbots Server',
107
- title: warbotsTitleLog,
108
- version: version,
109
- dbName: 'warbots',
405
+
406
+ getAppParams(): DyNTS_App_Params {
407
+ return new DyNTS_App_Params({
408
+ name: 'My Server',
409
+ version: '1.0.0',
410
+ dbName: 'myapp',
110
411
  });
111
-
112
- // dynamoNTS_GlobalSettings.logRequestsContent = false;
113
412
  }
114
-
115
- ...
413
+
414
+ getGlobalServiceCollection(): DyNTS_GlobalService_Settings {
415
+ return {
416
+ authService: AuthService.getInstance(),
417
+ dbModels: [
418
+ // Your data models
419
+ ],
420
+ };
421
+ }
422
+
423
+ getPortSettings(): DyNTS_Http_Settings {
424
+ return new DyNTS_Http_Settings({
425
+ httpPort: 3000,
426
+ });
427
+ }
428
+
429
+ getRoutingModules(): DyNTS_RoutingModule[] {
430
+ return [
431
+ new DyNTS_RoutingModule({
432
+ route: '/api',
433
+ controllers: [
434
+ MyController.getInstance(),
435
+ ],
436
+ }),
437
+ ];
438
+ }
439
+
440
+ getSocketServices(): DyNTS_SocketServerService<any>[] {
441
+ return [
442
+ MySocketService.getInstance(),
443
+ ];
444
+ }
445
+ }
446
+ ```
447
+
448
+ ### Routing Module Configuration
449
+
450
+ Multiple routing modules can be configured to organize your API:
451
+
452
+ ```typescript
453
+ getRoutingModules(): DyNTS_RoutingModule[] {
454
+ return [
455
+ new DyNTS_RoutingModule({
456
+ route: '/user',
457
+ controllers: [
458
+ User_Controller.getInstance(),
459
+ UserData_Controller.getInstance(),
460
+ UserSettings_Controller.getInstance(),
461
+ ],
462
+ }),
463
+ new DyNTS_RoutingModule({
464
+ route: '/project',
465
+ controllers: [
466
+ Project_Controller.getInstance(),
467
+ ProjectExtension_Controller.getInstance(),
468
+ ],
469
+ }),
470
+ new DyNTS_RoutingModule({
471
+ route: '/server',
472
+ controllers: [
473
+ ServerStatus_Controller.getInstance(),
474
+ ],
475
+ }),
476
+ DyNTS_getTestRoutingModule(),
477
+ DyNTS_getUsageRoutingModule(),
478
+ ];
479
+ }
480
+ ```
481
+
482
+ ### Controller Implementation
483
+
484
+ Controllers define API endpoints with authentication and business logic:
485
+
486
+ ```typescript
487
+ import { Request, Response } from 'express';
488
+ import { DyNTS_Controller, DyNTS_Endpoint_Params } from '@futdevpro/nts-dynamo';
489
+ import { DyFM_HttpCallType } from '@futdevpro/fsm-dynamo';
490
+
491
+ export class User_Controller extends DyNTS_Controller {
492
+
493
+ static getInstance(): User_Controller {
494
+ return User_Controller.getSingletonInstance();
495
+ }
496
+
497
+ private authService: AuthService = AuthService.getInstance();
498
+
499
+ setupEndpoints(): void {
500
+ this.endpoints = [
501
+ new DyNTS_Endpoint_Params({
502
+ name: 'getUser',
503
+ type: DyFM_HttpCallType.get,
504
+ endpoint: '/get/:userId',
505
+ preProcesses: [this.authService.authenticate_tokenSelf],
506
+ tasks: [
507
+ async (req: Request, res: Response, issuer: string): Promise<void> => {
508
+ const userService = new User_DataService({ issuer });
509
+ await userService.getDataById(req.params.userId);
510
+ res.send(userService.data);
511
+ },
512
+ ],
513
+ }),
514
+ new DyNTS_Endpoint_Params({
515
+ name: 'updateUser',
516
+ type: DyFM_HttpCallType.post,
517
+ endpoint: '/update',
518
+ preProcesses: [this.authService.authenticate_tokenSelf],
519
+ tasks: [
520
+ async (req: Request, res: Response, issuer: string): Promise<void> => {
521
+ const userService = new User_DataService({ issuer });
522
+ await userService.saveData(req.body);
523
+ res.send(userService.data);
524
+ },
525
+ ],
526
+ }),
527
+ ];
528
+ }
529
+ }
116
530
  ```
117
531
 
118
- ```scss
119
- @import '@futdevpro/ngx-dynamo';
532
+ ### Data Service Implementation
533
+
534
+ Data services provide a structured way to interact with MongoDB:
535
+
536
+ ```typescript
537
+ import { DyNTS_DataService } from '@futdevpro/nts-dynamo';
538
+ import { DyFM_DataModel_Params } from '@futdevpro/fsm-dynamo'; // FSM provides the data model parameter definition
539
+
540
+ // Define your data model parameters
541
+ const userDataParams: DyFM_DataModel_Params<UserData> = new DyFM_DataModel_Params({
542
+ dataName: 'userData',
543
+ typeSample: {
544
+ userId: '',
545
+ preferences: {},
546
+ },
547
+ // ... additional configuration
548
+ });
549
+
550
+ export class User_DataService extends DyNTS_DataService<UserData> {
551
+ constructor(params: { issuer: string }) {
552
+ super(userDataParams);
553
+ this.issuer = params.issuer;
554
+ }
555
+
556
+ // Custom business logic methods
557
+ async getUserPreferences(userId: string): Promise<UserPreferences> {
558
+ await this.getDataByDependencyId({ userId });
559
+ return this.data?.preferences || {};
560
+ }
561
+ }
120
562
  ```
121
563
 
122
- ```shell script
123
- npm run start
564
+ ### Socket Server Service
565
+
566
+ Socket services enable real-time communication:
567
+
568
+ ```typescript
569
+ import { DyNTS_SocketServerService, DyNTS_SocketPresence } from '@futdevpro/nts-dynamo/socket';
570
+
571
+ export class Chat_SocketServerService extends DyNTS_SocketServerService<DyNTS_SocketPresence, any> {
572
+
573
+ static getInstance(): Chat_SocketServerService {
574
+ return Chat_SocketServerService.getSingletonInstance();
575
+ }
576
+
577
+ protected setupSocketEvents(): void {
578
+ this.socketServer.on('connection', (socket) => {
579
+ socket.on('joinRoom', (roomId: string) => {
580
+ socket.join(roomId);
581
+ });
582
+
583
+ socket.on('sendMessage', async (data: { roomId: string; message: string }) => {
584
+ this.socketServer.to(data.roomId).emit('newMessage', data);
585
+ });
586
+ });
587
+ }
588
+ }
124
589
  ```
125
590
 
126
- ```html
127
- <dynamo-form [params]="newFeedbackFormParams"></dynamo-form>
591
+ ### Vector Search with AI
592
+
593
+ Dynamo-NTS provides built-in support for MongoDB Atlas vector search with automatic vectorization:
594
+
595
+ ```typescript
596
+ import { DyNTS_OAI_VectorDataService } from '@futdevpro/nts-dynamo/ai/open-ai';
597
+
598
+ export class Knowledge_DataService extends DyNTS_OAI_VectorDataService<Knowledge> {
599
+
600
+ constructor() {
601
+ super(knowledgeDataParams);
602
+ }
603
+
604
+ async searchSimilarContent(query: string, limit: number = 10): Promise<Knowledge[]> {
605
+ return await this.vectorSearch({
606
+ input: query,
607
+ searchInKey: 'content', // Property that has vectorization enabled
608
+ limit: limit,
609
+ numberOfCandidates: 100,
610
+ });
611
+ }
612
+ }
128
613
  ```
129
614
 
130
- ![NTS](/src/_assets/dynamo-nts-512.png)
615
+ The vector search automatically:
616
+ - Creates embeddings for search queries using the configured AI provider
617
+ - Performs semantic search in MongoDB Atlas vector database
618
+ - Returns results sorted by relevance
619
+ - Supports filtering with additional MongoDB queries
620
+
621
+ ## Ecosystem Integration
622
+
623
+ Dynamo-NTS is part of the unified **Dynamo ecosystem**, which consists of several interconnected packages:
624
+
625
+ ### Dynamo FSM (Full Stack Module)
626
+
627
+ The foundational package [`@futdevpro/fsm-dynamo`](https://www.npmjs.com/package/@futdevpro/fsm-dynamo) that provides:
628
+ - Core interfaces and types shared across the ecosystem
629
+ - Base model definitions (used by all Dynamo-NTS data services)
630
+ - Utility functions
631
+ - Type definitions for system-wide use
632
+ - Data model parameter definitions (`DyFM_DataModel_Params`)
633
+
634
+ Dynamo-NTS is built on top of Dynamo FSM and implements the server-side components of the FSM architecture. All data models, interfaces, and type definitions used in Dynamo-NTS are provided by FSM, ensuring consistency and type safety across the entire ecosystem.
635
+
636
+ ### Dynamo NGX (AngularX)
637
+
638
+ The frontend counterpart [`@futdevpro/dynamo-ngx`](https://www.npmjs.com/package/@futdevpro/dynamo-ngx) provides:
639
+ - Angular components and services
640
+ - Frontend models that integrate with Dynamo-NTS backend (using shared FSM types)
641
+ - Real-time communication clients (connects to Dynamo-NTS socket services)
642
+ - Form management and data table components
643
+
644
+ ### Unified Patterns
645
+
646
+ The Dynamo ecosystem enforces consistent patterns across all packages:
647
+
648
+ - **Naming Conventions**: Consistent prefixes (`DyNTS_` for backend, `DyNX_` for frontend, `DyFM_` for shared)
649
+ - **Type Safety**: Full TypeScript support with shared type definitions
650
+ - **Architecture Patterns**: Consistent service patterns, data models, and API structures
651
+ - **Error Handling**: Unified error handling across the stack
652
+ - **Logging**: Consistent logging patterns and utilities
653
+
654
+ This unified approach ensures that:
655
+ - Developers learn one set of patterns that apply everywhere
656
+ - Frontend and backend code integrate seamlessly
657
+ - Type safety is maintained across the entire stack
658
+ - Maintenance and updates are simplified
659
+
660
+ ## API Reference
661
+
662
+ For detailed API documentation, see:
663
+
664
+ - [Dynamo-NTS Documentation](documentations/specifications/dynamo-packages/dynamo-nts/dynamo-nts.md)
665
+ - [Dynamo FSM Documentation](documentations/specifications/dynamo-packages/dynamo-fsm/dynamo-fsm.md)
666
+ - [Dynamo Ecosystem Overview](documentations/specifications/dynamo-packages/dynamo_packages.md)
131
667
 
668
+ ## License
132
669
 
133
- - [![dependency - npm](../../svg/dependency_npm.svg)](https://www.npmjs.com/package/font-awesome) font-awesome 4.7.0
670
+ ISC
134
671
 
135
- | Dynamo verzió | Angular verzió |
136
- | :-----: | :------------: |
137
- | 01.01.x | 11.00.x |
138
- | 01.05.x | 13.00.x |
672
+ ## Support
139
673
 
140
- ...
674
+ For issues, questions, or contributions, please refer to the project repository.
@@ -1 +1 @@
1
- {"version":3,"file":"errors.data-service.d.ts","sourceRoot":"","sources":["../../../../src/_modules/server/errors/errors.data-service.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,aAAa,EAEU,UAAU,EAAE,eAAe,EACX,WAAW,EAClD,iBAAiB,EAEjB,UAAU,EAEV,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAGvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAEzE,qBAAa,wBAAwB,CACnC,OAAO,SAAS,UAAU,EAC1B,cAAc,SAAS,WAAW,CAAC,OAAO,CAAC,CAC3C,SAAQ,iBAAiB,CAAC,cAAc,CAAE,YAAW,2BAA2B,CAAC,OAAO,EAAE,cAAc,CAAC;IAEzG,QAAQ,EAAE,OAAO,CAAS;IAC1B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAuC;IAC/D,kBAAkB,EAAE,MAAM,CAAC;IAgBrB,WAAW,CACf,YAAY,EAAE,cAAc,EAC5B,MAAM,EAAE,MAAM,EACd,YAAY,CAAC,EAAE,OAAO,GACrB,OAAO,CAAC,IAAI,CAA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GACb,OAAO,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC;IAyBhC,YAAY,CAChB,WAAW,EAAE,gBAAgB,CAAC,cAAc,CAAC,EAC7C,MAAM,EAAE,MAAM,GACX,OAAO,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC;CAehD"}
1
+ {"version":3,"file":"errors.data-service.d.ts","sourceRoot":"","sources":["../../../../src/_modules/server/errors/errors.data-service.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,aAAa,EAEU,UAAU,EAAE,eAAe,EACX,WAAW,EAClD,iBAAiB,EAEjB,UAAU,EAEV,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAGvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAEzE,qBAAa,wBAAwB,CACnC,OAAO,SAAS,UAAU,EAC1B,cAAc,SAAS,WAAW,CAAC,OAAO,CAAC,CAC3C,SAAQ,iBAAiB,CAAC,cAAc,CAAE,YAAW,2BAA2B,CAAC,OAAO,EAAE,cAAc,CAAC;IAEzG,QAAQ,EAAE,OAAO,CAAS;IAC1B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAuC;IAC/D,kBAAkB,EAAE,MAAM,CAAC;IAgBrB,WAAW,CACf,YAAY,EAAE,cAAc,EAC5B,MAAM,EAAE,MAAM,EACd,YAAY,CAAC,EAAE,OAAO,GACrB,OAAO,CAAC,IAAI,CAAC;cAgJA,iBAAiB,CAC/B,KAAK,EAAE,aAAa,GAAG,GAAG,EAC1B,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,cAAc,CAAC;IA2CpB,mBAAmB,CACvB,KAAK,EAAE,OAAO,EACd,MAAM,EAAE,MAAM,EACd,YAAY,CAAC,EAAE,OAAO,GACrB,OAAO,CAAC,IAAI,CAAC;IAoBV,mBAAmB,CACvB,KAAK,EAAE,aAAa,GAAG,GAAG,EAC1B,MAAM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('Error:', errorsRecord);
110
110
  errorsRecord.priority = this.getPriorityMultiplierByLevel(errorsRecord?.level);
111
+ errorsRecord.duplications ??= [];
111
112
  errorsRecord.duplications.push(fsm_dynamo_1.DyFM_Object.clone(errorsRecord));
112
113
  this.duplicationCounter = 1;
113
114
  await this.saveData();
@@ -1 +1 @@
1
- {"version":3,"file":"errors.data-service.js","sourceRoot":"","sources":["../../../../src/_modules/server/errors/errors.data-service.ts"],"names":[],"mappings":";;;AAIA,sDAW+B;AAG/B,uFAAoF;AAEpF,uEAAyE;AAEzE,MAAa,wBAGX,SAAQ,gCAAiC;IAEzC,QAAQ,GAAY,KAAK,CAAC;IACjB,OAAO,GAAW,6CAAqB,CAAC,aAAa,CAAC;IAC/D,kBAAkB,CAAS;IAE3B;;;;;;;;;;;;QAYI;IAEJ,KAAK,CAAC,WAAW,CACf,YAA4B,EAC5B,MAAc,EACd,YAAsB;QAEtB,IAAI,CAAC;YACH,IAAI,MAAM,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;gBAC3B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;YACvB,CAAC;YAED,IACE,CAAC,YAAY;gBACb,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,QAAQ,CAAC,KAAK,CAAC;gBACnC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,QAAQ,CAAC,OAAO,CAAC;gBACrC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,EACpC,CAAC;gBACD,qBAAQ,CAAC,IAAI,CAAC,+BAA+B,CAAC,CAAC;gBAE/C,OAAO;YACT,CAAC;YAED,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;gBAC/B,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC;YAC3B,CAAC;YAED,IAAI,CAAC,YAAY,EAAE,CAAC;gBAClB,MAAM,IAAI,uBAAU,CAAC;oBACnB,GAAG,IAAI,CAAC,uBAAuB,CA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C,CAAC,CAAC,cAAc,GAAG,CAAC,CAAC,CAAC,cAAc,CACxD,CAAC;YAEF,OAAO,uBAAU,CAAC,KAAK,CAAC,MAAM,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC;QACvD,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,IAAI,uBAAU,CAAC;gBACnB,GAAG,IAAI,CAAC,uBAAuB,CAAC,eAAe,EAAE,KAAK,CAAC;gBAEvD,SAAS,EAAE,GAAG,6CAAqB,CAAC,mBAAmB,iBAAiB;aACzE,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IAED,KAAK,CAAC,YAAY,CAChB,WAA6C,EAC7C,MAAc;QAEd,IAAI,CAAC;YACH,IAAI,MAAM,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;gBAC3B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;YACvB,CAAC;YAED,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;QAC5C,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,IAAI,uBAAU,CAAC;gBACnB,GAAG,IAAI,CAAC,uBAAuB,CAAC,cAAc,EAAE,KAAK,CAAC;gBAEtD,SAAS,EAAE,GAAG,6CAAqB,CAAC,mBAAmB,gBAAgB;aACxE,CAAC,CAAC;QACL,CAAC;IACH,CAAC;CACF;AAzfD,4DAyfC"}
1
+ {"version":3,"file":"errors.data-service.js","sourceRoot":"","sources":["../../../../src/_modules/server/errors/errors.data-service.ts"],"names":[],"mappings":";;;AAIA,sDAW+B;AAG/B,uFAAoF;AAEpF,uEAAyE;AAEzE,MAAa,wBAGX,SAAQ,gCAAiC;IAEzC,QAAQ,GAAY,KAAK,CAAC;IACjB,OAAO,GAAW,6CAAqB,CAAC,aAAa,CAAC;IAC/D,kBAAkB,CAAS;IAE3B;;;;;;;;;;;;QAYI;IAEJ,KAAK,CAAC,WAAW,CACf,YAA4B,EAC5B,MAAc,EACd,YAA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AI,CAAC,MAAM,GAAG,MAAM,CAAC;YACvB,CAAC;YAED,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;QAC5C,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,IAAI,uBAAU,CAAC;gBACnB,GAAG,IAAI,CAAC,uBAAuB,CAAC,cAAc,EAAE,KAAK,CAAC;gBAEtD,SAAS,EAAE,GAAG,6CAAqB,CAAC,mBAAmB,gBAAgB;aACxE,CAAC,CAAC;QACL,CAAC;IACH,CAAC;CACF;AA1fD,4DA0fC"}
package/package.json CHANGED
@@ -1,12 +1,33 @@
1
1
  {
2
2
  "name": "@futdevpro/nts-dynamo",
3
- "version": "01.14.69",
3
+ "version": "01.14.71",
4
4
  "description": "Dynamic NodeTS (NodeJS-Typescript), MongoDB Backend System Framework by Future Development Program Ltd.",
5
5
  "DyBu_settings": {
6
6
  "packageType": "server-package",
7
7
  "tgzFolderName": "dynamo-nts",
8
8
  "systemName": "dynamo"
9
9
  },
10
+ "author": "Future Development Program Ltd.",
11
+ "license": "ISC",
12
+ "bugs": {
13
+ "url": "https://github.com/futdevpro/dynamo-nts/issues"
14
+ },
15
+ "homepage": "futdevpro.hu/projects/dynamo",
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "git+https://github.com/futdevpro/dynamo-nts.git"
19
+ },
20
+ "keywords": [
21
+ "nodejs",
22
+ "typescript",
23
+ "mongodb",
24
+ "dynamic",
25
+ "dynamo",
26
+ "nodets",
27
+ "futdevpro",
28
+ "futdevpro-nts",
29
+ "backend"
30
+ ],
10
31
  "scripts": {
11
32
  "prep": "npm i -g pnpm rimraf nodemon && pnpm i",
12
33
  "preprep-setup-safechain-windows": "iex (iwr \"https://raw.githubusercontent.com/AikidoSec/safe-chain/main/install-scripts/install-safe-chain.ps1\" -UseBasicParsing)",
@@ -267,31 +288,13 @@
267
288
  ]
268
289
  }
269
290
  },
270
- "repository": {
271
- "type": "git",
272
- "url": "git+https://gitlab.com/futdevpro/dynamo-be.git"
273
- },
274
- "keywords": [
275
- "nodejs",
276
- "typescript",
277
- "mongodb",
278
- "dynamic",
279
- "dynamo",
280
- "nodets"
281
- ],
282
- "author": "Future Development Program Ltd.",
283
- "license": "ISC",
284
- "bugs": {
285
- "url": "https://gitlab.com/futdevpro/dynamo-be/issues"
286
- },
287
- "homepage": "https:/futdevpro.hu/projects/dynamo",
288
291
  "DISABLED": {
289
- "@futdevpro/fsm-dynamo": "file:../tgz-collection/dynamo-fsm/futdevpro-fsm-dynamo-01.14.28.tgz",
292
+ "@futdevpro/fsm-dynamo": "file:../tgz-collection/dynamo-fsm/futdevpro-fsm-dynamo-01.14.29.tgz",
290
293
 
291
294
  "empty": ""
292
295
  },
293
296
  "peerDependencies": {
294
- "@futdevpro/fsm-dynamo": "1.14.28",
297
+ "@futdevpro/fsm-dynamo": "1.14.29",
295
298
 
296
299
  "@types/express": "4.17.21",
297
300
  "@types/geoip-lite": "~1.4.1",
@@ -307,7 +310,7 @@
307
310
  "ts-node": "~10.9.2"
308
311
  },
309
312
  "devDependencies": {
310
- "@futdevpro/dynamo-eslint": "1.14.24",
313
+ "@futdevpro/dynamo-eslint": "1.14.25",
311
314
  "@discordjs/opus": "^0.10.0",
312
315
  "@discordjs/voice": "^0.18.0",
313
316
  "@types/jasmine": "~4.3.5",
@@ -165,6 +165,7 @@ export class DyNTS_Errors_DataService<
165
165
  if (this.debugLog) DyFM_Log.error('Error:', errorsRecord);
166
166
 
167
167
  errorsRecord.priority = this.getPriorityMultiplierByLevel(errorsRecord?.level);
168
+ errorsRecord.duplications ??= [];
168
169
  errorsRecord.duplications.push(DyFM_Object.clone(errorsRecord));
169
170
 
170
171
  this.duplicationCounter = 1;