define ApiVersion enum

This commit is contained in:
Claus-Peter Hübner 2022-11-25 17:54:22 +01:00
parent e7f523f20f
commit 3fba096682

View File

@ -0,0 +1,12 @@
import { registerEnumType } from 'type-graphql'
export enum ApiVersionType {
V1 = 'v1',
V1_1 = 'v1_1',
V2 = 'v2',
}
registerEnumType(ApiVersionType, {
name: 'ApiVersionType',
description: 'Endpoint prefix of the federation community url',
})