@biffo/cli 0.249.9 → 0.250.0

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.
@@ -224,6 +224,22 @@ export function __resetRenewedTokenCacheForTests(): void {
224
224
  renewedTokenCache = null
225
225
  }
226
226
 
227
+ /**
228
+ * What `createApiClient` returns. Named so components can accept a client as a
229
+ * prop without re-deriving the shape (`ReturnType<typeof createApiClient>`
230
+ * spelled out at every call site drifts the moment the client gains a method).
231
+ *
232
+ * Backported from `tabsii-crm`, which added it and then could not receive this
233
+ * file: `filesIfPresent` distributes the skeleton's copy verbatim, so a sync
234
+ * would have deleted an export three of its components import and broken the
235
+ * build. Caught by the sync rehearsal on 2026-08-06 rather than in fourteen
236
+ * repos afterwards.
237
+ *
238
+ * The rule that applies (AGENTS.md, and biffo-template#1198's hard-won version):
239
+ * a file an instance is merely AHEAD on is backported, never overwritten.
240
+ */
241
+ export type ApiClient = ReturnType<typeof createApiClient>
242
+
227
243
  export function createApiClient(
228
244
  getIdToken: () => string | null,
229
245
  refreshIdToken: () => Promise<string | null> = refreshViaPortalSession,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@biffo/cli",
3
- "version": "0.249.9",
3
+ "version": "0.250.0",
4
4
  "description": "Biffo project scaffolding CLI",
5
5
  "license": "MIT",
6
6
  "type": "module",