@burdenoff/be-sdk 2026.1021.3 → 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-7SOI4IHZ.js → chunk-DTE2MHKE.js} +3 -3
- package/dist/{chunk-7SOI4IHZ.js.map → chunk-DTE2MHKE.js.map} +1 -1
- package/dist/{chunk-5OROGKQW.js → chunk-IZZ45AGA.js} +252 -14
- package/dist/chunk-IZZ45AGA.js.map +1 -0
- package/dist/{chunk-F4R5AHSD.js → chunk-V3N6HDFE.js} +29 -8
- package/dist/chunk-V3N6HDFE.js.map +1 -0
- 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.d.ts +2 -2
- package/dist/graph/index.js +3 -3
- package/dist/index-BWhuZl8f.d.ts +59 -0
- package/dist/{index-Dl8EAdYu.d.ts → index-CL7koBpQ.d.ts} +1 -1
- package/dist/index-C_t30VyQ.d.ts +284 -0
- package/dist/{index-D3DzCz1d.d.ts → index-DG5lCWNk.d.ts} +21 -152
- package/dist/index.d.ts +7 -5
- package/dist/index.js +14 -13
- package/dist/index.js.map +1 -1
- package/dist/init/index.js +3 -2
- package/dist/prisma/index.d.ts +2 -2
- package/dist/prisma/index.js +2 -2
- package/dist/prisma-extension-gYhYriA0.d.ts +174 -0
- 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/chunk-5OROGKQW.js.map +0 -1
- package/dist/chunk-F4R5AHSD.js.map +0 -1
- package/dist/index-Dy6neH2G.d.ts +0 -166
- package/dist/prisma-extension-krXnYnrN.d.ts +0 -30
|
@@ -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 };
|
|
@@ -1,144 +1,8 @@
|
|
|
1
1
|
import { B as BurdenoffGraphQLClient } from './graphql-AaLJfGzz.js';
|
|
2
2
|
import { a as SDKContext } from './index-CfRZtB99.js';
|
|
3
|
+
import { M as ModuleGraphConfig, E as EntityGraphConfig, R as RegistryEntityRbacConfig, a as RelationshipGraphConfig, b as EntityBulkOperationsConfig, c as GraphEventType, d as GraphEvent, G as GraphEventEmitter, e as EdgeDocument, f as EntityEventType, g as EntityVertex, h as GraphMiddlewareConfig, P as ProductFacet, S as SearchFacets, i as SearchFilters, j as SearchResponse, k as SearchResult, T as TypeFacet, l as addGraphExtension } from './prisma-extension-gYhYriA0.js';
|
|
3
4
|
import { P as PrismaClientBase } from './client-CCXpAZ2r.js';
|
|
4
5
|
import { G as GraphEventEmitterImpl, E as EntityEventRbacMetadata } from './graph-emitter-r5TylDBm.js';
|
|
5
|
-
import { G as GraphEventEmitter, E as EntityEventType, a as GraphMiddlewareConfig, b as addGraphExtension } from './prisma-extension-krXnYnrN.js';
|
|
6
|
-
|
|
7
|
-
type GraphEventType = 'entity.created' | 'entity.updated' | 'entity.deleted' | 'relationship.created' | 'relationship.updated' | 'relationship.deleted';
|
|
8
|
-
interface GraphEvent {
|
|
9
|
-
eventId: string;
|
|
10
|
-
eventType: GraphEventType;
|
|
11
|
-
organizationId: string;
|
|
12
|
-
productSource: string;
|
|
13
|
-
timestamp: string;
|
|
14
|
-
entity: {
|
|
15
|
-
id: string;
|
|
16
|
-
type: string;
|
|
17
|
-
data: Record<string, unknown>;
|
|
18
|
-
};
|
|
19
|
-
relationship?: {
|
|
20
|
-
from: {
|
|
21
|
-
id: string;
|
|
22
|
-
type: string;
|
|
23
|
-
};
|
|
24
|
-
to: {
|
|
25
|
-
id: string;
|
|
26
|
-
type: string;
|
|
27
|
-
};
|
|
28
|
-
type: string;
|
|
29
|
-
metadata: Record<string, unknown>;
|
|
30
|
-
};
|
|
31
|
-
metadata: {
|
|
32
|
-
userId?: string;
|
|
33
|
-
correlationId: string;
|
|
34
|
-
causedBy?: string;
|
|
35
|
-
retryCount?: number;
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
interface EntityVertex {
|
|
39
|
-
_key: string;
|
|
40
|
-
_id?: string;
|
|
41
|
-
organizationId: string;
|
|
42
|
-
workspaceId?: string;
|
|
43
|
-
projectId?: string;
|
|
44
|
-
productSource: string;
|
|
45
|
-
entityType: string;
|
|
46
|
-
entityId: string;
|
|
47
|
-
title?: string;
|
|
48
|
-
isActive: boolean;
|
|
49
|
-
createdAt: string;
|
|
50
|
-
updatedAt: string;
|
|
51
|
-
metadata?: Record<string, unknown>;
|
|
52
|
-
isPlaceholder?: boolean;
|
|
53
|
-
}
|
|
54
|
-
interface EdgeDocument {
|
|
55
|
-
_key?: string;
|
|
56
|
-
_from: string;
|
|
57
|
-
_to: string;
|
|
58
|
-
organizationId: string;
|
|
59
|
-
productSource: string;
|
|
60
|
-
createdAt: string;
|
|
61
|
-
updatedAt: string;
|
|
62
|
-
isActive?: boolean;
|
|
63
|
-
deletedAt?: string;
|
|
64
|
-
[key: string]: unknown;
|
|
65
|
-
}
|
|
66
|
-
interface RegistryEntityRbacConfig {
|
|
67
|
-
resourceTypeName: string;
|
|
68
|
-
extractName?: (data: Record<string, unknown>) => string | undefined;
|
|
69
|
-
extractIdentifier?: (data: Record<string, unknown>) => string | undefined;
|
|
70
|
-
parentResourceField?: string;
|
|
71
|
-
createResource?: boolean;
|
|
72
|
-
}
|
|
73
|
-
interface EntityGraphConfig {
|
|
74
|
-
fields?: string[];
|
|
75
|
-
collection?: string;
|
|
76
|
-
extractTitle?: (entity: Record<string, unknown>) => string;
|
|
77
|
-
enabled?: boolean;
|
|
78
|
-
rbac?: RegistryEntityRbacConfig;
|
|
79
|
-
}
|
|
80
|
-
interface RelationshipGraphConfig {
|
|
81
|
-
from: string;
|
|
82
|
-
fromField: string;
|
|
83
|
-
to: string;
|
|
84
|
-
toField?: string;
|
|
85
|
-
label: string;
|
|
86
|
-
description?: string;
|
|
87
|
-
extractMetadata?: (record: Record<string, unknown>) => Record<string, unknown>;
|
|
88
|
-
polymorphicTypeField?: string;
|
|
89
|
-
enabled?: boolean;
|
|
90
|
-
}
|
|
91
|
-
interface ModuleGraphConfig {
|
|
92
|
-
moduleName: string;
|
|
93
|
-
entities: Record<string, EntityGraphConfig>;
|
|
94
|
-
relationships?: Record<string, RelationshipGraphConfig>;
|
|
95
|
-
}
|
|
96
|
-
interface SearchFilters {
|
|
97
|
-
productSources?: string[];
|
|
98
|
-
entityTypes?: string[];
|
|
99
|
-
dateRange?: {
|
|
100
|
-
from?: string;
|
|
101
|
-
to?: string;
|
|
102
|
-
};
|
|
103
|
-
metadataFilters?: {
|
|
104
|
-
field: string;
|
|
105
|
-
operator: 'eq' | 'ne' | 'gt' | 'gte' | 'lt' | 'lte' | 'contains' | 'in';
|
|
106
|
-
value: unknown;
|
|
107
|
-
}[];
|
|
108
|
-
limit?: number;
|
|
109
|
-
offset?: number;
|
|
110
|
-
}
|
|
111
|
-
interface SearchResult {
|
|
112
|
-
id: string;
|
|
113
|
-
type: string;
|
|
114
|
-
productSource: string;
|
|
115
|
-
title: string;
|
|
116
|
-
description?: string;
|
|
117
|
-
metadata?: Record<string, unknown>;
|
|
118
|
-
score: number;
|
|
119
|
-
highlights?: string[];
|
|
120
|
-
url: string;
|
|
121
|
-
createdAt?: string;
|
|
122
|
-
updatedAt?: string;
|
|
123
|
-
}
|
|
124
|
-
interface ProductFacet {
|
|
125
|
-
product: string;
|
|
126
|
-
count: number;
|
|
127
|
-
}
|
|
128
|
-
interface TypeFacet {
|
|
129
|
-
type: string;
|
|
130
|
-
count: number;
|
|
131
|
-
}
|
|
132
|
-
interface SearchFacets {
|
|
133
|
-
byProduct: ProductFacet[];
|
|
134
|
-
byType: TypeFacet[];
|
|
135
|
-
}
|
|
136
|
-
interface SearchResponse {
|
|
137
|
-
entities: SearchResult[];
|
|
138
|
-
total: number;
|
|
139
|
-
hasMore: boolean;
|
|
140
|
-
facets: SearchFacets;
|
|
141
|
-
}
|
|
142
6
|
|
|
143
7
|
interface ResolvedEntityGraphConfig extends Omit<EntityGraphConfig, 'fields'> {
|
|
144
8
|
fields: string[];
|
|
@@ -162,6 +26,7 @@ declare class GraphRegistry {
|
|
|
162
26
|
static getOrganizationId(entityType: string, data: Record<string, unknown>): string | undefined;
|
|
163
27
|
static getWorkspaceId(entityType: string, data: Record<string, unknown>): string | undefined;
|
|
164
28
|
static getRbacConfig(entityType: string): RegistryEntityRbacConfig | undefined;
|
|
29
|
+
static getBulkOperationsConfig(entityType: string): EntityBulkOperationsConfig | undefined;
|
|
165
30
|
static resolveRbacMetadata(entityType: string, entityData: Record<string, unknown>): {
|
|
166
31
|
resourceTypeName: string;
|
|
167
32
|
name?: string;
|
|
@@ -241,6 +106,7 @@ interface GenericEntityConfig {
|
|
|
241
106
|
extractTitle?: FieldMapper<string>;
|
|
242
107
|
enabled?: boolean;
|
|
243
108
|
rbac?: EntityRbacConfig$1;
|
|
109
|
+
bulkOperations?: EntityBulkOperationsConfig;
|
|
244
110
|
}
|
|
245
111
|
interface GenericRelationshipConfig {
|
|
246
112
|
from: string;
|
|
@@ -300,6 +166,7 @@ interface PrismaGraphIntegrationOptions<TPrismaClient = unknown> {
|
|
|
300
166
|
validateRuntime?: boolean;
|
|
301
167
|
autoInit?: boolean;
|
|
302
168
|
createPrismaClient: () => TPrismaClient;
|
|
169
|
+
bulkOperations?: EntityBulkOperationsConfig;
|
|
303
170
|
}
|
|
304
171
|
declare function createPrismaGraphIntegration<TPrismaClient extends PrismaClientBase>(options: PrismaGraphIntegrationOptions<TPrismaClient>): {
|
|
305
172
|
initializeGraphEmitter: () => Promise<void>;
|
|
@@ -675,6 +542,7 @@ interface InitializeGraphOptions {
|
|
|
675
542
|
monitoredEntityTypes?: string[];
|
|
676
543
|
enabled?: boolean;
|
|
677
544
|
validateRuntime?: boolean;
|
|
545
|
+
bulkOperations?: EntityBulkOperationsConfig;
|
|
678
546
|
}
|
|
679
547
|
declare function initializeGraph<TPrisma>(prismaClient: TPrisma, config: GenericGraphConfig, options: InitializeGraphOptions): TPrisma;
|
|
680
548
|
declare function isGraphInitialized(moduleName: string): boolean;
|
|
@@ -791,15 +659,16 @@ type index_DeferredGraphResult<T> = DeferredGraphResult<T>;
|
|
|
791
659
|
type index_DefineEntityConfigOptions = DefineEntityConfigOptions;
|
|
792
660
|
type index_DefineGraphConfigOptions = DefineGraphConfigOptions;
|
|
793
661
|
type index_DefineRelationshipConfigOptions = DefineRelationshipConfigOptions;
|
|
794
|
-
|
|
662
|
+
declare const index_EdgeDocument: typeof EdgeDocument;
|
|
663
|
+
declare const index_EntityBulkOperationsConfig: typeof EntityBulkOperationsConfig;
|
|
795
664
|
type index_EntityDefinition<T = Record<string, unknown>> = EntityDefinition<T>;
|
|
796
665
|
type index_EntityEventContext = EntityEventContext;
|
|
797
666
|
type index_EntityEventData = EntityEventData;
|
|
798
667
|
type index_EntityEventHook = EntityEventHook;
|
|
799
668
|
declare const index_EntityEventType: typeof EntityEventType;
|
|
800
|
-
|
|
669
|
+
declare const index_EntityGraphConfig: typeof EntityGraphConfig;
|
|
801
670
|
type index_EntityRbacConfig = EntityRbacConfig;
|
|
802
|
-
|
|
671
|
+
declare const index_EntityVertex: typeof EntityVertex;
|
|
803
672
|
type index_ExtractedEntityData = ExtractedEntityData;
|
|
804
673
|
type index_ExtractedRelationshipData = ExtractedRelationshipData;
|
|
805
674
|
type index_FieldMapper<T = string> = FieldMapper<T>;
|
|
@@ -809,11 +678,11 @@ type index_GenericRelationshipConfig = GenericRelationshipConfig;
|
|
|
809
678
|
type index_GraphEdge = GraphEdge;
|
|
810
679
|
type index_GraphEntityConfig = GraphEntityConfig;
|
|
811
680
|
type index_GraphEntityExport = GraphEntityExport;
|
|
812
|
-
|
|
681
|
+
declare const index_GraphEvent: typeof GraphEvent;
|
|
813
682
|
declare const index_GraphEventEmitter: typeof GraphEventEmitter;
|
|
814
683
|
type index_GraphEventOptions = GraphEventOptions;
|
|
815
684
|
type index_GraphEventPublishOptions = GraphEventPublishOptions;
|
|
816
|
-
|
|
685
|
+
declare const index_GraphEventType: typeof GraphEventType;
|
|
817
686
|
type index_GraphEventsHelper = GraphEventsHelper;
|
|
818
687
|
type index_GraphEventsHelperConfig = GraphEventsHelperConfig;
|
|
819
688
|
type index_GraphEventsPublisher = GraphEventsPublisher;
|
|
@@ -835,27 +704,27 @@ type index_GraphValidationError = GraphValidationError;
|
|
|
835
704
|
type index_GraphValidationResult = GraphValidationResult;
|
|
836
705
|
type index_InitializeGraphOptions = InitializeGraphOptions;
|
|
837
706
|
type index_ModuleGraph = ModuleGraph;
|
|
838
|
-
|
|
707
|
+
declare const index_ModuleGraphConfig: typeof ModuleGraphConfig;
|
|
839
708
|
type index_ModuleGraphDefinition = ModuleGraphDefinition;
|
|
840
709
|
type index_PrismaGraphIntegration<TPrismaClient extends PrismaClientBase> = PrismaGraphIntegration<TPrismaClient>;
|
|
841
710
|
type index_PrismaGraphIntegrationOptions<TPrismaClient = unknown> = PrismaGraphIntegrationOptions<TPrismaClient>;
|
|
842
|
-
|
|
711
|
+
declare const index_ProductFacet: typeof ProductFacet;
|
|
843
712
|
type index_QueryGraphOptions = QueryGraphOptions;
|
|
844
713
|
type index_RelationshipDefinition = RelationshipDefinition;
|
|
845
714
|
type index_RelationshipEventData = RelationshipEventData;
|
|
846
715
|
type index_RelationshipExportData = RelationshipExportData;
|
|
847
|
-
|
|
716
|
+
declare const index_RelationshipGraphConfig: typeof RelationshipGraphConfig;
|
|
848
717
|
declare const index_SOFT_DELETE_FIELDS: typeof SOFT_DELETE_FIELDS;
|
|
849
718
|
declare const index_STANDARD_FIELDS: typeof STANDARD_FIELDS;
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
719
|
+
declare const index_SearchFacets: typeof SearchFacets;
|
|
720
|
+
declare const index_SearchFilters: typeof SearchFilters;
|
|
721
|
+
declare const index_SearchResponse: typeof SearchResponse;
|
|
722
|
+
declare const index_SearchResult: typeof SearchResult;
|
|
854
723
|
declare const index_TENANT_FIELDS: typeof TENANT_FIELDS;
|
|
855
724
|
type index_TraverseDirection = TraverseDirection;
|
|
856
725
|
type index_TraverseOptions = TraverseOptions;
|
|
857
726
|
type index_TraverseResult = TraverseResult;
|
|
858
|
-
|
|
727
|
+
declare const index_TypeFacet: typeof TypeFacet;
|
|
859
728
|
type index_ValidationErrorType = ValidationErrorType;
|
|
860
729
|
declare const index_addGraphExtension: typeof addGraphExtension;
|
|
861
730
|
declare const index_createEntityEvent: typeof createEntityEvent;
|
|
@@ -880,7 +749,7 @@ declare const index_shouldSyncEntity: typeof shouldSyncEntity;
|
|
|
880
749
|
declare const index_shouldSyncRelationship: typeof shouldSyncRelationship;
|
|
881
750
|
declare const index_withDeferredGraphEvents: typeof withDeferredGraphEvents;
|
|
882
751
|
declare namespace index {
|
|
883
|
-
export { index_AUDIT_FIELDS as AUDIT_FIELDS, type index_CreateEdgeOptions as CreateEdgeOptions, type index_CreateNodeOptions as CreateNodeOptions, type index_DeferredGraphResult as DeferredGraphResult, type index_DefineEntityConfigOptions as DefineEntityConfigOptions, type index_DefineGraphConfigOptions as DefineGraphConfigOptions, type index_DefineRelationshipConfigOptions as DefineRelationshipConfigOptions,
|
|
752
|
+
export { index_AUDIT_FIELDS as AUDIT_FIELDS, type index_CreateEdgeOptions as CreateEdgeOptions, type index_CreateNodeOptions as CreateNodeOptions, type index_DeferredGraphResult as DeferredGraphResult, type index_DefineEntityConfigOptions as DefineEntityConfigOptions, type index_DefineGraphConfigOptions as DefineGraphConfigOptions, type index_DefineRelationshipConfigOptions as DefineRelationshipConfigOptions, index_EdgeDocument as EdgeDocument, index_EntityBulkOperationsConfig as EntityBulkOperationsConfig, type index_EntityDefinition as EntityDefinition, type index_EntityEventContext as EntityEventContext, type index_EntityEventData as EntityEventData, type index_EntityEventHook as EntityEventHook, index_EntityEventType as EntityEventType, type EntityFetcher$1 as EntityFetcher, index_EntityGraphConfig as EntityGraphConfig, type index_EntityRbacConfig as EntityRbacConfig, index_EntityVertex as EntityVertex, type index_ExtractedEntityData as ExtractedEntityData, type index_ExtractedRelationshipData as ExtractedRelationshipData, type index_FieldMapper as FieldMapper, type index_GenericEntityConfig as GenericEntityConfig, type EntityRbacConfig$1 as GenericEntityRbacConfig, type index_GenericGraphConfig as GenericGraphConfig, type index_GenericRelationshipConfig as GenericRelationshipConfig, type index_GraphEdge as GraphEdge, type index_GraphEntityConfig as GraphEntityConfig, type index_GraphEntityExport as GraphEntityExport, index_GraphEvent as GraphEvent, index_GraphEventEmitter as GraphEventEmitter, type index_GraphEventOptions as GraphEventOptions, type index_GraphEventPublishOptions as GraphEventPublishOptions, index_GraphEventType as GraphEventType, type index_GraphEventsHelper as GraphEventsHelper, type index_GraphEventsHelperConfig as GraphEventsHelperConfig, index_GraphEventsPublisher as GraphEventsPublisher, type index_GraphExportResponse as GraphExportResponse, index_GraphExportService as GraphExportService, type index_GraphExportServiceConfig as GraphExportServiceConfig, index_GraphMiddlewareConfig as GraphMiddlewareConfig, index_GraphModule as GraphModule, type index_GraphNode as GraphNode, index_GraphRegistry as GraphRegistry, type index_GraphRelationshipData as GraphRelationshipData, type index_GraphRelationshipExport as GraphRelationshipExport, type index_GraphSchema as GraphSchema, type index_GraphValidationError as GraphValidationError, type index_GraphValidationResult as GraphValidationResult, type index_InitializeGraphOptions as InitializeGraphOptions, type index_ModuleGraph as ModuleGraph, index_ModuleGraphConfig as ModuleGraphConfig, type index_ModuleGraphDefinition as ModuleGraphDefinition, type index_PrismaGraphIntegration as PrismaGraphIntegration, type index_PrismaGraphIntegrationOptions as PrismaGraphIntegrationOptions, index_ProductFacet as ProductFacet, type index_QueryGraphOptions as QueryGraphOptions, type index_RelationshipDefinition as RelationshipDefinition, type index_RelationshipEventData as RelationshipEventData, type index_RelationshipExportData as RelationshipExportData, type RelationshipFetcher$1 as RelationshipFetcher, index_RelationshipGraphConfig as RelationshipGraphConfig, index_SOFT_DELETE_FIELDS as SOFT_DELETE_FIELDS, index_STANDARD_FIELDS as STANDARD_FIELDS, index_SearchFacets as SearchFacets, index_SearchFilters as SearchFilters, index_SearchResponse as SearchResponse, index_SearchResult as SearchResult, index_TENANT_FIELDS as TENANT_FIELDS, type index_TraverseDirection as TraverseDirection, type index_TraverseOptions as TraverseOptions, type index_TraverseResult as TraverseResult, index_TypeFacet as TypeFacet, type index_ValidationErrorType as ValidationErrorType, index_addGraphExtension as addGraphExtension, index_createEntityEvent as createEntityEvent, index_createGraphEventsHelper as createGraphEventsHelper, index_createGraphExportService as createGraphExportService, index_createPrismaGraphIntegration as createPrismaGraphIntegration, index_createRelationshipEvent as createRelationshipEvent, index_createRelationshipFromEntity as createRelationshipFromEntity, index_defineEntity as defineEntity, index_defineGraphConfig as defineGraphConfig, index_defineModuleGraph as defineModuleGraph, index_defineRelationship as defineRelationship, index_extractEntityTitle as extractEntityTitle, index_extractMinimalFields as extractMinimalFields, index_getCollectionForEntity as getCollectionForEntity, index_getGraphEventsPublisher as getGraphEventsPublisher, index_getGraphStats as getGraphStats, index_initializeGraph as initializeGraph, index_isGraphInitialized as isGraphInitialized, index_parseRelationship as parseRelationship, index_shouldSyncEntity as shouldSyncEntity, index_shouldSyncRelationship as shouldSyncRelationship, index_withDeferredGraphEvents as withDeferredGraphEvents };
|
|
884
753
|
}
|
|
885
754
|
|
|
886
|
-
export { type
|
|
755
|
+
export { type TraverseDirection as $, AUDIT_FIELDS as A, type GraphExportServiceConfig as B, type CreateEdgeOptions as C, type DeferredGraphResult as D, type EntityDefinition as E, type FieldMapper as F, GraphModule as G, type GraphNode as H, GraphRegistry as I, type GraphRelationshipData as J, type GraphRelationshipExport as K, type GraphSchema as L, type GraphValidationError as M, type GraphValidationResult as N, type InitializeGraphOptions as O, type ModuleGraph as P, type ModuleGraphDefinition as Q, type PrismaGraphIntegration as R, type PrismaGraphIntegrationOptions as S, type QueryGraphOptions as T, type RelationshipDefinition as U, type RelationshipEventData as V, type RelationshipExportData as W, type RelationshipFetcher$1 as X, SOFT_DELETE_FIELDS as Y, STANDARD_FIELDS as Z, TENANT_FIELDS as _, type CreateNodeOptions as a, type TraverseOptions as a0, type TraverseResult as a1, type ValidationErrorType as a2, createEntityEvent as a3, createGraphEventsHelper as a4, createGraphExportService as a5, createPrismaGraphIntegration as a6, createRelationshipEvent as a7, createRelationshipFromEntity as a8, defineEntity as a9, defineGraphConfig as aa, defineModuleGraph as ab, defineRelationship as ac, extractEntityTitle as ad, extractMinimalFields as ae, getCollectionForEntity as af, getGraphEventsPublisher as ag, getGraphStats as ah, initializeGraph as ai, isGraphInitialized as aj, parseRelationship as ak, shouldSyncEntity as al, shouldSyncRelationship as am, withDeferredGraphEvents as an, type DefineEntityConfigOptions as b, type DefineGraphConfigOptions as c, type DefineRelationshipConfigOptions as d, type EntityEventContext as e, type EntityEventData as f, type EntityEventHook as g, type EntityFetcher$1 as h, index as i, type EntityRbacConfig as j, type ExtractedEntityData as k, type ExtractedRelationshipData as l, type GenericEntityConfig as m, type EntityRbacConfig$1 as n, type GenericGraphConfig as o, type GenericRelationshipConfig as p, type GraphEdge as q, type GraphEntityConfig as r, type GraphEntityExport as s, type GraphEventOptions as t, type GraphEventPublishOptions as u, type GraphEventsHelper as v, type GraphEventsHelperConfig as w, GraphEventsPublisher as x, type GraphExportResponse as y, GraphExportService as z };
|
package/dist/index.d.ts
CHANGED
|
@@ -11,8 +11,8 @@ import { A as ActivityModule, U as UsageModule, T as TrackerModule } from './ind
|
|
|
11
11
|
import { DatabaseConfig, DatabaseModule } from './database/index.js';
|
|
12
12
|
import { E as EventsModule, I as IEventPublisher } from './index-BVXRewdr.js';
|
|
13
13
|
export { i as EventQueue } from './index-BVXRewdr.js';
|
|
14
|
-
import { G as GraphModule } from './index-
|
|
15
|
-
export { i as Graph } from './index-
|
|
14
|
+
import { G as GraphModule } from './index-DG5lCWNk.js';
|
|
15
|
+
export { i as Graph } from './index-DG5lCWNk.js';
|
|
16
16
|
import { B as BurdenoffGraphQLClient } from './graphql-AaLJfGzz.js';
|
|
17
17
|
import { TemporalModule } from './temporal/index.js';
|
|
18
18
|
export { TemporalClient, TemporalClientConfig, TemporalClientFactory, TemporalWorker, TemporalWorkerConfig, TemporalWorkerFactory, TemporalWorkerManager, WorkflowStartOptions } from './temporal/index.js';
|
|
@@ -20,11 +20,12 @@ 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';
|
|
26
27
|
export { i as GraphQL } from './index-joONjwLt.js';
|
|
27
|
-
export { i as Prisma } from './index-
|
|
28
|
+
export { i as Prisma } from './index-CL7koBpQ.js';
|
|
28
29
|
export { i as Utils } from './index-PaojfSdd.js';
|
|
29
30
|
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
31
|
export { i as Export } from './index-B4ciT3OZ.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';
|
|
@@ -54,9 +55,10 @@ import '@envelop/core';
|
|
|
54
55
|
import './explicit-activity-scope-CCoxVwAr.js';
|
|
55
56
|
import '@clickhouse/client';
|
|
56
57
|
import './graph-emitter-r5TylDBm.js';
|
|
57
|
-
import './prisma-extension-
|
|
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';
|