@kaspernj/api-maker 1.0.124 → 1.0.125

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/package.json CHANGED
@@ -16,7 +16,7 @@
16
16
  ]
17
17
  },
18
18
  "name": "@kaspernj/api-maker",
19
- "version": "1.0.124",
19
+ "version": "1.0.125",
20
20
  "description": "",
21
21
  "main": "index.js",
22
22
  "repository": {
@@ -152,6 +152,10 @@ module.exports = class BaseModel {
152
152
  }
153
153
  }
154
154
 
155
+ static all() {
156
+ return this.ransack()
157
+ }
158
+
155
159
  async create(attributes, options) {
156
160
  if (attributes) this.assignAttributes(attributes)
157
161
  const paramKey = this.modelClassData().paramKey