Skip to content

Commit

Permalink
fix: disable lint error also for modules
Browse files Browse the repository at this point in the history
  • Loading branch information
alemazzo committed Nov 21, 2023
1 parent e1ace5e commit db038bc
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion services/api/src/messages/channel.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Empty, ErrorResponse, Response } from '../response'
import { RequestSchema } from '../schema'

/* eslint-disable @typescript-eslint/no-namespace */
export module GetChannelMessagesApi {
export module Request {
export type Type = Body & Params & Query
Expand Down
2 changes: 1 addition & 1 deletion services/api/src/messages/direct.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Empty, ErrorResponse, Response } from '../response'
import { RequestSchema } from '../schema'

/* eslint-disable @typescript-eslint/no-namespace */
export module GetDirectMessagesApi {
export module Request {
export type Type = Body & Params & Query
Expand Down
1 change: 1 addition & 0 deletions services/api/src/monitoring/status.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Empty, Response } from '@api/response'
import { RequestSchema } from '@api/schema'
/* eslint-disable @typescript-eslint/no-namespace */

export module GetServicesStatusApi {
export module Request {
Expand Down
1 change: 1 addition & 0 deletions services/api/src/multimedia/session.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Response } from '../response'
import { RequestSchema } from '../schema'
/* eslint-disable @typescript-eslint/no-namespace */

export module GetChannelSessionIdApi {
export module Request {
Expand Down
2 changes: 1 addition & 1 deletion services/api/src/piperchat/channel.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Empty, ErrorResponse, Response } from '../response'
import { RequestSchema } from '../schema'

/* eslint-disable @typescript-eslint/no-namespace */
export module GetChannelsApi {
export module Request {
export type Type = Body & Params
Expand Down
2 changes: 1 addition & 1 deletion services/api/src/piperchat/server.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Empty, ErrorResponse, Response } from '../response'
import { RequestSchema } from '../schema'

/* eslint-disable @typescript-eslint/no-namespace */
export module KickUserFromServerApi {
export module Request {
export type Type = Params & Body
Expand Down
2 changes: 1 addition & 1 deletion services/api/src/users/auth.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Empty, ErrorResponse, Response, ResponseFacade } from '../response'
import { RequestSchema, EmptySchema } from '../schema'

/* eslint-disable @typescript-eslint/no-namespace */
/**
* Register endpoint
*/
Expand Down
1 change: 1 addition & 0 deletions services/api/src/users/friends.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Empty, ErrorResponse, Response } from '../response'
import { EmptySchema, RequestSchema } from '../schema'
/* eslint-disable @typescript-eslint/no-namespace */

export module GetFriendsApi {
export module Request {
Expand Down
1 change: 1 addition & 0 deletions services/api/src/users/profile.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Empty, Response } from '../response'
import { RequestSchema } from '../schema'
/* eslint-disable @typescript-eslint/no-namespace */

/**
* Update photo endpoint
Expand Down
1 change: 1 addition & 0 deletions services/api/src/users/user.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-namespace */
import { Empty, ErrorResponse, Response } from '../response'
import { EmptySchema, RequestSchema } from '../schema'
import { UpdatePhotoApi } from './profile'
Expand Down

0 comments on commit db038bc

Please sign in to comment.