@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
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "0.1.20"
7
+ "version": "0.1.21"
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ramathibodi/nuxt-commons",
3
- "version": "0.1.20",
3
+ "version": "0.1.21",
4
4
  "description": "Ramathibodi Nuxt modules for common components",
5
5
  "repository": {
6
6
  "type": "git",
@@ -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>'} {