@burdenoff/be-sdk 2026.529.3 → 2026.601.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.
@@ -0,0 +1,250 @@
1
+ declare enum ShareVisibility {
2
+ PRIVATE = "PRIVATE",
3
+ SHARED_WITH_USERS = "SHARED_WITH_USERS",
4
+ SHARED_WITH_VIBE = "SHARED_WITH_VIBE",
5
+ PUBLIC_LINK = "PUBLIC_LINK"
6
+ }
7
+ declare enum ShareRole {
8
+ VIEWER = "VIEWER",
9
+ COMMENTER = "COMMENTER",
10
+ EDITOR = "EDITOR",
11
+ MANAGER = "MANAGER"
12
+ }
13
+ declare enum ShareStatus {
14
+ PENDING = "PENDING",
15
+ ACCEPTED = "ACCEPTED",
16
+ REVOKED = "REVOKED",
17
+ EXPIRED = "EXPIRED"
18
+ }
19
+ declare const ROLE_ORDER: Record<ShareRole, number>;
20
+ declare function roleAtLeast(role: ShareRole, required: ShareRole): boolean;
21
+ declare function maxRole(a: ShareRole, b: ShareRole): ShareRole;
22
+ interface ShareCapabilities {
23
+ canView: boolean;
24
+ canComment: boolean;
25
+ canEdit: boolean;
26
+ canManage: boolean;
27
+ canExecute: boolean;
28
+ }
29
+ declare const ROLE_CAPABILITIES: Record<ShareRole, ShareCapabilities>;
30
+ declare function capabilitiesFor(role: ShareRole): ShareCapabilities;
31
+ declare const RESOURCE_CAPABILITY_MAP: Record<string, Partial<Record<ShareRole, string>>>;
32
+ declare function roleToLegacy(resourceType: string, role: ShareRole): string;
33
+ declare function legacyToRole(resourceType: string, legacy: string): ShareRole;
34
+ declare function normalizeStatus(status: string): ShareStatus;
35
+ interface ShareGrantRecord {
36
+ id: string;
37
+ workspaceId: string;
38
+ resourceType: string;
39
+ resourceId: string;
40
+ granteeUserId: string | null;
41
+ granteeEmail: string | null;
42
+ role: ShareRole;
43
+ visibility: ShareVisibility;
44
+ status: ShareStatus;
45
+ token: string | null;
46
+ expiresAt: Date | null;
47
+ message: string | null;
48
+ createdBy: string;
49
+ onBehalfOf: string;
50
+ acceptedAt: Date | null;
51
+ acceptedBy: string | null;
52
+ revokedAt: Date | null;
53
+ revokedBy: string | null;
54
+ lastAccessAt: Date | null;
55
+ accessCount: number;
56
+ context: unknown;
57
+ createdAt: Date;
58
+ updatedAt: Date;
59
+ deletedAt: Date | null;
60
+ }
61
+ interface ShareGrantDelegate {
62
+ findFirst(args: {
63
+ where: Record<string, unknown>;
64
+ orderBy?: unknown;
65
+ }): Promise<ShareGrantRecord | null>;
66
+ findMany(args: {
67
+ where: Record<string, unknown>;
68
+ orderBy?: unknown;
69
+ take?: number;
70
+ skip?: number;
71
+ }): Promise<ShareGrantRecord[]>;
72
+ create(args: {
73
+ data: Record<string, unknown>;
74
+ }): Promise<ShareGrantRecord>;
75
+ update(args: {
76
+ where: Record<string, unknown>;
77
+ data: Record<string, unknown>;
78
+ }): Promise<ShareGrantRecord>;
79
+ updateMany(args: {
80
+ where: Record<string, unknown>;
81
+ data: Record<string, unknown>;
82
+ }): Promise<{
83
+ count: number;
84
+ }>;
85
+ count(args: {
86
+ where: Record<string, unknown>;
87
+ }): Promise<number>;
88
+ }
89
+ interface ResourceMeta {
90
+ ownerId: string;
91
+ vibeId: string | null;
92
+ visibility: ShareVisibility;
93
+ name: string;
94
+ }
95
+ interface SendShareEmailArgs {
96
+ recipientEmail: string | null;
97
+ recipientUserId: string | null;
98
+ resourceType: string;
99
+ resourceName: string;
100
+ role: ShareRole;
101
+ acceptUrl: string;
102
+ message: string | null;
103
+ sharerName: string | null;
104
+ idempotencyKey: string;
105
+ }
106
+ interface ShareServiceDeps {
107
+ resolveUserByEmail(email: string): Promise<string | null>;
108
+ isWorkspaceMember(userId: string, workspaceId: string): Promise<boolean | null>;
109
+ hasVibeAccess(actorId: string, vibeId: string, workspaceId: string): Promise<boolean>;
110
+ loadResourceMeta(resourceId: string): Promise<ResourceMeta | null>;
111
+ sendShareEmail(args: SendShareEmailArgs): Promise<void>;
112
+ buildAcceptUrl(token: string): string;
113
+ }
114
+ interface ShareServiceOptions {
115
+ sharedWithVibeRole?: ShareRole;
116
+ requireWorkspaceMember?: boolean;
117
+ }
118
+ interface ShareActor {
119
+ id: string;
120
+ email?: string | null;
121
+ name?: string | null;
122
+ }
123
+ interface CreateUserShareInput {
124
+ resourceId: string;
125
+ granteeEmail: string;
126
+ role: ShareRole;
127
+ message?: string | null;
128
+ expiresAt?: Date | null;
129
+ }
130
+ interface CreateLinkShareInput {
131
+ resourceId: string;
132
+ role: ShareRole;
133
+ expiresAt?: Date | null;
134
+ }
135
+ type AccessVia = 'owner' | 'public_link' | 'vibe' | 'user_grant' | 'none';
136
+ interface AccessResult {
137
+ allowed: boolean;
138
+ effectiveRole: ShareRole | null;
139
+ via: AccessVia;
140
+ }
141
+
142
+ interface ShareServiceConfig {
143
+ prisma: ShareGrantDelegate;
144
+ resourceType: string;
145
+ workspaceId: string;
146
+ deps: ShareServiceDeps;
147
+ options?: ShareServiceOptions;
148
+ }
149
+ declare class ShareService {
150
+ private readonly prisma;
151
+ private readonly resourceType;
152
+ private readonly workspaceId;
153
+ private readonly deps;
154
+ private readonly sharedWithVibeRole;
155
+ private readonly requireWorkspaceMember;
156
+ constructor(config: ShareServiceConfig);
157
+ resolveAccess(actorId: string, resourceId: string): Promise<AccessResult>;
158
+ private queryActiveAccessGrants;
159
+ canAccess(actorId: string, resourceId: string, requiredRole: ShareRole): Promise<boolean>;
160
+ assertAccess(actorId: string, resourceId: string, requiredRole: ShareRole, mode?: 'read' | 'mutate'): Promise<void>;
161
+ createUserShare(actor: ShareActor, input: CreateUserShareInput): Promise<ShareGrantRecord>;
162
+ createLinkShare(actor: ShareActor, input: CreateLinkShareInput): Promise<ShareGrantRecord>;
163
+ acceptShare(token: string, actor: ShareActor): Promise<ShareGrantRecord>;
164
+ declineShare(token: string, actor: ShareActor): Promise<boolean>;
165
+ shareGrantByToken(token: string): Promise<ShareGrantRecord | null>;
166
+ revoke(grantId: string, actor: ShareActor): Promise<ShareGrantRecord>;
167
+ updateRole(grantId: string, role: ShareRole, actor: ShareActor): Promise<ShareGrantRecord>;
168
+ resourceShares(resourceId: string): Promise<ShareGrantRecord[]>;
169
+ sharesSharedWithMe(actorId: string, opts?: {
170
+ resourceType?: string;
171
+ take?: number;
172
+ skip?: number;
173
+ }): Promise<ShareGrantRecord[]>;
174
+ listAccessibleResourceIds(actorId: string): Promise<string[]>;
175
+ listPublicResourceIds(): Promise<string[]>;
176
+ touchAccess(grantId: string): Promise<void>;
177
+ private findActiveByToken;
178
+ private fireShareEmail;
179
+ }
180
+
181
+ declare const SHARE_EMAIL_TEMPLATE_SLUG = "resource-shared";
182
+ declare const RESOURCE_TYPE_LABELS: Record<string, string>;
183
+ declare function resourceTypeLabel(resourceType: string): string;
184
+ declare function roleLabel(role: ShareRole): string;
185
+ declare function buildShareEmailVariables(args: SendShareEmailArgs): Record<string, unknown>;
186
+ interface ShareEmailNotifier {
187
+ sendWithTemplate(input: {
188
+ templateSlug: string;
189
+ variables: Record<string, unknown>;
190
+ recipient: {
191
+ email?: string;
192
+ userId?: string;
193
+ name?: string;
194
+ };
195
+ }): Promise<string>;
196
+ }
197
+ declare function makeSendShareEmail(notifier: ShareEmailNotifier): (args: SendShareEmailArgs) => Promise<void>;
198
+
199
+ declare const SHARE_GRANT_SDL = "\n enum ShareRole {\n VIEWER\n COMMENTER\n EDITOR\n MANAGER\n }\n\n enum ShareGrantVisibility {\n PRIVATE\n SHARED_WITH_USERS\n SHARED_WITH_VIBE\n PUBLIC_LINK\n }\n\n enum ShareGrantStatus {\n PENDING\n ACCEPTED\n REVOKED\n EXPIRED\n }\n\n type ShareCapabilities {\n canView: Boolean!\n canComment: Boolean!\n canEdit: Boolean!\n canManage: Boolean!\n canExecute: Boolean!\n }\n\n type ShareGrant @key(fields: \"id\") {\n id: ID!\n resourceType: String!\n resourceId: ID!\n granteeUserId: ID\n granteeEmail: String\n role: ShareRole!\n visibility: ShareGrantVisibility!\n status: ShareGrantStatus!\n expiresAt: DateTime\n message: String\n createdBy: ID!\n acceptedAt: DateTime\n createdAt: DateTime!\n \"Public accept/link URL (present for invites and public links).\"\n shareUrl: String\n \"Capabilities implied by this grant's role.\"\n capabilities: ShareCapabilities!\n }\n\n type ShareGrantList {\n items: [ShareGrant!]!\n total: Int!\n }\n\n \"Safe, pre-login preview of a share invitation.\"\n type ShareGrantPreview {\n id: ID!\n resourceType: String!\n resourceName: String\n role: ShareRole!\n visibility: ShareGrantVisibility!\n status: ShareGrantStatus!\n sharerName: String\n expiresAt: DateTime\n }\n\n input ShareEntityInput {\n resourceId: ID!\n email: String!\n role: ShareRole!\n message: String\n expiresAt: DateTime\n }\n\n input UpdateShareRoleInput {\n resourceId: ID!\n shareId: ID!\n role: ShareRole!\n }\n\n input RevokeShareInput {\n resourceId: ID!\n shareId: ID!\n }\n\n input CreateShareLinkInput {\n resourceId: ID!\n role: ShareRole!\n expiresAt: DateTime\n }\n\n extend type Query {\n \"Pre-login preview of a share invite by token.\"\n shareGrantByToken(token: String!): ShareGrantPreview @rbac(public: true)\n \"Grants where the current user is the accepted grantee.\"\n sharesSharedWithMe(resourceType: String, pagination: PaginationInput): ShareGrantList! @rbac(scopeType: \"self\")\n }\n\n extend type Mutation {\n \"Accept a share invitation (recipient identified by the opaque token + email/id).\"\n acceptShare(token: String!): ShareGrant! @rbac(public: true)\n \"Decline a share invitation.\"\n declineShare(token: String!): Boolean! @rbac(public: true)\n }\n";
200
+ declare function buildPerEntityShareSdl(entity: string, rbacResource: string): string;
201
+
202
+ declare const SHARE_GRANT_PRISMA = "\nenum ShareRole {\n VIEWER\n COMMENTER\n EDITOR\n MANAGER\n}\n\nenum ShareGrantVisibility {\n PRIVATE\n SHARED_WITH_USERS\n SHARED_WITH_VIBE\n PUBLIC_LINK\n}\n\nenum ShareGrantStatus {\n PENDING\n ACCEPTED\n REVOKED\n EXPIRED\n}\n\n/// Generic resource share grant. `resourceType` discriminates the entity; one\n/// row per (resource, recipient) or per public link. See @burdenoff/be-sdk/sharing.\nmodel ShareGrant {\n id String @id @default(uuid())\n workspaceId String @map(\"workspace_id\") @db.VarChar(255)\n resourceType String @map(\"resource_type\") @db.VarChar(64)\n resourceId String @map(\"resource_id\") @db.VarChar(255)\n granteeUserId String? @map(\"grantee_user_id\") @db.VarChar(255)\n granteeEmail String? @map(\"grantee_email\") @db.VarChar(320)\n role ShareRole @default(VIEWER)\n visibility ShareGrantVisibility @default(SHARED_WITH_USERS)\n status ShareGrantStatus @default(PENDING)\n token String? @unique @db.VarChar(64)\n expiresAt DateTime? @map(\"expires_at\")\n message String? @db.Text\n createdBy String @map(\"created_by\") @db.VarChar(255)\n onBehalfOf String @map(\"on_behalf_of\") @db.VarChar(255)\n acceptedAt DateTime? @map(\"accepted_at\")\n acceptedBy String? @map(\"accepted_by\") @db.VarChar(255)\n revokedAt DateTime? @map(\"revoked_at\")\n revokedBy String? @map(\"revoked_by\") @db.VarChar(255)\n lastAccessAt DateTime? @map(\"last_access_at\")\n accessCount Int @default(0) @map(\"access_count\")\n context Json?\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n deletedAt DateTime? @map(\"deleted_at\")\n\n @@index([workspaceId])\n @@index([resourceType, resourceId])\n @@index([granteeUserId])\n @@index([granteeEmail])\n @@index([status])\n @@index([expiresAt])\n @@index([resourceType, resourceId, status])\n @@map(\"share_grants\")\n}\n";
203
+ declare const SHARE_GRANT_PARTIAL_UNIQUE_SQL = "\nCREATE UNIQUE INDEX IF NOT EXISTS share_grants_active_user_uq\n ON share_grants (resource_type, resource_id, grantee_user_id)\n WHERE status IN ('PENDING', 'ACCEPTED') AND deleted_at IS NULL AND grantee_user_id IS NOT NULL;\n";
204
+
205
+ type index_AccessResult = AccessResult;
206
+ type index_AccessVia = AccessVia;
207
+ type index_CreateLinkShareInput = CreateLinkShareInput;
208
+ type index_CreateUserShareInput = CreateUserShareInput;
209
+ declare const index_RESOURCE_CAPABILITY_MAP: typeof RESOURCE_CAPABILITY_MAP;
210
+ declare const index_RESOURCE_TYPE_LABELS: typeof RESOURCE_TYPE_LABELS;
211
+ declare const index_ROLE_CAPABILITIES: typeof ROLE_CAPABILITIES;
212
+ declare const index_ROLE_ORDER: typeof ROLE_ORDER;
213
+ type index_ResourceMeta = ResourceMeta;
214
+ declare const index_SHARE_EMAIL_TEMPLATE_SLUG: typeof SHARE_EMAIL_TEMPLATE_SLUG;
215
+ declare const index_SHARE_GRANT_PARTIAL_UNIQUE_SQL: typeof SHARE_GRANT_PARTIAL_UNIQUE_SQL;
216
+ declare const index_SHARE_GRANT_PRISMA: typeof SHARE_GRANT_PRISMA;
217
+ declare const index_SHARE_GRANT_SDL: typeof SHARE_GRANT_SDL;
218
+ type index_SendShareEmailArgs = SendShareEmailArgs;
219
+ type index_ShareActor = ShareActor;
220
+ type index_ShareCapabilities = ShareCapabilities;
221
+ type index_ShareEmailNotifier = ShareEmailNotifier;
222
+ type index_ShareGrantDelegate = ShareGrantDelegate;
223
+ type index_ShareGrantRecord = ShareGrantRecord;
224
+ type index_ShareRole = ShareRole;
225
+ declare const index_ShareRole: typeof ShareRole;
226
+ type index_ShareService = ShareService;
227
+ declare const index_ShareService: typeof ShareService;
228
+ type index_ShareServiceConfig = ShareServiceConfig;
229
+ type index_ShareServiceDeps = ShareServiceDeps;
230
+ type index_ShareServiceOptions = ShareServiceOptions;
231
+ type index_ShareStatus = ShareStatus;
232
+ declare const index_ShareStatus: typeof ShareStatus;
233
+ type index_ShareVisibility = ShareVisibility;
234
+ declare const index_ShareVisibility: typeof ShareVisibility;
235
+ declare const index_buildPerEntityShareSdl: typeof buildPerEntityShareSdl;
236
+ declare const index_buildShareEmailVariables: typeof buildShareEmailVariables;
237
+ declare const index_capabilitiesFor: typeof capabilitiesFor;
238
+ declare const index_legacyToRole: typeof legacyToRole;
239
+ declare const index_makeSendShareEmail: typeof makeSendShareEmail;
240
+ declare const index_maxRole: typeof maxRole;
241
+ declare const index_normalizeStatus: typeof normalizeStatus;
242
+ declare const index_resourceTypeLabel: typeof resourceTypeLabel;
243
+ declare const index_roleAtLeast: typeof roleAtLeast;
244
+ declare const index_roleLabel: typeof roleLabel;
245
+ declare const index_roleToLegacy: typeof roleToLegacy;
246
+ declare namespace index {
247
+ export { type index_AccessResult as AccessResult, type index_AccessVia as AccessVia, type index_CreateLinkShareInput as CreateLinkShareInput, type index_CreateUserShareInput as CreateUserShareInput, index_RESOURCE_CAPABILITY_MAP as RESOURCE_CAPABILITY_MAP, index_RESOURCE_TYPE_LABELS as RESOURCE_TYPE_LABELS, index_ROLE_CAPABILITIES as ROLE_CAPABILITIES, index_ROLE_ORDER as ROLE_ORDER, type index_ResourceMeta as ResourceMeta, index_SHARE_EMAIL_TEMPLATE_SLUG as SHARE_EMAIL_TEMPLATE_SLUG, index_SHARE_GRANT_PARTIAL_UNIQUE_SQL as SHARE_GRANT_PARTIAL_UNIQUE_SQL, index_SHARE_GRANT_PRISMA as SHARE_GRANT_PRISMA, index_SHARE_GRANT_SDL as SHARE_GRANT_SDL, type index_SendShareEmailArgs as SendShareEmailArgs, type index_ShareActor as ShareActor, type index_ShareCapabilities as ShareCapabilities, type index_ShareEmailNotifier as ShareEmailNotifier, type index_ShareGrantDelegate as ShareGrantDelegate, type index_ShareGrantRecord as ShareGrantRecord, index_ShareRole as ShareRole, index_ShareService as ShareService, type index_ShareServiceConfig as ShareServiceConfig, type index_ShareServiceDeps as ShareServiceDeps, type index_ShareServiceOptions as ShareServiceOptions, index_ShareStatus as ShareStatus, index_ShareVisibility as ShareVisibility, index_buildPerEntityShareSdl as buildPerEntityShareSdl, index_buildShareEmailVariables as buildShareEmailVariables, index_capabilitiesFor as capabilitiesFor, index_legacyToRole as legacyToRole, index_makeSendShareEmail as makeSendShareEmail, index_maxRole as maxRole, index_normalizeStatus as normalizeStatus, index_resourceTypeLabel as resourceTypeLabel, index_roleAtLeast as roleAtLeast, index_roleLabel as roleLabel, index_roleToLegacy as roleToLegacy };
248
+ }
249
+
250
+ export { type AccessResult as A, legacyToRole as B, type CreateLinkShareInput as C, makeSendShareEmail as D, maxRole as E, normalizeStatus as F, resourceTypeLabel as G, roleAtLeast as H, roleLabel as I, roleToLegacy as J, RESOURCE_CAPABILITY_MAP as R, SHARE_EMAIL_TEMPLATE_SLUG as S, type AccessVia as a, type CreateUserShareInput as b, RESOURCE_TYPE_LABELS as c, ROLE_CAPABILITIES as d, ROLE_ORDER as e, type ResourceMeta as f, SHARE_GRANT_PARTIAL_UNIQUE_SQL as g, SHARE_GRANT_PRISMA as h, index as i, SHARE_GRANT_SDL as j, type SendShareEmailArgs as k, type ShareActor as l, type ShareCapabilities as m, type ShareEmailNotifier as n, type ShareGrantDelegate as o, type ShareGrantRecord as p, ShareRole as q, ShareService as r, type ShareServiceConfig as s, type ShareServiceDeps as t, type ShareServiceOptions as u, ShareStatus as v, ShareVisibility as w, buildPerEntityShareSdl as x, buildShareEmailVariables as y, capabilitiesFor as z };
package/dist/index.d.ts CHANGED
@@ -18,13 +18,14 @@ 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
+ export { i as Sharing } from './index-kssw5ziY.js';
21
22
  export { i as Cache } from './index-cnFnfIjk.js';
