@h3ravel/contracts 0.28.0 → 0.28.1
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/index.cjs +1 -2
- package/dist/index.d.ts +2 -4
- package/dist/index.js +1 -2
- package/package.json +2 -3
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
let __h3ravel_arquebus = require("@h3ravel/arquebus");
|
|
2
1
|
let h3 = require("h3");
|
|
3
2
|
|
|
4
3
|
//#region src/Configuration/IAppBuilder.ts
|
|
@@ -65,7 +64,7 @@ var IServiceProvider = class {
|
|
|
65
64
|
|
|
66
65
|
//#endregion
|
|
67
66
|
//#region src/Database/IModel.ts
|
|
68
|
-
var IModel = class
|
|
67
|
+
var IModel = class {};
|
|
69
68
|
|
|
70
69
|
//#endregion
|
|
71
70
|
//#region src/Events/IDispatcher.ts
|
package/dist/index.d.ts
CHANGED
|
@@ -3,8 +3,6 @@ import { H3, H3Event, HTTPResponse, Middleware, MiddlewareOptions, serve } from
|
|
|
3
3
|
import { IApplication as IApplication$1 } from "@h3ravel/contracts";
|
|
4
4
|
import { DotNestedKeys as DotNestedKeys$1, DotNestedValue as DotNestedValue$1 } from "@h3ravel/shared";
|
|
5
5
|
import { Edge } from "edge.js";
|
|
6
|
-
import { Builder, Model } from "@h3ravel/arquebus";
|
|
7
|
-
import { IQueryBuilder } from "@h3ravel/arquebus/types";
|
|
8
6
|
import { Command, Kernel } from "@h3ravel/musket";
|
|
9
7
|
import In from "simple-body-validator/lib/cjs/rules/in";
|
|
10
8
|
import NotIn from "simple-body-validator/lib/cjs/rules/notIn";
|
|
@@ -3589,7 +3587,7 @@ declare abstract class IRegisterer {
|
|
|
3589
3587
|
}
|
|
3590
3588
|
//#endregion
|
|
3591
3589
|
//#region src/Database/IModel.d.ts
|
|
3592
|
-
declare abstract class IModel<M
|
|
3590
|
+
declare abstract class IModel<M = any> {
|
|
3593
3591
|
/**
|
|
3594
3592
|
* Retrieve the model for a bound value.
|
|
3595
3593
|
*
|
|
@@ -3605,7 +3603,7 @@ declare abstract class IModel<M extends Model = any> extends Model {
|
|
|
3605
3603
|
* @param value
|
|
3606
3604
|
* @param field
|
|
3607
3605
|
*/
|
|
3608
|
-
abstract resolveRouteBindingQuery(query:
|
|
3606
|
+
abstract resolveRouteBindingQuery(query: any, value: any, field?: undefined | string | null): any;
|
|
3609
3607
|
/**
|
|
3610
3608
|
* Get the value of the model's route key.
|
|
3611
3609
|
*/
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Model } from "@h3ravel/arquebus";
|
|
2
1
|
import { HTTPResponse } from "h3";
|
|
3
2
|
|
|
4
3
|
//#region src/Configuration/IAppBuilder.ts
|
|
@@ -65,7 +64,7 @@ var IServiceProvider = class {
|
|
|
65
64
|
|
|
66
65
|
//#endregion
|
|
67
66
|
//#region src/Database/IModel.ts
|
|
68
|
-
var IModel = class
|
|
67
|
+
var IModel = class {};
|
|
69
68
|
|
|
70
69
|
//#endregion
|
|
71
70
|
//#region src/Events/IDispatcher.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@h3ravel/contracts",
|
|
3
|
-
"version": "0.28.
|
|
3
|
+
"version": "0.28.1",
|
|
4
4
|
"description": "H3ravel Contracts.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -47,8 +47,7 @@
|
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"edge.js": "^6.3.0",
|
|
49
49
|
"simple-body-validator": "^1.3.9",
|
|
50
|
-
"@h3ravel/musket": "^0.6.8"
|
|
51
|
-
"@h3ravel/arquebus": "^0.7.3"
|
|
50
|
+
"@h3ravel/musket": "^0.6.8"
|
|
52
51
|
},
|
|
53
52
|
"dependencies": {
|
|
54
53
|
"h3": "2.0.1-rc.5"
|