@inixiative/json-rules 3.7.0 → 3.10.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/README.md +54 -9
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +18 -6
- package/dist/index.d.ts +18 -6
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -1031,6 +1031,9 @@ declare const validateNarrowing: (narrowing: LensNarrowing) => ValidationResult;
|
|
|
1031
1031
|
/** `validateNarrowing`, throwing its issues. */
|
|
1032
1032
|
declare const assertValidNarrowing: (narrowing: LensNarrowing) => void;
|
|
1033
1033
|
|
|
1034
|
+
declare const prefixConditionFields: (cond: Condition, prefix: string, { paths }?: {
|
|
1035
|
+
paths?: boolean;
|
|
1036
|
+
}) => Condition;
|
|
1034
1037
|
/** A rule with the lens's clamps (`where`s) injected at their anchors: the root's around it, each
|
|
1035
1038
|
* relation's where the rule descends into it — under an `all`, into its window `filter`. */
|
|
1036
1039
|
declare const narrowRule: (rule: Condition, lensOrNarrowing: Lens | LensNarrowing) => Condition;
|
|
@@ -1089,6 +1092,9 @@ type LensWhereSqlOptions = {
|
|
|
1089
1092
|
* `'name'` at the root and `'<relation path>.<field>'` below it; a model default reads
|
|
1090
1093
|
* `'<Model>.<field>'`. */
|
|
1091
1094
|
columns: Record<string, string>;
|
|
1095
|
+
/** To-many relation path → the caller's SQL for its table, as `toWhereSql` reads it: by its path
|
|
1096
|
+
* from the lens model in a path `where`, `'<Model>.<relation>'` in a model default. */
|
|
1097
|
+
tables?: Record<string, string>;
|
|
1092
1098
|
};
|
|
1093
1099
|
/** A lens's `where`s as SQL, each where the lens wrote it. */
|
|
1094
1100
|
type LensWhereSql = {
|
|
@@ -1102,7 +1108,7 @@ type LensWhereSql = {
|
|
|
1102
1108
|
models: Record<string, string>;
|
|
1103
1109
|
}>;
|
|
1104
1110
|
};
|
|
1105
|
-
declare const toLensWhereSql: (lens: Lens | LensNarrowing, { columns }: LensWhereSqlOptions) => LensWhereSql;
|
|
1111
|
+
declare const toLensWhereSql: (lens: Lens | LensNarrowing, { columns, tables }: LensWhereSqlOptions) => LensWhereSql;
|
|
1106
1112
|
|
|
1107
1113
|
/** Gate a rule against a lens: every field and value-side ref resolves through it, and every
|
|
1108
1114
|
* operator, value and amount fits the field it reaches. */
|
|
@@ -1223,8 +1229,13 @@ type ToSqlOptions = CompileOptions & {
|
|
|
1223
1229
|
|
|
1224
1230
|
type WhereSqlOptions = {
|
|
1225
1231
|
/** Field path → the caller's SQL for that column, used as written. A to-one relation's
|
|
1226
|
-
* existence reads `'<relation>.<key>'
|
|
1232
|
+
* existence reads `'<relation>.<key>'`; a to-many relation's rows read
|
|
1233
|
+
* `'<relation>.<field>'`. */
|
|
1227
1234
|
columns: Record<string, string>;
|
|
1235
|
+
/** To-many relation path → the caller's SQL for its table, written after `FROM` as given, with
|
|
1236
|
+
* the alias its `columns` read (`{ affiliations: 'FanUserAffiliation AS a' }`). An array rule
|
|
1237
|
+
* on that relation reads it. */
|
|
1238
|
+
tables?: Record<string, string>;
|
|
1228
1239
|
/** The schema the condition reads: it types each literal by its column, finds a relation's key,
|
|
1229
1240
|
* and refuses what has no form here (a date, Json or list value, a bridge, a to-many hop). */
|
|
1230
1241
|
map: FieldMap | FieldMapSet;
|
|
@@ -1234,9 +1245,10 @@ type WhereSqlOptions = {
|
|
|
1234
1245
|
/**
|
|
1235
1246
|
* A condition as a SQL predicate in the engine's `sql.dialect`, with every value written inline
|
|
1236
1247
|
* and every field read from `columns` — no parameters to fill, no joins. Negations keep NULL rows,
|
|
1237
|
-
* as on every rail.
|
|
1238
|
-
*
|
|
1239
|
-
*
|
|
1248
|
+
* as on every rail. An array rule (any / all / none / empty / notEmpty) on a to-many relation of
|
|
1249
|
+
* the model is an `EXISTS` subquery on its table from `tables`. Throws for any other operator or
|
|
1250
|
+
* node, for binds, bridges, column-to-column `path`s, a Json value or existence, and a date or
|
|
1251
|
+
* list value (their existence is fine: `IS NULL` compares no value).
|
|
1240
1252
|
*/
|
|
1241
1253
|
declare const toWhereSql: (condition: Condition, options: WhereSqlOptions) => string;
|
|
1242
1254
|
|
|
@@ -1268,4 +1280,4 @@ declare const getConditionShapeKeys: (shape: ConditionShape) => ConditionShapeKe
|
|
|
1268
1280
|
*/
|
|
1269
1281
|
declare const orderRecords: <T>(items: readonly T[], orderBy: OrderBy) => T[];
|
|
1270
1282
|
|
|
1271
|
-
export { ALL_KINDS, type AggregateMode, type AggregateRule, type All, type Any, ArrayOperator, type ArrayRule, type Bridge, type BridgeCardinality, type BridgeDictionary, type BridgeEndpoint, type CheckData, type CheckOptions, type CompileOptions, type Condition, ConditionShape, type ConditionShapeKeys, type DateConfig, type DateExpr, type DateInputOrExpr, type DateInputValue, type DateOffset, DateOperator, type DateRule, type DateRuleValue, type EdgeExpr, type EngineGlobalsState, type EnumNarrowing, FieldKind, type FieldMap, type FieldMapEntry, type FieldMapSet, type FuzzyConfig, type GroupByStep, type IfThenElse, type Lens, type LensClamps, type LensNarrowing, type LensPathHop, type LensPathResolution, LensRefusal, type LensRelationSelect, type LensSelect, type LensSelectOptions, type LensValue, type LensWhereSql, type LensWhereSqlOptions, type ListBindingsOptions, type Magnitude, type MaterializeSourceQueryOptions, type ModelDefaultNarrowing, type ModelEntry, type ModelNarrowing, NUMERIC_KINDS, type NarrowingDefaults, type NumberOffset, Operator, type OperatorFamily, type OrderBy, type OrderedRuleValue, type PathProjection, type PeriodExpr, type PeriodUnit, type PrismaProvider, type PrismaStep, type PrismaWhere, type ProjectLensOptions, type ProjectRowsOptions, type ProjectedVisit, type RelativeUnits, type RollingExpr, type Row, type Rule, type RuleDescription, type RuleScalar, type RuleSourceDescription, RuleTarget, type RuleValue, type ScopeOutOfBounds, type ScopeRef, type ScopedRef, type SortDir, type SourceEntry, type SourceOption, SourceOptionOrder, type SourcePrismaQuery, type SourceQuery, type SourceRowShape, type SourceSelect, type SourceSpec, type SourceSqlQuery, type SourceValues, SqlDialect, type StepRef, type StoredLens, type StrictAggregateRule, type StrictAll, type StrictAny, type StrictArrayCountRule, type StrictArrayPredicateRule, type StrictArrayPresenceRule, type StrictArrayRule, type StrictCondition, type StrictContainsRule, type StrictDateComparisonRule, type StrictDateDayRule, type StrictDateRangeRule, type StrictDateRule, type StrictEqualityRule, type StrictIfThenElse, type StrictMembershipRule, type StrictOrderedComparisonRule, type StrictPatternRule, type StrictPresenceRule, type StrictRangeRule, type StrictRule, type StrictStringBoundaryRule, type TimeZoneConfig, type ToPrismaOptions, type ToPrismaResult, type ToSqlOptions, type ToSqlResult, UsageError, type ValidateRuleOptions, type ValidationIssue, type ValidationResult, ValueShape, type ValueSourceFields, type ValueSourceOf, type WeekStart, type WhereSqlOptions, type WhereStep, type WindowFields, andWhere, assertValidFieldMaps, assertValidNarrowing, assertValidRule, bindLens, bindRule, check, clampLens, coerceRule, composeLens, createLens, describeRule, describeRuleSources, engineGlobals, executePrismaPlan, getAggregateOperators, getArrayOperators, getConditionShapeKeys, getLensRoot, getOperatorsForKind, getValueShape, indexBridges, lensVisit, listBindings, listLensBindings, matchAll, matchNothing, materializeSourceQuery, materializeSources, narrowRule, orWhere, orderRecords, parseScopeRef, projectLens, projectRows, readLensValue, readScopeRef, stitchFieldMaps, storeLens, toLensSelect, toLensWhereSql, toPrisma, toSourceQueries, toSql, toWhereSql, validateFieldMaps, validateNarrowing, validateRule, validateRuleInLens, walkLensPath };
|
|
1283
|
+
export { ALL_KINDS, type AggregateMode, type AggregateRule, type All, type Any, ArrayOperator, type ArrayRule, type Bridge, type BridgeCardinality, type BridgeDictionary, type BridgeEndpoint, type CheckData, type CheckOptions, type CompileOptions, type Condition, ConditionShape, type ConditionShapeKeys, type DateConfig, type DateExpr, type DateInputOrExpr, type DateInputValue, type DateOffset, DateOperator, type DateRule, type DateRuleValue, type EdgeExpr, type EngineGlobalsState, type EnumNarrowing, FieldKind, type FieldMap, type FieldMapEntry, type FieldMapSet, type FuzzyConfig, type GroupByStep, type IfThenElse, type Lens, type LensClamps, type LensNarrowing, type LensPathHop, type LensPathResolution, LensRefusal, type LensRelationSelect, type LensSelect, type LensSelectOptions, type LensValue, type LensWhereSql, type LensWhereSqlOptions, type ListBindingsOptions, type Magnitude, type MaterializeSourceQueryOptions, type ModelDefaultNarrowing, type ModelEntry, type ModelNarrowing, NUMERIC_KINDS, type NarrowingDefaults, type NumberOffset, Operator, type OperatorFamily, type OrderBy, type OrderedRuleValue, type PathProjection, type PeriodExpr, type PeriodUnit, type PrismaProvider, type PrismaStep, type PrismaWhere, type ProjectLensOptions, type ProjectRowsOptions, type ProjectedVisit, type RelativeUnits, type RollingExpr, type Row, type Rule, type RuleDescription, type RuleScalar, type RuleSourceDescription, RuleTarget, type RuleValue, type ScopeOutOfBounds, type ScopeRef, type ScopedRef, type SortDir, type SourceEntry, type SourceOption, SourceOptionOrder, type SourcePrismaQuery, type SourceQuery, type SourceRowShape, type SourceSelect, type SourceSpec, type SourceSqlQuery, type SourceValues, SqlDialect, type StepRef, type StoredLens, type StrictAggregateRule, type StrictAll, type StrictAny, type StrictArrayCountRule, type StrictArrayPredicateRule, type StrictArrayPresenceRule, type StrictArrayRule, type StrictCondition, type StrictContainsRule, type StrictDateComparisonRule, type StrictDateDayRule, type StrictDateRangeRule, type StrictDateRule, type StrictEqualityRule, type StrictIfThenElse, type StrictMembershipRule, type StrictOrderedComparisonRule, type StrictPatternRule, type StrictPresenceRule, type StrictRangeRule, type StrictRule, type StrictStringBoundaryRule, type TimeZoneConfig, type ToPrismaOptions, type ToPrismaResult, type ToSqlOptions, type ToSqlResult, UsageError, type ValidateRuleOptions, type ValidationIssue, type ValidationResult, ValueShape, type ValueSourceFields, type ValueSourceOf, type WeekStart, type WhereSqlOptions, type WhereStep, type WindowFields, andWhere, assertValidFieldMaps, assertValidNarrowing, assertValidRule, bindLens, bindRule, check, clampLens, coerceRule, composeLens, createLens, describeRule, describeRuleSources, engineGlobals, executePrismaPlan, getAggregateOperators, getArrayOperators, getConditionShapeKeys, getLensRoot, getOperatorsForKind, getValueShape, indexBridges, lensVisit, listBindings, listLensBindings, matchAll, matchNothing, materializeSourceQuery, materializeSources, narrowRule, orWhere, orderRecords, parseScopeRef, prefixConditionFields, projectLens, projectRows, readLensValue, readScopeRef, stitchFieldMaps, storeLens, toLensSelect, toLensWhereSql, toPrisma, toSourceQueries, toSql, toWhereSql, validateFieldMaps, validateNarrowing, validateRule, validateRuleInLens, walkLensPath };
|
package/dist/index.d.ts
CHANGED
|
@@ -1031,6 +1031,9 @@ declare const validateNarrowing: (narrowing: LensNarrowing) => ValidationResult;
|
|
|
1031
1031
|
/** `validateNarrowing`, throwing its issues. */
|
|
1032
1032
|
declare const assertValidNarrowing: (narrowing: LensNarrowing) => void;
|
|
1033
1033
|
|
|
1034
|
+
declare const prefixConditionFields: (cond: Condition, prefix: string, { paths }?: {
|
|
1035
|
+
paths?: boolean;
|
|
1036
|
+
}) => Condition;
|
|
1034
1037
|
/** A rule with the lens's clamps (`where`s) injected at their anchors: the root's around it, each
|
|
1035
1038
|
* relation's where the rule descends into it — under an `all`, into its window `filter`. */
|
|
1036
1039
|
declare const narrowRule: (rule: Condition, lensOrNarrowing: Lens | LensNarrowing) => Condition;
|
|
@@ -1089,6 +1092,9 @@ type LensWhereSqlOptions = {
|
|
|
1089
1092
|
* `'name'` at the root and `'<relation path>.<field>'` below it; a model default reads
|
|
1090
1093
|
* `'<Model>.<field>'`. */
|
|
1091
1094
|
columns: Record<string, string>;
|
|
1095
|
+
/** To-many relation path → the caller's SQL for its table, as `toWhereSql` reads it: by its path
|
|
1096
|
+
* from the lens model in a path `where`, `'<Model>.<relation>'` in a model default. */
|
|
1097
|
+
tables?: Record<string, string>;
|
|
1092
1098
|
};
|
|
1093
1099
|
/** A lens's `where`s as SQL, each where the lens wrote it. */
|
|
1094
1100
|
type LensWhereSql = {
|
|
@@ -1102,7 +1108,7 @@ type LensWhereSql = {
|
|
|
1102
1108
|
models: Record<string, string>;
|
|
1103
1109
|
}>;
|
|
1104
1110
|
};
|
|
1105
|
-
declare const toLensWhereSql: (lens: Lens | LensNarrowing, { columns }: LensWhereSqlOptions) => LensWhereSql;
|
|
1111
|
+
declare const toLensWhereSql: (lens: Lens | LensNarrowing, { columns, tables }: LensWhereSqlOptions) => LensWhereSql;
|
|
1106
1112
|
|
|
1107
1113
|
/** Gate a rule against a lens: every field and value-side ref resolves through it, and every
|
|
1108
1114
|
* operator, value and amount fits the field it reaches. */
|
|
@@ -1223,8 +1229,13 @@ type ToSqlOptions = CompileOptions & {
|
|
|
1223
1229
|
|
|
1224
1230
|
type WhereSqlOptions = {
|
|
1225
1231
|
/** Field path → the caller's SQL for that column, used as written. A to-one relation's
|
|
1226
|
-
* existence reads `'<relation>.<key>'
|
|
1232
|
+
* existence reads `'<relation>.<key>'`; a to-many relation's rows read
|
|
1233
|
+
* `'<relation>.<field>'`. */
|
|
1227
1234
|
columns: Record<string, string>;
|
|
1235
|
+
/** To-many relation path → the caller's SQL for its table, written after `FROM` as given, with
|
|
1236
|
+
* the alias its `columns` read (`{ affiliations: 'FanUserAffiliation AS a' }`). An array rule
|
|
1237
|
+
* on that relation reads it. */
|
|
1238
|
+
tables?: Record<string, string>;
|
|
1228
1239
|
/** The schema the condition reads: it types each literal by its column, finds a relation's key,
|
|
1229
1240
|
* and refuses what has no form here (a date, Json or list value, a bridge, a to-many hop). */
|
|
1230
1241
|
map: FieldMap | FieldMapSet;
|
|
@@ -1234,9 +1245,10 @@ type WhereSqlOptions = {
|
|
|
1234
1245
|
/**
|
|
1235
1246
|
* A condition as a SQL predicate in the engine's `sql.dialect`, with every value written inline
|
|
1236
1247
|
* and every field read from `columns` — no parameters to fill, no joins. Negations keep NULL rows,
|
|
1237
|
-
* as on every rail.
|
|
1238
|
-
*
|
|
1239
|
-
*
|
|
1248
|
+
* as on every rail. An array rule (any / all / none / empty / notEmpty) on a to-many relation of
|
|
1249
|
+
* the model is an `EXISTS` subquery on its table from `tables`. Throws for any other operator or
|
|
1250
|
+
* node, for binds, bridges, column-to-column `path`s, a Json value or existence, and a date or
|
|
1251
|
+
* list value (their existence is fine: `IS NULL` compares no value).
|
|
1240
1252
|
*/
|
|
1241
1253
|
declare const toWhereSql: (condition: Condition, options: WhereSqlOptions) => string;
|
|
1242
1254
|
|
|
@@ -1268,4 +1280,4 @@ declare const getConditionShapeKeys: (shape: ConditionShape) => ConditionShapeKe
|
|
|
1268
1280
|
*/
|
|
1269
1281
|
declare const orderRecords: <T>(items: readonly T[], orderBy: OrderBy) => T[];
|
|
1270
1282
|
|
|
1271
|
-
export { ALL_KINDS, type AggregateMode, type AggregateRule, type All, type Any, ArrayOperator, type ArrayRule, type Bridge, type BridgeCardinality, type BridgeDictionary, type BridgeEndpoint, type CheckData, type CheckOptions, type CompileOptions, type Condition, ConditionShape, type ConditionShapeKeys, type DateConfig, type DateExpr, type DateInputOrExpr, type DateInputValue, type DateOffset, DateOperator, type DateRule, type DateRuleValue, type EdgeExpr, type EngineGlobalsState, type EnumNarrowing, FieldKind, type FieldMap, type FieldMapEntry, type FieldMapSet, type FuzzyConfig, type GroupByStep, type IfThenElse, type Lens, type LensClamps, type LensNarrowing, type LensPathHop, type LensPathResolution, LensRefusal, type LensRelationSelect, type LensSelect, type LensSelectOptions, type LensValue, type LensWhereSql, type LensWhereSqlOptions, type ListBindingsOptions, type Magnitude, type MaterializeSourceQueryOptions, type ModelDefaultNarrowing, type ModelEntry, type ModelNarrowing, NUMERIC_KINDS, type NarrowingDefaults, type NumberOffset, Operator, type OperatorFamily, type OrderBy, type OrderedRuleValue, type PathProjection, type PeriodExpr, type PeriodUnit, type PrismaProvider, type PrismaStep, type PrismaWhere, type ProjectLensOptions, type ProjectRowsOptions, type ProjectedVisit, type RelativeUnits, type RollingExpr, type Row, type Rule, type RuleDescription, type RuleScalar, type RuleSourceDescription, RuleTarget, type RuleValue, type ScopeOutOfBounds, type ScopeRef, type ScopedRef, type SortDir, type SourceEntry, type SourceOption, SourceOptionOrder, type SourcePrismaQuery, type SourceQuery, type SourceRowShape, type SourceSelect, type SourceSpec, type SourceSqlQuery, type SourceValues, SqlDialect, type StepRef, type StoredLens, type StrictAggregateRule, type StrictAll, type StrictAny, type StrictArrayCountRule, type StrictArrayPredicateRule, type StrictArrayPresenceRule, type StrictArrayRule, type StrictCondition, type StrictContainsRule, type StrictDateComparisonRule, type StrictDateDayRule, type StrictDateRangeRule, type StrictDateRule, type StrictEqualityRule, type StrictIfThenElse, type StrictMembershipRule, type StrictOrderedComparisonRule, type StrictPatternRule, type StrictPresenceRule, type StrictRangeRule, type StrictRule, type StrictStringBoundaryRule, type TimeZoneConfig, type ToPrismaOptions, type ToPrismaResult, type ToSqlOptions, type ToSqlResult, UsageError, type ValidateRuleOptions, type ValidationIssue, type ValidationResult, ValueShape, type ValueSourceFields, type ValueSourceOf, type WeekStart, type WhereSqlOptions, type WhereStep, type WindowFields, andWhere, assertValidFieldMaps, assertValidNarrowing, assertValidRule, bindLens, bindRule, check, clampLens, coerceRule, composeLens, createLens, describeRule, describeRuleSources, engineGlobals, executePrismaPlan, getAggregateOperators, getArrayOperators, getConditionShapeKeys, getLensRoot, getOperatorsForKind, getValueShape, indexBridges, lensVisit, listBindings, listLensBindings, matchAll, matchNothing, materializeSourceQuery, materializeSources, narrowRule, orWhere, orderRecords, parseScopeRef, projectLens, projectRows, readLensValue, readScopeRef, stitchFieldMaps, storeLens, toLensSelect, toLensWhereSql, toPrisma, toSourceQueries, toSql, toWhereSql, validateFieldMaps, validateNarrowing, validateRule, validateRuleInLens, walkLensPath };
|
|
1283
|
+
export { ALL_KINDS, type AggregateMode, type AggregateRule, type All, type Any, ArrayOperator, type ArrayRule, type Bridge, type BridgeCardinality, type BridgeDictionary, type BridgeEndpoint, type CheckData, type CheckOptions, type CompileOptions, type Condition, ConditionShape, type ConditionShapeKeys, type DateConfig, type DateExpr, type DateInputOrExpr, type DateInputValue, type DateOffset, DateOperator, type DateRule, type DateRuleValue, type EdgeExpr, type EngineGlobalsState, type EnumNarrowing, FieldKind, type FieldMap, type FieldMapEntry, type FieldMapSet, type FuzzyConfig, type GroupByStep, type IfThenElse, type Lens, type LensClamps, type LensNarrowing, type LensPathHop, type LensPathResolution, LensRefusal, type LensRelationSelect, type LensSelect, type LensSelectOptions, type LensValue, type LensWhereSql, type LensWhereSqlOptions, type ListBindingsOptions, type Magnitude, type MaterializeSourceQueryOptions, type ModelDefaultNarrowing, type ModelEntry, type ModelNarrowing, NUMERIC_KINDS, type NarrowingDefaults, type NumberOffset, Operator, type OperatorFamily, type OrderBy, type OrderedRuleValue, type PathProjection, type PeriodExpr, type PeriodUnit, type PrismaProvider, type PrismaStep, type PrismaWhere, type ProjectLensOptions, type ProjectRowsOptions, type ProjectedVisit, type RelativeUnits, type RollingExpr, type Row, type Rule, type RuleDescription, type RuleScalar, type RuleSourceDescription, RuleTarget, type RuleValue, type ScopeOutOfBounds, type ScopeRef, type ScopedRef, type SortDir, type SourceEntry, type SourceOption, SourceOptionOrder, type SourcePrismaQuery, type SourceQuery, type SourceRowShape, type SourceSelect, type SourceSpec, type SourceSqlQuery, type SourceValues, SqlDialect, type StepRef, type StoredLens, type StrictAggregateRule, type StrictAll, type StrictAny, type StrictArrayCountRule, type StrictArrayPredicateRule, type StrictArrayPresenceRule, type StrictArrayRule, type StrictCondition, type StrictContainsRule, type StrictDateComparisonRule, type StrictDateDayRule, type StrictDateRangeRule, type StrictDateRule, type StrictEqualityRule, type StrictIfThenElse, type StrictMembershipRule, type StrictOrderedComparisonRule, type StrictPatternRule, type StrictPresenceRule, type StrictRangeRule, type StrictRule, type StrictStringBoundaryRule, type TimeZoneConfig, type ToPrismaOptions, type ToPrismaResult, type ToSqlOptions, type ToSqlResult, UsageError, type ValidateRuleOptions, type ValidationIssue, type ValidationResult, ValueShape, type ValueSourceFields, type ValueSourceOf, type WeekStart, type WhereSqlOptions, type WhereStep, type WindowFields, andWhere, assertValidFieldMaps, assertValidNarrowing, assertValidRule, bindLens, bindRule, check, clampLens, coerceRule, composeLens, createLens, describeRule, describeRuleSources, engineGlobals, executePrismaPlan, getAggregateOperators, getArrayOperators, getConditionShapeKeys, getLensRoot, getOperatorsForKind, getValueShape, indexBridges, lensVisit, listBindings, listLensBindings, matchAll, matchNothing, materializeSourceQuery, materializeSources, narrowRule, orWhere, orderRecords, parseScopeRef, prefixConditionFields, projectLens, projectRows, readLensValue, readScopeRef, stitchFieldMaps, storeLens, toLensSelect, toLensWhereSql, toPrisma, toSourceQueries, toSql, toWhereSql, validateFieldMaps, validateNarrowing, validateRule, validateRuleInLens, walkLensPath };
|