From b8339335650cd9b1c5123a60859c26c5fbe91142 Mon Sep 17 00:00:00 2001 From: Kyle Date: Mon, 30 Dec 2024 02:18:22 +0800 Subject: [PATCH] Fix OGTypeKind issue --- Sources/OpenGraphShims/GraphShims.swift | 2 +- Sources/OpenGraphShims/Metadata+Debug.swift | 1 + Tests/OpenGraphCompatibilityTests/GraphShims.swift | 1 - .../Runtime/CompareValuesTests.swift | 4 +--- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Sources/OpenGraphShims/GraphShims.swift b/Sources/OpenGraphShims/GraphShims.swift index 29e03f5..1b1416c 100644 --- a/Sources/OpenGraphShims/GraphShims.swift +++ b/Sources/OpenGraphShims/GraphShims.swift @@ -1,5 +1,6 @@ // // GraphShims.swift +// OpenGraphShims #if OPENGRAPH_ATTRIBUTEGRAPH @_exported public import AttributeGraph @@ -21,7 +22,6 @@ public typealias OGSubgraph = AGSubgraph public typealias OGSwiftMetadata = AGSwiftMetadata public typealias OGTupleType = AGTupleType public typealias OGTypeApplyOptions = AGTypeApplyOptions -public typealias OGTypeKind = AGTypeKind public typealias OGUniqueID = AGUniqueID public typealias OGValue = AGValue public typealias OGValueOptions = AGValueOptions diff --git a/Sources/OpenGraphShims/Metadata+Debug.swift b/Sources/OpenGraphShims/Metadata+Debug.swift index 7afdb45..76bf2ba 100644 --- a/Sources/OpenGraphShims/Metadata+Debug.swift +++ b/Sources/OpenGraphShims/Metadata+Debug.swift @@ -1,5 +1,6 @@ // // Metadata+Debug.swift +// OpenGraphShims import Foundation diff --git a/Tests/OpenGraphCompatibilityTests/GraphShims.swift b/Tests/OpenGraphCompatibilityTests/GraphShims.swift index 5cdf2a7..fe6d87e 100644 --- a/Tests/OpenGraphCompatibilityTests/GraphShims.swift +++ b/Tests/OpenGraphCompatibilityTests/GraphShims.swift @@ -22,7 +22,6 @@ public typealias OGSubgraph = AGSubgraph public typealias OGSwiftMetadata = AGSwiftMetadata public typealias OGTupleType = AGTupleType public typealias OGTypeApplyOptions = AGTypeApplyOptions -public typealias OGTypeKind = AGTypeKind public typealias OGUniqueID = AGUniqueID public typealias OGValue = AGValue public typealias OGValueOptions = AGValueOptions diff --git a/Tests/OpenGraphCompatibilityTests/Runtime/CompareValuesTests.swift b/Tests/OpenGraphCompatibilityTests/Runtime/CompareValuesTests.swift index 48d8777..56e64c4 100644 --- a/Tests/OpenGraphCompatibilityTests/Runtime/CompareValuesTests.swift +++ b/Tests/OpenGraphCompatibilityTests/Runtime/CompareValuesTests.swift @@ -1,8 +1,6 @@ // // CompareValuesTests.swift -// -// -// +// OpenGraphCompatibilityTests import Testing