import type { FlyAuthOptions } from './fly-core.ts' export type FlyPaginationInput = FlyAuthOptions & { first?: number maxPages?: number } export type FlyGraphqlInput = FlyAuthOptions & { query: string variables?: Record } export type FlyOrganizationInput = FlyPaginationInput & { organizationId?: string organizationSlug?: string orgSlug?: string slug?: string id?: string } export type FlyAppsInput = FlyOrganizationInput & { appName?: string app?: string name?: string appRole?: string app_role?: string } export type FlyMachinesInput = FlyPaginationInput & { appId?: string appName?: string app?: string state?: string region?: string organizationSlug?: string orgSlug?: string machineId?: string id?: string includeDeleted?: boolean summary?: boolean cursor?: string updatedAfter?: string } export type FlyAppMachinesInput = FlyMachinesInput & { appName?: string app?: string organizationSlug?: string organizationId?: string } export type FlyMachineMutationInput = FlyAuthOptions & { appName?: string app?: string machineId?: string id?: string dryRun?: boolean confirm?: boolean timeout?: number signal?: string force?: boolean } export type FlyLogsInput = FlyAuthOptions & { appName?: string app?: string start?: string end?: string since?: string until?: string maxPages?: number maxEntries?: number format?: 'jsonl' | 'entries' includeEntries?: boolean [key: string]: unknown } export type FlyMetricsInput = FlyAuthOptions & { appName?: string app?: string orgSlug?: string organizationSlug?: string query?: string start?: string end?: string step?: string time?: string [key: string]: unknown } export type FlySmokeTestInput = FlyAuthOptions & { includeMachines?: boolean organizationSlug?: string }