@camstack/types 0.1.17 → 0.1.19

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.
@@ -5505,6 +5505,14 @@ const TurnProviderInfoSchema = z.object({
5505
5505
  enabled: z.boolean(),
5506
5506
  /** Number of servers this provider is currently exposing. */
5507
5507
  serverCount: z.number(),
5508
+ /**
5509
+ * Flat list of every TURN/STUN URL this provider currently exposes.
5510
+ * One row per URL (multi-URL ICE server entries are flattened). The
5511
+ * admin UI shows this in a compact per-provider list so operators
5512
+ * can verify what's actually being negotiated without having to dig
5513
+ * into the combined `getAllServers` output.
5514
+ */
5515
+ urls: z.array(z.string()).readonly(),
5508
5516
  /** Last fetch error (when serverCount=0 due to API failure), if any. */
5509
5517
  error: z.string().optional()
5510
5518
  });
@@ -7950,8 +7958,10 @@ const ScopedTokenSchema = z.object({
7950
7958
  tokenHash: z.string(),
7951
7959
  tokenPrefix: z.string(),
7952
7960
  scopes: z.array(TokenScopeSchema),
7953
- expiresAt: z.number().optional(),
7954
- lastUsedAt: z.number().optional(),
7961
+ // SQLite/JSON storage round-trips undefined → null. Use `nullish` so the
7962
+ // schema accepts both `null` (read from disk) and `undefined` (in-memory).
7963
+ expiresAt: z.number().nullish(),
7964
+ lastUsedAt: z.number().nullish(),
7955
7965
  createdAt: z.number()
7956
7966
  });
7957
7967
  export {
@@ -8294,4 +8304,4 @@ export {
8294
8304
  addonsCapability as y,
8295
8305
  zonesCapability as z
8296
8306
  };
8297
- //# sourceMappingURL=auth-records-BDg37fy9.mjs.map
8307
+ //# sourceMappingURL=auth-records-Bq2XO-Mg.mjs.map