aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/oauth
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-12-16 18:04:16 +0100
committerChocobozzz <me@florianbigard.com>2021-12-16 18:04:16 +0100
commit6b5f72beda96d8b7e4d6329c4001827334de27dd (patch)
tree1c14354896ce1d44b373f18f9ae0dfc72e0b12df /server/models/oauth
parent077f344891b3f4b00a8a4f8d700306d4392b3a2f (diff)
downloadPeerTube-6b5f72beda96d8b7e4d6329c4001827334de27dd.tar.gz
PeerTube-6b5f72beda96d8b7e4d6329c4001827334de27dd.tar.zst
PeerTube-6b5f72beda96d8b7e4d6329c4001827334de27dd.zip
Move typescript utils in its own directory
Diffstat (limited to 'server/models/oauth')
-rw-r--r--server/models/oauth/oauth-client.ts2
-rw-r--r--server/models/oauth/oauth-token.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/models/oauth/oauth-client.ts b/server/models/oauth/oauth-client.ts
index 890954bdb..860fa6f53 100644
--- a/server/models/oauth/oauth-client.ts
+++ b/server/models/oauth/oauth-client.ts
@@ -1,5 +1,5 @@
1import { AllowNull, Column, CreatedAt, DataType, HasMany, Model, Table, UpdatedAt } from 'sequelize-typescript' 1import { AllowNull, Column, CreatedAt, DataType, HasMany, Model, Table, UpdatedAt } from 'sequelize-typescript'
2import { AttributesOnly } from '@shared/core-utils' 2import { AttributesOnly } from '@shared/typescript-utils'
3import { OAuthTokenModel } from './oauth-token' 3import { OAuthTokenModel } from './oauth-token'
4 4
5@Table({ 5@Table({
diff --git a/server/models/oauth/oauth-token.ts b/server/models/oauth/oauth-token.ts
index af4b0ec42..f72423190 100644
--- a/server/models/oauth/oauth-token.ts
+++ b/server/models/oauth/oauth-token.ts
@@ -15,7 +15,7 @@ import {
15import { TokensCache } from '@server/lib/auth/tokens-cache' 15import { TokensCache } from '@server/lib/auth/tokens-cache'
16import { MUserAccountId } from '@server/types/models' 16import { MUserAccountId } from '@server/types/models'
17import { MOAuthTokenUser } from '@server/types/models/oauth/oauth-token' 17import { MOAuthTokenUser } from '@server/types/models/oauth/oauth-token'
18import { AttributesOnly } from '@shared/core-utils' 18import { AttributesOnly } from '@shared/typescript-utils'
19import { logger } from '../../helpers/logger' 19import { logger } from '../../helpers/logger'
20import { AccountModel } from '../account/account' 20import { AccountModel } from '../account/account'
21import { ActorModel } from '../actor/actor' 21import { ActorModel } from '../actor/actor'