@burdenoff/be-sdk 2026.516.2 → 2026.516.4
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/auth/index.d.ts +2 -2
- package/dist/auth/index.js +3 -3
- package/dist/cache/index.d.ts +2 -2
- package/dist/cache/index.js +2 -2
- package/dist/{chunk-U455UF4O.js → chunk-3F4SLVRL.js} +5 -5
- package/dist/{chunk-U455UF4O.js.map → chunk-3F4SLVRL.js.map} +1 -1
- package/dist/{chunk-Z4IRLBWO.js → chunk-5SD7DU3L.js} +3 -3
- package/dist/{chunk-Z4IRLBWO.js.map → chunk-5SD7DU3L.js.map} +1 -1
- package/dist/{chunk-6U2P4ANJ.js → chunk-CFUKZDDU.js} +5 -5
- package/dist/{chunk-6U2P4ANJ.js.map → chunk-CFUKZDDU.js.map} +1 -1
- package/dist/{chunk-5CAA3JST.js → chunk-CPO7ZXUQ.js} +3 -3
- package/dist/{chunk-5CAA3JST.js.map → chunk-CPO7ZXUQ.js.map} +1 -1
- package/dist/{chunk-HIWTWIGQ.js → chunk-GSEPF2B6.js} +10 -7
- package/dist/chunk-GSEPF2B6.js.map +1 -0
- package/dist/{chunk-NGMEI42S.js → chunk-HP6JTFNR.js} +8 -4
- package/dist/chunk-HP6JTFNR.js.map +1 -0
- package/dist/{chunk-V4RLPTTT.js → chunk-IFES3AQS.js} +3 -3
- package/dist/{chunk-V4RLPTTT.js.map → chunk-IFES3AQS.js.map} +1 -1
- package/dist/{chunk-75VTKG4Q.js → chunk-MM3BD756.js} +4 -6
- package/dist/chunk-MM3BD756.js.map +1 -0
- package/dist/{chunk-7Y3RNUS3.js → chunk-NGA6NTFG.js} +4 -4
- package/dist/{chunk-7Y3RNUS3.js.map → chunk-NGA6NTFG.js.map} +1 -1
- package/dist/{chunk-RVB5QFZ4.js → chunk-O2MEBPDT.js} +4 -4
- package/dist/{chunk-RVB5QFZ4.js.map → chunk-O2MEBPDT.js.map} +1 -1
- package/dist/{chunk-RTQIRGVB.js → chunk-O6RHB2YP.js} +2 -2
- package/dist/chunk-O6RHB2YP.js.map +1 -0
- package/dist/{chunk-24VR7PF3.js → chunk-OJDXWHRJ.js} +2 -2
- package/dist/{chunk-24VR7PF3.js.map → chunk-OJDXWHRJ.js.map} +1 -1
- package/dist/{chunk-AQTNM2EY.js → chunk-RMDKB5O7.js} +3 -3
- package/dist/{chunk-AQTNM2EY.js.map → chunk-RMDKB5O7.js.map} +1 -1
- package/dist/{chunk-VKSB2K5E.js → chunk-SO57HNXV.js} +3 -4
- package/dist/chunk-SO57HNXV.js.map +1 -0
- package/dist/{chunk-WBWM7UY7.js → chunk-UNPJMENC.js} +3 -3
- package/dist/{chunk-WBWM7UY7.js.map → chunk-UNPJMENC.js.map} +1 -1
- package/dist/{chunk-Q6N74R6S.js → chunk-V2VEENJ2.js} +3 -3
- package/dist/{chunk-Q6N74R6S.js.map → chunk-V2VEENJ2.js.map} +1 -1
- package/dist/{chunk-SNW4BLF2.js → chunk-VLEOOG2L.js} +3 -3
- package/dist/{chunk-SNW4BLF2.js.map → chunk-VLEOOG2L.js.map} +1 -1
- package/dist/{chunk-MQ6OE5QR.js → chunk-WCBKW3CL.js} +6 -11
- package/dist/chunk-WCBKW3CL.js.map +1 -0
- package/dist/database/index.js +3 -3
- package/dist/event-queue/index.d.ts +5 -5
- package/dist/event-queue/index.js +2 -2
- package/dist/export/index.d.ts +2 -2
- package/dist/export/index.js +5 -5
- package/dist/gateway/index.d.ts +2 -2
- package/dist/gateway/index.js +4 -4
- package/dist/gateway/security/index.js +1 -1
- package/dist/graph/index.d.ts +4 -4
- package/dist/graph/index.js +5 -5
- package/dist/{graph-emitter-Dp7UE1Yd.d.ts → graph-emitter-r5TylDBm.d.ts} +1 -2
- package/dist/{graphql-0_hoaeUf.d.ts → graphql-DH3L5Hj7.d.ts} +1 -1
- package/dist/{index-DlFDFyWD.d.ts → index-BVjR9llq.d.ts} +2 -2
- package/dist/{index-DJq060D-.d.ts → index-BZPEyVOl.d.ts} +3 -3
- package/dist/{index-tJYziwMs.d.ts → index-BqSh1K8I.d.ts} +3 -23
- package/dist/{index-D_Nc4UHi.d.ts → index-C7T0Xx19.d.ts} +8 -9
- package/dist/{index-CSPbpywb.d.ts → index-Caqvetqq.d.ts} +5 -10
- package/dist/{index-Bo58dlMU.d.ts → index-CygU_fXS.d.ts} +3 -3
- package/dist/{index-DYEts1R8.d.ts → index-DLyc5o_K.d.ts} +1 -1
- package/dist/{index-BMq3lFjj.d.ts → index-Dg4kH1VJ.d.ts} +1 -1
- package/dist/{index-zzKCairW.d.ts → index-DohaJRZP.d.ts} +2 -2
- package/dist/{index-RU_M5c74.d.ts → index-KA3gg4es.d.ts} +1 -1
- package/dist/{index-B6IwtUb1.d.ts → index-cnFnfIjk.d.ts} +1 -1
- package/dist/{index-TKcu5LDR.d.ts → index-fhOvuvlv.d.ts} +1 -1
- package/dist/index.d.ts +27 -27
- package/dist/index.js +87 -87
- package/dist/index.js.map +1 -1
- package/dist/init/index.d.ts +2 -2
- package/dist/init/index.js +5 -5
- package/dist/instrumentation/index.d.ts +3 -3
- package/dist/layer/index.d.ts +2 -2
- package/dist/layer/index.js +2 -2
- package/dist/{layer-DDip18KY.d.ts → layer-CUu_cZ7d.d.ts} +1 -1
- package/dist/logger/index.d.ts +2 -2
- package/dist/notifications/index.d.ts +3 -3
- package/dist/notifications/index.js +3 -3
- package/dist/prisma/index.js +2 -2
- package/dist/rbac/index.d.ts +3 -3
- package/dist/rbac/index.js +3 -3
- package/dist/telemetry/index.d.ts +6 -6
- package/dist/telemetry/index.js.map +1 -1
- package/dist/temporal/index.d.ts +1 -1
- package/dist/temporal/index.js +2 -2
- package/dist/tracker/index.d.ts +4 -4
- package/dist/tracker/index.js +5 -5
- package/package.json +1 -1
- package/dist/chunk-75VTKG4Q.js.map +0 -1
- package/dist/chunk-HIWTWIGQ.js.map +0 -1
- package/dist/chunk-MQ6OE5QR.js.map +0 -1
- package/dist/chunk-NGMEI42S.js.map +0 -1
- package/dist/chunk-RTQIRGVB.js.map +0 -1
- package/dist/chunk-VKSB2K5E.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as ServiceLayer } from './layer-
|
|
1
|
+
import { S as ServiceLayer } from './layer-CUu_cZ7d.js';
|
|
2
2
|
|
|
3
3
|
interface DatabaseConfig {
|
|
4
4
|
url: string;
|
|
@@ -41,22 +41,6 @@ interface ClickHouseConfig {
|
|
|
41
41
|
maxConnections?: number;
|
|
42
42
|
compression?: boolean;
|
|
43
43
|
}
|
|
44
|
-
interface NATSConfig {
|
|
45
|
-
url?: string;
|
|
46
|
-
servers?: string | string[];
|
|
47
|
-
user?: string;
|
|
48
|
-
password?: string;
|
|
49
|
-
token?: string;
|
|
50
|
-
creds?: string;
|
|
51
|
-
credsFile?: string;
|
|
52
|
-
maxReconnectAttempts?: number;
|
|
53
|
-
reconnectTimeWait?: number;
|
|
54
|
-
tls?: {
|
|
55
|
-
certFile?: string;
|
|
56
|
-
keyFile?: string;
|
|
57
|
-
caFile?: string;
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
44
|
interface MetricsConfig {
|
|
61
45
|
enabled?: boolean;
|
|
62
46
|
port?: number;
|
|
@@ -92,8 +76,6 @@ interface AnalyticsConfig {
|
|
|
92
76
|
samplingRate?: number;
|
|
93
77
|
}
|
|
94
78
|
interface EventQueueConfig {
|
|
95
|
-
nats?: NATSConfig;
|
|
96
|
-
useNATSPubSub?: boolean;
|
|
97
79
|
defaultStreams?: {
|
|
98
80
|
name: string;
|
|
99
81
|
subjects: string[];
|
|
@@ -129,7 +111,6 @@ interface InitializedSDKState {
|
|
|
129
111
|
valkey?: unknown;
|
|
130
112
|
clickhouse?: unknown;
|
|
131
113
|
eventPublisher?: unknown;
|
|
132
|
-
nats?: unknown;
|
|
133
114
|
layerManager?: unknown;
|
|
134
115
|
gatewayClient?: unknown;
|
|
135
116
|
graphSyncEnabled: boolean;
|
|
@@ -153,7 +134,6 @@ type index_InitializedSDKState = InitializedSDKState;
|
|
|
153
134
|
type index_LayerInitConfig = LayerInitConfig;
|
|
154
135
|
type index_LoggingConfig = LoggingConfig;
|
|
155
136
|
type index_MetricsConfig = MetricsConfig;
|
|
156
|
-
type index_NATSConfig = NATSConfig;
|
|
157
137
|
type index_ObservabilityConfig = ObservabilityConfig;
|
|
158
138
|
type index_OpenTelemetryConfig = OpenTelemetryConfig;
|
|
159
139
|
type index_SDKCacheConfig = SDKCacheConfig;
|
|
@@ -163,7 +143,7 @@ declare const index_initializeBurdenoffSDK: typeof initializeBurdenoffSDK;
|
|
|
163
143
|
declare const index_isSDKInitialized: typeof isSDKInitialized;
|
|
164
144
|
declare const index_resetSDK: typeof resetSDK;
|
|
165
145
|
declare namespace index {
|
|
166
|
-
export { type index_AnalyticsConfig as AnalyticsConfig, type index_BurdenoffSDKInitConfig as BurdenoffSDKInitConfig, type index_ClickHouseConfig as ClickHouseConfig, type index_DatabaseConfig as DatabaseConfig, type index_EventQueueConfig as EventQueueConfig, type index_GraphSyncConfig as GraphSyncConfig, type index_InitializedSDKState as InitializedSDKState, type index_LayerInitConfig as LayerInitConfig, type index_LoggingConfig as LoggingConfig, type index_MetricsConfig as MetricsConfig, type
|
|
146
|
+
export { type index_AnalyticsConfig as AnalyticsConfig, type index_BurdenoffSDKInitConfig as BurdenoffSDKInitConfig, type index_ClickHouseConfig as ClickHouseConfig, type index_DatabaseConfig as DatabaseConfig, type index_EventQueueConfig as EventQueueConfig, type index_GraphSyncConfig as GraphSyncConfig, type index_InitializedSDKState as InitializedSDKState, type index_LayerInitConfig as LayerInitConfig, type index_LoggingConfig as LoggingConfig, type index_MetricsConfig as MetricsConfig, type index_ObservabilityConfig as ObservabilityConfig, type index_OpenTelemetryConfig as OpenTelemetryConfig, type index_SDKCacheConfig as SDKCacheConfig, type index_SDKValkeyCacheConfig as SDKValkeyCacheConfig, index_getSDKState as getSDKState, index_initializeBurdenoffSDK as initializeBurdenoffSDK, index_isSDKInitialized as isSDKInitialized, index_resetSDK as resetSDK };
|
|
167
147
|
}
|
|
168
148
|
|
|
169
|
-
export { type AnalyticsConfig as A, type BurdenoffSDKInitConfig as B, type ClickHouseConfig as C, type DatabaseConfig as D, type EventQueueConfig as E, type GraphSyncConfig as G, type InitializedSDKState as I, type LayerInitConfig as L, type MetricsConfig as M, type
|
|
149
|
+
export { type AnalyticsConfig as A, type BurdenoffSDKInitConfig as B, type ClickHouseConfig as C, type DatabaseConfig as D, type EventQueueConfig as E, type GraphSyncConfig as G, type InitializedSDKState as I, type LayerInitConfig as L, type MetricsConfig as M, type ObservabilityConfig as O, type SDKCacheConfig as S, type LoggingConfig as a, type OpenTelemetryConfig as b, type SDKValkeyCacheConfig as c, initializeBurdenoffSDK as d, isSDKInitialized as e, getSDKState as g, index as i, resetSDK as r };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as ServiceLayer } from './layer-
|
|
2
|
-
import { E as EntityEventRbacMetadata, a as EntityEventType$1, b as GraphEventEmitter$1, G as GraphEventEmitterImpl,
|
|
3
|
-
import { B as BurdenoffGraphQLClient } from './graphql-
|
|
4
|
-
import { S as SDKContext } from './index-
|
|
1
|
+
import { S as ServiceLayer } from './layer-CUu_cZ7d.js';
|
|
2
|
+
import { E as EntityEventRbacMetadata, a as EntityEventType$1, b as GraphEventEmitter$1, G as GraphEventEmitterImpl, c as createGraphEventEmitter$1, g as getGraphEventEmitter, r as resetGraphEventEmitter } from './graph-emitter-r5TylDBm.js';
|
|
3
|
+
import { B as BurdenoffGraphQLClient } from './graphql-DH3L5Hj7.js';
|
|
4
|
+
import { S as SDKContext } from './index-Caqvetqq.js';
|
|
5
5
|
|
|
6
6
|
interface EventMessage$1<T = unknown> {
|
|
7
7
|
id: string;
|
|
@@ -41,7 +41,7 @@ interface StreamConfig {
|
|
|
41
41
|
maxConsumers?: number;
|
|
42
42
|
duplicateWindow?: number;
|
|
43
43
|
}
|
|
44
|
-
interface
|
|
44
|
+
interface ConsumerOptions {
|
|
45
45
|
name: string;
|
|
46
46
|
stream: string;
|
|
47
47
|
filterSubject?: string;
|
|
@@ -623,6 +623,7 @@ type index_AcknowledgeableEvent<T = unknown> = AcknowledgeableEvent<T>;
|
|
|
623
623
|
type index_BaseQueueConfig = BaseQueueConfig;
|
|
624
624
|
type index_BulkEventPayload = BulkEventPayload;
|
|
625
625
|
type index_ConsumerConfig = ConsumerConfig;
|
|
626
|
+
type index_ConsumerOptions = ConsumerOptions;
|
|
626
627
|
declare const index_EntityEventRbacMetadata: typeof EntityEventRbacMetadata;
|
|
627
628
|
type index_EventHandler<T = unknown> = EventHandler<T>;
|
|
628
629
|
type index_EventMetadata = EventMetadata;
|
|
@@ -650,8 +651,6 @@ type index_ModuleEventPayload = ModuleEventPayload;
|
|
|
650
651
|
type index_ModuleEventsConfig = ModuleEventsConfig;
|
|
651
652
|
type index_ModuleEventsService = ModuleEventsService;
|
|
652
653
|
declare const index_ModuleEventsService: typeof ModuleEventsService;
|
|
653
|
-
type index_NATSConsumerOptions = NATSConsumerOptions;
|
|
654
|
-
declare const index_NatsGraphEventEmitter: typeof NatsGraphEventEmitter;
|
|
655
654
|
type index_PublishEventOptions = PublishEventOptions;
|
|
656
655
|
type index_PublishOptions = PublishOptions;
|
|
657
656
|
type index_PublishResult = PublishResult;
|
|
@@ -677,7 +676,7 @@ declare const index_createPublisher: typeof createPublisher;
|
|
|
677
676
|
declare const index_getGraphEventEmitter: typeof getGraphEventEmitter;
|
|
678
677
|
declare const index_resetGraphEventEmitter: typeof resetGraphEventEmitter;
|
|
679
678
|
declare namespace index {
|
|
680
|
-
export { type index_AcknowledgeableEvent as AcknowledgeableEvent, type index_BaseQueueConfig as BaseQueueConfig, type index_BulkEventPayload as BulkEventPayload, type index_ConsumerConfig as ConsumerConfig, index_EntityEventRbacMetadata as EntityEventRbacMetadata, EntityEventType$1 as EntityEventType, type index_EventHandler as EventHandler, type EventMessage$1 as EventMessage, type index_EventMetadata as EventMetadata, index_EventPriority as EventPriority, index_EventQueueFactory as EventQueueFactory, type index_EventQueueHealthCheckResult as EventQueueHealthCheckResult, index_EventsModule as EventsModule, GraphEventEmitter$1 as GraphEventEmitter, index_GraphEventEmitterImpl as GraphEventEmitterImpl, type EventMessage as GraphQLEventMessage, type EventQueueHealthCheckResult as HealthCheckResult, type index_IEventConsumer as IEventConsumer, type index_IEventPublisher as IEventPublisher, type index_IEventQueue as IEventQueue, type index_ISubscription as ISubscription, index_MemoryEventBus as MemoryEventBus, index_MemoryEventConsumer as MemoryEventConsumer, index_MemoryEventPublisher as MemoryEventPublisher, index_MemoryEventQueue as MemoryEventQueue, type index_ModuleEventPayload as ModuleEventPayload, type index_ModuleEventsConfig as ModuleEventsConfig, index_ModuleEventsService as ModuleEventsService, type
|
|
679
|
+
export { type index_AcknowledgeableEvent as AcknowledgeableEvent, type index_BaseQueueConfig as BaseQueueConfig, type index_BulkEventPayload as BulkEventPayload, type index_ConsumerConfig as ConsumerConfig, type index_ConsumerOptions as ConsumerOptions, index_EntityEventRbacMetadata as EntityEventRbacMetadata, EntityEventType$1 as EntityEventType, type index_EventHandler as EventHandler, type EventMessage$1 as EventMessage, type index_EventMetadata as EventMetadata, index_EventPriority as EventPriority, index_EventQueueFactory as EventQueueFactory, type index_EventQueueHealthCheckResult as EventQueueHealthCheckResult, index_EventsModule as EventsModule, GraphEventEmitter$1 as GraphEventEmitter, index_GraphEventEmitterImpl as GraphEventEmitterImpl, type EventMessage as GraphQLEventMessage, type EventQueueHealthCheckResult as HealthCheckResult, type index_IEventConsumer as IEventConsumer, type index_IEventPublisher as IEventPublisher, type index_IEventQueue as IEventQueue, type index_ISubscription as ISubscription, index_MemoryEventBus as MemoryEventBus, index_MemoryEventConsumer as MemoryEventConsumer, index_MemoryEventPublisher as MemoryEventPublisher, index_MemoryEventQueue as MemoryEventQueue, type index_ModuleEventPayload as ModuleEventPayload, type index_ModuleEventsConfig as ModuleEventsConfig, index_ModuleEventsService as ModuleEventsService, type index_PublishEventOptions as PublishEventOptions, type index_PublishOptions as PublishOptions, type index_PublishResult as PublishResult, type index_PublisherConfig as PublisherConfig, type index_QueueStatistics as QueueStatistics, index_QueueType as QueueType, index_RedisStreamsConnection as RedisStreamsConnection, index_RedisStreamsEventConsumer as RedisStreamsEventConsumer, index_RedisStreamsEventPublisher as RedisStreamsEventPublisher, type index_StreamConfig as StreamConfig, type index_StreamInfo as StreamInfo, type index_SubscribeOptions as SubscribeOptions, type index_SubscriptionOptions as SubscriptionOptions, index_createConsumer as createConsumer, createGraphEventEmitter$1 as createGraphEventEmitter, index_createMemoryConsumer as createMemoryConsumer, createGraphEventEmitter as createMemoryGraphEventEmitter, index_createMemoryPublisher as createMemoryPublisher, index_createModuleEventsService as createModuleEventsService, index_createPublisher as createPublisher, index_getGraphEventEmitter as getGraphEventEmitter, dlqKey as redisDlqKey, streamKey as redisStreamKey, index_resetGraphEventEmitter as resetGraphEventEmitter };
|
|
681
680
|
}
|
|
682
681
|
|
|
683
|
-
export { type AcknowledgeableEvent as A, type BaseQueueConfig as B, type ConsumerConfig as C, type
|
|
682
|
+
export { type AcknowledgeableEvent as A, type BaseQueueConfig as B, type ConsumerConfig as C, type SubscribeOptions as D, EventsModule as E, type SubscriptionOptions as F, createConsumer as G, createMemoryConsumer as H, type IEventPublisher as I, createGraphEventEmitter as J, createMemoryPublisher as K, createModuleEventsService as L, MemoryEventBus as M, createPublisher as N, dlqKey as O, type PublishEventOptions as P, type QueueStatistics as Q, RedisStreamsConnection as R, type StreamConfig as S, streamKey as T, type BulkEventPayload as a, type ConsumerOptions as b, type EventHandler as c, type EventMessage$1 as d, type EventMetadata as e, EventPriority as f, EventQueueFactory as g, type EventQueueHealthCheckResult as h, index as i, type EventMessage as j, type IEventConsumer as k, type IEventQueue as l, type ISubscription as m, MemoryEventConsumer as n, MemoryEventPublisher as o, MemoryEventQueue as p, type ModuleEventPayload as q, type ModuleEventsConfig as r, ModuleEventsService as s, type PublishOptions as t, type PublishResult as u, type PublisherConfig as v, QueueType as w, RedisStreamsEventConsumer as x, RedisStreamsEventPublisher as y, type StreamInfo as z };
|
|
@@ -4,7 +4,7 @@ interface SDKConfig {
|
|
|
4
4
|
timeout?: number;
|
|
5
5
|
retry?: RetryConfig;
|
|
6
6
|
logger?: LoggerConfig;
|
|
7
|
-
|
|
7
|
+
eventQueue?: EventQueueSDKConfig;
|
|
8
8
|
temporalModuleType?: 'workspace' | 'tenant';
|
|
9
9
|
temporalAddress?: string;
|
|
10
10
|
temporalNamespace?: string;
|
|
@@ -37,20 +37,15 @@ interface SDKContext {
|
|
|
37
37
|
productId?: string;
|
|
38
38
|
[key: string]: unknown;
|
|
39
39
|
}
|
|
40
|
-
interface
|
|
40
|
+
interface EventQueueSDKConfig {
|
|
41
41
|
url?: string;
|
|
42
|
-
servers?: string[];
|
|
43
|
-
user?: string;
|
|
44
42
|
password?: string;
|
|
45
|
-
token?: string;
|
|
46
|
-
creds?: string;
|
|
47
|
-
credsFile?: string;
|
|
48
43
|
maxReconnectAttempts?: number;
|
|
49
44
|
reconnectTimeWait?: number;
|
|
50
45
|
name?: string;
|
|
51
46
|
autoConnect?: boolean;
|
|
52
47
|
}
|
|
53
|
-
interface
|
|
48
|
+
interface EventQueueHealthStatus {
|
|
54
49
|
status: 'healthy' | 'unhealthy' | 'not_configured';
|
|
55
50
|
connected: boolean;
|
|
56
51
|
url?: string;
|
|
@@ -64,7 +59,7 @@ interface TemporalHealthStatus {
|
|
|
64
59
|
details?: Record<string, unknown>;
|
|
65
60
|
}
|
|
66
61
|
interface SDKHealthStatus {
|
|
67
|
-
|
|
62
|
+
eventQueue: EventQueueHealthStatus;
|
|
68
63
|
temporal: TemporalHealthStatus;
|
|
69
64
|
}
|
|
70
65
|
interface SDKShutdownOptions {
|
|
@@ -72,4 +67,4 @@ interface SDKShutdownOptions {
|
|
|
72
67
|
force?: boolean;
|
|
73
68
|
}
|
|
74
69
|
|
|
75
|
-
export type {
|
|
70
|
+
export type { EventQueueHealthStatus as E, LoggerConfig as L, SDKContext as S, TemporalHealthStatus as T, SDKConfig as a, SDKHealthStatus as b, SDKShutdownOptions as c, EventQueueSDKConfig as d, LoggerTransport as e };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { B as BurdenoffGraphQLClient } from './graphql-
|
|
2
|
-
import { S as SDKContext } from './index-
|
|
1
|
+
import { B as BurdenoffGraphQLClient } from './graphql-DH3L5Hj7.js';
|
|
2
|
+
import { S as SDKContext } from './index-Caqvetqq.js';
|
|
3
3
|
import { P as PrismaClientBase } from './client-CSjIrYKS.js';
|
|
4
|
-
import { G as GraphEventEmitterImpl, E as EntityEventRbacMetadata } from './graph-emitter-
|
|
4
|
+
import { G as GraphEventEmitterImpl, E as EntityEventRbacMetadata } from './graph-emitter-r5TylDBm.js';
|
|
5
5
|
import { G as GraphEventEmitter, E as EntityEventType, a as GraphMiddlewareConfig, b as addGraphExtension } from './prisma-extension-krXnYnrN.js';
|
|
6
6
|
|
|
7
7
|
type GraphEventType = 'entity.created' | 'entity.updated' | 'entity.deleted' | 'relationship.created' | 'relationship.updated' | 'relationship.deleted';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BurdenoffGraphQLClient } from './graphql-
|
|
2
|
-
import { S as SDKContext } from './index-
|
|
1
|
+
import { B as BurdenoffGraphQLClient } from './graphql-DH3L5Hj7.js';
|
|
2
|
+
import { S as SDKContext } from './index-Caqvetqq.js';
|
|
3
3
|
|
|
4
4
|
declare enum NotificationChannel$1 {
|
|
5
5
|
EMAIL = "EMAIL",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as GatewayRequestHeaders, S as ServiceLayer, C as CircuitBreakerConfig, g as GatewayRetryConfig } from './layer-
|
|
1
|
+
import { f as GatewayRequestHeaders, S as ServiceLayer, C as CircuitBreakerConfig, g as GatewayRetryConfig } from './layer-CUu_cZ7d.js';
|
|
2
2
|
import { i as index$1 } from './index-UhkH2eaB.js';
|
|
3
3
|
|
|
4
4
|
interface GatewayClientConfig {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import { S as SDKContext, a as SDKConfig,
|
|
2
|
-
export {
|
|
3
|
-
import { L as Logger } from './index-
|
|
4
|
-
export { i as Logger } from './index-
|
|
1
|
+
import { S as SDKContext, a as SDKConfig, E as EventQueueHealthStatus, T as TemporalHealthStatus, b as SDKHealthStatus, c as SDKShutdownOptions } from './index-Caqvetqq.js';
|
|
2
|
+
export { d as EventQueueSDKConfig, L as LoggerConfig, e as LoggerTransport } from './index-Caqvetqq.js';
|
|
3
|
+
import { L as Logger } from './index-DLyc5o_K.js';
|
|
4
|
+
export { i as Logger } from './index-DLyc5o_K.js';
|
|
5
5
|
import { AuthModule } from './auth/index.js';
|
|
6
|
-
import { T as TenantNotificationsModule, a as NotificationsModule } from './index-
|
|
7
|
-
export { t as Notifications } from './index-
|
|
6
|
+
import { T as TenantNotificationsModule, a as NotificationsModule } from './index-DohaJRZP.js';
|
|
7
|
+
export { t as Notifications } from './index-DohaJRZP.js';
|
|
8
8
|
import { RBACModule } from './rbac/index.js';
|
|
9
9
|
export { LayerAwareRBACConfig, RBACDirectiveConfig, createRBACDirective, createRBACDirectiveForLayer, createRBACDirectiveFromEnv } from './rbac/index.js';
|
|
10
|
-
import { A as ActivityModule, U as UsageModule, T as TrackerModule } from './index-
|
|
10
|
+
import { A as ActivityModule, U as UsageModule, T as TrackerModule } from './index-BZPEyVOl.js';
|
|
11
11
|
import { DatabaseConfig, DatabaseModule } from './database/index.js';
|
|
12
|
-
import { E as EventsModule, I as IEventPublisher } from './index-
|
|
13
|
-
export { i as EventQueue } from './index-
|
|
14
|
-
import { G as GraphModule } from './index-
|
|
15
|
-
export { i as Graph } from './index-
|
|
16
|
-
import { B as BurdenoffGraphQLClient } from './graphql-
|
|
12
|
+
import { E as EventsModule, I as IEventPublisher } from './index-C7T0Xx19.js';
|
|
13
|
+
export { i as EventQueue } from './index-C7T0Xx19.js';
|
|
14
|
+
import { G as GraphModule } from './index-CygU_fXS.js';
|
|
15
|
+
export { i as Graph } from './index-CygU_fXS.js';
|
|
16
|
+
import { B as BurdenoffGraphQLClient } from './graphql-DH3L5Hj7.js';
|
|
17
17
|
import { TemporalModule } from './temporal/index.js';
|
|
18
18
|
export { TemporalClient, TemporalClientConfig, TemporalClientFactory, TemporalWorker, TemporalWorkerConfig, TemporalWorkerFactory, TemporalWorkerManager, WorkflowStartOptions } from './temporal/index.js';
|
|
19
19
|
export { createInternalClient, createInternalClientForTenant, createInternalClientForWorkspaces } from './client/internal-client.js';
|
|
20
|
-
export { i as Cache } from './index-
|
|
20
|
+
export { i as Cache } from './index-cnFnfIjk.js';
|
|
21
21
|
export { i as Middleware } from './index-DSOpj8DI.js';
|
|
22
22
|
export { i as Observability } from './index-4gKQKZ2B.js';
|
|
23
23
|
export { i as GraphQL } from './index-joONjwLt.js';
|
|
24
24
|
export { i as Prisma } from './index-Dtf6FBaD.js';
|
|
25
25
|
export { i as Utils } from './index-PaojfSdd.js';
|
|
26
26
|
export { i as I18n, I as I18nCapableContext, T as Translator, c as createTranslator, g as getLanguage, a as getLocale, h as hasI18n, t } from './index-BV3G48cH.js';
|
|
27
|
-
export { i as Export } from './index-
|
|
28
|
-
export { i as Init } from './index-
|
|
27
|
+
export { i as Export } from './index-Dg4kH1VJ.js';
|
|
28
|
+
export { i as Init } from './index-BqSh1K8I.js';
|
|
29
29
|
export { i as DataLoader } from './index-DW9q22GH.js';
|
|
30
|
-
export { a as Instrumentation } from './index-
|
|
31
|
-
export { i as Layer } from './index-
|
|
30
|
+
export { a as Instrumentation } from './index-fhOvuvlv.js';
|
|
31
|
+
export { i as Layer } from './index-BVjR9llq.js';
|
|
32
32
|
export { i as Crypto } from './index-e_18DzAg.js';
|
|
33
|
-
export { i as Gateway } from './index-
|
|
33
|
+
export { i as Gateway } from './index-KA3gg4es.js';
|
|
34
34
|
export { i as FeatureFlags } from './index-jOuh_TKn.js';
|
|
35
35
|
export { i as Captcha, R as RecaptchaVerifyOptions, a as RecaptchaVerifyResult, b as isCaptchaEnabled, v as verifyCaptcha, c as verifyCaptchaIfEnabled } from './index-B70b5mYS.js';
|
|
36
|
-
export { C as CircuitBreakerConfig, h as DEFAULT_CIRCUIT_BREAKER_CONFIG, i as DEFAULT_GATEWAY_RETRY_CONFIG, D as DEFAULT_GATEWAY_ROUTING, b as DEFAULT_LAYER_RESOURCES, c as DEFAULT_LAYER_STREAMS, f as GatewayRequestHeaders, g as GatewayRetryConfig, G as GatewayRoutingConfig, L as LayerConfig, a as LayerFullConfig, d as LayerGatewayConfig, e as LayerResourceUrls, S as ServiceLayer } from './layer-
|
|
36
|
+
export { C as CircuitBreakerConfig, h as DEFAULT_CIRCUIT_BREAKER_CONFIG, i as DEFAULT_GATEWAY_RETRY_CONFIG, D as DEFAULT_GATEWAY_ROUTING, b as DEFAULT_LAYER_RESOURCES, c as DEFAULT_LAYER_STREAMS, f as GatewayRequestHeaders, g as GatewayRetryConfig, G as GatewayRoutingConfig, L as LayerConfig, a as LayerFullConfig, d as LayerGatewayConfig, e as LayerResourceUrls, S as ServiceLayer } from './layer-CUu_cZ7d.js';
|
|
37
37
|
import 'graphql-request';
|
|
38
38
|
import '@envelop/core';
|
|
39
39
|
import '@clickhouse/client';
|
|
40
|
-
import './graph-emitter-
|
|
40
|
+
import './graph-emitter-r5TylDBm.js';
|
|
41
41
|
import './client-CSjIrYKS.js';
|
|
42
42
|
import '@prisma/adapter-pg';
|
|
43
43
|
import 'pg';
|
|
@@ -538,9 +538,9 @@ declare function createTenantBackendClient(config: TenantBackendClientConfig): T
|
|
|
538
538
|
declare class BurdenoffSDK {
|
|
539
539
|
private client;
|
|
540
540
|
private defaultContext;
|
|
541
|
-
private
|
|
542
|
-
private
|
|
543
|
-
private
|
|
541
|
+
private eventPublisher;
|
|
542
|
+
private eventPublisherInitPromise;
|
|
543
|
+
private eventQueueConfig;
|
|
544
544
|
private initializationPromise;
|
|
545
545
|
private isShuttingDown;
|
|
546
546
|
readonly auth: AuthModule;
|
|
@@ -569,10 +569,10 @@ declare class BurdenoffSDK {
|
|
|
569
569
|
getContext(): SDKContext | undefined;
|
|
570
570
|
withContext<T>(context: SDKContext, fn: () => Promise<T>): Promise<T>;
|
|
571
571
|
private initializeAsync;
|
|
572
|
-
private
|
|
573
|
-
|
|
572
|
+
private initializeEventQueue;
|
|
573
|
+
getEventPublisher(): Promise<IEventPublisher>;
|
|
574
574
|
waitForReady(): Promise<void>;
|
|
575
|
-
|
|
575
|
+
isEventQueueHealthy(): Promise<EventQueueHealthStatus>;
|
|
576
576
|
isTemporalHealthy(): Promise<TemporalHealthStatus>;
|
|
577
577
|
getHealthStatus(): Promise<SDKHealthStatus>;
|
|
578
578
|
shutdown(options?: SDKShutdownOptions): Promise<void>;
|
|
@@ -581,4 +581,4 @@ declare class BurdenoffSDK {
|
|
|
581
581
|
|
|
582
582
|
declare function createSDK(config: SDKConfig, context?: SDKContext): BurdenoffSDK;
|
|
583
583
|
|
|
584
|
-
export { ActivityModule, AuthModule, BootstrapModule, BurdenoffGraphQLClient, BurdenoffSDK, ContextManager, DatabaseModule, EventsModule, type ExportProductTranslationsOptions, GraphModule,
|
|
584
|
+
export { ActivityModule, AuthModule, BootstrapModule, BurdenoffGraphQLClient, BurdenoffSDK, ContextManager, DatabaseModule, EventQueueHealthStatus, EventsModule, type ExportProductTranslationsOptions, GraphModule, NotificationsModule, PaymentsModule, type ProductTranslationTree, type ProductTranslationsExportResult, RBACModule, SDKConfig, SDKContext, SDKHealthStatus, SDKShutdownOptions, SearchModule, TemporalHealthStatus, TemporalModule, TenantBackendClient, type TenantBackendClientConfig, TrackerModule, type TranslationExportFormat, TranslationModule, type UpsertProductTranslationsOptions, type UpsertProductTranslationsResult, UsageModule, createBootstrap, createSDK, createTenantBackendClient, BurdenoffSDK as default };
|