@stacksjs/types 0.75.120 → 0.75.122

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/cli.d.ts CHANGED
@@ -260,7 +260,7 @@ export type GeneratorOptions = {
260
260
  export type LintOption = 'fix';
261
261
  export type LintOptions = {
262
262
  [key in LintOption]: boolean
263
- } & CliOptions;
263
+ } & { maxWarnings?: string | number, 'max-warnings'?: string | number } & CliOptions;
264
264
  export type MakeStringOption = 'name' | 'chat' | 'sms' | 'env';
265
265
  export type MakeBooleanOption = | 'dry-run'
266
266
  /** `make:policy --register`, which adds the policy to app/Gates.ts. */
package/dist/model.d.ts CHANGED
@@ -198,6 +198,7 @@ export declare interface ModelOptions extends Base {
198
198
  softDeletable?: boolean | SoftDeleteOptions
199
199
  categorizable?: boolean
200
200
  taggable?: boolean
201
+ useMessaging?: boolean
201
202
  commentable?: boolean
202
203
  useAuth?: boolean | UserAuthOptions
203
204
  authenticatable?: boolean | UserAuthOptions
@@ -21,7 +21,9 @@ export declare interface TableRegistry {}
21
21
  * `@stacksjs/database` is typed against this, so the runtime list and the type
22
22
  * cannot drift apart without a compile error.
23
23
  */
24
- export type TraitTableName = | 'commentables'
24
+ export type TraitTableName = | 'chat_conversations'
25
+ | 'chat_messages'
26
+ | 'commentables'
25
27
  | 'taggables'
26
28
  | 'categorizables'
27
29
  | 'commentable_upvotes'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/types",
3
3
  "type": "module",
4
- "version": "0.75.120",
4
+ "version": "0.75.122",
5
5
  "description": "The Stacks framework types.",
6
6
  "author": "Chris Breuer",
7
7
  "contributors": [
@@ -58,8 +58,8 @@
58
58
  "dependencies": {
59
59
  "@stacksjs/bunpress": "^0.2.15",
60
60
  "@stacksjs/clapp": "^0.2.12",
61
- "@stacksjs/events": "0.75.120",
62
- "@stacksjs/strings": "0.75.120",
61
+ "@stacksjs/events": "0.75.122",
62
+ "@stacksjs/strings": "0.75.122",
63
63
  "@stacksjs/stx": "^0.2.422",
64
64
  "@stacksjs/ts-validation": "^0.5.6",
65
65
  "bun-query-builder": "^0.3.5"
@@ -73,7 +73,7 @@
73
73
  }
74
74
  },
75
75
  "devDependencies": {
76
- "@stacksjs/validation": "0.75.120",
76
+ "@stacksjs/validation": "0.75.122",
77
77
  "better-dx": "^0.2.24",
78
78
  "meilisearch": "^0.62.0"
79
79
  },