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 a2ff45d commit 59ad979Copy full SHA for 59ad979
storage/framework/core/types/src/model.ts
@@ -44,6 +44,10 @@ export interface AuthOptions {
44
useTwoFactor?: boolean
45
usePasskey?: boolean
46
}
47
+export interface LikeableOptions {
48
+ tableName?: string
49
+ foreignKey?: string
50
+}
51
52
type ActionPath = string
53
type ActionName = string
@@ -135,6 +139,8 @@ export interface ModelOptions extends Base {
135
139
observe?: string[] | boolean
136
140
billable?: boolean
137
141
useActivityLog?: boolean | ActivityLogOption
142
+
143
+ likeable: boolean | LikeableOptions
138
144
145
146
attributes?: Attributes
0 commit comments