@base44-preview/cli 0.1.29-pr.656.27ddd8f → 0.1.29-pr.656.58d97d4
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/cli/index.js +5 -2
- package/dist/cli/index.js.map +7 -6
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -264197,8 +264197,10 @@ In order to complete registration use this verification code: ${otpCode}
|
|
|
264197
264197
|
// src/cli/dev/dev-server/routes/entities/entities-router.ts
|
|
264198
264198
|
var import_express4 = __toESM(require_express(), 1);
|
|
264199
264199
|
|
|
264200
|
-
// src/cli/dev/dev-server/db/
|
|
264200
|
+
// src/cli/dev/dev-server/db/fls-write.ts
|
|
264201
264201
|
import { isDeepStrictEqual as isDeepStrictEqual5 } from "node:util";
|
|
264202
|
+
|
|
264203
|
+
// src/cli/dev/dev-server/db/rls.ts
|
|
264202
264204
|
function getRLSFieldValue(key, source) {
|
|
264203
264205
|
const DATA_FIELD_PREFIX = "data.";
|
|
264204
264206
|
return source[key.startsWith(DATA_FIELD_PREFIX) ? key.slice(DATA_FIELD_PREFIX.length) : key];
|
|
@@ -264316,6 +264318,7 @@ function applyFLS(record, schema, user, operation) {
|
|
|
264316
264318
|
return result;
|
|
264317
264319
|
}
|
|
264318
264320
|
|
|
264321
|
+
// src/cli/dev/dev-server/db/fls-write.ts
|
|
264319
264322
|
class FLSWriteError extends Error {
|
|
264320
264323
|
constructor(operation, deniedFields) {
|
|
264321
264324
|
const verb = operation === "create" ? "set" : "modify";
|
|
@@ -271279,4 +271282,4 @@ export {
|
|
|
271279
271282
|
runCLI
|
|
271280
271283
|
};
|
|
271281
271284
|
|
|
271282
|
-
//# debugId=
|
|
271285
|
+
//# debugId=397A39E710CEFAB564756E2164756E21
|