Skip to content

Commit 4f4d349

Browse files
committed
Upgrade Vuex-ORM
1 parent dd45aa5 commit 4f4d349

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

dist/vuex-orm-graphql.esm.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28510,7 +28510,7 @@ var Action = /** @class */ (function () {
2851028510
};
2851128511
/**
2851228512
* Convenience method to get the model from the state.
28513-
* @param {State} state Vuex state
28513+
* @param {RootState} state Vuex state
2851428514
* @returns {Model}
2851528515
*/
2851628516
Action.getModelFromState = function (state) {
@@ -29330,14 +29330,14 @@ var VuexORMGraphQL = /** @class */ (function () {
2933029330
*/
2933129331
VuexORMGraphQL.setupActions = function () {
2933229332
var context = Context.getInstance();
29333-
context.components.rootActions.simpleQuery = SimpleQuery.call.bind(SimpleQuery);
29334-
context.components.rootActions.simpleMutation = SimpleMutation.call.bind(SimpleMutation);
29335-
context.components.subActions.fetch = Fetch.call.bind(Fetch);
29336-
context.components.subActions.persist = Persist.call.bind(Persist);
29337-
context.components.subActions.push = Push.call.bind(Push);
29338-
context.components.subActions.destroy = Destroy.call.bind(Destroy);
29339-
context.components.subActions.mutate = Mutate.call.bind(Mutate);
29340-
context.components.subActions.query = Query.call.bind(Query);
29333+
context.components.RootActions.simpleQuery = SimpleQuery.call.bind(SimpleQuery);
29334+
context.components.RootActions.simpleMutation = SimpleMutation.call.bind(SimpleMutation);
29335+
context.components.Actions.fetch = Fetch.call.bind(Fetch);
29336+
context.components.Actions.persist = Persist.call.bind(Persist);
29337+
context.components.Actions.push = Push.call.bind(Push);
29338+
context.components.Actions.destroy = Destroy.call.bind(Destroy);
29339+
context.components.Actions.mutate = Mutate.call.bind(Mutate);
29340+
context.components.Actions.query = Query.call.bind(Query);
2934129341
};
2934229342
/**
2934329343
* This method will setup following model methods: Model.fetch, Model.mutate, Model.customQuery, record.$mutate,

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vuex-orm/plugin-graphql",
3-
"version": "1.0.0-rc.10",
3+
"version": "1.0.0-rc.11",
44
"description": "Vuex-ORM Plugin to sync the data against a GraphQL API.",
55
"main": "dist/vuex-orm-graphql.common.js",
66
"module": "dist/vuex-orm-graphql.esm.js",
@@ -47,7 +47,7 @@
4747
"@types/graphql": "^0.12.3",
4848
"@types/inflection": "^1.5.28",
4949
"@types/lodash-es": "^4.17.0",
50-
"@vuex-orm/core": "^0.25.5",
50+
"@vuex-orm/core": "^0.25.6",
5151
"apollo-cache-inmemory": "^1.1.7",
5252
"apollo-client": "^2.2.2",
5353
"apollo-link": "^1.2.0",

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,9 @@
185185
source-map "^0.5.6"
186186
vue-template-es2015-compiler "^1.6.0"
187187

188-
"@vuex-orm/core@^0.25.5":
189-
version "0.25.5"
190-
resolved "https://registry.yarnpkg.com/@vuex-orm/core/-/core-0.25.5.tgz#ebdcfbbdb19195fff76309c1a8d4c1a708a23b38"
188+
"@vuex-orm/core@^0.25.6":
189+
version "0.25.6"
190+
resolved "https://registry.yarnpkg.com/@vuex-orm/core/-/core-0.25.6.tgz#d98e05811798d0ddbedd7d289d771d74270bf305"
191191

192192
"@webassemblyjs/[email protected]":
193193
version "1.4.3"

0 commit comments

Comments
 (0)