chore: Update all imports to zod/v3
Signed-off-by: Gabriel Dugny <gabriel.dugny@believe.com>
This commit is contained in:
committed by
Fredrik Adelöw
parent
5d8b4cddb9
commit
49171c9de4
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
import { ActionContext, TemplateAction } from './types';
|
||||
import { z } from 'zod';
|
||||
import { z } from 'zod/v3';
|
||||
import { Expand, JsonObject } from '@backstage/types';
|
||||
import { parseSchemas } from './util';
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ import { join as joinPath, normalize as normalizePath } from 'node:path';
|
||||
import { ScmIntegrationRegistry } from '@backstage/integration';
|
||||
import { TemplateActionOptions } from './createTemplateAction';
|
||||
import zodToJsonSchema from 'zod-to-json-schema';
|
||||
import { z } from 'zod';
|
||||
import { z } from 'zod/v3';
|
||||
import { Schema } from 'jsonschema';
|
||||
import { trim } from 'lodash';
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
import { ZodFunctionSchema } from '../types';
|
||||
import { CreatedTemplateFilter, TemplateFilterExample } from './types';
|
||||
import { z } from 'zod';
|
||||
import { z } from 'zod/v3';
|
||||
|
||||
/**
|
||||
* This function is used to create new template filters in type-safe manner.
|
||||
|
||||
@@ -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 { ZodFunctionSchema } from '../types';
|
||||
|
||||
export type { TemplateFilter } from '../../types';
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { z } from 'zod';
|
||||
import { z } from 'zod/v3';
|
||||
import {
|
||||
CreatedTemplateGlobalFunction,
|
||||
CreatedTemplateGlobalValue,
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
import { JsonValue } from '@backstage/types';
|
||||
import { z } from 'zod';
|
||||
import { z } from 'zod/v3';
|
||||
import { ZodFunctionSchema } from '../types';
|
||||
|
||||
export type { TemplateGlobal } 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';
|
||||
|
||||
/**
|
||||
* @alpha
|
||||
|
||||
Reference in New Issue
Block a user