@stacksjs/types 0.75.37 → 0.75.40

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.
Files changed (2) hide show
  1. package/dist/model.d.ts +1 -1
  2. package/package.json +8 -8
package/dist/model.d.ts CHANGED
@@ -246,7 +246,7 @@ export declare interface Attribute {
246
246
  fillable?: boolean
247
247
  guarded?: boolean
248
248
  foreignKey?: boolean | ForeignKeyConfig
249
- factory?: (faker: Faker) => any
249
+ factory?: (faker: Faker, attributes: Readonly<Record<string, unknown>>) => any
250
250
  validation: {
251
251
  rule: ValidationType
252
252
  message?: ValidatorMessage
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/types",
3
3
  "type": "module",
4
- "version": "0.75.37",
4
+ "version": "0.75.40",
5
5
  "description": "The Stacks framework types.",
6
6
  "author": "Chris Breuer",
7
7
  "contributors": [
@@ -58,14 +58,14 @@
58
58
  "dependencies": {
59
59
  "@stacksjs/bunpress": "^0.2.8",
60
60
  "@stacksjs/clapp": "^0.2.12",
61
- "@stacksjs/events": "0.75.37",
62
- "@stacksjs/strings": "0.75.37",
63
- "@stacksjs/stx": "^0.2.343",
61
+ "@stacksjs/events": "0.75.40",
62
+ "@stacksjs/strings": "0.75.40",
63
+ "@stacksjs/stx": "^0.2.348",
64
64
  "@stacksjs/ts-validation": "^0.5.6",
65
- "bun-query-builder": "^0.3.0"
65
+ "bun-query-builder": "^0.3.4"
66
66
  },
67
67
  "peerDependencies": {
68
- "meilisearch": "^0.59.0"
68
+ "meilisearch": "^0.62.0"
69
69
  },
70
70
  "peerDependenciesMeta": {
71
71
  "meilisearch": {
@@ -73,9 +73,9 @@
73
73
  }
74
74
  },
75
75
  "devDependencies": {
76
- "@stacksjs/validation": "0.75.37",
76
+ "@stacksjs/validation": "0.75.40",
77
77
  "better-dx": "^0.2.24",
78
- "meilisearch": "^0.59.0"
78
+ "meilisearch": "^0.62.0"
79
79
  },
80
80
  "sideEffects": false,
81
81
  "publishConfig": {