@burdenoff/be-sdk 2026.1107.4 → 2026.1107.5
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-T7T6GRWZ.js +8 -0
- package/dist/{EventQueueFactory-PP534MBQ.js.map → EventQueueFactory-T7T6GRWZ.js.map} +1 -1
- package/dist/auth/index.d.ts +2 -2
- package/dist/auth/index.js +2 -2
- package/dist/{chunk-YZIWBUIN.js → chunk-4XIBXZ6J.js} +3 -3
- package/dist/{chunk-YZIWBUIN.js.map → chunk-4XIBXZ6J.js.map} +1 -1
- package/dist/{chunk-Y4N7N2G4.js → chunk-A6DE32ZS.js} +3 -3
- package/dist/{chunk-Y4N7N2G4.js.map → chunk-A6DE32ZS.js.map} +1 -1
- package/dist/{chunk-OBZQ4AJC.js → chunk-FG37SJML.js} +3 -3
- package/dist/{chunk-OBZQ4AJC.js.map → chunk-FG37SJML.js.map} +1 -1
- package/dist/{chunk-7EISSMFP.js → chunk-FVWXQ26J.js} +3 -3
- package/dist/{chunk-7EISSMFP.js.map → chunk-FVWXQ26J.js.map} +1 -1
- package/dist/{chunk-5SIL5AG2.js → chunk-I3KOWRT3.js} +3 -3
- package/dist/chunk-I3KOWRT3.js.map +1 -0
- package/dist/{chunk-LQYHWC7F.js → chunk-IA6AUVAG.js} +5 -5
- package/dist/{chunk-LQYHWC7F.js.map → chunk-IA6AUVAG.js.map} +1 -1
- package/dist/{chunk-DXTBH7IW.js → chunk-ID3WR4JS.js} +3 -3
- package/dist/{chunk-DXTBH7IW.js.map → chunk-ID3WR4JS.js.map} +1 -1
- package/dist/{chunk-5CS3ZITV.js → chunk-KH4TRQCO.js} +3 -3
- package/dist/{chunk-5CS3ZITV.js.map → chunk-KH4TRQCO.js.map} +1 -1
- package/dist/{chunk-5EVD6HOD.js → chunk-LRFUXS73.js} +248 -315
- package/dist/chunk-LRFUXS73.js.map +1 -0
- package/dist/{chunk-E6OAFS7A.js → chunk-MIK45HQD.js} +4 -4
- package/dist/{chunk-E6OAFS7A.js.map → chunk-MIK45HQD.js.map} +1 -1
- package/dist/{chunk-DJNHR37J.js → chunk-OQGA4RU6.js} +3 -3
- package/dist/{chunk-DJNHR37J.js.map → chunk-OQGA4RU6.js.map} +1 -1
- package/dist/{chunk-DIOS6L7M.js → chunk-QFS5VXM2.js} +4 -4
- package/dist/{chunk-DIOS6L7M.js.map → chunk-QFS5VXM2.js.map} +1 -1
- package/dist/{chunk-BD3SMWUU.js → chunk-TRYGWO7H.js} +3 -3
- package/dist/{chunk-BD3SMWUU.js.map → chunk-TRYGWO7H.js.map} +1 -1
- package/dist/{chunk-K56L7NUR.js → chunk-XGNOYVSW.js} +3 -3
- package/dist/{chunk-K56L7NUR.js.map → chunk-XGNOYVSW.js.map} +1 -1
- package/dist/database/index.js +2 -2
- package/dist/event-queue/index.d.ts +3 -3
- package/dist/event-queue/index.js +4 -4
- package/dist/graph/index.d.ts +3 -3
- package/dist/graph/index.js +7 -7
- package/dist/{graphql-CEblo7lw.d.ts → graphql-CMHMQjvd.d.ts} +1 -1
- package/dist/{index-XzbbMKe4.d.ts → index-B8KrxO4j.d.ts} +2 -2
- package/dist/{index-BV8hveh_.d.ts → index-C1IPam0T.d.ts} +33 -15
- package/dist/{index-BioY0Ewz.d.ts → index-CmpG-zak.d.ts} +1 -1
- package/dist/{index-DHQKCVDQ.d.ts → index-DCaVm66D.d.ts} +2 -2
- package/dist/{index-7pTpoN3Q.d.ts → index-DE2w7E0d.d.ts} +6 -1
- package/dist/{index-BHe7zIVb.d.ts → index-DwMJZ8PP.d.ts} +2 -2
- package/dist/{index-KZ4OzW6D.d.ts → index-pxYge_6k.d.ts} +1 -1
- package/dist/index.d.ts +14 -13
- package/dist/index.js +35 -32
- package/dist/index.js.map +1 -1
- package/dist/init/index.js +1 -1
- package/dist/instrumentation/index.d.ts +3 -3
- package/dist/logger/index.d.ts +2 -2
- package/dist/notifications/index.d.ts +3 -3
- package/dist/notifications/index.js +2 -2
- package/dist/prisma/index.js +5 -5
- package/dist/rbac/index.d.ts +2 -2
- package/dist/rbac/index.js +2 -2
- package/dist/resource-caps/index.d.ts +2 -2
- package/dist/telemetry/index.d.ts +4 -4
- package/dist/tracker/index.d.ts +4 -4
- package/dist/tracker/index.js +5 -5
- package/dist/usage/index.d.ts +2 -2
- package/dist/usage/index.js +2 -2
- package/package.json +1 -1
- package/dist/EventQueueFactory-PP534MBQ.js +0 -8
- package/dist/chunk-5EVD6HOD.js.map +0 -1
- package/dist/chunk-5SIL5AG2.js.map +0 -1
package/dist/database/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { DatabaseModule, closeClickHouseConnection, createTable, executeQuery, getClickHouseClient, getClickHouseStats, insertData, testClickHouseConnection } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { DatabaseModule, closeClickHouseConnection, createTable, executeQuery, getClickHouseClient, getClickHouseStats, insertData, testClickHouseConnection } from '../chunk-ID3WR4JS.js';
|
|
2
|
+
import '../chunk-I3KOWRT3.js';
|
|
3
3
|
import '../chunk-5CAFHK2Z.js';
|
|
4
4
|
import '../chunk-RU266375.js';
|
|
5
5
|
import '../chunk-XE4OXN2W.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { A as AcknowledgeableEvent, B as BaseQueueConfig, a as BulkEventPayload, C as ConsumerConfig, b as ConsumerOptions, D as DefinedEventTaxonomy, c as EVENT_STREAMS_URL_ENV_KEYS, d as EVENT_TAXONOMY_BRAND, e as EventHandler, f as EventMessage, g as EventMetadata, h as EventPriority, j as EventQueueFactory, k as EventQueueHealthCheckResult, l as EventSpec, m as EventTaxonomy, n as EventsManager, o as EventsManagerHandler, p as EventsManagerMessage, q as EventsManagerOptions, r as EventsManagerSingleton, s as EventsManagerStreamRoute, t as EventsManagerSubscribeOptions, E as EventsModule, G as GRAPH_EVENTS_URL_ENV_KEYS, u as GraphEntityEventPayload, v as GraphQLEventMessage, k as HealthCheckResult, w as IEventConsumer, I as IEventPublisher, x as IEventQueue, y as ISubscription, L as LIFECYCLE_SUBJECTS, z as LifecycleConsumer, F as LifecycleConsumerOptions, H as LifecycleEventContext, J as LifecycleEventSource, K as LifecycleHandlers, M as MemoryEventBus, N as MemoryEventConsumer, O as MemoryEventPublisher, P as MemoryEventQueue, Q as ModuleEventPayload, R as ModuleEventsConfig, S as ModuleEventsService, T as OrganizationDeletedFact, U as OrganizationDeletedPayload, V as PLATFORM_EVENT_TAXONOMY, W as PublishEventOptions, X as PublishOptions, Y as PublishResult, Z as PublishableEventName, _ as PublisherConfig, $ as QueueStatistics, a0 as QueueType, a1 as REFERENCE_PRODUCT_EVENT_TAXONOMY, a2 as RedisStreamsConnection, a3 as RedisStreamsEventConsumer, a4 as RedisStreamsEventPublisher, a5 as StreamConfig, a6 as StreamInfo, a7 as SubscribeOptions, a8 as SubscriptionChangedPayload, a9 as SubscriptionOptions, aa as TaxonomyEventKind, ab as TaxonomyEventLayer, ac as TaxonomyEventPii, ad as TaxonomyEventStatus, ae as TaxonomyPayload, af as TaxonomyPublishMetadata, ag as UserDeletedPayload, ah as VibecontrolsAgentConnectedPayload, ai as VibecontrolsAgentDisconnectedPayload, aj as VibecontrolsSessionEndedPayload, ak as VibecontrolsSessionStartedPayload, al as WSPACE_GRAPH_EVENTS_STREAM, am as WorkflowRunCompletedPayload, an as WorkflowRunFailedPayload, ao as WorkflowRunStartedPayload, ap as WorkspaceCreatedPayload, aq as WorkspaceDeletedFact, ar as WorkspaceDeletedPayload, as as WorkspaceMemberAddedPayload, at as WorkspaceMemberRemovedFact, au as WorkspaceMemberRemovedPayload, av as WorkspaceMemberRoleUpdatedPayload, aw as buildConsumerGroupName, ax as createConsumer, ay as createEventsManagerSingleton, az as createLifecycleConsumer, aA as createMemoryConsumer, aB as createMemoryGraphEventEmitter, aC as createMemoryPublisher, aD as createModuleEventsService, aE as createPublisher, aF as defineEventTaxonomy, aG as eventKeyScopeForUrl, aH as eventSpec, aI as isDefinedEventTaxonomy, aJ as mergeEventTaxonomies, aK as parseOrganizationDeleted, aL as parseWorkspaceDeletedGraph, aM as parseWorkspaceDeletedStream, aN as parseWorkspaceMemberRemoved, aO as publishTaxonomyEvent, aP as redisDlqKey, aQ as redisStreamKey, aR as resolveEventStreamsUrl, aS as resolveEventStreamsUrlSource, aT as resolveGraphEventsUrl, aU as resolveGraphEventsUrlSource, aV as taxonomyEventNames, aW as taxonomyNameViolation } from '../index-
|
|
1
|
+
export { A as AcknowledgeableEvent, B as BaseQueueConfig, a as BulkEventPayload, C as ConsumerConfig, b as ConsumerOptions, D as DefinedEventTaxonomy, c as EVENT_STREAMS_URL_ENV_KEYS, d as EVENT_TAXONOMY_BRAND, e as EventHandler, f as EventMessage, g as EventMetadata, h as EventPriority, j as EventQueueFactory, k as EventQueueHealthCheckResult, l as EventSpec, m as EventTaxonomy, n as EventsManager, o as EventsManagerHandler, p as EventsManagerMessage, q as EventsManagerOptions, r as EventsManagerSingleton, s as EventsManagerStreamRoute, t as EventsManagerSubscribeOptions, E as EventsModule, G as GRAPH_EVENTS_URL_ENV_KEYS, u as GraphEntityEventPayload, v as GraphQLEventMessage, k as HealthCheckResult, w as IEventConsumer, I as IEventPublisher, x as IEventQueue, y as ISubscription, L as LIFECYCLE_SUBJECTS, z as LifecycleConsumer, F as LifecycleConsumerOptions, H as LifecycleEventContext, J as LifecycleEventSource, K as LifecycleHandlers, M as MemoryEventBus, N as MemoryEventConsumer, O as MemoryEventPublisher, P as MemoryEventQueue, Q as ModuleEventPayload, R as ModuleEventsConfig, S as ModuleEventsService, T as OrganizationDeletedFact, U as OrganizationDeletedPayload, V as PLATFORM_EVENT_TAXONOMY, W as PublishEventOptions, X as PublishOptions, Y as PublishResult, Z as PublishableEventName, _ as PublisherConfig, $ as QueueStatistics, a0 as QueueType, a1 as REFERENCE_PRODUCT_EVENT_TAXONOMY, a2 as RedisStreamsConnection, a3 as RedisStreamsEventConsumer, a4 as RedisStreamsEventPublisher, a5 as StreamConfig, a6 as StreamInfo, a7 as SubscribeOptions, a8 as SubscriptionChangedPayload, a9 as SubscriptionOptions, aa as TaxonomyEventKind, ab as TaxonomyEventLayer, ac as TaxonomyEventPii, ad as TaxonomyEventStatus, ae as TaxonomyPayload, af as TaxonomyPublishMetadata, ag as UserDeletedPayload, ah as VibecontrolsAgentConnectedPayload, ai as VibecontrolsAgentDisconnectedPayload, aj as VibecontrolsSessionEndedPayload, ak as VibecontrolsSessionStartedPayload, al as WSPACE_GRAPH_EVENTS_STREAM, am as WorkflowRunCompletedPayload, an as WorkflowRunFailedPayload, ao as WorkflowRunStartedPayload, ap as WorkspaceCreatedPayload, aq as WorkspaceDeletedFact, ar as WorkspaceDeletedPayload, as as WorkspaceMemberAddedPayload, at as WorkspaceMemberRemovedFact, au as WorkspaceMemberRemovedPayload, av as WorkspaceMemberRoleUpdatedPayload, aw as buildConsumerGroupName, ax as createConsumer, ay as createEventsManagerSingleton, az as createLifecycleConsumer, aA as createMemoryConsumer, aB as createMemoryGraphEventEmitter, aC as createMemoryPublisher, aD as createModuleEventsService, aE as createPublisher, aF as defineEventTaxonomy, aG as eventKeyScopeForUrl, aH as eventSpec, aI as isDefinedEventTaxonomy, aJ as mergeEventTaxonomies, aK as parseOrganizationDeleted, aL as parseWorkspaceDeletedGraph, aM as parseWorkspaceDeletedStream, aN as parseWorkspaceMemberRemoved, aO as publishTaxonomyEvent, aP as redisDlqKey, aQ as redisStreamKey, aR as resolveEventStreamsUrl, aS as resolveEventStreamsUrlSource, aT as resolveGraphEventsUrl, aU as resolveGraphEventsUrlSource, aV as taxonomyEventNames, aW as taxonomyNameViolation } from '../index-DCaVm66D.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-Cv9vSwBx.js';
|
|
4
4
|
import '../shutdown-registry-CW9LryO8.js';
|
|
5
|
-
import '../graphql-
|
|
5
|
+
import '../graphql-CMHMQjvd.js';
|
|
6
6
|
import 'graphql-request';
|
|
7
|
-
import '../index-
|
|
7
|
+
import '../index-DE2w7E0d.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { EVENT_TAXONOMY_BRAND, EventPriority, EventsManager, EventsModule, LIFECYCLE_SUBJECTS, ModuleEventsService, PLATFORM_EVENT_TAXONOMY, REFERENCE_PRODUCT_EVENT_TAXONOMY, WSPACE_GRAPH_EVENTS_STREAM, buildConsumerGroupName, createConsumer, createEventsManagerSingleton, createLifecycleConsumer, createModuleEventsService, createPublisher, defineEventTaxonomy, eventSpec, isDefinedEventTaxonomy, mergeEventTaxonomies, parseOrganizationDeleted, parseWorkspaceDeletedGraph, parseWorkspaceDeletedStream, parseWorkspaceMemberRemoved, publishTaxonomyEvent, taxonomyEventNames, taxonomyNameViolation } 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 { EVENT_TAXONOMY_BRAND, EventPriority, EventsManager, EventsModule, LIFECYCLE_SUBJECTS, ModuleEventsService, PLATFORM_EVENT_TAXONOMY, REFERENCE_PRODUCT_EVENT_TAXONOMY, WSPACE_GRAPH_EVENTS_STREAM, buildConsumerGroupName, createConsumer, createEventsManagerSingleton, createLifecycleConsumer, createModuleEventsService, createPublisher, defineEventTaxonomy, eventSpec, isDefinedEventTaxonomy, mergeEventTaxonomies, parseOrganizationDeleted, parseWorkspaceDeletedGraph, parseWorkspaceDeletedStream, parseWorkspaceMemberRemoved, publishTaxonomyEvent, taxonomyEventNames, taxonomyNameViolation } from '../chunk-MIK45HQD.js';
|
|
2
|
+
export { GraphEventEmitterImpl, MemoryEventBus, MemoryEventConsumer, MemoryEventPublisher, MemoryEventQueue, createGraphEventEmitter2 as createGraphEventEmitter, createMemoryConsumer, createGraphEventEmitter as createMemoryGraphEventEmitter, createMemoryPublisher, getGraphEventEmitter, resetGraphEventEmitter } from '../chunk-FVWXQ26J.js';
|
|
3
|
+
export { EventQueueFactory, QueueType, RedisStreamsEventConsumer, RedisStreamsEventPublisher } from '../chunk-XGNOYVSW.js';
|
|
4
4
|
export { EVENT_STREAMS_URL_ENV_KEYS, GRAPH_EVENTS_URL_ENV_KEYS, eventKeyScopeForUrl, resolveEventStreamsUrl, resolveEventStreamsUrlSource, resolveGraphEventsUrl, resolveGraphEventsUrlSource } from '../chunk-KS2HQCJR.js';
|
|
5
|
-
export { RedisStreamsConnection, dlqKey as redisDlqKey, streamKey as redisStreamKey } from '../chunk-6XEXJATV.js';
|
|
6
5
|
import '../chunk-KO2ZXZ7W.js';
|
|
6
|
+
export { RedisStreamsConnection, dlqKey as redisDlqKey, streamKey as redisStreamKey } from '../chunk-6XEXJATV.js';
|
|
7
7
|
import '../chunk-RU266375.js';
|
|
8
8
|
import '../chunk-XE4OXN2W.js';
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
package/dist/graph/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import '../graphql-
|
|
2
|
-
import '../index-
|
|
1
|
+
import '../graphql-CMHMQjvd.js';
|
|
2
|
+
import '../index-DE2w7E0d.js';
|
|
3
3
|
export { e as EdgeDocument, b as EntityBulkOperationsConfig, f as EntityEventType, E as EntityGraphConfig, g as EntityVertex, d as GraphEvent, G as GraphEventEmitter, c as GraphEventType, h as GraphMiddlewareConfig, M as ModuleGraphConfig, P as ProductFacet, a as RelationshipGraphConfig, S as SearchFacets, i as SearchFilters, j as SearchResponse, k as SearchResult, T as TypeFacet, l as addGraphExtension } from '../prisma-extension-gYhYriA0.js';
|
|
4
|
-
export { A as AUDIT_FIELDS, C as CreateEdgeOptions, a as CreateNodeOptions, D as DeferredGraphResult, b as DefineEntityConfigOptions, c as DefineGraphConfigOptions, d as DefineRelationshipConfigOptions, E as EntityDefinition, e as EntityEventContext, f as EntityEventData, g as EntityEventHook, h as EntityFetcher, j as EntityRbacConfig, k as ExtractedEntityData, l as ExtractedRelationshipData, F as FieldMapper, m as GenericEntityConfig, n as GenericEntityRbacConfig, o as GenericGraphConfig, p as GenericRelationshipConfig, q as GraphEdge, r as GraphEntityConfig, s as GraphEntityExport, t as GraphEventOptions, u as GraphEventPublishOptions, v as GraphEventsHelper, w as GraphEventsHelperConfig, x as GraphEventsPublisher, y as GraphExportResponse, z as GraphExportService, B as GraphExportServiceConfig, G as GraphModule, H as GraphNode, I as GraphRegistry, J as GraphRelationshipData, K as GraphRelationshipExport, L as GraphSchema, M as GraphValidationError, N as GraphValidationResult, O as InitializeGraphOptions, P as ModuleGraph, Q as ModuleGraphDefinition, R as PrismaGraphIntegration, S as PrismaGraphIntegrationOptions, T as QueryGraphOptions, U as RelationshipDefinition, V as RelationshipEventData, W as RelationshipExportData, X as RelationshipFetcher, Y as SOFT_DELETE_FIELDS, Z as STANDARD_FIELDS, _ as TENANT_FIELDS, $ as TraverseDirection, a0 as TraverseOptions, a1 as TraverseResult, a2 as ValidationErrorType, a3 as createEntityEvent, a4 as createGraphEventsHelper, a5 as createGraphExportService, a6 as createPrismaGraphIntegration, a7 as createRelationshipEvent, a8 as createRelationshipFromEntity, a9 as defineEntity, aa as defineGraphConfig, ab as defineModuleGraph, ac as defineRelationship, ad as extractEntityTitle, ae as extractMinimalFields, af as getCollectionForEntity, ag as getGraphEventsPublisher, ah as getGraphStats, ai as initializeGraph, aj as isGraphInitialized, ak as parseRelationship, al as shouldSyncEntity, am as shouldSyncRelationship, an as withDeferredGraphEvents } from '../index-
|
|
4
|
+
export { A as AUDIT_FIELDS, C as CreateEdgeOptions, a as CreateNodeOptions, D as DeferredGraphResult, b as DefineEntityConfigOptions, c as DefineGraphConfigOptions, d as DefineRelationshipConfigOptions, E as EntityDefinition, e as EntityEventContext, f as EntityEventData, g as EntityEventHook, h as EntityFetcher, j as EntityRbacConfig, k as ExtractedEntityData, l as ExtractedRelationshipData, F as FieldMapper, m as GenericEntityConfig, n as GenericEntityRbacConfig, o as GenericGraphConfig, p as GenericRelationshipConfig, q as GraphEdge, r as GraphEntityConfig, s as GraphEntityExport, t as GraphEventOptions, u as GraphEventPublishOptions, v as GraphEventsHelper, w as GraphEventsHelperConfig, x as GraphEventsPublisher, y as GraphExportResponse, z as GraphExportService, B as GraphExportServiceConfig, G as GraphModule, H as GraphNode, I as GraphRegistry, J as GraphRelationshipData, K as GraphRelationshipExport, L as GraphSchema, M as GraphValidationError, N as GraphValidationResult, O as InitializeGraphOptions, P as ModuleGraph, Q as ModuleGraphDefinition, R as PrismaGraphIntegration, S as PrismaGraphIntegrationOptions, T as QueryGraphOptions, U as RelationshipDefinition, V as RelationshipEventData, W as RelationshipExportData, X as RelationshipFetcher, Y as SOFT_DELETE_FIELDS, Z as STANDARD_FIELDS, _ as TENANT_FIELDS, $ as TraverseDirection, a0 as TraverseOptions, a1 as TraverseResult, a2 as ValidationErrorType, a3 as createEntityEvent, a4 as createGraphEventsHelper, a5 as createGraphExportService, a6 as createPrismaGraphIntegration, a7 as createRelationshipEvent, a8 as createRelationshipFromEntity, a9 as defineEntity, aa as defineGraphConfig, ab as defineModuleGraph, ac as defineRelationship, ad as extractEntityTitle, ae as extractMinimalFields, af as getCollectionForEntity, ag as getGraphEventsPublisher, ah as getGraphStats, ai as initializeGraph, aj as isGraphInitialized, ak as parseRelationship, al as shouldSyncEntity, am as shouldSyncRelationship, an as withDeferredGraphEvents } from '../index-B8KrxO4j.js';
|
|
5
5
|
import 'graphql-request';
|
|
6
6
|
import '../layer-Cv9vSwBx.js';
|
|
7
7
|
import '../client-CCXpAZ2r.js';
|
package/dist/graph/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
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-
|
|
2
|
-
export { GraphRegistry, addGraphExtension, createEntityEvent, createRelationshipEvent, extractEntityTitle, extractMinimalFields, getCollectionForEntity, parseRelationship, shouldSyncEntity, shouldSyncRelationship, withDeferredGraphEvents } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../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-IA6AUVAG.js';
|
|
2
|
+
export { GraphRegistry, addGraphExtension, createEntityEvent, createRelationshipEvent, extractEntityTitle, extractMinimalFields, getCollectionForEntity, parseRelationship, shouldSyncEntity, shouldSyncRelationship, withDeferredGraphEvents } from '../chunk-OQGA4RU6.js';
|
|
3
|
+
import '../chunk-MIK45HQD.js';
|
|
4
|
+
import '../chunk-FVWXQ26J.js';
|
|
5
|
+
import '../chunk-XGNOYVSW.js';
|
|
6
6
|
import '../chunk-KS2HQCJR.js';
|
|
7
|
-
import '../chunk-6XEXJATV.js';
|
|
8
7
|
import '../chunk-KO2ZXZ7W.js';
|
|
9
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-6XEXJATV.js';
|
|
9
|
+
import '../chunk-I3KOWRT3.js';
|
|
10
10
|
import '../chunk-5CAFHK2Z.js';
|
|
11
11
|
import '../chunk-RU266375.js';
|
|
12
12
|
import '../chunk-XE4OXN2W.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BurdenoffGraphQLClient } from './graphql-
|
|
2
|
-
import { a as SDKContext } from './index-
|
|
1
|
+
import { B as BurdenoffGraphQLClient } from './graphql-CMHMQjvd.js';
|
|
2
|
+
import { a as SDKContext } from './index-DE2w7E0d.js';
|
|
3
3
|
import { M as ModuleGraphConfig, E as EntityGraphConfig, R as RegistryEntityRbacConfig, a as RelationshipGraphConfig, b as EntityBulkOperationsConfig, c as GraphEventType, d as GraphEvent, G as GraphEventEmitter, e as EdgeDocument, f as EntityEventType, g as EntityVertex, h as GraphMiddlewareConfig, P as ProductFacet, S as SearchFacets, i as SearchFilters, j as SearchResponse, k as SearchResult, T as TypeFacet, l as addGraphExtension } from './prisma-extension-gYhYriA0.js';
|
|
4
4
|
import { P as PrismaClientBase } from './client-CCXpAZ2r.js';
|
|
5
5
|
import { G as GraphEventEmitterImpl, E as EntityEventRbacMetadata } from './graph-emitter-r5TylDBm.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { B as BurdenoffGraphQLClient } from './graphql-
|
|
2
|
-
import { a as SDKContext } from './index-
|
|
1
|
+
import { B as BurdenoffGraphQLClient } from './graphql-CMHMQjvd.js';
|
|
2
|
+
import { a as SDKContext, b as SDKError } from './index-DE2w7E0d.js';
|
|
3
3
|
import { UsageMetricType } from './usage/index.js';
|
|
4
|
-
import { N as NotificationType } from './index-
|
|
4
|
+
import { N as NotificationType } from './index-DwMJZ8PP.js';
|
|
5
5
|
import { A as AssistantSessionAttribution } from './assistant-session-CJZhF4D6.js';
|
|
6
6
|
import './explicit-activity-scope-CCoxVwAr.js';
|
|
7
7
|
|
|
@@ -34,6 +34,7 @@ declare enum ActivitySeverity {
|
|
|
34
34
|
HIGH = "high",
|
|
35
35
|
CRITICAL = "critical"
|
|
36
36
|
}
|
|
37
|
+
type ActivityActorType = 'user' | 'app' | 'service' | 'super_admin';
|
|
37
38
|
interface LogActivityOptions {
|
|
38
39
|
userId: string;
|
|
39
40
|
activityType: ActivityType;
|
|
@@ -44,6 +45,13 @@ interface LogActivityOptions {
|
|
|
44
45
|
workspaceId?: string;
|
|
45
46
|
organizationId?: string;
|
|
46
47
|
projectId?: string;
|
|
48
|
+
productId?: string;
|
|
49
|
+
description?: string;
|
|
50
|
+
targetUserId?: string;
|
|
51
|
+
teamId?: string;
|
|
52
|
+
actorType?: ActivityActorType;
|
|
53
|
+
onBehalfOf?: string;
|
|
54
|
+
dedupeKey?: string;
|
|
47
55
|
ipAddress?: string;
|
|
48
56
|
userAgent?: string;
|
|
49
57
|
metadata?: Record<string, unknown>;
|
|
@@ -62,6 +70,11 @@ interface Activity {
|
|
|
62
70
|
workspaceId?: string;
|
|
63
71
|
organizationId?: string;
|
|
64
72
|
projectId?: string;
|
|
73
|
+
productId?: string;
|
|
74
|
+
description?: string;
|
|
75
|
+
targetUserId?: string;
|
|
76
|
+
actorType?: string;
|
|
77
|
+
onBehalfOf?: string;
|
|
65
78
|
ipAddress?: string;
|
|
66
79
|
userAgent?: string;
|
|
67
80
|
metadata?: Record<string, unknown>;
|
|
@@ -71,20 +84,22 @@ interface Activity {
|
|
|
71
84
|
createdAt: string;
|
|
72
85
|
}
|
|
73
86
|
interface GetActivitiesOptions {
|
|
74
|
-
userId?: string;
|
|
75
87
|
workspaceId?: string;
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
activityType?: ActivityType;
|
|
88
|
+
userId?: string;
|
|
89
|
+
action?: string;
|
|
79
90
|
resourceType?: string;
|
|
80
91
|
resourceId?: string;
|
|
81
|
-
|
|
82
|
-
severity?: ActivitySeverity;
|
|
92
|
+
targetUserId?: string;
|
|
83
93
|
startDate?: string;
|
|
84
94
|
endDate?: string;
|
|
85
|
-
search?: string;
|
|
86
95
|
limit?: number;
|
|
87
96
|
offset?: number;
|
|
97
|
+
organizationId?: string;
|
|
98
|
+
projectId?: string;
|
|
99
|
+
activityType?: ActivityType;
|
|
100
|
+
status?: ActivityStatus;
|
|
101
|
+
severity?: ActivitySeverity;
|
|
102
|
+
search?: string;
|
|
88
103
|
sortBy?: 'createdAt' | 'duration' | 'severity';
|
|
89
104
|
sortOrder?: 'asc' | 'desc';
|
|
90
105
|
}
|
|
@@ -106,6 +121,9 @@ interface ActivityStats {
|
|
|
106
121
|
count: number;
|
|
107
122
|
}>;
|
|
108
123
|
}
|
|
124
|
+
declare class ActivityOperationUnsupportedError extends SDKError {
|
|
125
|
+
constructor(operation: string, guidance: string);
|
|
126
|
+
}
|
|
109
127
|
declare class ActivityModule {
|
|
110
128
|
private client;
|
|
111
129
|
private context;
|
|
@@ -117,11 +135,11 @@ declare class ActivityModule {
|
|
|
117
135
|
activities: Activity[];
|
|
118
136
|
total: number;
|
|
119
137
|
}>;
|
|
120
|
-
getActivity(
|
|
121
|
-
getStats(
|
|
122
|
-
cleanup(
|
|
138
|
+
getActivity(_activityId: string): Promise<Activity>;
|
|
139
|
+
getStats(_options: Omit<GetActivitiesOptions, 'limit' | 'offset'>): Promise<ActivityStats>;
|
|
140
|
+
cleanup(_olderThanDays: number, _workspaceId?: string): Promise<number>;
|
|
141
|
+
exportToCSV(_options: GetActivitiesOptions): Promise<string>;
|
|
123
142
|
private inferActivityType;
|
|
124
|
-
exportToCSV(options: GetActivitiesOptions): Promise<string>;
|
|
125
143
|
}
|
|
126
144
|
|
|
127
145
|
interface TrackingEvent {
|
|
@@ -321,4 +339,4 @@ declare class TrackerModule {
|
|
|
321
339
|
trackBatch(operations: TrackOptions[]): Promise<TrackResult[]>;
|
|
322
340
|
}
|
|
323
341
|
|
|
324
|
-
export { ActivityModule as A, type ProductTracker as P, type RbacCheckOptions as R, TrackerModule as T, UNIFIED_TRACKER_CONSTANTS as U,
|
|
342
|
+
export { ActivityModule as A, type GetActivitiesOptions as G, type LogActivityOptions as L, type ProductTracker as P, type RbacCheckOptions as R, TrackerModule as T, UNIFIED_TRACKER_CONSTANTS as U, type Activity as a, type ActivityActorType as b, ActivityOperationUnsupportedError as c, AGENT_ACTIVITY_ACTIONS as d, AGENT_ACTIVITY_RESOURCE_TYPE as e, type ActivityTrackingOptions as f, type AgentActivityAction as g, type AgentActivityOptions as h, type TrackOptions as i, type TrackResult as j, type TrackedActorType as k, type TrackingEvent as l, UnifiedTrackerStub as m, type UnifiedTrackingOptions as n, type UsageTrackingOptions as o, createProductTracker as p, isTrackedActorType as q, resolveAssistantSession as r, trackOperation as s, trackAgentActivity as t, trackerStub as u };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { S as ServiceLayer } from './layer-Cv9vSwBx.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 { a as SDKContext } from './index-
|
|
4
|
+
import { B as BurdenoffGraphQLClient } from './graphql-CMHMQjvd.js';
|
|
5
|
+
import { a as SDKContext } from './index-DE2w7E0d.js';
|
|
6
6
|
|
|
7
7
|
interface EventMessage$1<T = unknown> {
|
|
8
8
|
id: string;
|
|
@@ -45,6 +45,11 @@ interface SDKContext {
|
|
|
45
45
|
cfAuthorization?: string;
|
|
46
46
|
[key: string]: unknown;
|
|
47
47
|
}
|
|
48
|
+
declare class SDKError extends Error {
|
|
49
|
+
code: string;
|
|
50
|
+
details?: Record<string, unknown> | undefined;
|
|
51
|
+
constructor(message: string, code: string, details?: Record<string, unknown> | undefined);
|
|
52
|
+
}
|
|
48
53
|
interface EventQueueSDKConfig {
|
|
49
54
|
url?: string;
|
|
50
55
|
password?: string;
|
|
@@ -75,4 +80,4 @@ interface SDKShutdownOptions {
|
|
|
75
80
|
force?: boolean;
|
|
76
81
|
}
|
|
77
82
|
|
|
78
|
-
export type
|
|
83
|
+
export { type EventQueueHealthStatus as E, type LoggerConfig as L, type SDKConfig as S, type TemporalHealthStatus as T, type SDKContext as a, SDKError as b, type SDKHealthStatus as c, type SDKShutdownOptions as d, type EventQueueSDKConfig as e, type LoggerTransport as f };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BurdenoffGraphQLClient } from './graphql-
|
|
2
|
-
import { a as SDKContext } from './index-
|
|
1
|
+
import { B as BurdenoffGraphQLClient } from './graphql-CMHMQjvd.js';
|
|
2
|
+
import { a as SDKContext } from './index-DE2w7E0d.js';
|
|
3
3
|
|
|
4
4
|
declare enum NotificationChannel$1 {
|
|
5
5
|
EMAIL = "EMAIL",
|
package/dist/index.d.ts
CHANGED
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import { a as SDKContext, S as SDKConfig, E as EventQueueHealthStatus, T as TemporalHealthStatus,
|
|
2
|
-
export {
|
|
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, c as SDKHealthStatus, d as SDKShutdownOptions } from './index-DE2w7E0d.js';
|
|
2
|
+
export { e as EventQueueSDKConfig, L as LoggerConfig, f as LoggerTransport } from './index-DE2w7E0d.js';
|
|
3
|
+
import { L as Logger } from './index-pxYge_6k.js';
|
|
4
|
+
export { i as Logger } from './index-pxYge_6k.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-DwMJZ8PP.js';
|
|
7
|
+
export { t as Notifications } from './index-DwMJZ8PP.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, T as TrackerModule } from './index-
|
|
10
|
+
import { A as ActivityModule, T as TrackerModule } from './index-C1IPam0T.js';
|
|
11
|
+
export { a as Activity, b as ActivityActorType, c as ActivityOperationUnsupportedError, G as GetActivitiesOptions, L as LogActivityOptions } from './index-C1IPam0T.js';
|
|
11
12
|
import { UsageModule } from './usage/index.js';
|
|
12
13
|
export { BillingUsageClient, BillingUsageClientConfig, BillingUsageOperationInput, OrgBillingUsageOperationInput, QuotaLimit, WorkspaceBillingUsageOperationInput } from './usage/index.js';
|
|
13
14
|
import { DatabaseConfig, DatabaseModule } from './database/index.js';
|
|
14
|
-
import { E as EventsModule, I as IEventPublisher } from './index-
|
|
15
|
-
export { i as EventQueue } from './index-
|
|
16
|
-
import { G as GraphModule } from './index-
|
|
17
|
-
export { i as Graph } from './index-
|
|
18
|
-
import { B as BurdenoffGraphQLClient } from './graphql-
|
|
15
|
+
import { E as EventsModule, I as IEventPublisher } from './index-DCaVm66D.js';
|
|
16
|
+
export { i as EventQueue } from './index-DCaVm66D.js';
|
|
17
|
+
import { G as GraphModule } from './index-B8KrxO4j.js';
|
|
18
|
+
export { i as Graph } from './index-B8KrxO4j.js';
|
|
19
|
+
import { B as BurdenoffGraphQLClient } from './graphql-CMHMQjvd.js';
|
|
19
20
|
import { TemporalModule } from './temporal/index.js';
|
|
20
21
|
export { TemporalClient, TemporalClientConfig, TemporalClientFactory, TemporalWorker, TemporalWorkerConfig, TemporalWorkerFactory, TemporalWorkerManager, WorkflowStartOptions } from './temporal/index.js';
|
|
21
22
|
export { createInternalClient, createInternalClientForTenant, createInternalClientForWorkspaces } from './client/internal-client.js';
|
|
@@ -35,7 +36,7 @@ export { i as I18n, I as I18nCapableContext, T as Translator, c as createTransla
|
|
|
35
36
|
export { i as Export } from './index-CWmH_-RZ.js';
|
|
36
37
|
export { i as Init } from './index-5x0XMKXN.js';
|
|
37
38
|
export { i as DataLoader } from './index-DW9q22GH.js';
|
|
38
|
-
export { i as Instrumentation } from './index-
|
|
39
|
+
export { i as Instrumentation } from './index-CmpG-zak.js';
|
|
39
40
|
export { i as Layer } from './index-ffmipXSA.js';
|
|
40
41
|
export { i as Crypto } from './index-e_18DzAg.js';
|
|
41
42
|
export { i as Gateway } from './index-BejbszA7.js';
|
package/dist/index.js
CHANGED
|
@@ -2,30 +2,30 @@ export { NAME_MAX_LENGTH, NAME_MIN_LENGTH, RbacCoverageError, USERNAME_MAX_LENGT
|
|
|
2
2
|
export { sharing_exports as Sharing } from './chunk-554Z4C2K.js';
|
|
3
3
|
export { tags_exports as Tags } from './chunk-PBZFAAOM.js';
|
|
4
4
|
export { TemporalClient, TemporalClientFactory, TemporalModule, TemporalWorker, TemporalWorkerFactory, TemporalWorkerManager } from './chunk-VXVLKRU6.js';
|
|
5
|
-
import { ActivityModule, TrackerModule } from './chunk-
|
|
6
|
-
export { ActivityModule, TrackerModule } from './chunk-
|
|
5
|
+
import { ActivityModule, TrackerModule } from './chunk-LRFUXS73.js';
|
|
6
|
+
export { ActivityModule, ActivityOperationUnsupportedError, TrackerModule } from './chunk-LRFUXS73.js';
|
|
7
7
|
import './chunk-JVMAQOA3.js';
|
|
8
|
-
import { UsageModule } from './chunk-
|
|
9
|
-
export { BillingUsageClient, UsageModule } from './chunk-
|
|
8
|
+
import { UsageModule } from './chunk-TRYGWO7H.js';
|
|
9
|
+
export { BillingUsageClient, UsageModule } from './chunk-TRYGWO7H.js';
|
|
10
10
|
export { middleware_exports as Middleware } from './chunk-ELU7VL3E.js';
|
|
11
|
-
import { TenantNotificationsModule, NotificationsModule } from './chunk-
|
|
12
|
-
export { tenant_notifications_exports as Notifications, NotificationsModule } from './chunk-
|
|
11
|
+
import { TenantNotificationsModule, NotificationsModule } from './chunk-KH4TRQCO.js';
|
|
12
|
+
export { tenant_notifications_exports as Notifications, NotificationsModule } from './chunk-KH4TRQCO.js';
|
|
13
13
|
export { observability_exports as Observability } from './chunk-VAT66FJA.js';
|
|
14
14
|
export { platform_exports as Platform } from './chunk-HC6MPUIH.js';
|
|
15
|
-
export { prisma_exports as Prisma } from './chunk-
|
|
15
|
+
export { prisma_exports as Prisma } from './chunk-QFS5VXM2.js';
|
|
16
16
|
import './chunk-E4QNLVY4.js';
|
|
17
17
|
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';
|
|
18
|
-
import { RBACModule } from './chunk-
|
|
19
|
-
export { RBACModule, createRBACDirective, createRBACDirectiveForLayer, createRBACDirectiveFromEnv } from './chunk-
|
|
18
|
+
import { RBACModule } from './chunk-A6DE32ZS.js';
|
|
19
|
+
export { RBACModule, createRBACDirective, createRBACDirectiveForLayer, createRBACDirectiveFromEnv } from './chunk-A6DE32ZS.js';
|
|
20
20
|
export { i18n_exports as I18n, createTranslator, getLanguage, getLocale, hasI18n, t } from './chunk-EBDHIL7V.js';
|
|
21
|
-
export { init_exports as Init } from './chunk-
|
|
21
|
+
export { init_exports as Init } from './chunk-FG37SJML.js';
|
|
22
22
|
export { RESOURCE_CAP_DEFAULTS, ResourceCapExceededError, ResourceCapsModule, configureResourceCaps, getResourceCaps } from './chunk-63ZXJ42X.js';
|
|
23
23
|
export { instrumentation_exports as Instrumentation } from './chunk-RYTSVGGA.js';
|
|
24
24
|
import './chunk-GCIB76AJ.js';
|
|
25
|
-
export { dataloader_exports as DataLoader } from './chunk-NUB5GQTU.js';
|
|
26
25
|
export { export_exports as Export } from './chunk-VTJTAAXC.js';
|
|
27
26
|
export { feature_flags_exports as FeatureFlags } from './chunk-UNASM5VJ.js';
|
|
28
27
|
export { files_exports as Files } from './chunk-OXNCBE7P.js';
|
|
28
|
+
export { cache_exports as Cache } from './chunk-XOJORS75.js';
|
|
29
29
|
export { gateway_exports as Gateway } from './chunk-CFXWH2IS.js';
|
|
30
30
|
import './chunk-726AR6Q7.js';
|
|
31
31
|
import { GatewayClient } from './chunk-SPRG6G6G.js';
|
|
@@ -35,34 +35,34 @@ import './chunk-VFCMR5GX.js';
|
|
|
35
35
|
import { ContextManager } from './chunk-RZOFS2BQ.js';
|
|
36
36
|
export { ContextManager } from './chunk-RZOFS2BQ.js';
|
|
37
37
|
import { GatewayError, GatewayErrorType } from './chunk-QWNNFE4P.js';
|
|
38
|
-
import
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
import
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
import
|
|
38
|
+
import './chunk-A5F6Z5UE.js';
|
|
39
|
+
import { GraphModule } from './chunk-IA6AUVAG.js';
|
|
40
|
+
export { graph_exports as Graph, GraphModule } from './chunk-IA6AUVAG.js';
|
|
41
|
+
import './chunk-OQGA4RU6.js';
|
|
42
|
+
import { EventsModule } from './chunk-MIK45HQD.js';
|
|
43
|
+
export { event_queue_exports as EventQueue, EventsModule } from './chunk-MIK45HQD.js';
|
|
44
|
+
import './chunk-FVWXQ26J.js';
|
|
45
|
+
import { QueueType, EventQueueFactory } from './chunk-XGNOYVSW.js';
|
|
45
46
|
import { resolveEventStreamsUrl } from './chunk-KS2HQCJR.js';
|
|
47
|
+
import { disposeAll } from './chunk-KO2ZXZ7W.js';
|
|
48
|
+
export { lifecycle_exports as Lifecycle, disposeAll, getRegisteredDisposableCount, registerDisposable, unregisterDisposable } from './chunk-KO2ZXZ7W.js';
|
|
46
49
|
export { graphql_exports as GraphQL } from './chunk-ZZK3WEDI.js';
|
|
47
50
|
import './chunk-MWPYA2HD.js';
|
|
48
51
|
import './chunk-6XEXJATV.js';
|
|
49
52
|
export { ai_credits_exports as AiCredits } from './chunk-MESLAC5W.js';
|
|
50
|
-
import { AuthModule } from './chunk-
|
|
51
|
-
export { AuthModule } from './chunk-
|
|
53
|
+
import { AuthModule } from './chunk-4XIBXZ6J.js';
|
|
54
|
+
export { AuthModule } from './chunk-4XIBXZ6J.js';
|
|
52
55
|
export { utils_exports as Utils } from './chunk-LA5KPWZ2.js';
|
|
53
|
-
export { cache_exports as Cache } from './chunk-XOJORS75.js';
|
|
54
|
-
import './chunk-A5F6Z5UE.js';
|
|
55
|
-
import { disposeAll } from './chunk-KO2ZXZ7W.js';
|
|
56
|
-
export { lifecycle_exports as Lifecycle, disposeAll, getRegisteredDisposableCount, registerDisposable, unregisterDisposable } from './chunk-KO2ZXZ7W.js';
|
|
57
56
|
export { captcha_exports as Captcha, isCaptchaEnabled, verifyCaptcha, verifyCaptchaIfEnabled } from './chunk-YMZEUTD2.js';
|
|
58
57
|
export { createInternalClient, createInternalClientForTenant, createInternalClientForWorkspaces } from './chunk-KJOSPVB2.js';
|
|
59
58
|
export { crypto_exports as Crypto } from './chunk-SBS4S2PJ.js';
|
|
60
|
-
import { DatabaseModule } from './chunk-
|
|
61
|
-
export { DatabaseModule } from './chunk-
|
|
62
|
-
import { APIError, NetworkError, TimeoutError, ValidationError } from './chunk-
|
|
59
|
+
import { DatabaseModule } from './chunk-ID3WR4JS.js';
|
|
60
|
+
export { DatabaseModule } from './chunk-ID3WR4JS.js';
|
|
61
|
+
import { APIError, NetworkError, TimeoutError, ValidationError } from './chunk-I3KOWRT3.js';
|
|
63
62
|
export { DEFAULT_CIRCUIT_BREAKER_CONFIG, DEFAULT_GATEWAY_RETRY_CONFIG, DEFAULT_GATEWAY_ROUTING, DEFAULT_LAYER_RESOURCES, DEFAULT_LAYER_STREAMS } from './chunk-5CAFHK2Z.js';
|
|
64
63
|
import { logger } from './chunk-RU266375.js';
|
|
65
64
|
export { logger_exports as Logger } from './chunk-RU266375.js';
|
|
65
|
+
export { dataloader_exports as DataLoader } from './chunk-NUB5GQTU.js';
|
|
66
66
|
import { __name } from './chunk-XE4OXN2W.js';
|
|
67
67
|
import { GraphQLClient } from 'graphql-request';
|
|
68
68
|
|
|
@@ -229,15 +229,18 @@ var BurdenoffGraphQLClient = class {
|
|
|
229
229
|
*/
|
|
230
230
|
async executeQuery(client, query, variables, context) {
|
|
231
231
|
try {
|
|
232
|
+
if (!context) {
|
|
233
|
+
return await client.request(query, variables);
|
|
234
|
+
}
|
|
232
235
|
const mergedContext = {
|
|
233
236
|
...this.defaultContext,
|
|
234
237
|
...context
|
|
235
238
|
};
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
239
|
+
return await client.request({
|
|
240
|
+
document: query,
|
|
241
|
+
variables,
|
|
242
|
+
requestHeaders: this.getHeaders(mergedContext)
|
|
243
|
+
});
|
|
241
244
|
} catch (error) {
|
|
242
245
|
throw this.handleError(error);
|
|
243
246
|
}
|