@treatwell/moleculer-essentials 1.0.2-beta.2 → 1.0.2-beta.3
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/{context-factory-BWO3xPWE.d.cts → index-IHCgtNKZ.d.cts} +15 -2
- package/dist/{context-factory-BWO3xPWE.d.mts → index-IHCgtNKZ.d.mts} +15 -2
- package/dist/index.d.cts +5 -9
- package/dist/index.d.mts +5 -9
- package/dist/mixins/database.mixin.d.cts +2 -1
- package/dist/mixins/database.mixin.d.mts +2 -1
- package/dist/mixins/encryptor.mixin.d.cts +2 -1
- package/dist/mixins/encryptor.mixin.d.mts +2 -1
- package/dist/mixins/global-store.mixin.d.cts +2 -1
- package/dist/mixins/global-store.mixin.d.mts +2 -1
- package/dist/mixins/jwt.mixin.d.cts +2 -1
- package/dist/mixins/jwt.mixin.d.mts +2 -1
- package/dist/mixins/queue.mixin.d.cts +2 -1
- package/dist/mixins/queue.mixin.d.mts +2 -1
- package/dist/mixins/redis.mixin.d.cts +2 -1
- package/dist/mixins/redis.mixin.d.mts +2 -1
- package/dist/mixins/redlock.mixin.d.cts +2 -1
- package/dist/mixins/redlock.mixin.d.mts +2 -1
- package/package.json +1 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import Moleculer__default, { RestSchema, ActionVisibility, Service, ActionCacheOptions, Context, TracingActionOptions, BulkheadOptions, BrokerCircuitBreakerOptions, RetryPolicyOptions, FallbackHandler, ActionHooks, Validators, ActionHandler, ActionSchema, ServiceEvent, ServiceDependency, ServiceHooks, GenericObject, ServiceBroker, Endpoint } from 'moleculer';
|
|
1
|
+
import Moleculer__default, { RestSchema, ActionVisibility, Service, ActionCacheOptions, Context, TracingActionOptions, BulkheadOptions, BrokerCircuitBreakerOptions, RetryPolicyOptions, FallbackHandler, ActionHooks, Validators, ActionHandler, ActionSchema, ServiceEvent, ServiceDependency, ServiceHooks, GenericObject, ServiceBroker, Endpoint, LoggerConfig } from 'moleculer';
|
|
2
2
|
import { ObjectId } from 'bson';
|
|
3
3
|
import { ZodType, z } from 'zod/v4';
|
|
4
4
|
import { Options, ErrorObject } from 'ajv/dist/2019.js';
|
|
5
|
+
import { Logger } from 'pino';
|
|
5
6
|
|
|
6
7
|
type UnionToIntersection$1<U> = (U extends any ? (_: U) => void : never) extends (_: infer I) => void ? I : never;
|
|
7
8
|
type SomeJSONSchema = JSONSchemaType<Known, true>;
|
|
@@ -516,5 +517,17 @@ declare module 'moleculer' {
|
|
|
516
517
|
}
|
|
517
518
|
}
|
|
518
519
|
|
|
519
|
-
|
|
520
|
+
declare const createLogger: (bindings: Record<string, unknown>) => Logger;
|
|
521
|
+
declare function createLoggerConfig(): LoggerConfig;
|
|
522
|
+
declare const defaultLogger: Logger;
|
|
523
|
+
/**
|
|
524
|
+
* Augment pino to something closer to what Moleculer is using.
|
|
525
|
+
*/
|
|
526
|
+
declare module 'pino' {
|
|
527
|
+
interface LogFn {
|
|
528
|
+
(msg: string, ...args: (Error | object)[]): void;
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
export { createLogger as Q, createLoggerConfig as U, defaultLogger as W, ZodValidator as Z, AjvValidator as d, ContextFactory as i };
|
|
520
533
|
export type { Alias as A, SecuritySchemeObject as B, CustomActionSchema as C, Document as D, ExternalDocumentationObject as E, CallbackObject as F, ComponentsObject as G, HeaderObject as H, InfoObject as I, JSONSchemaType as J, TagObject as K, LicenseObject as L, MediaTypeObject as M, PathItemObject as N, OperationObject as O, PropertiesSchema as P, ReferenceObject as R, SomeJSONSchema as S, Transformer as T, ValidationSchema as V, CustomServiceSchema as a, SchemaObject as b, RequiredMembers as c, Transform as e, TransformLevel as f, TransformMap as g, TransformField as h, ContactObject as j, ServerVariableObject as k, ServerObject as l, PathsObject as m, ParameterObject as n, ParameterBaseObject as o, ExampleObject as p, EncodingObject as q, RequestBodyObject as r, LinkObject as s, ResponseObject as t, ResponsesObject as u, SecurityRequirementObject as v, HttpSecurityScheme as w, ApiKeySecurityScheme as x, OAuth2SecurityScheme as y, OpenIdSecurityScheme as z };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import Moleculer__default, { RestSchema, ActionVisibility, Service, ActionCacheOptions, Context, TracingActionOptions, BulkheadOptions, BrokerCircuitBreakerOptions, RetryPolicyOptions, FallbackHandler, ActionHooks, Validators, ActionHandler, ActionSchema, ServiceEvent, ServiceDependency, ServiceHooks, GenericObject, ServiceBroker, Endpoint } from 'moleculer';
|
|
1
|
+
import Moleculer__default, { RestSchema, ActionVisibility, Service, ActionCacheOptions, Context, TracingActionOptions, BulkheadOptions, BrokerCircuitBreakerOptions, RetryPolicyOptions, FallbackHandler, ActionHooks, Validators, ActionHandler, ActionSchema, ServiceEvent, ServiceDependency, ServiceHooks, GenericObject, ServiceBroker, Endpoint, LoggerConfig } from 'moleculer';
|
|
2
2
|
import { ObjectId } from 'bson';
|
|
3
3
|
import { ZodType, z } from 'zod/v4';
|
|
4
4
|
import { Options, ErrorObject } from 'ajv/dist/2019.js';
|
|
5
|
+
import { Logger } from 'pino';
|
|
5
6
|
|
|
6
7
|
type UnionToIntersection$1<U> = (U extends any ? (_: U) => void : never) extends (_: infer I) => void ? I : never;
|
|
7
8
|
type SomeJSONSchema = JSONSchemaType<Known, true>;
|
|
@@ -516,5 +517,17 @@ declare module 'moleculer' {
|
|
|
516
517
|
}
|
|
517
518
|
}
|
|
518
519
|
|
|
519
|
-
|
|
520
|
+
declare const createLogger: (bindings: Record<string, unknown>) => Logger;
|
|
521
|
+
declare function createLoggerConfig(): LoggerConfig;
|
|
522
|
+
declare const defaultLogger: Logger;
|
|
523
|
+
/**
|
|
524
|
+
* Augment pino to something closer to what Moleculer is using.
|
|
525
|
+
*/
|
|
526
|
+
declare module 'pino' {
|
|
527
|
+
interface LogFn {
|
|
528
|
+
(msg: string, ...args: (Error | object)[]): void;
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
export { createLogger as Q, createLoggerConfig as U, defaultLogger as W, ZodValidator as Z, AjvValidator as d, ContextFactory as i };
|
|
520
533
|
export type { Alias as A, SecuritySchemeObject as B, CustomActionSchema as C, Document as D, ExternalDocumentationObject as E, CallbackObject as F, ComponentsObject as G, HeaderObject as H, InfoObject as I, JSONSchemaType as J, TagObject as K, LicenseObject as L, MediaTypeObject as M, PathItemObject as N, OperationObject as O, PropertiesSchema as P, ReferenceObject as R, SomeJSONSchema as S, Transformer as T, ValidationSchema as V, CustomServiceSchema as a, SchemaObject as b, RequiredMembers as c, Transform as e, TransformLevel as f, TransformMap as g, TransformField as h, ContactObject as j, ServerVariableObject as k, ServerObject as l, PathsObject as m, ParameterObject as n, ParameterBaseObject as o, ExampleObject as p, EncodingObject as q, RequestBodyObject as r, LinkObject as s, ResponseObject as t, ResponsesObject as u, SecurityRequirementObject as v, HttpSecurityScheme as w, ApiKeySecurityScheme as x, OAuth2SecurityScheme as y, OpenIdSecurityScheme as z };
|
package/dist/index.d.cts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { J as JSONSchemaType, S as SomeJSONSchema, C as CustomActionSchema, A as Alias, a as CustomServiceSchema, D as Document, b as SchemaObject, O as OperationObject, R as ReferenceObject } from './
|
|
2
|
-
export { d as AjvValidator, x as ApiKeySecurityScheme, F as CallbackObject, G as ComponentsObject, j as ContactObject, i as ContextFactory, q as EncodingObject, p as ExampleObject, E as ExternalDocumentationObject, H as HeaderObject, w as HttpSecurityScheme, I as InfoObject, L as LicenseObject, s as LinkObject, M as MediaTypeObject, y as OAuth2SecurityScheme, z as OpenIdSecurityScheme, o as ParameterBaseObject, n as ParameterObject, N as PathItemObject, m as PathsObject, P as PropertiesSchema, r as RequestBodyObject, c as RequiredMembers, t as ResponseObject, u as ResponsesObject, v as SecurityRequirementObject, B as SecuritySchemeObject, l as ServerObject, k as ServerVariableObject, K as TagObject, e as Transform, h as TransformField, f as TransformLevel, g as TransformMap, T as Transformer, V as ValidationSchema, Z as ZodValidator } from './
|
|
1
|
+
import { J as JSONSchemaType, S as SomeJSONSchema, C as CustomActionSchema, A as Alias, a as CustomServiceSchema, D as Document, b as SchemaObject, O as OperationObject, R as ReferenceObject } from './index-IHCgtNKZ.cjs';
|
|
2
|
+
export { d as AjvValidator, x as ApiKeySecurityScheme, F as CallbackObject, G as ComponentsObject, j as ContactObject, i as ContextFactory, q as EncodingObject, p as ExampleObject, E as ExternalDocumentationObject, H as HeaderObject, w as HttpSecurityScheme, I as InfoObject, L as LicenseObject, s as LinkObject, M as MediaTypeObject, y as OAuth2SecurityScheme, z as OpenIdSecurityScheme, o as ParameterBaseObject, n as ParameterObject, N as PathItemObject, m as PathsObject, P as PropertiesSchema, r as RequestBodyObject, c as RequiredMembers, t as ResponseObject, u as ResponsesObject, v as SecurityRequirementObject, B as SecuritySchemeObject, l as ServerObject, k as ServerVariableObject, K as TagObject, e as Transform, h as TransformField, f as TransformLevel, g as TransformMap, T as Transformer, V as ValidationSchema, Z as ZodValidator, Q as createLogger, U as createLoggerConfig, W as defaultLogger } from './index-IHCgtNKZ.cjs';
|
|
3
3
|
import { ObjectId } from 'bson';
|
|
4
4
|
import { ZodType, z as z$1 } from 'zod';
|
|
5
5
|
import { z } from 'zod/v4';
|
|
6
6
|
import { Ajv2019 } from 'ajv/dist/2019.js';
|
|
7
7
|
import * as Moleculer from 'moleculer';
|
|
8
|
-
import { Context, ServiceSchema, ServiceSettingSchema, Service, ServiceBroker, BrokerOptions, Middleware,
|
|
9
|
-
import
|
|
8
|
+
import { Context, ServiceSchema, ServiceSettingSchema, Service, ServiceBroker, BrokerOptions, Middleware, TracerExporters, LoggerInstance, Tracer, Span, MetricReporters, MetricRegistry, MetricReporterOptions } from 'moleculer';
|
|
9
|
+
import 'pino';
|
|
10
10
|
|
|
11
11
|
declare function omitFields<T extends Record<string, unknown>, F extends keyof T>(schema: JSONSchemaType<T>, fields: F[], refName?: string): JSONSchemaType<Omit<T, F>>;
|
|
12
12
|
declare function pickFields<T extends Record<string, unknown>, F extends keyof T>(schema: JSONSchemaType<T>, fields: F[], refName?: string): JSONSchemaType<Pick<T, F>>;
|
|
@@ -254,10 +254,6 @@ type HealthCheckOptions = {
|
|
|
254
254
|
*/
|
|
255
255
|
declare function HealthCheckMiddleware(_opts: Partial<HealthCheckOptions>): Middleware;
|
|
256
256
|
|
|
257
|
-
declare const createLogger: (bindings: Record<string, unknown>) => Logger;
|
|
258
|
-
declare function createLoggerConfig(): LoggerConfig;
|
|
259
|
-
declare const defaultLogger: Logger;
|
|
260
|
-
|
|
261
257
|
type NewrelicTraceExporterOptions = {
|
|
262
258
|
logger?: LoggerInstance;
|
|
263
259
|
safetyTags?: boolean;
|
|
@@ -369,5 +365,5 @@ declare class NewrelicMetricsReporter extends MetricReporters.Base {
|
|
|
369
365
|
generateMetricsPayload(): unknown[];
|
|
370
366
|
}
|
|
371
367
|
|
|
372
|
-
export { AjvExtractor, Alias, COERCE_ARRAY_ATTRIBUTE, CustomActionSchema, CustomServiceSchema, DATE_TYPE, Document, EMPTY_OBJECT_SCHEMA, HealthCheckMiddleware, JSONSchemaType, NewrelicMetricsReporter, NewrelicTraceExporter, OBJECTID_TYPE, OpenAPIExtractor, OpenAPIMixin, OperationObject, RefExtractor, ReferenceObject, SCHEMA_REF_NAME, SchemaObject, ServiceFactory, SomeJSONSchema, addFieldsToSchema, composeSchemas,
|
|
368
|
+
export { AjvExtractor, Alias, COERCE_ARRAY_ATTRIBUTE, CustomActionSchema, CustomServiceSchema, DATE_TYPE, Document, EMPTY_OBJECT_SCHEMA, HealthCheckMiddleware, JSONSchemaType, NewrelicMetricsReporter, NewrelicTraceExporter, OBJECTID_TYPE, OpenAPIExtractor, OpenAPIMixin, OperationObject, RefExtractor, ReferenceObject, SCHEMA_REF_NAME, SchemaObject, ServiceFactory, SomeJSONSchema, addFieldsToSchema, composeSchemas, createOpenAPIResponses, createServiceBroker, getMetadataFromService, isServiceSelected, omitFields, optionalExceptFields, optionalFields, pickFields, toPartialSchema, wrapMixin, wrapService, zodCoerceArray, zodDate, zodObjectId, zodToOpenAPISchema };
|
|
373
369
|
export type { OpenAPIMixinOptions, OpenAPIResponses, Selector };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { J as JSONSchemaType, S as SomeJSONSchema, C as CustomActionSchema, A as Alias, a as CustomServiceSchema, D as Document, b as SchemaObject, O as OperationObject, R as ReferenceObject } from './
|
|
2
|
-
export { d as AjvValidator, x as ApiKeySecurityScheme, F as CallbackObject, G as ComponentsObject, j as ContactObject, i as ContextFactory, q as EncodingObject, p as ExampleObject, E as ExternalDocumentationObject, H as HeaderObject, w as HttpSecurityScheme, I as InfoObject, L as LicenseObject, s as LinkObject, M as MediaTypeObject, y as OAuth2SecurityScheme, z as OpenIdSecurityScheme, o as ParameterBaseObject, n as ParameterObject, N as PathItemObject, m as PathsObject, P as PropertiesSchema, r as RequestBodyObject, c as RequiredMembers, t as ResponseObject, u as ResponsesObject, v as SecurityRequirementObject, B as SecuritySchemeObject, l as ServerObject, k as ServerVariableObject, K as TagObject, e as Transform, h as TransformField, f as TransformLevel, g as TransformMap, T as Transformer, V as ValidationSchema, Z as ZodValidator } from './
|
|
1
|
+
import { J as JSONSchemaType, S as SomeJSONSchema, C as CustomActionSchema, A as Alias, a as CustomServiceSchema, D as Document, b as SchemaObject, O as OperationObject, R as ReferenceObject } from './index-IHCgtNKZ.mjs';
|
|
2
|
+
export { d as AjvValidator, x as ApiKeySecurityScheme, F as CallbackObject, G as ComponentsObject, j as ContactObject, i as ContextFactory, q as EncodingObject, p as ExampleObject, E as ExternalDocumentationObject, H as HeaderObject, w as HttpSecurityScheme, I as InfoObject, L as LicenseObject, s as LinkObject, M as MediaTypeObject, y as OAuth2SecurityScheme, z as OpenIdSecurityScheme, o as ParameterBaseObject, n as ParameterObject, N as PathItemObject, m as PathsObject, P as PropertiesSchema, r as RequestBodyObject, c as RequiredMembers, t as ResponseObject, u as ResponsesObject, v as SecurityRequirementObject, B as SecuritySchemeObject, l as ServerObject, k as ServerVariableObject, K as TagObject, e as Transform, h as TransformField, f as TransformLevel, g as TransformMap, T as Transformer, V as ValidationSchema, Z as ZodValidator, Q as createLogger, U as createLoggerConfig, W as defaultLogger } from './index-IHCgtNKZ.mjs';
|
|
3
3
|
import { ObjectId } from 'bson';
|
|
4
4
|
import { ZodType, z as z$1 } from 'zod';
|
|
5
5
|
import { z } from 'zod/v4';
|
|
6
6
|
import { Ajv2019 } from 'ajv/dist/2019.js';
|
|
7
7
|
import * as Moleculer from 'moleculer';
|
|
8
|
-
import { Context, ServiceSchema, ServiceSettingSchema, Service, ServiceBroker, BrokerOptions, Middleware,
|
|
9
|
-
import
|
|
8
|
+
import { Context, ServiceSchema, ServiceSettingSchema, Service, ServiceBroker, BrokerOptions, Middleware, TracerExporters, LoggerInstance, Tracer, Span, MetricReporters, MetricRegistry, MetricReporterOptions } from 'moleculer';
|
|
9
|
+
import 'pino';
|
|
10
10
|
|
|
11
11
|
declare function omitFields<T extends Record<string, unknown>, F extends keyof T>(schema: JSONSchemaType<T>, fields: F[], refName?: string): JSONSchemaType<Omit<T, F>>;
|
|
12
12
|
declare function pickFields<T extends Record<string, unknown>, F extends keyof T>(schema: JSONSchemaType<T>, fields: F[], refName?: string): JSONSchemaType<Pick<T, F>>;
|
|
@@ -254,10 +254,6 @@ type HealthCheckOptions = {
|
|
|
254
254
|
*/
|
|
255
255
|
declare function HealthCheckMiddleware(_opts: Partial<HealthCheckOptions>): Middleware;
|
|
256
256
|
|
|
257
|
-
declare const createLogger: (bindings: Record<string, unknown>) => Logger;
|
|
258
|
-
declare function createLoggerConfig(): LoggerConfig;
|
|
259
|
-
declare const defaultLogger: Logger;
|
|
260
|
-
|
|
261
257
|
type NewrelicTraceExporterOptions = {
|
|
262
258
|
logger?: LoggerInstance;
|
|
263
259
|
safetyTags?: boolean;
|
|
@@ -369,5 +365,5 @@ declare class NewrelicMetricsReporter extends MetricReporters.Base {
|
|
|
369
365
|
generateMetricsPayload(): unknown[];
|
|
370
366
|
}
|
|
371
367
|
|
|
372
|
-
export { AjvExtractor, Alias, COERCE_ARRAY_ATTRIBUTE, CustomActionSchema, CustomServiceSchema, DATE_TYPE, Document, EMPTY_OBJECT_SCHEMA, HealthCheckMiddleware, JSONSchemaType, NewrelicMetricsReporter, NewrelicTraceExporter, OBJECTID_TYPE, OpenAPIExtractor, OpenAPIMixin, OperationObject, RefExtractor, ReferenceObject, SCHEMA_REF_NAME, SchemaObject, ServiceFactory, SomeJSONSchema, addFieldsToSchema, composeSchemas,
|
|
368
|
+
export { AjvExtractor, Alias, COERCE_ARRAY_ATTRIBUTE, CustomActionSchema, CustomServiceSchema, DATE_TYPE, Document, EMPTY_OBJECT_SCHEMA, HealthCheckMiddleware, JSONSchemaType, NewrelicMetricsReporter, NewrelicTraceExporter, OBJECTID_TYPE, OpenAPIExtractor, OpenAPIMixin, OperationObject, RefExtractor, ReferenceObject, SCHEMA_REF_NAME, SchemaObject, ServiceFactory, SomeJSONSchema, addFieldsToSchema, composeSchemas, createOpenAPIResponses, createServiceBroker, getMetadataFromService, isServiceSelected, omitFields, optionalExceptFields, optionalFields, pickFields, toPartialSchema, wrapMixin, wrapService, zodCoerceArray, zodDate, zodObjectId, zodToOpenAPISchema };
|
|
373
369
|
export type { OpenAPIMixinOptions, OpenAPIResponses, Selector };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { Document, WithoutId, InferIdType, ObjectId, Filter, WithId, OptionalId, FindOptions, CountDocumentsOptions, FindOneAndUpdateOptions, BulkWriteOptions, UpdateOptions, FindOneAndReplaceOptions, FindOneAndDeleteOptions, DeleteOptions, CollationOptions, CreateCollectionOptions, MongoClient, CollectionOptions, Collection, UpdateFilter, FindCursor, UpdateResult } from 'mongodb';
|
|
2
2
|
import { ActionVisibility, BaseValidator, Errors, Context } from 'moleculer';
|
|
3
3
|
import { ZodType, ZodObject } from 'zod/v4';
|
|
4
|
-
import { V as ValidationSchema, J as JSONSchemaType, C as CustomActionSchema, a as CustomServiceSchema } from '../
|
|
4
|
+
import { V as ValidationSchema, J as JSONSchemaType, C as CustomActionSchema, a as CustomServiceSchema } from '../index-IHCgtNKZ.cjs';
|
|
5
5
|
import { Readable } from 'stream';
|
|
6
6
|
import 'bson';
|
|
7
7
|
import 'ajv/dist/2019.js';
|
|
8
|
+
import 'pino';
|
|
8
9
|
|
|
9
10
|
declare enum QueryOp {
|
|
10
11
|
GT = "$gt",
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { Document, WithoutId, InferIdType, ObjectId, Filter, WithId, OptionalId, FindOptions, CountDocumentsOptions, FindOneAndUpdateOptions, BulkWriteOptions, UpdateOptions, FindOneAndReplaceOptions, FindOneAndDeleteOptions, DeleteOptions, CollationOptions, CreateCollectionOptions, MongoClient, CollectionOptions, Collection, UpdateFilter, FindCursor, UpdateResult } from 'mongodb';
|
|
2
2
|
import { ActionVisibility, BaseValidator, Errors, Context } from 'moleculer';
|
|
3
3
|
import { ZodType, ZodObject } from 'zod/v4';
|
|
4
|
-
import { V as ValidationSchema, J as JSONSchemaType, C as CustomActionSchema, a as CustomServiceSchema } from '../
|
|
4
|
+
import { V as ValidationSchema, J as JSONSchemaType, C as CustomActionSchema, a as CustomServiceSchema } from '../index-IHCgtNKZ.mjs';
|
|
5
5
|
import { Readable } from 'stream';
|
|
6
6
|
import 'bson';
|
|
7
7
|
import 'ajv/dist/2019.js';
|
|
8
|
+
import 'pino';
|
|
8
9
|
|
|
9
10
|
declare enum QueryOp {
|
|
10
11
|
GT = "$gt",
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { a as CustomServiceSchema } from '../
|
|
1
|
+
import { a as CustomServiceSchema } from '../index-IHCgtNKZ.cjs';
|
|
2
2
|
import { buildClient, NodeCachingMaterialsManager } from '@aws-crypto/client-node';
|
|
3
3
|
import 'moleculer';
|
|
4
4
|
import 'bson';
|
|
5
5
|
import 'zod/v4';
|
|
6
6
|
import 'ajv/dist/2019.js';
|
|
7
|
+
import 'pino';
|
|
7
8
|
|
|
8
9
|
declare const kCmm: unique symbol;
|
|
9
10
|
type EncryptorMixinSettings = {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { a as CustomServiceSchema } from '../
|
|
1
|
+
import { a as CustomServiceSchema } from '../index-IHCgtNKZ.mjs';
|
|
2
2
|
import { buildClient, NodeCachingMaterialsManager } from '@aws-crypto/client-node';
|
|
3
3
|
import 'moleculer';
|
|
4
4
|
import 'bson';
|
|
5
5
|
import 'zod/v4';
|
|
6
6
|
import 'ajv/dist/2019.js';
|
|
7
|
+
import 'pino';
|
|
7
8
|
|
|
8
9
|
declare const kCmm: unique symbol;
|
|
9
10
|
type EncryptorMixinSettings = {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { a as CustomServiceSchema } from '../
|
|
1
|
+
import { a as CustomServiceSchema } from '../index-IHCgtNKZ.cjs';
|
|
2
2
|
import 'moleculer';
|
|
3
3
|
import 'bson';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import 'ajv/dist/2019.js';
|
|
6
|
+
import 'pino';
|
|
6
7
|
|
|
7
8
|
type Wrapper<T> = {
|
|
8
9
|
services: Set<unknown>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { a as CustomServiceSchema } from '../
|
|
1
|
+
import { a as CustomServiceSchema } from '../index-IHCgtNKZ.mjs';
|
|
2
2
|
import 'moleculer';
|
|
3
3
|
import 'bson';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import 'ajv/dist/2019.js';
|
|
6
|
+
import 'pino';
|
|
6
7
|
|
|
7
8
|
type Wrapper<T> = {
|
|
8
9
|
services: Set<unknown>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { a as CustomServiceSchema } from '../
|
|
1
|
+
import { a as CustomServiceSchema } from '../index-IHCgtNKZ.cjs';
|
|
2
2
|
import { SignOptions, PrivateKey, VerifyOptions, JwtHeader, SigningKeyCallback } from 'jsonwebtoken';
|
|
3
3
|
import { Options, JwksClient } from 'jwks-rsa';
|
|
4
4
|
import { Context } from 'moleculer';
|
|
5
5
|
import 'bson';
|
|
6
6
|
import 'zod/v4';
|
|
7
7
|
import 'ajv/dist/2019.js';
|
|
8
|
+
import 'pino';
|
|
8
9
|
|
|
9
10
|
type JwtSignerMixinSettings = {
|
|
10
11
|
signOptions: SignOptions;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { a as CustomServiceSchema } from '../
|
|
1
|
+
import { a as CustomServiceSchema } from '../index-IHCgtNKZ.mjs';
|
|
2
2
|
import { SignOptions, PrivateKey, VerifyOptions, JwtHeader, SigningKeyCallback } from 'jsonwebtoken';
|
|
3
3
|
import { Options, JwksClient } from 'jwks-rsa';
|
|
4
4
|
import { Context } from 'moleculer';
|
|
5
5
|
import 'bson';
|
|
6
6
|
import 'zod/v4';
|
|
7
7
|
import 'ajv/dist/2019.js';
|
|
8
|
+
import 'pino';
|
|
8
9
|
|
|
9
10
|
type JwtSignerMixinSettings = {
|
|
10
11
|
signOptions: SignOptions;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { a as CustomServiceSchema } from '../
|
|
1
|
+
import { a as CustomServiceSchema } from '../index-IHCgtNKZ.cjs';
|
|
2
2
|
import { Redis } from 'ioredis';
|
|
3
3
|
import { QueueOptions, Queue, JobsOptions, Job, QueueEventsOptions, QueueEvents, QueueBaseOptions, FlowProducer, RepeatOptions, WorkerOptions, Worker } from 'bullmq';
|
|
4
4
|
import { Service } from 'moleculer';
|
|
5
5
|
import 'bson';
|
|
6
6
|
import 'zod/v4';
|
|
7
7
|
import 'ajv/dist/2019.js';
|
|
8
|
+
import 'pino';
|
|
8
9
|
|
|
9
10
|
type QueueMixinOptions = {
|
|
10
11
|
brokerURL: string | (<TService extends Service = Service>(svc: TService) => Promise<string>);
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { a as CustomServiceSchema } from '../
|
|
1
|
+
import { a as CustomServiceSchema } from '../index-IHCgtNKZ.mjs';
|
|
2
2
|
import { Redis } from 'ioredis';
|
|
3
3
|
import { QueueOptions, Queue, JobsOptions, Job, QueueEventsOptions, QueueEvents, QueueBaseOptions, FlowProducer, RepeatOptions, WorkerOptions, Worker } from 'bullmq';
|
|
4
4
|
import { Service } from 'moleculer';
|
|
5
5
|
import 'bson';
|
|
6
6
|
import 'zod/v4';
|
|
7
7
|
import 'ajv/dist/2019.js';
|
|
8
|
+
import 'pino';
|
|
8
9
|
|
|
9
10
|
type QueueMixinOptions = {
|
|
10
11
|
brokerURL: string | (<TService extends Service = Service>(svc: TService) => Promise<string>);
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { a as CustomServiceSchema } from '../
|
|
1
|
+
import { a as CustomServiceSchema } from '../index-IHCgtNKZ.cjs';
|
|
2
2
|
import { RedisOptions, Redis } from 'ioredis';
|
|
3
3
|
import { Service } from 'moleculer';
|
|
4
4
|
import 'bson';
|
|
5
5
|
import 'zod/v4';
|
|
6
6
|
import 'ajv/dist/2019.js';
|
|
7
|
+
import 'pino';
|
|
7
8
|
|
|
8
9
|
type AllowedOptions = Omit<RedisOptions, 'lazyConnect'>;
|
|
9
10
|
type RedisMixinOptions = {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { a as CustomServiceSchema } from '../
|
|
1
|
+
import { a as CustomServiceSchema } from '../index-IHCgtNKZ.mjs';
|
|
2
2
|
import { RedisOptions, Redis } from 'ioredis';
|
|
3
3
|
import { Service } from 'moleculer';
|
|
4
4
|
import 'bson';
|
|
5
5
|
import 'zod/v4';
|
|
6
6
|
import 'ajv/dist/2019.js';
|
|
7
|
+
import 'pino';
|
|
7
8
|
|
|
8
9
|
type AllowedOptions = Omit<RedisOptions, 'lazyConnect'>;
|
|
9
10
|
type RedisMixinOptions = {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { a as CustomServiceSchema } from '../
|
|
1
|
+
import { a as CustomServiceSchema } from '../index-IHCgtNKZ.cjs';
|
|
2
2
|
import { Service } from 'moleculer';
|
|
3
3
|
import { RedisOptions, Redis } from 'ioredis';
|
|
4
4
|
import Redlock from 'redlock';
|
|
5
5
|
import 'bson';
|
|
6
6
|
import 'zod/v4';
|
|
7
7
|
import 'ajv/dist/2019.js';
|
|
8
|
+
import 'pino';
|
|
8
9
|
|
|
9
10
|
type AllowedOptions = Omit<RedisOptions, 'lazyConnect'>;
|
|
10
11
|
type RedlockMixinOptions = {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { a as CustomServiceSchema } from '../
|
|
1
|
+
import { a as CustomServiceSchema } from '../index-IHCgtNKZ.mjs';
|
|
2
2
|
import { Service } from 'moleculer';
|
|
3
3
|
import { RedisOptions, Redis } from 'ioredis';
|
|
4
4
|
import Redlock from 'redlock';
|
|
5
5
|
import 'bson';
|
|
6
6
|
import 'zod/v4';
|
|
7
7
|
import 'ajv/dist/2019.js';
|
|
8
|
+
import 'pino';
|
|
8
9
|
|
|
9
10
|
type AllowedOptions = Omit<RedisOptions, 'lazyConnect'>;
|
|
10
11
|
type RedlockMixinOptions = {
|
package/package.json
CHANGED