// Generated by quarkus-quickjs4j // TypeScript definitions for ArtifactTypeScriptProvider // ============================================================================= // Context Builtins - Java methods callable from JavaScript // ============================================================================= export function info(message: string): void; export function debug(message: string): void; // ============================================================================= // Script Interface - Functions that must be implemented and exported // ============================================================================= export interface ArtifactTypeScriptProvider { acceptsContent(request: ContentAccepterRequest): boolean; testCompatibility(request: CompatibilityCheckerRequest): CompatibilityCheckerResponse; canonicalize(request: ContentCanonicalizerRequest): ContentCanonicalizerResponse; dereference(request: ContentDereferencerRequest): ContentDereferencerResponse; rewriteReferences(request: ContentDereferencerRequest): ContentDereferencerResponse; validate(request: ContentValidatorRequest): ContentValidatorResponse; validateReferences(request: ContentValidatorRequest): ContentValidatorResponse; findExternalReferences(request: ReferenceFinderRequest): ReferenceFinderResponse; } // ============================================================================= // Type Definitions - TypeScript interfaces for Java beans // ============================================================================= export interface ContentValidatorResponse { ruleViolations: any[]; } export interface CompatibilityCheckerRequest { level: string; existingArtifacts: any[]; proposedArtifact: any; resolvedReferences: any[]; } export interface ContentCanonicalizerRequest { content: any; resolvedReferences: any[]; } export interface ContentCanonicalizerResponse { typedContent: any; } export interface ReferenceFinderResponse { externalReferences: any[]; } export interface ContentDereferencerRequest { content: any; resolvedReferences: any[]; function: any; resolvedReferenceUrls: any[]; } export interface ContentValidatorRequest { level: string; function: any; content: any; resolvedReferences: any[]; references: any[]; } export interface ContentAccepterRequest { typedContent: any; resolvedReferences: any[]; } export interface CompatibilityCheckerResponse { incompatibleDifferences: any[]; } export interface ReferenceFinderRequest { typedContent: any; } export interface ContentDereferencerResponse { typedContent: any; }