From 0e49c726ec89dfc8a165a5097a370845fdbfa382 Mon Sep 17 00:00:00 2001 From: Francis Dinh Date: Wed, 7 Sep 2022 14:19:03 -0400 Subject: [PATCH] backend: add @types/pg for pg type definitions --- packages/backend/package.json | 1 + yarn.lock | 16 ++++++++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/packages/backend/package.json b/packages/backend/package.json index 878f54593..0b77f4b95 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -27,6 +27,7 @@ "@peertube/http-signature": "1.7.0", "@sinonjs/fake-timers": "9.1.2", "@syuilo/aiscript": "0.11.1", + "@types/pg": "^8.6.5", "abort-controller": "3.0.0", "ajv": "8.11.0", "archiver": "5.3.1", diff --git a/yarn.lock b/yarn.lock index 5bd65edf3..99c8d8934 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2231,6 +2231,17 @@ __metadata: languageName: node linkType: hard +"@types/pg@npm:^8.6.5": + version: 8.6.5 + resolution: "@types/pg@npm:8.6.5" + dependencies: + "@types/node": "*" + pg-protocol: "*" + pg-types: ^2.2.0 + checksum: 49ef858d95e84a6c1be193d367996581c991cf383d8628449507cc4ce67ef43b75acb18a0f9f49f870594cdec3501ddf4d2ac3fbe0dcdaab35c295c038d47199 + languageName: node + linkType: hard + "@types/prettier@npm:^2.1.5": version: 2.7.0 resolution: "@types/prettier@npm:2.7.0" @@ -3644,6 +3655,7 @@ __metadata: "@types/node-fetch": 3.0.3 "@types/nodemailer": 6.4.5 "@types/oauth": ^0.9.1 + "@types/pg": ^8.6.5 "@types/pug": 2.0.6 "@types/punycode": 2.1.0 "@types/qrcode": 1.5.0 @@ -13153,14 +13165,14 @@ __metadata: languageName: node linkType: hard -"pg-protocol@npm:^1.5.0": +"pg-protocol@npm:*, pg-protocol@npm:^1.5.0": version: 1.5.0 resolution: "pg-protocol@npm:1.5.0" checksum: b839d12cafe942ef9cbc5b13c174eb2356804fb4fe8ead8279f46a36be90722d19a91409955beb8a3d5301639c44854e49749de4aef02dc361fee3e2a61fb1e4 languageName: node linkType: hard -"pg-types@npm:^2.1.0": +"pg-types@npm:^2.1.0, pg-types@npm:^2.2.0": version: 2.2.0 resolution: "pg-types@npm:2.2.0" dependencies: