convex-ents
Advanced tools
Comparing version 0.7.4 to 0.7.5
import 'convex/values'; | ||
import 'convex/server'; | ||
import './schema.js'; | ||
export { Y as DocRetriever, D as Ent, X as EntMutationCtx, V as EntQueryCtx, B as EntsTable, C as EntsTableWriter, G as GenericEnt, T as GenericEntWriter, y as PromiseArray, x as PromiseArrayOrNull, F as PromiseEdge, t as PromiseEdgeEnts, r as PromiseEdgeEntsOrNull, u as PromiseEdgeEntsWriter, s as PromiseEdgeEntsWriterOrNull, H as PromiseEdgeOrThrow, I as PromiseEdgeWriter, K as PromiseEdgeWriterOrNull, J as PromiseEdgeWriterOrThrow, w as PromiseEnt, U as PromiseEntId, v as PromiseEntOrNull, S as PromiseEntWriter, R as PromiseEntWriterOrNull, p as PromiseEnts, n as PromiseEntsOrNull, q as PromiseEntsOrNulls, N as PromiseEntsWriter, o as PromiseEntsWriterOrNull, j as PromiseOrderedQuery, i as PromiseOrderedQueryBase, P as PromiseOrderedQueryOrNull, L as PromiseOrderedQueryWriter, d as PromiseOrderedQueryWriterOrNull, m as PromisePaginationResult, l as PromisePaginationResultOrNull, O as PromisePaginationResultWriter, k as PromiseQuery, e as PromiseQueryOrNull, M as PromiseQueryWriter, f as PromiseQueryWriterOrNull, h as PromiseTable, g as PromiseTableBase, Q as PromiseTableWriter, Z as addEntRules, z as entWrapper, A as entsTableFactory, a1 as getDeletionConfig, a0 as getEdgeDefinitions, _ as getReadRule, $ as getWriteRule } from './index-32ipzHwI.js'; | ||
export { O as DocRetriever, y as Ent, N as EntMutationCtx, M as EntQueryCtx, w as EntsTable, x as EntsTableWriter, G as GenericEnt, K as GenericEntWriter, t as PromiseArray, s as PromiseArrayOrNull, z as PromiseEdge, p as PromiseEdgeEnts, o as PromiseEdgeEntsOrNull, A as PromiseEdgeOrThrow, r as PromiseEnt, L as PromiseEntId, q as PromiseEntOrNull, J as PromiseEntWriter, I as PromiseEntWriterOrNull, m as PromiseEnts, l as PromiseEntsOrNull, n as PromiseEntsOrNulls, D as PromiseEntsWriter, h as PromiseOrderedQuery, g as PromiseOrderedQueryBase, P as PromiseOrderedQueryOrNull, B as PromiseOrderedQueryWriter, k as PromisePaginationResult, j as PromisePaginationResultOrNull, F as PromisePaginationResultWriter, i as PromiseQuery, d as PromiseQueryOrNull, C as PromiseQueryWriter, f as PromiseTable, e as PromiseTableBase, H as PromiseTableWriter, Q as addEntRules, u as entWrapper, v as entsTableFactory, U as getDeletionConfig, T as getEdgeDefinitions, R as getReadRule, S as getWriteRule } from './index-Yi-8Q5Zu.js'; | ||
import './deletion.js'; |
@@ -804,3 +804,3 @@ "use strict"; | ||
}; | ||
var PromiseEntOrNullImpl = class extends Promise { | ||
var PromiseEntOrNullImpl = class _PromiseEntOrNullImpl extends Promise { | ||
constructor(ctx, entDefinitions, table, retrieve, throwIfNull) { | ||
@@ -898,3 +898,3 @@ super(() => { | ||
} | ||
return new PromiseEntWriterImpl( | ||
return new _PromiseEntOrNullImpl( | ||
this.ctx, | ||
@@ -1243,3 +1243,3 @@ this.entDefinitions, | ||
get() { | ||
return new PromiseEntWriterImpl( | ||
return new PromiseEntOrNullImpl( | ||
this.ctx, | ||
@@ -1246,0 +1246,0 @@ this.entDefinitions, |
export { EntDefinition, defineEnt, defineEntFromTable, defineEntSchema, getEntDefinitions } from './schema.js'; | ||
export { G as GenericEnt, T as GenericEntWriter, t as PromiseEdgeEnts, r as PromiseEdgeEntsOrNull, u as PromiseEdgeEntsWriter, I as PromiseEdgeWriter, K as PromiseEdgeWriterOrNull, J as PromiseEdgeWriterOrThrow, w as PromiseEnt, U as PromiseEntId, v as PromiseEntOrNull, S as PromiseEntWriter, R as PromiseEntWriterOrNull, p as PromiseEnts, n as PromiseEntsOrNull, q as PromiseEntsOrNulls, N as PromiseEntsWriter, o as PromiseEntsWriterOrNull, j as PromiseOrderedQuery, i as PromiseOrderedQueryBase, P as PromiseOrderedQueryOrNull, L as PromiseOrderedQueryWriter, d as PromiseOrderedQueryWriterOrNull, k as PromiseQuery, e as PromiseQueryOrNull, M as PromiseQueryWriter, f as PromiseQueryWriterOrNull, h as PromiseTable, g as PromiseTableBase, Q as PromiseTableWriter, Z as addEntRules, A as entsTableFactory } from './index-32ipzHwI.js'; | ||
export { G as GenericEnt, K as GenericEntWriter, p as PromiseEdgeEnts, o as PromiseEdgeEntsOrNull, r as PromiseEnt, L as PromiseEntId, q as PromiseEntOrNull, J as PromiseEntWriter, I as PromiseEntWriterOrNull, m as PromiseEnts, l as PromiseEntsOrNull, n as PromiseEntsOrNulls, D as PromiseEntsWriter, h as PromiseOrderedQuery, g as PromiseOrderedQueryBase, P as PromiseOrderedQueryOrNull, B as PromiseOrderedQueryWriter, i as PromiseQuery, d as PromiseQueryOrNull, C as PromiseQueryWriter, f as PromiseTable, e as PromiseTableBase, H as PromiseTableWriter, Q as addEntRules, v as entsTableFactory } from './index-Yi-8Q5Zu.js'; | ||
export { scheduledDeleteFactory } from './deletion.js'; | ||
import 'convex/server'; | ||
import 'convex/values'; |
@@ -1162,3 +1162,3 @@ "use strict"; | ||
}; | ||
var PromiseEntOrNullImpl = class extends Promise { | ||
var PromiseEntOrNullImpl = class _PromiseEntOrNullImpl extends Promise { | ||
constructor(ctx, entDefinitions, table, retrieve, throwIfNull) { | ||
@@ -1256,3 +1256,3 @@ super(() => { | ||
} | ||
return new PromiseEntWriterImpl( | ||
return new _PromiseEntOrNullImpl( | ||
this.ctx, | ||
@@ -1601,3 +1601,3 @@ this.entDefinitions, | ||
get() { | ||
return new PromiseEntWriterImpl( | ||
return new PromiseEntOrNullImpl( | ||
this.ctx, | ||
@@ -1604,0 +1604,0 @@ this.entDefinitions, |
import 'convex/server'; | ||
import 'convex/values'; | ||
export { E as EdgeChanges, a as WithEdgeInserts, c as WithEdgePatches, b as WithEdges, W as WriterImplBase } from './index-32ipzHwI.js'; | ||
export { E as EdgeChanges, a as WithEdgeInserts, c as WithEdgePatches, b as WithEdges, W as WriterImplBase } from './index-Yi-8Q5Zu.js'; | ||
import './schema.js'; | ||
import './deletion.js'; |
@@ -404,3 +404,3 @@ "use strict"; | ||
}; | ||
var PromiseEntOrNullImpl = class extends Promise { | ||
var PromiseEntOrNullImpl = class _PromiseEntOrNullImpl extends Promise { | ||
constructor(ctx, entDefinitions, table, retrieve, throwIfNull) { | ||
@@ -498,3 +498,3 @@ super(() => { | ||
} | ||
return new PromiseEntWriterImpl( | ||
return new _PromiseEntOrNullImpl( | ||
this.ctx, | ||
@@ -778,3 +778,3 @@ this.entDefinitions, | ||
get() { | ||
return new PromiseEntWriterImpl( | ||
return new PromiseEntOrNullImpl( | ||
this.ctx, | ||
@@ -781,0 +781,0 @@ this.entDefinitions, |
{ | ||
"name": "convex-ents", | ||
"version": "0.7.4", | ||
"version": "0.7.5", | ||
"description": "Relations, default values, unique fields, RLS for Convex", | ||
@@ -26,4 +26,5 @@ "keywords": [ | ||
"lint": "tsc && eslint . && cd test && npm run lint", | ||
"prepublishOnly": "npm run build", | ||
"test": "cd test && npm run test" | ||
"prepublishOnly": "npm run build && npm run test:once", | ||
"test": "cd test && npm run test", | ||
"test:once": "cd test && npm run test:once" | ||
}, | ||
@@ -30,0 +31,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
0
794986
5775