[backend] Add missing postgres types

This commit is contained in:
Laura Hausmann 2023-10-13 18:44:14 +02:00
parent 1927151aed
commit bb5d0e319d
No known key found for this signature in database
GPG key ID: D044E84C5BE01605
12 changed files with 212 additions and 7 deletions

111
.pnp.cjs generated
View file

@ -1202,6 +1202,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"@types/offscreencanvas",\ "@types/offscreencanvas",\
"npm:2019.3.0"\ "npm:2019.3.0"\
],\ ],\
[\
"@types/pg",\
"npm:8.10.5"\
],\
[\ [\
"@types/picomatch",\ "@types/picomatch",\
"npm:2.3.0"\ "npm:2.3.0"\
@ -5082,6 +5086,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"oblivious-set",\ "oblivious-set",\
"npm:1.1.1"\ "npm:1.1.1"\
],\ ],\
[\
"obuf",\
"npm:1.1.2"\
],\
[\ [\
"omggif",\ "omggif",\
"npm:1.0.10"\ "npm:1.0.10"\
@ -5318,6 +5326,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"pg-int8",\ "pg-int8",\
"npm:1.0.1"\ "npm:1.0.1"\
],\ ],\
[\
"pg-numeric",\
"npm:1.0.2"\
],\
[\ [\
"pg-pool",\ "pg-pool",\
"virtual:bd80eaacaba4ac69e52ab40a70c2c4b13c6ce0a9346f8311e962f3e59c362840bf10abfde728731d045107c0c12c343c12db88e4d4947cbfbe342854b0e454f8#npm:3.6.1"\ "virtual:bd80eaacaba4ac69e52ab40a70c2c4b13c6ce0a9346f8311e962f3e59c362840bf10abfde728731d045107c0c12c343c12db88e4d4947cbfbe342854b0e454f8#npm:3.6.1"\
@ -5328,7 +5340,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
],\ ],\
[\ [\
"pg-types",\ "pg-types",\
"npm:2.2.0"\ "npm:4.0.1"\
],\ ],\
[\ [\
"pgpass",\ "pgpass",\
@ -5528,19 +5540,23 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
],\ ],\
[\ [\
"postgres-array",\ "postgres-array",\
"npm:2.0.0"\ "npm:3.0.2"\
],\ ],\
[\ [\
"postgres-bytea",\ "postgres-bytea",\
"npm:1.0.0"\ "npm:3.0.0"\
],\ ],\
[\ [\
"postgres-date",\ "postgres-date",\
"npm:1.0.7"\ "npm:2.0.1"\
],\ ],\
[\ [\
"postgres-interval",\ "postgres-interval",\
"npm:1.2.0"\ "npm:3.0.0"\
],\
[\
"postgres-range",\
"npm:1.1.3"\
],\ ],\
[\ [\
"prebuild-install",\ "prebuild-install",\
@ -11876,6 +11892,18 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"linkType": "HARD"\ "linkType": "HARD"\
}]\ }]\
]],\ ]],\
["@types/pg", [\
["npm:8.10.5", {\
"packageLocation": "./.yarn/cache/@types-pg-npm-8.10.5-9e5f4e8cf1-532a3104ed.zip/node_modules/@types/pg/",\
"packageDependencies": [\
["@types/pg", "npm:8.10.5"],\
["@types/node", "npm:20.4.5"],\
["pg-protocol", "npm:1.6.0"],\
["pg-types", "npm:4.0.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["@types/picomatch", [\ ["@types/picomatch", [\
["npm:2.3.0", {\ ["npm:2.3.0", {\
"packageLocation": "./.yarn/cache/@types-picomatch-npm-2.3.0-02d6bd0a9c-dde9572b6c.zip/node_modules/@types/picomatch/",\ "packageLocation": "./.yarn/cache/@types-picomatch-npm-2.3.0-02d6bd0a9c-dde9572b6c.zip/node_modules/@types/picomatch/",\
@ -14410,6 +14438,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["@types/node-fetch", "npm:3.0.3"],\ ["@types/node-fetch", "npm:3.0.3"],\
["@types/nodemailer", "npm:6.4.8"],\ ["@types/nodemailer", "npm:6.4.8"],\
["@types/oauth", "npm:0.9.1"],\ ["@types/oauth", "npm:0.9.1"],\
["@types/pg", "npm:8.10.5"],\
["@types/probe-image-size", "npm:7.2.0"],\ ["@types/probe-image-size", "npm:7.2.0"],\
["@types/pug", "npm:2.0.6"],\ ["@types/pug", "npm:2.0.6"],\
["@types/punycode", "npm:2.1.0"],\ ["@types/punycode", "npm:2.1.0"],\
@ -26250,6 +26279,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"linkType": "HARD"\ "linkType": "HARD"\
}]\ }]\
]],\ ]],\
["obuf", [\
["npm:1.1.2", {\
"packageLocation": "./.yarn/cache/obuf-npm-1.1.2-8db5fae8dd-41a2ba310e.zip/node_modules/obuf/",\
"packageDependencies": [\
["obuf", "npm:1.1.2"]\
],\
"linkType": "HARD"\
}]\
]],\
["omggif", [\ ["omggif", [\
["npm:1.0.10", {\ ["npm:1.0.10", {\
"packageLocation": "./.yarn/cache/omggif-npm-1.0.10-6ffa5bf343-15102e46b6.zip/node_modules/omggif/",\ "packageLocation": "./.yarn/cache/omggif-npm-1.0.10-6ffa5bf343-15102e46b6.zip/node_modules/omggif/",\
@ -26948,6 +26986,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"linkType": "HARD"\ "linkType": "HARD"\
}]\ }]\
]],\ ]],\
["pg-numeric", [\
["npm:1.0.2", {\
"packageLocation": "./.yarn/cache/pg-numeric-npm-1.0.2-9026ec3427-8899f8200c.zip/node_modules/pg-numeric/",\
"packageDependencies": [\
["pg-numeric", "npm:1.0.2"]\
],\
"linkType": "HARD"\
}]\
]],\
["pg-pool", [\ ["pg-pool", [\
["npm:3.6.1", {\ ["npm:3.6.1", {\
"packageLocation": "./.yarn/cache/pg-pool-npm-3.6.1-477c9660b9-8a6513e6f7.zip/node_modules/pg-pool/",\ "packageLocation": "./.yarn/cache/pg-pool-npm-3.6.1-477c9660b9-8a6513e6f7.zip/node_modules/pg-pool/",\
@ -26991,6 +27038,20 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["postgres-interval", "npm:1.2.0"]\ ["postgres-interval", "npm:1.2.0"]\
],\ ],\
"linkType": "HARD"\ "linkType": "HARD"\
}],\
["npm:4.0.1", {\
"packageLocation": "./.yarn/cache/pg-types-npm-4.0.1-8f922557d3-05258ef2f2.zip/node_modules/pg-types/",\
"packageDependencies": [\
["pg-types", "npm:4.0.1"],\
["pg-int8", "npm:1.0.1"],\
["pg-numeric", "npm:1.0.2"],\
["postgres-array", "npm:3.0.2"],\
["postgres-bytea", "npm:3.0.0"],\
["postgres-date", "npm:2.0.1"],\
["postgres-interval", "npm:3.0.0"],\
["postgres-range", "npm:1.1.3"]\
],\
"linkType": "HARD"\
}]\ }]\
]],\ ]],\
["pgpass", [\ ["pgpass", [\
@ -27593,6 +27654,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["postgres-array", "npm:2.0.0"]\ ["postgres-array", "npm:2.0.0"]\
],\ ],\
"linkType": "HARD"\ "linkType": "HARD"\
}],\
["npm:3.0.2", {\
"packageLocation": "./.yarn/cache/postgres-array-npm-3.0.2-da6a3f1fed-5955f9dffe.zip/node_modules/postgres-array/",\
"packageDependencies": [\
["postgres-array", "npm:3.0.2"]\
],\
"linkType": "HARD"\
}]\ }]\
]],\ ]],\
["postgres-bytea", [\ ["postgres-bytea", [\
@ -27602,6 +27670,14 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["postgres-bytea", "npm:1.0.0"]\ ["postgres-bytea", "npm:1.0.0"]\
],\ ],\
"linkType": "HARD"\ "linkType": "HARD"\
}],\
["npm:3.0.0", {\
"packageLocation": "./.yarn/cache/postgres-bytea-npm-3.0.0-5de4c664f6-5f917a003f.zip/node_modules/postgres-bytea/",\
"packageDependencies": [\
["postgres-bytea", "npm:3.0.0"],\
["obuf", "npm:1.1.2"]\
],\
"linkType": "HARD"\
}]\ }]\
]],\ ]],\
["postgres-date", [\ ["postgres-date", [\
@ -27611,6 +27687,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["postgres-date", "npm:1.0.7"]\ ["postgres-date", "npm:1.0.7"]\
],\ ],\
"linkType": "HARD"\ "linkType": "HARD"\
}],\
["npm:2.0.1", {\
"packageLocation": "./.yarn/cache/postgres-date-npm-2.0.1-00e0e0bc9e-0304bf8641.zip/node_modules/postgres-date/",\
"packageDependencies": [\
["postgres-date", "npm:2.0.1"]\
],\
"linkType": "HARD"\
}]\ }]\
]],\ ]],\
["postgres-interval", [\ ["postgres-interval", [\
@ -27621,6 +27704,22 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["xtend", "npm:4.0.2"]\ ["xtend", "npm:4.0.2"]\
],\ ],\
"linkType": "HARD"\ "linkType": "HARD"\
}],\
["npm:3.0.0", {\
"packageLocation": "./.yarn/cache/postgres-interval-npm-3.0.0-936c769b98-c7a1cf006d.zip/node_modules/postgres-interval/",\
"packageDependencies": [\
["postgres-interval", "npm:3.0.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["postgres-range", [\
["npm:1.1.3", {\
"packageLocation": "./.yarn/cache/postgres-range-npm-1.1.3-46f68e1a9e-bf7e194a18.zip/node_modules/postgres-range/",\
"packageDependencies": [\
["postgres-range", "npm:1.1.3"]\
],\
"linkType": "HARD"\
}]\ }]\
]],\ ]],\
["prebuild-install", [\ ["prebuild-install", [\
@ -31719,7 +31818,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["@types/mssql", null],\ ["@types/mssql", null],\
["@types/mysql2", null],\ ["@types/mysql2", null],\
["@types/oracledb", null],\ ["@types/oracledb", null],\
["@types/pg", null],\ ["@types/pg", "npm:8.10.5"],\
["@types/pg-native", null],\ ["@types/pg-native", null],\
["@types/pg-query-stream", null],\ ["@types/pg-query-stream", null],\
["@types/redis", "npm:4.0.11"],\ ["@types/redis", "npm:4.0.11"],\

BIN
.yarn/cache/@types-pg-npm-8.10.5-9e5f4e8cf1-532a3104ed.zip (Stored with Git LFS) vendored Normal file

Binary file not shown.

BIN
.yarn/cache/obuf-npm-1.1.2-8db5fae8dd-41a2ba310e.zip (Stored with Git LFS) vendored Normal file

Binary file not shown.

BIN
.yarn/cache/pg-numeric-npm-1.0.2-9026ec3427-8899f8200c.zip (Stored with Git LFS) vendored Normal file

Binary file not shown.

BIN
.yarn/cache/pg-types-npm-4.0.1-8f922557d3-05258ef2f2.zip (Stored with Git LFS) vendored Normal file

Binary file not shown.

BIN
.yarn/cache/postgres-array-npm-3.0.2-da6a3f1fed-5955f9dffe.zip (Stored with Git LFS) vendored Normal file

Binary file not shown.

BIN
.yarn/cache/postgres-bytea-npm-3.0.0-5de4c664f6-5f917a003f.zip (Stored with Git LFS) vendored Normal file

Binary file not shown.

BIN
.yarn/cache/postgres-date-npm-2.0.1-00e0e0bc9e-0304bf8641.zip (Stored with Git LFS) vendored Normal file

Binary file not shown.

BIN
.yarn/cache/postgres-interval-npm-3.0.0-936c769b98-c7a1cf006d.zip (Stored with Git LFS) vendored Normal file

Binary file not shown.

BIN
.yarn/cache/postgres-range-npm-1.1.3-46f68e1a9e-bf7e194a18.zip (Stored with Git LFS) vendored Normal file

Binary file not shown.

View file

@ -171,6 +171,7 @@
"@types/node-fetch": "3.0.3", "@types/node-fetch": "3.0.3",
"@types/nodemailer": "6.4.8", "@types/nodemailer": "6.4.8",
"@types/oauth": "0.9.1", "@types/oauth": "0.9.1",
"@types/pg": "^8.10.5",
"@types/probe-image-size": "^7.2.0", "@types/probe-image-size": "^7.2.0",
"@types/pug": "2.0.6", "@types/pug": "2.0.6",
"@types/punycode": "2.1.0", "@types/punycode": "2.1.0",

View file

@ -3446,6 +3446,17 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@types/pg@npm:^8.10.5":
version: 8.10.5
resolution: "@types/pg@npm:8.10.5"
dependencies:
"@types/node": "*"
pg-protocol: "*"
pg-types: ^4.0.1
checksum: 532a3104ed7898e3c7806e00cbde486dcfc803d2e99e236066f1b675ff0546a1cb232fe6f2ffc60dac81d3df209b69dbe62a597b565bff0965dd622fef957afe
languageName: node
linkType: hard
"@types/picomatch@npm:*": "@types/picomatch@npm:*":
version: 2.3.0 version: 2.3.0
resolution: "@types/picomatch@npm:2.3.0" resolution: "@types/picomatch@npm:2.3.0"
@ -5425,6 +5436,7 @@ __metadata:
"@types/node-fetch": 3.0.3 "@types/node-fetch": 3.0.3
"@types/nodemailer": 6.4.8 "@types/nodemailer": 6.4.8
"@types/oauth": 0.9.1 "@types/oauth": 0.9.1
"@types/pg": ^8.10.5
"@types/probe-image-size": ^7.2.0 "@types/probe-image-size": ^7.2.0
"@types/pug": 2.0.6 "@types/pug": 2.0.6
"@types/punycode": 2.1.0 "@types/punycode": 2.1.0
@ -15697,6 +15709,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"obuf@npm:~1.1.2":
version: 1.1.2
resolution: "obuf@npm:1.1.2"
checksum: 41a2ba310e7b6f6c3b905af82c275bf8854896e2e4c5752966d64cbcd2f599cfffd5932006bcf3b8b419dfdacebb3a3912d5d94e10f1d0acab59876c8757f27f
languageName: node
linkType: hard
"omggif@npm:^1.0.5": "omggif@npm:^1.0.5":
version: 1.0.10 version: 1.0.10
resolution: "omggif@npm:1.0.10" resolution: "omggif@npm:1.0.10"
@ -16288,6 +16307,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"pg-numeric@npm:1.0.2":
version: 1.0.2
resolution: "pg-numeric@npm:1.0.2"
checksum: 8899f8200caa1744439a8778a9eb3ceefb599d893e40a09eef84ee0d4c151319fd416634a6c0fc7b7db4ac268710042da5be700b80ef0de716fe089b8652c84f
languageName: node
linkType: hard
"pg-pool@npm:^3.6.1": "pg-pool@npm:^3.6.1":
version: 3.6.1 version: 3.6.1
resolution: "pg-pool@npm:3.6.1" resolution: "pg-pool@npm:3.6.1"
@ -16297,7 +16323,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"pg-protocol@npm:^1.6.0": "pg-protocol@npm:*, pg-protocol@npm:^1.6.0":
version: 1.6.0 version: 1.6.0
resolution: "pg-protocol@npm:1.6.0" resolution: "pg-protocol@npm:1.6.0"
checksum: e12662d2de2011e0c3a03f6a09f435beb1025acdc860f181f18a600a5495dc38a69d753bbde1ace279c8c442536af9c1a7c11e1d0fe3fad3aa1348b28d9d2683 checksum: e12662d2de2011e0c3a03f6a09f435beb1025acdc860f181f18a600a5495dc38a69d753bbde1ace279c8c442536af9c1a7c11e1d0fe3fad3aa1348b28d9d2683
@ -16317,6 +16343,21 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"pg-types@npm:^4.0.1":
version: 4.0.1
resolution: "pg-types@npm:4.0.1"
dependencies:
pg-int8: 1.0.1
pg-numeric: 1.0.2
postgres-array: ~3.0.1
postgres-bytea: ~3.0.0
postgres-date: ~2.0.1
postgres-interval: ^3.0.0
postgres-range: ^1.1.1
checksum: 05258ef2f27a75f1bf4e243f36bb749f85148339d3be818147bcc4aebe019ad7589a6869150713140250d81e5a46ec25dc6e0a031ea77e23db5ca232a0d7a3dc
languageName: node
linkType: hard
"pg@npm:8.11.1": "pg@npm:8.11.1":
version: 8.11.1 version: 8.11.1
resolution: "pg@npm:8.11.1" resolution: "pg@npm:8.11.1"
@ -16858,6 +16899,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"postgres-array@npm:~3.0.1":
version: 3.0.2
resolution: "postgres-array@npm:3.0.2"
checksum: 5955f9dffeb6fa960c1a0b04fd4b2ba16813ddb636934ad26f902e4d76a91c0b743dcc6edc4cffc52deba7d547505e0020adea027c1d50a774f989cf955420d1
languageName: node
linkType: hard
"postgres-bytea@npm:~1.0.0": "postgres-bytea@npm:~1.0.0":
version: 1.0.0 version: 1.0.0
resolution: "postgres-bytea@npm:1.0.0" resolution: "postgres-bytea@npm:1.0.0"
@ -16865,6 +16913,15 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"postgres-bytea@npm:~3.0.0":
version: 3.0.0
resolution: "postgres-bytea@npm:3.0.0"
dependencies:
obuf: ~1.1.2
checksum: 5f917a003fcaa0df7f285e1c37108ad474ce91193466b9bd4bcaecef2cdea98ca069c00aa6a8dbe6d2e7192336cadc3c9b36ae48d1555a299521918e00e2936b
languageName: node
linkType: hard
"postgres-date@npm:~1.0.4": "postgres-date@npm:~1.0.4":
version: 1.0.7 version: 1.0.7
resolution: "postgres-date@npm:1.0.7" resolution: "postgres-date@npm:1.0.7"
@ -16872,6 +16929,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"postgres-date@npm:~2.0.1":
version: 2.0.1
resolution: "postgres-date@npm:2.0.1"
checksum: 0304bf8641a01412e4f5c3a374604e2e3dbc9dbee71d30df12fe60b32560c5674f887c2d15bafa2996f3b618b617398e7605f0e3669db43f31e614dfe69f8de7
languageName: node
linkType: hard
"postgres-interval@npm:^1.1.0": "postgres-interval@npm:^1.1.0":
version: 1.2.0 version: 1.2.0
resolution: "postgres-interval@npm:1.2.0" resolution: "postgres-interval@npm:1.2.0"
@ -16881,6 +16945,20 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"postgres-interval@npm:^3.0.0":
version: 3.0.0
resolution: "postgres-interval@npm:3.0.0"
checksum: c7a1cf006de97de663b6b8c4d2b167aa9909a238c4866a94b15d303762f5ac884ff4796cd6e2111b7f0a91302b83c570453aa8506fd005b5a5d5dfa87441bebc
languageName: node
linkType: hard
"postgres-range@npm:^1.1.1":
version: 1.1.3
resolution: "postgres-range@npm:1.1.3"
checksum: bf7e194a18c490d02bda0bd02035a8da454d8fd2b22c55d3d03f185c038b2a6f52d0804417d8090864afefc2b7ed664b2d12c2454a4a0f545dcbbb86488fbdf1
languageName: node
linkType: hard
"prebuild-install@npm:^7.1.1": "prebuild-install@npm:^7.1.1":
version: 7.1.1 version: 7.1.1
resolution: "prebuild-install@npm:7.1.1" resolution: "prebuild-install@npm:7.1.1"