import { SetMetadata } from '@nestjs/common' ; import { PLUGIN_TYPE_METADATA } from '../postgraphile.constants' ; import { PluginType } from '../enums/plugin-type.enum' ; export function ProcessSchema ( ) { return ( target , key ? , descriptor ? ) => { SetMetadata ( PLUGIN_TYPE_METADATA , PluginType . PROCESS_SCHEMA ) ( target , key , descriptor ) ; } ; }