Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(
private env: Env,
private http: Http,
@Inject('I18n') private i18n: I18n,
) {}
public constructor(
@Inject(UserDiToken.USER_SERVICE) private readonly userService: UserService,
) { }
constructor(
@Inject('FeedbackQueryRepository') private feedbackRepository: FeedbackCommandRepository) {
}
export const InjectRepository = (entity: Function) => Inject(getRepositoryToken(entity));
constructor(
@Inject(USER_MODEL_TOKEN) private readonly userModel: Model,
@Inject(FACEBOOK_CONFIG_TOKEN) private readonly fbConfig: IFacebookConfig,
@Inject(TWITTER_CONFIG_TOKEN) private readonly twitterConfig: ITwitterConfig,
@Inject(GOOGLE_CONFIG_TOKEN) private readonly googleConfig: IGoogleConfig
) {
this.url = `${SERVER_CONFIG.httpProtocol}://${SERVER_CONFIG.domain}:${SERVER_CONFIG.httpPort}`;
}
constructor(
@InjectRepository(OperatingSystem)
private operatingSystemRepository: Repository,
private lxdService: LXDService,
@Inject('LXDHubDbSyncSettings')
private dbSyncSettings: LXDHubDbSyncSettings
) {
this.logger = new Logger('OperatingSystemService');
}
constructor(
private readonly imageRepository: ImageRepository,
private readonly imageListItemFactory: ImageListItemFactory,
private readonly imageDetailFactory: ImageDetailFactory,
private readonly searchService: SearchService,
private readonly remoteService: RemoteService,
@Inject('ImageSearchDictionary')
private readonly imageSearchDictionary: SearchDictionary[],
@Inject('LXDService')
private readonly lxdService: LXDService,
) { }
constructor(
@Inject('PubSub') private readonly pubSub: PubSub,
private readonly likeService: LikeService
) {}
constructor(
private readonly manager: AzureTableStorageService,
@Inject(AZURE_TABLE_STORAGE_NAME) private readonly tableName,
) {}