File tree Expand file tree Collapse file tree 6 files changed +4
-16
lines changed
Expand file tree Collapse file tree 6 files changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,4 @@ module.exports = {
2222 '@typescript-eslint/explicit-module-boundary-types' : 'off' ,
2323 '@typescript-eslint/no-explicit-any' : 'off' ,
2424 } ,
25- 'prettier/prettier' : [
26- 'error' ,
27- {
28- endOfLine : 'auto' ,
29- } ,
30- ] ,
3125} ;
Original file line number Diff line number Diff line change 1- import { Injectable , Inject } from '@nestjs/common' ;
1+ import { Injectable } from '@nestjs/common' ;
22import { NodeRepository } from '../node/node.repository' ;
33import { WorkspaceRepository } from '../workspace/workspace.repository' ;
44import { PageRepository } from './page.repository' ;
@@ -9,8 +9,6 @@ import { UpdatePartialPageDto } from './dtos/updatePartialPage.dto';
99import { PageNotFoundException } from '../exception/page.exception' ;
1010import { WorkspaceNotFoundException } from '../exception/workspace.exception' ;
1111
12- const RED_LOCK_TOKEN = 'RED_LOCK' ;
13-
1412@Injectable ( )
1513export class PageService {
1614 constructor (
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { Page } from '../page/page.entity';
77import { Node } from '../node/node.entity' ;
88import { Edge } from '../edge/edge.entity' ;
99import { Inject } from '@nestjs/common' ;
10- import Redis , { Command } from 'ioredis' ;
10+ import Redis from 'ioredis' ;
1111
1212const REDIS_CLIENT_TOKEN = 'REDIS_CLIENT' ;
1313
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ export default tseslint.config(
2323 "warn" ,
2424 { allowConstantExport : true } ,
2525 ] ,
26+ "@typescript-eslint/no-explicit-any" : "off" ,
2627 } ,
2728 } ,
2829) ;
Original file line number Diff line number Diff line change @@ -22,10 +22,4 @@ module.exports = {
2222 '@typescript-eslint/explicit-module-boundary-types' : 'off' ,
2323 '@typescript-eslint/no-explicit-any' : 'off' ,
2424 } ,
25- 'prettier/prettier' : [
26- 'error' ,
27- {
28- endOfLine : 'auto' ,
29- } ,
30- ] ,
3125} ;
Original file line number Diff line number Diff line change 77 "license" : " MIT" ,
88 "scripts" : {
99 "dev" : " turbo run dev --parallel" ,
10+ "build" : " turbo run build --parallel" ,
1011 "build:frontend" : " cd ./apps/frontend && yarn build" ,
1112 "build:backend" : " cd ./apps/backend && yarn build" ,
1213 "build:websocket" : " cd ./apps/websocket && yarn build" ,
You can’t perform that action at this time.
0 commit comments