@ramathibodi/nuxt-commons 0.1.20 → 0.1.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.json
CHANGED
package/package.json
CHANGED
|
@@ -110,7 +110,7 @@ module.exports = {
|
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
function createGraphQLOperation${'<' + 'T,U>'}(operationType: "Query" | "Mutation",name: string,variables?: graphqlVariable[],fields?: graphqlTypeObject): graphqlOperationObject${'<' + 'T,U>'} {
|
|
113
|
-
let returnGraphqlOperation = {
|
|
113
|
+
let returnGraphqlOperation : ${'Record' + '<string,any>'} = {
|
|
114
114
|
operationType,
|
|
115
115
|
name,
|
|
116
116
|
variables,
|
|
@@ -125,7 +125,7 @@ module.exports = {
|
|
|
125
125
|
return operationCall(operationType,name, fields, variables,cache);
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
|
-
return returnGraphqlOperation
|
|
128
|
+
return returnGraphqlOperation as graphqlOperationObject${'<' + 'T,U>'}
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
interface graphqlTypeObjects extends ${'Record<string,' + 'graphqlTypeObject>'} {
|