@burdenoff/be-sdk 2026.1021.4 → 2026.1021.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/README.md +50 -0
- package/dist/chunk-4UABBBB4.js +21 -0
- package/dist/chunk-4UABBBB4.js.map +1 -0
- package/dist/{chunk-TNYNRKLQ.js → chunk-CJS6KURB.js} +3 -3
- package/dist/{chunk-TNYNRKLQ.js.map → chunk-CJS6KURB.js.map} +1 -1
- package/dist/{chunk-GSIJ2DBJ.js → chunk-V7QNQN7Y.js} +3 -3
- package/dist/{chunk-GSIJ2DBJ.js.map → chunk-V7QNQN7Y.js.map} +1 -1
- package/dist/{chunk-2TTE5KSS.js → chunk-VBUUEOHC.js} +4 -18
- package/dist/chunk-VBUUEOHC.js.map +1 -0
- package/dist/chunk-XUXSX5UX.js +941 -0
- package/dist/chunk-XUXSX5UX.js.map +1 -0
- package/dist/client-X4PGGWPO.js +10 -0
- package/dist/client-X4PGGWPO.js.map +1 -0
- package/dist/export/index.js +3 -2
- package/dist/gateway/index.d.ts +2 -1
- package/dist/gateway/index.js +2 -1
- package/dist/graph/index.js +1 -1
- package/dist/index-BWhuZl8f.d.ts +59 -0
- package/dist/index-C_t30VyQ.d.ts +284 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.js +10 -9
- package/dist/index.js.map +1 -1
- package/dist/init/index.js +3 -2
- package/dist/tags/index.d.ts +3 -0
- package/dist/tags/index.js +5 -0
- package/dist/tags/index.js.map +1 -0
- package/dist/types-B376RbyK.d.ts +108 -0
- package/package.json +3 -3
- package/dist/chunk-2TTE5KSS.js.map +0 -1
- package/dist/index-Dy6neH2G.d.ts +0 -166
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
import { a as GraphQLRequestOptions, b as GraphQLResponse } from './types-B376RbyK.js';
|
|
2
|
+
|
|
3
|
+
declare const TAG_ACTOR_TYPES: readonly ["user", "app", "service", "super_admin"];
|
|
4
|
+
type TagActorType = (typeof TAG_ACTOR_TYPES)[number];
|
|
5
|
+
interface TagActor {
|
|
6
|
+
actorId: string;
|
|
7
|
+
workspaceId: string;
|
|
8
|
+
actorType?: TagActorType;
|
|
9
|
+
}
|
|
10
|
+
declare const TAG_ASSIGNMENT_SOURCES: readonly ["AUTOMATIC", "COMPUTED", "IMPORTED", "INHERITED", "MANUAL", "MIGRATED"];
|
|
11
|
+
type TagAssignmentSource = (typeof TAG_ASSIGNMENT_SOURCES)[number];
|
|
12
|
+
interface RawTagAssignment {
|
|
13
|
+
id: string;
|
|
14
|
+
tagId: string;
|
|
15
|
+
entityType: string;
|
|
16
|
+
entityId: string;
|
|
17
|
+
source: string;
|
|
18
|
+
assignedById?: string | null;
|
|
19
|
+
createdAt?: string | null;
|
|
20
|
+
validFrom?: string | null;
|
|
21
|
+
validTo?: string | null;
|
|
22
|
+
metadata?: unknown;
|
|
23
|
+
tag?: {
|
|
24
|
+
id: string;
|
|
25
|
+
key?: string | null;
|
|
26
|
+
label?: string | null;
|
|
27
|
+
color?: string | null;
|
|
28
|
+
} | null;
|
|
29
|
+
}
|
|
30
|
+
interface EntityTagInfo {
|
|
31
|
+
id: string;
|
|
32
|
+
key: string | null;
|
|
33
|
+
label: string | null;
|
|
34
|
+
color: string | null;
|
|
35
|
+
}
|
|
36
|
+
interface EntityTagAssignment {
|
|
37
|
+
id: string;
|
|
38
|
+
tagId: string;
|
|
39
|
+
tag: {
|
|
40
|
+
id: string;
|
|
41
|
+
} | null;
|
|
42
|
+
tagInfo: EntityTagInfo | null;
|
|
43
|
+
entityType: string;
|
|
44
|
+
entityId: string;
|
|
45
|
+
source: string;
|
|
46
|
+
assignedBy: string | null;
|
|
47
|
+
assignedAt: Date | null;
|
|
48
|
+
validFrom: Date | null;
|
|
49
|
+
validTo: Date | null;
|
|
50
|
+
metadata: unknown;
|
|
51
|
+
}
|
|
52
|
+
interface AvailableTag {
|
|
53
|
+
id: string;
|
|
54
|
+
key: string;
|
|
55
|
+
label: string;
|
|
56
|
+
color: string | null;
|
|
57
|
+
}
|
|
58
|
+
interface TagVocabularyRef {
|
|
59
|
+
id: string;
|
|
60
|
+
key: string;
|
|
61
|
+
name: string;
|
|
62
|
+
}
|
|
63
|
+
interface TagVocabularyConfig {
|
|
64
|
+
key: string;
|
|
65
|
+
name: string;
|
|
66
|
+
description?: string;
|
|
67
|
+
id?: string;
|
|
68
|
+
}
|
|
69
|
+
interface TagEntityOptions {
|
|
70
|
+
tagId: string;
|
|
71
|
+
source?: string | null;
|
|
72
|
+
validFrom?: Date | null;
|
|
73
|
+
validTo?: Date | null;
|
|
74
|
+
metadata?: Record<string, unknown> | null;
|
|
75
|
+
}
|
|
76
|
+
interface CreateTagOptions {
|
|
77
|
+
label: string;
|
|
78
|
+
color?: string | null;
|
|
79
|
+
vocabularyId?: string | null;
|
|
80
|
+
}
|
|
81
|
+
interface FindEntitiesByTagsOptions {
|
|
82
|
+
matchAll?: boolean;
|
|
83
|
+
limit?: number | null;
|
|
84
|
+
cursor?: string | null;
|
|
85
|
+
}
|
|
86
|
+
interface TaggedEntityPage {
|
|
87
|
+
entityIds: string[];
|
|
88
|
+
total: number;
|
|
89
|
+
hasMore: boolean;
|
|
90
|
+
nextCursor: string | null;
|
|
91
|
+
}
|
|
92
|
+
interface TagsGatewayClient {
|
|
93
|
+
internalQuery<T = unknown>(options: GraphQLRequestOptions): Promise<GraphQLResponse<T>>;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
type EntityTagsErrorCode = 'INVALID_ENTITY_TYPE' | 'INVALID_SOURCE' | 'INVALID_INPUT' | 'MISSING_CONTEXT' | 'UPSTREAM_ERROR' | 'CONFIGURATION_ERROR';
|
|
97
|
+
declare const ENTITY_TAGS_GRAPHQL_CODES: Record<EntityTagsErrorCode, string>;
|
|
98
|
+
declare class EntityTagsError extends Error {
|
|
99
|
+
readonly code: EntityTagsErrorCode;
|
|
100
|
+
readonly details: Record<string, unknown>;
|
|
101
|
+
constructor(code: EntityTagsErrorCode, message: string, details?: Record<string, unknown>);
|
|
102
|
+
get graphqlCode(): string;
|
|
103
|
+
}
|
|
104
|
+
declare function isEntityTagsError(error: unknown): error is EntityTagsError;
|
|
105
|
+
|
|
106
|
+
interface EntityTagsFieldNames {
|
|
107
|
+
entityTags: string;
|
|
108
|
+
searchTags: string;
|
|
109
|
+
availableTags: string;
|
|
110
|
+
entitiesByTags: string;
|
|
111
|
+
tagEntity: string;
|
|
112
|
+
untagEntity: string;
|
|
113
|
+
replaceEntityTags: string;
|
|
114
|
+
createTag: string;
|
|
115
|
+
}
|
|
116
|
+
interface EntityTagsTypeNames {
|
|
117
|
+
getEntityTagsInput: string;
|
|
118
|
+
tagEntityInput: string;
|
|
119
|
+
untagEntityInput: string;
|
|
120
|
+
replaceEntityTagsInput: string;
|
|
121
|
+
createTagInput: string;
|
|
122
|
+
entitiesByTagsInput: string;
|
|
123
|
+
tagInfo: string;
|
|
124
|
+
tagAssignment: string;
|
|
125
|
+
availableTag: string;
|
|
126
|
+
taggedEntityPage: string;
|
|
127
|
+
}
|
|
128
|
+
declare function assertTagPrefix(prefix: string): void;
|
|
129
|
+
declare function entityTagsFieldNames(prefix: string): EntityTagsFieldNames;
|
|
130
|
+
declare function entityTagsTypeNames(prefix: string, overrides?: Partial<EntityTagsTypeNames>): EntityTagsTypeNames;
|
|
131
|
+
|
|
132
|
+
interface TagsGatewayAdapterOptions {
|
|
133
|
+
entityTypes: readonly string[];
|
|
134
|
+
vocabulary: TagVocabularyConfig;
|
|
135
|
+
defaultSource?: TagAssignmentSource;
|
|
136
|
+
client?: TagsGatewayClient | (() => TagsGatewayClient | Promise<TagsGatewayClient>);
|
|
137
|
+
serviceName?: string;
|
|
138
|
+
requestTimeoutMs?: number;
|
|
139
|
+
}
|
|
140
|
+
declare function slugifyTagKey(label: string): string;
|
|
141
|
+
declare function mapTagAssignment(raw: RawTagAssignment): EntityTagAssignment;
|
|
142
|
+
declare class TagsGatewayAdapter {
|
|
143
|
+
readonly entityTypes: readonly string[];
|
|
144
|
+
readonly vocabulary: Readonly<TagVocabularyConfig>;
|
|
145
|
+
readonly defaultSource: TagAssignmentSource;
|
|
146
|
+
private readonly entityTypeSet;
|
|
147
|
+
private readonly requestTimeoutMs;
|
|
148
|
+
private readonly clientOption;
|
|
149
|
+
private readonly serviceName;
|
|
150
|
+
private clientPromise;
|
|
151
|
+
constructor(options: TagsGatewayAdapterOptions);
|
|
152
|
+
isValidEntityType(entityType: string): boolean;
|
|
153
|
+
assertEntityType(entityType: string): void;
|
|
154
|
+
resolveSource(source: string | null | undefined): TagAssignmentSource;
|
|
155
|
+
getEntityTags(entityType: string, entityId: string, actor: TagActor): Promise<EntityTagAssignment[]>;
|
|
156
|
+
tagEntity(entityType: string, entityId: string, options: TagEntityOptions, actor: TagActor): Promise<EntityTagAssignment>;
|
|
157
|
+
untagEntity(entityType: string, entityId: string, tagId: string, actor: TagActor): Promise<boolean>;
|
|
158
|
+
replaceEntityTags(entityType: string, entityId: string, tagIds: readonly string[], actor: TagActor): Promise<EntityTagAssignment[]>;
|
|
159
|
+
findEntityIdsByTags(entityType: string, tagIds: readonly string[], actor: TagActor, options?: FindEntitiesByTagsOptions): Promise<TaggedEntityPage>;
|
|
160
|
+
searchTags(query: string, actor: TagActor, limit?: number | null): Promise<AvailableTag[]>;
|
|
161
|
+
getAvailableTags(actor: TagActor, limit?: number | null): Promise<AvailableTag[]>;
|
|
162
|
+
createTag(options: CreateTagOptions, actor: TagActor): Promise<AvailableTag>;
|
|
163
|
+
ensureWorkspaceVocabulary(actor: TagActor, override?: Partial<TagVocabularyConfig>): Promise<string>;
|
|
164
|
+
getVocabularyById(id: string, actor: TagActor): Promise<TagVocabularyRef | null>;
|
|
165
|
+
getVocabularyByKey(key: string, actor: TagActor): Promise<TagVocabularyRef | null>;
|
|
166
|
+
createVocabulary(vocabulary: TagVocabularyConfig, actor: TagActor): Promise<TagVocabularyRef | null>;
|
|
167
|
+
private requireActor;
|
|
168
|
+
private getClient;
|
|
169
|
+
private request;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
interface EntityTagsRbacOptions {
|
|
173
|
+
resource: string;
|
|
174
|
+
scopeType?: string;
|
|
175
|
+
readAction?: string;
|
|
176
|
+
updateAction?: string;
|
|
177
|
+
createAction?: string;
|
|
178
|
+
}
|
|
179
|
+
interface EntityTagsSdlOptions {
|
|
180
|
+
prefix: string;
|
|
181
|
+
productLabel?: string;
|
|
182
|
+
rbac: EntityTagsRbacOptions;
|
|
183
|
+
extendTypes?: readonly string[];
|
|
184
|
+
typeNames?: Partial<EntityTagsTypeNames>;
|
|
185
|
+
externalTypes?: readonly (keyof EntityTagsTypeNames)[];
|
|
186
|
+
includeEntitiesByTags?: boolean;
|
|
187
|
+
includeUniversalTagStub?: boolean;
|
|
188
|
+
}
|
|
189
|
+
declare const UNIVERSAL_TAG_STUB_SDL = "\n \"UniversalTag is owned by wspace-tags-svc; only its key is resolvable here.\"\n type UniversalTag @key(fields: \"id\", resolvable: false) {\n id: ID!\n }\n";
|
|
190
|
+
declare function buildEntityTagsSdl(options: EntityTagsSdlOptions): string;
|
|
191
|
+
|
|
192
|
+
interface EntityTagBinding {
|
|
193
|
+
entityType: string;
|
|
194
|
+
entityId?: (parent: Record<string, unknown>) => string | null | undefined;
|
|
195
|
+
}
|
|
196
|
+
type EntityTagOperation = 'tag' | 'untag' | 'replace' | 'createTag';
|
|
197
|
+
interface EntityTagMutationEvent {
|
|
198
|
+
operation: EntityTagOperation;
|
|
199
|
+
fieldName: string;
|
|
200
|
+
actor: TagActor;
|
|
201
|
+
entityType?: string;
|
|
202
|
+
entityId?: string;
|
|
203
|
+
tagId?: string;
|
|
204
|
+
tagIds?: string[];
|
|
205
|
+
source?: string;
|
|
206
|
+
tag?: AvailableTag;
|
|
207
|
+
vocabularyId?: string;
|
|
208
|
+
}
|
|
209
|
+
interface EntityTagAccessCheck {
|
|
210
|
+
entityType: string;
|
|
211
|
+
entityId: string;
|
|
212
|
+
access: 'read' | 'write';
|
|
213
|
+
actor: TagActor;
|
|
214
|
+
}
|
|
215
|
+
interface CreateEntityTagResolversOptions<TContext> {
|
|
216
|
+
prefix: string;
|
|
217
|
+
adapter: TagsGatewayAdapter;
|
|
218
|
+
entities?: Readonly<Record<string, EntityTagBinding>>;
|
|
219
|
+
getActor?: (context: TContext) => TagActor;
|
|
220
|
+
authorizeEntity?: (check: EntityTagAccessCheck, context: TContext) => void | Promise<void>;
|
|
221
|
+
onMutation?: (event: EntityTagMutationEvent, context: TContext) => void | Promise<void>;
|
|
222
|
+
mapError?: (error: EntityTagsError, context: TContext) => Error;
|
|
223
|
+
includeEntitiesByTags?: boolean;
|
|
224
|
+
}
|
|
225
|
+
type Resolver<TArgs, TResult, TContext> = (parent: unknown, args: TArgs, context: TContext) => Promise<TResult>;
|
|
226
|
+
type TagAssignmentsResolver<TContext> = (parent: Record<string, unknown>, args: unknown, context: TContext) => Promise<EntityTagAssignment[]>;
|
|
227
|
+
interface EntityTagResolvers<TContext> {
|
|
228
|
+
Query: Record<string, Resolver<never, unknown, TContext>>;
|
|
229
|
+
Mutation: Record<string, Resolver<never, unknown, TContext>>;
|
|
230
|
+
types: Record<string, {
|
|
231
|
+
tagAssignments: TagAssignmentsResolver<TContext>;
|
|
232
|
+
}>;
|
|
233
|
+
}
|
|
234
|
+
declare function defaultTagActor(context: unknown): TagActor;
|
|
235
|
+
declare function createEntityTagResolvers<TContext>(options: CreateEntityTagResolversOptions<TContext>): EntityTagResolvers<TContext>;
|
|
236
|
+
|
|
237
|
+
type index_AvailableTag = AvailableTag;
|
|
238
|
+
type index_CreateEntityTagResolversOptions<TContext> = CreateEntityTagResolversOptions<TContext>;
|
|
239
|
+
type index_CreateTagOptions = CreateTagOptions;
|
|
240
|
+
declare const index_ENTITY_TAGS_GRAPHQL_CODES: typeof ENTITY_TAGS_GRAPHQL_CODES;
|
|
241
|
+
type index_EntityTagAccessCheck = EntityTagAccessCheck;
|
|
242
|
+
type index_EntityTagAssignment = EntityTagAssignment;
|
|
243
|
+
type index_EntityTagBinding = EntityTagBinding;
|
|
244
|
+
type index_EntityTagInfo = EntityTagInfo;
|
|
245
|
+
type index_EntityTagMutationEvent = EntityTagMutationEvent;
|
|
246
|
+
type index_EntityTagOperation = EntityTagOperation;
|
|
247
|
+
type index_EntityTagResolvers<TContext> = EntityTagResolvers<TContext>;
|
|
248
|
+
type index_EntityTagsError = EntityTagsError;
|
|
249
|
+
declare const index_EntityTagsError: typeof EntityTagsError;
|
|
250
|
+
type index_EntityTagsErrorCode = EntityTagsErrorCode;
|
|
251
|
+
type index_EntityTagsFieldNames = EntityTagsFieldNames;
|
|
252
|
+
type index_EntityTagsRbacOptions = EntityTagsRbacOptions;
|
|
253
|
+
type index_EntityTagsSdlOptions = EntityTagsSdlOptions;
|
|
254
|
+
type index_EntityTagsTypeNames = EntityTagsTypeNames;
|
|
255
|
+
type index_FindEntitiesByTagsOptions = FindEntitiesByTagsOptions;
|
|
256
|
+
type index_RawTagAssignment = RawTagAssignment;
|
|
257
|
+
declare const index_TAG_ACTOR_TYPES: typeof TAG_ACTOR_TYPES;
|
|
258
|
+
declare const index_TAG_ASSIGNMENT_SOURCES: typeof TAG_ASSIGNMENT_SOURCES;
|
|
259
|
+
type index_TagActor = TagActor;
|
|
260
|
+
type index_TagActorType = TagActorType;
|
|
261
|
+
type index_TagAssignmentSource = TagAssignmentSource;
|
|
262
|
+
type index_TagEntityOptions = TagEntityOptions;
|
|
263
|
+
type index_TagVocabularyConfig = TagVocabularyConfig;
|
|
264
|
+
type index_TagVocabularyRef = TagVocabularyRef;
|
|
265
|
+
type index_TaggedEntityPage = TaggedEntityPage;
|
|
266
|
+
type index_TagsGatewayAdapter = TagsGatewayAdapter;
|
|
267
|
+
declare const index_TagsGatewayAdapter: typeof TagsGatewayAdapter;
|
|
268
|
+
type index_TagsGatewayAdapterOptions = TagsGatewayAdapterOptions;
|
|
269
|
+
type index_TagsGatewayClient = TagsGatewayClient;
|
|
270
|
+
declare const index_UNIVERSAL_TAG_STUB_SDL: typeof UNIVERSAL_TAG_STUB_SDL;
|
|
271
|
+
declare const index_assertTagPrefix: typeof assertTagPrefix;
|
|
272
|
+
declare const index_buildEntityTagsSdl: typeof buildEntityTagsSdl;
|
|
273
|
+
declare const index_createEntityTagResolvers: typeof createEntityTagResolvers;
|
|
274
|
+
declare const index_defaultTagActor: typeof defaultTagActor;
|
|
275
|
+
declare const index_entityTagsFieldNames: typeof entityTagsFieldNames;
|
|
276
|
+
declare const index_entityTagsTypeNames: typeof entityTagsTypeNames;
|
|
277
|
+
declare const index_isEntityTagsError: typeof isEntityTagsError;
|
|
278
|
+
declare const index_mapTagAssignment: typeof mapTagAssignment;
|
|
279
|
+
declare const index_slugifyTagKey: typeof slugifyTagKey;
|
|
280
|
+
declare namespace index {
|
|
281
|
+
export { type index_AvailableTag as AvailableTag, type index_CreateEntityTagResolversOptions as CreateEntityTagResolversOptions, type index_CreateTagOptions as CreateTagOptions, index_ENTITY_TAGS_GRAPHQL_CODES as ENTITY_TAGS_GRAPHQL_CODES, type index_EntityTagAccessCheck as EntityTagAccessCheck, type index_EntityTagAssignment as EntityTagAssignment, type index_EntityTagBinding as EntityTagBinding, type index_EntityTagInfo as EntityTagInfo, type index_EntityTagMutationEvent as EntityTagMutationEvent, type index_EntityTagOperation as EntityTagOperation, type index_EntityTagResolvers as EntityTagResolvers, index_EntityTagsError as EntityTagsError, type index_EntityTagsErrorCode as EntityTagsErrorCode, type index_EntityTagsFieldNames as EntityTagsFieldNames, type index_EntityTagsRbacOptions as EntityTagsRbacOptions, type index_EntityTagsSdlOptions as EntityTagsSdlOptions, type index_EntityTagsTypeNames as EntityTagsTypeNames, type index_FindEntitiesByTagsOptions as FindEntitiesByTagsOptions, type index_RawTagAssignment as RawTagAssignment, index_TAG_ACTOR_TYPES as TAG_ACTOR_TYPES, index_TAG_ASSIGNMENT_SOURCES as TAG_ASSIGNMENT_SOURCES, type index_TagActor as TagActor, type index_TagActorType as TagActorType, type index_TagAssignmentSource as TagAssignmentSource, type index_TagEntityOptions as TagEntityOptions, type index_TagVocabularyConfig as TagVocabularyConfig, type index_TagVocabularyRef as TagVocabularyRef, type index_TaggedEntityPage as TaggedEntityPage, index_TagsGatewayAdapter as TagsGatewayAdapter, type index_TagsGatewayAdapterOptions as TagsGatewayAdapterOptions, type index_TagsGatewayClient as TagsGatewayClient, index_UNIVERSAL_TAG_STUB_SDL as UNIVERSAL_TAG_STUB_SDL, index_assertTagPrefix as assertTagPrefix, index_buildEntityTagsSdl as buildEntityTagsSdl, index_createEntityTagResolvers as createEntityTagResolvers, index_defaultTagActor as defaultTagActor, index_entityTagsFieldNames as entityTagsFieldNames, index_entityTagsTypeNames as entityTagsTypeNames, index_isEntityTagsError as isEntityTagsError, index_mapTagAssignment as mapTagAssignment, index_slugifyTagKey as slugifyTagKey };
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
export { type AvailableTag as A, assertTagPrefix as B, type CreateEntityTagResolversOptions as C, buildEntityTagsSdl as D, ENTITY_TAGS_GRAPHQL_CODES as E, type FindEntitiesByTagsOptions as F, createEntityTagResolvers as G, defaultTagActor as H, entityTagsFieldNames as I, entityTagsTypeNames as J, isEntityTagsError as K, mapTagAssignment as L, slugifyTagKey as M, type RawTagAssignment as R, TAG_ACTOR_TYPES as T, UNIVERSAL_TAG_STUB_SDL as U, type CreateTagOptions as a, type EntityTagAccessCheck as b, type EntityTagAssignment as c, type EntityTagBinding as d, type EntityTagInfo as e, type EntityTagMutationEvent as f, type EntityTagOperation as g, type EntityTagResolvers as h, index as i, EntityTagsError as j, type EntityTagsErrorCode as k, type EntityTagsFieldNames as l, type EntityTagsRbacOptions as m, type EntityTagsSdlOptions as n, type EntityTagsTypeNames as o, TAG_ASSIGNMENT_SOURCES as p, type TagActor as q, type TagActorType as r, type TagAssignmentSource as s, type TagEntityOptions as t, type TagVocabularyConfig as u, type TagVocabularyRef as v, type TaggedEntityPage as w, TagsGatewayAdapter as x, type TagsGatewayAdapterOptions as y, type TagsGatewayClient as z };
|
package/dist/index.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ 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, WorkspaceResourceCapScope, configureResourceCaps, getResourceCaps } from './resource-caps/index.js';
|
|
22
22
|
export { i as Sharing } from './index-kssw5ziY.js';
|
|
23
|
+
export { i as Tags } from './index-C_t30VyQ.js';
|
|
23
24
|
export { i as Cache } from './index-Cx5I3ydM.js';
|
|
24
25
|
export { i as Middleware } from './index-DSOpj8DI.js';
|
|
25
26
|
export { i as Observability } from './index-4gKQKZ2B.js';
|
|
@@ -33,7 +34,7 @@ export { i as DataLoader } from './index-DW9q22GH.js';
|
|
|
33
34
|
export { i as Instrumentation } from './index-Dvv6irk0.js';
|
|
34
35
|
export { i as Layer } from './index-BCUkR8sC.js';
|
|
35
36
|
export { i as Crypto } from './index-e_18DzAg.js';
|
|
36
|
-
export { i as Gateway } from './index-
|
|
37
|
+
export { i as Gateway } from './index-BWhuZl8f.js';
|
|
37
38
|
export { i as FeatureFlags } from './index-Rc5EphmY.js';
|
|
38
39
|
export { i as Captcha, R as RecaptchaVerifyOptions, a as RecaptchaVerifyResult, b as isCaptchaEnabled, v as verifyCaptcha, c as verifyCaptchaIfEnabled } from './index-B70b5mYS.js';
|
|
39
40
|
export { i as Platform } from './index-DfYu1p9e.js';
|
|
@@ -57,6 +58,7 @@ import './graph-emitter-r5TylDBm.js';
|
|
|
57
58
|
import './prisma-extension-gYhYriA0.js';
|
|
58
59
|
import '@temporalio/client';
|
|
59
60
|
import '@temporalio/common';
|
|
61
|
+
import './types-B376RbyK.js';
|
|
60
62
|
import 'elysia';
|
|
61
63
|
import './types-Bo2wkjSP.js';
|
|
62
64
|
import './graphql/services/index.js';
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { sharing_exports as Sharing } from './chunk-DS3YMJ4X.js';
|
|
2
|
+
export { tags_exports as Tags } from './chunk-XUXSX5UX.js';
|
|
2
3
|
export { TemporalClient, TemporalClientFactory, TemporalModule, TemporalWorker, TemporalWorkerFactory, TemporalWorkerManager } from './chunk-YNDJQRI3.js';
|
|
3
4
|
import { ActivityModule, UsageModule, TrackerModule } from './chunk-YCSIHUYP.js';
|
|
4
5
|
export { ActivityModule, TrackerModule, UsageModule } from './chunk-YCSIHUYP.js';
|
|
@@ -15,7 +16,7 @@ export { instrumentation_exports as Instrumentation } from './chunk-E5DTAGCA.js'
|
|
|
15
16
|
export { middleware_exports as Middleware } from './chunk-ELU7VL3E.js';
|
|
16
17
|
import { TenantNotificationsModule, NotificationsModule } from './chunk-INAZ3PKF.js';
|
|
17
18
|
export { tenant_notifications_exports as Notifications, NotificationsModule } from './chunk-INAZ3PKF.js';
|
|
18
|
-
export { export_exports as Export } from './chunk-
|
|
19
|
+
export { export_exports as Export } from './chunk-CJS6KURB.js';
|
|
19
20
|
export { feature_flags_exports as FeatureFlags } from './chunk-UNASM5VJ.js';
|
|
20
21
|
import { GraphModule } from './chunk-V3N6HDFE.js';
|
|
21
22
|
export { graph_exports as Graph, GraphModule } from './chunk-V3N6HDFE.js';
|
|
@@ -29,11 +30,11 @@ export { graphql_exports as GraphQL } from './chunk-KMNSVLDS.js';
|
|
|
29
30
|
import './chunk-MWPYA2HD.js';
|
|
30
31
|
import './chunk-LKCBI6B2.js';
|
|
31
32
|
export { i18n_exports as I18n, createTranslator, getLanguage, getLocale, hasI18n, t } from './chunk-EBDHIL7V.js';
|
|
32
|
-
export { init_exports as Init } from './chunk-
|
|
33
|
+
export { init_exports as Init } from './chunk-V7QNQN7Y.js';
|
|
33
34
|
export { RESOURCE_CAP_DEFAULTS, ResourceCapExceededError, ResourceCapsModule, configureResourceCaps, getResourceCaps } from './chunk-MZCBEJ67.js';
|
|
34
35
|
import './chunk-AWPNRV3L.js';
|
|
35
|
-
|
|
36
|
-
|
|
36
|
+
export { gateway_exports as Gateway } from './chunk-4UABBBB4.js';
|
|
37
|
+
import { GatewayClient, GatewayError, GatewayErrorType } from './chunk-VBUUEOHC.js';
|
|
37
38
|
import './chunk-HIO3DNKK.js';
|
|
38
39
|
import './chunk-FZRODKIN.js';
|
|
39
40
|
export { layer_exports as Layer } from './chunk-5NT2OEDQ.js';
|
|
@@ -43,20 +44,20 @@ export { ContextManager } from './chunk-RZOFS2BQ.js';
|
|
|
43
44
|
import { AuthModule } from './chunk-GJWQK3IU.js';
|
|
44
45
|
export { AuthModule } from './chunk-GJWQK3IU.js';
|
|
45
46
|
export { utils_exports as Utils } from './chunk-B7I4TABG.js';
|
|
46
|
-
export { cache_exports as Cache } from './chunk-AT52BRVL.js';
|
|
47
|
-
import { disposeAll } from './chunk-KO2ZXZ7W.js';
|
|
48
|
-
export { lifecycle_exports as Lifecycle, disposeAll, getRegisteredDisposableCount, registerDisposable, unregisterDisposable } from './chunk-KO2ZXZ7W.js';
|
|
49
|
-
import './chunk-A5F6Z5UE.js';
|
|
50
47
|
export { captcha_exports as Captcha, isCaptchaEnabled, verifyCaptcha, verifyCaptchaIfEnabled } from './chunk-YMZEUTD2.js';
|
|
51
48
|
export { createInternalClient, createInternalClientForTenant, createInternalClientForWorkspaces } from './chunk-KJOSPVB2.js';
|
|
52
49
|
export { crypto_exports as Crypto } from './chunk-SBS4S2PJ.js';
|
|
53
50
|
import { DatabaseModule } from './chunk-UD5PPGVU.js';
|
|
54
51
|
export { DatabaseModule } from './chunk-UD5PPGVU.js';
|
|
55
52
|
import { APIError, NetworkError, TimeoutError, ValidationError } from './chunk-QGBXVNRM.js';
|
|
53
|
+
export { dataloader_exports as DataLoader } from './chunk-NUB5GQTU.js';
|
|
54
|
+
export { cache_exports as Cache } from './chunk-AT52BRVL.js';
|
|
55
|
+
import { disposeAll } from './chunk-KO2ZXZ7W.js';
|
|
56
|
+
export { lifecycle_exports as Lifecycle, disposeAll, getRegisteredDisposableCount, registerDisposable, unregisterDisposable } from './chunk-KO2ZXZ7W.js';
|
|
57
|
+
import './chunk-A5F6Z5UE.js';
|
|
56
58
|
export { DEFAULT_CIRCUIT_BREAKER_CONFIG, DEFAULT_GATEWAY_RETRY_CONFIG, DEFAULT_GATEWAY_ROUTING, DEFAULT_LAYER_RESOURCES, DEFAULT_LAYER_STREAMS } from './chunk-YFOHAHZE.js';
|
|
57
59
|
import { logger } from './chunk-RU266375.js';
|
|
58
60
|
export { logger_exports as Logger } from './chunk-RU266375.js';
|
|
59
|
-
export { dataloader_exports as DataLoader } from './chunk-NUB5GQTU.js';
|
|
60
61
|
import { __name } from './chunk-XE4OXN2W.js';
|
|
61
62
|
import { GraphQLClient } from 'graphql-request';
|
|
62
63
|
|