@gus-eip/loggers 4.1.6 → 4.1.8

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
@@ -1,92 +1,92 @@
1
- # @gus-eip/loggers
2
-
3
- ## Overview
4
-
5
- `@gus-eip/loggers` is a package designed to provide logging functionality for your Node.js applications. It offers integration with various logging services, including CloudWatchLogger.
6
-
7
- ## Installation
8
-
9
- You can install the package via npm:
10
-
11
- ```bash
12
- npm install @gus-eip/loggers
13
- ```
14
-
15
- ## Usage
16
-
17
- To use the logger module in your application, follow these steps:
18
-
19
- 1. Import `LoggerModule` from `@gus-eip/loggers` inside your module.
20
-
21
- ```javascript
22
- import { LoggerModule } from '@gus-eip/loggers';
23
- ```
24
-
25
- 2. Configure `LoggerModule` in your module by calling the `forRoot` method.
26
-
27
- ```javascript
28
- LoggerModule.forRoot({
29
- region: process.env.REGION,
30
- logGroupName: process.env.LOGGER_LOG_GROUP_NAME,
31
- options: 'CloudWatchLogger',
32
- }),
33
- ```
34
-
35
- Ensure you provide the necessary environment variables (`REGION` and `LOGGER_LOG_GROUP_NAME`) for configuration.
36
-
37
- ## Configuration Options
38
-
39
- - `region`: The AWS region where your CloudWatch logs are located.
40
- - `logGroupName`: The name of the log group where logs will be sent.
41
- - `options`: The options for the logger. Currently, only `'CloudWatchLogger'` is supported.
42
-
43
- ## Example
44
-
45
- ```javascript
46
- import { Module } from '@nestjs/common';
47
- import { LoggerModule } from '@gus-eip/loggers';
48
-
49
- @Module({
50
- imports: [
51
- LoggerModule.forRoot({
52
- region: process.env.REGION,
53
- logGroupName: process.env.LOGGER_LOG_GROUP_NAME,
54
- options: 'CloudWatchLogger',
55
- }),
56
- ],
57
- })
58
- export class AppModule {}
59
- ```
60
-
61
- ```
62
- This repository requires AWS SSM Parameter Store access to retrieve the SQS URL dynamically. Ensure that the application has permission to read LOGGER_SQS_URL.
63
-
64
- ```
65
-
66
- ## License
67
-
68
- This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
69
-
70
- ---
71
-
72
- ## OAP-EIP LOGGER
73
-
74
- Whenever any EIP integration (for example: `oap-handlers`, `oap-backend`, `eip-integration-handlers`, `platform-events-listener`, or `gus-middleware-service`) introduces a new use case, event, or component, follow these steps to keep this package as the single source of truth for EIP logging:
75
-
76
- 1. Add the new use case, event and component identifiers to `enum.ts`.
77
-
78
- 2. Add a user-friendly message/label for the use case in `mappings/usecase-mapping.ts`.
79
-
80
- 3. Update `mappings/source-destination-mapping.ts` to include the use case and the corresponding brand(s) with their `source` and `destination` values. If the use case already exists and a newly onboarded brand uses it, add the brand under that existing use case entry.
81
-
82
- Notes:
83
-
84
- - The `mappings/source-destination-mapping.ts` file is the ultimate source of truth for EIP logger routing and should accurately reflect brand → use case → (source, destination) mappings.
85
- - Keep `enum.ts` identifiers stable. Prefer adding new identifiers rather than renaming existing ones to avoid breaking downstream projects.
86
-
87
- Publishing and downstream updates:
88
-
89
- - After making changes, bump and publish this package.
90
- - Then update the dependency version used by the `gus-eip-analytics` repository: set the new package version in the `dev` branch for development deployments and in the `prod` branch for production deployments so downstream services pick up the release.
91
-
92
- ---
1
+ # @gus-eip/loggers
2
+
3
+ ## Overview
4
+
5
+ `@gus-eip/loggers` is a package designed to provide logging functionality for your Node.js applications. It offers integration with various logging services, including CloudWatchLogger.
6
+
7
+ ## Installation
8
+
9
+ You can install the package via npm:
10
+
11
+ ```bash
12
+ npm install @gus-eip/loggers
13
+ ```
14
+
15
+ ## Usage
16
+
17
+ To use the logger module in your application, follow these steps:
18
+
19
+ 1. Import `LoggerModule` from `@gus-eip/loggers` inside your module.
20
+
21
+ ```javascript
22
+ import { LoggerModule } from '@gus-eip/loggers';
23
+ ```
24
+
25
+ 2. Configure `LoggerModule` in your module by calling the `forRoot` method.
26
+
27
+ ```javascript
28
+ LoggerModule.forRoot({
29
+ region: process.env.REGION,
30
+ logGroupName: process.env.LOGGER_LOG_GROUP_NAME,
31
+ options: 'CloudWatchLogger',
32
+ }),
33
+ ```
34
+
35
+ Ensure you provide the necessary environment variables (`REGION` and `LOGGER_LOG_GROUP_NAME`) for configuration.
36
+
37
+ ## Configuration Options
38
+
39
+ - `region`: The AWS region where your CloudWatch logs are located.
40
+ - `logGroupName`: The name of the log group where logs will be sent.
41
+ - `options`: The options for the logger. Currently, only `'CloudWatchLogger'` is supported.
42
+
43
+ ## Example
44
+
45
+ ```javascript
46
+ import { Module } from '@nestjs/common';
47
+ import { LoggerModule } from '@gus-eip/loggers';
48
+
49
+ @Module({
50
+ imports: [
51
+ LoggerModule.forRoot({
52
+ region: process.env.REGION,
53
+ logGroupName: process.env.LOGGER_LOG_GROUP_NAME,
54
+ options: 'CloudWatchLogger',
55
+ }),
56
+ ],
57
+ })
58
+ export class AppModule {}
59
+ ```
60
+
61
+ ```
62
+ This repository requires AWS SSM Parameter Store access to retrieve the SQS URL dynamically. Ensure that the application has permission to read LOGGER_SQS_URL.
63
+
64
+ ```
65
+
66
+ ## License
67
+
68
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
69
+
70
+ ---
71
+
72
+ ## OAP-EIP LOGGER
73
+
74
+ Whenever any EIP integration (for example: `oap-handlers`, `oap-backend`, `eip-integration-handlers`, `platform-events-listener`, or `gus-middleware-service`) introduces a new use case, event, or component, follow these steps to keep this package as the single source of truth for EIP logging:
75
+
76
+ 1. Add the new use case, event and component identifiers to `enum.ts`.
77
+
78
+ 2. Add a user-friendly message/label for the use case in `mappings/usecase-mapping.ts`.
79
+
80
+ 3. Update `mappings/source-destination-mapping.ts` to include the use case and the corresponding brand(s) with their `source` and `destination` values. If the use case already exists and a newly onboarded brand uses it, add the brand under that existing use case entry.
81
+
82
+ Notes:
83
+
84
+ - The `mappings/source-destination-mapping.ts` file is the ultimate source of truth for EIP logger routing and should accurately reflect brand → use case → (source, destination) mappings.
85
+ - Keep `enum.ts` identifiers stable. Prefer adding new identifiers rather than renaming existing ones to avoid breaking downstream projects.
86
+
87
+ Publishing and downstream updates:
88
+
89
+ - After making changes, bump and publish this package.
90
+ - Then update the dependency version used by the `gus-eip-analytics` repository: set the new package version in the `dev` branch for development deployments and in the `prod` branch for production deployments so downstream services pick up the release.
91
+
92
+ ---
package/dist/enum.d.ts CHANGED
@@ -578,6 +578,18 @@ export declare class LoggerEnum {
578
578
  AWARDS_AND_HONORS: string;
579
579
  ADDITIONAL_INFORMATION: string;
580
580
  DISCLOSURES: string;
581
+ CONTACT_DETAILS: string;
582
+ QUALIFICATION: string;
583
+ PERSONAL_STATEMENT: string;
584
+ VISA: string;
585
+ REFEREES: string;
586
+ FUNDING: string;
587
+ SUBMISSION: string;
588
+ PROGRAM_MATERIALS: string;
589
+ PERSONAL_INFORMATION: string;
590
+ SUPPORTING_INFORMATION: string;
591
+ RECOMMENDATIONS: string;
592
+ STUDENT_ACCESSIBILITY_AND_DECLARATIONS: string;
581
593
  };
