Skip to content

Commit

Permalink
Implement schemas for BoundWitness Diviner
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelBCarter committed Aug 1, 2024
1 parent e58aa9f commit 5996447
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { BoundWitness } from '@xyo-network/boundwitness-model'
import { AbstractDiviner } from '@xyo-network/diviner-abstract'
import { BoundWitnessDivinerParams, BoundWitnessDivinerQueryPayload } from '@xyo-network/diviner-boundwitness-model'
import { BoundWitnessDivinerConfigSchema, BoundWitnessDivinerParams, BoundWitnessDivinerQueryPayload } from '@xyo-network/diviner-boundwitness-model'
import { DivinerInstance, DivinerModuleEventData } from '@xyo-network/diviner-model'
import { Schema } from '@xyo-network/payload-model'

export abstract class BoundWitnessDiviner<
TParams extends BoundWitnessDivinerParams = BoundWitnessDivinerParams,
Expand All @@ -12,4 +13,7 @@ export abstract class BoundWitnessDiviner<
TIn,
TOut
>,
> extends AbstractDiviner<TParams, TIn, TOut, TEventData> {}
> extends AbstractDiviner<TParams, TIn, TOut, TEventData> {
static override readonly configSchemas: Schema[] = [...super.configSchemas, BoundWitnessDivinerConfigSchema]
static override readonly defaultConfigSchema: Schema = BoundWitnessDivinerConfigSchema
}

0 comments on commit 5996447

Please sign in to comment.