File tree 7 files changed +22
-6
lines changed
neo4j-driver-deno/lib/core
7 files changed +22
-6
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ Object.freeze(notificationFilterMinimumSeverityLevel)
41
41
42
42
type NotificationFilterDisabledCategory = ExcludeUnknown < NotificationCategory >
43
43
/**
44
- * @typedef {'HINT' | 'UNRECOGNIZED' | 'UNSUPPORTED' |'PERFORMANCE' | 'DEPRECATION' | 'GENERIC' } NotificationFilterDisabledCategory
44
+ * @typedef {'HINT' | 'UNRECOGNIZED' | 'UNSUPPORTED' |'PERFORMANCE' | 'TOPOLOGY' | 'SECURITY' | ' DEPRECATION' | 'GENERIC' } NotificationFilterDisabledCategory
45
45
*/
46
46
/**
47
47
* Constants that represents the disabled categories in the {@link NotificationFilter}
@@ -51,6 +51,8 @@ const notificationFilterDisabledCategory: EnumRecord<NotificationFilterDisabledC
51
51
UNRECOGNIZED : 'UNRECOGNIZED' ,
52
52
UNSUPPORTED : 'UNSUPPORTED' ,
53
53
PERFORMANCE : 'PERFORMANCE' ,
54
+ TOPOLOGY : 'TOPOLOGY' ,
55
+ SECURITY : 'SECURITY' ,
54
56
DEPRECATION : 'DEPRECATION' ,
55
57
GENERIC : 'GENERIC'
56
58
}
Original file line number Diff line number Diff line change @@ -436,9 +436,9 @@ Object.freeze(notificationSeverityLevel)
436
436
const severityLevels = Object . values ( notificationSeverityLevel )
437
437
438
438
type NotificationCategory = 'HINT' | 'UNRECOGNIZED' | 'UNSUPPORTED' | 'PERFORMANCE' |
439
- 'DEPRECATION' | 'GENERIC' | 'UNKNOWN'
439
+ 'TOPOLOGY' | 'SECURITY' | ' DEPRECATION' | 'GENERIC' | 'UNKNOWN'
440
440
/**
441
- * @typedef {'HINT' | 'UNRECOGNIZED' | 'UNSUPPORTED' |'PERFORMANCE' | 'DEPRECATION' | 'GENERIC' | 'UNKNOWN' } NotificationCategory
441
+ * @typedef {'HINT' | 'UNRECOGNIZED' | 'UNSUPPORTED' |'PERFORMANCE' | 'TOPOLOGY' | 'SECURITY' | ' DEPRECATION' | 'GENERIC' | 'UNKNOWN' } NotificationCategory
442
442
*/
443
443
/**
444
444
* Constants that represents the Category in the {@link Notification}
@@ -449,6 +449,8 @@ const notificationCategory: { [key in NotificationCategory]: key } = {
449
449
UNSUPPORTED : 'UNSUPPORTED' ,
450
450
PERFORMANCE : 'PERFORMANCE' ,
451
451
DEPRECATION : 'DEPRECATION' ,
452
+ TOPOLOGY : 'TOPOLOGY' ,
453
+ SECURITY : 'SECURITY' ,
452
454
GENERIC : 'GENERIC' ,
453
455
UNKNOWN : 'UNKNOWN'
454
456
}
Original file line number Diff line number Diff line change @@ -77,6 +77,8 @@ function getValidNotificationsCategories (): NotificationFilterDisabledCategory[
77
77
'DEPRECATION' ,
78
78
'GENERIC' ,
79
79
'PERFORMANCE' ,
80
+ 'TOPOLOGY' ,
81
+ 'SECURITY' ,
80
82
'UNRECOGNIZED' ,
81
83
'UNSUPPORTED'
82
84
]
Original file line number Diff line number Diff line change @@ -375,6 +375,8 @@ function getValidCategories (): NotificationCategory[] {
375
375
'UNRECOGNIZED' ,
376
376
'UNSUPPORTED' ,
377
377
'PERFORMANCE' ,
378
+ 'TOPOLOGY' ,
379
+ 'SECURITY' ,
378
380
'DEPRECATION' ,
379
381
'GENERIC' ,
380
382
'UNKNOWN'
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ Object.freeze(notificationFilterMinimumSeverityLevel)
41
41
42
42
type NotificationFilterDisabledCategory = ExcludeUnknown < NotificationCategory >
43
43
/**
44
- * @typedef {'HINT' | 'UNRECOGNIZED' | 'UNSUPPORTED' |'PERFORMANCE' | 'DEPRECATION' | 'GENERIC' } NotificationFilterDisabledCategory
44
+ * @typedef {'HINT' | 'UNRECOGNIZED' | 'UNSUPPORTED' |'PERFORMANCE' | 'TOPOLOGY' | 'SECURITY' | ' DEPRECATION' | 'GENERIC' } NotificationFilterDisabledCategory
45
45
*/
46
46
/**
47
47
* Constants that represents the disabled categories in the {@link NotificationFilter}
@@ -51,6 +51,8 @@ const notificationFilterDisabledCategory: EnumRecord<NotificationFilterDisabledC
51
51
UNRECOGNIZED : 'UNRECOGNIZED' ,
52
52
UNSUPPORTED : 'UNSUPPORTED' ,
53
53
PERFORMANCE : 'PERFORMANCE' ,
54
+ TOPOLOGY : 'TOPOLOGY' ,
55
+ SECURITY : 'SECURITY' ,
54
56
DEPRECATION : 'DEPRECATION' ,
55
57
GENERIC : 'GENERIC'
56
58
}
Original file line number Diff line number Diff line change @@ -436,9 +436,9 @@ Object.freeze(notificationSeverityLevel)
436
436
const severityLevels = Object . values ( notificationSeverityLevel )
437
437
438
438
type NotificationCategory = 'HINT' | 'UNRECOGNIZED' | 'UNSUPPORTED' | 'PERFORMANCE' |
439
- 'DEPRECATION' | 'GENERIC' | 'UNKNOWN'
439
+ 'TOPOLOGY' | 'SECURITY' | ' DEPRECATION' | 'GENERIC' | 'UNKNOWN'
440
440
/**
441
- * @typedef {'HINT' | 'UNRECOGNIZED' | 'UNSUPPORTED' |'PERFORMANCE' | 'DEPRECATION' | 'GENERIC' | 'UNKNOWN' } NotificationCategory
441
+ * @typedef {'HINT' | 'UNRECOGNIZED' | 'UNSUPPORTED' |'PERFORMANCE' | 'TOPOLOGY' | 'SECURITY' | ' DEPRECATION' | 'GENERIC' | 'UNKNOWN' } NotificationCategory
442
442
*/
443
443
/**
444
444
* Constants that represents the Category in the {@link Notification}
@@ -449,6 +449,8 @@ const notificationCategory: { [key in NotificationCategory]: key } = {
449
449
UNSUPPORTED : 'UNSUPPORTED' ,
450
450
PERFORMANCE : 'PERFORMANCE' ,
451
451
DEPRECATION : 'DEPRECATION' ,
452
+ TOPOLOGY : 'TOPOLOGY' ,
453
+ SECURITY : 'SECURITY' ,
452
454
GENERIC : 'GENERIC' ,
453
455
UNKNOWN : 'UNKNOWN'
454
456
}
Original file line number Diff line number Diff line change @@ -145,13 +145,17 @@ const informationSeverity: NotificationSeverityLevel = notificationSeverityLevel
145
145
const hintCategoryString : string = notificationCategory . HINT
146
146
const deprecationCategoryString : string = notificationCategory . DEPRECATION
147
147
const performanceCategoryString : string = notificationCategory . PERFORMANCE
148
+ const topologyCategoryString : string = notificationCategory . TOPOLOGY
149
+ const securityCategoryString : string = notificationCategory . SECURITY
148
150
const genericCategoryString : string = notificationCategory . GENERIC
149
151
const unrecognizedCategoryString : string = notificationCategory . UNRECOGNIZED
150
152
const unsupportedCategoryString : string = notificationCategory . UNSUPPORTED
151
153
const unknownCategoryString : string = notificationCategory . UNKNOWN
152
154
const hintCategory : NotificationCategory = notificationCategory . HINT
153
155
const deprecationCategory : NotificationCategory = notificationCategory . DEPRECATION
154
156
const performanceCategory : NotificationCategory = notificationCategory . PERFORMANCE
157
+ const topologyCategory : NotificationCategory = notificationCategory . TOPOLOGY
158
+ const securityCategory : NotificationCategory = notificationCategory . SECURITY
155
159
const genericCategory : NotificationCategory = notificationCategory . GENERIC
156
160
const unrecognizedCategory : NotificationCategory = notificationCategory . UNRECOGNIZED
157
161
const unsupportedCategory : NotificationCategory = notificationCategory . UNSUPPORTED
You can’t perform that action at this time.
0 commit comments