mirror of
https://github.com/IT4Change/gradido.git
synced 2026-01-20 20:01:31 +00:00
define ApiVersion enum
This commit is contained in:
parent
e7f523f20f
commit
3fba096682
12
backend/src/federation/enum/ApiVersionType.ts
Normal file
12
backend/src/federation/enum/ApiVersionType.ts
Normal 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',
|
||||
})
|
||||
Loading…
x
Reference in New Issue
Block a user