Skip to content

Commit

Permalink
fix: test strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
abuaboud committed Feb 8, 2024
1 parent 36bfaea commit c69fd0e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TriggerStrategy, WebhookHandshakeConfiguration } from '@activepieces/pieces-framework'
import { ExactVersionType, PieceCategory, PrincipalType } from '@activepieces/shared'
import { ExactVersionType, PieceCategory, PrincipalType, TriggerTestStrategy } from '@activepieces/shared'
import { Type } from '@fastify/type-provider-typebox'

const Action = Type.Object({
Expand All @@ -16,6 +16,7 @@ const Trigger = Type.Composite([
handshakeConfiguration: WebhookHandshakeConfiguration,
sampleData: Type.Unknown(),
type: Type.Enum(TriggerStrategy),
testStrategy: Type.Enum(TriggerTestStrategy),
}),
])

Expand Down

0 comments on commit c69fd0e

Please sign in to comment.