13 lines
894 B
TypeScript
13 lines
894 B
TypeScript
import { StringFormat, TableConfiguration, ViewValueFormatting } from '@aws-amplify/codegen-ui/lib/types';
|
|
import { CallExpression, ObjectLiteralExpression } from 'typescript';
|
|
export declare const getFilterName: (model: string) => string;
|
|
export declare const getPredicateName: (model: string) => string;
|
|
export declare const getPaginationName: (model: string) => string;
|
|
export declare const getDataStoreName: (model: string) => string;
|
|
export declare const needsFormatter: (config: TableConfiguration) => boolean;
|
|
export declare const buildDataStoreCollectionCall: (model: string, criteriaName?: string | undefined, paginationName?: string | undefined) => CallExpression;
|
|
export declare const objectToExpression: (object: {
|
|
[key: string]: any;
|
|
}) => ObjectLiteralExpression;
|
|
export declare const stringFormatToType: (viewFormat: ViewValueFormatting | undefined) => StringFormat['type'];
|