22
23
  export { i as Middleware } from './index-DSOpj8DI.js';
23
24
  export { i as Observability } from './index-4gKQKZ2B.js';
24
25
  export { i as GraphQL } from './index-joONjwLt.js';
25
26
  export { i as Prisma } from './index-Dtf6FBaD.js';
26
27
  export { i as Utils } from './index-PaojfSdd.js';
27
- export { i as I18n, I as I18nCapableContext, T as Translator, c as createTranslator, g as getLanguage, a as getLocale, h as hasI18n, t } from './index-BV3G48cH.js';
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';
28
29
  export { i as Export } from './index-Dg4kH1VJ.js';
29
30
  export { i as Init } from './index-BqSh1K8I.js';
30
31
  export { i as DataLoader } from './index-DW9q22GH.js';
@@ -36,23 +37,25 @@ export { i as FeatureFlags } from './index-jOuh_TKn.js';
36
37
  export { i as Captcha, R as RecaptchaVerifyOptions, a as RecaptchaVerifyResult, b as isCaptchaEnabled, v as verifyCaptcha, c as verifyCaptchaIfEnabled } from './index-B70b5mYS.js';
37
38
  export { i as Platform } from './index-BQ1yJn1K.js';
38
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-CUu_cZ7d.js';
40
+ import './types-sKXodL2N.js';
41
+ import 'graphql';
42
+ import 'graphql-yoga';
43
+ import './client-CSjIrYKS.js';
44
+ import '@prisma/adapter-pg';
45
+ import 'pg';
46
+ import './types-C8TbSdEj.js';
39
47
  import 'graphql-request';
