chore: Cleanup utils package (#9238)
Fixes: FRMW-2712 Old PR: https://github.com/medusajs/medusa/pull/9234 Closed because of incorrect branch naming Co-authored-by: Adrien de Peretti <25098370+adrien2p@users.noreply.github.com>
This commit is contained in:
@@ -5,7 +5,7 @@ describe("Array property", () => {
|
||||
test("should create an array property type", () => {
|
||||
const property = new ArrayProperty()
|
||||
|
||||
expectTypeOf(property["$dataType"]).toEqualTypeOf<[]>()
|
||||
expectTypeOf(property["$dataType"]).toEqualTypeOf<string[]>()
|
||||
expect(property.parse("codes")).toEqual({
|
||||
fieldName: "codes",
|
||||
dataType: {
|
||||
|
||||
@@ -11,10 +11,6 @@ import { HasOne } from "../../relations/has-one"
|
||||
import { ManyToMany as DmlManyToMany } from "../../relations/many-to-many"
|
||||
import { parseEntityName } from "../entity-builder/parse-entity-name"
|
||||
|
||||
type Context = {
|
||||
MANY_TO_MANY_TRACKED_RELATIONS: Record<string, boolean>
|
||||
}
|
||||
|
||||
function defineRelationships(
|
||||
modelName: string,
|
||||
relationship: RelationshipMetadata,
|
||||
|
||||
Reference in New Issue
Block a user