Skip to content

Commit 7a041fc

Browse files
authored
Merge pull request #366 from objectstack-ai/copilot/fix-action-run-issue-9637fba8-2fa1-4a5d-8b12-623bdd8c782a
2 parents 165c424 + a5b6a83 commit 7a041fc

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

packages/core/package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@
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": {

packages/data-objectstack/src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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[];

0 commit comments

Comments
 (0)