@burdenoff/be-sdk 2026.611.1 → 2026.622.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/auth/index.d.ts +3 -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-BJVXHIUV.js → chunk-3H4TRD6E.js} +12 -49
- package/dist/chunk-3H4TRD6E.js.map +1 -0
- package/dist/{chunk-UFQQSQG6.js → chunk-4OQRBSHM.js} +3 -3
- package/dist/{chunk-UFQQSQG6.js.map → chunk-4OQRBSHM.js.map} +1 -1
- package/dist/{chunk-BNJFEOGH.js → chunk-6NB7P6SR.js} +4 -4
- package/dist/{chunk-BNJFEOGH.js.map → chunk-6NB7P6SR.js.map} +1 -1
- package/dist/chunk-DXX6C6X6.js +210 -0
- package/dist/chunk-DXX6C6X6.js.map +1 -0
- package/dist/{chunk-O6RHB2YP.js → chunk-EZ4PKRUK.js} +2 -2
- package/dist/chunk-EZ4PKRUK.js.map +1 -0
- package/dist/{chunk-5SD7DU3L.js → chunk-IC7YDBGE.js} +3 -3
- package/dist/{chunk-5SD7DU3L.js.map → chunk-IC7YDBGE.js.map} +1 -1
- package/dist/{chunk-RMDKB5O7.js → chunk-IUL5TEKE.js} +3 -3
- package/dist/{chunk-RMDKB5O7.js.map → chunk-IUL5TEKE.js.map} +1 -1
- package/dist/{chunk-4NFZOFRS.js → chunk-L2P4CJUR.js} +2 -2
- package/dist/{chunk-4NFZOFRS.js.map → chunk-L2P4CJUR.js.map} +1 -1
- package/dist/{chunk-KKCC3Z4I.js → chunk-SS4XWRYR.js} +3 -3
- package/dist/{chunk-KKCC3Z4I.js.map → chunk-SS4XWRYR.js.map} +1 -1
- package/dist/{chunk-PPIDJP2W.js → chunk-TYXGWVRL.js} +5 -5
- package/dist/{chunk-PPIDJP2W.js.map → chunk-TYXGWVRL.js.map} +1 -1
- package/dist/{chunk-GSEPF2B6.js → chunk-UIMPJNWC.js} +3 -3
- package/dist/{chunk-GSEPF2B6.js.map → chunk-UIMPJNWC.js.map} +1 -1
- package/dist/{chunk-7NYCLQFJ.js → chunk-UYE4IEPT.js} +3 -3
- package/dist/{chunk-7NYCLQFJ.js.map → chunk-UYE4IEPT.js.map} +1 -1
- package/dist/chunk-VFCMR5GX.js +49 -0
- package/dist/chunk-VFCMR5GX.js.map +1 -0
- package/dist/{chunk-GMFHIFS5.js → chunk-WD2TUTAS.js} +3 -3
- package/dist/{chunk-GMFHIFS5.js.map → chunk-WD2TUTAS.js.map} +1 -1
- package/dist/{chunk-ZRRLY7SM.js → chunk-Y7GCABRS.js} +4 -4
- package/dist/{chunk-ZRRLY7SM.js.map → chunk-Y7GCABRS.js.map} +1 -1
- package/dist/{chunk-VWCN5PMD.js → chunk-YEA4BZOL.js} +14 -5
- package/dist/chunk-YEA4BZOL.js.map +1 -0
- package/dist/{chunk-HP6JTFNR.js → chunk-YFOHAHZE.js} +2 -2
- package/dist/{chunk-HP6JTFNR.js.map → chunk-YFOHAHZE.js.map} +1 -1
- package/dist/{chunk-TIINMQSD.js → chunk-Z2423JIB.js} +3 -3
- package/dist/{chunk-TIINMQSD.js.map → chunk-Z2423JIB.js.map} +1 -1
- package/dist/database/index.js +3 -3
- package/dist/event-queue/index.d.ts +4 -4
- package/dist/export/index.d.ts +2 -2
- package/dist/export/index.js +7 -5
- package/dist/feature-flags/index.d.ts +1 -1
- package/dist/feature-flags/index.js +3 -1
- package/dist/gateway/index.d.ts +2 -2
- package/dist/gateway/index.js +6 -4
- package/dist/gateway/security/index.js +1 -1
- package/dist/graph/index.d.ts +4 -3
- package/dist/graph/index.js +3 -3
- package/dist/{graphql-DH3L5Hj7.d.ts → graphql-BRj5KPOL.d.ts} +3 -2
- package/dist/{index-DohaJRZP.d.ts → index-1qCbBvKE.d.ts} +2 -2
- package/dist/{index-BqSh1K8I.d.ts → index-B0ebYV9W.d.ts} +1 -1
- package/dist/{index-C7T0Xx19.d.ts → index-B3ECnOLp.d.ts} +3 -3
- package/dist/{index-Dg4kH1VJ.d.ts → index-B4ciT3OZ.d.ts} +1 -1
- package/dist/{index-BVjR9llq.d.ts → index-BCUkR8sC.d.ts} +1 -1
- package/dist/{index-fhOvuvlv.d.ts → index-BIhZJ1w7.d.ts} +1 -1
- package/dist/{index-Cz9_vPi7.d.ts → index-BN_-AWdb.d.ts} +2 -2
- package/dist/{index-jOuh_TKn.d.ts → index-BdPnlJ8_.d.ts} +2 -0
- package/dist/{index-KA3gg4es.d.ts → index-Bm6MYdqS.d.ts} +6 -3
- package/dist/{index-DLyc5o_K.d.ts → index-CNy4MwKc.d.ts} +1 -1
- package/dist/{index-Caqvetqq.d.ts → index-DDCOGyYh.d.ts} +6 -0
- package/dist/{index-DBF8VqIf.d.ts → index-DkObbJD_.d.ts} +1 -1
- package/dist/{index-BZPEyVOl.d.ts → index-DsBZRR82.d.ts} +3 -3
- package/dist/index.d.ts +24 -20
- package/dist/index.js +125 -170
- package/dist/index.js.map +1 -1
- package/dist/init/index.d.ts +2 -2
- package/dist/init/index.js +7 -5
- package/dist/instrumentation/index.d.ts +4 -3
- package/dist/layer/index.d.ts +2 -2
- package/dist/layer/index.js +2 -2
- package/dist/{layer-CUu_cZ7d.d.ts → layer-GNAVXBMf.d.ts} +2 -0
- package/dist/logger/index.d.ts +3 -2
- package/dist/notifications/index.d.ts +4 -3
- package/dist/notifications/index.js +3 -3
- package/dist/rbac/index.d.ts +3 -3
- package/dist/rbac/index.js +3 -3
- package/dist/resource-caps/index.d.ts +3 -2
- package/dist/server/index.js +2 -0
- package/dist/server/index.js.map +1 -1
- package/dist/telemetry/index.d.ts +5 -4
- package/dist/temporal/index.d.ts +1 -1
- package/dist/temporal/index.js +2 -2
- package/dist/tracker/index.d.ts +5 -4
- package/dist/tracker/index.js +5 -5
- package/package.json +1 -1
- package/dist/chunk-BJVXHIUV.js.map +0 -1
- package/dist/chunk-O6RHB2YP.js.map +0 -1
- package/dist/chunk-VWCN5PMD.js.map +0 -1
package/dist/database/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { DatabaseModule, closeClickHouseConnection, createTable, executeQuery, getClickHouseClient, getClickHouseStats, insertData, testClickHouseConnection } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { DatabaseModule, closeClickHouseConnection, createTable, executeQuery, getClickHouseClient, getClickHouseStats, insertData, testClickHouseConnection } from '../chunk-4OQRBSHM.js';
|
|
2
|
+
import '../chunk-EZ4PKRUK.js';
|
|
3
|
+
import '../chunk-YFOHAHZE.js';
|
|
4
4
|
import '../chunk-CBZNP6RF.js';
|
|
5
5
|
import '../chunk-XE4OXN2W.js';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
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-B3ECnOLp.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
|
-
import '../layer-
|
|
4
|
-
import '../graphql-
|
|
3
|
+
import '../layer-GNAVXBMf.js';
|
|
4
|
+
import '../graphql-BRj5KPOL.js';
|
|
5
5
|
import 'graphql-request';
|
|
6
|
-
import '../index-
|
|
6
|
+
import '../index-DDCOGyYh.js';
|
package/dist/export/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { B as BaseModuleExporter, C as CSVConversionOptions, E as ExportActorType, a as ExportConfig, b as ExportFetchOptions, c as ExportFetchResult, d as ExportFormat, e as ExportFormatEnum, f as ExportFormatGql, g as ExportJob, h as ExportJobResult, j as ExportJobStatus, k as ExportOptions, l as ExportProgress, m as ExportResult, n as ExportableModule, P as PaginateQueryFn, o as PaginateResult, p as PaginatedQueryOptions, q as PaginatedResult, r as PaginationParams, s as PaginationService, T as TriggerExportJobParams, t as convertToCSV, u as csvToJSON, v as estimateCSVSize, w as getCSVHeaders, x as parseCSV, y as triggerExportJob } from '../index-
|
|
2
|
-
import '../layer-
|
|
1
|
+
export { B as BaseModuleExporter, C as CSVConversionOptions, E as ExportActorType, a as ExportConfig, b as ExportFetchOptions, c as ExportFetchResult, d as ExportFormat, e as ExportFormatEnum, f as ExportFormatGql, g as ExportJob, h as ExportJobResult, j as ExportJobStatus, k as ExportOptions, l as ExportProgress, m as ExportResult, n as ExportableModule, P as PaginateQueryFn, o as PaginateResult, p as PaginatedQueryOptions, q as PaginatedResult, r as PaginationParams, s as PaginationService, T as TriggerExportJobParams, t as convertToCSV, u as csvToJSON, v as estimateCSVSize, w as getCSVHeaders, x as parseCSV, y as triggerExportJob } from '../index-B4ciT3OZ.js';
|
|
2
|
+
import '../layer-GNAVXBMf.js';
|
package/dist/export/index.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
export { BaseModuleExporter, PaginationService, convertToCSV, csvToJSON, estimateCSVSize, getCSVHeaders, parseCSV, triggerExportJob } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
1
|
+
export { BaseModuleExporter, PaginationService, convertToCSV, csvToJSON, estimateCSVSize, getCSVHeaders, parseCSV, triggerExportJob } from '../chunk-WD2TUTAS.js';
|
|
2
|
+
import '../chunk-3H4TRD6E.js';
|
|
3
|
+
import '../chunk-L2P4CJUR.js';
|
|
4
|
+
import '../chunk-UIMPJNWC.js';
|
|
5
|
+
import '../chunk-VFCMR5GX.js';
|
|
6
|
+
import '../chunk-DXX6C6X6.js';
|
|
7
|
+
import '../chunk-YFOHAHZE.js';
|
|
6
8
|
import '../chunk-CBZNP6RF.js';
|
|
7
9
|
import '../chunk-XE4OXN2W.js';
|
|
8
10
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { E as EvaluationContext, F as FeatureFlagProvider, a as FeatureFlagProviderConfig, b as FlagEvaluation, c as FlagType, R as ResolutionDetails } from '../index-
|
|
1
|
+
export { E as EvaluationContext, F as FeatureFlagProvider, a as FeatureFlagProviderConfig, b as FlagEvaluation, c as FlagType, R as ResolutionDetails } from '../index-BdPnlJ8_.js';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
export { FeatureFlagProvider } from '../chunk-
|
|
1
|
+
export { FeatureFlagProvider } from '../chunk-YEA4BZOL.js';
|
|
2
|
+
import '../chunk-VFCMR5GX.js';
|
|
3
|
+
import '../chunk-DXX6C6X6.js';
|
|
2
4
|
import '../chunk-XE4OXN2W.js';
|
|
3
5
|
//# sourceMappingURL=index.js.map
|
|
4
6
|
//# sourceMappingURL=index.js.map
|
package/dist/gateway/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as CircuitBreakerStats, a as CircuitState, G as GatewayClient, b as GatewayClientConfig, c as GatewayClientHealth, d as GatewayError, e as GatewayErrorType, f as GraphQLError, g as GraphQLRequestOptions, h as GraphQLResponse, I as ICircuitBreaker, j as IGatewayClient, R as RequestContext, k as createGatewayClient, l as createGatewayClientFromEnv } from '../index-
|
|
1
|
+
export { C as CircuitBreakerStats, a as CircuitState, G as GatewayClient, b as GatewayClientConfig, c as GatewayClientHealth, d as GatewayError, e as GatewayErrorType, f as GraphQLError, g as GraphQLRequestOptions, h as GraphQLResponse, I as ICircuitBreaker, j as IGatewayClient, R as RequestContext, k as createGatewayClient, l as createGatewayClientFromEnv, s as signServiceJwt } from '../index-Bm6MYdqS.js';
|
|
2
2
|
export { i as Security } from '../index-UhkH2eaB.js';
|
|
3
|
-
import '../layer-
|
|
3
|
+
import '../layer-GNAVXBMf.js';
|
|
4
4
|
import 'graphql-yoga';
|
package/dist/gateway/index.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
export { CircuitState, GatewayClient, GatewayError, GatewayErrorType, createGatewayClient, createGatewayClientFromEnv } from '../chunk-
|
|
2
|
-
export { security_exports as Security } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
|
|
1
|
+
export { CircuitState, GatewayClient, GatewayError, GatewayErrorType, createGatewayClient, createGatewayClientFromEnv } from '../chunk-3H4TRD6E.js';
|
|
2
|
+
export { security_exports as Security } from '../chunk-L2P4CJUR.js';
|
|
3
|
+
import '../chunk-UIMPJNWC.js';
|
|
4
|
+
export { signServiceJwt } from '../chunk-VFCMR5GX.js';
|
|
5
|
+
import '../chunk-DXX6C6X6.js';
|
|
6
|
+
import '../chunk-YFOHAHZE.js';
|
|
5
7
|
import '../chunk-CBZNP6RF.js';
|
|
6
8
|
import '../chunk-XE4OXN2W.js';
|
|
7
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -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-L2P4CJUR.js';
|
|
2
2
|
import '../../chunk-CBZNP6RF.js';
|
|
3
3
|
import '../../chunk-XE4OXN2W.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/dist/graph/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
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-BRj5KPOL.js';
|
|
2
|
+
import '../index-DDCOGyYh.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-BN_-AWdb.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
|
+
import '../layer-GNAVXBMf.js';
|
|
6
7
|
import '../client-CSjIrYKS.js';
|
|
7
8
|
import '@prisma/adapter-pg';
|
|
8
9
|
import 'pg';
|
package/dist/graph/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
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-Z2423JIB.js';
|
|
2
2
|
export { GraphRegistry, addGraphExtension, createEntityEvent, createRelationshipEvent, extractEntityTitle, extractMinimalFields, getCollectionForEntity, parseRelationship, shouldSyncEntity, shouldSyncRelationship } from '../chunk-5CESUKWC.js';
|
|
3
3
|
import '../chunk-H3AXO5SY.js';
|
|
4
4
|
import '../chunk-OHEPNJ2X.js';
|
|
5
5
|
import '../chunk-MQCVQCFA.js';
|
|
6
6
|
import '../chunk-MHNA7IS7.js';
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-EZ4PKRUK.js';
|
|
8
|
+
import '../chunk-YFOHAHZE.js';
|
|
9
9
|
import '../chunk-CBZNP6RF.js';
|
|
10
10
|
import '../chunk-XE4OXN2W.js';
|
|
11
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Variables } from 'graphql-request';
|
|
2
|
-
import { a as SDKConfig, S as SDKContext } from './index-
|
|
2
|
+
import { a as SDKConfig, S as SDKContext } from './index-DDCOGyYh.js';
|
|
3
3
|
|
|
4
4
|
declare class BurdenoffGraphQLClient {
|
|
5
5
|
private workspacesClient;
|
|
6
|
-
private
|
|
6
|
+
private tenantGateway?;
|
|
7
7
|
private config;
|
|
8
8
|
private defaultContext;
|
|
9
9
|
constructor(config: SDKConfig, defaultContext?: SDKContext);
|
|
@@ -11,6 +11,7 @@ declare class BurdenoffGraphQLClient {
|
|
|
11
11
|
updateContext(context: Partial<SDKContext>): void;
|
|
12
12
|
query<T>(query: string, variables?: Variables, context?: SDKContext): Promise<T>;
|
|
13
13
|
tenantQuery<T>(query: string, variables?: Variables, context?: SDKContext): Promise<T>;
|
|
14
|
+
private mapTenantError;
|
|
14
15
|
private executeQuery;
|
|
15
16
|
private executeWithRetry;
|
|
16
17
|
private shouldRetry;
|
|
@@ -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-BRj5KPOL.js';
|
|
2
|
+
import { S as SDKContext } from './index-DDCOGyYh.js';
|
|
3
3
|
|
|
4
4
|
declare enum NotificationChannel$1 {
|
|
5
5
|
EMAIL = "EMAIL",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as ServiceLayer } from './layer-
|
|
1
|
+
import { S as ServiceLayer } from './layer-GNAVXBMf.js';
|
|
2
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-
|
|
4
|
-
import { S as SDKContext } from './index-
|
|
3
|
+
import { B as BurdenoffGraphQLClient } from './graphql-BRj5KPOL.js';
|
|
4
|
+
import { S as SDKContext } from './index-DDCOGyYh.js';
|
|
5
5
|
|
|
6
6
|
interface EventMessage$1<T = unknown> {
|
|
7
7
|
id: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { L as LayerConfig, S as ServiceLayer, a as LayerFullConfig, D as DEFAULT_GATEWAY_ROUTING, b as DEFAULT_LAYER_RESOURCES, c as DEFAULT_LAYER_STREAMS, G as GatewayRoutingConfig, d as LayerGatewayConfig, e as LayerResourceUrls } from './layer-
|
|
1
|
+
import { L as LayerConfig, S as ServiceLayer, a as LayerFullConfig, D as DEFAULT_GATEWAY_ROUTING, b as DEFAULT_LAYER_RESOURCES, c as DEFAULT_LAYER_STREAMS, G as GatewayRoutingConfig, d as LayerGatewayConfig, e as LayerResourceUrls } from './layer-GNAVXBMf.js';
|
|
2
2
|
|
|
3
3
|
declare class LayerManager {
|
|
4
4
|
private config;
|
|
@@ -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-BRj5KPOL.js';
|
|
2
|
+
import { S as SDKContext } from './index-DDCOGyYh.js';
|
|
3
3
|
import { P as PrismaClientBase } from './client-CSjIrYKS.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';
|
|
@@ -23,6 +23,7 @@ interface FeatureFlagProviderConfig {
|
|
|
23
23
|
gatewayUrl: string;
|
|
24
24
|
cacheTtlSeconds?: number;
|
|
25
25
|
serviceToken?: string;
|
|
26
|
+
serviceName?: string;
|
|
26
27
|
defaultActorType?: 'user' | 'app' | 'service' | 'super_admin';
|
|
27
28
|
}
|
|
28
29
|
|
|
@@ -30,6 +31,7 @@ declare class FeatureFlagProvider {
|
|
|
30
31
|
private readonly gatewayUrl;
|
|
31
32
|
private readonly cacheTtlMs;
|
|
32
33
|
private readonly serviceToken?;
|
|
34
|
+
private readonly serviceName;
|
|
33
35
|
private readonly defaultActorType;
|
|
34
36
|
private readonly cache;
|
|
35
37
|
constructor(config: FeatureFlagProviderConfig);
|
|
@@ -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-GNAVXBMf.js';
|
|
2
2
|
import { i as index$1 } from './index-UhkH2eaB.js';
|
|
3
3
|
|
|
4
4
|
interface GatewayClientConfig {
|
|
@@ -137,6 +137,8 @@ declare class GatewayClient implements IGatewayClient {
|
|
|
137
137
|
declare function createGatewayClient(config: GatewayClientConfig): GatewayClient;
|
|
138
138
|
declare function createGatewayClientFromEnv(): GatewayClient;
|
|
139
139
|
|
|
140
|
+
declare function signServiceJwt(actorId: string, ttlSeconds?: number): Promise<string | null>;
|
|
141
|
+
|
|
140
142
|
type index_CircuitBreakerStats = CircuitBreakerStats;
|
|
141
143
|
type index_CircuitState = CircuitState;
|
|
142
144
|
declare const index_CircuitState: typeof CircuitState;
|
|
@@ -156,8 +158,9 @@ type index_IGatewayClient = IGatewayClient;
|
|
|
156
158
|
type index_RequestContext = RequestContext;
|
|
157
159
|
declare const index_createGatewayClient: typeof createGatewayClient;
|
|
158
160
|
declare const index_createGatewayClientFromEnv: typeof createGatewayClientFromEnv;
|
|
161
|
+
declare const index_signServiceJwt: typeof signServiceJwt;
|
|
159
162
|
declare namespace index {
|
|
160
|
-
export { type index_CircuitBreakerStats as CircuitBreakerStats, index_CircuitState as CircuitState, index_GatewayClient as GatewayClient, type index_GatewayClientConfig as GatewayClientConfig, type index_GatewayClientHealth as GatewayClientHealth, index_GatewayError as GatewayError, index_GatewayErrorType as GatewayErrorType, type index_GraphQLError as GraphQLError, type index_GraphQLRequestOptions as GraphQLRequestOptions, type index_GraphQLResponse as GraphQLResponse, type index_ICircuitBreaker as ICircuitBreaker, type index_IGatewayClient as IGatewayClient, type index_RequestContext as RequestContext, index$1 as Security, index_createGatewayClient as createGatewayClient, index_createGatewayClientFromEnv as createGatewayClientFromEnv };
|
|
163
|
+
export { type index_CircuitBreakerStats as CircuitBreakerStats, index_CircuitState as CircuitState, index_GatewayClient as GatewayClient, type index_GatewayClientConfig as GatewayClientConfig, type index_GatewayClientHealth as GatewayClientHealth, index_GatewayError as GatewayError, index_GatewayErrorType as GatewayErrorType, type index_GraphQLError as GraphQLError, type index_GraphQLRequestOptions as GraphQLRequestOptions, type index_GraphQLResponse as GraphQLResponse, type index_ICircuitBreaker as ICircuitBreaker, type index_IGatewayClient as IGatewayClient, type index_RequestContext as RequestContext, index$1 as Security, index_createGatewayClient as createGatewayClient, index_createGatewayClientFromEnv as createGatewayClientFromEnv, index_signServiceJwt as signServiceJwt };
|
|
161
164
|
}
|
|
162
165
|
|
|
163
|
-
export { type CircuitBreakerStats as C, GatewayClient as G, type ICircuitBreaker as I, type RequestContext as R, CircuitState as a, type GatewayClientConfig as b, type GatewayClientHealth as c, GatewayError as d, GatewayErrorType as e, type GraphQLError as f, type GraphQLRequestOptions as g, type GraphQLResponse as h, index as i, type IGatewayClient as j, createGatewayClient as k, createGatewayClientFromEnv as l };
|
|
166
|
+
export { type CircuitBreakerStats as C, GatewayClient as G, type ICircuitBreaker as I, type RequestContext as R, CircuitState as a, type GatewayClientConfig as b, type GatewayClientHealth as c, GatewayError as d, GatewayErrorType as e, type GraphQLError as f, type GraphQLRequestOptions as g, type GraphQLResponse as h, index as i, type IGatewayClient as j, createGatewayClient as k, createGatewayClientFromEnv as l, signServiceJwt as s };
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
import { S as ServiceLayer } from './layer-GNAVXBMf.js';
|
|
2
|
+
|
|
1
3
|
interface SDKConfig {
|
|
2
4
|
workspacesApiUrl: string;
|
|
3
5
|
tenantApiUrl?: string;
|
|
6
|
+
serviceLayer?: ServiceLayer;
|
|
7
|
+
serviceName?: string;
|
|
4
8
|
timeout?: number;
|
|
5
9
|
retry?: RetryConfig;
|
|
6
10
|
logger?: LoggerConfig;
|
|
@@ -35,6 +39,8 @@ interface SDKContext {
|
|
|
35
39
|
appId?: string;
|
|
36
40
|
token?: string;
|
|
37
41
|
productId?: string;
|
|
42
|
+
cfAccessClientId?: string;
|
|
43
|
+
cfAccessClientSecret?: string;
|
|
38
44
|
[key: string]: unknown;
|
|
39
45
|
}
|
|
40
46
|
interface EventQueueSDKConfig {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as BurdenoffGraphQLClient } from './graphql-
|
|
2
|
-
import { S as SDKContext } from './index-
|
|
3
|
-
import { N as NotificationType } from './index-
|
|
1
|
+
import { B as BurdenoffGraphQLClient } from './graphql-BRj5KPOL.js';
|
|
2
|
+
import { S as SDKContext } from './index-DDCOGyYh.js';
|
|
3
|
+
import { N as NotificationType } from './index-1qCbBvKE.js';
|
|
4
4
|
|
|
5
5
|
declare enum ActivityType {
|
|
6
6
|
CREATE = "create",
|
package/dist/index.d.ts
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { S as SDKContext, a as SDKConfig, E as EventQueueHealthStatus, T as TemporalHealthStatus, b as SDKHealthStatus, c as SDKShutdownOptions } from './index-
|
|
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 { S as SDKContext, a as SDKConfig, E as EventQueueHealthStatus, T as TemporalHealthStatus, b as SDKHealthStatus, c as SDKShutdownOptions } from './index-DDCOGyYh.js';
|
|
2
|
+
export { d as EventQueueSDKConfig, L as LoggerConfig, e as LoggerTransport } from './index-DDCOGyYh.js';
|
|
3
|
+
import { L as Logger } from './index-CNy4MwKc.js';
|
|
4
|
+
export { i as Logger } from './index-CNy4MwKc.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-1qCbBvKE.js';
|
|
7
|
+
export { t as Notifications } from './index-1qCbBvKE.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-DsBZRR82.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-B3ECnOLp.js';
|
|
13
|
+
export { i as EventQueue } from './index-B3ECnOLp.js';
|
|
14
|
+
import { G as GraphModule } from './index-BN_-AWdb.js';
|
|
15
|
+
export { i as Graph } from './index-BN_-AWdb.js';
|
|
16
|
+
import { B as BurdenoffGraphQLClient } from './graphql-BRj5KPOL.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 { PlanTier, RESOURCE_CAP_DEFAULTS, ResourceCap, ResourceCapDefaults, ResourceCapExceededError, ResourceCapsConfig, ResourceCapsModule, ResourceName, getResourceCaps } from './resource-caps/index.js';
|
|
21
21
|
export { i as Sharing } from './index-kssw5ziY.js';
|
|
22
|
-
export { i as Cache } from './index-
|
|
22
|
+
export { i as Cache } from './index-DkObbJD_.js';
|
|
23
23
|
export { i as Middleware } from './index-DSOpj8DI.js';
|
|
24
24
|
export { i as Observability } from './index-4gKQKZ2B.js';
|
|
25
25
|
export { i as GraphQL } from './index-joONjwLt.js';
|
|
26
26
|
export { i as Prisma } from './index-Dtf6FBaD.js';
|
|
27
27
|
export { i as Utils } from './index-PaojfSdd.js';
|
|
28
28
|
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-D4l1u8VR.js';
|
|
29
|
-
export { i as Export } from './index-
|
|
30
|
-
export { i as Init } from './index-
|
|
29
|
+
export { i as Export } from './index-B4ciT3OZ.js';
|
|
30
|
+
export { i as Init } from './index-B0ebYV9W.js';
|
|
31
31
|
export { i as DataLoader } from './index-DW9q22GH.js';
|
|
32
|
-
export { a as Instrumentation } from './index-
|
|
33
|
-
export { i as Layer } from './index-
|
|
32
|
+
export { a as Instrumentation } from './index-BIhZJ1w7.js';
|
|
33
|
+
export { i as Layer } from './index-BCUkR8sC.js';
|
|
34
34
|
export { i as Crypto } from './index-e_18DzAg.js';
|
|
35
|
-
export { i as Gateway } from './index-
|
|
36
|
-
export { i as FeatureFlags } from './index-
|
|
35
|
+
export { i as Gateway } from './index-Bm6MYdqS.js';
|
|
36
|
+
export { i as FeatureFlags } from './index-BdPnlJ8_.js';
|
|
37
37
|
export { i as Captcha, R as RecaptchaVerifyOptions, a as RecaptchaVerifyResult, b as isCaptchaEnabled, v as verifyCaptcha, c as verifyCaptchaIfEnabled } from './index-B70b5mYS.js';
|
|
38
38
|
export { i as Platform } from './index-BQ1yJn1K.js';
|
|
39
|
-
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-
|
|
39
|
+
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';
|
|
40
40
|
import './types-sKXodL2N.js';
|
|
41
41
|
import 'graphql';
|
|
42
42
|
import 'graphql-yoga';
|
|
@@ -60,6 +60,7 @@ import './index-UhkH2eaB.js';
|
|
|
60
60
|
declare class ContextManager {
|
|
61
61
|
static getContext(): SDKContext | undefined;
|
|
62
62
|
static setContext(context: SDKContext): void;
|
|
63
|
+
static setCfAccessContext(clientId?: string, clientSecret?: string): void;
|
|
63
64
|
static withContext<T>(context: SDKContext, fn: () => Promise<T>): Promise<T>;
|
|
64
65
|
static withContextSync<T>(context: SDKContext, fn: () => T): T;
|
|
65
66
|
static clearContext(): void;
|
|
@@ -72,6 +73,9 @@ declare class ContextManager {
|
|
|
72
73
|
static getApp(): string | undefined;
|
|
73
74
|
static getToken(): string | undefined;
|
|
74
75
|
static getProduct(): string | undefined;
|
|
76
|
+
static getCfAccessClientId(): string | undefined;
|
|
77
|
+
static getCfAccessClientSecret(): string | undefined;
|
|
78
|
+
static getCfAccessHeaders(): Record<string, string>;
|
|
75
79
|
static updateContext(updates: Partial<SDKContext>): void;
|
|
76
80
|
static hasContext(): boolean;
|
|
77
81
|
static getCustomField(key: string): unknown;
|