@luminix/core 1.0.3 → 1.0.4

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luminix/core",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "main": "dist/core.js",
5
5
  "module": "dist/core.js",
6
6
  "types": "types/index.d.ts",
@@ -1,8 +1,3 @@
1
- import { BuilderInterface as Builder } from '../../types/Builder';
2
- import { Model, ModelPaginatedResponse } from '../../types/Model';
3
1
  import { default as BelongsToMany } from './BelongsToMany';
4
- type BuilderInterface = Builder<Model, ModelPaginatedResponse>;
5
2
  export default class MorphToMany extends BelongsToMany {
6
- query(): BuilderInterface;
7
3
  }
8
- export {};
@@ -0,0 +1,6 @@
1
+ import { Response } from '@luminix/support';
2
+ export default class ModelQueryFailedException extends Error {
3
+ readonly response: Response;
4
+ [Symbol.toStringTag]: string;
5
+ constructor(model: string, response: Response);
6
+ }