Component evidence

api/types.ts

onecli · apps/web/src/lib/api/types.ts · typescript · Apache-2.0
ai

Type definitions for API clients and data models.

Source preview first 800 characters · full source over MCP
// Source: https://github.com/onecli/onecli | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
import type { ChannelPresenceStatus } from "./channels";
import type { UnlistedChoice } from "@onecli/api/validations/grants";
import type { MissingPermission } from "@onecli/api/apps/missing-permissions";

export type AgentKind = "byo" | "hosted";

export interface AgentChannelRef {
  provider: string;
  /** The app's handle in the workspace (Slack: "donna"), where known. */
  identityName: string | null;
  externalId: string;
  /** The provider's settings page for this presence, opened where the app's
   * profile icon is set, or null. Optional: an older API answers without
   * it. */
  

... (truncated -- full source via MCP)