@rpcbase/db 0.27.0 → 0.28.0
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/index.js
CHANGED
|
@@ -1424,11 +1424,10 @@ const can = (ability, action, subjectType, object) => {
|
|
|
1424
1424
|
}
|
|
1425
1425
|
return ability.can(action, subjectType);
|
|
1426
1426
|
};
|
|
1427
|
-
const RTS_CHANGELOG_EXCLUDED_MODELS = /* @__PURE__ */ new Set(["RBRtsChange", "RBRtsCounter"]);
|
|
1428
1427
|
const rtsChangeLogApplied = /* @__PURE__ */ new WeakSet();
|
|
1429
1428
|
const accessibleRecordsApplied = /* @__PURE__ */ new WeakSet();
|
|
1430
1429
|
let cachedModels = null;
|
|
1431
|
-
const isRtsChangelogExcludedModelName = (name) => name.startsWith("RB")
|
|
1430
|
+
const isRtsChangelogExcludedModelName = (name) => name.startsWith("RB");
|
|
1432
1431
|
const assertSchema = (exportName, value) => {
|
|
1433
1432
|
if (value instanceof mongoose.Schema) return value;
|
|
1434
1433
|
throw new Error(
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registerModels.d.ts","sourceRoot":"","sources":["../src/registerModels.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAA;AAa/B,KAAK,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"registerModels.d.ts","sourceRoot":"","sources":["../src/registerModels.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAA;AAa/B,KAAK,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAwE3C,eAAO,MAAM,cAAc,GAAI,SAAS,YAAY,SAInD,CAAA;AAED,eAAO,MAAM,mBAAmB,sEAK/B,CAAA;AAED,YAAY,EAAE,YAAY,EAAE,CAAA"}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../../src/schema/index.test.ts"],"names":[],"mappings":""}
|