File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 "." : {
2121 "types" : " ./dist/index.d.ts" ,
2222 "import" : " ./dist/index.js"
23- },
24- "./types" : {
25- "types" : " ./dist/types/index.d.ts" ,
26- "import" : " ./dist/types/index.js"
2723 }
2824 },
2925 "scripts" : {
Original file line number Diff line number Diff line change @@ -347,13 +347,14 @@ export class ObjectStackAdapter<T = unknown> implements DataSource<T> {
347347
348348 try {
349349 switch ( operation ) {
350- case 'create' :
350+ case 'create' : {
351351 emitProgress ( ) ;
352352 const created = await this . client . data . createMany < T > ( resource , data ) ;
353353 completed = created . length ;
354354 failed = total - completed ;
355355 emitProgress ( ) ;
356356 return created ;
357+ }
357358
358359 case 'delete' : {
359360 const ids = data . map ( item => ( item as Record < string , unknown > ) . id ) . filter ( Boolean ) as string [ ] ;
You can’t perform that action at this time.
0 commit comments