import type { CleanupPolicy } from '../schemas/CleanupPolicy'; import type { RegistryConfig } from '../schemas/RegistryConfig'; import type { PackageType } from '../schemas/PackageType'; import type { Scanner } from '../schemas/Scanner'; export interface RegistryRequest { allowedPattern?: string[]; blockedPattern?: string[]; cleanupPolicy?: CleanupPolicy[]; config?: T0; description?: string; identifier: string; isPublic: boolean; labels?: string[]; packageType: PackageType; /** * Reference to the scope in which the registry exists. * * Format depends on the scope: * * - **Account-level**: `account_id` * - **Organization-level**: `account_id/org_id` * - **Project-level**: `account_id/org_id/project_id` * */ parentRef: string; policyRefs?: string[]; scanners?: Scanner[]; }