web: colocate graphql fragments, unmask where needed, more idiomatic client-preset use
This commit is contained in:
@@ -10,6 +10,18 @@ const config: CodegenConfig = {
|
||||
generates: {
|
||||
"./src/gql/": {
|
||||
preset: "client",
|
||||
presetConfig: {
|
||||
fragmentMasking: { unmaskFunctionName: "unmaskFragment" },
|
||||
},
|
||||
config: {
|
||||
scalars: {
|
||||
DateTime: "string",
|
||||
JSONString: "string",
|
||||
PositiveInt: "number",
|
||||
RichText: "string",
|
||||
UUID: "string",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user