Model = {
title: string;
comments: () => ListReturnValue<({
content: string;
readonly id: string;
readonly createdAt: string;
readonly updatedAt: string;
} | null | undefined)[]>;
readonly id: string;
readonly createdAt: string;
readonly updatedAt: string;
description?: string | ... 1 more ... | undefined;
}
{
title: string;
comments: {
content: string;
readonly id: string;
readonly createdAt: string;
readonly updatedAt: string;
}[];
readonly id: string;
readonly createdAt: string;
readonly updatedAt: string;
description: string | null | undefined;
}
Flattens model instance type and unwraps async functions into resolved GraphQL shape
This type is used for generating the base shape for custom selection set input and its return value Uses same pattern as above to limit recursion depth to maximum usable for selection set.