@camstack/core 0.1.23 → 0.1.24

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/dist/index.mjs CHANGED
@@ -31,7 +31,7 @@ import { promisify } from "node:util";
31
31
  import { errMsg, parseJsonObject } from "@camstack/types";
32
32
  import * as vm from "node:vm";
33
33
  import * as os from "node:os";
34
- //#region ../types/dist/auth-records-Bsjs9Xri.mjs
34
+ //#region ../types/dist/auth-records-COv3plzv.mjs
35
35
  var MODEL_FORMATS = [
36
36
  "onnx",
37
37
  "coreml",
@@ -3302,21 +3302,6 @@ var AuthProviderInfoSchema = z.object({
3302
3302
  addonId: z.string(),
3303
3303
  /** Display label shown on the login button + admin row. */
3304
3304
  displayName: z.string(),
3305
- /**
3306
- * Provider kind — drives icon + grouping in admin UI.
3307
- * - `local` — username/password form (always at top of login page)
3308
- * - `oidc` — OpenID Connect (Google, Microsoft, Okta, generic)
3309
- * - `saml` — SAML 2.0
3310
- * - `ldap` — LDAP / Active Directory
3311
- * - `other` — anything else (custom integrations)
3312
- */
3313
- kind: z.enum([
3314
- "local",
3315
- "oidc",
3316
- "saml",
3317
- "ldap",
3318
- "other"
3319
- ]),
3320
3305
  /** Optional iconography hint (lucide-react icon name OR emoji). */
3321
3306
  icon: z.string().optional(),
3322
3307
  /** When true, the provider exposes a redirect-based login flow
@@ -3359,21 +3344,8 @@ var RemoteAccessEndpointSchema = z.object({
3359
3344
  var RemoteAccessProviderInfoSchema = z.object({
3360
3345
  /** Stable id matching the addon id. */
3361
3346
  addonId: z.string(),
3362
- /** Display label shown on the admin row. */
3347
+ /** Display label shown on the admin row — sourced from the addon manifest. */
3363
3348
  displayName: z.string(),
3364
- /**
3365
- * Provider kind — drives icon + status formatting.
3366
- * - `cloudflare-tunnel`
3367
- * - `ngrok`
3368
- * - `tailscale`
3369
- * - `other`
3370
- */
3371
- kind: z.enum([
3372
- "cloudflare-tunnel",
3373
- "ngrok",
3374
- "tailscale",
3375
- "other"
3376
- ]),
3377
3349
  /** When false, the provider is registered but disabled. */
3378
3350
  enabled: z.boolean(),
3379
3351
  /** True when the underlying tunnel/connection is up. */
@@ -3400,21 +3372,8 @@ method(z.void(), z.array(TurnServerSchema).readonly());
3400
3372
  var TurnProviderInfoSchema = z.object({
3401
3373
  /** Stable id matching the addon id. */
3402
3374
  addonId: z.string(),
3403
- /** Display label shown on the admin row. */
3375
+ /** Display label shown on the admin row — sourced from the addon manifest. */
3404
3376
  displayName: z.string(),
3405
- /**
3406
- * Provider kind — drives icon + grouping.
3407
- * - `cloudflare` — Cloudflare TURN
3408
- * - `coturn` — self-hosted coturn
3409
- * - `twilio` — Twilio Network Traversal
3410
- * - `other` — anything else
3411
- */
3412
- kind: z.enum([
3413
- "cloudflare",
3414
- "coturn",
3415
- "twilio",
3416
- "other"
3417
- ]),
3418
3377
  /** When false, the provider is registered but disabled. */
3419
3378
  enabled: z.boolean(),
3420
3379
  /** Number of servers this provider is currently exposing. */