summaryrefslogtreecommitdiff
path: root/Tonbo/Schema/SchemaMetadata.graphql.swift
diff options
context:
space:
mode:
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 {}