@burdenoff/be-sdk 2026.722.3 → 2026.725.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.
Files changed (47) hide show
  1. package/dist/auth/index.d.ts +2 -2
  2. package/dist/cache/index.d.ts +1 -1
  3. package/dist/cache/index.js +1 -1
  4. package/dist/{chunk-MXLCLLCI.js → chunk-EJPRCENB.js} +118 -83
  5. package/dist/chunk-EJPRCENB.js.map +1 -0
  6. package/dist/{chunk-PQJ6MN4U.js → chunk-ESLJ2732.js} +3 -3
  7. package/dist/{chunk-PQJ6MN4U.js.map → chunk-ESLJ2732.js.map} +1 -1
  8. package/dist/{chunk-WM5COTOD.js → chunk-F5SGJ6VS.js} +118 -4
  9. package/dist/chunk-F5SGJ6VS.js.map +1 -0
  10. package/dist/{chunk-I3ZYYDNN.js → chunk-IIYIO2GG.js} +83 -11
  11. package/dist/chunk-IIYIO2GG.js.map +1 -0
  12. package/dist/{chunk-KKJPFKO5.js → chunk-QMDYY6GJ.js} +2 -2
  13. package/dist/{chunk-KKJPFKO5.js.map → chunk-QMDYY6GJ.js.map} +1 -1
  14. package/dist/{chunk-YQ6FYE37.js → chunk-RIH3XRBX.js} +4 -3
  15. package/dist/chunk-RIH3XRBX.js.map +1 -0
  16. package/dist/{chunk-YCKM7FS7.js → chunk-WCJIZR5Q.js} +123 -10
  17. package/dist/chunk-WCJIZR5Q.js.map +1 -0
  18. package/dist/{chunk-JCBYU5BE.js → chunk-YH6PCW6L.js} +3 -3
  19. package/dist/{chunk-JCBYU5BE.js.map → chunk-YH6PCW6L.js.map} +1 -1
  20. package/dist/{chunk-U77L54IQ.js → chunk-ZVZ4RAIH.js} +3 -3
  21. package/dist/{chunk-U77L54IQ.js.map → chunk-ZVZ4RAIH.js.map} +1 -1
  22. package/dist/export/index.js +3 -3
  23. package/dist/feature-flags/index.d.ts +9 -1
  24. package/dist/feature-flags/index.js +2 -1
  25. package/dist/gateway/index.js +2 -2
  26. package/dist/gateway/security/index.js +1 -1
  27. package/dist/{index-D0tR4rjy.d.ts → index-ELt2ADCe.d.ts} +19 -2
  28. package/dist/{index-CgTMsars.d.ts → index-N8DMWKzw.d.ts} +4 -0
  29. package/dist/{index-lcW5eSTp.d.ts → index-PJZzGd8r.d.ts} +19 -2
  30. package/dist/{index-42_fqdmi.d.ts → index-m4sVVdZ6.d.ts} +3 -2
  31. package/dist/index.d.ts +6 -6
  32. package/dist/index.js +10 -10
  33. package/dist/init/index.js +3 -3
  34. package/dist/platform/index.d.ts +1 -1
  35. package/dist/platform/index.js +1 -1
  36. package/dist/prisma/index.d.ts +2 -2
  37. package/dist/prisma/index.js +2 -2
  38. package/dist/server/index.d.ts +3 -3
  39. package/dist/server/index.js +1 -1
  40. package/dist/{types-DVG_lcsL.d.ts → types-BeDCdzH9.d.ts} +2 -2
  41. package/dist/{workspace-extension-TquhDEKU.d.ts → workspace-extension-DxQw6N3b.d.ts} +9 -1
  42. package/package.json +1 -1
  43. package/dist/chunk-I3ZYYDNN.js.map +0 -1
  44. package/dist/chunk-MXLCLLCI.js.map +0 -1
  45. package/dist/chunk-WM5COTOD.js.map +0 -1
  46. package/dist/chunk-YCKM7FS7.js.map +0 -1
  47. package/dist/chunk-YQ6FYE37.js.map +0 -1
@@ -38,7 +38,20 @@ interface LeaderLockResult<T> {
38
38
  acquired: boolean;
39
39
  result?: T;
40
40
  }
41
+ declare function normalizeRedisUrl(url: string): string;
41
42
  declare function withLeaderLock<T>(redis: LeaderLockRedis, name: string, fn: () => Promise<T>, options: LeaderLockOptions): Promise<LeaderLockResult<T>>;
43
+ interface CreateLeaderLeaseOptions {
44
+ name: string;
45
+ ttlMs: number;
46
+ redis: LeaderLockRedis;
47
+ renewMs?: number;
48
+ }
49
+ interface LeaderLease {
50
+ renew(): Promise<boolean>;
51
+ release(): Promise<void>;
52
+ isHeld(): boolean;
53
+ }
54
+ declare function createLeaderLease(options: CreateLeaderLeaseOptions): LeaderLease;
42
55
 
