chore: Update all imports to zod/v3

Signed-off-by: Gabriel Dugny <gabriel.dugny@believe.com>
This commit is contained in:
Gabriel Dugny
2026-01-11 21:55:47 +01:00
committed by Fredrik Adelöw
parent 5d8b4cddb9
commit 49171c9de4
111 changed files with 113 additions and 114 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ import { TemplatePresentationV1beta3 } from '@backstage/plugin-scaffolder-common
import { TranslationRef } from '@backstage/frontend-plugin-api';
import { UiSchema } from '@rjsf/utils';
import { WidgetProps } from '@rjsf/utils';
import { z } from 'zod';
import { z } from 'zod/v3';
// @alpha (undocumented)
export type BackstageOverrides = Overrides & {
+1 -1
View File
@@ -59,7 +59,7 @@ import { TemplatesType } from '@rjsf/utils';
import { UIOptionsType } from '@rjsf/utils';
import { UiSchema } from '@rjsf/utils';
import { ValidatorType } from '@rjsf/utils';
import { z } from 'zod';
import { z } from 'zod/v3';
// @public @deprecated
export type Action = Action_2;
@@ -17,7 +17,7 @@ import {
createExtensionBlueprint,
createExtensionDataRef,
} from '@backstage/frontend-plugin-api';
import { z } from 'zod';
import { z } from 'zod/v3';
import { OpaqueFormField } from '@internal/scaffolder';
import { FormFieldExtensionData } from './types';
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { z } from 'zod';
import { z } from 'zod/v3';
import {
CustomFieldValidator,
FieldExtensionComponentProps,
@@ -16,7 +16,7 @@
import { AnyApiRef } from '@backstage/core-plugin-api';
import { JsonObject, JsonValue } from '@backstage/types';
import { OpaqueFormDecorator } from '@internal/scaffolder';
import { z } from 'zod';
import { z } from 'zod/v3';
/** @alpha */
export type ScaffolderFormDecoratorContext<
+1 -1
View File
@@ -16,7 +16,7 @@
import zodToJsonSchema from 'zod-to-json-schema';
import { JSONSchema7 } from 'json-schema';
import { z } from 'zod';
import { z } from 'zod/v3';
import {
CustomFieldExtensionSchema,
FieldExtensionComponentProps,