You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Put an X between the brackets on this line if you have done all of the following:
Reproduced the problem or exposed a new need
Checked the github existing issues
Description
Steps to Reproduce
import * as mindee from 'mindee';
import { StringField } from 'mindee';
mindee......StringFieldorStringField` are not available
We want to check dynamically whether the propery is of type StringField, NumberField or LineItems, etc. but they are not exported from the package currently
Expected behavior:
StringField and other field types to be available for import
Actual behavior:
StringField and other field types are not available for import
Reproduces how often:
Versions
latest
Additional Information
The text was updated successfully, but these errors were encountered:
roman-supy-io
changed the title
[Request] Expose StringField and other field types fort export
[Request] Expose StringField and other field types for import
May 30, 2024
Probably won't be implemented soon as it would be quite the breaking change, but this is something we feel is needed as well. Thank you for the feedback.
In the meantime, you can access fields through: import { StringField } from "mindee/src/parsing/standard";
Prerequisites
Put an X between the brackets on this line if you have done all of the following:
Description
Steps to Reproduce
import * as mindee from 'mindee';
import { StringField } from 'mindee';
mindee......
StringFieldor
StringField` are not availableWe want to check dynamically whether the propery is of type
StringField
,NumberField
orLineItems
, etc. but they are not exported from the package currentlyExpected behavior:
StringField
and other field types to be available for importActual behavior:
StringField
and other field types are not available for importReproduces how often:
Versions
latest
Additional Information
The text was updated successfully, but these errors were encountered: