@prisma/orm-target-mongo 8.0.0-rc.24-dev.15 → 8.0.0-rc.24-dev.16
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/{control-BlMckWwK.mjs → control-ADZk3Q1S.mjs} +3059 -307
- package/dist/control-ADZk3Q1S.mjs.map +1 -0
- package/dist/{control-BG4g6muN.mjs → control-C9gGCopP.mjs} +2 -2
- package/dist/{control-BG4g6muN.mjs.map → control-C9gGCopP.mjs.map} +1 -1
- package/dist/{control-OiC131Dv.d.mts → control-Dc2P_CN-.d.mts} +15 -6
- package/dist/control-Dc2P_CN-.d.mts.map +1 -0
- package/dist/driver.mjs +1 -1
- package/dist/driver__control.mjs +1 -1
- package/dist/driver__runtime.mjs +1 -1
- package/dist/driver__runtime.mjs.map +1 -1
- package/dist/{migration-DASk9QNA.d.mts → migration-D78n7EUy.d.mts} +1 -1
- package/dist/{migration-factories-C5ktmt8c-BP8k9SnZ.mjs → migration-factories-RJZq8NhE-CigCh286.mjs} +621 -13
- package/dist/migration-factories-RJZq8NhE-CigCh286.mjs.map +1 -0
- package/dist/{mongo-driver-CfJ69N8C-B5aKUbjW.mjs → mongo-driver-BV3a7kcA-BJrV90Qw.mjs} +3 -3
- package/dist/{mongo-driver-CfJ69N8C-B5aKUbjW.mjs.map → mongo-driver-BV3a7kcA-BJrV90Qw.mjs.map} +1 -1
- package/dist/{op-factory-call-BCgwbVJe-DhcJRxAb.d.mts → op-factory-call-vacb7XmE-sHhC1Hit.d.mts} +151 -5
- package/dist/op-factory-call-vacb7XmE-sHhC1Hit.d.mts.map +1 -0
- package/dist/target.d.mts +4 -4
- package/dist/target.mjs +3 -3
- package/dist/target__control.d.mts +2 -2
- package/dist/target__control.mjs +1 -1
- package/dist/target__migration.d.mts +3 -3
- package/dist/target__migration.mjs +2 -2
- package/package.json +10 -10
- package/dist/control-BlMckWwK.mjs.map +0 -1
- package/dist/control-OiC131Dv.d.mts.map +0 -1
- package/dist/migration-factories-C5ktmt8c-BP8k9SnZ.mjs.map +0 -1
- package/dist/op-factory-call-BCgwbVJe-DhcJRxAb.d.mts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"control-OiC131Dv.d.mts","names":[],"sources":["../../../../3-targets/mongo/1-target/dist/control.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA6BK,sBAAsB,KAAK;WACrB,SAAS;;;;;;;;;;;;;;cAcN,uBAAuB,6BAA6B;;;cAGpD,2BAA2B;UAC/B;EACR,SAAS,QAAQ,iBAAiB,KAAK;EACvC,MAAM,MAAM;EACZ,IAAI,MAAM;EACV,GAAG,MAAM;EACT,IAAI,MAAM;EACV,OAAO,MAAM;EACb,KAAK,OAAO;;;;iBAIG,mBAAmB,gBAAgB;iBACnC,oBAAoB,2BAA2B;iBAC/C,kBAAkB,cAAc;;;;;;;;UAQvC;WACC,QAAQ;;WAER,4BAA4B;;WAE5B,oBAAoB,kBAAkB,gBAAgB,oBAAoB,gBAAgB;;;;KAIhG;WACM;WACA,OAAO;;WAEP,mBAAmB;;WAEnB;WACA,WAAW;;cAER,iCAAiC;EAC7C,UAAU;aACC;aACA;aACA,QAAQ;aACR,qBAAqB,cAAc;;aAEnC,cAAc;;aAEd,iBAAiB;MACxB;EACJ,KAAK;aACM;aACA;aACA,QAAQ;;aAER,cAAc;;aAEd,QAAQ;;aAER,qBAAqB;aACrB,qBAAqB,cAAc;;;;;;aAMnC;MACP;;;;;;;;;;EAUJ,eAAe,SAAS,2BAA2B;;;;;KAKhD;;;UAGK;WACC,MAAM;WACN,qBAAqB;WACrB,QAAQ;WACR;IACP,kBAAkB,IAAI;IACtB,qBAAqB,IAAI;;WAElB,kBAAkB;WAClB,qBAAqB,cAAc;WACnC;WACA,UAAU;;;;;;;;;;;WAWV,qBAAqB,QAAQ,+BAA+B;;WAE5D,yBAAyB;;WAEzB;;;UAGD,oCAAoC;WACnC,MAAM;;;UAGP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ets/mongo/1-target/dist/migration-factories-C5ktmt8c.mjs"],"sourcesContent":["import { t as mongoTargetError } from \"./mongo-target-errors-Btf3ML1w.mjs\";\nimport { ifDefined } from \"@internal/utils/defined\";\nimport { blindCast } from \"@internal/utils/casts\";\nimport { MONGO_INDEX_OPTION_KEYS, defaultMongoIndexName } from \"@internal/mongo-contract\";\nimport { CollModCommand, DropCollectionCommand, DropIndexCommand, ListCollectionsCommand, ListIndexesCommand, MongoAndExpr, MongoExistsExpr, MongoFieldFilter, MongoNotExpr, RenameCollectionCommand, buildIndexOpId, keysToKeySpec } from \"@internal/mongo-query-ast/control\";\nimport { RawAggregateCommand, RawUpdateManyCommand } from \"@internal/mongo-query-ast/execution\";\nimport { createFieldAccessor } from \"@internal/mongo-query-builder\";\nimport { collection } from \"@internal/mongo-query-builder/contract-free\";\n//#region src/core/migrations/bson-convert.ts\nconst NUMBERS = [\n\t\"double\",\n\t\"int\",\n\t\"long\",\n\t\"decimal\"\n];\n/**\n* For each BSON type a field can be cast to, the BSON types whose `$convert` result is what casting\n* the value means. `$convert` accepts more pairs than these; each one left off gives a result the\n* value did not mean:\n*\n* - `string` to `bool` is `true` for every non-empty string, `\"false\"` and `\"no\"` included.\n* - `objectId` or `date` to `bool` is always `true`.\n* - `bool` to a number is `1` or `0`, which a number field does not mean.\n* - `date` to `double`, `long` or `decimal` is milliseconds since the epoch, and a number to `date`\n* reads the number that way, a unit the value does not name.\n* - `objectId` to `date` is the time the id was made, not a date the document holds.\n*\n* See the MongoDB `$convert` reference.\n*/\nconst CASTS_FROM = {\n\tdouble: /* @__PURE__ */ new Set([...NUMBERS, \"string\"]),\n\tstring: /* @__PURE__ */ new Set([\n\t\t...NUMBERS,\n\t\t\"string\",\n\t\t\"bool\",\n\t\t\"date\",\n\t\t\"objectId\"\n\t]),\n\tobjectId: /* @__PURE__ */ new Set([\"string\", \"objectId\"]),\n\tbool: /* @__PURE__ */ new Set([...NUMBERS, \"bool\"]),\n\tdate: /* @__PURE__ */ new Set([\"string\", \"date\"]),\n\tint: /* @__PURE__ */ new Set([...NUMBERS, \"string\"]),\n\tlong: /* @__PURE__ */ new Set([...NUMBERS, \"string\"]),\n\tdecimal: /* @__PURE__ */ new Set([...NUMBERS, \"string\"])\n};\n/** The casts that keep every value: each source type with the types it widens to. */\nconst KEEPS_EVERY_VALUE = {\n\tint: /* @__PURE__ */ new Set([\n\t\t\"long\",\n\t\t\"double\",\n\t\t\"decimal\"\n\t]),\n\tlong: /* @__PURE__ */ new Set([\"decimal\"])\n};\nfunction isConvertTarget(to) {\n\treturn Object.hasOwn(CASTS_FROM, to);\n}\n/** Whether a cast with `$convert` from BSON type `from` to `to` keeps what the values mean, for the values it casts. */\nfunction castsFrom(from, to) {\n\treturn from === to || (CASTS_FROM[to]?.has(from) ?? false);\n}\n/** Whether casting a value of BSON type `from` to `to` keeps every value as it was. */\nfunction convertKeepsEveryValue(from, to) {\n\treturn from === to || (KEEPS_EVERY_VALUE[from]?.has(to) ?? false);\n}\n//#endregion\n//#region src/core/migrations/migration-factories.ts\nfunction isBuildable(value) {\n\tif (typeof value !== \"object\" || value === null || !(\"build\" in value)) return false;\n\treturn typeof Reflect.get(value, \"build\") === \"function\";\n}\nfunction resolveQuery(value) {\n\treturn isBuildable(value) ? value.build() : value;\n}\nconst MATCH_ALL_FILTER = MongoExistsExpr.exists(\"_id\");\nfunction dataTransform(name, options) {\n\tlet precheck = [];\n\tlet postcheck = [];\n\tif (options.check) {\n\t\tconst source = resolveQuery(options.check.source());\n\t\tconst filter = options.check.filter ?? MATCH_ALL_FILTER;\n\t\tconst description = options.check.description ?? `Check for data transform: ${name}`;\n\t\tconst precheckExpect = options.check.expect ?? \"exists\";\n\t\tconst postcheckExpect = precheckExpect === \"exists\" ? \"notExists\" : \"exists\";\n\t\tprecheck = [{\n\t\t\tdescription,\n\t\t\tsource,\n\t\t\tfilter,\n\t\t\texpect: precheckExpect\n\t\t}];\n\t\tpostcheck = [{\n\t\t\tdescription,\n\t\t\tsource,\n\t\t\tfilter,\n\t\t\texpect: postcheckExpect\n\t\t}];\n\t}\n\tconst run = [resolveQuery(options.run())];\n\treturn {\n\t\tid: `data_transform.${name}`,\n\t\tlabel: `Data transform: ${name}`,\n\t\toperationClass: \"data\",\n\t\tname,\n\t\t...ifDefined(\"invariantId\", options.invariantId),\n\t\tprecheck,\n\t\trun,\n\t\tpostcheck\n\t};\n}\n/** A raw `aggregate` on a collection, as a data transform's check reads documents. */\nfunction rawAggregate(collectionName, pipeline) {\n\treturn rewritePlan(collectionName, new RawAggregateCommand(collectionName, pipeline));\n}\n/**\n* A raw `updateMany` on a collection, which a data transform's run can make skip document\n* validation. `update` is an update document, such as `{ $set: { age: 0 } }`, or an aggregation\n* pipeline, such as `[{ $set: { age: { $toInt: '$age' } } }]`, which can read the document's own\n* values.\n*/\nfunction rawUpdateMany(collectionName, filter, update, options) {\n\treturn rewritePlan(collectionName, new RawUpdateManyCommand(collectionName, filter, update, ifDefined(\"bypassDocumentValidation\", options?.bypassDocumentValidation)));\n}\nfunction documentsHolding(fields, filter) {\n\tconst conditions = [...filter === void 0 ? [] : [filter], ...fields.map((field) => ({ [field]: { $exists: true } }))];\n\tconst [only] = conditions;\n\treturn conditions.length === 1 && only !== void 0 ? only : { $and: conditions };\n}\nconst UNREWRITABLE_FIELD_NAMES = [\n\t{\n\t\tmatches: (field) => field === \"\",\n\t\treason: \"it is empty\"\n\t},\n\t{\n\t\tmatches: (field) => field === \"_id\",\n\t\treason: \"MongoDB does not let a document change its _id\"\n\t},\n\t{\n\t\tmatches: (field) => field.includes(\".\"),\n\t\treason: \"MongoDB reads a name containing \\\".\\\" as a path into embedded documents\"\n\t},\n\t{\n\t\tmatches: (field) => field.startsWith(\"$\"),\n\t\treason: \"MongoDB reads a name starting with \\\"$\\\" as an operator\"\n\t}\n];\n/** Why `renameField` and `unsetField` cannot rewrite a field of this name, if they cannot. */\nfunction unrewritableFieldNameReason(field) {\n\treturn UNREWRITABLE_FIELD_NAMES.find((rule) => rule.matches(field))?.reason;\n}\n/** The plan meta of the raw queries a migration's operations run and check with. */\nconst RAW_PLAN_META = {\n\ttarget: \"mongo\",\n\tstorageHash: \"\",\n\tlane: \"mongo-raw\"\n};\nfunction assertRewritableField(collectionName, field) {\n\tconst reason = unrewritableFieldNameReason(field);\n\tif (reason === void 0) return;\n\tthrow mongoTargetError(\"MIGRATION.FIELD_NAME_UNSUPPORTED\", `Field \"${field}\" in collection ${collectionName} cannot be rewritten: ${reason}.`, { meta: {\n\t\tcollection: collectionName,\n\t\tfield,\n\t\treason\n\t} });\n}\nfunction rewritePlan(collectionName, command) {\n\treturn {\n\t\tcollection: collectionName,\n\t\tcommand,\n\t\tmeta: { ...RAW_PLAN_META }\n\t};\n}\nfunction noDocumentHolds(collectionName, fields, filter) {\n\treturn {\n\t\tdescription: `no document in ${collectionName} holds ${fields.length === 1 ? fields[0] : `both ${fields.join(\" and \")}`}`,\n\t\tsource: rewritePlan(collectionName, new RawAggregateCommand(collectionName, [{ $match: documentsHolding(fields, filter) }, { $limit: 1 }])),\n\t\tfilter: MATCH_ALL_FILTER,\n\t\texpect: \"notExists\"\n\t};\n}\nfunction rewriteUpdate(collectionName, field, filter, update) {\n\treturn rewritePlan(collectionName, new RawUpdateManyCommand(collectionName, documentsHolding([field], filter), update, { bypassDocumentValidation: true }));\n}\nfunction idSuffix(filter) {\n\treturn filter === void 0 ? \"\" : `.where(${JSON.stringify(filter)})`;\n}\nfunction valueList(values) {\n\treturn values.map((value) => JSON.stringify(value)).join(\", \");\n}\n/** A field condition in words: `type is \"bug\"`, `type is not \"bug\"`, `type is none of \"bug\", \"task\"`. */\nfunction conditionInWords(field, condition) {\n\tconst excluded = typeof condition === \"object\" && condition !== null && !Array.isArray(condition) ? Reflect.get(condition, \"$nin\") : void 0;\n\tif (Array.isArray(excluded)) return excluded.length === 1 ? `${field} is not ${valueList(excluded)}` : `${field} is none of ${valueList(excluded)}`;\n\treturn typeof condition === \"object\" && condition !== null ? void 0 : `${field} is ${JSON.stringify(condition)}`;\n}\n/** The documents a filter selects, in words where the planner wrote it, for an operation's label. */\nfunction labelSuffix(filter) {\n\tif (filter === void 0) return \"\";\n\tconst words = Object.entries(filter).map(([field, condition]) => conditionInWords(field, condition));\n\treturn words.every((word) => word !== void 0) && words.length > 0 ? ` in documents whose ${words.join(\" and \")}` : ` in documents matching ${JSON.stringify(filter)}`;\n}\nfunction renameField(collectionName, from, to, options) {\n\tassertRewritableField(collectionName, from);\n\tassertRewritableField(collectionName, to);\n\tif (from === to) throw mongoTargetError(\"MIGRATION.INVALID_OPERATION_ENTRY\", `renameField renames field \"${from}\" in collection ${collectionName} to its own name.`, { meta: {\n\t\tcontext: \"renameField\",\n\t\tcollection: collectionName,\n\t\tfield: from,\n\t\treason: \"the new name is the old name\"\n\t} });\n\tconst filter = options?.filter;\n\tconst id = `field.${collectionName}.${from}.rename(${to})${idSuffix(filter)}`;\n\treturn {\n\t\tid,\n\t\tlabel: `Rename field ${from} to ${to} in collection ${collectionName}${labelSuffix(filter)}`,\n\t\toperationClass: \"widening\",\n\t\tname: id,\n\t\tprecheck: [noDocumentHolds(collectionName, [from, to], filter)],\n\t\trun: [rewriteUpdate(collectionName, from, filter, { $rename: { [from]: to } })],\n\t\tpostcheck: [noDocumentHolds(collectionName, [from], filter)]\n\t};\n}\nfunction unsetField(collectionName, field, options) {\n\tassertRewritableField(collectionName, field);\n\tconst filter = options?.filter;\n\tconst id = `field.${collectionName}.${field}.unset${idSuffix(filter)}`;\n\treturn {\n\t\tid,\n\t\tlabel: `Remove field ${field} from collection ${collectionName}${labelSuffix(filter)}`,\n\t\toperationClass: \"destructive\",\n\t\tname: id,\n\t\tprecheck: [],\n\t\trun: [rewriteUpdate(collectionName, field, filter, { $unset: { [field]: \"\" } })],\n\t\tpostcheck: [noDocumentHolds(collectionName, [field], filter)]\n\t};\n}\n/**\n* The documents whose field holds a value of none of the BSON types `types`, or, for a list, an\n* element of none of them. A single value is read with `$expr`, since a query's `$type` and `$ne`\n* look at the elements of a list.\n*/\nfunction documentsNotOfType(field, shape) {\n\tif (shape.list) return { [field]: { $elemMatch: {\n\t\t$ne: null,\n\t\t$not: { $type: [...shape.types] }\n\t} } };\n\treturn { $expr: { $not: { $in: [{ $type: `$${field}` }, [\n\t\t\"missing\",\n\t\t\"null\",\n\t\t...shape.types\n\t]] } } };\n}\n/** The documents where the field is missing or holds `null`, read with `$expr` so a list holding `null` is not one. */\nfunction documentsMissingOrNull(field) {\n\treturn { $expr: { $in: [{ $type: `$${field}` }, [\"missing\", \"null\"]] } };\n}\nconst NUMBER_TYPES = [\n\t\"int\",\n\t\"long\",\n\t\"double\",\n\t\"decimal\"\n];\n/**\n* The documents whose field holds a value of one of the BSON types `types`, or, for a list, an\n* element of one of them. A single value is read with `$expr`, since a query's `$type` looks at the\n* elements of a list.\n*/\nfunction documentsOfType(field, shape) {\n\tif (shape.list) return { [field]: { $elemMatch: { $type: [...shape.types] } } };\n\treturn { $expr: { $in: [{ $type: `$${field}` }, [...shape.types]] } };\n}\n/**\n* The documents the cast changes: those holding a value of a type it is planned from, other than\n* `to`. A value of any other type is left as it is, for the validator change's document check to\n* name. A cast planned from no type casts every value that is not of type `to`.\n*/\nfunction documentsToCast(field, to, options) {\n\tconst list = options.list === true;\n\tconst from = [...new Set(options.from.flatMap((type) => type === \"number\" ? NUMBER_TYPES : [type]))].filter((type) => type !== to);\n\tconst condition = options.from.length === 0 ? documentsNotOfType(field, {\n\t\ttypes: [to],\n\t\tlist\n\t}) : documentsOfType(field, {\n\t\ttypes: from,\n\t\tlist\n\t});\n\treturn options.filter === void 0 ? condition : { $and: [options.filter, condition] };\n}\nfunction castExpression(field, to, list) {\n\treturn list ? { $map: {\n\t\tinput: `$${field}`,\n\t\tas: \"value\",\n\t\tin: { $convert: {\n\t\t\tinput: \"$$value\",\n\t\t\tto\n\t\t} }\n\t} } : { $convert: {\n\t\tinput: `$${field}`,\n\t\tto\n\t} };\n}\n/**\n* Casts a field to the BSON type `to` with `$convert`, in the documents where it holds another\n* type. A value `$convert` cannot cast fails the update. Widening when every type in `from` casts\n* to `to` keeping its value, destructive otherwise.\n*/\nfunction castField(options) {\n\tconst { collection: collectionName, field, to, filter } = options;\n\tassertRewritableField(collectionName, field);\n\tif (!isConvertTarget(to)) throw mongoTargetError(\"MIGRATION.INVALID_OPERATION_ENTRY\", `castField casts field \"${field}\" in collection ${collectionName} to \"${to}\", which $convert cannot cast to.`, { meta: {\n\t\tcontext: \"castField\",\n\t\tcollection: collectionName,\n\t\tfield,\n\t\tto\n\t} });\n\tconst listOf = (types) => options.list === true ? `list of ${types}` : types;\n\tconst id = `field.${collectionName}.${field}.cast(${to})${idSuffix(filter)}`;\n\tconst toCast = documentsToCast(field, to, options);\n\treturn {\n\t\tid,\n\t\tmeta: { rewrite: {\n\t\t\tkind: \"cast\",\n\t\t\tcollection: collectionName,\n\t\t\tfield,\n\t\t\tto\n\t\t} },\n\t\tlabel: `Cast field ${field} in collection ${collectionName}${options.from.length === 0 ? \"\" : ` from ${listOf(options.from.join(\", \"))}`} to ${listOf(to)}${labelSuffix(filter)}`,\n\t\toperationClass: options.from.length > 0 && options.from.every((from) => convertKeepsEveryValue(from, to)) ? \"widening\" : \"destructive\",\n\t\tname: id,\n\t\tprecheck: [],\n\t\trun: [rewritePlan(collectionName, new RawUpdateManyCommand(collectionName, toCast, [{ $set: { [field]: castExpression(field, to, options.list === true) } }], { bypassDocumentValidation: true }))],\n\t\tpostcheck: [{\n\t\t\tdescription: `no document in ${collectionName} holds ${field} as ${options.from.length === 0 ? `another type than ${to}` : `a type it is cast from, ${options.from.join(\", \")}`}`,\n\t\t\tsource: rewritePlan(collectionName, new RawAggregateCommand(collectionName, [{ $match: toCast }, { $limit: 1 }])),\n\t\t\tfilter: MATCH_ALL_FILTER,\n\t\t\texpect: \"notExists\"\n\t\t}]\n\t};\n}\n/**\n* Sets a field to `value` in the documents where it is missing or `null`, skipping document\n* validation, as a migration fills a new required field with a temporary value.\n*/\nfunction fillField(options) {\n\tconst { collection: collectionName, field, value, filter } = options;\n\tassertRewritableField(collectionName, field);\n\tconst id = `field.${collectionName}.${field}.fill${idSuffix(filter)}`;\n\tconst unfilled = documentsMissingOrNull(field);\n\tconst toFill = filter === void 0 ? unfilled : { $and: [filter, unfilled] };\n\treturn {\n\t\tid,\n\t\tmeta: { rewrite: {\n\t\t\tkind: \"fill\",\n\t\t\tcollection: collectionName,\n\t\t\tfield\n\t\t} },\n\t\tlabel: `Fill field ${field} in collection ${collectionName} where it is missing or null${labelSuffix(filter)}`,\n\t\toperationClass: \"widening\",\n\t\tname: id,\n\t\tprecheck: [],\n\t\trun: [rawUpdateMany(collectionName, toFill, [{ $set: { [field]: value } }], { bypassDocumentValidation: true })],\n\t\tpostcheck: [{\n\t\t\tdescription: `no document in ${collectionName} has ${field} missing or null`,\n\t\t\tsource: rawAggregate(collectionName, [{ $match: toFill }, { $limit: 1 }]),\n\t\t\tfilter: MATCH_ALL_FILTER,\n\t\t\texpect: \"notExists\"\n\t\t}]\n\t};\n}\nfunction formatKeys(keys) {\n\treturn keys.map((k) => `${k.field}:${k.direction}`).join(\", \");\n}\n/** What an index content check matches: the index's keys and options in its collection, whatever its name. */\nfunction indexObject(collectionName, keys) {\n\tif (isTextIndex(keys)) return `a text index in \"${collectionName}\"`;\n\treturn `an index on { ${keys.map((key) => `${key.field}: ${JSON.stringify(key.direction)}`).join(\", \")} } in \"${collectionName}\"`;\n}\nfunction namedIndexObject(collectionName, name) {\n\treturn `an index named \"${name}\" in \"${collectionName}\"`;\n}\nfunction nameFilter(name) {\n\treturn MongoFieldFilter.eq(\"name\", name);\n}\nfunction isTextIndex(keys) {\n\treturn keys.some((k) => k.direction === \"text\");\n}\nfunction keyFilter(keys) {\n\tconst f = createFieldAccessor();\n\treturn isTextIndex(keys) ? f.rawPath(\"key._fts\").eq(\"text\") : f.key.eq(blindCast(keysToKeySpec(keys)));\n}\nfunction documentValue(document) {\n\treturn blindCast(document);\n}\n/** MongoDB stores a text index's text fields as `_fts` and `_ftsx` in the place of the first one. */\nfunction textIndexKeySpec(keys) {\n\tconst spec = {};\n\tfor (const key of keys) if (key.direction !== \"text\") spec[key.field] = key.direction;\n\telse if (!Object.hasOwn(spec, \"_fts\")) Object.assign(spec, {\n\t\t_fts: \"text\",\n\t\t_ftsx: 1\n\t});\n\treturn spec;\n}\n/** MongoDB lists every text field's weight, 1 when none is given, ordered by field name. */\nfunction textIndexWeights(keys, weights) {\n\tconst fields = keys.filter((key) => key.direction === \"text\").map((key) => key.field);\n\treturn Object.fromEntries(fields.sort().map((field) => [field, weights?.[field] ?? 1]));\n}\nfunction flagFilter(field, on) {\n\tconst set = MongoFieldFilter.eq(field, true);\n\treturn on ? set : new MongoNotExpr(set);\n}\nfunction optionFilter(field, value) {\n\treturn value === void 0 ? MongoExistsExpr.notExists(field) : MongoFieldFilter.eq(field, value);\n}\n/**\n* MongoDB completes a collation with its defaults, so only the fields the call gives are compared, as\n* the verifier does. An index with no collation must have none.\n*/\nfunction collationFilters(collation) {\n\tif (collation === void 0) return [MongoExistsExpr.notExists(\"collation\")];\n\treturn Object.entries(collation).map(([option, value]) => MongoFieldFilter.eq(`collation.${option}`, blindCast(value)));\n}\nconst textIndexOnly = (filter) => (options, keys) => isTextIndex(keys) ? filter(options, keys) : [];\nconst INDEX_OPTION_FILTERS = {\n\tunique: (options) => [flagFilter(\"unique\", options?.unique)],\n\tsparse: (options) => [flagFilter(\"sparse\", options?.sparse)],\n\texpireAfterSeconds: (options) => [optionFilter(\"expireAfterSeconds\", options?.expireAfterSeconds)],\n\tpartialFilterExpression: (options) => [optionFilter(\"partialFilterExpression\", options?.partialFilterExpression && documentValue(options.partialFilterExpression))],\n\twildcardProjection: (options) => [optionFilter(\"wildcardProjection\", options?.wildcardProjection && documentValue(options.wildcardProjection))],\n\tcollation: (options) => collationFilters(options?.collation),\n\tweights: textIndexOnly((options, keys) => [MongoFieldFilter.eq(\"weights\", documentValue(textIndexWeights(keys, options?.weights)))]),\n\tdefault_language: textIndexOnly((options) => [MongoFieldFilter.eq(\"default_language\", options?.default_language ?? TEXT_INDEX_DEFAULT_LANGUAGE)]),\n\tlanguage_override: textIndexOnly((options) => [MongoFieldFilter.eq(\"language_override\", options?.language_override ?? TEXT_INDEX_DEFAULT_LANGUAGE_OVERRIDE)])\n};\nfunction indexDefinitionFilter(keys, options) {\n\treturn MongoAndExpr.of([isTextIndex(keys) ? MongoFieldFilter.eq(\"key\", documentValue(textIndexKeySpec(keys))) : keyFilter(keys), ...MONGO_INDEX_OPTION_KEYS.flatMap((option) => INDEX_OPTION_FILTERS[option](options, keys))]);\n}\nconst TEXT_INDEX_DEFAULT_LANGUAGE = \"english\";\nconst TEXT_INDEX_DEFAULT_LANGUAGE_OVERRIDE = \"language\";\n/**\n* Creates an index under `options.name`, or under the name MongoDB would give it when the call gives none. The precheck requires that the collection holds no index with that name and none with the same keys and options; the postcheck requires an index with that name, keys and options.\n*/\nfunction createIndex(collectionName, keys, options) {\n\tconst name = options?.name ?? defaultMongoIndexName(keys);\n\tconst definition = indexDefinitionFilter(keys, options);\n\treturn {\n\t\tid: buildIndexOpId(\"create\", collectionName, name),\n\t\tlabel: `Create index ${name} on ${collectionName} (${formatKeys(keys)})`,\n\t\toperationClass: \"additive\",\n\t\tprecheck: [{\n\t\t\tdescription: `no index named ${name} exists on ${collectionName}`,\n\t\t\tsource: new ListIndexesCommand(collectionName),\n\t\t\tfilter: nameFilter(name),\n\t\t\texpect: \"notExists\",\n\t\t\tobject: namedIndexObject(collectionName, name)\n\t\t}, {\n\t\t\tdescription: `no index with the same keys and options exists on ${collectionName}`,\n\t\t\tsource: new ListIndexesCommand(collectionName),\n\t\t\tfilter: definition,\n\t\t\texpect: \"notExists\",\n\t\t\tobject: indexObject(collectionName, keys)\n\t\t}],\n\t\texecute: [{\n\t\t\tdescription: `create index ${name} on ${collectionName}`,\n\t\t\tcommand: collection(collectionName).createIndex(keys, {\n\t\t\t\t...options,\n\t\t\t\tname\n\t\t\t})\n\t\t}],\n\t\tpostcheck: [{\n\t\t\tdescription: `index ${name} exists on ${collectionName}`,\n\t\t\tsource: new ListIndexesCommand(collectionName),\n\t\t\tfilter: MongoAndExpr.of([nameFilter(name), definition]),\n\t\t\texpect: \"exists\"\n\t\t}]\n\t};\n}\n/**\n* Drops the index named `options.name`, or the name MongoDB would give the keys when the call gives none. `options` lists every option the index has, as `migration plan` writes them: the precheck requires an index with that name, those keys and exactly those options, so an option left out must be absent from the index. A call without options checks the keys only. The postcheck requires that no index with that name is left.\n*/\nfunction dropIndex(collectionName, keys, options) {\n\tconst name = options?.name ?? defaultMongoIndexName(keys);\n\tconst content = options === void 0 ? keyFilter(keys) : indexDefinitionFilter(keys, options);\n\treturn {\n\t\tid: buildIndexOpId(\"drop\", collectionName, name),\n\t\tlabel: `Drop index ${name} on ${collectionName} (${formatKeys(keys)})`,\n\t\toperationClass: \"widening\",\n\t\tprecheck: [{\n\t\t\tdescription: `index ${name} exists on ${collectionName} with the expected keys and options`,\n\t\t\tsource: new ListIndexesCommand(collectionName),\n\t\t\tfilter: MongoAndExpr.of([nameFilter(name), content]),\n\t\t\texpect: \"exists\",\n\t\t\tobject: namedIndexObject(collectionName, name)\n\t\t}],\n\t\texecute: [{\n\t\t\tdescription: `drop index ${name} on ${collectionName}`,\n\t\t\tcommand: new DropIndexCommand(collectionName, name)\n\t\t}],\n\t\tpostcheck: [{\n\t\t\tdescription: `index ${name} no longer exists on ${collectionName}`,\n\t\t\tsource: new ListIndexesCommand(collectionName),\n\t\t\tfilter: nameFilter(name),\n\t\t\texpect: \"notExists\",\n\t\t\tobject: namedIndexObject(collectionName, name)\n\t\t}]\n\t};\n}\nfunction createCollection(collectionName, options) {\n\tconst f = createFieldAccessor();\n\treturn {\n\t\tid: `collection.${collectionName}.create`,\n\t\tlabel: `Create collection ${collectionName}`,\n\t\toperationClass: \"additive\",\n\t\tprecheck: [{\n\t\t\tdescription: `collection ${collectionName} does not exist`,\n\t\t\tsource: new ListCollectionsCommand(),\n\t\t\tfilter: f.name.eq(collectionName),\n\t\t\texpect: \"notExists\",\n\t\t\tobject: `collection \"${collectionName}\"`\n\t\t}],\n\t\texecute: [{\n\t\t\tdescription: `create collection ${collectionName}`,\n\t\t\tcommand: collection(collectionName).createCollection(options)\n\t\t}],\n\t\tpostcheck: []\n\t};\n}\nfunction dropCollection(collectionName) {\n\treturn {\n\t\tid: `collection.${collectionName}.drop`,\n\t\tlabel: `Drop collection ${collectionName}`,\n\t\toperationClass: \"destructive\",\n\t\tprecheck: [],\n\t\texecute: [{\n\t\t\tdescription: `drop collection ${collectionName}`,\n\t\t\tcommand: new DropCollectionCommand(collectionName)\n\t\t}],\n\t\tpostcheck: []\n\t};\n}\nfunction collectionCheck(name, expect) {\n\treturn {\n\t\tdescription: expect === \"exists\" ? `collection ${name} exists` : `collection ${name} does not exist`,\n\t\tsource: new ListCollectionsCommand(),\n\t\tfilter: MongoFieldFilter.eq(\"name\", name),\n\t\texpect,\n\t\tobject: `collection \"${name}\"`\n\t};\n}\nfunction renameCollection(from, to) {\n\treturn {\n\t\tid: `collection.${from}.rename(${to})`,\n\t\tlabel: `Rename collection ${from} to ${to}`,\n\t\toperationClass: \"widening\",\n\t\tprecheck: [collectionCheck(from, \"exists\"), collectionCheck(to, \"notExists\")],\n\t\texecute: [{\n\t\t\tdescription: `rename collection ${from} to ${to}`,\n\t\t\tcommand: new RenameCollectionCommand(from, to)\n\t\t}],\n\t\tpostcheck: [collectionCheck(to, \"exists\"), collectionCheck(from, \"notExists\")]\n\t};\n}\nfunction setValidation(collectionName, schema, options) {\n\tconst validator = {\n\t\tvalidator: { $jsonSchema: schema },\n\t\t...ifDefined(\"validationLevel\", options?.validationLevel),\n\t\t...ifDefined(\"validationAction\", options?.validationAction)\n\t};\n\tconst checks = options?.checkDocuments === true ? collMod(collectionName, validator, { checkDocuments: true }) : {\n\t\tprecheck: [],\n\t\tpostcheck: []\n\t};\n\treturn {\n\t\tid: `collection.${collectionName}.setValidation`,\n\t\tlabel: `Set validation on ${collectionName}`,\n\t\toperationClass: \"widening\",\n\t\tprecheck: checks.precheck,\n\t\texecute: [{\n\t\t\tdescription: `set validation on ${collectionName}`,\n\t\t\tcommand: new CollModCommand(collectionName, validator)\n\t\t}],\n\t\tpostcheck: checks.postcheck\n\t};\n}\n/**\n* Matches the collection's validator body. MongoDB returns the validator through `listCollections`\n* with its keys in the order given, so the order-sensitive comparison holds once the collMod ran; a\n* validator written by hand with another key order only makes the collMod run again.\n*/\nfunction validatorBodyFilter(validator) {\n\tconst { $jsonSchema, ...rest } = validator;\n\treturn $jsonSchema !== void 0 && Object.keys(rest).length === 0 ? MongoFieldFilter.eq(\"options.validator.$jsonSchema\", blindCast($jsonSchema)) : MongoFieldFilter.eq(\"options.validator\", documentValue(validator));\n}\n/**\n* A check that no document of `collection` fails `validator`: an aggregate that matches the\n* documents the validator rejects.\n*/\nfunction documentsFitValidator(collection, validator) {\n\treturn {\n\t\tdescription: `every document in ${collection} fits the new validator`,\n\t\tsource: {\n\t\t\tcollection,\n\t\t\tcommand: new RawAggregateCommand(collection, [{ $match: { $nor: [validator] } }, { $limit: 1 }]),\n\t\t\tmeta: { ...RAW_PLAN_META }\n\t\t},\n\t\tfilter: MongoExistsExpr.exists(\"_id\"),\n\t\texpect: \"notExists\"\n\t};\n}\nfunction collMod(collectionName, options, meta) {\n\tconst hasValidator = options.validator != null && Object.keys(options.validator).length > 0;\n\tif (meta?.checkDocuments === true && !hasValidator) throw mongoTargetError(\"MIGRATION.INVALID_OPERATION_ENTRY\", `collMod of collection ${collectionName} checks the documents, but sets no validator to check them against.`, { meta: {\n\t\tcontext: \"collMod\",\n\t\tcollection: collectionName\n\t} });\n\treturn {\n\t\tid: meta?.id ?? `collection.${collectionName}.collMod`,\n\t\tlabel: meta?.label ?? `Modify collection ${collectionName}`,\n\t\toperationClass: meta?.operationClass ?? \"widening\",\n\t\tprecheck: options.validator != null ? [{\n\t\t\tdescription: `collection ${collectionName} exists`,\n\t\t\tsource: new ListCollectionsCommand(),\n\t\t\tfilter: MongoFieldFilter.eq(\"name\", collectionName),\n\t\t\texpect: \"exists\",\n\t\t\tobject: `collection \"${collectionName}\"`\n\t\t}, ...meta?.checkDocuments === true ? [documentsFitValidator(collectionName, options.validator)] : []] : [],\n\t\texecute: [{\n\t\t\tdescription: `modify ${collectionName}`,\n\t\t\tcommand: new CollModCommand(collectionName, options)\n\t\t}],\n\t\tpostcheck: hasValidator ? [{\n\t\t\tdescription: `validator applied on ${collectionName}`,\n\t\t\tsource: new ListCollectionsCommand(),\n\t\t\tfilter: MongoAndExpr.of([\n\t\t\t\tMongoFieldFilter.eq(\"name\", collectionName),\n\t\t\t\t...options.validationLevel ? [MongoFieldFilter.eq(\"options.validationLevel\", options.validationLevel)] : [],\n\t\t\t\t...options.validationAction ? [MongoFieldFilter.eq(\"options.validationAction\", options.validationAction)] : [],\n\t\t\t\tvalidatorBodyFilter(options.validator ?? {})\n\t\t\t]),\n\t\t\texpect: \"exists\"\n\t\t}] : []\n\t};\n}\nfunction validatedCollection(name, schema, indexes) {\n\treturn [createCollection(name, {\n\t\tvalidator: { $jsonSchema: schema },\n\t\tvalidationLevel: \"strict\",\n\t\tvalidationAction: \"error\"\n\t}), ...indexes.map((idx) => createIndex(name, idx.keys, idx.unique !== void 0 ? { unique: idx.unique } : void 0))];\n}\n//#endregion\nexport { unsetField as _, dataTransform as a, isConvertTarget as b, dropCollection as c, rawAggregate as d, rawUpdateMany as f, unrewritableFieldNameReason as g, setValidation as h, createIndex as i, dropIndex as l, renameField as m, collMod as n, documentsMissingOrNull as o, renameCollection as p, createCollection as r, documentsNotOfType as s, castField as t, fillField as u, validatedCollection as v, castsFrom as y };\n\n//# sourceMappingURL=migration-factories-C5ktmt8c.mjs.map"],"mappings":";;;;;;;;;AASA,MAAM,UAAU;CACf;CACA;CACA;CACA;AACD;;;;;;;;;;;;;;;AAeA,MAAM,aAAa;CAClB,wBAAwB,IAAI,IAAI,CAAC,GAAG,SAAS,QAAQ,C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AAW,KAAK,IAAI,EAAE,QAAQ,IAAI,OAAO,IAAI,KAAK,CAAC,CAAC,CAAC;AAClH"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"op-factory-call-BCgwbVJe-DhcJRxAb.d.mts","names":[],"sources":["../../../../3-targets/mongo/1-target/dist/op-factory-call-BCgwbVJe.d.mts"],"mappings":";;;;;;;;;;UASU;EACR,SAAS;;iBAEM,cAAc,cAAc;;;;;;EAM3C;EACA;IACE,cAAc,iBAAiB;IAC/B,SAAS;IACT;IACA;;EAEF,WAAW,iBAAiB;IAC1B;;iBAEa,aAAa,wBAAwB,mBAAmB,aAAa;;;;;;;iBAOrE,cAAc,wBAAwB,QAAQ,UAAU,QAAQ,oBAAoB,YAAY;WACtG;IACP;UACM;WACC,SAAS;;iBAEH,YAAY,wBAAwB,cAAc,YAAY,UAAU,sBAAsB;iBAC9F,WAAW,wBAAwB,eAAe,UAAU,sBAAsB;UACzF;WACC;WACA;;WAEA;;WAEA;;WAEA;WACA,SAAS;;;;;;;iBAOH,UAAU,SAAS,mBAAmB;UAC7C;WACC;WACA;;WAEA,OAAO;WACP,SAAS;;;;;;iBAMH,UAAU,SAAS,mBAAmB;;;;iBAItC,YAAY,wBAAwB,MAAM,cAAc,gBAAgB,UAAU,qBAAqB;;;;iBAIvG,UAAU,wBAAwB,MAAM,cAAc,gBAAgB,UAAU,qBAAqB;iBACrG,iBAAiB,wBAAwB,UAAU,0BAA0B;iBAC7E,eAAe,yBAAyB;iBACxC,iBAAiB,cAAc,aAAa;iBAC5C,cAAc,wBAAwB,QAAQ,yBAAyB;EACtF;EACA;;EAEA;IACE;iBACa,QAAQ,wBAAwB,SAAS,gBAAgB,OAAO,cAAc;iBAC9E,oBAAoB,cAAc,QAAQ,yBAAyB,SAAS;EAC3F,MAAM;EACN;KACG;;;UAGK;WACC;WACA;WACA,iBAAiB;;WAEjB;;uBAEY,0BAA0B,wBAAwB;oBACrD;oBACA,gBAAgB;oBAChB;WAC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