@@ -22,15 +22,15 @@ class EnumValue;
22
22
class Schema
23
23
{
24
24
public:
25
- GRAPHQLINTROSPECTION_EXPORT explicit Schema (const std::shared_ptr<schema::Schema>& schema);
25
+ GRAPHQLSERVICE_EXPORT explicit Schema (const std::shared_ptr<schema::Schema>& schema);
26
26
27
27
// Accessors
28
- GRAPHQLINTROSPECTION_EXPORT std::optional<std::string> getDescription () const ;
29
- GRAPHQLINTROSPECTION_EXPORT std::vector<std::shared_ptr<object::Type>> getTypes () const ;
30
- GRAPHQLINTROSPECTION_EXPORT std::shared_ptr<object::Type> getQueryType () const ;
31
- GRAPHQLINTROSPECTION_EXPORT std::shared_ptr<object::Type> getMutationType () const ;
32
- GRAPHQLINTROSPECTION_EXPORT std::shared_ptr<object::Type> getSubscriptionType () const ;
33
- GRAPHQLINTROSPECTION_EXPORT std::vector<std::shared_ptr<object::Directive>> getDirectives ()
28
+ GRAPHQLSERVICE_EXPORT std::optional<std::string> getDescription () const ;
29
+ GRAPHQLSERVICE_EXPORT std::vector<std::shared_ptr<object::Type>> getTypes () const ;
30
+ GRAPHQLSERVICE_EXPORT std::shared_ptr<object::Type> getQueryType () const ;
31
+ GRAPHQLSERVICE_EXPORT std::shared_ptr<object::Type> getMutationType () const ;
32
+ GRAPHQLSERVICE_EXPORT std::shared_ptr<object::Type> getSubscriptionType () const ;
33
+ GRAPHQLSERVICE_EXPORT std::vector<std::shared_ptr<object::Directive>> getDirectives ()
34
34
const ;
35
35
36
36
private:
@@ -40,24 +40,24 @@ class Schema
40
40
class Type
41
41
{
42
42
public:
43
- GRAPHQLINTROSPECTION_EXPORT explicit Type (const std::shared_ptr<const schema::BaseType>& type);
43
+ GRAPHQLSERVICE_EXPORT explicit Type (const std::shared_ptr<const schema::BaseType>& type);
44
44
45
45
// Accessors
46
- GRAPHQLINTROSPECTION_EXPORT TypeKind getKind () const ;
47
- GRAPHQLINTROSPECTION_EXPORT std::optional<std::string> getName () const ;
48
- GRAPHQLINTROSPECTION_EXPORT std::optional<std::string> getDescription () const ;
49
- GRAPHQLINTROSPECTION_EXPORT std::optional<std::vector<std::shared_ptr<object::Field>>>
46
+ GRAPHQLSERVICE_EXPORT TypeKind getKind () const ;
47
+ GRAPHQLSERVICE_EXPORT std::optional<std::string> getName () const ;
48
+ GRAPHQLSERVICE_EXPORT std::optional<std::string> getDescription () const ;
49
+ GRAPHQLSERVICE_EXPORT std::optional<std::vector<std::shared_ptr<object::Field>>>
50
50
getFields (std::optional<bool >&& includeDeprecatedArg) const ;
51
- GRAPHQLINTROSPECTION_EXPORT std::optional<std::vector<std::shared_ptr<object::Type>>>
51
+ GRAPHQLSERVICE_EXPORT std::optional<std::vector<std::shared_ptr<object::Type>>>
52
52
getInterfaces () const ;
53
- GRAPHQLINTROSPECTION_EXPORT std::optional<std::vector<std::shared_ptr<object::Type>>>
53
+ GRAPHQLSERVICE_EXPORT std::optional<std::vector<std::shared_ptr<object::Type>>>
54
54
getPossibleTypes () const ;
55
- GRAPHQLINTROSPECTION_EXPORT std::optional<std::vector<std::shared_ptr<object::EnumValue>>>
55
+ GRAPHQLSERVICE_EXPORT std::optional<std::vector<std::shared_ptr<object::EnumValue>>>
56
56
getEnumValues (std::optional<bool >&& includeDeprecatedArg) const ;
57
- GRAPHQLINTROSPECTION_EXPORT std::optional<std::vector<std::shared_ptr<object::InputValue>>>
57
+ GRAPHQLSERVICE_EXPORT std::optional<std::vector<std::shared_ptr<object::InputValue>>>
58
58
getInputFields () const ;
59
- GRAPHQLINTROSPECTION_EXPORT std::shared_ptr<object::Type> getOfType () const ;
60
- GRAPHQLINTROSPECTION_EXPORT std::optional<std::string> getSpecifiedByURL () const ;
59
+ GRAPHQLSERVICE_EXPORT std::shared_ptr<object::Type> getOfType () const ;
60
+ GRAPHQLSERVICE_EXPORT std::optional<std::string> getSpecifiedByURL () const ;
61
61
62
62
private:
63
63
const std::shared_ptr<const schema::BaseType> _type;
@@ -66,15 +66,15 @@ class Type
66
66
class Field
67
67
{
68
68
public:
69
- GRAPHQLINTROSPECTION_EXPORT explicit Field (const std::shared_ptr<const schema::Field>& field);
69
+ GRAPHQLSERVICE_EXPORT explicit Field (const std::shared_ptr<const schema::Field>& field);
70
70
71
71
// Accessors
72
- GRAPHQLINTROSPECTION_EXPORT std::string getName () const ;
73
- GRAPHQLINTROSPECTION_EXPORT std::optional<std::string> getDescription () const ;
74
- GRAPHQLINTROSPECTION_EXPORT std::vector<std::shared_ptr<object::InputValue>> getArgs () const ;
75
- GRAPHQLINTROSPECTION_EXPORT std::shared_ptr<object::Type> getType () const ;
76
- GRAPHQLINTROSPECTION_EXPORT bool getIsDeprecated () const ;
77
- GRAPHQLINTROSPECTION_EXPORT std::optional<std::string> getDeprecationReason () const ;
72
+ GRAPHQLSERVICE_EXPORT std::string getName () const ;
73
+ GRAPHQLSERVICE_EXPORT std::optional<std::string> getDescription () const ;
74
+ GRAPHQLSERVICE_EXPORT std::vector<std::shared_ptr<object::InputValue>> getArgs () const ;
75
+ GRAPHQLSERVICE_EXPORT std::shared_ptr<object::Type> getType () const ;
76
+ GRAPHQLSERVICE_EXPORT bool getIsDeprecated () const ;
77
+ GRAPHQLSERVICE_EXPORT std::optional<std::string> getDeprecationReason () const ;
78
78
79
79
private:
80
80
const std::shared_ptr<const schema::Field> _field;
@@ -83,14 +83,14 @@ class Field
83
83
class InputValue
84
84
{
85
85
public:
86
- GRAPHQLINTROSPECTION_EXPORT explicit InputValue (
86
+ GRAPHQLSERVICE_EXPORT explicit InputValue (
87
87
const std::shared_ptr<const schema::InputValue>& inputValue);
88
88
89
89
// Accessors
90
- GRAPHQLINTROSPECTION_EXPORT std::string getName () const ;
91
- GRAPHQLINTROSPECTION_EXPORT std::optional<std::string> getDescription () const ;
92
- GRAPHQLINTROSPECTION_EXPORT std::shared_ptr<object::Type> getType () const ;
93
- GRAPHQLINTROSPECTION_EXPORT std::optional<std::string> getDefaultValue () const ;
90
+ GRAPHQLSERVICE_EXPORT std::string getName () const ;
91
+ GRAPHQLSERVICE_EXPORT std::optional<std::string> getDescription () const ;
92
+ GRAPHQLSERVICE_EXPORT std::shared_ptr<object::Type> getType () const ;
93
+ GRAPHQLSERVICE_EXPORT std::optional<std::string> getDefaultValue () const ;
94
94
95
95
private:
96
96
const std::shared_ptr<const schema::InputValue> _inputValue;
@@ -99,14 +99,14 @@ class InputValue
99
99
class EnumValue
100
100
{
101
101
public:
102
- GRAPHQLINTROSPECTION_EXPORT explicit EnumValue (
102
+ GRAPHQLSERVICE_EXPORT explicit EnumValue (
103
103
const std::shared_ptr<const schema::EnumValue>& enumValue);
104
104
105
105
// Accessors
106
- GRAPHQLINTROSPECTION_EXPORT std::string getName () const ;
107
- GRAPHQLINTROSPECTION_EXPORT std::optional<std::string> getDescription () const ;
108
- GRAPHQLINTROSPECTION_EXPORT bool getIsDeprecated () const ;
109
- GRAPHQLINTROSPECTION_EXPORT std::optional<std::string> getDeprecationReason () const ;
106
+ GRAPHQLSERVICE_EXPORT std::string getName () const ;
107
+ GRAPHQLSERVICE_EXPORT std::optional<std::string> getDescription () const ;
108
+ GRAPHQLSERVICE_EXPORT bool getIsDeprecated () const ;
109
+ GRAPHQLSERVICE_EXPORT std::optional<std::string> getDeprecationReason () const ;
110
110
111
111
private:
112
112
const std::shared_ptr<const schema::EnumValue> _enumValue;
@@ -115,15 +115,15 @@ class EnumValue
115
115
class Directive
116
116
{
117
117
public:
118
- GRAPHQLINTROSPECTION_EXPORT explicit Directive (
118
+ GRAPHQLSERVICE_EXPORT explicit Directive (
119
119
const std::shared_ptr<const schema::Directive>& directive);
120
120
121
121
// Accessors
122
- GRAPHQLINTROSPECTION_EXPORT std::string getName () const ;
123
- GRAPHQLINTROSPECTION_EXPORT std::optional<std::string> getDescription () const ;
124
- GRAPHQLINTROSPECTION_EXPORT std::vector<DirectiveLocation> getLocations () const ;
125
- GRAPHQLINTROSPECTION_EXPORT std::vector<std::shared_ptr<object::InputValue>> getArgs () const ;
126
- GRAPHQLINTROSPECTION_EXPORT bool getIsRepeatable () const ;
122
+ GRAPHQLSERVICE_EXPORT std::string getName () const ;
123
+ GRAPHQLSERVICE_EXPORT std::optional<std::string> getDescription () const ;
124
+ GRAPHQLSERVICE_EXPORT std::vector<DirectiveLocation> getLocations () const ;
125
+ GRAPHQLSERVICE_EXPORT std::vector<std::shared_ptr<object::InputValue>> getArgs () const ;
126
+ GRAPHQLSERVICE_EXPORT bool getIsRepeatable () const ;
127
127
128
128
private:
129
129
const std::shared_ptr<const schema::Directive> _directive;
0 commit comments