@burdenoff/fe-libs 2026.530.4 → 2026.530.6

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.
@@ -29,6 +29,8 @@ export interface CreateClientOptions {
29
29
  productId?: string | (() => string | null);
30
30
  /** Workspace ID or getter function for x-workspace-id header (workspace context) */
31
31
  workspaceId?: string | (() => string | null);
32
+ /** Project ID or getter function for x-project-id header (project context) */
33
+ projectId?: string | (() => string | null);
32
34
  /** Tenant ID or getter function for x-tenant-id header (tenant context) */
33
35
  tenantId?: string | (() => string | null);
34
36
  /** Optional cache instance for sharing between clients */
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/shared/graphql/client.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EAGZ,aAAa,EAId,MAAM,qBAAqB,CAAC;AAO7B,OAAO,EAAiB,KAAK,OAAO,EAAY,MAAM,WAAW,CAAC;AAmDlE;;;GAGG;AACH,wBAAgB,oBAAoB,IAAI,OAAO,CAE9C;AAUD,YAAY,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,MAAM,WAAW,mBAAmB;IAClC,4CAA4C;IAC5C,OAAO,EAAE,OAAO,CAAC;IACjB,wEAAwE;IACxE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,mDAAmD;IACnD,SAAS,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,MAAM,GAAG,IAAI,CAAC,CAAC;IAC3C,8FAA8F;IAC9F,cAAc,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,MAAM,GAAG,IAAI,CAAC,CAAC;IAChD,gEAAgE;IAChE,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,MAAM,GAAG,IAAI,CAAC,CAAC;IACxC,yEAAyE;IACzE,SAAS,CAAC,EAAE,MAAM;QAChB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB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,MAAM,CAAC;IACvB,2BAA2B;IAC3B,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAmFD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,mBAAmB,gBA8gB/D;AASD,MAAM,WAAW,eAAe;IAC9B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,MAAM,GAAG,IAAI,CAAC,CAAC;IAC3C,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,eAAe,GAAG,IAAI,CA0BlE;AAED;;GAEG;AACH,wBAAgB,kBAAkB,IAAI,YAAY,CAKjD;AAED;;GAEG;AACH,wBAAgB,eAAe,IAAI,YAAY,CAK9C;AAED;;GAEG;AACH,wBAAgB,eAAe,IAAI,IAAI,CAStC"}
@@ -16,20 +16,25 @@ var g = {
16
16
  lastFailureTime: 0,
17
17
  isOpen: !1
18
18
  }, _ = 5, v = 3e4;
19
- function ne() {
19
+ function y() {
20
20
  return g.consecutiveFailures++, g.lastFailureTime = Date.now(), g.consecutiveFailures >= _ && (g.isOpen = !0), g.isOpen;
21
21
  }
22
- function y() {
22
+ function b() {
23
23
  g.consecutiveFailures = 0, g.isOpen = !1;
24
24
  }
25
- function b() {
25
+ function x() {
26
26
  return g.isOpen ? Date.now() - g.lastFailureTime > v ? (g.isOpen = !1, g.consecutiveFailures = 0, !1) : !0 : !1;
27
27
  }
28
- function x(e) {
28
+ function ne(e) {
29
29
  if (!e || typeof e != "object") return null;
30
30
  let t = e.workspaceId;
31
31
  return typeof t == "string" && t.trim() ? t : null;
32
32
  }
33
+ function re(e) {
34
+ if (!e || typeof e != "object") return null;
35
+ let t = e.projectId;
36
+ return typeof t == "string" && t.trim() ? t : null;
37
+ }
33
38
  function S(e) {
34
39
  let t = e.headers;
35
40
  if (!t || typeof t != "object" || Array.isArray(t)) return {};
@@ -43,7 +48,7 @@ function C(e) {
43
48
  let n = t.signal;
44
49
  return n instanceof AbortSignal ? n : void 0;
45
50
  }
46
- function re({ uri: e, batchMax: t, batchInterval: n }) {
51
+ function ie({ uri: e, batchMax: t, batchInterval: n }) {
47
52
  return new d((r) => new p((i) => {
48
53
  let o = r.getContext(), s = { query: h(r.query) };
49
54
  r.operationName && (s.operationName = r.operationName);
@@ -66,23 +71,23 @@ function re({ uri: e, batchMax: t, batchInterval: n }) {
66
71
  }));
67
72
  }
68
73
  function w(a) {
69
- let { gateway: h, baseUrl: _, authToken: v, workspaceToken: S, locale: C, geography: w, organizationId: T, productId: E, workspaceId: D, tenantId: O, cache: k, enableSubscriptions: A = !1, sseUrl: j, onAuthError: M, onRefreshToken: N, onNetworkError: P, onNetworkStatusChange: F, maxRetryAttempts: ie = 3, batchMax: ae = 10, batchInterval: oe, debug: I = !1 } = a, L = e[h], R = re({
74
+ let { gateway: h, baseUrl: _, authToken: v, workspaceToken: S, locale: C, geography: w, organizationId: T, productId: E, workspaceId: D, projectId: O, tenantId: k, cache: A, enableSubscriptions: ae = !1, sseUrl: oe, onAuthError: j, onRefreshToken: M, onNetworkError: N, onNetworkStatusChange: P, maxRetryAttempts: se = 3, batchMax: ce = 10, batchInterval: le, debug: F = !1 } = a, I = e[h], L = ie({
70
75
  uri: n(t(_, h)),
71
- batchMax: ae,
72
- batchInterval: oe
73
- }), z = l((e, t) => {
76
+ batchMax: ce,
77
+ batchInterval: le
78
+ }), R = l((e, t) => {
74
79
  let n = t.headers ?? {}, r = typeof v == "function" ? v() : v;
75
80
  return { headers: {
76
81
  ...n,
77
82
  ...r ? { authorization: `Bearer ${r}` } : {}
78
83
  } };
79
- }), B = l((e, t) => {
84
+ }), z = l((e, t) => {
80
85
  let n = t.headers ?? {}, r = typeof C == "function" ? C() : C;
81
86
  return { headers: {
82
87
  ...n,
83
88
  ...r ? { "accept-language": r } : {}
84
89
  } };
85
- }), V = l((e, t) => {
90
+ }), B = l((e, t) => {
86
91
  let n = t.headers ?? {}, r = typeof w == "function" ? w() : null;
87
92
  return { headers: {
88
93
  ...n,
@@ -90,32 +95,43 @@ function w(a) {
90
95
  ...r?.currency ? { "x-geo-currency": r.currency } : {},
91
96
  ...r?.timezone ? { "x-geo-timezone": r.timezone } : {}
92
97
  } };
93
- }), H = l((e, t) => {
98
+ }), V = l((e, t) => {
94
99
  let n = t.headers ?? {}, r = typeof T == "function" ? T() : T;
95
100
  return { headers: {
96
101
  ...n,
97
102
  ...r ? { "x-org-id": r } : {}
98
103
  } };
99
- }), U = l((e, t) => {
104
+ }), H = l((e, t) => {
100
105
  let n = t.headers ?? {}, r = typeof E == "function" ? E() : E;
101
106
  return { headers: {
102
107
  ...n,
103
108
  ...r ? { "x-product-id": r } : {}
104
109
  } };
105
- }), W = l((e, t) => {
106
- let n = t.headers ?? {}, r = (typeof D == "function" ? D() : D) || x(e.variables);
110
+ }), U = l((e, t) => {
111
+ let n = t.headers ?? {}, r = (typeof D == "function" ? D() : D) || ne(e.variables);
107
112
  return { headers: {
108
113
  ...n,
109
114
  ...r ? { "x-workspace-id": r } : {}
110
115
  } };
116
+ }), W = l((e, t) => {
117
+ let n = t.headers ?? {}, r = (typeof O == "function" ? O() : O) || re(e.variables);
118
+ return { headers: {
119
+ ...n,
120
+ ...r ? { "x-project-id": r } : {}
121
+ } };
111
122
  }), G = l((e, t) => {
112
- let n = t.headers ?? {}, r = typeof O == "function" ? O() : O;
123
+ let n = t.headers ?? {}, r = typeof k == "function" ? k() : k;
113
124
  return { headers: {
114
125
  ...n,
115
126
  ...r ? { "x-tenant-id": r } : {}
116
127
  } };
117
128
  }), K = l((e, t) => {
118
- let n = t.headers ?? {}, i = typeof S == "function" ? S() : S, a = r(i, { workspaceId: typeof D == "function" ? D() : D }) ? i : null;
129
+ let n = t.headers ?? {}, i = typeof S == "function" ? S() : S, a = r(i, {
130
+ workspaceId: typeof D == "function" ? D() : D,
131
+ organizationId: typeof T == "function" ? T() : T,
132
+ tenantId: typeof k == "function" ? k() : k,
133
+ projectId: typeof O == "function" ? O() : O
134
+ }) ? i : null;
119
135
  return { headers: {
120
136
  ...n,
121
137
  ...a ? { "x-workspace-authorization": `Bearer ${a}` } : {}
@@ -127,25 +143,25 @@ function w(a) {
127
143
  jitter: !0
128
144
  },
129
145
  attempts: {
130
- max: ie,
146
+ max: se,
131
147
  retryIf: (e) => {
132
- if (b() || !e) return !1;
148
+ if (x() || !e) return !1;
133
149
  let t = e.message?.toLowerCase?.() ?? "";
134
150
  return !(t.includes("401") || t.includes("403") || t.includes("unauthorized") || t.includes("forbidden") || t.includes("unauthenticated"));
135
151
  }
136
152
  }
137
153
  }), J = new d((e, t) => {
138
- if (b()) {
139
- I && console.warn("[CircuitBreaker] Circuit is open, blocking request:", e.operationName);
154
+ if (x()) {
155
+ F && console.warn("[CircuitBreaker] Circuit is open, blocking request:", e.operationName);
140
156
  let t = /* @__PURE__ */ Error("Network circuit breaker is open — backend appears unreachable. Retrying in 30 seconds.");
141
- return P?.(t), new p((e) => {
157
+ return N?.(t), new p((e) => {
142
158
  e.error(t);
143
159
  });
144
160
  }
145
161
  return new p((n) => {
146
162
  let r = t(e).subscribe({
147
163
  next: (e) => {
148
- y(), g.consecutiveFailures === 0 && F?.(!1), n.next(e);
164
+ b(), g.consecutiveFailures === 0 && P?.(!1), n.next(e);
149
165
  },
150
166
  error: (e) => {
151
167
  n.error(e);
@@ -166,7 +182,7 @@ function w(a) {
166
182
  let r = e.errors;
167
183
  if (r) {
168
184
  let a = r.some((e) => e.extensions?.code === "UNAUTHENTICATED" || e.message.includes("Unauthorized") || e.message.includes("Unauthenticated"));
169
- for (let e of r) I && console.error("[GraphQL Error]:", e.message);
185
+ for (let e of r) F && console.error("[GraphQL Error]:", e.message);
170
186
  i({ errors: r }, { operationName: t.operationName });
171
187
  let o = new Set(["STORAGE_QUOTA_EXCEEDED", "RESOURCE_CAP_EXCEEDED"]);
172
188
  for (let e of r) {
@@ -176,35 +192,35 @@ function w(a) {
176
192
  break;
177
193
  }
178
194
  }
179
- if (a && N) return new p((r) => {
195
+ if (a && M) return new p((r) => {
180
196
  (async () => {
181
197
  if (Y) if (await new Promise((e) => {
182
198
  X.push({ resolve: e });
183
199
  })) {
184
200
  let e = n(t).subscribe(r);
185
201
  return () => e.unsubscribe();
186
- } else return M?.(), r.error(e), () => {};
202
+ } else return j?.(), r.error(e), () => {};
187
203
  Y = !0;
188
204
  try {
189
- let i = await N();
205
+ let i = await M();
190
206
  if (Y = !1, i) {
191
207
  Z(!0);
192
208
  let e = n(t).subscribe(r);
193
209
  return () => e.unsubscribe();
194
- } else return Z(!1), M?.(), r.error(e), () => {};
210
+ } else return Z(!1), j?.(), r.error(e), () => {};
195
211
  } catch {
196
- return Y = !1, Z(!1), M?.(), r.error(e), () => {};
212
+ return Y = !1, Z(!1), j?.(), r.error(e), () => {};
197
213
  }
198
214
  })();
199
215
  });
200
- a && M?.(), y();
201
- } else if (I && console.error("[Network Error]:", e), ne() && F?.(!0), e instanceof Error) P?.(e), i(e, {
216
+ a && j?.(), b();
217
+ } else if (F && console.error("[Network Error]:", e), y() && P?.(!0), e instanceof Error) N?.(e), i(e, {
202
218
  operationName: t.operationName,
203
219
  fallbackMessage: "We could not reach the server. Please check your connection and try again."
204
220
  });
205
221
  else {
206
222
  let n = Error(String(e));
207
- P?.(n), i(n, {
223
+ N?.(n), i(n, {
208
224
  operationName: t.operationName,
209
225
  fallbackMessage: "We could not reach the server. Please check your connection and try again."
210
226
  });
@@ -213,41 +229,43 @@ function w(a) {
213
229
  q,
214
230
  J,
215
231
  Q,
216
- z,
232
+ R,
217
233
  K,
234
+ V,
218
235
  H,
219
236
  U,
220
237
  W,
221
238
  G,
239
+ z,
222
240
  B,
223
- V,
224
- R
241
+ L
225
242
  ]);
226
- if (A) {
227
- let e = j || n(_ || L.defaultBaseUrl) + L.sse;
243
+ if (ae) {
244
+ let e = oe || n(_ || I.defaultBaseUrl) + I.sse;
228
245
  e && ($ = m([
229
246
  q,
230
247
  J,
231
248
  Q,
232
- z,
249
+ R,
233
250
  K,
251
+ V,
234
252
  H,
235
253
  U,
236
254
  W,
237
255
  G,
256
+ z,
238
257
  B,
239
- V,
240
258
  ee(({ query: e }) => {
241
259
  let t = te(e);
242
260
  return t.kind === "OperationDefinition" && t.operation === "subscription";
243
261
  }, new o({
244
262
  url: e,
245
263
  headers: {},
246
- debug: I
247
- }), R)
264
+ debug: F
265
+ }), L)
248
266
  ]));
249
267
  }
250
- let se = new f({ typePolicies: {
268
+ let ue = new f({ typePolicies: {
251
269
  File: { keyFields: ["id"] },
252
270
  Folder: { keyFields: ["id"] },
253
271
  Tag: { keyFields: ["id"] },
@@ -281,7 +299,7 @@ function w(a) {
281
299
  } });
282
300
  return new u({
283
301
  link: $,
284
- cache: k ?? se,
302
+ cache: A ?? ue,
285
303
  defaultOptions: {
286
304
  watchQuery: {
287
305
  fetchPolicy: "cache-and-network",
@@ -33,6 +33,11 @@ export interface GraphQLFetchOptions {
33
33
  * Pass `true` to auto-read from profile context storage, or pass the tenant ID string directly.
34
34
  */
35
35
  tenantId?: boolean | string;
36
+ /**
37
+ * Include project ID in x-project-id header.
38
+ * Pass `true` to auto-read from profile context storage, or pass the project ID string directly.
39
+ */
40
+ projectId?: boolean | string;
36
41
  /** Override locale (if not provided, reads from profile storage) */
37
42
  locale?: string;
38
43
  /** Override base URL (if not provided, reads from GATEWAYS config) */
@@ -83,6 +88,8 @@ export declare function getStoredWorkspaceId(): string | null;
83
88
  export declare function getStoredOrganizationId(): string | null;
84
89
  /** Read the active profile's tenant ID from profile context storage */
85
90
  export declare function getStoredTenantId(): string | null;
91
+ /** Read the active profile's project ID from profile context storage */
92
+ export declare function getStoredProjectId(): string | null;
86
93
  /** Resolve full gateway GraphQL URL */
87
94
  export declare function resolveGatewayUrl(gateway: Gateway, baseUrl?: string): string;
88
95
  export interface EnqueueGraphQLFetchOptions {
@@ -1 +1 @@
1
- {"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../../src/shared/graphql/fetch.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAY,KAAK,OAAO,EAAE,MAAM,WAAW,CAAC;AAsBnD,MAAM,WAAW,mBAAmB;IAClC,wBAAwB;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,sCAAsC;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpC,sDAAsD;IACtD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wEAAwE;IACxE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAClC;;;;;OAKG;IACH,WAAW,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC/B;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAClC;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC5B,oEAAoE;IACpE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,sEAAsE;IACtE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,mEAAmE;IACnE,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,mCAAmC;IACnC,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB;AAED,MAAM,WAAW,eAAe,CAAC,CAAC,GAAG,OAAO;IAC1C,IAAI,EAAE,CAAC,GAAG,IAAI,CAAC;IACf,MAAM,CAAC,EAAE,KAAK,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,KAAK,C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