UNPKG

@graphql-codegen/c-sharp-common

Version:
15 lines (14 loc) 709 B
export type JsonAttributesSource = 'Newtonsoft.Json' | 'System.Text.Json'; type JsonAttributeEnumConfiguration = { decorator: string; enumMemberAttribute: (value: string) => string; }; export declare class JsonAttributesSourceConfiguration { readonly namespace: string; readonly propertyAttribute: string; readonly requiredAttribute: string; readonly enumConfiguration: JsonAttributeEnumConfiguration; constructor(namespace: string, propertyAttribute: string, requiredAttribute: string, enumConfig: JsonAttributeEnumConfiguration); } export declare function getJsonAttributeSourceConfiguration(attributesSource: JsonAttributesSource): JsonAttributesSourceConfiguration; export {};