shinkansen-pinion 1.2.4 → 1.2.5
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 +5 -5
- package/package.json +8 -8
- package/src/index.d.mts +2 -0
package/index.d.mts
CHANGED
|
@@ -48,7 +48,7 @@ declare global {
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
export interface MetaType {
|
|
51
|
-
type: string
|
|
51
|
+
type: string
|
|
52
52
|
uri: string
|
|
53
53
|
isRequired?: boolean
|
|
54
54
|
schema?: ObjectLiteralType | ObjectType
|
|
@@ -78,15 +78,15 @@ declare global {
|
|
|
78
78
|
name?: string
|
|
79
79
|
isRequired?: boolean
|
|
80
80
|
items?: string[]
|
|
81
|
-
selectedItems?: number[]
|
|
81
|
+
selectedItems?: number[]
|
|
82
82
|
value?: string | number | boolean | null | ObjectType | ArrayType
|
|
83
83
|
defaultValue?: string | number | boolean | null | ObjectType | ArrayType
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
export interface ElementsType {
|
|
87
87
|
title: string
|
|
88
|
-
description?: string
|
|
89
|
-
field?: FieldType
|
|
88
|
+
description?: string
|
|
89
|
+
field?: FieldType
|
|
90
90
|
fields?: PinionType[] // eslint-disable-line no-use-before-define -- Standard type
|
|
91
91
|
}
|
|
92
92
|
|
|
@@ -190,7 +190,7 @@ declare global {
|
|
|
190
190
|
elements: ElementsType | ElementsEnumType | ElementsAnyOfType | ElementsOneOfType
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
export interface ParamsType { components: Record<PropertyKey, unknown
|
|
193
|
+
export interface ParamsType { components: Record<PropertyKey, unknown>; errors: FieldError[] }
|
|
194
194
|
|
|
195
195
|
export interface PinionProps {
|
|
196
196
|
pinion: PinionType
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shinkansen-pinion",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.5",
|
|
4
4
|
"description": "Shinkansen Pinion",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Shinkansen",
|
|
@@ -55,9 +55,9 @@
|
|
|
55
55
|
"@babel/preset-env": "^7.26.9",
|
|
56
56
|
"@babel/preset-react": "^7.26.3",
|
|
57
57
|
"@babel/register": "^7.25.9",
|
|
58
|
-
"@modernpoacher/design-system": "1.1.
|
|
59
|
-
"@sequencemedia/eslint-config-standard": "^0.2.
|
|
60
|
-
"@sequencemedia/eslint-config-typescript": "^0.1.
|
|
58
|
+
"@modernpoacher/design-system": "1.1.29",
|
|
59
|
+
"@sequencemedia/eslint-config-standard": "^0.2.29",
|
|
60
|
+
"@sequencemedia/eslint-config-typescript": "^0.1.43",
|
|
61
61
|
"@storybook/addon-actions": "7.6.20",
|
|
62
62
|
"@storybook/addon-essentials": "7.6.20",
|
|
63
63
|
"@storybook/addon-links": "7.6.20",
|
|
@@ -103,10 +103,10 @@
|
|
|
103
103
|
"remove-files-webpack-plugin": "^1.5.0",
|
|
104
104
|
"sass": "^1.85.0",
|
|
105
105
|
"sass-loader": "^16.0.5",
|
|
106
|
-
"shinkansen-cogs": "1.8.
|
|
107
|
-
"shinkansen-rails": "1.0.
|
|
108
|
-
"shinkansen-signals": "1.1.
|
|
109
|
-
"shinkansen-sprockets": "1.2.
|
|
106
|
+
"shinkansen-cogs": "1.8.3",
|
|
107
|
+
"shinkansen-rails": "1.0.285",
|
|
108
|
+
"shinkansen-signals": "1.1.214",
|
|
109
|
+
"shinkansen-sprockets": "1.2.3",
|
|
110
110
|
"sinon": "^19.0.2",
|
|
111
111
|
"storybook": "7.6.20",
|
|
112
112
|
"webpack": "^5.98.0",
|