@worktif/purews
Version:
Work TIF TypeScript-based AWS infrastructure toolkit featuring DynamoDB integration, AppSync support, SES functionality, and GraphQL capabilities with comprehensive audit logging and AWS Signature V4 authentication.
16 lines (15 loc) • 509 B
TypeScript
import 'reflect-metadata';
/**
* Convert a string value to GraphQL enum format
*
* @param {string} value - The input string value to be converted
* @return {string} - The string value converted to GraphQL enum format
*/
export declare function toGqlEnum<S>(value: string): S;
/**
* Converts a string value into a GraphQL option object.
*
* @param value The input string value to be converted
* @return The converted GraphQL option object
*/
export declare function toGqlOption<S>(value: string): S;