Skip to content

Commit

Permalink
ON-43678 # update types
Browse files Browse the repository at this point in the history
  • Loading branch information
divporter committed Sep 25, 2024
1 parent e811a93 commit 096c565
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [6.6.0] - 2024-09-25

### Added

- support for invisible ReCAPTCHA

## [6.6.0] - 2024-09-25

### Added

- support for WCAG 1.3.1 - Info and Relationships
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions src/types/form.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { FormTypes, SubmissionTypes } from '@oneblink/types'
import { FormTypes, SubmissionTypes, IntegrationTypes } from '@oneblink/types'

export {
FormElementConditionallyShownElement,
Expand Down Expand Up @@ -89,6 +89,6 @@ export type IsDirtyProps = {
setIsDirty: () => void
}

//TODO get from types
// export type captchaType = IntegrationTypes.IntegrationRecaptcha['configuration']['domains'][number]['type']
export type CaptchaType = 'INVISIBLE' | 'CHECKBOX'
export type CaptchaType = NonNullable<
IntegrationTypes.IntegrationRecaptcha['configuration']['domains'][number]['type']
>

0 comments on commit 096c565

Please sign in to comment.