convex-ents 0.7.2 → 0.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/deletion.js.map +1 -1
- package/dist/functions.d.ts +1 -1
- package/dist/functions.js +3 -3
- package/dist/functions.js.map +1 -1
- package/dist/{index-Yi-8Q5Zu.d.ts → index-32ipzHwI.d.ts} +45 -8
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/writer.d.ts +1 -1
- package/dist/writer.js +3 -3
- package/dist/writer.js.map +1 -1
- package/package.json +1 -1
package/dist/writer.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'convex/server';
|
|
2
2
|
import 'convex/values';
|
|
3
|
-
export { E as EdgeChanges, a as WithEdgeInserts, c as WithEdgePatches, b as WithEdges, W as WriterImplBase } from './index-
|
|
3
|
+
export { E as EdgeChanges, a as WithEdgeInserts, c as WithEdgePatches, b as WithEdges, W as WriterImplBase } from './index-32ipzHwI.js';
|
|
4
4
|
import './schema.js';
|
|
5
5
|
import './deletion.js';
|
package/dist/writer.js
CHANGED
|
@@ -401,7 +401,7 @@ var PromiseEdgeOrNullImpl = class extends PromiseEntsOrNullImpl {
|
|
|
401
401
|
return (docs?.length ?? 0) > 0;
|
|
402
402
|
}
|
|
403
403
|
};
|
|
404
|
-
var PromiseEntOrNullImpl = class
|
|
404
|
+
var PromiseEntOrNullImpl = class extends Promise {
|
|
405
405
|
constructor(ctx, entDefinitions, table, retrieve, throwIfNull) {
|
|
406
406
|
super(() => {
|
|
407
407
|
});
|
|
@@ -494,7 +494,7 @@ var PromiseEntOrNullImpl = class _PromiseEntOrNullImpl extends Promise {
|
|
|
494
494
|
}
|
|
495
495
|
);
|
|
496
496
|
}
|
|
497
|
-
return new
|
|
497
|
+
return new PromiseEntWriterImpl(
|
|
498
498
|
this.ctx,
|
|
499
499
|
this.entDefinitions,
|
|
500
500
|
edgeDefinition.to,
|
|
@@ -773,7 +773,7 @@ var PromiseEntIdImpl = class extends Promise {
|
|
|
773
773
|
this.retrieve = retrieve;
|
|
774
774
|
}
|
|
775
775
|
get() {
|
|
776
|
-
return new
|
|
776
|
+
return new PromiseEntWriterImpl(
|
|
777
777
|
this.ctx,
|
|
778
778
|
this.entDefinitions,
|
|
779
779
|
this.table,
|