import { ApiRequest , ApiVersionedResponse , ApiClaims } from '@mds-core/mds-api-server' ; import { Params , ParamsDictionary } from 'express-serve-static-core' ; export const JURISDICTION_API_SUPPORTED_VERSIONS = [ '0.1.0' ] as const ; export type JURISDICTION_API_SUPPORTED_VERSION = typeof JURISDICTION_API_SUPPORTED_VERSIONS [ number ] ; export const [ JURISDICTION_API_DEFAULT_VERSION ] = JURISDICTION_API_SUPPORTED_VERSIONS ; export type JurisdictionApiRequest < P extends Params = ParamsDictionary > = ApiRequest < P > ; export type JurisdictionApiAccessTokenScopes = 'jurisdictions:read' | 'jurisdictions:read:claim' | 'jurisdictions:write' ; export type JurisdictionApiResponse < TBody extends { } > = ApiVersionedResponse < JURISDICTION_API_SUPPORTED_VERSION , ApiClaims < JurisdictionApiAccessTokenScopes > , TBody > ;