summaryrefslogtreecommitdiff
path: root/Tonbo/Schema/SchemaMetadata.graphql.swift
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-02-13 02:44:02 -0800
committerFuwn <[email protected]>2025-02-13 02:44:02 -0800
commit2e22626a5b994182a5c4990d042de1c3f73e47b3 (patch)
treec7bc556b04d9092197ff366c3d1b9624dbccf62f /Tonbo/Schema/SchemaMetadata.graphql.swift
downloadtonbo-2e22626a5b994182a5c4990d042de1c3f73e47b3.tar.xz
tonbo-2e22626a5b994182a5c4990d042de1c3f73e47b3.zip
feat: Initial commitHEADmain
Diffstat (limited to 'Tonbo/Schema/SchemaMetadata.graphql.swift')
-rw-r--r--Tonbo/Schema/SchemaMetadata.graphql.swift32
1 files changed, 32 insertions, 0 deletions
diff --git a/Tonbo/Schema/SchemaMetadata.graphql.swift b/Tonbo/Schema/SchemaMetadata.graphql.swift
new file mode 100644
index 0000000..2607e16
--- /dev/null
+++ b/Tonbo/Schema/SchemaMetadata.graphql.swift
@@ -0,0 +1,32 @@
+// @generated
+// This file was automatically generated and should not be edited.
+
+import ApolloAPI
+
+public protocol SelectionSet: ApolloAPI.SelectionSet & ApolloAPI.RootSelectionSet
+where Schema == Tonbo.SchemaMetadata {}
+
+public protocol InlineFragment: ApolloAPI.SelectionSet & ApolloAPI.InlineFragment
+where Schema == Tonbo.SchemaMetadata {}
+
+public protocol MutableSelectionSet: ApolloAPI.MutableRootSelectionSet
+where Schema == Tonbo.SchemaMetadata {}
+
+public protocol MutableInlineFragment: ApolloAPI.MutableSelectionSet & ApolloAPI.InlineFragment
+where Schema == Tonbo.SchemaMetadata {}
+
+public enum SchemaMetadata: ApolloAPI.SchemaMetadata {
+ public static let configuration: any ApolloAPI.SchemaConfiguration.Type = SchemaConfiguration.self
+
+ public static func objectType(forTypename typename: String) -> ApolloAPI.Object? {
+ switch typename {
+ case "Query": return Tonbo.Objects.Query
+ case "User": return Tonbo.Objects.User
+ default: return nil
+ }
+ }
+}
+
+public enum Objects {}
+public enum Interfaces {}
+public enum Unions {}