mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 00:11:37 -06:00
chore(deps): bump the development-dependencies group with 21 updates (#617)
Bumps the development-dependencies group with 21 updates: | Package | From | To | | --- | --- | --- | | [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) | `21.0.2` | `21.2.1` | | [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional) | `21.0.2` | `21.2.0` | | [@semantic-release/github](https://github.com/semantic-release/github) | `12.0.8` | `12.0.9` | | [prettier](https://github.com/prettier/prettier) | `3.8.4` | `3.9.5` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `26.0.0` | `26.1.1` | | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) | `4.1.9` | `4.1.10` | | [@vitest/eslint-plugin](https://github.com/vitest-dev/eslint-plugin-vitest) | `1.6.20` | `1.6.22` | | [@vue/eslint-config-typescript](https://github.com/vuejs/eslint-config-typescript) | `14.8.0` | `14.9.0` | | [eslint](https://github.com/eslint/eslint) | `10.5.0` | `10.6.0` | | [eslint-plugin-oxlint](https://github.com/oxc-project/eslint-plugin-oxlint) | `1.70.0` | `1.73.0` | | [oxlint](https://github.com/oxc-project/oxc/tree/HEAD/npm/oxlint) | `1.70.0` | `1.73.0` | | [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `8.0.16` | `8.1.4` | | [vite-plugin-vue-devtools](https://github.com/vuejs/devtools/tree/HEAD/packages/vite) | `8.1.3` | `8.1.5` | | [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `4.1.9` | `4.1.10` | | [vue-tsc](https://github.com/vuejs/language-tools/tree/HEAD/packages/tsc) | `3.3.5` | `3.3.7` | | [@nestjs/testing](https://github.com/nestjs/nest/tree/HEAD/packages/testing) | `11.1.27` | `11.1.28` | | [@swc/core](https://github.com/swc-project/swc/tree/HEAD/packages/core) | `1.15.41` | `1.15.43` | | [globals](https://github.com/sindresorhus/globals) | `17.6.0` | `17.7.0` | | [ts-loader](https://github.com/TypeStrong/ts-loader) | `9.6.1` | `9.6.2` | | [tsx](https://github.com/privatenumber/tsx) | `4.22.4` | `4.23.0` | | [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.61.1` | `8.63.0` | Updates `@commitlint/cli` from 21.0.2 to 21.2.1 - [Release notes](https://github.com/conventional-changelog/commitlint/releases) - [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md) - [Commits](https://github.com/conventional-changelog/commitlint/commits/v21.2.1/@commitlint/cli) Updates `@commitlint/config-conventional` from 21.0.2 to 21.2.0 - [Release notes](https://github.com/conventional-changelog/commitlint/releases) - [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/CHANGELOG.md) - [Commits](https://github.com/conventional-changelog/commitlint/commits/v21.2.0/@commitlint/config-conventional) Updates `@semantic-release/github` from 12.0.8 to 12.0.9 - [Release notes](https://github.com/semantic-release/github/releases) - [Commits](https://github.com/semantic-release/github/compare/v12.0.8...v12.0.9) Updates `prettier` from 3.8.4 to 3.9.5 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.8.4...3.9.5) Updates `@types/node` from 26.0.0 to 26.1.1 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `@vitest/coverage-v8` from 4.1.9 to 4.1.10 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md) - [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.10/packages/coverage-v8) Updates `@vitest/eslint-plugin` from 1.6.20 to 1.6.22 - [Release notes](https://github.com/vitest-dev/eslint-plugin-vitest/releases) - [Commits](https://github.com/vitest-dev/eslint-plugin-vitest/compare/v1.6.20...v1.6.22) Updates `@vue/eslint-config-typescript` from 14.8.0 to 14.9.0 - [Release notes](https://github.com/vuejs/eslint-config-typescript/releases) - [Commits](https://github.com/vuejs/eslint-config-typescript/compare/v14.8.0...v14.9.0) Updates `eslint` from 10.5.0 to 10.6.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](https://github.com/eslint/eslint/compare/v10.5.0...v10.6.0) Updates `eslint-plugin-oxlint` from 1.70.0 to 1.73.0 - [Release notes](https://github.com/oxc-project/eslint-plugin-oxlint/releases) - [Commits](https://github.com/oxc-project/eslint-plugin-oxlint/compare/v1.70.0...v1.73.0) Updates `oxlint` from 1.70.0 to 1.73.0 - [Release notes](https://github.com/oxc-project/oxc/releases) - [Changelog](https://github.com/oxc-project/oxc/blob/main/npm/oxlint/CHANGELOG.md) - [Commits](https://github.com/oxc-project/oxc/commits/oxlint_v1.73.0/npm/oxlint) Updates `vite` from 8.0.16 to 8.1.4 - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v8.1.4/packages/vite) Updates `vite-plugin-vue-devtools` from 8.1.3 to 8.1.5 - [Release notes](https://github.com/vuejs/devtools/releases) - [Commits](https://github.com/vuejs/devtools/commits/v8.1.5/packages/vite) Updates `vitest` from 4.1.9 to 4.1.10 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md) - [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.10/packages/vitest) Updates `vue-tsc` from 3.3.5 to 3.3.7 - [Release notes](https://github.com/vuejs/language-tools/releases) - [Changelog](https://github.com/vuejs/language-tools/blob/master/CHANGELOG.md) - [Commits](https://github.com/vuejs/language-tools/commits/v3.3.7/packages/tsc) Updates `@nestjs/testing` from 11.1.27 to 11.1.28 - [Release notes](https://github.com/nestjs/nest/releases) - [Commits](https://github.com/nestjs/nest/commits/v11.1.28/packages/testing) Updates `@swc/core` from 1.15.41 to 1.15.43 - [Release notes](https://github.com/swc-project/swc/releases) - [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md) - [Commits](https://github.com/swc-project/swc/commits/v1.15.43/packages/core) Updates `globals` from 17.6.0 to 17.7.0 - [Release notes](https://github.com/sindresorhus/globals/releases) - [Commits](https://github.com/sindresorhus/globals/compare/v17.6.0...v17.7.0) Updates `ts-loader` from 9.6.1 to 9.6.2 - [Release notes](https://github.com/TypeStrong/ts-loader/releases) - [Changelog](https://github.com/TypeStrong/ts-loader/blob/main/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/ts-loader/compare/v9.6.1...v9.6.2) Updates `tsx` from 4.22.4 to 4.23.0 - [Release notes](https://github.com/privatenumber/tsx/releases) - [Changelog](https://github.com/privatenumber/tsx/blob/master/release.config.cjs) - [Commits](https://github.com/privatenumber/tsx/compare/v4.22.4...v4.23.0) Updates `typescript-eslint` from 8.61.1 to 8.63.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.63.0/packages/typescript-eslint) --- updated-dependencies: - dependency-name: "@commitlint/cli" dependency-version: 21.2.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies - dependency-name: "@commitlint/config-conventional" dependency-version: 21.2.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies - dependency-name: "@semantic-release/github" dependency-version: 12.0.9 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: prettier dependency-version: 3.9.5 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies - dependency-name: "@types/node" dependency-version: 26.1.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies - dependency-name: "@vitest/coverage-v8" dependency-version: 4.1.10 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: "@vitest/eslint-plugin" dependency-version: 1.6.22 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: "@vue/eslint-config-typescript" dependency-version: 14.9.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies - dependency-name: eslint dependency-version: 10.6.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies - dependency-name: eslint-plugin-oxlint dependency-version: 1.73.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies - dependency-name: oxlint dependency-version: 1.73.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies - dependency-name: vite dependency-version: 8.1.4 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies - dependency-name: vite-plugin-vue-devtools dependency-version: 8.1.5 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: vitest dependency-version: 4.1.10 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: vue-tsc dependency-version: 3.3.7 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: "@nestjs/testing" dependency-version: 11.1.28 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: "@swc/core" dependency-version: 1.15.43 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: globals dependency-version: 17.7.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies - dependency-name: ts-loader dependency-version: 9.6.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: tsx dependency-version: 4.23.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies - dependency-name: typescript-eslint dependency-version: 8.63.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
+12
-12
@@ -74,29 +74,29 @@
|
||||
"@tsconfig/node24": "^24.0.4",
|
||||
"@types/canvas-confetti": "^1.9.0",
|
||||
"@types/jsdom": "^28.0.3",
|
||||
"@types/node": "^26.0.0",
|
||||
"@types/node": "^26.1.1",
|
||||
"@vite-pwa/assets-generator": "^1.0.2",
|
||||
"@vitejs/plugin-vue": "^6.0.7",
|
||||
"@vitest/coverage-v8": "^4.1.9",
|
||||
"@vitest/eslint-plugin": "^1.6.20",
|
||||
"@vue/eslint-config-typescript": "^14.8.0",
|
||||
"@vitest/coverage-v8": "^4.1.10",
|
||||
"@vitest/eslint-plugin": "^1.6.22",
|
||||
"@vue/eslint-config-typescript": "^14.9.0",
|
||||
"@vue/test-utils": "^2.4.11",
|
||||
"@vue/tsconfig": "^0.9.1",
|
||||
"eslint": "^10.5.0",
|
||||
"eslint": "^10.6.0",
|
||||
"eslint-config-prettier": "^10.1.8",
|
||||
"eslint-plugin-oxlint": "~1.70.0",
|
||||
"eslint-plugin-oxlint": "~1.73.0",
|
||||
"eslint-plugin-vue": "~10.9.2",
|
||||
"jiti": "^2.7.0",
|
||||
"jsdom": "^29.1.1",
|
||||
"npm-run-all2": "^9.0.2",
|
||||
"oxlint": "~1.70.0",
|
||||
"prettier": "3.8.4",
|
||||
"oxlint": "~1.73.0",
|
||||
"prettier": "3.9.5",
|
||||
"tw-animate-css": "^1.4.0",
|
||||
"typescript": "~6.0.3",
|
||||
"vite": "^8.0.16",
|
||||
"vite-plugin-vue-devtools": "^8.1.3",
|
||||
"vitest": "^4.1.9",
|
||||
"vue-tsc": "^3.3.5"
|
||||
"vite": "^8.1.4",
|
||||
"vite-plugin-vue-devtools": "^8.1.5",
|
||||
"vitest": "^4.1.10",
|
||||
"vue-tsc": "^3.3.7"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^20.19.0 || >=22.12.0"
|
||||
|
||||
@@ -261,8 +261,7 @@ export async function bulkRefreshAuthorsMetadata(
|
||||
if (!line.startsWith('data: ')) continue
|
||||
try {
|
||||
const payload = JSON.parse(line.slice(6)) as
|
||||
| (BulkAuthorMetadataRefreshEvent & { done?: false })
|
||||
| (BulkAuthorMetadataRefreshResult & { done: true })
|
||||
(BulkAuthorMetadataRefreshEvent & { done?: false }) | (BulkAuthorMetadataRefreshResult & { done: true })
|
||||
|
||||
if ('done' in payload && payload.done) {
|
||||
summary = {
|
||||
|
||||
@@ -39,19 +39,7 @@ export type CustomColumnId = `custom:${number}`
|
||||
export type ColumnId = StaticColumnId | CustomColumnId
|
||||
|
||||
export type CellType =
|
||||
| 'lockRow'
|
||||
| 'cover'
|
||||
| 'text'
|
||||
| 'number'
|
||||
| 'rating'
|
||||
| 'chips'
|
||||
| 'readStatus'
|
||||
| 'format'
|
||||
| 'read'
|
||||
| 'date'
|
||||
| 'progress'
|
||||
| 'actions'
|
||||
| 'customBoolean'
|
||||
'lockRow' | 'cover' | 'text' | 'number' | 'rating' | 'chips' | 'readStatus' | 'format' | 'read' | 'date' | 'progress' | 'actions' | 'customBoolean'
|
||||
|
||||
export type ColumnDef = {
|
||||
id: string
|
||||
|
||||
@@ -92,8 +92,7 @@ describe('useNotifications', () => {
|
||||
subscribe()
|
||||
|
||||
const notificationNewHandler = mockSocket.on.mock.calls.find(([event]: unknown[]) => event === 'notification:new')?.[1] as
|
||||
| ((item: NotificationItem) => void)
|
||||
| undefined
|
||||
((item: NotificationItem) => void) | undefined
|
||||
|
||||
expect(notificationNewHandler).toBeDefined()
|
||||
|
||||
|
||||
+4
-4
@@ -55,16 +55,16 @@
|
||||
"pnpm": ">=9"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^21.0.2",
|
||||
"@commitlint/config-conventional": "^21.0.2",
|
||||
"@commitlint/cli": "^21.2.1",
|
||||
"@commitlint/config-conventional": "^21.2.0",
|
||||
"@semantic-release/commit-analyzer": "^13.0.1",
|
||||
"@semantic-release/github": "^12.0.8",
|
||||
"@semantic-release/github": "^12.0.9",
|
||||
"@semantic-release/release-notes-generator": "^14.1.1",
|
||||
"concurrently": "^10.0.3",
|
||||
"conventional-changelog-conventionalcommits": "^9.3.1",
|
||||
"husky": "^9.1.7",
|
||||
"lint-staged": "^17.0.8",
|
||||
"prettier": "^3.8.4",
|
||||
"prettier": "^3.9.5",
|
||||
"semantic-release": "^25.0.5"
|
||||
},
|
||||
"lint-staged": {
|
||||
|
||||
Generated
+1047
-981
File diff suppressed because it is too large
Load Diff
+11
-11
@@ -107,34 +107,34 @@
|
||||
"@ffprobe-installer/ffprobe": "^2.1.2",
|
||||
"@nestjs/cli": "^11.0.23",
|
||||
"@nestjs/schematics": "^11.1.0",
|
||||
"@nestjs/testing": "^11.1.27",
|
||||
"@nestjs/testing": "^11.1.28",
|
||||
"@swc/cli": "^0.8.1",
|
||||
"@swc/core": "^1.15.41",
|
||||
"@swc/core": "^1.15.43",
|
||||
"@types/bcrypt": "^6.0.0",
|
||||
"@types/express": "^5.0.6",
|
||||
"@types/node": "^26.0.0",
|
||||
"@types/node": "^26.1.1",
|
||||
"@types/nodemailer": "^8.0.1",
|
||||
"@types/opentype.js": "^1.3.10",
|
||||
"@types/passport-jwt": "^4.0.1",
|
||||
"@types/pg": "^8.18.0",
|
||||
"@types/supertest": "^7.2.0",
|
||||
"@types/unzipper": "^0.10.11",
|
||||
"@vitest/coverage-v8": "^4.1.9",
|
||||
"@vitest/coverage-v8": "^4.1.10",
|
||||
"drizzle-kit": "^0.31.10",
|
||||
"eslint": "^10.5.0",
|
||||
"eslint": "^10.6.0",
|
||||
"eslint-config-prettier": "^10.1.8",
|
||||
"eslint-plugin-prettier": "^5.5.6",
|
||||
"globals": "^17.6.0",
|
||||
"globals": "^17.7.0",
|
||||
"pino-pretty": "^13.1.3",
|
||||
"prettier": "^3.8.4",
|
||||
"prettier": "^3.9.5",
|
||||
"source-map-support": "^0.5.21",
|
||||
"supertest": "^7.2.2",
|
||||
"ts-loader": "^9.6.1",
|
||||
"ts-loader": "^9.6.2",
|
||||
"ts-node": "^10.9.2",
|
||||
"tsconfig-paths": "^4.2.0",
|
||||
"tsx": "^4.22.4",
|
||||
"tsx": "^4.23.0",
|
||||
"typescript": "^6.0.3",
|
||||
"typescript-eslint": "^8.61.1",
|
||||
"vitest": "^4.1.9"
|
||||
"typescript-eslint": "^8.63.0",
|
||||
"vitest": "^4.1.10"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -328,12 +328,7 @@ export class AuthorsRepository {
|
||||
|
||||
private orderByDirection(
|
||||
expression:
|
||||
| SQL
|
||||
| typeof authors.name
|
||||
| typeof authors.sortName
|
||||
| typeof bookMetadata.title
|
||||
| typeof bookMetadata.publishedYear
|
||||
| typeof books.addedAt,
|
||||
SQL | typeof authors.name | typeof authors.sortName | typeof bookMetadata.title | typeof bookMetadata.publishedYear | typeof books.addedAt,
|
||||
order: SortDirection,
|
||||
) {
|
||||
return order === 'asc' ? asc(expression) : desc(expression);
|
||||
|
||||
@@ -12,8 +12,7 @@ export interface PdfWriteWorkerData {
|
||||
}
|
||||
|
||||
export type PdfWriteWorkerMessage =
|
||||
| { type: 'result'; result: WriteResult }
|
||||
| { type: 'error'; errorClass: string; errorMessage: string; stack?: string };
|
||||
{ type: 'result'; result: WriteResult } | { type: 'error'; errorClass: string; errorMessage: string; stack?: string };
|
||||
|
||||
interface PdfWorkerProcess {
|
||||
once(event: 'message', listener: (message: unknown) => void): this;
|
||||
|
||||
@@ -9,8 +9,7 @@ import { KoboBookAccessService } from './kobo-book-access.service';
|
||||
type Db = NodePgDatabase<typeof schema>;
|
||||
|
||||
export type KoboAnalyticsResolveResult =
|
||||
| { kind: 'resolved'; bookFileId: number }
|
||||
| { kind: 'skipped'; reason: 'book_not_found' | 'book_not_accessible' | 'no_epub_file' };
|
||||
{ kind: 'resolved'; bookFileId: number } | { kind: 'skipped'; reason: 'book_not_found' | 'book_not_accessible' | 'no_epub_file' };
|
||||
|
||||
@Injectable()
|
||||
export class KoboAnalyticsResolverService {
|
||||
|
||||
@@ -16,8 +16,7 @@ export interface KepubReaderFile {
|
||||
}
|
||||
|
||||
export type KepubContextResult =
|
||||
| { ok: true; ctx: KepubContext; file: KepubReaderFile; settings: KoboSettings }
|
||||
| { ok: false; reason: string; settings: KoboSettings | null };
|
||||
{ ok: true; ctx: KepubContext; file: KepubReaderFile; settings: KoboSettings } | { ok: false; reason: string; settings: KoboSettings | null };
|
||||
|
||||
/**
|
||||
* Resolves the kepub artifact context for a book: the primary reader file, the
|
||||
|
||||
@@ -91,17 +91,7 @@ function parseBookOrbitTags(raw: string | null): string[] {
|
||||
}
|
||||
|
||||
type ProviderKey =
|
||||
| 'google'
|
||||
| 'amazon'
|
||||
| 'goodreads'
|
||||
| 'hardcover'
|
||||
| 'hardcoverEdition'
|
||||
| 'openlibrary'
|
||||
| 'ranobedb'
|
||||
| 'kobo'
|
||||
| 'lubimyczytac'
|
||||
| 'aladin'
|
||||
| 'itunes';
|
||||
'google' | 'amazon' | 'goodreads' | 'hardcover' | 'hardcoverEdition' | 'openlibrary' | 'ranobedb' | 'kobo' | 'lubimyczytac' | 'aladin' | 'itunes';
|
||||
|
||||
// Calibre 9.x (opf3) writes provider identifiers as bare `prefix:value` text inside <dc:identifier>.
|
||||
// Only these known prefixes are recognized, as a lowest-priority fallback after opf:scheme and urn:.
|
||||
|
||||
@@ -15,8 +15,7 @@ export interface PdfParseWorkerResult {
|
||||
}
|
||||
|
||||
export type PdfParseWorkerMessage =
|
||||
| { type: 'result'; result: PdfParseWorkerResult }
|
||||
| { type: 'error'; errorClass: string; errorMessage: string; stack?: string };
|
||||
{ type: 'result'; result: PdfParseWorkerResult } | { type: 'error'; errorClass: string; errorMessage: string; stack?: string };
|
||||
|
||||
interface PdfWorkerProcess {
|
||||
once(event: 'message', listener: (message: unknown) => void): this;
|
||||
|
||||
@@ -7,10 +7,7 @@ import { NotificationGateway } from './notification.gateway';
|
||||
import { NotificationRepository } from './notification.repository';
|
||||
|
||||
export type NotificationScope =
|
||||
| { kind: 'library'; libraryId: number }
|
||||
| { kind: 'user'; userId: number }
|
||||
| { kind: 'permission'; permission: Permission }
|
||||
| { kind: 'all' };
|
||||
{ kind: 'library'; libraryId: number } | { kind: 'user'; userId: number } | { kind: 'permission'; permission: Permission } | { kind: 'all' };
|
||||
|
||||
export interface NotifyPayload {
|
||||
type: NotificationType;
|
||||
|
||||
Reference in New Issue
Block a user