ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix types tests
Chocobozzz7a1fb21922ad
diff --git a/packages/types-generator/tsconfig.dist-tmp.json b/packages/types-generator/tsconfig.dist-tmp.jsonindex 908a31d048..feb70d9a04 100644--- a/packages/types-generator/tsconfig.dist-tmp.json+++ b/packages/types-generator/tsconfig.dist-tmp.json@@ -10,7 +10,8 @@"@server/*": [ "server/core/*" ],"@client/*": [ "client/*" ],"@peertube/peertube-models": [ "peertube-models" ],- "@peertube/peertube-typescript-utils": [ "peertube-typescript-utils" ]+ "@peertube/peertube-typescript-utils": [ "peertube-typescript-utils" ],+ "@peertube/peertube-transcription": [ "peertube-transcription" ]}}}diff --git a/packages/types-generator/tsconfig.types.json b/packages/types-generator/tsconfig.types.jsonindex 160d86bbe5..16fb85829b 100644--- a/packages/types-generator/tsconfig.types.json+++ b/packages/types-generator/tsconfig.types.json@@ -16,6 +16,7 @@"references": [{ "path": "../models/tsconfig.types.json" },{ "path": "../typescript-utils/tsconfig.types.json" },+ { "path": "../transcription/tsconfig.types.json" },{ "path": "../../server/tsconfig.types.json" },{ "path": "./src/client/tsconfig.types.json" }],diff --git a/scripts/ci.sh b/scripts/ci.shindex 5ba48f39d0..a98b777ec8 100755--- a/scripts/ci.sh+++ b/scripts/ci.sh@@ -51,7 +51,7 @@ if [ "$1" = "types-package" ]; thencp -r packages/types-generator/dist /tmp/types-generator/dist(cd /tmp/types-generator/dist && npm install)- (cd /tmp/types-generator/tests && npx --package typescript tsc --noEmit --esModuleInterop --moduleResolution node16 --module Node16 ./test.ts)+ (cd /tmp/types-generator/tests && npx --package typescript tsc --noEmit --module commonjs --esModuleInterop ./test.ts)rm -r /tmp/types-generatorelif [ "$1" = "client" ]; thendiff --git a/server/core/models/application/application.ts b/server/core/models/application/application.tsindex 02da09a668..28501a4d03 100644--- a/server/core/models/application/application.ts+++ b/server/core/models/application/application.ts@@ -2,7 +2,7 @@ import { getNodeABIVersion } from '@server/helpers/version.js'import { CONFIG } from '@server/initializers/config.js'import memoizee from 'memoizee'import { AllowNull, Column, DataType, Default, DefaultScope, HasOne, IsInt, Table } from 'sequelize-typescript'-import { PickDeep } from 'type-fest'+import type { PickDeep } from 'type-fest'import { AccountModel } from '../account/account.js'import { ActorImageModel } from '../actor/actor-image.js'import { SequelizeModel } from '../shared/index.js'