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