mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-17 23:52:34 +00:00
Run \`bun run generate\` inside lib/packages/fabro-api-client to pick up the new install schemas. Swap install-api.ts from hand-written interfaces to re-exports from @qltysh/fabro-api-client and drop the last duplicated type surface for the install wizard. Keeps the \`installFetch\` wrapper and \`readInstallError\` helper so the session-storage token handling and our custom error parser stay local to the wizard. The generated Axios client is available as a future migration if we decide to drop the wrapper. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
39 lines
1 KiB
TypeScript
39 lines
1 KiB
TypeScript
/* tslint:disable */
|
|
/* eslint-disable */
|
|
/**
|
|
* Fabro Run API
|
|
* HTTP API for managing Fabro workflow run executions.
|
|
*
|
|
* The version of the OpenAPI document: 0.1.0
|
|
*
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
|
|
|
|
// May contain unused imports in some cases
|
|
// @ts-ignore
|
|
import type { InstallGithubAppOwner } from './install-github-app-owner';
|
|
|
|
/**
|
|
* Redacted summary of the GitHub install strategy selected during browser install.
|
|
*/
|
|
export interface InstallGithubSummary {
|
|
'strategy': InstallGithubSummaryStrategyEnum;
|
|
'username'?: string;
|
|
'owner'?: InstallGithubAppOwner;
|
|
'app_name'?: string;
|
|
'slug'?: string;
|
|
'allowed_username'?: string;
|
|
}
|
|
|
|
export const InstallGithubSummaryStrategyEnum = {
|
|
TOKEN: 'token',
|
|
APP: 'app'
|
|
} as const;
|
|
|
|
export type InstallGithubSummaryStrategyEnum = typeof InstallGithubSummaryStrategyEnum[keyof typeof InstallGithubSummaryStrategyEnum];
|
|
|
|
|