/opt/canhelp/node_modules/gel/dist/reflection/queries
Edit: /opt/canhelp/node_modules/gel/dist/reflection/queries/casts.d.ts (907B)
import type { Executor } from "../../ifaces";
import type { typeutil } from "../typeutil";
type Cast = {
id: string;
source: {
id: string;
name: string;
};
target: {
id: string;
name: string;
};
allow_assignment: boolean;
allow_implicit: boolean;
};
export type Casts = typeutil.depromisify
>;
export declare const casts: (cxn: Executor, params?: {
debug?: boolean;
}) => Promise<{
castsById: Record;
typesById: Record;
castMap: {
[k: string]: string[];
};
implicitCastMap: {
[k: string]: string[];
};
implicitCastFromMap: {
[k: string]: string[];
};
assignmentCastMap: {
[k: string]: string[];
};
assignableByMap: {
[k: string]: string[];
};
}>;
export {};