40
48
  import '@envelop/core';
41
49
  import '@clickhouse/client';
42
50
  import './graph-emitter-r5TylDBm.js';
43
- import './client-CSjIrYKS.js';
44
- import '@prisma/adapter-pg';
45
- import 'pg';
46
51
  import './prisma-extension-krXnYnrN.js';
47
52
  import '@temporalio/client';
48
53
  import '@temporalio/common';
49
- import 'graphql';
50
54
  import 'elysia';
51
55
  import './types-Bo2wkjSP.js';
52
56
  import './graphql/services/index.js';
53
- import './i18n-DA6IPnYy.js';
57
+ import './i18n-DrdPTann.js';
54
58
  import './index-UhkH2eaB.js';
55
- import 'graphql-yoga';
56
59
 
57
60
  declare class ContextManager {
58
61
  static getContext(): SDKContext | undefined;
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- export { prisma_exports as Prisma } from './chunk-54BMP5OJ.js';
1
+ export { platform_exports as Platform } from './chunk-PHKK7725.js';
2
2
  export { RESOURCE_CAP_DEFAULTS, ResourceCapExceededError, ResourceCapsModule, getResourceCaps } from './chunk-VDDOGIWY.js';
3
- import './chunk-GTEMQXCA.js';
3
+ export { sharing_exports as Sharing } from './chunk-DVAZQEOL.js';
4
4
  export { TemporalClient, TemporalClientFactory, TemporalModule, TemporalWorker, TemporalWorkerFactory, TemporalWorkerManager } from './chunk-5SD7DU3L.js';
5
5
  import { ActivityModule, UsageModule, TrackerModule } from './chunk-PPIDJP2W.js';
6
6
  export { ActivityModule, TrackerModule, UsageModule } from './chunk-PPIDJP2W.js';
@@ -12,7 +12,8 @@ export { middleware_exports as Middleware } from './chunk-2HANKZZM.js';
12
12
  import { TenantNotificationsModule, NotificationsModule } from './chunk-RMDKB5O7.js';
13
13
  export { tenant_notifications_exports as Notifications, NotificationsModule } from './chunk-RMDKB5O7.js';
14
14
  export { observability_exports as Observability } from './chunk-5LXDPGDH.js';
15
- export { platform_exports as Platform } from './chunk-PHKK7725.js';
15
+ export { prisma_exports as Prisma } from './chunk-54BMP5OJ.js';
16
+ import './chunk-GTEMQXCA.js';
16
17
  export { export_exports as Export } from './chunk-SVONGBQR.js';
17
18
  export { feature_flags_exports as FeatureFlags } from './chunk-VWCN5PMD.js';
18
19
  import { GraphModule } from './chunk-TGTJ653K.js';
@@ -30,8 +31,8 @@ export { init_exports as Init } from './chunk-2BG75H2K.js';
30
31
  export { gateway_exports as Gateway } from './chunk-DMPS4Y53.js';
31
32
  import './chunk-LD7ETTWG.js';
32
33
  export { layer_exports as Layer } from './chunk-GSEPF2B6.js';
33
- import { AuthModule } from './chunk-7NUQXGA7.js';
34
- export { AuthModule } from './chunk-7NUQXGA7.js';
34
+ import { AuthModule } from './chunk-KKCC3Z4I.js';
35
+ export { AuthModule } from './chunk-KKCC3Z4I.js';
35
36
  export { utils_exports as Utils } from './chunk-B7I4TABG.js';
36
37
  export { cache_exports as Cache } from './chunk-PDSV3TFO.js';
37
38
  export { captcha_exports as Captcha, isCaptchaEnabled, verifyCaptcha, verifyCaptchaIfEnabled } from './chunk-YMZEUTD2.js';