We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23c78d9 commit 58232cdCopy full SHA for 58232cd
storage/framework/core/types/src/model.ts
@@ -13,6 +13,14 @@ export interface SeedOptions {
13
count: number
14
}
15
16
+type LogAttribute = string
17
+
18
+type ActivityLogOption = {
19
+ exclude: LogAttribute[]
20
+ include: LogAttribute[] // default to “*”
21
+ logOnly: LogAttribute[]
22
+}
23
24
interface BelongsToManyType {
25
model: ModelNames
26
firstForeignKey?: string
@@ -72,6 +80,7 @@ export interface ModelOptions extends Base {
72
80
searchable?: boolean | SearchOptions // useSearch alias
73
81
useApi?: ApiOptions | boolean
74
82
observe?: string[] | boolean
83
+ useActivityLog?: boolean | ActivityLogOption
75
84
76
85
77
86
attributes: Attributes
0 commit comments