@fibery/ai-utils
Version:
Utilities for Fibery AI
26 lines (25 loc) • 817 B
TypeScript
import { Schema, TypeObject } from '@fibery/schema';
import type { EnumFetcher } from './types.js';
export declare const mockEnumFetcher: EnumFetcher;
export declare const mockExecuteCommands: (commands: any[]) => Promise<{
success: boolean;
result: ({
id: string;
name: string;
rank: string;
color: string;
icon: string;
isFinal?: undefined;
} | {
id: string;
name: string;
rank: string;
color: string;
icon: string;
isFinal: boolean;
})[];
}[]>;
export declare const loadTestSchema: () => Schema;
export declare const getDomainTypes: (schema: Schema) => TypeObject[];
export declare const getEnumTypes: (schema: Schema) => TypeObject[];
export declare const getSpaceNames: (schema: Schema) => string[];