add user module and jwt
This commit is contained in:
parent
e67711c2fe
commit
ddb436cb9a
@ -1,4 +1,5 @@
|
|||||||
import { Entity, ManyToOne, OneToOne, Relation } from 'typeorm';
|
import type { Relation } from 'typeorm';
|
||||||
|
import { Entity, ManyToOne, OneToOne } from 'typeorm';
|
||||||
|
|
||||||
import { BaseToken } from '@/modules/user/entities/base.token';
|
import { BaseToken } from '@/modules/user/entities/base.token';
|
||||||
import { RefreshTokenEntity } from '@/modules/user/entities/refresh.token.entity';
|
import { RefreshTokenEntity } from '@/modules/user/entities/refresh.token.entity';
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
import { Entity, JoinColumn, OneToOne, Relation } from 'typeorm';
|
import type { Relation } from 'typeorm';
|
||||||
|
import { Entity, JoinColumn, OneToOne } from 'typeorm';
|
||||||
|
|
||||||
import { AccessTokenEntity } from '@/modules/user/entities/access.token.entity';
|
import { AccessTokenEntity } from '@/modules/user/entities/access.token.entity';
|
||||||
import { BaseToken } from '@/modules/user/entities/base.token';
|
import { BaseToken } from '@/modules/user/entities/base.token';
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
import { Exclude, Expose, Type } from 'class-transformer';
|
import { Exclude, Expose, Type } from 'class-transformer';
|
||||||
|
import type { Relation } from 'typeorm';
|
||||||
import {
|
import {
|
||||||
Column,
|
Column,
|
||||||
CreateDateColumn,
|
CreateDateColumn,
|
||||||
@ -6,7 +7,6 @@ import {
|
|||||||
Entity,
|
Entity,
|
||||||
OneToMany,
|
OneToMany,
|
||||||
PrimaryColumn,
|
PrimaryColumn,
|
||||||
Relation,
|
|
||||||
UpdateDateColumn,
|
UpdateDateColumn,
|
||||||
} from 'typeorm';
|
} from 'typeorm';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user