shinkansen-sprockets 1.2.3 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.mts +1 -1
- package/package.json +4 -4
- package/src/components/common/text-content/index.d.mts +2 -3
- package/src/components/common/visually-hidden-text/index.d.mts +2 -3
- package/src/components/description/index.d.mts +2 -3
- package/src/components/error-message/index.d.mts +3 -5
- package/src/components/group/index.d.mts +3 -5
- package/src/components/title/index.d.mts +2 -3
- package/src/index.d.mts +5 -8
- package/src/sprockets/check-answers/group/index.d.mts +3 -5
- package/src/sprockets/check-answers/index.d.mts +2 -3
- package/src/sprockets/check-answers/title/index.d.mts +2 -3
- package/src/sprockets/error-summary/group/index.d.mts +3 -5
- package/src/sprockets/error-summary/index.d.mts +2 -3
- package/src/sprockets/error-summary/title/index.d.mts +2 -3
- package/src/sprockets/fieldset/group/index.d.mts +3 -5
- package/src/sprockets/fieldset/index.d.mts +2 -3
- package/src/sprockets/fieldset/title/index.d.mts +2 -3
- package/src/sprockets/index.d.mts +2 -3
- package/src/transformers/check-answers/index.d.mts +4 -4
- package/src/transformers/error-message/index.d.mts +4 -4
- package/src/transformers/error-summary/index.d.mts +4 -4
package/index.d.mts
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "shinkansen-sprockets",
|
3
|
-
"version": "1.2.
|
3
|
+
"version": "1.2.4",
|
4
4
|
"description": "Shinkansen Sprockets",
|
5
5
|
"keywords": [
|
6
6
|
"Shinkansen",
|
@@ -53,9 +53,9 @@
|
|
53
53
|
"@babel/preset-env": "^7.26.9",
|
54
54
|
"@babel/preset-react": "^7.26.3",
|
55
55
|
"@babel/register": "^7.25.9",
|
56
|
-
"@modernpoacher/design-system": "1.1.
|
57
|
-
"@sequencemedia/eslint-config-standard": "^0.2.
|
58
|
-
"@sequencemedia/eslint-config-typescript": "^0.1.
|
56
|
+
"@modernpoacher/design-system": "1.1.29",
|
57
|
+
"@sequencemedia/eslint-config-standard": "^0.2.31",
|
58
|
+
"@sequencemedia/eslint-config-typescript": "^0.1.46",
|
59
59
|
"@storybook/addon-actions": "7.6.20",
|
60
60
|
"@storybook/addon-essentials": "7.6.20",
|
61
61
|
"@storybook/addon-links": "7.6.20",
|
@@ -1,13 +1,12 @@
|
|
1
1
|
declare module '#sprockets/components/common/text-content' {
|
2
2
|
import type React from 'react'
|
3
3
|
|
4
|
-
type TextContentProps = SprocketsTypes.Components.Common.TextContent.TextContentProps
|
4
|
+
export type TextContentProps = SprocketsTypes.Components.Common.TextContent.TextContentProps
|
5
5
|
|
6
6
|
export default function TextContent (props: TextContentProps): React.JSX.Element | null
|
7
7
|
}
|
8
8
|
|
9
9
|
declare module 'shinkansen-sprockets/components/common/text-content' {
|
10
|
-
export type TextContentProps = SprocketsTypes.Components.Common.TextContent.TextContentProps
|
11
|
-
|
12
10
|
export { default } from '#sprockets/components/common/text-content'
|
11
|
+
export * from '#sprockets/components/common/text-content'
|
13
12
|
}
|
@@ -1,13 +1,12 @@
|
|
1
1
|
declare module '#sprockets/components/common/visually-hidden-text' {
|
2
2
|
import type React from 'react'
|
3
3
|
|
4
|
-
type VisuallyHiddenTextProps = SprocketsTypes.Components.Common.VisuallyHiddenText.VisuallyHiddenTextProps
|
4
|
+
export type VisuallyHiddenTextProps = SprocketsTypes.Components.Common.VisuallyHiddenText.VisuallyHiddenTextProps
|
5
5
|
|
6
6
|
export default function VisuallyHiddenText (props: VisuallyHiddenTextProps): React.JSX.Element | null
|
7
7
|
}
|
8
8
|
|
9
9
|
declare module 'shinkansen-sprockets/components/common/visually-hidden-text' {
|
10
|
-
export type VisuallyHiddenTextProps = SprocketsTypes.Components.Common.VisuallyHiddenText.VisuallyHiddenTextProps
|
11
|
-
|
12
10
|
export { default } from '#sprockets/components/common/visually-hidden-text'
|
11
|
+
export * from '#sprockets/components/common/visually-hidden-text'
|
13
12
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
declare module '#sprockets/components/description' {
|
2
2
|
import React from 'react'
|
3
3
|
|
4
|
-
type DescriptionProps = SprocketsTypes.Components.Description.DescriptionProps
|
4
|
+
export type DescriptionProps = SprocketsTypes.Components.Description.DescriptionProps
|
5
5
|
|
6
6
|
export default class Description extends React.Component<DescriptionProps> {
|
7
7
|
static propTypes: object
|
@@ -13,7 +13,6 @@ declare module '#sprockets/components/description' {
|
|
13
13
|
}
|
14
14
|
|
15
15
|
declare module 'shinkansen-sprockets/components/description' {
|
16
|
-
export type DescriptionProps = SprocketsTypes.Components.Description.DescriptionProps
|
17
|
-
|
18
16
|
export { default } from '#sprockets/components/description'
|
17
|
+
export * from '#sprockets/components/description'
|
19
18
|
}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
declare module '#sprockets/components/error-message' {
|
2
2
|
import React from 'react'
|
3
3
|
|
4
|
-
type ErrorMessageProps = SprocketsTypes.Components.ErrorMessage.ErrorMessageProps
|
5
|
-
type ErrorMessageState = SprocketsTypes.Components.ErrorMessage.ErrorMessageState
|
4
|
+
export type ErrorMessageProps = SprocketsTypes.Components.ErrorMessage.ErrorMessageProps
|
5
|
+
export type ErrorMessageState = SprocketsTypes.Components.ErrorMessage.ErrorMessageState
|
6
6
|
|
7
7
|
export default class ErrorMessage extends React.Component<ErrorMessageProps, ErrorMessageState> {
|
8
8
|
static propTypes: object
|
@@ -22,8 +22,6 @@ declare module '#sprockets/components/error-message' {
|
|
22
22
|
}
|
23
23
|
|
24
24
|
declare module 'shinkansen-sprockets/components/error-message' {
|
25
|
-
export type ErrorMessageProps = SprocketsTypes.Components.ErrorMessage.ErrorMessageProps
|
26
|
-
export type ErrorMessageState = SprocketsTypes.Components.ErrorMessage.ErrorMessageState
|
27
|
-
|
28
25
|
export { default } from '#sprockets/components/error-message'
|
26
|
+
export * from '#sprockets/components/error-message'
|
29
27
|
}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
declare module '#sprockets/components/group' {
|
2
2
|
import React from 'react'
|
3
3
|
|
4
|
-
type GroupProps = SprocketsTypes.Components.Group.GroupProps
|
5
|
-
type GroupState = SprocketsTypes.Components.Group.GroupState
|
4
|
+
export type GroupProps = SprocketsTypes.Components.Group.GroupProps
|
5
|
+
export type GroupState = SprocketsTypes.Components.Group.GroupState
|
6
6
|
|
7
7
|
export default class Group<P extends GroupProps, S extends GroupState> extends React.Component<P, S> {
|
8
8
|
static propTypes: object
|
@@ -14,8 +14,6 @@ declare module '#sprockets/components/group' {
|
|
14
14
|
}
|
15
15
|
|
16
16
|
declare module 'shinkansen-sprockets/components/group' {
|
17
|
-
export type GroupProps = SprocketsTypes.Components.Group.GroupProps
|
18
|
-
export type GroupState = SprocketsTypes.Components.Group.GroupState
|
19
|
-
|
20
17
|
export { default } from '#sprockets/components/group'
|
18
|
+
export * from '#sprockets/components/group'
|
21
19
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
declare module '#sprockets/components/title' {
|
2
2
|
import React from 'react'
|
3
3
|
|
4
|
-
type TitleProps = SprocketsTypes.Components.Title.TitleProps
|
4
|
+
export type TitleProps = SprocketsTypes.Components.Title.TitleProps
|
5
5
|
|
6
6
|
export default class Title<P extends TitleProps> extends React.Component<P> {
|
7
7
|
static propTypes: object
|
@@ -19,7 +19,6 @@ declare module '#sprockets/components/title' {
|
|
19
19
|
}
|
20
20
|
|
21
21
|
declare module 'shinkansen-sprockets/components/title' {
|
22
|
-
export type TitleProps = SprocketsTypes.Components.Title.TitleProps
|
23
|
-
|
24
22
|
export { default } from '#sprockets/components/title'
|
23
|
+
export * from '#sprockets/components/title'
|
25
24
|
}
|
package/src/index.d.mts
CHANGED
@@ -1,17 +1,14 @@
|
|
1
1
|
declare module '#sprockets' {
|
2
|
+
export type AnswerDefinitionType = SprocketsTypes.AnswerDefinitionType
|
3
|
+
export type FieldChangeType = SprocketsTypes.FieldChangeType
|
4
|
+
export type ErrorDefinitionType = SprocketsTypes.ErrorDefinitionType
|
5
|
+
export type FieldErrorType = SprocketsTypes.FieldErrorType
|
6
|
+
|
2
7
|
export { default as CheckAnswersSprocket } from '#sprockets/sprockets/check-answers'
|
3
8
|
export { default as ErrorSummarySprocket } from '#sprockets/sprockets/error-summary'
|
4
9
|
export { default as FieldsetSprocket } from '#sprockets/sprockets/fieldset'
|
5
10
|
}
|
6
11
|
|
7
12
|
declare module 'shinkansen-sprockets' {
|
8
|
-
export type AnswerDefinitionType = SprocketsTypes.AnswerDefinitionType
|
9
|
-
|
10
|
-
export type FieldChangeType = SprocketsTypes.FieldChangeType
|
11
|
-
|
12
|
-
export type ErrorDefinitionType = SprocketsTypes.ErrorDefinitionType
|
13
|
-
|
14
|
-
export type FieldErrorType = SprocketsTypes.FieldErrorType
|
15
|
-
|
16
13
|
export * from '#sprockets'
|
17
14
|
}
|
@@ -1,15 +1,13 @@
|
|
1
1
|
declare module '#sprockets/sprockets/check-answers/group' {
|
2
2
|
import Group from '#sprockets/components/group'
|
3
3
|
|
4
|
-
type CheckAnswersProps = SprocketsTypes.Components.Group.CheckAnswers.CheckAnswersProps
|
5
|
-
type CheckAnswersState = SprocketsTypes.Components.Group.CheckAnswers.CheckAnswersState
|
4
|
+
export type CheckAnswersProps = SprocketsTypes.Components.Group.CheckAnswers.CheckAnswersProps
|
5
|
+
export type CheckAnswersState = SprocketsTypes.Components.Group.CheckAnswers.CheckAnswersState
|
6
6
|
|
7
7
|
export default class CheckAnswersGroup<P extends CheckAnswersProps, S extends CheckAnswersState> extends Group<P, S> {}
|
8
8
|
}
|
9
9
|
|
10
10
|
declare module 'shinkansen-sprockets/sprockets/check-answers/group' {
|
11
|
-
export type CheckAnswersProps = SprocketsTypes.Components.Group.CheckAnswers.CheckAnswersProps
|
12
|
-
export type CheckAnswersState = SprocketsTypes.Components.Group.CheckAnswers.CheckAnswersState
|
13
|
-
|
14
11
|
export { default } from '#sprockets/sprockets/check-answers/group'
|
12
|
+
export * from '#sprockets/sprockets/check-answers/group'
|
15
13
|
}
|
@@ -1,13 +1,12 @@
|
|
1
1
|
declare module '#sprockets/sprockets/check-answers' {
|
2
2
|
import Sprocket from '#sprockets/sprockets'
|
3
3
|
|
4
|
-
type CheckAnswersProps = SprocketsTypes.Sprockets.Sprocket.CheckAnswers.CheckAnswersProps
|
4
|
+
export type CheckAnswersProps = SprocketsTypes.Sprockets.Sprocket.CheckAnswers.CheckAnswersProps
|
5
5
|
|
6
6
|
export default class CheckAnswersSprocket<P extends CheckAnswersProps> extends Sprocket<P> {}
|
7
7
|
}
|
8
8
|
|
9
9
|
declare module 'shinkansen-sprockets/sprockets/check-answers' {
|
10
|
-
export type CheckAnswersProps = SprocketsTypes.Sprockets.Sprocket.CheckAnswers.CheckAnswersProps
|
11
|
-
|
12
10
|
export { default } from '#sprockets/sprockets/check-answers'
|
11
|
+
export * from '#sprockets/sprockets/check-answers'
|
13
12
|
}
|
@@ -1,13 +1,12 @@
|
|
1
1
|
declare module '#sprockets/sprockets/check-answers/title' {
|
2
2
|
import Title from '#sprockets/components/title'
|
3
3
|
|
4
|
-
type CheckAnswersProps = SprocketsTypes.Components.Title.CheckAnswers.CheckAnswersProps
|
4
|
+
export type CheckAnswersProps = SprocketsTypes.Components.Title.CheckAnswers.CheckAnswersProps
|
5
5
|
|
6
6
|
export default class CheckAnswersTitle<P extends CheckAnswersProps> extends Title<P> {}
|
7
7
|
}
|
8
8
|
|
9
9
|
declare module 'shinkansen-sprockets/sprockets/check-answers/title' {
|
10
|
-
export type CheckAnswersProps = SprocketsTypes.Components.Title.CheckAnswers.CheckAnswersProps
|
11
|
-
|
12
10
|
export { default } from '#sprockets/sprockets/check-answers/title'
|
11
|
+
export * from '#sprockets/sprockets/check-answers/title'
|
13
12
|
}
|
@@ -1,15 +1,13 @@
|
|
1
1
|
declare module '#sprockets/sprockets/error-summary/group' {
|
2
2
|
import Group from '#sprockets/components/group'
|
3
3
|
|
4
|
-
type ErrorSummaryProps = SprocketsTypes.Components.Group.ErrorSummary.ErrorSummaryProps
|
5
|
-
type ErrorSummaryState = SprocketsTypes.Components.Group.ErrorSummary.ErrorSummaryState
|
4
|
+
export type ErrorSummaryProps = SprocketsTypes.Components.Group.ErrorSummary.ErrorSummaryProps
|
5
|
+
export type ErrorSummaryState = SprocketsTypes.Components.Group.ErrorSummary.ErrorSummaryState
|
6
6
|
|
7
7
|
export default class ErrorSummaryGroup<P extends ErrorSummaryProps, S extends ErrorSummaryState> extends Group<P, S> {}
|
8
8
|
}
|
9
9
|
|
10
10
|
declare module 'shinkansen-sprockets/sprockets/error-summary/group' {
|
11
|
-
export type ErrorSummaryProps = SprocketsTypes.Components.Group.ErrorSummary.ErrorSummaryProps
|
12
|
-
export type ErrorSummaryState = SprocketsTypes.Components.Group.ErrorSummary.ErrorSummaryState
|
13
|
-
|
14
11
|
export { default } from '#sprockets/sprockets/error-summary/group'
|
12
|
+
export * from '#sprockets/sprockets/error-summary/group'
|
15
13
|
}
|
@@ -1,13 +1,12 @@
|
|
1
1
|
declare module '#sprockets/sprockets/error-summary' {
|
2
2
|
import Sprocket from '#sprockets/sprockets'
|
3
3
|
|
4
|
-
type ErrorSummaryProps = SprocketsTypes.Sprockets.Sprocket.ErrorSummary.ErrorSummaryProps
|
4
|
+
export type ErrorSummaryProps = SprocketsTypes.Sprockets.Sprocket.ErrorSummary.ErrorSummaryProps
|
5
5
|
|
6
6
|
export default class ErrorSummarySprocket<P extends ErrorSummaryProps> extends Sprocket<P> {}
|
7
7
|
}
|
8
8
|
|
9
9
|
declare module 'shinkansen-sprockets/sprockets/error-summary' {
|
10
|
-
export type ErrorSummaryProps = SprocketsTypes.Sprockets.Sprocket.ErrorSummary.ErrorSummaryProps
|
11
|
-
|
12
10
|
export { default } from '#sprockets/sprockets/error-summary'
|
11
|
+
export * from '#sprockets/sprockets/error-summary'
|
13
12
|
}
|
@@ -1,13 +1,12 @@
|
|
1
1
|
declare module '#sprockets/sprockets/error-summary/title' {
|
2
2
|
import Title from '#sprockets/components/title'
|
3
3
|
|
4
|
-
type ErrorSummaryProps = SprocketsTypes.Components.Title.ErrorSummary.ErrorSummaryProps
|
4
|
+
export type ErrorSummaryProps = SprocketsTypes.Components.Title.ErrorSummary.ErrorSummaryProps
|
5
5
|
|
6
6
|
export default class ErrorSummaryTitle<P extends ErrorSummaryProps> extends Title<P> {}
|
7
7
|
}
|
8
8
|
|
9
9
|
declare module 'shinkansen-sprockets/sprockets/error-summary/title' {
|
10
|
-
export type ErrorSummaryProps = SprocketsTypes.Components.Title.ErrorSummary.ErrorSummaryProps
|
11
|
-
|
12
10
|
export { default } from '#sprockets/sprockets/error-summary/title'
|
11
|
+
export * from '#sprockets/sprockets/error-summary/title'
|
13
12
|
}
|
@@ -1,15 +1,13 @@
|
|
1
1
|
declare module '#sprockets/sprockets/fieldset/group' {
|
2
2
|
import Group from '#sprockets/components/group'
|
3
3
|
|
4
|
-
type FieldsetProps = SprocketsTypes.Components.Group.Fieldset.FieldsetProps
|
5
|
-
type FieldsetState = SprocketsTypes.Components.Group.Fieldset.FieldsetState
|
4
|
+
export type FieldsetProps = SprocketsTypes.Components.Group.Fieldset.FieldsetProps
|
5
|
+
export type FieldsetState = SprocketsTypes.Components.Group.Fieldset.FieldsetState
|
6
6
|
|
7
7
|
export default class FieldsetGroup<P extends FieldsetProps, S extends FieldsetState> extends Group<P, S> {}
|
8
8
|
}
|
9
9
|
|
10
10
|
declare module 'shinkansen-sprockets/sprockets/fieldset/group' {
|
11
|
-
export type FieldsetProps = SprocketsTypes.Components.Group.Fieldset.FieldsetProps
|
12
|
-
export type FieldsetState = SprocketsTypes.Components.Group.Fieldset.FieldsetState
|
13
|
-
|
14
11
|
export { default } from '#sprockets/sprockets/fieldset/group'
|
12
|
+
export * from '#sprockets/sprockets/fieldset/group'
|
15
13
|
}
|
@@ -3,7 +3,7 @@ declare module '#sprockets/sprockets/fieldset' {
|
|
3
3
|
|
4
4
|
import Sprocket from '#sprockets/sprockets'
|
5
5
|
|
6
|
-
type FieldsetProps = SprocketsTypes.Sprockets.Sprocket.Fieldset.FieldsetProps
|
6
|
+
export type FieldsetProps = SprocketsTypes.Sprockets.Sprocket.Fieldset.FieldsetProps
|
7
7
|
|
8
8
|
export default class FieldsetSprocket<P extends FieldsetProps> extends Sprocket<P> {
|
9
9
|
renderDescription (): React.JSX.Element | null
|
@@ -13,7 +13,6 @@ declare module '#sprockets/sprockets/fieldset' {
|
|
13
13
|
}
|
14
14
|
|
15
15
|
declare module 'shinkansen-sprockets/sprockets/fieldset' {
|
16
|
-
export type FieldsetProps = SprocketsTypes.Sprockets.Sprocket.Fieldset.FieldsetProps
|
17
|
-
|
18
16
|
export { default } from '#sprockets/sprockets/fieldset'
|
17
|
+
export * from '#sprockets/sprockets/fieldset'
|
19
18
|
}
|
@@ -1,13 +1,12 @@
|
|
1
1
|
declare module '#sprockets/sprockets/fieldset/title' {
|
2
2
|
import Title from '#sprockets/components/title'
|
3
3
|
|
4
|
-
type FieldsetProps = SprocketsTypes.Components.Title.Fieldset.FieldsetProps
|
4
|
+
export type FieldsetProps = SprocketsTypes.Components.Title.Fieldset.FieldsetProps
|
5
5
|
|
6
6
|
export default class FieldsetTitle<P extends FieldsetProps> extends Title<P> {}
|
7
7
|
}
|
8
8
|
|
9
9
|
declare module 'shinkansen-sprockets/sprockets/fieldset/title' {
|
10
|
-
export type FieldsetProps = SprocketsTypes.Components.Title.Fieldset.FieldsetProps
|
11
|
-
|
12
10
|
export { default } from '#sprockets/sprockets/fieldset/title'
|
11
|
+
export * from '#sprockets/sprockets/fieldset/title'
|
13
12
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
declare module '#sprockets/sprockets' {
|
2
2
|
import React from 'react'
|
3
3
|
|
4
|
-
type SprocketProps = SprocketsTypes.Sprockets.Sprocket.SprocketProps
|
4
|
+
export type SprocketProps = SprocketsTypes.Sprockets.Sprocket.SprocketProps
|
5
5
|
|
6
6
|
export default class Sprocket<P extends SprocketProps> extends React.Component<P> {
|
7
7
|
static propTypes: object
|
@@ -17,7 +17,6 @@ declare module '#sprockets/sprockets' {
|
|
17
17
|
}
|
18
18
|
|
19
19
|
declare module 'shinkansen-sprockets/sprockets' {
|
20
|
-
export type SprocketProps = SprocketsTypes.Sprockets.Sprocket.SprocketProps
|
21
|
-
|
22
20
|
export { default } from '#sprockets/sprockets'
|
21
|
+
export * from '#sprockets/sprockets'
|
23
22
|
}
|
@@ -1,11 +1,11 @@
|
|
1
1
|
declare module '#sprockets/transformers/check-answers' {
|
2
|
+
export type AnswerDefinitionType = SprocketsTypes.AnswerDefinitionType
|
3
|
+
export type FieldChangeType = SprocketsTypes.FieldChangeType
|
4
|
+
|
2
5
|
export default function transform (answer: SprocketsTypes.AnswerDefinitionType): SprocketsTypes.FieldChangeType
|
3
6
|
}
|
4
7
|
|
5
8
|
declare module 'shinkansen-sprockets/transformers/check-answers' {
|
6
|
-
export type AnswerDefinitionType = SprocketsTypes.AnswerDefinitionType
|
7
|
-
|
8
|
-
export type FieldChangeType = SprocketsTypes.FieldChangeType
|
9
|
-
|
10
9
|
export { default } from '#sprockets/transformers/check-answers'
|
10
|
+
export * from '#sprockets/transformers/check-answers'
|
11
11
|
}
|
@@ -1,11 +1,11 @@
|
|
1
1
|
declare module '#sprockets/transformers/error-message' {
|
2
|
+
export type ErrorDefinitionType = SprocketsTypes.ErrorDefinitionType
|
3
|
+
export type FieldErrorType = SprocketsTypes.FieldErrorType
|
4
|
+
|
2
5
|
export default function transform (error: SprocketsTypes.ErrorDefinitionType): SprocketsTypes.FieldErrorType
|
3
6
|
}
|
4
7
|
|
5
8
|
declare module 'shinkansen-sprockets/transformers/error-message' {
|
6
|
-
export type ErrorDefinitionType = SprocketsTypes.ErrorDefinitionType
|
7
|
-
|
8
|
-
export type FieldErrorType = SprocketsTypes.FieldErrorType
|
9
|
-
|
10
9
|
export { default } from '#sprockets/transformers/error-message'
|
10
|
+
export * from '#sprockets/transformers/error-message'
|
11
11
|
}
|
@@ -1,11 +1,11 @@
|
|
1
1
|
declare module '#sprockets/transformers/error-summary' {
|
2
|
+
export type ErrorDefinitionType = SprocketsTypes.ErrorDefinitionType
|
3
|
+
export type FieldErrorType = SprocketsTypes.FieldErrorType
|
4
|
+
|
2
5
|
export default function transform (error: SprocketsTypes.ErrorDefinitionType): SprocketsTypes.FieldErrorType
|
3
6
|
}
|
4
7
|
|
5
8
|
declare module 'shinkansen-sprockets/transformers/error-summary' {
|
6
|
-
export type ErrorDefinitionType = SprocketsTypes.ErrorDefinitionType
|
7
|
-
|
8
|
-
export type FieldErrorType = SprocketsTypes.FieldErrorType
|
9
|
-
|
10
9
|
export { default } from '#sprockets/transformers/error-summary'
|
10
|
+
export * from '#sprockets/transformers/error-summary'
|
11
11
|
}
|