repo
stringlengths
7
64
file_url
stringlengths
81
338
file_path
stringlengths
5
257
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:25:31
2026-01-05 01:50:38
truncated
bool
2 classes
4lessandrodev/rich-domain
https://github.com/4lessandrodev/rich-domain/blob/3b3cf7c211fadfd9807e0a74389260baa79051c1/lib/core/entity.ts
lib/core/entity.ts
import { Adapter, AutoMapperSerializer, EntityMapperPayload, EntityProps, _Adapter, _Entity, _Result, Settings, UID } from "../types"; import { ReadonlyDeep } from "../types-util"; import { deepFreeze } from "../utils/deep-freeze.util"; import AutoMapper from "./auto-mapper"; import GettersAndSetters from "./entity-get...
typescript
MIT
3b3cf7c211fadfd9807e0a74389260baa79051c1
2026-01-05T05:01:27.440427Z
false
4lessandrodev/rich-domain
https://github.com/4lessandrodev/rich-domain/blob/3b3cf7c211fadfd9807e0a74389260baa79051c1/lib/core/create-many-domain-instance.ts
lib/core/create-many-domain-instance.ts
import { IClass, CreateManyDomain, CreateManyResult, _ManyData, _Result } from "../types"; import validator from "../utils/validator"; import Iterator from "./iterator"; import Result from "./result"; /** * @description Helper function to create a data structure for constructing domain instances. * Use this function...
typescript
MIT
3b3cf7c211fadfd9807e0a74389260baa79051c1
2026-01-05T05:01:27.440427Z
false
4lessandrodev/rich-domain
https://github.com/4lessandrodev/rich-domain/blob/3b3cf7c211fadfd9807e0a74389260baa79051c1/lib/core/entity-getters-and-setters.ts
lib/core/entity-getters-and-setters.ts
import { CreateManyDomain, _EntityGettersAndSetters, IParentName, Settings } from "../types"; import util, { Utils } from "../utils/util"; import validator, { Validator } from "../utils/validator"; import createManyDomainInstances from "./create-many-domain-instance"; import ID from "./id"; /** * @description Getters...
typescript
MIT
3b3cf7c211fadfd9807e0a74389260baa79051c1
2026-01-05T05:01:27.440427Z
false
4lessandrodev/rich-domain
https://github.com/4lessandrodev/rich-domain/blob/3b3cf7c211fadfd9807e0a74389260baa79051c1/lib/core/crypto.ts
lib/core/crypto.ts
import * as crypto from 'crypto'; /* UUID = time-low "-" time-mid "-" time-high-and-version "-" clock-seq-and-reserved clock-seq-low "-" node time-low = 4hexOctet time-mid = 2hexOctet time-high-and-version = 2hexOctet clock-seq...
typescript
MIT
3b3cf7c211fadfd9807e0a74389260baa79051c1
2026-01-05T05:01:27.440427Z
false
4lessandrodev/rich-domain
https://github.com/4lessandrodev/rich-domain/blob/3b3cf7c211fadfd9807e0a74389260baa79051c1/lib/core/value-object.ts
lib/core/value-object.ts
import { Adapter, AutoMapperSerializer, _Adapter, _Result, _ValueObject, _VoSettings, UID } from "../types"; import { ReadonlyDeep } from "../types-util"; import { deepFreeze } from "../utils/deep-freeze.util"; import AutoMapper from "./auto-mapper"; import BaseGettersAndSetters from "./base-getters-and-setters"; impor...
typescript
MIT
3b3cf7c211fadfd9807e0a74389260baa79051c1
2026-01-05T05:01:27.440427Z
false
4lessandrodev/rich-domain
https://github.com/4lessandrodev/rich-domain/blob/3b3cf7c211fadfd9807e0a74389260baa79051c1/lib/core/base-getters-and-setters.ts
lib/core/base-getters-and-setters.ts
import { CreateManyDomain, _BaseGettersAndSetters, Settings, UID, _VoSettings } from "../types"; import { BuiltIns } from "../types-util"; import util, { Utils } from "../utils/util"; import validator, { Validator } from "../utils/validator"; import createManyDomainInstances from "./create-many-domain-instance"; /** ...
typescript
MIT
3b3cf7c211fadfd9807e0a74389260baa79051c1
2026-01-05T05:01:27.440427Z
false
4lessandrodev/rich-domain
https://github.com/4lessandrodev/rich-domain/blob/3b3cf7c211fadfd9807e0a74389260baa79051c1/lib/core/result.ts
lib/core/result.ts
import { ICommand, _Iterator, _Result, ResultExecute, ResultHook, ResultObject, IResultOptions } from "../types"; import Iterator from "./iterator"; /** * @description The `Result` class represents the outcome of an operation, encapsulating both the success or failure state. * A `Result` instance can contain a paylo...
typescript
MIT
3b3cf7c211fadfd9807e0a74389260baa79051c1
2026-01-05T05:01:27.440427Z
false
4lessandrodev/rich-domain
https://github.com/4lessandrodev/rich-domain/blob/3b3cf7c211fadfd9807e0a74389260baa79051c1/lib/core/iterator.ts
lib/core/iterator.ts
import { _Iterator, ITeratorConfig } from "../types"; /** * @description The Iterator class provides a way to traverse through a collection of items sequentially, * without exposing the underlying data structure. It supports both forward and backward traversal, * optional looping behavior, and methods to manipulate...
typescript
MIT
3b3cf7c211fadfd9807e0a74389260baa79051c1
2026-01-05T05:01:27.440427Z
false
4lessandrodev/rich-domain
https://github.com/4lessandrodev/rich-domain/blob/3b3cf7c211fadfd9807e0a74389260baa79051c1/lib/core/context.ts
lib/core/context.ts
import platform from "../utils/platform.util"; import BrowserEventManager from "./browser-event-manager"; import { EventManager } from "../types"; import ServerEventManager from "./server-event-manager"; /** * @description The Context class provides a platform-aware mechanism for * retrieving a global event manager...
typescript
MIT
3b3cf7c211fadfd9807e0a74389260baa79051c1
2026-01-05T05:01:27.440427Z
false
4lessandrodev/rich-domain
https://github.com/4lessandrodev/rich-domain/blob/3b3cf7c211fadfd9807e0a74389260baa79051c1/lib/core/fail.ts
lib/core/fail.ts
import { _Result } from "../types"; import Result from "./result"; /** * @description Creates a `Result` instance representing a failure state. * * The `Fail` function returns a result indicating that an operation has failed, * and can optionally include an error message and additional metadata. * * @typeParam...
typescript
MIT
3b3cf7c211fadfd9807e0a74389260baa79051c1
2026-01-05T05:01:27.440427Z
false
4lessandrodev/rich-domain
https://github.com/4lessandrodev/rich-domain/blob/3b3cf7c211fadfd9807e0a74389260baa79051c1/lib/core/index.ts
lib/core/index.ts
export * from './aggregate'; export * from './auto-mapper'; export * from './entity'; export * from './events'; export * from './base-getters-and-setters'; export * from './id'; export * from './iterator'; export * from './result'; export * from './value-object'; export * from './create-many-domain-instance'; export * ...
typescript
MIT
3b3cf7c211fadfd9807e0a74389260baa79051c1
2026-01-05T05:01:27.440427Z
false
4lessandrodev/rich-domain
https://github.com/4lessandrodev/rich-domain/blob/3b3cf7c211fadfd9807e0a74389260baa79051c1/lib/core/events.ts
lib/core/events.ts
import { Metrics, DEvent, Options, Handler, PromiseHandler } from "../types"; /** * @description TsEvents manages a collection of events for a given aggregate. * It allows adding, removing, and dispatching events, as well as retrieving event-related metrics. */ export class TsEvents<T> { private _metrics: Metric...
typescript
MIT
3b3cf7c211fadfd9807e0a74389260baa79051c1
2026-01-05T05:01:27.440427Z
false
4lessandrodev/rich-domain
https://github.com/4lessandrodev/rich-domain/blob/3b3cf7c211fadfd9807e0a74389260baa79051c1/lib/core/aggregate.ts
lib/core/aggregate.ts
import { EventHandler, _Result, Settings, Options, UID } from "../types"; import { EntityProps, EventMetrics, Handler, _Aggregate } from "../types"; import TsEvent from "./events"; import Entity from "./entity"; import ID from "./id"; import Result from "./result"; import Context from "./context"; import { EventManager...
typescript
MIT
3b3cf7c211fadfd9807e0a74389260baa79051c1
2026-01-05T05:01:27.440427Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/cli.ts
src/cli.ts
import exitHook from 'async-exit-hook'; import {CommandModule, CommandService} from 'nestjs-command'; import {AppDispatcher, AppLogger} from './app'; const logger = new AppLogger('Cli'); logger.log(`Start`); const dispatcher = new AppDispatcher(); dispatcher.getContext().then(app => { app.select(CommandModule).get(...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/index.ts
src/index.ts
import exitHook from 'async-exit-hook'; import { AppDispatcher, AppLogger } from './app'; const logger = new AppLogger('Index'); logger.log(`Start`); const dispatcher = new AppDispatcher(); dispatcher.dispatch() .then(() => logger.log('Everything up')) .catch(e => { logger.error(e.message, e.stack); process.ex...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/app.module.ts
src/app/app.module.ts
import {MiddlewareConsumer, Module, RequestMethod} from '@nestjs/common'; import {CommandModule} from 'nestjs-command'; import {AuthModule} from './auth/auth.module'; import {AppLogger} from './app.logger'; import {ContractModule} from './contract/contract.module'; import {DatabaseModule} from './database/database.modu...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/graphql.schema.ts
src/app/graphql.schema.ts
/* tslint:disable */ export class AllMessagesFilterInput { conversationId?: ModelIDFilterInput; content?: ModelStringFilterInput; type?: ModelStringFilterInput; isSent?: ModelBooleanFilterInput; isRead?: ModelBooleanFilterInput; createdAt?: ModelDateFilterInput; updatedAt?: ModelDateFilterIn...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/app.dispatcher.ts
src/app/app.dispatcher.ts
import {INestApplication, INestApplicationContext, INestMicroservice} from '@nestjs/common'; import {NestFactory} from '@nestjs/core'; import {DocumentBuilder, SwaggerModule} from '@nestjs/swagger'; import {useContainer} from 'class-validator'; import cors from 'cors'; import helmet from 'helmet'; import query from 'qs...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/app.logger.ts
src/app/app.logger.ts
import { LoggerService } from '@nestjs/common'; import { DateTime } from 'luxon'; import { LoggerInstance, transports, Logger as WsLogger } from 'winston'; import { config } from '../config'; export class AppLogger implements LoggerService { private logger: LoggerInstance; constructor(label?: string) { this.logge...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/index.ts
src/app/index.ts
export * from './_helpers'; export * from './app.dispatcher'; export * from './app.logger'; export * from './app.module';
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/auth/auth.module.ts
src/app/auth/auth.module.ts
import {Module} from '@nestjs/common'; import {AuthService} from './auth.service'; import {JwtStrategy, FacebookTokenStrategy} from './stategies'; import {AuthController} from './auth.controller'; import {UserModule} from '../user/user.module'; import {DatabaseModule} from '../database/database.module'; @Module({ imp...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/auth/auth.controller.ts
src/app/auth/auth.controller.ts
import {Body, Controller, HttpCode, HttpStatus, Post, UseGuards} from '@nestjs/common'; import {Client, ClientProxy, Transport} from '@nestjs/microservices'; import {AuthGuard} from '@nestjs/passport'; import {ApiImplicitBody, ApiModelProperty, ApiResponse, ApiUseTags} from '@nestjs/swagger'; import {IsString} from 'cl...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/auth/auth-error.enum.ts
src/app/auth/auth-error.enum.ts
export enum AuthErrorEnum { }
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/auth/auth.service.ts
src/app/auth/auth.service.ts
import {Injectable} from '@nestjs/common'; import {UserService} from '../user/user.service'; import {JwtPayload} from './interfaces/jwt-payload.inteface'; @Injectable() export class AuthService { constructor(private readonly userService: UserService) {} async validateUser(payload: JwtPayload): Promise<any> { retu...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/auth/dto/credentials.dto.ts
src/app/auth/dto/credentials.dto.ts
import { IsString } from 'class-validator'; import { ApiModelProperty } from '@nestjs/swagger'; export class CredentialsDto { @ApiModelProperty() @IsString() readonly email: string; @ApiModelProperty() @IsString() readonly password: string; }
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/auth/dto/token.dto.ts
src/app/auth/dto/token.dto.ts
import {ApiModelProperty} from '@nestjs/swagger'; export class TokenDto { @ApiModelProperty() id: string; @ApiModelProperty() expiresIn: number; @ApiModelProperty() audience: string; @ApiModelProperty() issuer: string; }
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/auth/dto/password-reset.dto.ts
src/app/auth/dto/password-reset.dto.ts
import {ApiModelProperty} from '@nestjs/swagger'; export class PasswordResetDto { @ApiModelProperty() email: string; }
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/auth/dto/password-token.dto.ts
src/app/auth/dto/password-token.dto.ts
import {ApiModelProperty} from '@nestjs/swagger'; export class PasswordTokenDto { @ApiModelProperty() resetToken: string; @ApiModelProperty() password: string; }
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/auth/dto/verify-resend.dto.ts
src/app/auth/dto/verify-resend.dto.ts
import {ApiModelProperty} from '@nestjs/swagger'; export class VerifyResendDto { @ApiModelProperty() email: string; }
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/auth/dto/user-entity.dto.ts
src/app/auth/dto/user-entity.dto.ts
import {ApiModelProperty} from '@nestjs/swagger'; import {config} from '../../../config'; export class UserEntityDto { @ApiModelProperty() public first_name: string; @ApiModelProperty() public last_name: string; @ApiModelProperty() public email: string; @ApiModelProperty({ minLength: config.passwordMinLeng...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/auth/dto/verify-token.dto.ts
src/app/auth/dto/verify-token.dto.ts
import {ApiModelProperty} from '@nestjs/swagger'; export class VerifyTokenDto { @ApiModelProperty() verifyToken: string; @ApiModelProperty() email: string; }
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/auth/dto/jwt.dto.ts
src/app/auth/dto/jwt.dto.ts
import {ApiModelProperty} from '@nestjs/swagger'; export class JwtDto { @ApiModelProperty() expiresIn: number; @ApiModelProperty() accessToken: string; @ApiModelProperty() refreshToken: string; }
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/auth/dto/refresh-token.dto.ts
src/app/auth/dto/refresh-token.dto.ts
import {ApiModelProperty} from '@nestjs/swagger'; export class RefreshTokenDto { @ApiModelProperty() refreshToken: string; }
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/auth/dto/facebook-token.dto.ts
src/app/auth/dto/facebook-token.dto.ts
import {ApiModelProperty} from '@nestjs/swagger'; export class FacebookTokenDto { @ApiModelProperty() access_token: string; }
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/auth/stategies/jwt.strategy.ts
src/app/auth/stategies/jwt.strategy.ts
import {ExtractJwt, Strategy} from 'passport-jwt'; import {PassportStrategy} from '@nestjs/passport'; import {Injectable, UnauthorizedException} from '@nestjs/common'; import {config} from '../../../config'; import {AuthService} from '../auth.service'; import {JwtPayload} from '../interfaces/jwt-payload.inteface'; @In...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/auth/stategies/facebook-token.strategy.ts
src/app/auth/stategies/facebook-token.strategy.ts
import {Injectable} from '@nestjs/common'; import {PassportStrategy} from '@nestjs/passport'; import Strategy from '../../_helpers/facebook/facebook-token.strategy'; import {config} from '../../../config'; import {FacebookProfile} from '../interfaces/facebook-profile.interface'; @Injectable() export class FacebookToke...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/auth/stategies/index.ts
src/app/auth/stategies/index.ts
export * from './facebook-token.strategy'; export * from './jwt.strategy';
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/auth/interfaces/jwt-payload.inteface.ts
src/app/auth/interfaces/jwt-payload.inteface.ts
export interface JwtPayload { id: string; }
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/auth/interfaces/facebook-profile.interface.ts
src/app/auth/interfaces/facebook-profile.interface.ts
export interface FacebookObject { value: string; } export type FacebookProvider = 'facebook'; export interface FacebookProfile { displayName: string; email: FacebookObject[]; gender: string; id: string; name: { familyName: string; givenName: string; middleName: string; }; photos: FacebookObject[]; prov...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/auth/jwt/index.ts
src/app/auth/jwt/index.ts
import {JsonWebTokenError, sign, verify} from 'jsonwebtoken'; import {DeepPartial} from '../../_helpers/database'; import {UserEntity} from '../../user/entity'; import {config} from '../../../config'; import {TokenDto} from '../dto/token.dto'; export async function createAuthToken({id}: DeepPartial<UserEntity>) { con...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/user/user.resolver.ts
src/app/user/user.resolver.ts
import {Args, Mutation, Parent, Query, ResolveProperty, Resolver, Subscription} from '@nestjs/graphql'; import {PubSub} from 'graphql-subscriptions'; import {UserService} from './user.service'; import {DeleteUserDto, UpdateUserDto} from './dto'; import {UseGuards} from '@nestjs/common'; import {GraphqlGuard} from '../_...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/user/online.service.ts
src/app/user/online.service.ts
import {Injectable} from '@nestjs/common'; import {DateTime} from 'luxon'; import {UserEntity} from './entity'; import {UserService} from './user.service'; @Injectable() export class OnlineService { private online = new Map<string, UserEntity>(); constructor(private readonly userService: UserService) { } public...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/user/user-subscription.service.ts
src/app/user/user-subscription.service.ts
import {Inject, Injectable} from '@nestjs/common'; import {CrudService} from '../../base'; import {MongoRepository, Repository} from 'typeorm'; import {UserSubscriptionEntity} from './entity/user-subscription.entity'; import {USER_SUBSCRIPTION_TOKEN} from './user.constants'; @Injectable() export class UserSubscription...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/user/user-error.enum.ts
src/app/user/user-error.enum.ts
export enum UserErrorEnum { NOT_VERIFIED = 100001 }
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/user/user.service.ts
src/app/user/user.service.ts
import {HttpException, HttpStatus, Inject, Injectable, NotFoundException} from '@nestjs/common'; import {DateTime} from 'luxon'; import {Repository, DeepPartial, MongoRepository} from 'typeorm'; import {CrudService} from '../../base'; import {passwordHash, RestException} from '../_helpers'; import {AppLogger} from '../...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/user/user.validator.ts
src/app/user/user.validator.ts
import {ValidatorConstraint, ValidatorConstraintInterface} from 'class-validator'; import {UserService} from './user.service'; import {Injectable} from '@nestjs/common'; @ValidatorConstraint({ name: 'isUserAlreadyExist', async: true }) @Injectable() export class IsUserAlreadyExist implements ValidatorConstraintInterfa...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/user/user.constants.ts
src/app/user/user.constants.ts
export const USER_TOKEN = 'UserRepositoryToken'; export const USER_EMAIL_TOKEN = 'UserEmailRepositoryToken'; export const USER_SUBSCRIPTION_TOKEN = 'UserSubscriptionRepositoryToken'; export const USER_CMD_REGISTER = 'onUserRegisterCmd'; export const USER_CMD_REGISTER_VERIFY = 'onUserRegisterVerifyCmd'; export const USE...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/user/user.controller.ts
src/app/user/user.controller.ts
import {Body, Controller, HttpCode, Post, UseGuards} from '@nestjs/common'; import {MessagePattern} from '@nestjs/microservices'; import {AuthGuard} from '@nestjs/passport'; import {ApiBearerAuth, ApiImplicitBody, ApiResponse, ApiUseTags} from '@nestjs/swagger'; import voucherCodes from 'voucher-code-generator'; import...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/user/user.module.ts
src/app/user/user.module.ts
import {Module} from '@nestjs/common'; import {DatabaseModule} from '../database/database.module'; import {OnlineService} from './online.service'; import {UserSubscriptionService} from './user-subscription.service'; import {UserController} from './user.controller'; import {userProviders} from './user.providers'; import...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/user/index.ts
src/app/user/index.ts
export * from './user.constants';
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/user/user.command.ts
src/app/user/user.command.ts
import {Injectable } from '@nestjs/common'; import {Command, Positional} from 'nestjs-command'; import {DateTime} from 'luxon'; import {UserService} from './user.service'; import {UserEntity} from './entity'; import faker from 'faker'; import {passwordHash} from '../_helpers'; import {AppLogger} from '../app.logger'; i...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/user/user.providers.ts
src/app/user/user.providers.ts
import {DB_CON_TOKEN} from '../database/database.constants'; import {UserEmailEntity, UserEntity} from './entity'; import {USER_EMAIL_TOKEN, USER_SUBSCRIPTION_TOKEN, USER_TOKEN} from './user.constants'; import {UserSubscriptionEntity} from './entity/user-subscription.entity'; import {Connection} from 'typeorm'; export...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/user/dto/subscription.dto.ts
src/app/user/dto/subscription.dto.ts
import {ApiModelProperty} from '@nestjs/swagger'; import {IsBoolean, IsOptional} from 'class-validator'; export class SubscriptionDto { @ApiModelProperty({ required: false }) @IsOptional() @IsBoolean() public email?: boolean; @ApiModelProperty({ required: false }) @IsOptional() @IsBoolean() public push...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/user/dto/delete-user.dto.ts
src/app/user/dto/delete-user.dto.ts
import {DeleteUserInput} from '../../graphql.schema'; export class DeleteUserDto extends DeleteUserInput {}
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/user/dto/index.ts
src/app/user/dto/index.ts
import { UpdateUserDto } from './update-user.dto'; import { DeleteUserDto } from './delete-user.dto'; export { UpdateUserDto, DeleteUserDto };
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/user/dto/update-user.dto.ts
src/app/user/dto/update-user.dto.ts
import {UpdateUserInput} from '../../graphql.schema'; export class UpdateUserDto extends UpdateUserInput {}
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/user/entity/user.entity.ts
src/app/user/entity/user.entity.ts
import {ApiModelProperty} from '@nestjs/swagger'; import {IsEmail, IsOptional, IsString, IsUrl, MinLength, Validate, ValidateIf} from 'class-validator'; import {DateTime} from 'luxon'; import {ExtendedEntity, passwordHash} from '../../_helpers'; import {IsUserAlreadyExist} from '../user.validator'; import {config} from...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/user/entity/social.entity.ts
src/app/user/entity/social.entity.ts
import {ApiModelProperty} from '@nestjs/swagger'; import {ExtendedEntity} from '../../_helpers'; import {Column, Entity, ObjectIdColumn} from 'typeorm'; @Entity() export class SocialEntity extends ExtendedEntity { @ApiModelProperty() @ObjectIdColumn() public id: string; @ApiModelProperty() @Column() public use...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/user/entity/user-subscription.entity.ts
src/app/user/entity/user-subscription.entity.ts
import {ApiModelProperty} from '@nestjs/swagger'; import {IsBoolean, IsOptional, IsString} from 'class-validator'; import {ExtendedEntity} from '../../_helpers'; import {Column, Entity, ObjectIdColumn} from 'typeorm'; @Entity() export class UserSubscriptionEntity extends ExtendedEntity { @ApiModelProperty() @Object...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/user/entity/user-email.entity.ts
src/app/user/entity/user-email.entity.ts
import {ApiModelProperty} from '@nestjs/swagger'; import {IsString} from 'class-validator'; import {ExtendedEntity} from '../../_helpers'; import {Column, Entity, PrimaryColumn} from 'typeorm'; @Entity() export class UserEmailEntity extends ExtendedEntity { @ApiModelProperty() @PrimaryColumn() public id: string; /...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/user/entity/index.ts
src/app/user/entity/index.ts
export * from './user.entity'; export * from './user-email.entity';
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/home/home.validator.ts
src/app/home/home.validator.ts
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/home/home.resolver.ts
src/app/home/home.resolver.ts
import {UseGuards} from '@nestjs/common'; import {Args, Mutation, Parent, Query, ResolveProperty, Resolver, Subscription} from '@nestjs/graphql'; import {Client, ClientProxy, Transport} from '@nestjs/microservices'; import {PubSub} from 'graphql-subscriptions'; import {GraphqlGuard} from '../_helpers'; import {User as ...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/home/home.providers.ts
src/app/home/home.providers.ts
import {DB_CON_TOKEN} from '../database/database.constants'; import {HomeEntity, HomePdfEntity} from './entity'; import {HOME_PDF_TOKEN, HOME_TOKEN} from './home.constants'; import {Connection} from 'typeorm'; export const homeProviders = [ { provide: HOME_TOKEN, useFactory: (connection: Connection) => connection...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/home/home.guard.ts
src/app/home/home.guard.ts
import {CanActivate, ExecutionContext, Injectable} from '@nestjs/common'; import {GqlExecutionContext} from '@nestjs/graphql'; @Injectable() export class HomeGuard implements CanActivate { canActivate(context: ExecutionContext): boolean { const ctx = GqlExecutionContext.create(context); return true; } }
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/home/foxyai.service.ts
src/app/home/foxyai.service.ts
import {HttpService, Injectable} from '@nestjs/common'; import {AxiosResponse} from 'axios'; import {plainToClass} from 'class-transformer'; import {get} from 'lodash'; import {map} from 'rxjs/operators'; import {config} from '../../config'; import {AppLogger} from '../app.logger'; import {ConditionScoreDto} from './dt...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/home/home.controller.ts
src/app/home/home.controller.ts
import {Body, Controller, HttpCode, Param, Post, UseGuards} from '@nestjs/common'; import {Client, ClientProxy, Transport} from '@nestjs/microservices'; import {ApiImplicitParam, ApiResponse, ApiUseTags, ApiBearerAuth} from '@nestjs/swagger'; import crypto from 'crypto'; import {AppLogger} from '../app.logger'; import ...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/home/home-error.enum.ts
src/app/home/home-error.enum.ts
export enum HomeErrorEnum { ATTOM_DEFAULT_API_ERROR = 211111, ATTOM_USAGE_EXCEED_LIMIT = 222222, GEOCODE_RESULTS_NOT_FOUND = 200001, GEOCODE_ZIP_CODE_POSITION = 200002, GEOCODE_ZIP_CODE_REQUIRED = 200003, GEOCODE_INVALID_SERVICE = 200100, GEOCODE_SERVICE_TEMPORARY_UNAVAILABLE = 200101, GEOCODE_UNEXPECTED_ERROR ...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/home/home-pdf.service.ts
src/app/home/home-pdf.service.ts
import {Inject, Injectable} from '@nestjs/common'; import {MongoRepository, Repository} from 'typeorm'; import {CrudService} from '../../base'; import {HomePdfEntity} from './entity'; import {HOME_PDF_TOKEN} from './home.constants'; import {AppLogger} from '../app.logger'; @Injectable() export class HomePdfService ext...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/home/home.constants.ts
src/app/home/home.constants.ts
export const HOME_TOKEN = 'HomeRepositoryToken'; export const HOME_PDF_TOKEN = 'HomePdfRepositoryToken'; export const HOME_CMD_DELETE = 'onHomeDeleteCmd';
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/home/attom-data-api.service.ts
src/app/home/attom-data-api.service.ts
import {HttpException, HttpService, HttpStatus, Injectable} from '@nestjs/common'; import {config} from '../../config'; import {AppLogger} from '../app.logger'; import {PropertyApi} from './attom/property-api'; import {HomeErrorEnum} from './home-error.enum'; @Injectable() export class AttomDataApiService { private ...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/home/home.command.ts
src/app/home/home.command.ts
import {Injectable} from '@nestjs/common'; import {Command, Positional} from 'nestjs-command'; import {DateTime} from 'luxon'; import {HomeService} from './home.service'; import faker from 'faker'; import {AppLogger} from '../app.logger'; import {HomeEntity} from './entity'; import {UserService} from '../user/user.serv...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/home/home.module.ts
src/app/home/home.module.ts
import {forwardRef, HttpModule, Module} from '@nestjs/common'; import {ContractModule} from '../contract/contract.module'; import {DatabaseModule} from '../database/database.module'; import {HomeFavoriteModule} from '../home-favorite/home-favorite.module'; import {HomeMediaModule} from '../home-media/home-media.module'...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/home/home.service.ts
src/app/home/home.service.ts
import {HttpException, HttpService, HttpStatus, Inject, Injectable} from '@nestjs/common'; import {google} from 'googleapis'; import {get} from 'lodash'; import {eachLimit} from 'async'; import {DateTime} from 'luxon'; import {CrudService} from '../../base'; import {HomeEntity} from './entity'; import {HOME_TOKEN} from...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/home/dto/condition-score.dto.ts
src/app/home/dto/condition-score.dto.ts
import {Expose, Type} from 'class-transformer'; import {ScoreOutput} from '../../graphql.schema'; export class Condition { @Expose() avg_condition: number; @Expose() count: number; } export class ConditionScoreDto extends ScoreOutput { @Expose() @Type(() => Condition) public bathrooms: Condition; @Expose(...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/home/dto/update-home.dto.ts
src/app/home/dto/update-home.dto.ts
import {UpdateHomeInput} from '../../graphql.schema'; export class UpdateHomeDto extends UpdateHomeInput {}
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/home/dto/create-home.dto.ts
src/app/home/dto/create-home.dto.ts
import {CreateHomeInput} from '../../graphql.schema'; export class CreateHomeDto extends CreateHomeInput {}
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/home/dto/index.ts
src/app/home/dto/index.ts
import { DeleteHomeDto } from './delete-home.dto'; import { UpdateHomeDto } from './update-home.dto'; import { CreateHomeDto } from './create-home.dto'; export { DeleteHomeDto, UpdateHomeDto, CreateHomeDto };
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/home/dto/delete-home.dto.ts
src/app/home/dto/delete-home.dto.ts
import {DeleteHomeInput} from '../../graphql.schema'; export class DeleteHomeDto extends DeleteHomeInput {}
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/home/dto/convert-template.dto.ts
src/app/home/dto/convert-template.dto.ts
import {ApiModelProperty} from '@nestjs/swagger'; export class ConvertTemplateDto { @ApiModelProperty() public template: string; @ApiModelProperty() public mainMedia: string; @ApiModelProperty() public firstMedia: string; @ApiModelProperty() public secondMedia: string; @ApiModelProperty() public thirdMe...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/home/attom/property-api.ts
src/app/home/attom/property-api.ts
import {HomeErrorEnum} from '../home-error.enum'; export class PropertyApi { public static STATUS_CODES = { '-5': { name: 'Invalid Parameter in Request', message: 'You passed an invalid search parameter' }, '-4': { name: 'Invalid Parameter Combination', message: 'You passed an invalid combination of...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/home/entity/home-pdf.entity.ts
src/app/home/entity/home-pdf.entity.ts
import {ApiModelProperty} from '@nestjs/swagger'; import {IsString} from 'class-validator'; import {ExtendedEntity} from '../../_helpers'; import {Column, Entity, ObjectIdColumn} from 'typeorm'; @Entity() export class HomePdfEntity extends ExtendedEntity { @ApiModelProperty() @ObjectIdColumn() public id: string; ...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/home/entity/home.entity.ts
src/app/home/entity/home.entity.ts
import {ApiModelProperty} from '@nestjs/swagger'; import {IsBoolean, IsNumber, IsOptional, IsString} from 'class-validator'; import {ExtendedEntity} from '../../_helpers'; import {Column, Entity, ObjectIdColumn} from 'typeorm'; @Entity() export class HomeEntity extends ExtendedEntity { @ApiModelProperty() @ObjectId...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/home/entity/index.ts
src/app/home/entity/index.ts
export * from './home.entity'; export * from './home-pdf.entity';
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/home/security/home.voter.ts
src/app/home/security/home.voter.ts
import {Injectable} from '@nestjs/common'; import {RestVoterActionEnum, Voter} from '../../security'; import {UserEntity} from '../../user/entity'; import {AppLogger} from '../../app.logger'; import {HomeService} from '../home.service'; import {HomeEntity} from '../entity'; @Injectable() export class HomeVoter extends...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/home/pipe/home.pipe.ts
src/app/home/pipe/home.pipe.ts
import {ArgumentMetadata, Injectable, PipeTransform} from '@nestjs/common'; import {HomeService} from '../home.service'; import {HomeEntity} from '../entity'; @Injectable() export class HomePipe implements PipeTransform<any> { constructor(private readonly homeService: HomeService) { } async transform(homeId: strin...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/security/security.module.ts
src/app/security/security.module.ts
import {Global, Module} from '@nestjs/common'; import {VoterRegistry} from './voter'; import {AuthorizationChecker} from './authorization-checker'; import {SecurityService} from './security.service'; const PROVIDERS = [ VoterRegistry, SecurityService, AuthorizationChecker ]; @Global() @Module({ providers: [...PRO...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/security/security.service.ts
src/app/security/security.service.ts
import {ForbiddenException, Injectable} from '@nestjs/common'; import {AuthorizationChecker} from './authorization-checker'; @Injectable() export class SecurityService { constructor(private readonly authorizationChecker: AuthorizationChecker) { } public async denyAccessUnlessGranted(attributes, subject): Promise<...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/security/index.ts
src/app/security/index.ts
export * from './voter'; export * from './access-decision'; export * from './authorization-checker'; export * from './security.module';
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/security/voter/rest-voter-action.enum.ts
src/app/security/voter/rest-voter-action.enum.ts
export enum RestVoterActionEnum { READ_ALL = 'read_all', READ = 'read', CREATE = 'create', UPDATE = 'update', DELETE = 'delete', SOFT_DELETE = 'soft_delete' }
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/security/voter/voter.interface.ts
src/app/security/voter/voter.interface.ts
import {AccessEnum} from './access.enum'; export interface VoterInterface { vote(token: any, subject: any, attributes: any[]): Promise<AccessEnum>; }
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/security/voter/voter-registry.ts
src/app/security/voter/voter-registry.ts
import {Voter} from './voter'; import {Injectable} from '@nestjs/common'; @Injectable() export class VoterRegistry { private voters = new Set<Voter>(); public register(voter: Voter) { this.voters.add(voter); } public getVoters(): IterableIterator<Voter> { return this.voters.values(); } }
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/security/voter/access.enum.ts
src/app/security/voter/access.enum.ts
export enum AccessEnum { ACCESS_GRANTED = 1, ACCESS_ABSTAIN = 0, ACCESS_DENIED = -1 }
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/security/voter/index.ts
src/app/security/voter/index.ts
export * from './access.enum'; export * from './rest-voter-action.enum'; export * from './voter.interface'; export * from './voter-registry'; export * from './voter';
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/security/voter/voter.ts
src/app/security/voter/voter.ts
import {forwardRef, Inject, OnModuleInit} from '@nestjs/common'; import {VoterInterface} from './voter.interface'; import {AccessEnum} from './access.enum'; import {VoterRegistry} from './voter-registry'; export abstract class Voter implements VoterInterface, OnModuleInit { @Inject(forwardRef(() => VoterRegistry)) p...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/security/access-decision/access-decision-strategy.enum.ts
src/app/security/access-decision/access-decision-strategy.enum.ts
export enum AccessDecisionStrategyEnum { STRATEGY_AFFIRMATIVE = 'affirmative', STRATEGY_CONSENSUS = 'consensus', STRATEGY_UNANIMOUS = 'unanimous' }
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/security/access-decision/access-decision-manager.ts
src/app/security/access-decision/access-decision-manager.ts
import {AccessDecisionManagerInterface} from './access-decision-manager.interface'; import {AccessDecisionStrategyEnum} from './access-decision-strategy.enum'; import {AccessEnum, Voter} from '../voter'; import {ucfirst} from '../../_helpers'; export class AccessDecisionManager implements AccessDecisionManagerInterfac...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/security/access-decision/index.ts
src/app/security/access-decision/index.ts
export * from './access-decision-manager.interface'; export * from './access-decision-strategy.enum'; export * from './access-decision-manager';
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/security/access-decision/access-decision-manager.interface.ts
src/app/security/access-decision/access-decision-manager.interface.ts
export interface AccessDecisionManagerInterface { decide(token, attributes: any[], object: any): Promise<boolean>; }
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false
neoteric-eu/nestjs-auth
https://github.com/neoteric-eu/nestjs-auth/blob/dc294e4ce2436579dea9958e24b90c0cc0ef2569/src/app/security/authorization-checker/authorization-checker.ts
src/app/security/authorization-checker/authorization-checker.ts
import {AuthorizationCheckerInterface} from './authorization-checker.interface'; import {AccessDecisionManager, AccessDecisionStrategyEnum} from '../access-decision'; import {Injectable} from '@nestjs/common'; import {VoterRegistry} from '../voter'; import {RequestContext} from '../../_helpers/request-context'; @Injec...
typescript
MIT
dc294e4ce2436579dea9958e24b90c0cc0ef2569
2026-01-05T05:01:27.913606Z
false