@burdenoff/be-sdk 2026.1002.2 → 2026.1005.1
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/EventQueueFactory-XRAIXICA.js +7 -0
- package/dist/{EventQueueFactory-J2XXPYXH.js.map → EventQueueFactory-XRAIXICA.js.map} +1 -1
- package/dist/auth/index.d.ts +3 -3
- package/dist/cache/index.d.ts +1 -1
- package/dist/cache/index.js +1 -1
- package/dist/{chunk-QJN4K7LD.js → chunk-3AEU6G6V.js} +3 -3
- package/dist/{chunk-QJN4K7LD.js.map → chunk-3AEU6G6V.js.map} +1 -1
- package/dist/{chunk-G6XPO5D7.js → chunk-7WLOO2VU.js} +4 -4
- package/dist/{chunk-G6XPO5D7.js.map → chunk-7WLOO2VU.js.map} +1 -1
- package/dist/{chunk-Z32KFAPT.js → chunk-AHEXIONU.js} +4 -4
- package/dist/chunk-AHEXIONU.js.map +1 -0
- package/dist/{chunk-LNFGZMDB.js → chunk-CVMQRWCB.js} +3 -3
- package/dist/{chunk-LNFGZMDB.js.map → chunk-CVMQRWCB.js.map} +1 -1
- package/dist/{chunk-CPLFP5JK.js → chunk-E5DTAGCA.js} +2 -2
- package/dist/chunk-E5DTAGCA.js.map +1 -0
- package/dist/{chunk-FYH5IAPR.js → chunk-JRMQ2B3B.js} +4 -4
- package/dist/{chunk-FYH5IAPR.js.map → chunk-JRMQ2B3B.js.map} +1 -1
- package/dist/{chunk-AIBMTE56.js → chunk-KXY4RSYI.js} +2 -2
- package/dist/{chunk-AIBMTE56.js.map → chunk-KXY4RSYI.js.map} +1 -1
- package/dist/{chunk-TYLVMGOP.js → chunk-L22J3BYR.js} +3 -3
- package/dist/{chunk-TYLVMGOP.js.map → chunk-L22J3BYR.js.map} +1 -1
- package/dist/{chunk-UFXHLQ2T.js → chunk-MLBNB5DB.js} +104 -44
- package/dist/chunk-MLBNB5DB.js.map +1 -0
- package/dist/{chunk-AFLPUWVI.js → chunk-PVNNVIIA.js} +40 -12
- package/dist/chunk-PVNNVIIA.js.map +1 -0
- package/dist/{chunk-VKYGGS2F.js → chunk-RFXAHMY4.js} +3 -3
- package/dist/{chunk-VKYGGS2F.js.map → chunk-RFXAHMY4.js.map} +1 -1
- package/dist/{chunk-XCQN6GH7.js → chunk-VVBA3LQV.js} +3 -3
- package/dist/{chunk-XCQN6GH7.js.map → chunk-VVBA3LQV.js.map} +1 -1
- package/dist/event-queue/index.d.ts +3 -3
- package/dist/event-queue/index.js +3 -3
- package/dist/export/index.js +3 -3
- package/dist/feature-flags/index.d.ts +2 -2
- package/dist/gateway/index.js +2 -2
- package/dist/gateway/security/index.js +1 -1
- package/dist/graph/index.d.ts +3 -3
- package/dist/graph/index.js +4 -4
- package/dist/{graphql-Dxxpbzr3.d.ts → graphql-AaLJfGzz.d.ts} +1 -1
- package/dist/{index-hWpL68Vx.d.ts → index-BKafOO7G.d.ts} +1 -1
- package/dist/{index-MsCFY9Ht.d.ts → index-BSlifT21.d.ts} +3 -3
- package/dist/{index-B8viwwDM.d.ts → index-CfRZtB99.d.ts} +1 -1
- package/dist/{index-CQGCVFmI.d.ts → index-CpXKka7c.d.ts} +5 -2
- package/dist/{index-BCelo6F3.d.ts → index-Cx5I3ydM.d.ts} +1 -0
- package/dist/{index-Cpr38QiE.d.ts → index-DMlr5R6K.d.ts} +2 -2
- package/dist/{index-By4Rxoj1.d.ts → index-Drvw0QPe.d.ts} +1 -1
- package/dist/{index-BLWIKXin.d.ts → index-Dvv6irk0.d.ts} +1 -1
- package/dist/{index-CUeQCuE5.d.ts → index-_dsCeVat.d.ts} +2 -2
- package/dist/index.d.ts +16 -16
- package/dist/index.js +15 -15
- package/dist/init/index.js +3 -3
- package/dist/instrumentation/index.d.ts +3 -3
- package/dist/instrumentation/index.js +1 -1
- package/dist/logger/index.d.ts +2 -2
- package/dist/notifications/index.d.ts +3 -3
- package/dist/prisma/index.js +3 -3
- package/dist/rbac/index.d.ts +2 -2
- package/dist/resource-caps/index.d.ts +2 -2
- package/dist/server/index.d.ts +2 -2
- package/dist/server/index.js +74 -1
- package/dist/server/index.js.map +1 -1
- package/dist/telemetry/index.d.ts +4 -4
- package/dist/telemetry/index.js +2 -2
- package/dist/tracker/index.d.ts +4 -4
- package/dist/{types-BAHkj1GE.d.ts → types-Biv0uaJk.d.ts} +17 -1
- package/dist/validation/index.js +1 -1
- package/package.json +47 -39
- package/dist/EventQueueFactory-J2XXPYXH.js +0 -7
- package/dist/chunk-AFLPUWVI.js.map +0 -1
- package/dist/chunk-CPLFP5JK.js.map +0 -1
- package/dist/chunk-UFXHLQ2T.js.map +0 -1
- package/dist/chunk-Z32KFAPT.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { A as AcknowledgeableEvent, B as BaseQueueConfig, a as BulkEventPayload, C as ConsumerConfig, b as ConsumerOptions, c as EventHandler, d as EventMessage, e as EventMetadata, f as EventPriority, g as EventQueueFactory, h as EventQueueHealthCheckResult, E as EventsModule, j as GraphQLEventMessage, h as HealthCheckResult, k as IEventConsumer, I as IEventPublisher, l as IEventQueue, m as ISubscription, M as MemoryEventBus, n as MemoryEventConsumer, o as MemoryEventPublisher, p as MemoryEventQueue, q as ModuleEventPayload, r as ModuleEventsConfig, s as ModuleEventsService, P as PublishEventOptions, t as PublishOptions, u as PublishResult, v as PublisherConfig, Q as QueueStatistics, w as QueueType, R as RedisStreamsConnection, x as RedisStreamsEventConsumer, y as RedisStreamsEventPublisher, S as StreamConfig, z as StreamInfo, D as SubscribeOptions, F as SubscriptionOptions, G as createConsumer, H as createMemoryConsumer, J as createMemoryGraphEventEmitter, K as createMemoryPublisher, L as createModuleEventsService, N as createPublisher, O as redisDlqKey, T as redisStreamKey } from '../index-
|
|
1
|
+
export { A as AcknowledgeableEvent, B as BaseQueueConfig, a as BulkEventPayload, C as ConsumerConfig, b as ConsumerOptions, c as EventHandler, d as EventMessage, e as EventMetadata, f as EventPriority, g as EventQueueFactory, h as EventQueueHealthCheckResult, E as EventsModule, j as GraphQLEventMessage, h as HealthCheckResult, k as IEventConsumer, I as IEventPublisher, l as IEventQueue, m as ISubscription, M as MemoryEventBus, n as MemoryEventConsumer, o as MemoryEventPublisher, p as MemoryEventQueue, q as ModuleEventPayload, r as ModuleEventsConfig, s as ModuleEventsService, P as PublishEventOptions, t as PublishOptions, u as PublishResult, v as PublisherConfig, Q as QueueStatistics, w as QueueType, R as RedisStreamsConnection, x as RedisStreamsEventConsumer, y as RedisStreamsEventPublisher, S as StreamConfig, z as StreamInfo, D as SubscribeOptions, F as SubscriptionOptions, G as createConsumer, H as createMemoryConsumer, J as createMemoryGraphEventEmitter, K as createMemoryPublisher, L as createModuleEventsService, N as createPublisher, O as redisDlqKey, T as redisStreamKey } from '../index-CpXKka7c.js';
|
|
2
2
|
export { E as EntityEventRbacMetadata, a as EntityEventType, b as GraphEventEmitter, G as GraphEventEmitterImpl, c as createGraphEventEmitter, g as getGraphEventEmitter, r as resetGraphEventEmitter } from '../graph-emitter-r5TylDBm.js';
|
|
3
3
|
import '../layer-GNAVXBMf.js';
|
|
4
4
|
import '../shutdown-registry-CW9LryO8.js';
|
|
5
|
-
import '../graphql-
|
|
5
|
+
import '../graphql-AaLJfGzz.js';
|
|
6
6
|
import 'graphql-request';
|
|
7
|
-
import '../index-
|
|
7
|
+
import '../index-CfRZtB99.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { EventPriority, EventsModule, ModuleEventsService, createConsumer, createModuleEventsService, createPublisher } from '../chunk-
|
|
2
|
-
export { GraphEventEmitterImpl, MemoryEventBus, MemoryEventConsumer, MemoryEventPublisher, MemoryEventQueue, createGraphEventEmitter2 as createGraphEventEmitter, createMemoryConsumer, createGraphEventEmitter as createMemoryGraphEventEmitter, createMemoryPublisher, getGraphEventEmitter, resetGraphEventEmitter } from '../chunk-
|
|
3
|
-
export { EventQueueFactory, QueueType, RedisStreamsEventConsumer, RedisStreamsEventPublisher } from '../chunk-
|
|
1
|
+
export { EventPriority, EventsModule, ModuleEventsService, createConsumer, createModuleEventsService, createPublisher } from '../chunk-JRMQ2B3B.js';
|
|
2
|
+
export { GraphEventEmitterImpl, MemoryEventBus, MemoryEventConsumer, MemoryEventPublisher, MemoryEventQueue, createGraphEventEmitter2 as createGraphEventEmitter, createMemoryConsumer, createGraphEventEmitter as createMemoryGraphEventEmitter, createMemoryPublisher, getGraphEventEmitter, resetGraphEventEmitter } from '../chunk-3AEU6G6V.js';
|
|
3
|
+
export { EventQueueFactory, QueueType, RedisStreamsEventConsumer, RedisStreamsEventPublisher } from '../chunk-MLBNB5DB.js';
|
|
4
4
|
export { RedisStreamsConnection, dlqKey as redisDlqKey, streamKey as redisStreamKey } from '../chunk-LKCBI6B2.js';
|
|
5
5
|
import '../chunk-KO2ZXZ7W.js';
|
|
6
6
|
import '../chunk-RU266375.js';
|
package/dist/export/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { BaseModuleExporter, PaginationService, convertToCSV, csvToJSON, estimateCSVSize, getCSVHeaders, parseCSV, triggerExportJob } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { BaseModuleExporter, PaginationService, convertToCSV, csvToJSON, estimateCSVSize, getCSVHeaders, parseCSV, triggerExportJob } from '../chunk-RFXAHMY4.js';
|
|
2
|
+
import '../chunk-L22J3BYR.js';
|
|
3
|
+
import '../chunk-KXY4RSYI.js';
|
|
4
4
|
import '../chunk-FZRODKIN.js';
|
|
5
5
|
import '../chunk-5NT2OEDQ.js';
|
|
6
6
|
import '../chunk-VFCMR5GX.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { E as EvaluationContext, F as FeatureFlagProvider, a as FeatureFlagProviderConfig, b as FlagEvaluation, c as FlagType, G as GatedOperationType, O as OperationsFlagGatePluginOptions, R as ResolutionDetails, d as createOperationsFlagGatePlugin } from '../index-
|
|
2
|
-
import '../types-
|
|
1
|
+
export { E as EvaluationContext, F as FeatureFlagProvider, a as FeatureFlagProviderConfig, b as FlagEvaluation, c as FlagType, G as GatedOperationType, O as OperationsFlagGatePluginOptions, R as ResolutionDetails, d as createOperationsFlagGatePlugin } from '../index-Drvw0QPe.js';
|
|
2
|
+
import '../types-Biv0uaJk.js';
|
|
3
3
|
import 'graphql';
|
|
4
4
|
import 'graphql-yoga';
|
|
5
5
|
import '../client-CCXpAZ2r.js';
|
package/dist/gateway/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { CircuitState, GatewayClient, GatewayError, GatewayErrorType, createGatewayClient, createGatewayClientFromEnv } from '../chunk-
|
|
2
|
-
export { security_exports as Security } from '../chunk-
|
|
1
|
+
export { CircuitState, GatewayClient, GatewayError, GatewayErrorType, createGatewayClient, createGatewayClientFromEnv } from '../chunk-L22J3BYR.js';
|
|
2
|
+
export { security_exports as Security } from '../chunk-KXY4RSYI.js';
|
|
3
3
|
import '../chunk-FZRODKIN.js';
|
|
4
4
|
import '../chunk-5NT2OEDQ.js';
|
|
5
5
|
export { signServiceJwt } from '../chunk-VFCMR5GX.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { DEFAULT_ARMOR_CONFIG, DEFAULT_COST_MAP, DEFAULT_TIERS, MemoryValkey, __resetMetricsForTest, __setSecurityValkeyForTest, buildSecurityPlugins, checkRateLimit, createArmorPlugins, createOperationTimeoutPlugin, createOtelPlugin, createQueryComplexityPlugin, createRateLimitPlugin, getMetrics, getSecurityValkey, initializeMetrics, initializeOtel, initializeSecurityValkey, mergeCostMap, resolveActor, resolveSecurityOptionsFromEnv, resolveTiersFromEnv, scrapeMetrics, shutdownOtel } from '../../chunk-
|
|
1
|
+
export { DEFAULT_ARMOR_CONFIG, DEFAULT_COST_MAP, DEFAULT_TIERS, MemoryValkey, __resetMetricsForTest, __setSecurityValkeyForTest, buildSecurityPlugins, checkRateLimit, createArmorPlugins, createOperationTimeoutPlugin, createOtelPlugin, createQueryComplexityPlugin, createRateLimitPlugin, getMetrics, getSecurityValkey, initializeMetrics, initializeOtel, initializeSecurityValkey, mergeCostMap, resolveActor, resolveSecurityOptionsFromEnv, resolveTiersFromEnv, scrapeMetrics, shutdownOtel } from '../../chunk-KXY4RSYI.js';
|
|
2
2
|
import '../../chunk-FZRODKIN.js';
|
|
3
3
|
import '../../chunk-RU266375.js';
|
|
4
4
|
import '../../chunk-XE4OXN2W.js';
|
package/dist/graph/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import '../graphql-
|
|
2
|
-
import '../index-
|
|
3
|
-
export { A as AUDIT_FIELDS, C as CreateEdgeOptions, a as CreateNodeOptions, D as DefineEntityConfigOptions, b as DefineGraphConfigOptions, c as DefineRelationshipConfigOptions, E as EdgeDocument, d as EntityDefinition, e as EntityEventContext, f as EntityEventData, g as EntityEventHook, h as EntityFetcher, j as EntityGraphConfig, k as EntityRbacConfig, l as EntityVertex, m as ExtractedEntityData, n as ExtractedRelationshipData, F as FieldMapper, o as GenericEntityConfig, p as GenericEntityRbacConfig, q as GenericGraphConfig, r as GenericRelationshipConfig, s as GraphEdge, t as GraphEntityConfig, u as GraphEntityExport, v as GraphEvent, w as GraphEventOptions, x as GraphEventPublishOptions, y as GraphEventType, z as GraphEventsHelper, B as GraphEventsHelperConfig, H as GraphEventsPublisher, I as GraphExportResponse, J as GraphExportService, K as GraphExportServiceConfig, G as GraphModule, L as GraphNode, M as GraphRegistry, N as GraphRelationshipData, O as GraphRelationshipExport, P as GraphSchema, Q as GraphValidationError, R as GraphValidationResult, S as InitializeGraphOptions, T as ModuleGraph, U as ModuleGraphConfig, V as ModuleGraphDefinition, W as PrismaGraphIntegration, X as PrismaGraphIntegrationOptions, Y as ProductFacet, Z as QueryGraphOptions, _ as RelationshipDefinition, $ as RelationshipEventData, a0 as RelationshipExportData, a1 as RelationshipFetcher, a2 as RelationshipGraphConfig, a3 as SOFT_DELETE_FIELDS, a4 as STANDARD_FIELDS, a5 as SearchFacets, a6 as SearchFilters, a7 as SearchResponse, a8 as SearchResult, a9 as TENANT_FIELDS, aa as TraverseDirection, ab as TraverseOptions, ac as TraverseResult, ad as TypeFacet, ae as ValidationErrorType, af as createEntityEvent, ag as createGraphEventsHelper, ah as createGraphExportService, ai as createPrismaGraphIntegration, aj as createRelationshipEvent, ak as createRelationshipFromEntity, al as defineEntity, am as defineGraphConfig, an as defineModuleGraph, ao as defineRelationship, ap as extractEntityTitle, aq as extractMinimalFields, ar as getCollectionForEntity, as as getGraphEventsPublisher, at as getGraphStats, au as initializeGraph, av as isGraphInitialized, aw as parseRelationship, ax as shouldSyncEntity, ay as shouldSyncRelationship } from '../index-
|
|
1
|
+
import '../graphql-AaLJfGzz.js';
|
|
2
|
+
import '../index-CfRZtB99.js';
|
|
3
|
+
export { A as AUDIT_FIELDS, C as CreateEdgeOptions, a as CreateNodeOptions, D as DefineEntityConfigOptions, b as DefineGraphConfigOptions, c as DefineRelationshipConfigOptions, E as EdgeDocument, d as EntityDefinition, e as EntityEventContext, f as EntityEventData, g as EntityEventHook, h as EntityFetcher, j as EntityGraphConfig, k as EntityRbacConfig, l as EntityVertex, m as ExtractedEntityData, n as ExtractedRelationshipData, F as FieldMapper, o as GenericEntityConfig, p as GenericEntityRbacConfig, q as GenericGraphConfig, r as GenericRelationshipConfig, s as GraphEdge, t as GraphEntityConfig, u as GraphEntityExport, v as GraphEvent, w as GraphEventOptions, x as GraphEventPublishOptions, y as GraphEventType, z as GraphEventsHelper, B as GraphEventsHelperConfig, H as GraphEventsPublisher, I as GraphExportResponse, J as GraphExportService, K as GraphExportServiceConfig, G as GraphModule, L as GraphNode, M as GraphRegistry, N as GraphRelationshipData, O as GraphRelationshipExport, P as GraphSchema, Q as GraphValidationError, R as GraphValidationResult, S as InitializeGraphOptions, T as ModuleGraph, U as ModuleGraphConfig, V as ModuleGraphDefinition, W as PrismaGraphIntegration, X as PrismaGraphIntegrationOptions, Y as ProductFacet, Z as QueryGraphOptions, _ as RelationshipDefinition, $ as RelationshipEventData, a0 as RelationshipExportData, a1 as RelationshipFetcher, a2 as RelationshipGraphConfig, a3 as SOFT_DELETE_FIELDS, a4 as STANDARD_FIELDS, a5 as SearchFacets, a6 as SearchFilters, a7 as SearchResponse, a8 as SearchResult, a9 as TENANT_FIELDS, aa as TraverseDirection, ab as TraverseOptions, ac as TraverseResult, ad as TypeFacet, ae as ValidationErrorType, af as createEntityEvent, ag as createGraphEventsHelper, ah as createGraphExportService, ai as createPrismaGraphIntegration, aj as createRelationshipEvent, ak as createRelationshipFromEntity, al as defineEntity, am as defineGraphConfig, an as defineModuleGraph, ao as defineRelationship, ap as extractEntityTitle, aq as extractMinimalFields, ar as getCollectionForEntity, as as getGraphEventsPublisher, at as getGraphStats, au as initializeGraph, av as isGraphInitialized, aw as parseRelationship, ax as shouldSyncEntity, ay as shouldSyncRelationship } from '../index-_dsCeVat.js';
|
|
4
4
|
export { E as EntityEventType, G as GraphEventEmitter, a as GraphMiddlewareConfig, b as addGraphExtension } from '../prisma-extension-krXnYnrN.js';
|
|
5
5
|
import 'graphql-request';
|
|
6
6
|
import '../layer-GNAVXBMf.js';
|
package/dist/graph/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { AUDIT_FIELDS, GraphEventsPublisher, GraphExportService, GraphModule, SOFT_DELETE_FIELDS, STANDARD_FIELDS, TENANT_FIELDS, createGraphEventsHelper, createGraphExportService, createPrismaGraphIntegration, createRelationshipFromEntity, defineEntity, defineGraphConfig, defineModuleGraph, defineRelationship, getGraphEventsPublisher, getGraphStats, initializeGraph, isGraphInitialized } from '../chunk-
|
|
1
|
+
export { AUDIT_FIELDS, GraphEventsPublisher, GraphExportService, GraphModule, SOFT_DELETE_FIELDS, STANDARD_FIELDS, TENANT_FIELDS, createGraphEventsHelper, createGraphExportService, createPrismaGraphIntegration, createRelationshipFromEntity, defineEntity, defineGraphConfig, defineModuleGraph, defineRelationship, getGraphEventsPublisher, getGraphStats, initializeGraph, isGraphInitialized } from '../chunk-VVBA3LQV.js';
|
|
2
2
|
export { GraphRegistry, addGraphExtension, createEntityEvent, createRelationshipEvent, extractEntityTitle, extractMinimalFields, getCollectionForEntity, parseRelationship, shouldSyncEntity, shouldSyncRelationship } from '../chunk-L5TDUAFN.js';
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-JRMQ2B3B.js';
|
|
4
|
+
import '../chunk-3AEU6G6V.js';
|
|
5
|
+
import '../chunk-MLBNB5DB.js';
|
|
6
6
|
import '../chunk-LKCBI6B2.js';
|
|
7
7
|
import '../chunk-KO2ZXZ7W.js';
|
|
8
8
|
import '../chunk-QGBXVNRM.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as BurdenoffGraphQLClient } from './graphql-
|
|
2
|
-
import {
|
|
3
|
-
import { N as NotificationType } from './index-
|
|
1
|
+
import { B as BurdenoffGraphQLClient } from './graphql-AaLJfGzz.js';
|
|
2
|
+
import { a as SDKContext } from './index-CfRZtB99.js';
|
|
3
|
+
import { N as NotificationType } from './index-DMlr5R6K.js';
|
|
4
4
|
|
|
5
5
|
declare enum ActivityType {
|
|
6
6
|
CREATE = "create",
|
|
@@ -74,4 +74,4 @@ interface SDKShutdownOptions {
|
|
|
74
74
|
force?: boolean;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
export type { EventQueueHealthStatus as E, LoggerConfig as L,
|
|
77
|
+
export type { EventQueueHealthStatus as E, LoggerConfig as L, SDKConfig as S, TemporalHealthStatus as T, SDKContext as a, SDKHealthStatus as b, SDKShutdownOptions as c, EventQueueSDKConfig as d, LoggerTransport as e };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { S as ServiceLayer } from './layer-GNAVXBMf.js';
|
|
2
2
|
import { S as ShutdownDisposable } from './shutdown-registry-CW9LryO8.js';
|
|
3
3
|
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';
|
|
4
|
-
import { B as BurdenoffGraphQLClient } from './graphql-
|
|
5
|
-
import {
|
|
4
|
+
import { B as BurdenoffGraphQLClient } from './graphql-AaLJfGzz.js';
|
|
5
|
+
import { a as SDKContext } from './index-CfRZtB99.js';
|
|
6
6
|
|
|
7
7
|
interface EventMessage$1<T = unknown> {
|
|
8
8
|
id: string;
|
|
@@ -324,6 +324,8 @@ declare class RedisStreamsEventConsumer implements IEventConsumer, ShutdownDispo
|
|
|
324
324
|
private stopped;
|
|
325
325
|
private sweepTimer;
|
|
326
326
|
private delayqTimer;
|
|
327
|
+
private readonly settlements;
|
|
328
|
+
private retainedSerializedFieldsBytes;
|
|
327
329
|
private knownStreams;
|
|
328
330
|
constructor(config: RedisStreamsConsumerConfig);
|
|
329
331
|
dispose(): Promise<void>;
|
|
@@ -354,6 +356,7 @@ declare class RedisStreamsEventConsumer implements IEventConsumer, ShutdownDispo
|
|
|
354
356
|
private spawnLoop;
|
|
355
357
|
private parseEntry;
|
|
356
358
|
private toAcknowledgeable;
|
|
359
|
+
private settlement;
|
|
357
360
|
private sweepPending;
|
|
358
361
|
private drainDelayQueues;
|
|
359
362
|
}
|
|
@@ -211,6 +211,7 @@ declare class ValkeyGlideProvider implements ICacheProvider, ShutdownDisposable
|
|
|
211
211
|
healthCheck(): Promise<CacheHealthCheckResult>;
|
|
212
212
|
getStatistics(): Promise<CacheStatistics>;
|
|
213
213
|
private buildKey;
|
|
214
|
+
private buildPattern;
|
|
214
215
|
get<T>(key: string, _options?: CacheOptions): Promise<T | null>;
|
|
215
216
|
set<T>(key: string, value: T, options?: CacheOptions): Promise<boolean>;
|
|
216
217
|
delete(key: string): Promise<boolean>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BurdenoffGraphQLClient } from './graphql-
|
|
2
|
-
import {
|
|
1
|
+
import { B as BurdenoffGraphQLClient } from './graphql-AaLJfGzz.js';
|
|
2
|
+
import { a as SDKContext } from './index-CfRZtB99.js';
|
|
3
3
|
|
|
4
4
|
declare enum NotificationChannel$1 {
|
|
5
5
|
EMAIL = "EMAIL",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BurdenoffGraphQLClient } from './graphql-
|
|
2
|
-
import {
|
|
1
|
+
import { B as BurdenoffGraphQLClient } from './graphql-AaLJfGzz.js';
|
|
2
|
+
import { a as SDKContext } from './index-CfRZtB99.js';
|
|
3
3
|
import { P as PrismaClientBase } from './client-CCXpAZ2r.js';
|
|
4
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';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { d as EventQueueSDKConfig, L as LoggerConfig, e as LoggerTransport } from './index-
|
|
3
|
-
import { L as Logger } from './index-
|
|
4
|
-
export { i as Logger } from './index-
|
|
1
|
+
import { a as SDKContext, S as SDKConfig, E as EventQueueHealthStatus, T as TemporalHealthStatus, b as SDKHealthStatus, c as SDKShutdownOptions } from './index-CfRZtB99.js';
|
|
2
|
+
export { d as EventQueueSDKConfig, L as LoggerConfig, e as LoggerTransport } from './index-CfRZtB99.js';
|
|
3
|
+
import { L as Logger } from './index-BKafOO7G.js';
|
|
4
|
+
export { i as Logger } from './index-BKafOO7G.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-DMlr5R6K.js';
|
|
7
|
+
export { t as Notifications } from './index-DMlr5R6K.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-BSlifT21.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-CpXKka7c.js';
|
|
13
|
+
export { i as EventQueue } from './index-CpXKka7c.js';
|
|
14
|
+
import { G as GraphModule } from './index-_dsCeVat.js';
|
|
15
|
+
export { i as Graph } from './index-_dsCeVat.js';
|
|
16
|
+
import { B as BurdenoffGraphQLClient } from './graphql-AaLJfGzz.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
20
|
export { i as Lifecycle } from './index-CoMKgL-p.js';
|
|
21
21
|
export { BillingPlanTransport, PlanTier, RESOURCE_CAP_DEFAULTS, ResourceCap, ResourceCapDefaults, ResourceCapExceededError, ResourceCapsConfig, ResourceCapsModule, ResourceName, WorkspaceResourceCapScope, configureResourceCaps, getResourceCaps } from './resource-caps/index.js';
|
|
22
22
|
export { i as Sharing } from './index-kssw5ziY.js';
|
|
23
|
-
export { i as Cache } from './index-
|
|
23
|
+
export { i as Cache } from './index-Cx5I3ydM.js';
|
|
24
24
|
export { i as Middleware } from './index-DSOpj8DI.js';
|
|
25
25
|
export { i as Observability } from './index-4gKQKZ2B.js';
|
|
26
26
|
export { i as GraphQL } from './index-joONjwLt.js';
|
|
@@ -30,18 +30,18 @@ export { i as I18n, I as I18nCapableContext, T as Translator, c as createTransla
|
|
|
30
30
|
export { i as Export } from './index-B4ciT3OZ.js';
|
|
31
31
|
export { i as Init } from './index-B0ebYV9W.js';
|
|
32
32
|
export { i as DataLoader } from './index-DW9q22GH.js';
|
|
33
|
-
export { i as Instrumentation } from './index-
|
|
33
|
+
export { i as Instrumentation } from './index-Dvv6irk0.js';
|
|
34
34
|
export { i as Layer } from './index-BCUkR8sC.js';
|
|
35
35
|
export { i as Crypto } from './index-e_18DzAg.js';
|
|
36
36
|
export { i as Gateway } from './index-Dy6neH2G.js';
|
|
37
|
-
export { i as FeatureFlags } from './index-
|
|
37
|
+
export { i as FeatureFlags } from './index-Drvw0QPe.js';
|
|
38
38
|
export { i as Captcha, R as RecaptchaVerifyOptions, a as RecaptchaVerifyResult, b as isCaptchaEnabled, v as verifyCaptcha, c as verifyCaptchaIfEnabled } from './index-B70b5mYS.js';
|
|
39
39
|
export { i as Platform } from './index-PJZzGd8r.js';
|
|
40
40
|
export { N as NAME_MAX_LENGTH, a as NAME_MIN_LENGTH, b as NameErrorCode, c as NameValidationResult, U as USERNAME_MAX_LENGTH, d as USERNAME_MIN_LENGTH, e as UserFieldError, f as UserFieldKey, g as UserFieldsValidationResult, h as UsernameErrorCode, i as UsernameValidationResult, V as ValidatedUserFields, j as Validation, l as lengthInCodePoints, v as validateName, k as validateUserFields, m as validateUsername } from './index-B2jIInhp.js';
|
|
41
41
|
export { E as EmitGeneration, P as PRODUCT_RENAMES, a as PRODUCT_RENAME_EMIT, b as PRODUCT_SLUG_ALIASES, i as ProductAlias, c as ProductRename, R as RENAME_CONCERNS, d as RenameConcern, e as billingIdVariants, f as emitBillingId, g as emitName, h as emitProductSlug, j as emitQuotaKey, k as emitRbacResource, l as emitTemplateKey, m as isLegacyName, n as isSameBillingId, o as isSameGraphQLName, p as isSameName, q as isSameProductSlug, r as isSameQuotaKey, s as isSameRbacResource, t as isSameTemplateKey, u as nameVariants, v as normalizeBillingId, w as normalizeGraphQLName, x as normalizeProductSlug, y as normalizeQuotaKey, z as normalizeRbacResource, A as normalizeTemplateKey, B as productSlugVariants, C as quotaKeyVariants, D as rbacResourceVariants, F as readRenamedEnv, G as templateKeyVariants, H as toCurrentName, I as toLegacyName } from './index-BuAj5nXg.js';
|
|
42
42
|
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-GNAVXBMf.js';
|
|
43
43
|
export { S as ShutdownDisposable, d as disposeAll, g as getRegisteredDisposableCount, r as registerDisposable, u as unregisterDisposable } from './shutdown-registry-CW9LryO8.js';
|
|
44
|
-
import './types-
|
|
44
|
+
import './types-Biv0uaJk.js';
|
|
45
45
|
import 'graphql';
|
|
46
46
|
import 'graphql-yoga';
|
|
47
47
|
import './client-CCXpAZ2r.js';
|
package/dist/index.js
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
export { TemporalClient, TemporalClientFactory, TemporalModule, TemporalWorker, TemporalWorkerFactory, TemporalWorkerManager } from './chunk-YNDJQRI3.js';
|
|
2
2
|
import { ActivityModule, UsageModule, TrackerModule } from './chunk-NCC5UN3L.js';
|
|
3
3
|
export { ActivityModule, TrackerModule, UsageModule } from './chunk-NCC5UN3L.js';
|
|
4
|
-
export { NAME_MAX_LENGTH, NAME_MIN_LENGTH, USERNAME_MAX_LENGTH, USERNAME_MIN_LENGTH, validation_exports as Validation, lengthInCodePoints, validateName, validateUserFields, validateUsername } from './chunk-
|
|
4
|
+
export { NAME_MAX_LENGTH, NAME_MIN_LENGTH, USERNAME_MAX_LENGTH, USERNAME_MIN_LENGTH, validation_exports as Validation, lengthInCodePoints, validateName, validateUserFields, validateUsername } from './chunk-AHEXIONU.js';
|
|
5
5
|
export { platform_exports as Platform } from './chunk-Z5BURBFZ.js';
|
|
6
|
-
export { prisma_exports as Prisma } from './chunk-
|
|
6
|
+
export { prisma_exports as Prisma } from './chunk-CVMQRWCB.js';
|
|
7
7
|
export { PRODUCT_RENAMES, PRODUCT_RENAME_EMIT, PRODUCT_SLUG_ALIASES, product_alias_exports as ProductAlias, RENAME_CONCERNS, billingIdVariants, emitBillingId, emitName, emitProductSlug, emitQuotaKey, emitRbacResource, emitTemplateKey, isLegacyName, isSameBillingId, isSameGraphQLName, isSameName, isSameProductSlug, isSameQuotaKey, isSameRbacResource, isSameTemplateKey, nameVariants, normalizeBillingId, normalizeGraphQLName, normalizeProductSlug, normalizeQuotaKey, normalizeRbacResource, normalizeTemplateKey, productSlugVariants, quotaKeyVariants, rbacResourceVariants, readRenamedEnv, templateKeyVariants, toCurrentName, toLegacyName } from './chunk-OBBCR6WY.js';
|
|
8
8
|
import { RBACModule } from './chunk-5JNHVKHG.js';
|
|
9
9
|
export { RBACModule, createRBACDirective, createRBACDirectiveForLayer, createRBACDirectiveFromEnv } from './chunk-5JNHVKHG.js';
|
|
10
10
|
import './chunk-FA5ROGTS.js';
|
|
11
11
|
export { sharing_exports as Sharing } from './chunk-DS3YMJ4X.js';
|
|
12
|
-
export { instrumentation_exports as Instrumentation } from './chunk-
|
|
12
|
+
export { instrumentation_exports as Instrumentation } from './chunk-E5DTAGCA.js';
|
|
13
13
|
export { middleware_exports as Middleware } from './chunk-ELU7VL3E.js';
|
|
14
14
|
import { TenantNotificationsModule, NotificationsModule } from './chunk-INAZ3PKF.js';
|
|
15
15
|
export { tenant_notifications_exports as Notifications, NotificationsModule } from './chunk-INAZ3PKF.js';
|
|
16
16
|
export { observability_exports as Observability } from './chunk-VAT66FJA.js';
|
|
17
|
-
export { export_exports as Export } from './chunk-
|
|
17
|
+
export { export_exports as Export } from './chunk-RFXAHMY4.js';
|
|
18
18
|
export { feature_flags_exports as FeatureFlags } from './chunk-UNASM5VJ.js';
|
|
19
|
-
import { GraphModule } from './chunk-
|
|
20
|
-
export { graph_exports as Graph, GraphModule } from './chunk-
|
|
19
|
+
import { GraphModule } from './chunk-VVBA3LQV.js';
|
|
20
|
+
export { graph_exports as Graph, GraphModule } from './chunk-VVBA3LQV.js';
|
|
21
21
|
import './chunk-L5TDUAFN.js';
|
|
22
|
-
import { EventsModule } from './chunk-
|
|
23
|
-
export { event_queue_exports as EventQueue, EventsModule } from './chunk-
|
|
24
|
-
import './chunk-
|
|
25
|
-
import { QueueType, EventQueueFactory } from './chunk-
|
|
22
|
+
import { EventsModule } from './chunk-JRMQ2B3B.js';
|
|
23
|
+
export { event_queue_exports as EventQueue, EventsModule } from './chunk-JRMQ2B3B.js';
|
|
24
|
+
import './chunk-3AEU6G6V.js';
|
|
25
|
+
import { QueueType, EventQueueFactory } from './chunk-MLBNB5DB.js';
|
|
26
26
|
export { graphql_exports as GraphQL } from './chunk-KMNSVLDS.js';
|
|
27
27
|
import './chunk-MWPYA2HD.js';
|
|
28
28
|
import './chunk-LKCBI6B2.js';
|
|
29
29
|
export { i18n_exports as I18n, createTranslator, getLanguage, getLocale, hasI18n, t } from './chunk-EBDHIL7V.js';
|
|
30
|
-
export { init_exports as Init } from './chunk-
|
|
30
|
+
export { init_exports as Init } from './chunk-7WLOO2VU.js';
|
|
31
31
|
export { RESOURCE_CAP_DEFAULTS, ResourceCapExceededError, ResourceCapsModule, configureResourceCaps, getResourceCaps } from './chunk-MZCBEJ67.js';
|
|
32
32
|
import './chunk-AWPNRV3L.js';
|
|
33
|
-
import { GatewayClient, GatewayError, GatewayErrorType } from './chunk-
|
|
34
|
-
export { gateway_exports as Gateway } from './chunk-
|
|
35
|
-
import './chunk-
|
|
33
|
+
import { GatewayClient, GatewayError, GatewayErrorType } from './chunk-L22J3BYR.js';
|
|
34
|
+
export { gateway_exports as Gateway } from './chunk-L22J3BYR.js';
|
|
35
|
+
import './chunk-KXY4RSYI.js';
|
|
36
36
|
import './chunk-FZRODKIN.js';
|
|
37
37
|
export { layer_exports as Layer } from './chunk-5NT2OEDQ.js';
|
|
38
38
|
import './chunk-VFCMR5GX.js';
|
|
@@ -41,7 +41,7 @@ export { ContextManager } from './chunk-RZOFS2BQ.js';
|
|
|
41
41
|
import { AuthModule } from './chunk-GJWQK3IU.js';
|
|
42
42
|
export { AuthModule } from './chunk-GJWQK3IU.js';
|
|
43
43
|
export { utils_exports as Utils } from './chunk-B7I4TABG.js';
|
|
44
|
-
export { cache_exports as Cache } from './chunk-
|
|
44
|
+
export { cache_exports as Cache } from './chunk-PVNNVIIA.js';
|
|
45
45
|
import { disposeAll } from './chunk-KO2ZXZ7W.js';
|
|
46
46
|
export { lifecycle_exports as Lifecycle, disposeAll, getRegisteredDisposableCount, registerDisposable, unregisterDisposable } from './chunk-KO2ZXZ7W.js';
|
|
47
47
|
import './chunk-A5F6Z5UE.js';
|
package/dist/init/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { getSDKState, initializeBurdenoffSDK, isSDKInitialized, resetSDK } from '../chunk-
|
|
1
|
+
export { getSDKState, initializeBurdenoffSDK, isSDKInitialized, resetSDK } from '../chunk-7WLOO2VU.js';
|
|
2
2
|
import '../chunk-MZCBEJ67.js';
|
|
3
3
|
import '../chunk-AWPNRV3L.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-L22J3BYR.js';
|
|
5
|
+
import '../chunk-KXY4RSYI.js';
|
|
6
6
|
import '../chunk-FZRODKIN.js';
|
|
7
7
|
import '../chunk-5NT2OEDQ.js';
|
|
8
8
|
import '../chunk-VFCMR5GX.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as ApolloInlineTraceOptions, C as CacheInstrumentationConfig, b as Counter, D as DEFAULT_CACHE_CONFIG, c as DEFAULT_DATABASE_CONFIG, d as DEFAULT_EVENT_QUEUE_CONFIG, e as DEFAULT_FEATURE_FLAGS, f as DEFAULT_GRAPHQL_CONFIG, g as DEFAULT_HTTP_CONFIG, h as DEFAULT_LOGGING_CONFIG, j as DEFAULT_METRICS_CONFIG, k as DEFAULT_TRACING_CONFIG, l as DatabaseInstrumentationConfig, E as ENV_VARS, m as EventQueueInstrumentationConfig, G as Gauge, n as GraphQLInstrumentationConfig, o as GraphQLOperationInfo, p as GraphQLOperationType, H as HTTPInstrumentationConfig, q as Histogram, r as InitializeInstrumentationOptions, t as Instrument, u as InstrumentationConfig, v as InstrumentationContextExtension, w as InstrumentationFeatureFlags, I as InstrumentationSetupResult, L as Log, x as LoggingConfig, M as Metric, y as MetricDefinition, z as MetricLabels, B as MetricsConfig, F as MetricsRegistry, O as OperationContext, P as PrometheusPluginOptions, J as STANDARD_METRICS, S as SetupInstrumentationOptions, K as Span, N as SpanAttributes, Q as SpanContext, R as SpanEvent, T as SpanKind, U as SpanStatus, V as Trace, W as TraceContext, X as Tracer, Y as TracingConfig, Z as UpDownCounter, _ as buildDatabaseConfig, $ as buildFeatureFlags, a0 as buildGraphQLConfig, a1 as buildInstrumentationConfig, a2 as buildMetricsConfig, a3 as buildTracingConfig, a4 as createApolloInlineTracePlugin, a5 as createCounter, a6 as createGauge, a7 as createGraphQLInstrumentationPlugin, a8 as createHistogram, a9 as createPrometheusPlugin, aa as createUpDownCounter, ab as extractOperationInfo, ac as extractTraceContext, ad as getGraphQLOperationFromContext, ae as getGraphQLSpanFromContext, af as getInstrumentationConfig, ag as getLogger, ah as getMetricsRegistry, ai as getTraceContext, aj as getTracer, a as initializeInstrumentation, ak as initializeInstrumentationConfig, al as initializeMetricsRegistry, am as initializeTracer, an as injectTraceContext, ao as instrumentResolver, ap as instrumentResolverMap, aq as instrumented, ar as isApolloInlineTraceAvailable, as as isFeatureEnabled, at as isInstrumentationConfigInitialized, au as isInstrumentationInitialized, av as isMetricsRegistryInitialized, aw as isPrometheusAvailable, ax as isTracerInitialized, ay as resetInstrumentation, az as resetInstrumentationConfig, aA as resetMetricsRegistry, s as setupInstrumentation, aB as startSpan, aC as traced, aD as updateInstrumentationConfig, aE as withSpan } from '../index-
|
|
2
|
-
export { l as logger } from '../index-
|
|
3
|
-
import '../index-
|
|
1
|
+
export { A as ApolloInlineTraceOptions, C as CacheInstrumentationConfig, b as Counter, D as DEFAULT_CACHE_CONFIG, c as DEFAULT_DATABASE_CONFIG, d as DEFAULT_EVENT_QUEUE_CONFIG, e as DEFAULT_FEATURE_FLAGS, f as DEFAULT_GRAPHQL_CONFIG, g as DEFAULT_HTTP_CONFIG, h as DEFAULT_LOGGING_CONFIG, j as DEFAULT_METRICS_CONFIG, k as DEFAULT_TRACING_CONFIG, l as DatabaseInstrumentationConfig, E as ENV_VARS, m as EventQueueInstrumentationConfig, G as Gauge, n as GraphQLInstrumentationConfig, o as GraphQLOperationInfo, p as GraphQLOperationType, H as HTTPInstrumentationConfig, q as Histogram, r as InitializeInstrumentationOptions, t as Instrument, u as InstrumentationConfig, v as InstrumentationContextExtension, w as InstrumentationFeatureFlags, I as InstrumentationSetupResult, L as Log, x as LoggingConfig, M as Metric, y as MetricDefinition, z as MetricLabels, B as MetricsConfig, F as MetricsRegistry, O as OperationContext, P as PrometheusPluginOptions, J as STANDARD_METRICS, S as SetupInstrumentationOptions, K as Span, N as SpanAttributes, Q as SpanContext, R as SpanEvent, T as SpanKind, U as SpanStatus, V as Trace, W as TraceContext, X as Tracer, Y as TracingConfig, Z as UpDownCounter, _ as buildDatabaseConfig, $ as buildFeatureFlags, a0 as buildGraphQLConfig, a1 as buildInstrumentationConfig, a2 as buildMetricsConfig, a3 as buildTracingConfig, a4 as createApolloInlineTracePlugin, a5 as createCounter, a6 as createGauge, a7 as createGraphQLInstrumentationPlugin, a8 as createHistogram, a9 as createPrometheusPlugin, aa as createUpDownCounter, ab as extractOperationInfo, ac as extractTraceContext, ad as getGraphQLOperationFromContext, ae as getGraphQLSpanFromContext, af as getInstrumentationConfig, ag as getLogger, ah as getMetricsRegistry, ai as getTraceContext, aj as getTracer, a as initializeInstrumentation, ak as initializeInstrumentationConfig, al as initializeMetricsRegistry, am as initializeTracer, an as injectTraceContext, ao as instrumentResolver, ap as instrumentResolverMap, aq as instrumented, ar as isApolloInlineTraceAvailable, as as isFeatureEnabled, at as isInstrumentationConfigInitialized, au as isInstrumentationInitialized, av as isMetricsRegistryInitialized, aw as isPrometheusAvailable, ax as isTracerInitialized, ay as resetInstrumentation, az as resetInstrumentationConfig, aA as resetMetricsRegistry, s as setupInstrumentation, aB as startSpan, aC as traced, aD as updateInstrumentationConfig, aE as withSpan } from '../index-Dvv6irk0.js';
|
|
2
|
+
export { l as logger } from '../index-BKafOO7G.js';
|
|
3
|
+
import '../index-CfRZtB99.js';
|
|
4
4
|
import '../layer-GNAVXBMf.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Instrument, Log, Metric, STANDARD_METRICS, SpanKind, SpanStatus, Trace, Tracer, createApolloInlineTracePlugin, createGraphQLInstrumentationPlugin, createPrometheusPlugin, extractOperationInfo, extractTraceContext, getGraphQLOperationFromContext, getGraphQLSpanFromContext, getLogger, getTraceContext, getTracer, initializeInstrumentation, initializeTracer, injectTraceContext, instrumentResolver, instrumentResolverMap, instrumented, isApolloInlineTraceAvailable, isInstrumentationInitialized, isPrometheusAvailable, isTracerInitialized, resetInstrumentation, setupInstrumentation, startSpan, traced, withSpan } from '../chunk-
|
|
1
|
+
export { Instrument, Log, Metric, STANDARD_METRICS, SpanKind, SpanStatus, Trace, Tracer, createApolloInlineTracePlugin, createGraphQLInstrumentationPlugin, createPrometheusPlugin, extractOperationInfo, extractTraceContext, getGraphQLOperationFromContext, getGraphQLSpanFromContext, getLogger, getTraceContext, getTracer, initializeInstrumentation, initializeTracer, injectTraceContext, instrumentResolver, instrumentResolverMap, instrumented, isApolloInlineTraceAvailable, isInstrumentationInitialized, isPrometheusAvailable, isTracerInitialized, resetInstrumentation, setupInstrumentation, startSpan, traced, withSpan } from '../chunk-E5DTAGCA.js';
|
|
2
2
|
export { DEFAULT_CACHE_CONFIG, DEFAULT_DATABASE_CONFIG, DEFAULT_EVENT_QUEUE_CONFIG, DEFAULT_FEATURE_FLAGS, DEFAULT_GRAPHQL_CONFIG, DEFAULT_HTTP_CONFIG, DEFAULT_LOGGING_CONFIG, DEFAULT_METRICS_CONFIG, DEFAULT_TRACING_CONFIG, ENV_VARS, MetricsRegistry, buildDatabaseConfig, buildFeatureFlags, buildGraphQLConfig, buildInstrumentationConfig, buildMetricsConfig, buildTracingConfig, createCounter, createGauge, createHistogram, createUpDownCounter, getInstrumentationConfig, getMetricsRegistry, initializeInstrumentationConfig, initializeMetricsRegistry, isFeatureEnabled, isInstrumentationConfigInitialized, isMetricsRegistryInitialized, resetInstrumentationConfig, resetMetricsRegistry, updateInstrumentationConfig } from '../chunk-AWPNRV3L.js';
|
|
3
3
|
export { logger } from '../chunk-RU266375.js';
|
|
4
4
|
import '../chunk-XE4OXN2W.js';
|
package/dist/logger/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import '../index-
|
|
2
|
-
export { a as LogLevel, b as LogMeta, L as Logger, c as LoggerConfig, d as LoggerTransport, e as debug, f as error, g as log, l as logger, r as redactSensitiveFields, h as redactSensitiveString, w as warn } from '../index-
|
|
1
|
+
import '../index-CfRZtB99.js';
|
|
2
|
+
export { a as LogLevel, b as LogMeta, L as Logger, c as LoggerConfig, d as LoggerTransport, e as debug, f as error, g as log, l as logger, r as redactSensitiveFields, h as redactSensitiveString, w as warn } from '../index-BKafOO7G.js';
|
|
3
3
|
import '../layer-GNAVXBMf.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import '../graphql-
|
|
2
|
-
import '../index-
|
|
3
|
-
export { G as GetNotificationsOptions, b as Notification, c as NotificationChannel, d as NotificationPriority, e as NotificationResponse, N as NotificationType, a as NotificationsModule, R as RecipientInput, S as SendChannelNotificationOptions, f as SendNotificationOptions, g as SendTemplateNotificationOptions, T as TenantNotificationsModule } from '../index-
|
|
1
|
+
import '../graphql-AaLJfGzz.js';
|
|
2
|
+
import '../index-CfRZtB99.js';
|
|
3
|
+
export { G as GetNotificationsOptions, b as Notification, c as NotificationChannel, d as NotificationPriority, e as NotificationResponse, N as NotificationType, a as NotificationsModule, R as RecipientInput, S as SendChannelNotificationOptions, f as SendNotificationOptions, g as SendTemplateNotificationOptions, T as TenantNotificationsModule } from '../index-DMlr5R6K.js';
|
|
4
4
|
import 'graphql-request';
|
|
5
5
|
import '../layer-GNAVXBMf.js';
|
package/dist/prisma/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { buildContextWhereClause, buildContextWhereConditions, checkDatabaseHealth, contextMatches, createContextFromSDK, createDatabaseClient, createDatabaseClientFromEnv, extractFieldsFromModel, getAllModelNames, getDatabaseManager, getDatabaseProductName, getDatabaseStats, getDatabaseVersion, getDb, getModelFields, hasModel, initializeDatabase, initializeDatabaseWithConfig, isDatabaseInitialized, loadGeneratedFields, mergeContext, parseContext, resetDatabaseManager, resolvePoolTuningFromEnv, testConnection, toContextJson } from '../chunk-
|
|
1
|
+
export { buildContextWhereClause, buildContextWhereConditions, checkDatabaseHealth, contextMatches, createContextFromSDK, createDatabaseClient, createDatabaseClientFromEnv, extractFieldsFromModel, getAllModelNames, getDatabaseManager, getDatabaseProductName, getDatabaseStats, getDatabaseVersion, getDb, getModelFields, hasModel, initializeDatabase, initializeDatabaseWithConfig, isDatabaseInitialized, loadGeneratedFields, mergeContext, parseContext, resetDatabaseManager, resolvePoolTuningFromEnv, testConnection, toContextJson } from '../chunk-CVMQRWCB.js';
|
|
2
2
|
import '../chunk-OBBCR6WY.js';
|
|
3
3
|
export { addWorkspaceExtension, defaultWorkspaceExtensionConfig, getWorkspaceContext, injectCreateFields, injectWhereWorkspaceId, maybeSetRlsGuc, maybeTagConnection, runOperationWithRlsGuc, setWorkspaceContext, withWorkspaceContext, withWorkspaceContextSync } from '../chunk-FA5ROGTS.js';
|
|
4
4
|
export { PrismaClientWrapper, configurePrismaLogging, createConnectionPool, createPrismaAdapter, createPrismaClient, ensureServiceApplicationName, installAcquireRetry, isTransientAcquireError } from '../chunk-L5TDUAFN.js';
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-3AEU6G6V.js';
|
|
6
|
+
import '../chunk-MLBNB5DB.js';
|
|
7
7
|
import '../chunk-LKCBI6B2.js';
|
|
8
8
|
import '../chunk-KO2ZXZ7W.js';
|
|
9
9
|
import '../chunk-RU266375.js';
|
package/dist/rbac/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BurdenoffGraphQLClient } from '../graphql-
|
|
2
|
-
import {
|
|
1
|
+
import { B as BurdenoffGraphQLClient } from '../graphql-AaLJfGzz.js';
|
|
2
|
+
import { a as SDKContext } from '../index-CfRZtB99.js';
|
|
3
3
|
import { Plugin } from '@envelop/core';
|
|
4
4
|
import { S as ServiceLayer } from '../layer-GNAVXBMf.js';
|
|
5
5
|
import 'graphql-request';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GraphQLError } from 'graphql';
|
|
2
|
-
import { B as BurdenoffGraphQLClient } from '../graphql-
|
|
2
|
+
import { B as BurdenoffGraphQLClient } from '../graphql-AaLJfGzz.js';
|
|
3
3
|
import 'graphql-request';
|
|
4
|
-
import '../index-
|
|
4
|
+
import '../index-CfRZtB99.js';
|
|
5
5
|
import '../layer-GNAVXBMf.js';
|
|
6
6
|
|
|
7
7
|
type ResourceName = 'workspace' | 'workspaceMember' | 'sandbox' | 'vibe' | 'agent' | 'conversation' | 'message' | 'tag' | 'file' | 'group' | 'calendar' | 'scheduledTask' | 'form' | 'apiKey' | 'webhook';
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { W as WorkspaceSecret, I as IActor, J as JWTPayload, S as ServerDefinition, a as ServerInstance, b as ITenant, G as GraphQLContext, Y as YogaPlugin } from '../types-
|
|
2
|
-
export { C as ConsentContext, E as ElysiaApp, c as IContextFilterInput, d as IOperationContext, e as IOrganization, f as IProduct, g as IProject, h as ITracking, i as IWorkspace, M as ModuleGraphConfig, P as PrismaClientConstructor, R as RESTEndpoint, j as ServerConfig, k as ServerI18nConfig, l as ServerInfo, m as WspaceGraphQLContext } from '../types-
|
|
1
|
+
import { W as WorkspaceSecret, I as IActor, J as JWTPayload, S as ServerDefinition, a as ServerInstance, b as ITenant, G as GraphQLContext, Y as YogaPlugin } from '../types-Biv0uaJk.js';
|
|
2
|
+
export { A as ActorProvenance, C as ConsentContext, E as ElysiaApp, c as IContextFilterInput, d as IOperationContext, e as IOrganization, f as IProduct, g as IProject, h as ITracking, i as IWorkspace, M as ModuleGraphConfig, P as PrismaClientConstructor, R as RESTEndpoint, j as ServerConfig, k as ServerI18nConfig, l as ServerInfo, V as VerifiedDelegationContext, m as WspaceGraphQLContext } from '../types-Biv0uaJk.js';
|
|
3
3
|
import * as jose from 'jose';
|
|
4
4
|
import { VerifyOptions } from 'jsonwebtoken';
|
|
5
5
|
import { I as I18n } from '../i18n-DrdPTann.js';
|
package/dist/server/index.js
CHANGED
|
@@ -123,7 +123,7 @@ __name(verifyJWT, "verifyJWT");
|
|
|
123
123
|
async function decodeJWT(token) {
|
|
124
124
|
try {
|
|
125
125
|
const joseLib = await getJose();
|
|
126
|
-
return
|
|
126
|
+
return joseLib.decodeJwt(token);
|
|
127
127
|
} catch {
|
|
128
128
|
return null;
|
|
129
129
|
}
|
|
@@ -184,6 +184,70 @@ function tenantCheck(context) {
|
|
|
184
184
|
return context.tenant.id;
|
|
185
185
|
}
|
|
186
186
|
__name(tenantCheck, "tenantCheck");
|
|
187
|
+
|
|
188
|
+
// src/server/verified-delegation.ts
|
|
189
|
+
function object(value) {
|
|
190
|
+
return value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
|
|
191
|
+
}
|
|
192
|
+
__name(object, "object");
|
|
193
|
+
function identifier(value) {
|
|
194
|
+
return typeof value === "string" && value["length"] > 0 && value["length"] <= 200 && value["trim"]() === value && Array.from(value).every((character) => character.charCodeAt(0) >= 32 && character.charCodeAt(0) !== 127);
|
|
195
|
+
}
|
|
196
|
+
__name(identifier, "identifier");
|
|
197
|
+
function list(value) {
|
|
198
|
+
return Array.isArray(value) && value["length"] <= 1e3 && value["every"](identifier);
|
|
199
|
+
}
|
|
200
|
+
__name(list, "list");
|
|
201
|
+
function instant(value) {
|
|
202
|
+
if (typeof value !== "string") return null;
|
|
203
|
+
const time = Date.parse(value);
|
|
204
|
+
return Number.isFinite(time) && new Date(time).toISOString() === value ? new Date(time) : null;
|
|
205
|
+
}
|
|
206
|
+
__name(instant, "instant");
|
|
207
|
+
function decodeVerifiedDelegation(header, actor, workspaceId, trustedGateway, now = Date.now()) {
|
|
208
|
+
if (!trustedGateway || !actor || actor.provenance !== "delegated" || ![
|
|
209
|
+
"user",
|
|
210
|
+
"super_admin"
|
|
211
|
+
].includes(actor.type) || header === void 0) return void 0;
|
|
212
|
+
const invalid = /* @__PURE__ */ __name(() => new Error("Invalid verified delegation context"), "invalid");
|
|
213
|
+
let raw;
|
|
214
|
+
try {
|
|
215
|
+
raw = JSON.parse(header);
|
|
216
|
+
} catch {
|
|
217
|
+
throw invalid();
|
|
218
|
+
}
|
|
219
|
+
const value = object(raw);
|
|
220
|
+
const tokenExpiresAt = instant(value?.["tokenExpiresAt"]);
|
|
221
|
+
if (!value || !identifier(value["representedUserId"]) || value["representedUserId"] !== actor.id || !identifier(value["originatingAppId"]) || !identifier(value["delegationId"]) || !list(value["scopes"]) || !list(value["allowedWorkspaceIds"]) || !tokenExpiresAt || tokenExpiresAt.getTime() <= now || workspaceId && value["allowedWorkspaceIds"].length > 0 && !value["allowedWorkspaceIds"].includes(workspaceId)) throw invalid();
|
|
222
|
+
let consent = null;
|
|
223
|
+
if (value["consent"] !== null) {
|
|
224
|
+
const facts = object(value["consent"]);
|
|
225
|
+
const grantedAt = instant(facts?.["grantedAt"]);
|
|
226
|
+
const expiresAt = facts?.["expiresAt"] === null ? null : instant(facts?.["expiresAt"]);
|
|
227
|
+
if (!facts || !identifier(facts["grantedBy"]) || !grantedAt || grantedAt.getTime() > now || facts["expiresAt"] !== null && (!expiresAt || expiresAt.getTime() <= grantedAt.getTime() || tokenExpiresAt.getTime() > expiresAt.getTime())) throw invalid();
|
|
228
|
+
consent = {
|
|
229
|
+
grantedBy: facts["grantedBy"],
|
|
230
|
+
grantedAt,
|
|
231
|
+
expiresAt
|
|
232
|
+
};
|
|
233
|
+
}
|
|
234
|
+
return {
|
|
235
|
+
representedUserId: value["representedUserId"],
|
|
236
|
+
originatingAppId: value["originatingAppId"],
|
|
237
|
+
delegationId: value["delegationId"],
|
|
238
|
+
scopes: [
|
|
239
|
+
...value["scopes"]
|
|
240
|
+
],
|
|
241
|
+
allowedWorkspaceIds: [
|
|
242
|
+
...value["allowedWorkspaceIds"]
|
|
243
|
+
],
|
|
244
|
+
tokenExpiresAt,
|
|
245
|
+
consent
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
__name(decodeVerifiedDelegation, "decodeVerifiedDelegation");
|
|
249
|
+
|
|
250
|
+
// src/server/context.ts
|
|
187
251
|
var contextOptions = null;
|
|
188
252
|
function configureContext(options) {
|
|
189
253
|
contextOptions = options;
|
|
@@ -227,6 +291,11 @@ function extractTracking(request) {
|
|
|
227
291
|
};
|
|
228
292
|
}
|
|
229
293
|
__name(extractTracking, "extractTracking");
|
|
294
|
+
function actorProvenance(request) {
|
|
295
|
+
const value = getHeader(request, "x-verified-actor-provenance");
|
|
296
|
+
return value === "direct_human" || value === "delegated" || value === "non_human" ? value : "unknown";
|
|
297
|
+
}
|
|
298
|
+
__name(actorProvenance, "actorProvenance");
|
|
230
299
|
async function extractActor(request) {
|
|
231
300
|
const actorId = getHeader(request, "x-actor-id");
|
|
232
301
|
if (actorId && shouldTrustActorHeaders(request)) {
|
|
@@ -236,6 +305,7 @@ async function extractActor(request) {
|
|
|
236
305
|
return {
|
|
237
306
|
id: actorId,
|
|
238
307
|
type: actorType,
|
|
308
|
+
provenance: actorProvenance(request),
|
|
239
309
|
workspace_id: getHeader(request, "x-workspace-id"),
|
|
240
310
|
tenant_id: getHeader(request, "x-tenant-id"),
|
|
241
311
|
org_id: getHeader(request, "x-org-id") || getHeader(request, "x-organization-id"),
|
|
@@ -259,6 +329,7 @@ async function extractActor(request) {
|
|
|
259
329
|
return {
|
|
260
330
|
id: payload.id,
|
|
261
331
|
type: "user",
|
|
332
|
+
provenance: "unknown",
|
|
262
333
|
workspace_id: payload.workspace_id
|
|
263
334
|
};
|
|
264
335
|
} catch (error) {
|
|
@@ -363,6 +434,7 @@ async function buildContext(request) {
|
|
|
363
434
|
const product = extractProduct(request);
|
|
364
435
|
const tracking = extractTracking(request);
|
|
365
436
|
const consentContext = extractConsentContext(request);
|
|
437
|
+
const verifiedDelegation = decodeVerifiedDelegation(getHeader(request, "x-verified-delegation"), actor, workspace?.id, shouldTrustActorHeaders(request));
|
|
366
438
|
let i18n;
|
|
367
439
|
if (contextOptions.i18n) {
|
|
368
440
|
i18n = contextOptions.i18n.createContextFromRequest(request);
|
|
@@ -416,6 +488,7 @@ async function buildContext(request) {
|
|
|
416
488
|
product,
|
|
417
489
|
tracking,
|
|
418
490
|
consentContext: consentContext || void 0,
|
|
491
|
+
verifiedDelegation,
|
|
419
492
|
onBehalfOf: onBehalfOf || actor?.id || "",
|
|
420
493
|
db: contextOptions.getDb(),
|
|
421
494
|
i18n,
|