Lines Matching refs:GeneratedData
1 import { ClassDefinitionData, GeneratedData } from '~/components/plugins/api/APIDataTypes';
32 entries: GeneratedData[] = [],
34 additionalCondition: (entry: GeneratedData) => boolean = () => true
37 (entry: GeneratedData) =>
42 const isHook = ({ name }: GeneratedData) =>
47 const isListener = ({ name }: GeneratedData) =>
50 const isProp = ({ name }: GeneratedData) => name.includes('Props') && name !== 'ErrorRecoveryProps';
52 const isComponent = ({ type, extendedTypes, signatures }: GeneratedData) => {
69 const isConstant = ({ name, type }: GeneratedData) =>
73 const hasCategoryHeader = ({ signatures }: GeneratedData): boolean =>
80 const groupByHeader = (entries: GeneratedData[]) => {
81 return entries.reduce((group: Record<string, GeneratedData[]>, entry) => {
154 .filter((entry: GeneratedData) => entry.kind === TypeDocKind.Class)
155 .map((entry: GeneratedData) => entry.children)
211 !isHook(method as GeneratedData)