chore: Update modules deps (#9286)

This commit is contained in:
Adrien de Peretti
2024-09-26 07:44:35 +02:00
committed by GitHub
parent 11d8264062
commit e096feb7d5
518 changed files with 1115 additions and 957 deletions

View File

@@ -1,12 +1,12 @@
import { makeExecutableSchema } from "@graphql-tools/schema"
import { MedusaModule } from "@medusajs/modules-sdk"
import { MedusaModule } from "@medusajs/framework/modules-sdk"
import {
IndexTypes,
JoinerServiceConfigAlias,
ModuleJoinerConfig,
ModuleJoinerRelationship,
} from "@medusajs/types"
import { CommonEvents, GraphQLUtils } from "@medusajs/utils"
} from "@medusajs/framework/types"
import { CommonEvents, GraphQLUtils } from "@medusajs/framework/utils"
import { schemaObjectRepresentationPropertiesToOmit } from "@types"
export const CustomDirectives = {

View File

@@ -1,6 +1,6 @@
import { SqlEntityManager } from "@mikro-orm/postgresql"
import { schemaObjectRepresentationPropertiesToOmit } from "@types"
import { IndexTypes } from "@medusajs/types"
import { IndexTypes } from "@medusajs/framework/types"
export async function createPartitions(
schemaObjectRepresentation: IndexTypes.SchemaObjectRepresentation,

View File

@@ -1,9 +1,10 @@
import { join } from "path"
import { CustomDirectives, makeSchemaExecutable } from "./build-config"
import { MedusaModule } from "@medusajs/framework/modules-sdk"
import {
MedusaModule,
} from "@medusajs/modules-sdk"
import { FileSystem, gqlSchemaToTypes as ModulesSdkGqlSchemaToTypes, } from "@medusajs/utils"
FileSystem,
gqlSchemaToTypes as ModulesSdkGqlSchemaToTypes,
} from "@medusajs/framework/utils"
import * as process from "process"
export async function gqlSchemaToTypes(schema: string) {

View File

@@ -1,4 +1,4 @@
import { objectFromStringPath } from "@medusajs/utils"
import { objectFromStringPath } from "@medusajs/framework/utils"
export function normalizeFieldsSelection(fields: string[]) {
const normalizedFields = fields.map((field) => field.replace(/\.\*/g, ""))

View File

@@ -1,5 +1,5 @@
import { isObject, isString } from "@medusajs/utils"
import { IndexTypes } from "@medusajs/types"
import { isObject, isString } from "@medusajs/framework/utils"
import { IndexTypes } from "@medusajs/framework/types"
import { GraphQLList } from "graphql"
import { Knex } from "knex"
import { OrderBy, QueryFormat, QueryOptions, Select } from "@types"