43
56
  interface RateLimitRedis {
44
57
  incr(key: string): Promise<number>;
@@ -241,6 +254,7 @@ declare const index_CircuitBreakerOpenError: typeof CircuitBreakerOpenError;
241
254
  type index_ClampLimitOptions = ClampLimitOptions;
242
255
  type index_ConnectionEdge<TItem> = ConnectionEdge<TItem>;
243
256
  type index_ConnectionResult<TItem> = ConnectionResult<TItem>;
257
+ type index_CreateLeaderLeaseOptions = CreateLeaderLeaseOptions;
244
258
  type index_CursorPaginationInput = CursorPaginationInput;
245
259
  type index_CursorPayload = CursorPayload;
246
260
  type index_CursorPayloadValue = CursorPayloadValue;
@@ -256,6 +270,7 @@ type index_LLMResponse = LLMResponse;
256
270
  type index_LLMRouter = LLMRouter;
257
271
  declare const index_LLMRouter: typeof LLMRouter;
258
272
  type index_LLMRouterOptions = LLMRouterOptions;
273
+ type index_LeaderLease = LeaderLease;
259
274
  type index_LeaderLockOptions = LeaderLockOptions;
260
275
  type index_LeaderLockRedis = LeaderLockRedis;
261
276
  type index_LeaderLockResult<T> = LeaderLockResult<T>;
@@ -285,6 +300,7 @@ declare const index_clampGraphqlLimit: typeof clampGraphqlLimit;
285
300
  declare const index_clampLimit: typeof clampLimit;
286
301
  declare const index_clampOffset: typeof clampOffset;
287
302
  declare const index_createHttpClient: typeof createHttpClient;
303
+ declare const index_createLeaderLease: typeof createLeaderLease;
288
304
  declare const index_decodeCursor: typeof decodeCursor;
289
305
  declare const index_dropOldPartitions: typeof dropOldPartitions;
290
306
  declare const index_encodeCursor: typeof encodeCursor;
@@ -295,13 +311,14 @@ declare const index_invalidateNamespace: typeof invalidateNamespace;
295
311
  declare const index_monthlyPartitionName: typeof monthlyPartitionName;
296
312
  declare const index_normalizeCursorPagination: typeof normalizeCursorPagination;
297
313
  declare const index_normalizeOffsetPagination: typeof normalizeOffsetPagination;
314
+ declare const index_normalizeRedisUrl: typeof normalizeRedisUrl;
298
315
  declare const index_paginate: typeof paginate;
299
316
  declare const index_rateLimitIncr: typeof rateLimitIncr;
300
317
  declare const index_resolveReferenceLoader: typeof resolveReferenceLoader;
301
318
  declare const index_toPrismaPage: typeof toPrismaPage;
302
319
  declare const index_withLeaderLock: typeof withLeaderLock;
303
320
  declare namespace index {
304
- export { type index_BreakerConfig as BreakerConfig, type index_BuildConnectionOptions as BuildConnectionOptions, type index_CacheVersionRedis as CacheVersionRedis, index_CircuitBreakerOpenError as CircuitBreakerOpenError, type index_ClampLimitOptions as ClampLimitOptions, type index_ConnectionEdge as ConnectionEdge, type index_ConnectionResult as ConnectionResult, type index_CursorPaginationInput as CursorPaginationInput, type index_CursorPayload as CursorPayload, type index_CursorPayloadValue as CursorPayloadValue, index_DEFAULT_GRAPHQL_PAGE_LIMIT as DEFAULT_GRAPHQL_PAGE_LIMIT, type index_DataLoaderLike as DataLoaderLike, type index_DropOldOptions as DropOldOptions, type index_EnsureMonthlyOptions as EnsureMonthlyOptions, type index_HttpClientConfig as HttpClientConfig, type index_HttpClientInit as HttpClientInit, type index_LLMProviderAdapter as LLMProviderAdapter, type index_LLMRequest as LLMRequest, type index_LLMResponse as LLMResponse, index_LLMRouter as LLMRouter, type index_LLMRouterOptions as LLMRouterOptions, type index_LeaderLockOptions as LeaderLockOptions, type index_LeaderLockRedis as LeaderLockRedis, type index_LeaderLockResult as LeaderLockResult, type index_LoaderBuilder as LoaderBuilder, type index_LoaderMap as LoaderMap, index_MAX_GRAPHQL_PAGE_LIMIT as MAX_GRAPHQL_PAGE_LIMIT, type index_NormalizedCursorPagination as NormalizedCursorPagination, type index_NormalizedOffsetPagination as NormalizedOffsetPagination, type index_OffsetPageResult as OffsetPageResult, type index_OffsetPaginationInput as OffsetPaginationInput, type index_PageInfo as PageInfo, type index_PaginateInput as PaginateInput, type index_PaginateResult as PaginateResult, type index_PrismaModelLike as PrismaModelLike, type index_PrismaRawClient as PrismaRawClient, type index_RateLimitInput as RateLimitInput, type index_RateLimitRedis as RateLimitRedis, type index_RateLimitResult as RateLimitResult, type index_ReferenceObject as ReferenceObject, type index_RetryConfig as RetryConfig, index___resetHttpClientBreakers as __resetHttpClientBreakers, index_buildCacheKey as buildCacheKey, index_buildConnection as buildConnection, index_buildLoaders as buildLoaders, index_buildOffsetPage as buildOffsetPage, index_clampGraphqlLimit as clampGraphqlLimit, index_clampLimit as clampLimit, index_clampOffset as clampOffset, index_createHttpClient as createHttpClient, index_decodeCursor as decodeCursor, index_dropOldPartitions as dropOldPartitions, index_encodeCursor as encodeCursor, index_ensureMonthlyPartitions as ensureMonthlyPartitions, index_getNamespaceVersion as getNamespaceVersion, index_httpClient as httpClient, index_invalidateNamespace as invalidateNamespace, index_monthlyPartitionName as monthlyPartitionName, index_normalizeCursorPagination as normalizeCursorPagination, index_normalizeOffsetPagination as normalizeOffsetPagination, index_paginate as paginate, index_rateLimitIncr as rateLimitIncr, index_resolveReferenceLoader as resolveReferenceLoader, index_toPrismaPage as toPrismaPage, index_withLeaderLock as withLeaderLock };
321
+ export { type index_BreakerConfig as BreakerConfig, type index_BuildConnectionOptions as BuildConnectionOptions, type index_CacheVersionRedis as CacheVersionRedis, index_CircuitBreakerOpenError as CircuitBreakerOpenError, type index_ClampLimitOptions as ClampLimitOptions, type index_ConnectionEdge as ConnectionEdge, type index_ConnectionResult as ConnectionResult, type index_CreateLeaderLeaseOptions as CreateLeaderLeaseOptions, type index_CursorPaginationInput as CursorPaginationInput, type index_CursorPayload as CursorPayload, type index_CursorPayloadValue as CursorPayloadValue, index_DEFAULT_GRAPHQL_PAGE_LIMIT as DEFAULT_GRAPHQL_PAGE_LIMIT, type index_DataLoaderLike as DataLoaderLike, type index_DropOldOptions as DropOldOptions, type index_EnsureMonthlyOptions as EnsureMonthlyOptions, type index_HttpClientConfig as HttpClientConfig, type index_HttpClientInit as HttpClientInit, type index_LLMProviderAdapter as LLMProviderAdapter, type index_LLMRequest as LLMRequest, type index_LLMResponse as LLMResponse, index_LLMRouter as LLMRouter, type index_LLMRouterOptions as LLMRouterOptions, type index_LeaderLease as LeaderLease, type index_LeaderLockOptions as LeaderLockOptions, type index_LeaderLockRedis as LeaderLockRedis, type index_LeaderLockResult as LeaderLockResult, type index_LoaderBuilder as LoaderBuilder, type index_LoaderMap as LoaderMap, index_MAX_GRAPHQL_PAGE_LIMIT as MAX_GRAPHQL_PAGE_LIMIT, type index_NormalizedCursorPagination as NormalizedCursorPagination, type index_NormalizedOffsetPagination as NormalizedOffsetPagination, type index_OffsetPageResult as OffsetPageResult, type index_OffsetPaginationInput as OffsetPaginationInput, type index_PageInfo as PageInfo, type index_PaginateInput as PaginateInput, type index_PaginateResult as PaginateResult, type index_PrismaModelLike as PrismaModelLike, type index_PrismaRawClient as PrismaRawClient, type index_RateLimitInput as RateLimitInput, type index_RateLimitRedis as RateLimitRedis, type index_RateLimitResult as RateLimitResult, type index_ReferenceObject as ReferenceObject, type index_RetryConfig as RetryConfig, index___resetHttpClientBreakers as __resetHttpClientBreakers, index_buildCacheKey as buildCacheKey, index_buildConnection as buildConnection, index_buildLoaders as buildLoaders, index_buildOffsetPage as buildOffsetPage, index_clampGraphqlLimit as clampGraphqlLimit, index_clampLimit as clampLimit, index_clampOffset as clampOffset, index_createHttpClient as createHttpClient, index_createLeaderLease as createLeaderLease, index_decodeCursor as decodeCursor, index_dropOldPartitions as dropOldPartitions, index_encodeCursor as encodeCursor, index_ensureMonthlyPartitions as ensureMonthlyPartitions, index_getNamespaceVersion as getNamespaceVersion, index_httpClient as httpClient, index_invalidateNamespace as invalidateNamespace, index_monthlyPartitionName as monthlyPartitionName, index_normalizeCursorPagination as normalizeCursorPagination, index_normalizeOffsetPagination as normalizeOffsetPagination, index_normalizeRedisUrl as normalizeRedisUrl, index_paginate as paginate, index_rateLimitIncr as rateLimitIncr, index_resolveReferenceLoader as resolveReferenceLoader, index_toPrismaPage as toPrismaPage, index_withLeaderLock as withLeaderLock };
305
322
  }
306
323
 
307
- export { encodeCursor as $, type PrismaRawClient as A, type BreakerConfig as B, type CacheVersionRedis as C, DEFAULT_GRAPHQL_PAGE_LIMIT as D, type EnsureMonthlyOptions as E, type RateLimitRedis as F, type RateLimitResult as G, type HttpClientConfig as H, type ReferenceObject as I, type RetryConfig as J, buildCacheKey as K, type LLMProviderAdapter as L, MAX_GRAPHQL_PAGE_LIMIT as M, type NormalizedCursorPagination as N, type OffsetPageResult as O, type PageInfo as P, buildConnection as Q, type RateLimitInput as R, buildLoaders as S, buildOffsetPage as T, clampGraphqlLimit as U, clampLimit as V, clampOffset as W, createHttpClient as X, decodeCursor as Y, dropOldPartitions as Z, __resetHttpClientBreakers as _, type BuildConnectionOptions as a, ensureMonthlyPartitions as a0, getNamespaceVersion as a1, httpClient as a2, invalidateNamespace as a3, monthlyPartitionName as a4, normalizeCursorPagination as a5, normalizeOffsetPagination as a6, paginate as a7, rateLimitIncr as a8, resolveReferenceLoader as a9, toPrismaPage as aa, withLeaderLock as ab, CircuitBreakerOpenError as b, type ClampLimitOptions as c, type ConnectionEdge as d, type ConnectionResult as e, type CursorPaginationInput as f, type CursorPayload as g, type CursorPayloadValue as h, index as i, type DataLoaderLike as j, type DropOldOptions as k, type HttpClientInit as l, type LLMRequest as m, type LLMResponse as n, LLMRouter as o, type LLMRouterOptions as p, type LeaderLockOptions as q, type LeaderLockRedis as r, type LeaderLockResult as s, type LoaderBuilder as t, type LoaderMap as u, type NormalizedOffsetPagination as v, type OffsetPaginationInput as w, type PaginateInput as x, type PaginateResult as y, type PrismaModelLike as z };
324
+ export { createLeaderLease as $, type PaginateResult as A, type BreakerConfig as B, type CacheVersionRedis as C, DEFAULT_GRAPHQL_PAGE_LIMIT as D, type EnsureMonthlyOptions as E, type PrismaModelLike as F, type PrismaRawClient as G, type HttpClientConfig as H, type RateLimitRedis as I, type RateLimitResult as J, type ReferenceObject as K, type LLMProviderAdapter as L, MAX_GRAPHQL_PAGE_LIMIT as M, type NormalizedCursorPagination as N, type OffsetPageResult as O, type PageInfo as P, type RetryConfig as Q, type RateLimitInput as R, buildCacheKey as S, buildConnection as T, buildLoaders as U, buildOffsetPage as V, clampGraphqlLimit as W, clampLimit as X, clampOffset as Y, createHttpClient as Z, __resetHttpClientBreakers as _, type BuildConnectionOptions as a, decodeCursor as a0, dropOldPartitions as a1, encodeCursor as a2, ensureMonthlyPartitions as a3, getNamespaceVersion as a4, httpClient as a5, invalidateNamespace as a6, monthlyPartitionName as a7, normalizeCursorPagination as a8, normalizeOffsetPagination as a9, normalizeRedisUrl as aa, paginate as ab, rateLimitIncr as ac, resolveReferenceLoader as ad, toPrismaPage as ae, withLeaderLock as af, CircuitBreakerOpenError as b, type ClampLimitOptions as c, type ConnectionEdge as d, type ConnectionResult as e, type CreateLeaderLeaseOptions as f, type CursorPaginationInput as g, type CursorPayload as h, index as i, type CursorPayloadValue as j, type DataLoaderLike as k, type DropOldOptions as l, type HttpClientInit as m, type LLMRequest as n, type LLMResponse as o, LLMRouter as p, type LLMRouterOptions as q, type LeaderLease as r, type LeaderLockOptions as s, type LeaderLockRedis as t, type LeaderLockResult as u, type LoaderBuilder as v, type LoaderMap as w, type NormalizedOffsetPagination as x, type OffsetPaginationInput as y, type PaginateInput as z };
@@ -1,6 +1,6 @@
1
1
  import { P as PrismaClientBase, b as PrismaClientWrapper, c as PrismaClientConfig, a as PrismaClientConstructorOptions, D as DatabaseReturnType, d as DatabaseHealth, C as ConnectionState, e as PrismaEvent, f as PrismaLogDefinition, g as PrismaLogEvent, h as PrismaLogLevel, i as PrismaQueryEvent, j as PrismaTransactionOptions, k as configurePrismaLogging, l as createConnectionPool, m as createPrismaAdapter, n as createPrismaClient, o as ensureServiceApplicationName, p as installAcquireRetry, q as isTransientAcquireError } from './client-CCXpAZ2r.js';
2
2
  import { G as GraphEventEmitter } from './prisma-extension-krXnYnrN.js';
3
- import { W as WorkspaceExtensionConfig, a as WorkspaceContext, b as addWorkspaceExtension, g as getWorkspaceContext, i as injectWhereWorkspaceId, m as maybeSetRlsGuc, c as maybeTagConnection, s as setWorkspaceContext, w as withWorkspaceContext, d as withWorkspaceContextSync } from './workspace-extension-TquhDEKU.js';
3
+ import { W as WorkspaceExtensionConfig, a as WorkspaceContext, b as addWorkspaceExtension, g as getWorkspaceContext, i as injectWhereWorkspaceId, m as maybeSetRlsGuc, c as maybeTagConnection, r as runOperationWithRlsGuc, s as setWorkspaceContext, w as withWorkspaceContext, d as withWorkspaceContextSync } from './workspace-extension-DxQw6N3b.js';
4
4
 
5
5
  interface DatabaseClientConfig extends PrismaClientConfig {
6
6
  productName: string;
@@ -171,13 +171,14 @@ declare const index_mergeContext: typeof mergeContext;
171
171
  declare const index_parseContext: typeof parseContext;
172
172
  declare const index_resetDatabaseManager: typeof resetDatabaseManager;
173
173
  declare const index_resolvePoolTuningFromEnv: typeof resolvePoolTuningFromEnv;
174
+ declare const index_runOperationWithRlsGuc: typeof runOperationWithRlsGuc;
174
175
  declare const index_setWorkspaceContext: typeof setWorkspaceContext;
175
176
  declare const index_testConnection: typeof testConnection;
176
177
  declare const index_toContextJson: typeof toContextJson;
177
178
  declare const index_withWorkspaceContext: typeof withWorkspaceContext;
178
179
  declare const index_withWorkspaceContextSync: typeof withWorkspaceContextSync;
179
180
  declare namespace index {
180
- export { index_ConnectionState as ConnectionState, type index_ContextFilterInput as ContextFilterInput, type index_DatabaseClient as DatabaseClient, type index_DatabaseClientConfig as DatabaseClientConfig, index_DatabaseHealth as DatabaseHealth, index_DatabaseReturnType as DatabaseReturnType, type index_FieldExtractionOptions as FieldExtractionOptions, type index_FieldExtractionResult as FieldExtractionResult, type index_InputJsonValue as InputJsonValue, type index_JsonValue as JsonValue, type index_ModelFieldsMap as ModelFieldsMap, type index_OperationContext as OperationContext, type index_PoolTuningEnv as PoolTuningEnv, index_PrismaClientBase as PrismaClientBase, index_PrismaClientConfig as PrismaClientConfig, index_PrismaClientConstructorOptions as PrismaClientConstructorOptions, index_PrismaClientWrapper as PrismaClientWrapper, index_PrismaEvent as PrismaEvent, type index_PrismaJsonFilter as PrismaJsonFilter, index_PrismaLogDefinition as PrismaLogDefinition, index_PrismaLogEvent as PrismaLogEvent, index_PrismaLogLevel as PrismaLogLevel, index_PrismaQueryEvent as PrismaQueryEvent, index_PrismaTransactionOptions as PrismaTransactionOptions, index_WorkspaceContext as WorkspaceContext, index_WorkspaceExtensionConfig as WorkspaceExtensionConfig, index_addWorkspaceExtension as addWorkspaceExtension, index_buildContextWhereClause as buildContextWhereClause, index_buildContextWhereConditions as buildContextWhereConditions, index_checkDatabaseHealth as checkDatabaseHealth, index_configurePrismaLogging as configurePrismaLogging, index_contextMatches as contextMatches, index_createConnectionPool as createConnectionPool, index_createContextFromSDK as createContextFromSDK, index_createDatabaseClient as createDatabaseClient, index_createDatabaseClientFromEnv as createDatabaseClientFromEnv, index_createPrismaAdapter as createPrismaAdapter, index_createPrismaClient as createPrismaClient, index_ensureServiceApplicationName as ensureServiceApplicationName, index_extractFieldsFromModel as extractFieldsFromModel, index_getAllModelNames as getAllModelNames, index_getDatabaseManager as getDatabaseManager, index_getDatabaseProductName as getDatabaseProductName, index_getDatabaseStats as getDatabaseStats, index_getDatabaseVersion as getDatabaseVersion, index_getDb as getDb, index_getModelFields as getModelFields, index_getWorkspaceContext as getWorkspaceContext, index_hasModel as hasModel, index_initializeDatabase as initializeDatabase, index_initializeDatabaseWithConfig as initializeDatabaseWithConfig, index_injectWhereWorkspaceId as injectWhereWorkspaceId, index_installAcquireRetry as installAcquireRetry, index_isDatabaseInitialized as isDatabaseInitialized, index_isTransientAcquireError as isTransientAcquireError, index_loadGeneratedFields as loadGeneratedFields, index_maybeSetRlsGuc as maybeSetRlsGuc, index_maybeTagConnection as maybeTagConnection, index_mergeContext as mergeContext, index_parseContext as parseContext, index_resetDatabaseManager as resetDatabaseManager, index_resolvePoolTuningFromEnv as resolvePoolTuningFromEnv, index_setWorkspaceContext as setWorkspaceContext, index_testConnection as testConnection, index_toContextJson as toContextJson, index_withWorkspaceContext as withWorkspaceContext, index_withWorkspaceContextSync as withWorkspaceContextSync };
181
+ export { index_ConnectionState as ConnectionState, type index_ContextFilterInput as ContextFilterInput, type index_DatabaseClient as DatabaseClient, type index_DatabaseClientConfig as DatabaseClientConfig, index_DatabaseHealth as DatabaseHealth, index_DatabaseReturnType as DatabaseReturnType, type index_FieldExtractionOptions as FieldExtractionOptions, type index_FieldExtractionResult as FieldExtractionResult, type index_InputJsonValue as InputJsonValue, type index_JsonValue as JsonValue, type index_ModelFieldsMap as ModelFieldsMap, type index_OperationContext as OperationContext, type index_PoolTuningEnv as PoolTuningEnv, index_PrismaClientBase as PrismaClientBase, index_PrismaClientConfig as PrismaClientConfig, index_PrismaClientConstructorOptions as PrismaClientConstructorOptions, index_PrismaClientWrapper as PrismaClientWrapper, index_PrismaEvent as PrismaEvent, type index_PrismaJsonFilter as PrismaJsonFilter, index_PrismaLogDefinition as PrismaLogDefinition, index_PrismaLogEvent as PrismaLogEvent, index_PrismaLogLevel as PrismaLogLevel, index_PrismaQueryEvent as PrismaQueryEvent, index_PrismaTransactionOptions as PrismaTransactionOptions, index_WorkspaceContext as WorkspaceContext, index_WorkspaceExtensionConfig as WorkspaceExtensionConfig, index_addWorkspaceExtension as addWorkspaceExtension, index_buildContextWhereClause as buildContextWhereClause, index_buildContextWhereConditions as buildContextWhereConditions, index_checkDatabaseHealth as checkDatabaseHealth, index_configurePrismaLogging as configurePrismaLogging, index_contextMatches as contextMatches, index_createConnectionPool as createConnectionPool, index_createContextFromSDK as createContextFromSDK, index_createDatabaseClient as createDatabaseClient, index_createDatabaseClientFromEnv as createDatabaseClientFromEnv, index_createPrismaAdapter as createPrismaAdapter, index_createPrismaClient as createPrismaClient, index_ensureServiceApplicationName as ensureServiceApplicationName, index_extractFieldsFromModel as extractFieldsFromModel, index_getAllModelNames as getAllModelNames, index_getDatabaseManager as getDatabaseManager, index_getDatabaseProductName as getDatabaseProductName, index_getDatabaseStats as getDatabaseStats, index_getDatabaseVersion as getDatabaseVersion, index_getDb as getDb, index_getModelFields as getModelFields, index_getWorkspaceContext as getWorkspaceContext, index_hasModel as hasModel, index_initializeDatabase as initializeDatabase, index_initializeDatabaseWithConfig as initializeDatabaseWithConfig, index_injectWhereWorkspaceId as injectWhereWorkspaceId, index_installAcquireRetry as installAcquireRetry, index_isDatabaseInitialized as isDatabaseInitialized, index_isTransientAcquireError as isTransientAcquireError, index_loadGeneratedFields as loadGeneratedFields, index_maybeSetRlsGuc as maybeSetRlsGuc, index_maybeTagConnection as maybeTagConnection, index_mergeContext as mergeContext, index_parseContext as parseContext, index_resetDatabaseManager as resetDatabaseManager, index_resolvePoolTuningFromEnv as resolvePoolTuningFromEnv, index_runOperationWithRlsGuc as runOperationWithRlsGuc, index_setWorkspaceContext as setWorkspaceContext, index_testConnection as testConnection, index_toContextJson as toContextJson, index_withWorkspaceContext as withWorkspaceContext, index_withWorkspaceContextSync as withWorkspaceContextSync };
181
182
  }
182
183
 
183
184
  export { resetDatabaseManager as A, resolvePoolTuningFromEnv as B, type ContextFilterInput as C, type DatabaseClient as D, testConnection as E, type FieldExtractionOptions as F, toContextJson as G, type InputJsonValue as I, type JsonValue as J, type ModelFieldsMap as M, type OperationContext as O, type PoolTuningEnv as P, type DatabaseClientConfig as a, type FieldExtractionResult as b, type PrismaJsonFilter as c, buildContextWhereClause as d, buildContextWhereConditions as e, checkDatabaseHealth as f, contextMatches as g, createContextFromSDK as h, index as i, createDatabaseClient as j, createDatabaseClientFromEnv as k, extractFieldsFromModel as l, getAllModelNames as m, getDatabaseManager as n, getDatabaseProductName as o, getDatabaseStats as p, getDatabaseVersion as q, getDb as r, getModelFields as s, hasModel as t, initializeDatabase as u, initializeDatabaseWithConfig as v, isDatabaseInitialized as w, loadGeneratedFields as x, mergeContext as y, parseContext as z };
package/dist/index.d.ts CHANGED
@@ -20,11 +20,11 @@ export { createInternalClient, createInternalClientForTenant, createInternalClie
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, configureResourceCaps, getResourceCaps } from './resource-caps/index.js';
22
22
  export { i as Sharing } from './index-kssw5ziY.js';
23
- export { i as Cache } from './index-CgTMsars.js';
23
+ export { i as Cache } from './index-N8DMWKzw.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';
27
- export { i as Prisma } from './index-42_fqdmi.js';
27
+ export { i as Prisma } from './index-m4sVVdZ6.js';
28
28
  export { i as Utils } from './index-PaojfSdd.js';
29
29
  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';
30
30
  export { i as Export } from './index-B4ciT3OZ.js';
@@ -34,18 +34,18 @@ export { a as Instrumentation } from './index-CXPvdXhS.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-D0tR4rjy.js';
37
+ export { i as FeatureFlags } from './index-ELt2ADCe.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
- export { i as Platform } from './index-lcW5eSTp.js';
39
+ export { i as Platform } from './index-PJZzGd8r.js';
40
40
  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';
41
41
  export { S as ShutdownDisposable, d as disposeAll, g as getRegisteredDisposableCount, r as registerDisposable, u as unregisterDisposable } from './shutdown-registry-CW9LryO8.js';
42
- import './types-DVG_lcsL.js';
42
+ import './types-BeDCdzH9.js';
43
43
  import 'graphql';
44
44
  import 'graphql-yoga';
45
45
  import './client-CCXpAZ2r.js';
46
46
  import '@prisma/adapter-pg';
47
47
  import 'pg';
48
- import './workspace-extension-TquhDEKU.js';
48
+ import './workspace-extension-DxQw6N3b.js';
49
49
  import './types-C8TbSdEj.js';
50
50
  import 'graphql-request';
51
51
  import '@envelop/core';
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  export { TemporalClient, TemporalClientFactory, TemporalModule, TemporalWorker, TemporalWorkerFactory, TemporalWorkerManager } from './chunk-IC7YDBGE.js';
2
2
  import { ActivityModule, UsageModule, TrackerModule } from './chunk-VOJROV6C.js';
3
3
  export { ActivityModule, TrackerModule, UsageModule } from './chunk-VOJROV6C.js';
4
- export { platform_exports as Platform } from './chunk-YCKM7FS7.js';
5
- export { prisma_exports as Prisma } from './chunk-YQ6FYE37.js';
4
+ export { platform_exports as Platform } from './chunk-WCJIZR5Q.js';
5
+ export { prisma_exports as Prisma } from './chunk-RIH3XRBX.js';
6
6
  import { RBACModule } from './chunk-S32JOMMW.js';
7
7
  export { RBACModule, createRBACDirective, createRBACDirectiveForLayer, createRBACDirectiveFromEnv } from './chunk-S32JOMMW.js';
8
- import './chunk-MXLCLLCI.js';
8
+ import './chunk-EJPRCENB.js';
9
9
  export { sharing_exports as Sharing } from './chunk-XD5ZK727.js';
10
10
  export { instrumentation_exports as Instrumentation } from './chunk-ACYGOENW.js';
11
11
  import './chunk-REF7PANB.js';
@@ -13,8 +13,8 @@ export { middleware_exports as Middleware } from './chunk-2HANKZZM.js';
13
13
  import { TenantNotificationsModule, NotificationsModule } from './chunk-TORD32GS.js';
14
14
  export { tenant_notifications_exports as Notifications, NotificationsModule } from './chunk-TORD32GS.js';
15
15
  export { observability_exports as Observability } from './chunk-5LXDPGDH.js';
16
- export { export_exports as Export } from './chunk-PQJ6MN4U.js';
17
- export { feature_flags_exports as FeatureFlags } from './chunk-WM5COTOD.js';
16
+ export { export_exports as Export } from './chunk-ESLJ2732.js';
17
+ export { feature_flags_exports as FeatureFlags } from './chunk-F5SGJ6VS.js';
18
18
  import { GraphModule } from './chunk-7E76FL2C.js';
19
19
  export { graph_exports as Graph, GraphModule } from './chunk-7E76FL2C.js';
20
20
  import './chunk-OCYZEBOL.js';
@@ -26,11 +26,11 @@ export { graphql_exports as GraphQL } from './chunk-UM32ZA3G.js';
26
26
  import './chunk-QLVKMWFA.js';
27
27
  import './chunk-S7LWYERE.js';
28
28
  export { i18n_exports as I18n, createTranslator, getLanguage, getLocale, hasI18n, t } from './chunk-ULFFX3YE.js';
29
- export { init_exports as Init } from './chunk-JCBYU5BE.js';
29
+ export { init_exports as Init } from './chunk-YH6PCW6L.js';
30
30
  export { RESOURCE_CAP_DEFAULTS, ResourceCapExceededError, ResourceCapsModule, configureResourceCaps, getResourceCaps } from './chunk-KUM4N4CO.js';
31
- import { GatewayClient, GatewayError, GatewayErrorType } from './chunk-U77L54IQ.js';
32
- export { gateway_exports as Gateway } from './chunk-U77L54IQ.js';
33
- import './chunk-KKJPFKO5.js';
31
+ import { GatewayClient, GatewayError, GatewayErrorType } from './chunk-ZVZ4RAIH.js';
32
+ export { gateway_exports as Gateway } from './chunk-ZVZ4RAIH.js';
33
+ import './chunk-QMDYY6GJ.js';
34
34
  export { layer_exports as Layer } from './chunk-7UJXIX4I.js';
35
35
  import './chunk-VFCMR5GX.js';
36
36
  import { ContextManager } from './chunk-RZOFS2BQ.js';
@@ -38,7 +38,7 @@ export { ContextManager } from './chunk-RZOFS2BQ.js';
38
38
  import { AuthModule } from './chunk-RXMOV3YE.js';
39
39
  export { AuthModule } from './chunk-RXMOV3YE.js';
40
40
  export { utils_exports as Utils } from './chunk-B7I4TABG.js';
41
- export { cache_exports as Cache } from './chunk-I3ZYYDNN.js';
41
+ export { cache_exports as Cache } from './chunk-IIYIO2GG.js';
42
42
  import { disposeAll } from './chunk-VBXPFYZ5.js';
43
43
  export { lifecycle_exports as Lifecycle, disposeAll, getRegisteredDisposableCount, registerDisposable, unregisterDisposable } from './chunk-VBXPFYZ5.js';
44
44
  export { captcha_exports as Captcha, isCaptchaEnabled, verifyCaptcha, verifyCaptchaIfEnabled } from './chunk-YMZEUTD2.js';
@@ -1,7 +1,7 @@
1
- export { getSDKState, initializeBurdenoffSDK, isSDKInitialized, resetSDK } from '../chunk-JCBYU5BE.js';
1
+ export { getSDKState, initializeBurdenoffSDK, isSDKInitialized, resetSDK } from '../chunk-YH6PCW6L.js';
2
2
  import '../chunk-KUM4N4CO.js';
3
- import '../chunk-U77L54IQ.js';
4
- import '../chunk-KKJPFKO5.js';
3
+ import '../chunk-ZVZ4RAIH.js';
4
+ import '../chunk-QMDYY6GJ.js';
5
5
  import '../chunk-7UJXIX4I.js';
6
6
  import '../chunk-VFCMR5GX.js';
7
7
  import '../chunk-RZOFS2BQ.js';
@@ -1 +1 @@
1
- export { B as BreakerConfig, a as BuildConnectionOptions, C as CacheVersionRedis, b as CircuitBreakerOpenError, c as ClampLimitOptions, d as ConnectionEdge, e as ConnectionResult, f as CursorPaginationInput, g as CursorPayload, h as CursorPayloadValue, D as DEFAULT_GRAPHQL_PAGE_LIMIT, j as DataLoaderLike, k as DropOldOptions, E as EnsureMonthlyOptions, H as HttpClientConfig, l as HttpClientInit, L as LLMProviderAdapter, m as LLMRequest, n as LLMResponse, o as LLMRouter, p as LLMRouterOptions, q as LeaderLockOptions, r as LeaderLockRedis, s as LeaderLockResult, t as LoaderBuilder, u as LoaderMap, M as MAX_GRAPHQL_PAGE_LIMIT, N as NormalizedCursorPagination, v as NormalizedOffsetPagination, O as OffsetPageResult, w as OffsetPaginationInput, P as PageInfo, x as PaginateInput, y as PaginateResult, z as PrismaModelLike, A as PrismaRawClient, R as RateLimitInput, F as RateLimitRedis, G as RateLimitResult, I as ReferenceObject, J as RetryConfig, _ as __resetHttpClientBreakers, K as buildCacheKey, Q as buildConnection, S as buildLoaders, T as buildOffsetPage, U as clampGraphqlLimit, V as clampLimit, W as clampOffset, X as createHttpClient, Y as decodeCursor, Z as dropOldPartitions, $ as encodeCursor, a0 as ensureMonthlyPartitions, a1 as getNamespaceVersion, a2 as httpClient, a3 as invalidateNamespace, a4 as monthlyPartitionName, a5 as normalizeCursorPagination, a6 as normalizeOffsetPagination, a7 as paginate, a8 as rateLimitIncr, a9 as resolveReferenceLoader, aa as toPrismaPage, ab as withLeaderLock } from '../index-lcW5eSTp.js';
1
+ export { B as BreakerConfig, a as BuildConnectionOptions, C as CacheVersionRedis, b as CircuitBreakerOpenError, c as ClampLimitOptions, d as ConnectionEdge, e as ConnectionResult, f as CreateLeaderLeaseOptions, g as CursorPaginationInput, h as CursorPayload, j as CursorPayloadValue, D as DEFAULT_GRAPHQL_PAGE_LIMIT, k as DataLoaderLike, l as DropOldOptions, E as EnsureMonthlyOptions, H as HttpClientConfig, m as HttpClientInit, L as LLMProviderAdapter, n as LLMRequest, o as LLMResponse, p as LLMRouter, q as LLMRouterOptions, r as LeaderLease, s as LeaderLockOptions, t as LeaderLockRedis, u as LeaderLockResult, v as LoaderBuilder, w as LoaderMap, M as MAX_GRAPHQL_PAGE_LIMIT, N as NormalizedCursorPagination, x as NormalizedOffsetPagination, O as OffsetPageResult, y as OffsetPaginationInput, P as PageInfo, z as PaginateInput, A as PaginateResult, F as PrismaModelLike, G as PrismaRawClient, R as RateLimitInput, I as RateLimitRedis, J as RateLimitResult, K as ReferenceObject, Q as RetryConfig, _ as __resetHttpClientBreakers, S as buildCacheKey, T as buildConnection, U as buildLoaders, V as buildOffsetPage, W as clampGraphqlLimit, X as clampLimit, Y as clampOffset, Z as createHttpClient, $ as createLeaderLease, a0 as decodeCursor, a1 as dropOldPartitions, a2 as encodeCursor, a3 as ensureMonthlyPartitions, a4 as getNamespaceVersion, a5 as httpClient, a6 as invalidateNamespace, a7 as monthlyPartitionName, a8 as normalizeCursorPagination, a9 as normalizeOffsetPagination, aa as normalizeRedisUrl, ab as paginate, ac as rateLimitIncr, ad as resolveReferenceLoader, ae as toPrismaPage, af as withLeaderLock } from '../index-PJZzGd8r.js';
@@ -1,4 +1,4 @@
1
- export { CircuitBreakerOpenError, DEFAULT_GRAPHQL_PAGE_LIMIT, LLMRouter, MAX_GRAPHQL_PAGE_LIMIT, __resetHttpClientBreakers, buildCacheKey, buildConnection, buildLoaders, buildOffsetPage, clampGraphqlLimit, clampLimit, clampOffset, createHttpClient, decodeCursor, dropOldPartitions, encodeCursor, ensureMonthlyPartitions, getNamespaceVersion, httpClient, invalidateNamespace, monthlyPartitionName, normalizeCursorPagination, normalizeOffsetPagination, paginate, rateLimitIncr, resolveReferenceLoader, toPrismaPage, withLeaderLock } from '../chunk-YCKM7FS7.js';
1
+ export { CircuitBreakerOpenError, DEFAULT_GRAPHQL_PAGE_LIMIT, LLMRouter, MAX_GRAPHQL_PAGE_LIMIT, __resetHttpClientBreakers, buildCacheKey, buildConnection, buildLoaders, buildOffsetPage, clampGraphqlLimit, clampLimit, clampOffset, createHttpClient, createLeaderLease, decodeCursor, dropOldPartitions, encodeCursor, ensureMonthlyPartitions, getNamespaceVersion, httpClient, invalidateNamespace, monthlyPartitionName, normalizeCursorPagination, normalizeOffsetPagination, normalizeRedisUrl, paginate, rateLimitIncr, resolveReferenceLoader, toPrismaPage, withLeaderLock } from '../chunk-WCJIZR5Q.js';
2
2
  import '../chunk-CBZNP6RF.js';
3
3
  import '../chunk-XE4OXN2W.js';
4
4
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
- export { C as ContextFilterInput, D as DatabaseClient, a as DatabaseClientConfig, F as FieldExtractionOptions, b as FieldExtractionResult, I as InputJsonValue, J as JsonValue, M as ModelFieldsMap, O as OperationContext, P as PoolTuningEnv, c as PrismaJsonFilter, d as buildContextWhereClause, e as buildContextWhereConditions, f as checkDatabaseHealth, g as contextMatches, h as createContextFromSDK, j as createDatabaseClient, k as createDatabaseClientFromEnv, l as extractFieldsFromModel, m as getAllModelNames, n as getDatabaseManager, o as getDatabaseProductName, p as getDatabaseStats, q as getDatabaseVersion, r as getDb, s as getModelFields, t as hasModel, u as initializeDatabase, v as initializeDatabaseWithConfig, w as isDatabaseInitialized, x as loadGeneratedFields, y as mergeContext, z as parseContext, A as resetDatabaseManager, B as resolvePoolTuningFromEnv, E as testConnection, G as toContextJson } from '../index-42_fqdmi.js';
1
+ export { C as ContextFilterInput, D as DatabaseClient, a as DatabaseClientConfig, F as FieldExtractionOptions, b as FieldExtractionResult, I as InputJsonValue, J as JsonValue, M as ModelFieldsMap, O as OperationContext, P as PoolTuningEnv, c as PrismaJsonFilter, d as buildContextWhereClause, e as buildContextWhereConditions, f as checkDatabaseHealth, g as contextMatches, h as createContextFromSDK, j as createDatabaseClient, k as createDatabaseClientFromEnv, l as extractFieldsFromModel, m as getAllModelNames, n as getDatabaseManager, o as getDatabaseProductName, p as getDatabaseStats, q as getDatabaseVersion, r as getDb, s as getModelFields, t as hasModel, u as initializeDatabase, v as initializeDatabaseWithConfig, w as isDatabaseInitialized, x as loadGeneratedFields, y as mergeContext, z as parseContext, A as resetDatabaseManager, B as resolvePoolTuningFromEnv, E as testConnection, G as toContextJson } from '../index-m4sVVdZ6.js';
2
2
  export { C as ConnectionState, d as DatabaseHealth, D as DatabaseReturnType, P as PrismaClientBase, c as PrismaClientConfig, a as PrismaClientConstructorOptions, b as PrismaClientWrapper, e as PrismaEvent, f as PrismaLogDefinition, g as PrismaLogEvent, h as PrismaLogLevel, i as PrismaQueryEvent, j as PrismaTransactionOptions, k as configurePrismaLogging, l as createConnectionPool, m as createPrismaAdapter, n as createPrismaClient, o as ensureServiceApplicationName, p as installAcquireRetry, q as isTransientAcquireError } from '../client-CCXpAZ2r.js';
3
- export { a as WorkspaceContext, W as WorkspaceExtensionConfig, b as addWorkspaceExtension, g as getWorkspaceContext, i as injectWhereWorkspaceId, m as maybeSetRlsGuc, c as maybeTagConnection, s as setWorkspaceContext, w as withWorkspaceContext, d as withWorkspaceContextSync } from '../workspace-extension-TquhDEKU.js';
3
+ export { a as WorkspaceContext, W as WorkspaceExtensionConfig, b as addWorkspaceExtension, g as getWorkspaceContext, i as injectWhereWorkspaceId, m as maybeSetRlsGuc, c as maybeTagConnection, r as runOperationWithRlsGuc, s as setWorkspaceContext, w as withWorkspaceContext, d as withWorkspaceContextSync } from '../workspace-extension-DxQw6N3b.js';
4
4
  import '../prisma-extension-krXnYnrN.js';
5
5
  import '@prisma/adapter-pg';
6
6
  import 'pg';
@@ -1,5 +1,5 @@
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-YQ6FYE37.js';
2
- export { addWorkspaceExtension, getWorkspaceContext, injectWhereWorkspaceId, maybeSetRlsGuc, maybeTagConnection, setWorkspaceContext, withWorkspaceContext, withWorkspaceContextSync } from '../chunk-MXLCLLCI.js';
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-RIH3XRBX.js';
2
+ export { addWorkspaceExtension, getWorkspaceContext, injectWhereWorkspaceId, maybeSetRlsGuc, maybeTagConnection, runOperationWithRlsGuc, setWorkspaceContext, withWorkspaceContext, withWorkspaceContextSync } from '../chunk-EJPRCENB.js';
3
3
  export { PrismaClientWrapper, configurePrismaLogging, createConnectionPool, createPrismaAdapter, createPrismaClient, ensureServiceApplicationName, installAcquireRetry, isTransientAcquireError } from '../chunk-OCYZEBOL.js';
4
4
  import '../chunk-URDYOM2L.js';
5
5
  import '../chunk-JNJSSBKO.js';
@@ -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-DVG_lcsL.js';
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-DVG_lcsL.js';
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-BeDCdzH9.js';
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-BeDCdzH9.js';
3
3
  import * as jose from 'jose';
4
4
  import { VerifyOptions } from 'jsonwebtoken';
5
5
  import { I as I18n } from '../i18n-DrdPTann.js';
@@ -7,7 +7,7 @@ import { GraphQLError } from 'graphql';
7
7
  export { I as I18nContext, L as LocaleCode } from '../types-C8TbSdEj.js';
8
8
  export { P as PrismaClientBase } from '../client-CCXpAZ2r.js';
9
9
  import 'graphql-yoga';
10
- import '../workspace-extension-TquhDEKU.js';
10
+ import '../workspace-extension-DxQw6N3b.js';
11
11
  import '@prisma/adapter-pg';
12
12
  import 'pg';
13
13
 
@@ -1,7 +1,7 @@
1
1
  import { createHumanReadableErrorPlugin, formatHttpError, normalizeGraphQLResponse, createHttpErrorResponse } from '../chunk-OQLDXOZ3.js';
2
2
  export { UserFacingGraphQLError, createHttpErrorResponse, createHumanReadableErrorPlugin, createWorkspaceGuardPlugin, formatHttpError, normalizeError, normalizeExecutionResultErrors, normalizeGraphQLResponse, normalizeGraphQLResponsePayload, toUserFacingGraphQLError } from '../chunk-OQLDXOZ3.js';
3
3
  import { getWorkspaceQuotaRegistry } from '../chunk-32KT5RF2.js';
4
- import { setWorkspaceContext } from '../chunk-MXLCLLCI.js';
4
+ import { setWorkspaceContext } from '../chunk-EJPRCENB.js';
5
5
  import { getMetricsRegistry } from '../chunk-REF7PANB.js';
6
6
  import { I18n } from '../chunk-ULFFX3YE.js';
7
7
  import { ContextManager } from '../chunk-RZOFS2BQ.js';
@@ -1,7 +1,7 @@
1
1
  import { GraphQLSchema } from 'graphql';
2
2
  import { PubSub } from 'graphql-yoga';
3
3
  import { P as PrismaClientBase, a as PrismaClientConstructorOptions } from './client-CCXpAZ2r.js';
4
- import { W as WorkspaceExtensionConfig } from './workspace-extension-TquhDEKU.js';
4
+ import { W as WorkspaceExtensionConfig } from './workspace-extension-DxQw6N3b.js';
5
5
  import { I as I18nContext, L as LocaleCode } from './types-C8TbSdEj.js';
6
6
 
7
7
  interface IActor {
@@ -131,7 +131,7 @@ interface YogaPlugin {
131
131
  onExecuteDone: (args: {
132
132
  result: unknown;
133
133
  }) => void;
134
- } | undefined | void;
134
+ } | Promise<void> | undefined | void;
135
135
  onSubscribe?: (args: {
136
136
  args: unknown;
137
137
  }) => void;
@@ -35,6 +35,14 @@ type RawPrismaForTagging = {
35
35
  };
36
36
  declare function maybeTagConnection(rawPrisma: RawPrismaForTagging, wsCtx: WorkspaceContext): Promise<void>;
37
37
  declare function maybeSetRlsGuc(rawPrisma: RawPrismaForTagging, wsCtx: WorkspaceContext): Promise<void>;
38
+ type PrismaTxForRlsGuc = {
39
+ $executeRawUnsafe: (query: string, ...values: unknown[]) => Promise<number>;
40
+ [modelClientProperty: string]: unknown;
41
+ };
42
+ type RawPrismaForRlsTransaction = {
43
+ $transaction: <TResult>(fn: (tx: PrismaTxForRlsGuc) => Promise<TResult>) => Promise<TResult>;
44
+ };
45
+ declare function runOperationWithRlsGuc<TResult>(rootClient: RawPrismaForRlsTransaction, wsCtx: WorkspaceContext, model: string, operation: string, args: unknown): Promise<TResult>;
38
46
  declare function addWorkspaceExtension<T>(baseClient: T, config?: WorkspaceExtensionConfig): T;
39
47
 
40
- export { type WorkspaceExtensionConfig as W, type WorkspaceContext as a, addWorkspaceExtension as b, maybeTagConnection as c, withWorkspaceContextSync as d, getWorkspaceContext as g, injectWhereWorkspaceId as i, maybeSetRlsGuc as m, setWorkspaceContext as s, withWorkspaceContext as w };
48
+ export { type WorkspaceExtensionConfig as W, type WorkspaceContext as a, addWorkspaceExtension as b, maybeTagConnection as c, withWorkspaceContextSync as d, getWorkspaceContext as g, injectWhereWorkspaceId as i, maybeSetRlsGuc as m, runOperationWithRlsGuc as r, setWorkspaceContext as s, withWorkspaceContext as w };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/be-sdk",
3
- "version": "2026.722.3",
3
+ "version": "2026.725.1",
4
4
  "description": "Backend SDK for Burdenoff products providing unified access to notifications, RBAC, activity tracking, usage monitoring, and more",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",