mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
move output schema from server in correct file
This commit is contained in:
parent
b3eea7ab47
commit
3bdb542795
@ -14,8 +14,8 @@ import { hieroTransactionIdStringSchema } from '../schemas/typeGuard.schema'
|
||||
import {
|
||||
accountIdentifierSeedTypeBoxSchema,
|
||||
accountIdentifierUserTypeBoxSchema,
|
||||
existTypeBoxSchema,
|
||||
} from './input.schema'
|
||||
import { existTypeBoxSchema } from './output.schema'
|
||||
|
||||
const logger = getLogger(`${LOG4JS_BASE_CATEGORY}.server`)
|
||||
|
||||
|
||||
@ -13,7 +13,3 @@ export const accountIdentifierSeedTypeBoxSchema = t.Object({
|
||||
communityTopicId: TypeBoxFromValibot(hieroIdSchema),
|
||||
seed: TypeBoxFromValibot(uuidv4Schema),
|
||||
})
|
||||
|
||||
export const existTypeBoxSchema = t.Object({
|
||||
exists: t.Boolean(),
|
||||
})
|
||||
|
||||
5
dlt-connector/src/server/output.schema.ts
Normal file
5
dlt-connector/src/server/output.schema.ts
Normal file
@ -0,0 +1,5 @@
|
||||
import { t } from 'elysia'
|
||||
|
||||
export const existTypeBoxSchema = t.Object({
|
||||
exists: t.Boolean(),
|
||||
})
|
||||
Loading…
x
Reference in New Issue
Block a user