safesafar-common 1.0.113 → 1.0.114
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +12 -14
- package/dist/index.d.ts +12 -14
- package/dist/index.js +141 -197
- package/dist/index.mjs +126 -183
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import { CanActivate, ExecutionContext, Logger, DynamicModule, OnModuleInit, OnM
|
|
|
2
2
|
import { ClientProxy } from '@nestjs/microservices';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import * as kafkajs from 'kafkajs';
|
|
5
|
-
import {
|
|
5
|
+
import { Queue, Job } from 'bullmq';
|
|
6
6
|
import { CustomScalar } from '@nestjs/graphql';
|
|
7
7
|
import { ValueNode } from 'graphql';
|
|
8
8
|
import Decimal$1, { Decimal } from 'decimal.js';
|
|
@@ -119,20 +119,18 @@ declare class KafkaService implements OnModuleInit, OnModuleDestroy {
|
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
declare class BullModule {
|
|
122
|
-
static forRoot(queueName: string
|
|
122
|
+
static forRoot(queueName: string): DynamicModule;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
declare class
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
addJobToQueue(queue: Queue, jobName: string,
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
retryFailedJob(query: Queue, job: Job): Promise<void>;
|
|
135
|
-
private retryJobWithDelay;
|
|
125
|
+
declare class WorkerModule {
|
|
126
|
+
static forRoot(queueName: string, processorClass: any): DynamicModule;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
declare class BullService {
|
|
130
|
+
constructor();
|
|
131
|
+
addJobToQueue(queue: Queue, jobName: string, data: any, options?: any): Promise<void>;
|
|
132
|
+
moveToDeadLetterQueue(job: Job, queue: Queue, error: Error): Promise<void>;
|
|
133
|
+
retryFailedJob(queue: Queue, job: Job): Promise<void>;
|
|
136
134
|
}
|
|
137
135
|
|
|
138
136
|
declare const CurrentUser: (...dataOrPipes: unknown[]) => ParameterDecorator;
|
|
@@ -286,4 +284,4 @@ declare class PaginationInput {
|
|
|
286
284
|
after?: string;
|
|
287
285
|
}
|
|
288
286
|
|
|
289
|
-
export { BullModule, BullService, CreateDispatcherUserInputBase, CreateIdentityUserInputBase, CreateStoreUserInputBase, CreateTenantUserInputBase, CreateUserInputBase, CurrentUser, DecimalGraphQLScalar, type Error$1 as Error, GqlExceptionFilter, HttpExceptionFilter, type IKafkaModuleOptions$1 as IKafkaModuleOptions, IsDecimal, IsDecimalConstraint, JwtAuthGuard, KAFKA_MODULE_OPTIONS, KafkaModule, KafkaService, LoggerModule, NATS_SERVICE_NAME, NatsClientModule, PaginationInput, RetryInterceptor, type TCustomLogger, TenantUserMappers, TransformToDecimal, USER_MANAGEMENT_PACKAGE_NAME, USER_MANAGEMENT_SERVICE_NAME, type UpdateUserStatusGrpcInput, type User, type UserManagementServiceClient, type UserManagementServiceController, UserManagementServiceControllerMethods, UserManagmentGrpcClientModule, type UserPayload, ValidationKeys, ValidationMessages, ValidationValues, type XApiTokenPayload, convertToDecimal, createLogger, exceptionFactory, formatGatewayError, formatPrismaError, formateCustomError, generateUUID, loadSharedSchemas, mergeSchema, protobufPackage, resolveDistFolderPath, sharedSchemas, subGraphAuthContext, toMappedObject };
|
|
287
|
+
export { BullModule, BullService, CreateDispatcherUserInputBase, CreateIdentityUserInputBase, CreateStoreUserInputBase, CreateTenantUserInputBase, CreateUserInputBase, CurrentUser, DecimalGraphQLScalar, type Error$1 as Error, GqlExceptionFilter, HttpExceptionFilter, type IKafkaModuleOptions$1 as IKafkaModuleOptions, IsDecimal, IsDecimalConstraint, JwtAuthGuard, KAFKA_MODULE_OPTIONS, KafkaModule, KafkaService, LoggerModule, NATS_SERVICE_NAME, NatsClientModule, PaginationInput, RetryInterceptor, type TCustomLogger, TenantUserMappers, TransformToDecimal, USER_MANAGEMENT_PACKAGE_NAME, USER_MANAGEMENT_SERVICE_NAME, type UpdateUserStatusGrpcInput, type User, type UserManagementServiceClient, type UserManagementServiceController, UserManagementServiceControllerMethods, UserManagmentGrpcClientModule, type UserPayload, ValidationKeys, ValidationMessages, ValidationValues, WorkerModule, type XApiTokenPayload, convertToDecimal, createLogger, exceptionFactory, formatGatewayError, formatPrismaError, formateCustomError, generateUUID, loadSharedSchemas, mergeSchema, protobufPackage, resolveDistFolderPath, sharedSchemas, subGraphAuthContext, toMappedObject };
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { CanActivate, ExecutionContext, Logger, DynamicModule, OnModuleInit, OnM
|
|
|
2
2
|
import { ClientProxy } from '@nestjs/microservices';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import * as kafkajs from 'kafkajs';
|
|
5
|
-
import {
|
|
5
|
+
import { Queue, Job } from 'bullmq';
|
|
6
6
|
import { CustomScalar } from '@nestjs/graphql';
|
|
7
7
|
import { ValueNode } from 'graphql';
|
|
8
8
|
import Decimal$1, { Decimal } from 'decimal.js';
|
|
@@ -119,20 +119,18 @@ declare class KafkaService implements OnModuleInit, OnModuleDestroy {
|
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
declare class BullModule {
|
|
122
|
-
static forRoot(queueName: string
|
|
122
|
+
static forRoot(queueName: string): DynamicModule;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
declare class
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
addJobToQueue(queue: Queue, jobName: string,
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
retryFailedJob(query: Queue, job: Job): Promise<void>;
|
|
135
|
-
private retryJobWithDelay;
|
|
125
|
+
declare class WorkerModule {
|
|
126
|
+
static forRoot(queueName: string, processorClass: any): DynamicModule;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
declare class BullService {
|
|
130
|
+
constructor();
|
|
131
|
+
addJobToQueue(queue: Queue, jobName: string, data: any, options?: any): Promise<void>;
|
|
132
|
+
moveToDeadLetterQueue(job: Job, queue: Queue, error: Error): Promise<void>;
|
|
133
|
+
retryFailedJob(queue: Queue, job: Job): Promise<void>;
|
|
136
134
|
}
|
|
137
135
|
|
|
138
136
|
declare const CurrentUser: (...dataOrPipes: unknown[]) => ParameterDecorator;
|
|
@@ -286,4 +284,4 @@ declare class PaginationInput {
|
|
|
286
284
|
after?: string;
|
|
287
285
|
}
|
|
288
286
|
|
|
289
|
-
export { BullModule, BullService, CreateDispatcherUserInputBase, CreateIdentityUserInputBase, CreateStoreUserInputBase, CreateTenantUserInputBase, CreateUserInputBase, CurrentUser, DecimalGraphQLScalar, type Error$1 as Error, GqlExceptionFilter, HttpExceptionFilter, type IKafkaModuleOptions$1 as IKafkaModuleOptions, IsDecimal, IsDecimalConstraint, JwtAuthGuard, KAFKA_MODULE_OPTIONS, KafkaModule, KafkaService, LoggerModule, NATS_SERVICE_NAME, NatsClientModule, PaginationInput, RetryInterceptor, type TCustomLogger, TenantUserMappers, TransformToDecimal, USER_MANAGEMENT_PACKAGE_NAME, USER_MANAGEMENT_SERVICE_NAME, type UpdateUserStatusGrpcInput, type User, type UserManagementServiceClient, type UserManagementServiceController, UserManagementServiceControllerMethods, UserManagmentGrpcClientModule, type UserPayload, ValidationKeys, ValidationMessages, ValidationValues, type XApiTokenPayload, convertToDecimal, createLogger, exceptionFactory, formatGatewayError, formatPrismaError, formateCustomError, generateUUID, loadSharedSchemas, mergeSchema, protobufPackage, resolveDistFolderPath, sharedSchemas, subGraphAuthContext, toMappedObject };
|
|
287
|
+
export { BullModule, BullService, CreateDispatcherUserInputBase, CreateIdentityUserInputBase, CreateStoreUserInputBase, CreateTenantUserInputBase, CreateUserInputBase, CurrentUser, DecimalGraphQLScalar, type Error$1 as Error, GqlExceptionFilter, HttpExceptionFilter, type IKafkaModuleOptions$1 as IKafkaModuleOptions, IsDecimal, IsDecimalConstraint, JwtAuthGuard, KAFKA_MODULE_OPTIONS, KafkaModule, KafkaService, LoggerModule, NATS_SERVICE_NAME, NatsClientModule, PaginationInput, RetryInterceptor, type TCustomLogger, TenantUserMappers, TransformToDecimal, USER_MANAGEMENT_PACKAGE_NAME, USER_MANAGEMENT_SERVICE_NAME, type UpdateUserStatusGrpcInput, type User, type UserManagementServiceClient, type UserManagementServiceController, UserManagementServiceControllerMethods, UserManagmentGrpcClientModule, type UserPayload, ValidationKeys, ValidationMessages, ValidationValues, WorkerModule, type XApiTokenPayload, convertToDecimal, createLogger, exceptionFactory, formatGatewayError, formatPrismaError, formateCustomError, generateUUID, loadSharedSchemas, mergeSchema, protobufPackage, resolveDistFolderPath, sharedSchemas, subGraphAuthContext, toMappedObject };
|