mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 20:25:43 +00:00
Add eslint rule and fix as many issues as possible
This commit is contained in:
Vendored
+7
-12
@@ -1,16 +1,11 @@
|
||||
import * as express from 'express';
|
||||
import { Types } from 'mongoose';
|
||||
import {
|
||||
IUser,
|
||||
IServiceAccount,
|
||||
IServiceTokenData,
|
||||
ISecret
|
||||
} from '../../models';
|
||||
import {
|
||||
AuthData
|
||||
} from '../../interfaces/middleware';
|
||||
import { Types } from "mongoose";
|
||||
|
||||
declare module 'express' {
|
||||
|
||||
import {
|
||||
AuthData,
|
||||
} from "../../interfaces/middleware";
|
||||
|
||||
declare module "express" {
|
||||
interface Request {
|
||||
user?: any;
|
||||
}
|
||||
|
||||
Vendored
-2
@@ -1,7 +1,5 @@
|
||||
import { Types } from "mongoose";
|
||||
import { Assign, Omit } from "utility-types";
|
||||
import { ISecret } from "../../models";
|
||||
import { mongo } from "mongoose";
|
||||
|
||||
// Everything is required, except the omitted types
|
||||
export type CreateSecretRequestBody = Omit<
|
||||
|
||||
Reference in New Issue
Block a user