582
594
  Component: {
583
595
  OAP_FRONTEND: string;
package/dist/enum.js CHANGED
@@ -589,6 +589,18 @@ let LoggerEnum = class LoggerEnum {
589
589
  AWARDS_AND_HONORS: 'SAVE_AWARDS_AND_HONORS',
590
590
  ADDITIONAL_INFORMATION: 'SAVE_ADDITIONAL_INFORMATION',
591
591
  DISCLOSURES: 'SAVE_DISCLOSURES',
592
+ CONTACT_DETAILS: 'SAVE_CONTACT_DETAILS',
593
+ QUALIFICATION: 'SAVE_QUALIFICATION_DETAILS',
594
+ PERSONAL_STATEMENT: 'SAVE_PERSONAL_STATEMENT',
595
+ VISA: 'SAVE_VISA_DETAILS',
596
+ REFEREES: 'SAVE_REFEREE_DETAILS',
597
+ FUNDING: 'SAVE_FUNDING_DETAILS',
598
+ SUBMISSION: 'SAVE_SUBMISSION_DETAILS',
599
+ PROGRAM_MATERIALS: 'SAVE_PROGRAM_MATERIALS',
600
+ PERSONAL_INFORMATION: 'SAVE_PERSONAL_INFORMATION',
601
+ SUPPORTING_INFORMATION: 'SAVE_SUPPORTING_INFORMATION',
602
+ RECOMMENDATIONS: 'SAVE_RECOMMENDATIONS',
603
+ STUDENT_ACCESSIBILITY_AND_DECLARATIONS: 'SAVE_STUDENT_ACCESSIBILITY_AND_DECLARATIONS',
592
604
  };
593
605
  this.Component = {
594
606
  OAP_FRONTEND: 'OAP-FRONTEND',
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.BRAND_USECASE_MAPPING = void 0;
4
4
  exports.BRAND_USECASE_MAPPING = [
5
5
  {
6
- brands: ['LIM College', 'HZU', 'IBAT', 'LSBFMYR', 'UEG', 'UCW', 'UNFC', 'WUL'],
6
+ brands: ['LIM College', 'HZU', 'IBAT', 'LSBFMYR', 'UEG', 'UCW', 'UNFC', 'WUL', 'Arden University', 'PU'],
7
7
  usecase: 'SAVE_BASIC_DETAILS',
8
8
  source: 'OAP',
9
9
  destination: 'GUS Salesforce',
@@ -39,7 +39,7 @@ exports.BRAND_USECASE_MAPPING = [
39
39
  destination: 'GUS Salesforce',
40
40
  },
41
41
  {
42
- brands: ['LIM College', 'HZU', 'IBAT', 'LSBFMYR', 'UEG'],
42
+ brands: ['LIM College', 'HZU', 'IBAT', 'LSBFMYR', 'UEG', 'Arden University'],
43
43
  usecase: 'SAVE_PERSONAL_DETAILS',
44
44
  source: 'OAP',
45
45
  destination: 'GUS Salesforce',
@@ -51,19 +51,19 @@ exports.BRAND_USECASE_MAPPING = [
51
51
  destination: 'GUS Salesforce',
52
52
  },
53
53
  {
54
- brands: ['LIM College', 'HZU', 'IBAT', 'LSBFMYR', 'UNFC', 'UEG', 'UCW', 'WUL'],
54
+ brands: ['LIM College', 'HZU', 'IBAT', 'LSBFMYR', 'UNFC', 'UEG', 'UCW', 'WUL', 'Arden University', 'PU'],
55
55
  usecase: 'SUBMIT_APPLICATION',
56
56
  source: 'OAP',
57
57
  destination: 'GUS Salesforce',
58
58
  },
59
59
  {
60
- brands: ['LIM College', 'HZU', 'IBAT', 'LSBFMYR', 'UNFC', 'UEG', 'WUL'],
60
+ brands: ['LIM College', 'HZU', 'IBAT', 'LSBFMYR', 'UNFC', 'UEG', 'WUL', 'Arden University', 'PU'],
61
61
  usecase: 'UPLOAD_DOCUMENT',
62
62
  source: 'OAP',
63
63
  destination: 'GUS Salesforce',
64
64
  },
65
65
  {
66
- brands: ['LIM College', 'HZU', 'IBAT', 'LSBFMYR', 'UNFC', 'UEG', 'WUL'],
66
+ brands: ['LIM College', 'HZU', 'IBAT', 'LSBFMYR', 'UNFC', 'UEG', 'WUL', 'Arden University', 'PU'],
67
67
  usecase: 'GUS_SALESFORCE_OPERATION',
68
68
  source: 'OAP',
69
69
  destination: 'GUS Salesforce',
@@ -81,7 +81,7 @@ exports.BRAND_USECASE_MAPPING = [
81
81
  destination: 'GUS Salesforce',
82
82
  },
83
83
  {
84
- brands: ['UCW', 'UNFC', 'UEG'],
84
+ brands: ['UCW', 'UNFC', 'UEG', 'PU'],
85
85
  usecase: 'SAVE_STANDARDIZED_TESTS_DETAILS',
86
86
  source: 'OAP',
87
87
  destination: 'GUS Salesforce',
@@ -105,11 +105,95 @@ exports.BRAND_USECASE_MAPPING = [
105
105
  destination: 'GUS Salesforce',
106
106
  },
107
107
  {
108
- brands: ['LIM College', 'HZU', 'IBAT', 'LSBFMYR', 'UNFC', 'UEG', 'UCW', 'WUL'],
108
+ brands: ['LIM College', 'HZU', 'IBAT', 'LSBFMYR', 'UNFC', 'UEG', 'UCW', 'WUL', 'Arden University', 'PU'],
109
109
  usecase: 'SAVE_PROGRAMME_DETAILS',
110
110
  source: 'OAP',
111
111
  destination: 'GUS Salesforce',
112
112
  },
113
+ {
114
+ brands: ['Arden University'],
115
+ usecase: 'SAVE_CONTACT_DETAILS',
116
+ source: 'OAP',
117
+ destination: 'GUS Salesforce',
118
+ },
119
+ {
120
+ brands: ['Arden University'],
121
+ usecase: 'SAVE_QUALIFICATION_DETAILS',
122
+ source: 'OAP',
123
+ destination: 'GUS Salesforce',
124
+ },
125
+ {
126
+ brands: ['Arden University'],
127
+ usecase: 'SAVE_PERSONAL_STATEMENT',
128
+ source: 'OAP',
129
+ destination: 'GUS Salesforce',
130
+ },
131
+ {
132
+ brands: ['Arden University'],
133
+ usecase: 'SAVE_VISA_DETAILS',
134
+ source: 'OAP',
135
+ destination: 'GUS Salesforce',
136
+ },
137
+ {
138
+ brands: ['Arden University'],
139
+ usecase: 'SAVE_REFEREE_DETAILS',
140
+ source: 'OAP',
141
+ destination: 'GUS Salesforce',
142
+ },
143
+ {
144
+ brands: ['Arden University'],
145
+ usecase: 'SAVE_FUNDING_DETAILS',
146
+ source: 'OAP',
147
+ destination: 'GUS Salesforce',
148
+ },
149
+ {
150
+ brands: ['Arden University'],
151
+ usecase: 'SAVE_SUBMISSION_DETAILS',
152
+ source: 'OAP',
153
+ destination: 'GUS Salesforce',
154
+ },
155
+ {
156
+ brands: ['PU'],
157
+ usecase: 'SAVE_IDENTITY_INFORMATION',
158
+ source: 'OAP',
159
+ destination: 'GUS Salesforce',
160
+ },
161
+ {
162
+ brands: ['PU'],
163
+ usecase: 'SAVE_PERSONAL_INFORMATION',
164
+ source: 'OAP',
165
+ destination: 'GUS Salesforce',
166
+ },
167
+ {
168
+ brands: ['PU'],
169
+ usecase: 'SAVE_ACADEMIC_HISTORY',
170
+ source: 'OAP',
171
+ destination: 'GUS Salesforce',
172
+ },
173
+ {
174
+ brands: ['PU'],
175
+ usecase: 'SAVE_PROGRAM_MATERIALS',
176
+ source: 'OAP',
177
+ destination: 'GUS Salesforce',
178
+ },
179
+ {
180
+ brands: ['PU'],
181
+ usecase: 'SAVE_SUPPORTING_INFORMATION',
182
+ source: 'OAP',
183
+ destination: 'GUS Salesforce',
184
+ },
185
+ {
186
+ brands: ['PU'],
187
+ usecase: 'SAVE_RECOMMENDATIONS',
188
+ source: 'OAP',
189
+ destination: 'GUS Salesforce',
190
+ },
191
+ {
192
+ brands: ['PU'],
193
+ usecase: 'SAVE_STUDENT_ACCESSIBILITY_AND_DECLARATIONS',
194
+ source: 'OAP',
195
+ destination: 'GUS Salesforce',
196
+ },
113
197
  {
114
198
  brands: ['UCW'],
115
199
  usecase: 'SAVE_AWARDS_DETAILS',
@@ -123,7 +207,7 @@ exports.BRAND_USECASE_MAPPING = [
123
207
  destination: 'GUS Salesforce',
124
208
  },
125
209
  {
126
- brands: ['UCW'],
210
+ brands: ['UCW', 'PU'],
127
211
  usecase: 'SAVE_IDENTITY_INFORMATION',
128
212
  source: 'OAP',
129
213
  destination: 'GUS Salesforce',
@@ -561,55 +645,55 @@ exports.BRAND_USECASE_MAPPING = [
561
645
  destination: 'GUS Salesforce',
562
646
  },
563
647
  {
564
- brands: ['ARD'],
648
+ brands: ['Arden University'],
565
649
  usecase: 'ADDITIONAL_DOCUMENTS_REQUIRED',
566
650
  source: 'Arden DCRM',
567
651
  destination: 'GUS Salesforce',
568
652
  },
569
653
  {
570
- brands: ['ARD'],
654
+ brands: ['Arden University'],
571
655
  usecase: 'ADDITIONAL_INFORMATION_REQUIRED',
572
656
  source: 'Arden DCRM',
573
657
  destination: 'GUS Salesforce',
574
658
  },
575
659
  {
576
- brands: ['ARD'],
660
+ brands: ['Arden University'],
577
661
  usecase: 'APPLICATION_INTAKE_CHANGE',
578
662
  source: 'Arden DCRM',
579
663
  destination: 'GUS Salesforce',
580
664
  },
581
665
  {
582
- brands: ['ARD'],
666
+ brands: ['Arden University'],
583
667
  usecase: 'CLOSED_LOST_STAGE',
584
668
  source: 'Arden DCRM',
585
669
  destination: 'GUS Salesforce',
586
670
  },
587
671
  {
588
- brands: ['ARD'],
672
+ brands: ['Arden University'],
589
673
  usecase: 'ENROLMENT_STAGE',
590
674
  source: 'Arden DCRM',
591
675
  destination: 'GUS Salesforce',
592
676
  },
593
677
  {
594
- brands: ['ARD'],
678
+ brands: ['Arden University'],
595
679
  usecase: 'OFFER_STAGE',
596
680
  source: 'Arden DCRM',
597
681
  destination: 'GUS Salesforce',
598
682
  },
599
683
  {
600
- brands: ['ARD'],
684
+ brands: ['Arden University'],
601
685
  usecase: 'PAYMENT_RECEIVED',
602
686
  source: 'Arden DCRM',
603
687
  destination: 'GUS Salesforce',
604
688
  },
605
689
  {
606
- brands: ['ARD'],
690
+ brands: ['Arden University'],
607
691
  usecase: 'REJECT_DOCUMENT',
608
692
  source: 'Arden DCRM',
609
693
  destination: 'GUS Salesforce',
610
694
  },
611
695
  {
612
- brands: ['ARD'],
696
+ brands: ['Arden University'],
613
697
  usecase: 'VISA_STATUS_UPDATE',
614
698
  source: 'Arden DCRM',
615
699
  destination: 'GUS Salesforce',
@@ -633,7 +717,7 @@ exports.BRAND_USECASE_MAPPING = [
633
717
  destination: 'GUS Salesforce',
634
718
  },
635
719
  {
636
- brands: ['WUL'],
720
+ brands: ['WUL', 'PU'],
637
721
  usecase: 'SAVE_ACADEMIC_HISTORY',
638
722
  source: 'OAP',
639
723
  destination: 'GUS Salesforce',
@@ -645,7 +729,7 @@ exports.BRAND_USECASE_MAPPING = [
645
729
  destination: 'GUS Salesforce',
646
730
  },
647
731
  {
648
- brands: ['WUL'],
732
+ brands: ['WUL', 'Arden University'],
649
733
  usecase: 'SAVE_EXPERIENCE',
650
734
  source: 'OAP',
651
735
  destination: 'GUS Salesforce',
@@ -92,5 +92,20 @@ export declare enum UsecaseMapping {
92
92
  ENROLMENT_STAGE = "Enrolment Stage",
93
93
  SAVE_INSTRUCTIONS = "Save Instructions",
94
94
  SAVE_PERSONAL_BACKGROUND = "Save Personal Background",
95
- SAVE_ADDITIONAL_APPLICANT_INFO = "Save Additional Applicant Information"
95
+ SAVE_ADDITIONAL_APPLICANT_INFO = "Save Additional Applicant Information",
96
+ SAVE_CONTACT_DETAILS = "Save Contact Details",
97
+ SAVE_QUALIFICATION_DETAILS = "Save Qualification Details",
98
+ SAVE_PERSONAL_STATEMENT = "Save Personal Statement",
99
+ SAVE_VISA_DETAILS = "Save Visa Details",
100
+ SAVE_REFEREE_DETAILS = "Save Referee Details",
101
+ SAVE_FUNDING_DETAILS = "Save Funding Details",
102
+ SAVE_SUBMISSION_DETAILS = "Save Submission Details",
103
+ SAVE_IDENTITY_INFORMATION = "Save Identity Information",
104
+ SAVE_PERSONAL_INFORMATION = "Save Personal Information",
105
+ SAVE_ACADEMIC_HISTORY = "Save Academic History",
106
+ SAVE_PROGRAM_MATERIALS = "Save Program Materials",
107
+ SAVE_SUPPORTING_INFORMATION = "Save Supporting Information",
108
+ SAVE_RECOMMENDATIONS = "Save Recommendations",
109
+ SAVE_STUDENT_ACCESSIBILITY_AND_DECLARATIONS = "Save Student Accessibility and Declarations",
110
+ SAVE_EXPERIENCE = "Save Experience"
96
111
  }
@@ -97,4 +97,19 @@ var UsecaseMapping;
97
97
  UsecaseMapping["SAVE_INSTRUCTIONS"] = "Save Instructions";
98
98
  UsecaseMapping["SAVE_PERSONAL_BACKGROUND"] = "Save Personal Background";
99
99
  UsecaseMapping["SAVE_ADDITIONAL_APPLICANT_INFO"] = "Save Additional Applicant Information";
100
+ UsecaseMapping["SAVE_CONTACT_DETAILS"] = "Save Contact Details";
101
+ UsecaseMapping["SAVE_QUALIFICATION_DETAILS"] = "Save Qualification Details";
102
+ UsecaseMapping["SAVE_PERSONAL_STATEMENT"] = "Save Personal Statement";
103
+ UsecaseMapping["SAVE_VISA_DETAILS"] = "Save Visa Details";
104
+ UsecaseMapping["SAVE_REFEREE_DETAILS"] = "Save Referee Details";
105
+ UsecaseMapping["SAVE_FUNDING_DETAILS"] = "Save Funding Details";
106
+ UsecaseMapping["SAVE_SUBMISSION_DETAILS"] = "Save Submission Details";
107
+ UsecaseMapping["SAVE_IDENTITY_INFORMATION"] = "Save Identity Information";
108
+ UsecaseMapping["SAVE_PERSONAL_INFORMATION"] = "Save Personal Information";
109
+ UsecaseMapping["SAVE_ACADEMIC_HISTORY"] = "Save Academic History";
110
+ UsecaseMapping["SAVE_PROGRAM_MATERIALS"] = "Save Program Materials";
111
+ UsecaseMapping["SAVE_SUPPORTING_INFORMATION"] = "Save Supporting Information";
112
+ UsecaseMapping["SAVE_RECOMMENDATIONS"] = "Save Recommendations";
113
+ UsecaseMapping["SAVE_STUDENT_ACCESSIBILITY_AND_DECLARATIONS"] = "Save Student Accessibility and Declarations";
114
+ UsecaseMapping["SAVE_EXPERIENCE"] = "Save Experience";
100
115
  })(UsecaseMapping || (exports.UsecaseMapping = UsecaseMapping = {}));
package/package.json CHANGED
@@ -1,79 +1,79 @@
1
- {
2
- "name": "@gus-eip/loggers",
3
- "version": "4.1.6",
4
- "description": "@gus-eip/loggers is a package designed to provide logging functionality for your Node.js applications.",
5
- "author": "gus",
6
- "readmeFilename": "README.md",
7
- "main": "dist/index.js",
8
- "files": [
9
- "dist/**/*",
10
- "*.md"
11
- ],
12
- "scripts": {
13
- "start:dev": "tsc -w",
14
- "build": "tsc",
15
- "prepare": "npm run build",
16
- "format": "prettier --write \"src/**/*.ts\"",
17
- "lint": "tslint -p tsconfig.json -c tslint.json",
18
- "test": "node --experimental-vm-modules ./node_modules/.bin/jest",
19
- "test:watch": "jest --watch",
20
- "test:cov": "jest --coverage",
21
- "test:e2e": "jest --config ./test/jest-e2e.json"
22
- },
23
- "keywords": [
24
- "nestjs",
25
- "nodejs",
26
- "javascript",
27
- "typescript",
28
- "eip-loggers"
29
- ],
30
- "publishConfig": {
31
- "access": "public"
32
- },
33
- "dependencies": {
34
- "@aws-sdk/client-ssm": "^3.759.0",
35
- "aws-sdk": "^2.1590.0",
36
- "axios": "^1.7.4"
37
- },
38
- "devDependencies": {
39
- "@nestjs/common": "^10.0.2",
40
- "@nestjs/core": "^10.0.2",
41
- "@nestjs/platform-express": "^10.0.2",
42
- "@nestjs/testing": "10.0.2",
43
- "@types/express": "4.17.17",
44
- "@types/jest": "29.5.2",
45
- "@types/lodash": "^4.17.7",
46
- "@types/node": "20.3.1",
47
- "@types/supertest": "2.0.12",
48
- "@typescript-eslint/eslint-plugin": "^5.60.0",
49
- "@typescript-eslint/parser": "^5.60.0",
50
- "eslint": "^8.43.0",
51
- "eslint-config-prettier": "^8.8.0",
52
- "eslint-plugin-prettier": "^4.2.1",
53
- "jest": "29.5.0",
54
- "prettier": "2.8.8",
55
- "reflect-metadata": "^0.1.13",
56
- "rxjs": "^7.8.1",
57
- "supertest": "6.3.3",
58
- "ts-jest": "29.1.0",
59
- "ts-node": "10.9.1",
60
- "tsc-watch": "6.0.4",
61
- "tsconfig-paths": "4.2.0",
62
- "tslint": "5.20.1",
63
- "typescript": "^5.5.4"
64
- },
65
- "jest": {
66
- "moduleFileExtensions": [
67
- "js",
68
- "json",
69
- "ts"
70
- ],
71
- "rootDir": "src",
72
- "testRegex": ".spec.ts$",
73
- "transform": {
74
- "^.+\\.(t|j)s$": "ts-jest"
75
- },
76
- "coverageDirectory": "../coverage",
77
- "testEnvironment": "node"
78
- }
79
- }
1
+ {
2
+ "name": "@gus-eip/loggers",
3
+ "version": "4.1.8",
4
+ "description": "@gus-eip/loggers is a package designed to provide logging functionality for your Node.js applications.",
5
+ "author": "gus",
6
+ "readmeFilename": "README.md",
7
+ "main": "dist/index.js",
8
+ "files": [
9
+ "dist/**/*",
10
+ "*.md"
11
+ ],
12
+ "scripts": {
13
+ "start:dev": "tsc -w",
14
+ "build": "tsc",
15
+ "prepare": "npm run build",
16
+ "format": "prettier --write \"src/**/*.ts\"",
17
+ "lint": "tslint -p tsconfig.json -c tslint.json",
18
+ "test": "node --experimental-vm-modules ./node_modules/.bin/jest",
19
+ "test:watch": "jest --watch",
20
+ "test:cov": "jest --coverage",
21
+ "test:e2e": "jest --config ./test/jest-e2e.json"
22
+ },
23
+ "keywords": [
24
+ "nestjs",
25
+ "nodejs",
26
+ "javascript",
27
+ "typescript",
28
+ "eip-loggers"
29
+ ],
30
+ "publishConfig": {
31
+ "access": "public"
32
+ },
33
+ "dependencies": {
34
+ "@aws-sdk/client-ssm": "^3.759.0",
35
+ "aws-sdk": "^2.1590.0",
36
+ "axios": "^1.7.4"
37
+ },
38
+ "devDependencies": {
39
+ "@nestjs/common": "^10.0.2",
40
+ "@nestjs/core": "^10.0.2",
41
+ "@nestjs/platform-express": "^10.0.2",
42
+ "@nestjs/testing": "10.0.2",
43
+ "@types/express": "4.17.17",
44
+ "@types/jest": "29.5.2",
45
+ "@types/lodash": "^4.17.7",
46
+ "@types/node": "20.3.1",
47
+ "@types/supertest": "2.0.12",
48
+ "@typescript-eslint/eslint-plugin": "^5.60.0",
49
+ "@typescript-eslint/parser": "^5.60.0",
50
+ "eslint": "^8.43.0",
51
+ "eslint-config-prettier": "^8.8.0",
52
+ "eslint-plugin-prettier": "^4.2.1",
53
+ "jest": "29.5.0",
54
+ "prettier": "2.8.8",
55
+ "reflect-metadata": "^0.1.13",
56
+ "rxjs": "^7.8.1",
57
+ "supertest": "6.3.3",
58
+ "ts-jest": "29.1.0",
59
+ "ts-node": "10.9.1",
60
+ "tsc-watch": "6.0.4",
61
+ "tsconfig-paths": "4.2.0",
62
+ "tslint": "5.20.1",
63
+ "typescript": "^5.5.4"
64
+ },
65
+ "jest": {
66
+ "moduleFileExtensions": [
67
+ "js",
68
+ "json",
69
+ "ts"
70
+ ],
71
+ "rootDir": "src",
72
+ "testRegex": ".spec.ts$",
73
+ "transform": {
74
+ "^.+\\.(t|j)s$": "ts-jest"
75
+ },
76
+ "coverageDirectory": "../coverage",
77
+ "testEnvironment": "node"
78
+ }
79
+ }