Init: RoggioApp Architecture, Prisma Schema, API MVP
This commit is contained in:
Generated
Vendored
Executable
+15
@@ -0,0 +1,15 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.UndefinedContextPlaceholder = void 0;
|
||||
exports.noUndefinedAsContext = noUndefinedAsContext;
|
||||
const Value_1 = require("../../../check/arbitrary/definition/Value");
|
||||
exports.UndefinedContextPlaceholder = Symbol('UndefinedContextPlaceholder');
|
||||
function noUndefinedAsContext(value) {
|
||||
if (value.context !== undefined) {
|
||||
return value;
|
||||
}
|
||||
if (value.hasToBeCloned) {
|
||||
return new Value_1.Value(value.value_, exports.UndefinedContextPlaceholder, () => value.value);
|
||||
}
|
||||
return new Value_1.Value(value.value_, exports.UndefinedContextPlaceholder);
|
||||
}
|
||||
Reference in New Issue
Block a user