-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat/getProviderAndType
- Loading branch information
Showing
137 changed files
with
2,263 additions
and
1,607 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
.yarn/patches/cache-manager-ioredis-yet-npm-1.1.0-da7d1a9865.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
diff --git a/dist/index.js b/dist/index.js | ||
index 21d1ae2f70d7c5b38e17d053a9bf68454edfe98a..6045a01e347041e0cb0b7025dc5734d9f44a9bfb 100644 | ||
--- a/dist/index.js | ||
+++ b/dist/index.js | ||
@@ -90,7 +90,7 @@ function builder(redisCache, reset, keys, options) { | ||
yield redisCache.del(key); | ||
}); | ||
}, | ||
- ttl: (key) => __awaiter(this, void 0, void 0, function* () { return redisCache.ttl(key); }), | ||
+ ttl: (key) => __awaiter(this, void 0, void 0, function* () { return redisCache.pttl(key); }), | ||
keys: (pattern = '*') => keys(pattern), | ||
reset, | ||
isCacheable, | ||
diff --git a/src/index.ts b/src/index.ts | ||
index 267bdf152027f4bc6f0321c186542ce2dc5f3bb1..a295c85899f6206de13d202967e7676247925a53 100644 | ||
--- a/src/index.ts | ||
+++ b/src/index.ts | ||
@@ -87,7 +87,7 @@ function builder( | ||
async del(key) { | ||
await redisCache.del(key); | ||
}, | ||
- ttl: async (key) => redisCache.ttl(key), | ||
+ ttl: async (key) => redisCache.pttl(key), | ||
keys: (pattern = '*') => keys(pattern), | ||
reset, | ||
isCacheable, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
diff --git a/packages/dd-trace/src/external-logger/src/index.js b/packages/dd-trace/src/external-logger/src/index.js | ||
index aa21b20b6e78336329f8f99214a36fde3b9c2c59..523c285768a9f34ba9bc353a5caff6962cf1ff5c 100644 | ||
--- a/packages/dd-trace/src/external-logger/src/index.js | ||
+++ b/packages/dd-trace/src/external-logger/src/index.js | ||
@@ -81,7 +81,7 @@ class ExternalLogger { | ||
let encodedLogs | ||
|
||
if (!this.queue.length) { | ||
- setImmediate(() => cb()) | ||
+ setTimeout(() => cb(), 0) | ||
return | ||
} | ||
|
||
@@ -93,7 +93,7 @@ class ExternalLogger { | ||
encodedLogs = JSON.stringify(logs) | ||
} catch (error) { | ||
tracerLogger.error(`failed to encode ${numLogs} logs`) | ||
- setImmediate(() => cb(error)) | ||
+ setTimeout(() => cb(error), 0) | ||
return | ||
} | ||
|
||
diff --git a/packages/dd-trace/src/telemetry/dependencies.js b/packages/dd-trace/src/telemetry/dependencies.js | ||
index 992dde7d2ec7b6742b55e48bb0941f88d01669bf..9a0559d576663eaff4291edf0fdda6ea51da1456 100644 | ||
--- a/packages/dd-trace/src/telemetry/dependencies.js | ||
+++ b/packages/dd-trace/src/telemetry/dependencies.js | ||
@@ -32,7 +32,7 @@ function createBatchPayload (payload) { | ||
} | ||
function waitAndSend (config, application, host) { | ||
if (!immediate) { | ||
- immediate = setImmediate(() => { | ||
+ immediate = setTimeout(() => { | ||
immediate = null | ||
if (savedDependenciesToSend.size > 0) { | ||
const dependencies = Array.from(savedDependenciesToSend.values()) | ||
@@ -69,7 +69,7 @@ function waitAndSend (config, application, host) { | ||
waitAndSend(config, application, host) | ||
} | ||
} | ||
- }) | ||
+ }, 0) | ||
immediate.unref() | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
apps/judicial-system/backend/src/app/modules/case/dto/internalCases.dto.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { IsNotEmpty, IsString } from 'class-validator' | ||
|
||
import { ApiProperty } from '@nestjs/swagger' | ||
|
||
export class InternalCasesDto { | ||
@IsNotEmpty() | ||
@IsString() | ||
@ApiProperty({ type: String }) | ||
readonly nationalId!: string | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.