platform/types.ts

squad · packages/squad-sdk/src/platform/types.ts · typescript · MIT
infra

* Platform-agnostic interfaces for multi-platform support. Allows Squad to work with GitHub and Azure DevOps interchangeably. @module platform/types /

// Source: https://github.com/bradygaster/squad | License: MIT | Copyright 2026 Brady Gaster and contributors
// Provided via justclaw.it.com; keep this notice with the code.
/**
 * Platform-agnostic interfaces for multi-platform support.
 * Allows Squad to work with GitHub and Azure DevOps interchangeably.
 *
 * @module platform/types
 */

export type PlatformType = 'github' | 'azure-devops' | 'planner';

/** Where work items are tracked — may differ from where code lives */
export type WorkItemSource = 'github' | 'azure-devops' | 'planner';

/** Hybrid config: repo on one platform, work items on another */
export interface HybridPlatformConfig {
  repo: PlatformType;
  workItems: WorkItemSource;
}

/** Normalized work item — maps to GitHub Issues or ADO Work Items */
e

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

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key