File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -173,27 +173,27 @@ export interface GetManyReferenceResult<RecordType = Record> {
173
173
validUntil ?: ValidUntil ;
174
174
}
175
175
176
- export interface UpdateParams {
176
+ export interface UpdateParams < T = any > {
177
177
id : Identifier ;
178
- data : any ;
178
+ data : T ;
179
179
previousData : Record ;
180
180
}
181
181
export interface UpdateResult < RecordType = Record > {
182
182
data : RecordType ;
183
183
validUntil ?: ValidUntil ;
184
184
}
185
185
186
- export interface UpdateManyParams {
186
+ export interface UpdateManyParams < T = any > {
187
187
ids : Identifier [ ] ;
188
- data : any ;
188
+ data : T ;
189
189
}
190
190
export interface UpdateManyResult {
191
191
data ?: Identifier [ ] ;
192
192
validUntil ?: ValidUntil ;
193
193
}
194
194
195
- export interface CreateParams {
196
- data : any ;
195
+ export interface CreateParams < T = any > {
196
+ data : T ;
197
197
}
198
198
export interface CreateResult < RecordType = Record > {
199
199
data : RecordType ;
You can’t perform that action at this time.
0 commit comments