@openfn/language-mysql 1.2.0 → 1.3.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 +35 -7
- package/configuration-schema.json +44 -0
- package/dist/index.cjs +270 -0
- package/dist/index.js +243 -0
- package/package.json +28 -32
- package/types/Adaptor.d.ts +174 -0
- package/types/index.d.ts +3 -0
- package/lib/Adaptor.js +0 -412
- package/lib/Client.js +0 -78
- package/lib/index.js +0 -19
- package/node_modules/@openfn/language-common/LICENSE +0 -674
- package/node_modules/@openfn/language-common/LICENSE.LESSER +0 -165
- package/node_modules/@openfn/language-common/README.md +0 -14
- package/node_modules/@openfn/language-common/ast.json +0 -1001
- package/node_modules/@openfn/language-common/lib/Adaptor.js +0 -569
- package/node_modules/@openfn/language-common/lib/beta.js +0 -64
- package/node_modules/@openfn/language-common/lib/http.js +0 -233
- package/node_modules/@openfn/language-common/lib/index.js +0 -17
- package/node_modules/@openfn/language-common/node_modules/axios/CHANGELOG.md +0 -685
- package/node_modules/@openfn/language-common/node_modules/axios/LICENSE +0 -19
- package/node_modules/@openfn/language-common/node_modules/axios/README.md +0 -800
- package/node_modules/@openfn/language-common/node_modules/axios/UPGRADE_GUIDE.md +0 -162
- package/node_modules/@openfn/language-common/node_modules/axios/dist/axios.js +0 -1756
- package/node_modules/@openfn/language-common/node_modules/axios/dist/axios.map +0 -1
- package/node_modules/@openfn/language-common/node_modules/axios/dist/axios.min.js +0 -3
- package/node_modules/@openfn/language-common/node_modules/axios/dist/axios.min.map +0 -1
- package/node_modules/@openfn/language-common/node_modules/axios/index.d.ts +0 -161
- package/node_modules/@openfn/language-common/node_modules/axios/index.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/axios/lib/adapters/README.md +0 -37
- package/node_modules/@openfn/language-common/node_modules/axios/lib/adapters/http.js +0 -303
- package/node_modules/@openfn/language-common/node_modules/axios/lib/adapters/xhr.js +0 -179
- package/node_modules/@openfn/language-common/node_modules/axios/lib/axios.js +0 -56
- package/node_modules/@openfn/language-common/node_modules/axios/lib/cancel/Cancel.js +0 -19
- package/node_modules/@openfn/language-common/node_modules/axios/lib/cancel/CancelToken.js +0 -57
- package/node_modules/@openfn/language-common/node_modules/axios/lib/cancel/isCancel.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/axios/lib/core/Axios.js +0 -95
- package/node_modules/@openfn/language-common/node_modules/axios/lib/core/InterceptorManager.js +0 -52
- package/node_modules/@openfn/language-common/node_modules/axios/lib/core/README.md +0 -7
- package/node_modules/@openfn/language-common/node_modules/axios/lib/core/buildFullPath.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/axios/lib/core/createError.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/axios/lib/core/dispatchRequest.js +0 -79
- package/node_modules/@openfn/language-common/node_modules/axios/lib/core/enhanceError.js +0 -42
- package/node_modules/@openfn/language-common/node_modules/axios/lib/core/mergeConfig.js +0 -87
- package/node_modules/@openfn/language-common/node_modules/axios/lib/core/settle.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/axios/lib/core/transformData.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/axios/lib/defaults.js +0 -98
- package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/README.md +0 -7
- package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/bind.js +0 -11
- package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/buildURL.js +0 -70
- package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/combineURLs.js +0 -14
- package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/cookies.js +0 -53
- package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/deprecatedMethod.js +0 -24
- package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -14
- package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/isAxiosError.js +0 -11
- package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -68
- package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/normalizeHeaderName.js +0 -12
- package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/parseHeaders.js +0 -53
- package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/spread.js +0 -27
- package/node_modules/@openfn/language-common/node_modules/axios/lib/utils.js +0 -351
- package/node_modules/@openfn/language-common/node_modules/axios/package.json +0 -116
- package/node_modules/@openfn/language-common/node_modules/follow-redirects/LICENSE +0 -18
- package/node_modules/@openfn/language-common/node_modules/follow-redirects/README.md +0 -148
- package/node_modules/@openfn/language-common/node_modules/follow-redirects/debug.js +0 -9
- package/node_modules/@openfn/language-common/node_modules/follow-redirects/http.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/follow-redirects/https.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/follow-redirects/index.js +0 -504
- package/node_modules/@openfn/language-common/node_modules/follow-redirects/package.json +0 -98
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/.babelrc.json +0 -5
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/.editorconfig +0 -16
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/.eslintignore +0 -5
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/.eslintrc.js +0 -93
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/CHANGES.md +0 -252
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/LICENSE-MIT.txt +0 -22
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/README.md +0 -376
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/demo/index.css +0 -19
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/demo/index.html +0 -32
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/demo/index.js +0 -48
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/dist/index-es.js +0 -1062
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/dist/index-es.min.js +0 -2
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/dist/index-es.min.js.map +0 -1
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/dist/index-umd.js +0 -1072
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/dist/index-umd.min.js +0 -2
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/dist/index-umd.min.js.map +0 -1
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/licenseInfo.json +0 -4
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/package.json +0 -170
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/src/jsonpath.d.ts +0 -196
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/src/jsonpath.js +0 -796
- package/node_modules/@openfn/language-common/node_modules/lodash/LICENSE +0 -47
- package/node_modules/@openfn/language-common/node_modules/lodash/README.md +0 -39
- package/node_modules/@openfn/language-common/node_modules/lodash/_DataView.js +0 -7
- package/node_modules/@openfn/language-common/node_modules/lodash/_Hash.js +0 -32
- package/node_modules/@openfn/language-common/node_modules/lodash/_LazyWrapper.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/_ListCache.js +0 -32
- package/node_modules/@openfn/language-common/node_modules/lodash/_LodashWrapper.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/_Map.js +0 -7
- package/node_modules/@openfn/language-common/node_modules/lodash/_MapCache.js +0 -32
- package/node_modules/@openfn/language-common/node_modules/lodash/_Promise.js +0 -7
- package/node_modules/@openfn/language-common/node_modules/lodash/_Set.js +0 -7
- package/node_modules/@openfn/language-common/node_modules/lodash/_SetCache.js +0 -27
- package/node_modules/@openfn/language-common/node_modules/lodash/_Stack.js +0 -27
- package/node_modules/@openfn/language-common/node_modules/lodash/_Symbol.js +0 -6
- package/node_modules/@openfn/language-common/node_modules/lodash/_Uint8Array.js +0 -6
- package/node_modules/@openfn/language-common/node_modules/lodash/_WeakMap.js +0 -7
- package/node_modules/@openfn/language-common/node_modules/lodash/_apply.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_arrayAggregator.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/_arrayEach.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/_arrayEachRight.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_arrayEvery.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/_arrayFilter.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/_arrayIncludes.js +0 -17
- package/node_modules/@openfn/language-common/node_modules/lodash/_arrayIncludesWith.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/_arrayLikeKeys.js +0 -49
- package/node_modules/@openfn/language-common/node_modules/lodash/_arrayMap.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_arrayPush.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/_arrayReduce.js +0 -26
- package/node_modules/@openfn/language-common/node_modules/lodash/_arrayReduceRight.js +0 -24
- package/node_modules/@openfn/language-common/node_modules/lodash/_arraySample.js +0 -15
- package/node_modules/@openfn/language-common/node_modules/lodash/_arraySampleSize.js +0 -17
- package/node_modules/@openfn/language-common/node_modules/lodash/_arrayShuffle.js +0 -15
- package/node_modules/@openfn/language-common/node_modules/lodash/_arraySome.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/_asciiSize.js +0 -12
- package/node_modules/@openfn/language-common/node_modules/lodash/_asciiToArray.js +0 -12
- package/node_modules/@openfn/language-common/node_modules/lodash/_asciiWords.js +0 -15
- package/node_modules/@openfn/language-common/node_modules/lodash/_assignMergeValue.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/_assignValue.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/_assocIndexOf.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseAggregator.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseAssign.js +0 -17
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseAssignIn.js +0 -17
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseAssignValue.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseAt.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseClamp.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseClone.js +0 -166
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseConforms.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseConformsTo.js +0 -27
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseCreate.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseDelay.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseDifference.js +0 -67
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseEach.js +0 -14
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseEachRight.js +0 -14
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseEvery.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseExtremum.js +0 -32
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseFill.js +0 -32
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseFilter.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseFindIndex.js +0 -24
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseFindKey.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseFlatten.js +0 -38
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseFor.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseForOwn.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseForOwnRight.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseForRight.js +0 -15
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseFunctions.js +0 -19
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseGet.js +0 -24
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseGetAllKeys.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseGetTag.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseGt.js +0 -14
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseHas.js +0 -19
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseHasIn.js +0 -13
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseInRange.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseIndexOf.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseIndexOfWith.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseIntersection.js +0 -74
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseInverter.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseInvoke.js +0 -24
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsArguments.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsArrayBuffer.js +0 -17
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsDate.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsEqual.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsEqualDeep.js +0 -83
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsMap.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsMatch.js +0 -62
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsNaN.js +0 -12
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsNative.js +0 -47
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsRegExp.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsSet.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsTypedArray.js +0 -60
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseIteratee.js +0 -31
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseKeys.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseKeysIn.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseLodash.js +0 -10
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseLt.js +0 -14
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseMap.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseMatches.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseMatchesProperty.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseMean.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseMerge.js +0 -42
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseMergeDeep.js +0 -94
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseNth.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseOrderBy.js +0 -49
- package/node_modules/@openfn/language-common/node_modules/lodash/_basePick.js +0 -19
- package/node_modules/@openfn/language-common/node_modules/lodash/_basePickBy.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseProperty.js +0 -14
- package/node_modules/@openfn/language-common/node_modules/lodash/_basePropertyDeep.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/_basePropertyOf.js +0 -14
- package/node_modules/@openfn/language-common/node_modules/lodash/_basePullAll.js +0 -51
- package/node_modules/@openfn/language-common/node_modules/lodash/_basePullAt.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseRandom.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseRange.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseReduce.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseRepeat.js +0 -35
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseRest.js +0 -17
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseSample.js +0 -15
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseSampleSize.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseSet.js +0 -51
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseSetData.js +0 -17
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseSetToString.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseShuffle.js +0 -15
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseSlice.js +0 -31
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseSome.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseSortBy.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseSortedIndex.js +0 -42
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseSortedIndexBy.js +0 -67
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseSortedUniq.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseSum.js +0 -24
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseTimes.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseToNumber.js +0 -24
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseToPairs.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseToString.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseTrim.js +0 -19
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseUnary.js +0 -14
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseUniq.js +0 -72
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseUnset.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseUpdate.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseValues.js +0 -19
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseWhile.js +0 -26
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseWrapperValue.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseXor.js +0 -36
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseZipObject.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/_cacheHas.js +0 -13
- package/node_modules/@openfn/language-common/node_modules/lodash/_castArrayLikeObject.js +0 -14
- package/node_modules/@openfn/language-common/node_modules/lodash/_castFunction.js +0 -14
- package/node_modules/@openfn/language-common/node_modules/lodash/_castPath.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_castRest.js +0 -14
- package/node_modules/@openfn/language-common/node_modules/lodash/_castSlice.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_charsEndIndex.js +0 -19
- package/node_modules/@openfn/language-common/node_modules/lodash/_charsStartIndex.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/_cloneArrayBuffer.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/_cloneBuffer.js +0 -35
- package/node_modules/@openfn/language-common/node_modules/lodash/_cloneDataView.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/_cloneRegExp.js +0 -17
- package/node_modules/@openfn/language-common/node_modules/lodash/_cloneSymbol.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_cloneTypedArray.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/_compareAscending.js +0 -41
- package/node_modules/@openfn/language-common/node_modules/lodash/_compareMultiple.js +0 -44
- package/node_modules/@openfn/language-common/node_modules/lodash/_composeArgs.js +0 -39
- package/node_modules/@openfn/language-common/node_modules/lodash/_composeArgsRight.js +0 -41
- package/node_modules/@openfn/language-common/node_modules/lodash/_copyArray.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/_copyObject.js +0 -40
- package/node_modules/@openfn/language-common/node_modules/lodash/_copySymbols.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/_copySymbolsIn.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/_coreJsData.js +0 -6
- package/node_modules/@openfn/language-common/node_modules/lodash/_countHolders.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_createAggregator.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/_createAssigner.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/_createBaseEach.js +0 -32
- package/node_modules/@openfn/language-common/node_modules/lodash/_createBaseFor.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/_createBind.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/_createCaseFirst.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/_createCompounder.js +0 -24
- package/node_modules/@openfn/language-common/node_modules/lodash/_createCtor.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/_createCurry.js +0 -46
- package/node_modules/@openfn/language-common/node_modules/lodash/_createFind.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/_createFlow.js +0 -78
- package/node_modules/@openfn/language-common/node_modules/lodash/_createHybrid.js +0 -92
- package/node_modules/@openfn/language-common/node_modules/lodash/_createInverter.js +0 -17
- package/node_modules/@openfn/language-common/node_modules/lodash/_createMathOperation.js +0 -38
- package/node_modules/@openfn/language-common/node_modules/lodash/_createOver.js +0 -27
- package/node_modules/@openfn/language-common/node_modules/lodash/_createPadding.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/_createPartial.js +0 -43
- package/node_modules/@openfn/language-common/node_modules/lodash/_createRange.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/_createRecurry.js +0 -56
- package/node_modules/@openfn/language-common/node_modules/lodash/_createRelationalOperation.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/_createRound.js +0 -35
- package/node_modules/@openfn/language-common/node_modules/lodash/_createSet.js +0 -19
- package/node_modules/@openfn/language-common/node_modules/lodash/_createToPairs.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/_createWrap.js +0 -106
- package/node_modules/@openfn/language-common/node_modules/lodash/_customDefaultsAssignIn.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/_customDefaultsMerge.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/_customOmitClone.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/_deburrLetter.js +0 -71
- package/node_modules/@openfn/language-common/node_modules/lodash/_defineProperty.js +0 -11
- package/node_modules/@openfn/language-common/node_modules/lodash/_equalArrays.js +0 -84
- package/node_modules/@openfn/language-common/node_modules/lodash/_equalByTag.js +0 -112
- package/node_modules/@openfn/language-common/node_modules/lodash/_equalObjects.js +0 -90
- package/node_modules/@openfn/language-common/node_modules/lodash/_escapeHtmlChar.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_escapeStringChar.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/_flatRest.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/_freeGlobal.js +0 -4
- package/node_modules/@openfn/language-common/node_modules/lodash/_getAllKeys.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/_getAllKeysIn.js +0 -17
- package/node_modules/@openfn/language-common/node_modules/lodash/_getData.js +0 -15
- package/node_modules/@openfn/language-common/node_modules/lodash/_getFuncName.js +0 -31
- package/node_modules/@openfn/language-common/node_modules/lodash/_getHolder.js +0 -13
- package/node_modules/@openfn/language-common/node_modules/lodash/_getMapData.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_getMatchData.js +0 -24
- package/node_modules/@openfn/language-common/node_modules/lodash/_getNative.js +0 -17
- package/node_modules/@openfn/language-common/node_modules/lodash/_getPrototype.js +0 -6
- package/node_modules/@openfn/language-common/node_modules/lodash/_getRawTag.js +0 -46
- package/node_modules/@openfn/language-common/node_modules/lodash/_getSymbols.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/_getSymbolsIn.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/_getTag.js +0 -58
- package/node_modules/@openfn/language-common/node_modules/lodash/_getValue.js +0 -13
- package/node_modules/@openfn/language-common/node_modules/lodash/_getView.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/_getWrapDetails.js +0 -17
- package/node_modules/@openfn/language-common/node_modules/lodash/_hasPath.js +0 -39
- package/node_modules/@openfn/language-common/node_modules/lodash/_hasUnicode.js +0 -26
- package/node_modules/@openfn/language-common/node_modules/lodash/_hasUnicodeWord.js +0 -15
- package/node_modules/@openfn/language-common/node_modules/lodash/_hashClear.js +0 -15
- package/node_modules/@openfn/language-common/node_modules/lodash/_hashDelete.js +0 -17
- package/node_modules/@openfn/language-common/node_modules/lodash/_hashGet.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/_hashHas.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/_hashSet.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/_initCloneArray.js +0 -26
- package/node_modules/@openfn/language-common/node_modules/lodash/_initCloneByTag.js +0 -77
- package/node_modules/@openfn/language-common/node_modules/lodash/_initCloneObject.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_insertWrapDetails.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/_isFlattenable.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/_isIndex.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/_isIterateeCall.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/_isKey.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/_isKeyable.js +0 -15
- package/node_modules/@openfn/language-common/node_modules/lodash/_isLaziable.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/_isMaskable.js +0 -14
- package/node_modules/@openfn/language-common/node_modules/lodash/_isMasked.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/_isPrototype.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_isStrictComparable.js +0 -15
- package/node_modules/@openfn/language-common/node_modules/lodash/_iteratorToArray.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_lazyClone.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/_lazyReverse.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/_lazyValue.js +0 -69
- package/node_modules/@openfn/language-common/node_modules/lodash/_listCacheClear.js +0 -13
- package/node_modules/@openfn/language-common/node_modules/lodash/_listCacheDelete.js +0 -35
- package/node_modules/@openfn/language-common/node_modules/lodash/_listCacheGet.js +0 -19
- package/node_modules/@openfn/language-common/node_modules/lodash/_listCacheHas.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/_listCacheSet.js +0 -26
- package/node_modules/@openfn/language-common/node_modules/lodash/_mapCacheClear.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_mapCacheDelete.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_mapCacheGet.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/_mapCacheHas.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/_mapCacheSet.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/_mapToArray.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_matchesStrictComparable.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/_memoizeCapped.js +0 -26
- package/node_modules/@openfn/language-common/node_modules/lodash/_mergeData.js +0 -90
- package/node_modules/@openfn/language-common/node_modules/lodash/_metaMap.js +0 -6
- package/node_modules/@openfn/language-common/node_modules/lodash/_nativeCreate.js +0 -6
- package/node_modules/@openfn/language-common/node_modules/lodash/_nativeKeys.js +0 -6
- package/node_modules/@openfn/language-common/node_modules/lodash/_nativeKeysIn.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/_nodeUtil.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/_objectToString.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/_overArg.js +0 -15
- package/node_modules/@openfn/language-common/node_modules/lodash/_overRest.js +0 -36
- package/node_modules/@openfn/language-common/node_modules/lodash/_parent.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/_reEscape.js +0 -4
- package/node_modules/@openfn/language-common/node_modules/lodash/_reEvaluate.js +0 -4
- package/node_modules/@openfn/language-common/node_modules/lodash/_reInterpolate.js +0 -4
- package/node_modules/@openfn/language-common/node_modules/lodash/_realNames.js +0 -4
- package/node_modules/@openfn/language-common/node_modules/lodash/_reorder.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/_replaceHolders.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/_root.js +0 -9
- package/node_modules/@openfn/language-common/node_modules/lodash/_safeGet.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_setCacheAdd.js +0 -19
- package/node_modules/@openfn/language-common/node_modules/lodash/_setCacheHas.js +0 -14
- package/node_modules/@openfn/language-common/node_modules/lodash/_setData.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/_setToArray.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_setToPairs.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_setToString.js +0 -14
- package/node_modules/@openfn/language-common/node_modules/lodash/_setWrapToString.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_shortOut.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/_shuffleSelf.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/_stackClear.js +0 -15
- package/node_modules/@openfn/language-common/node_modules/lodash/_stackDelete.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_stackGet.js +0 -14
- package/node_modules/@openfn/language-common/node_modules/lodash/_stackHas.js +0 -14
- package/node_modules/@openfn/language-common/node_modules/lodash/_stackSet.js +0 -34
- package/node_modules/@openfn/language-common/node_modules/lodash/_strictIndexOf.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/_strictLastIndexOf.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_stringSize.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_stringToArray.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_stringToPath.js +0 -27
- package/node_modules/@openfn/language-common/node_modules/lodash/_toKey.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_toSource.js +0 -26
- package/node_modules/@openfn/language-common/node_modules/lodash/_trimmedEndIndex.js +0 -19
- package/node_modules/@openfn/language-common/node_modules/lodash/_unescapeHtmlChar.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_unicodeSize.js +0 -44
- package/node_modules/@openfn/language-common/node_modules/lodash/_unicodeToArray.js +0 -40
- package/node_modules/@openfn/language-common/node_modules/lodash/_unicodeWords.js +0 -69
- package/node_modules/@openfn/language-common/node_modules/lodash/_updateWrapDetails.js +0 -46
- package/node_modules/@openfn/language-common/node_modules/lodash/_wrapperClone.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/add.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/after.js +0 -42
- package/node_modules/@openfn/language-common/node_modules/lodash/array.js +0 -67
- package/node_modules/@openfn/language-common/node_modules/lodash/ary.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/assign.js +0 -58
- package/node_modules/@openfn/language-common/node_modules/lodash/assignIn.js +0 -40
- package/node_modules/@openfn/language-common/node_modules/lodash/assignInWith.js +0 -38
- package/node_modules/@openfn/language-common/node_modules/lodash/assignWith.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/at.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/attempt.js +0 -35
- package/node_modules/@openfn/language-common/node_modules/lodash/before.js +0 -40
- package/node_modules/@openfn/language-common/node_modules/lodash/bind.js +0 -57
- package/node_modules/@openfn/language-common/node_modules/lodash/bindAll.js +0 -41
- package/node_modules/@openfn/language-common/node_modules/lodash/bindKey.js +0 -68
- package/node_modules/@openfn/language-common/node_modules/lodash/camelCase.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/capitalize.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/castArray.js +0 -44
- package/node_modules/@openfn/language-common/node_modules/lodash/ceil.js +0 -26
- package/node_modules/@openfn/language-common/node_modules/lodash/chain.js +0 -38
- package/node_modules/@openfn/language-common/node_modules/lodash/chunk.js +0 -50
- package/node_modules/@openfn/language-common/node_modules/lodash/clamp.js +0 -39
- package/node_modules/@openfn/language-common/node_modules/lodash/clone.js +0 -36
- package/node_modules/@openfn/language-common/node_modules/lodash/cloneDeep.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/cloneDeepWith.js +0 -40
- package/node_modules/@openfn/language-common/node_modules/lodash/cloneWith.js +0 -42
- package/node_modules/@openfn/language-common/node_modules/lodash/collection.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/commit.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/compact.js +0 -31
- package/node_modules/@openfn/language-common/node_modules/lodash/concat.js +0 -43
- package/node_modules/@openfn/language-common/node_modules/lodash/cond.js +0 -60
- package/node_modules/@openfn/language-common/node_modules/lodash/conforms.js +0 -35
- package/node_modules/@openfn/language-common/node_modules/lodash/conformsTo.js +0 -32
- package/node_modules/@openfn/language-common/node_modules/lodash/constant.js +0 -26
- package/node_modules/@openfn/language-common/node_modules/lodash/core.js +0 -3877
- package/node_modules/@openfn/language-common/node_modules/lodash/core.min.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/countBy.js +0 -40
- package/node_modules/@openfn/language-common/node_modules/lodash/create.js +0 -43
- package/node_modules/@openfn/language-common/node_modules/lodash/curry.js +0 -57
- package/node_modules/@openfn/language-common/node_modules/lodash/curryRight.js +0 -54
- package/node_modules/@openfn/language-common/node_modules/lodash/date.js +0 -3
- package/node_modules/@openfn/language-common/node_modules/lodash/debounce.js +0 -191
- package/node_modules/@openfn/language-common/node_modules/lodash/deburr.js +0 -45
- package/node_modules/@openfn/language-common/node_modules/lodash/defaultTo.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/defaults.js +0 -64
- package/node_modules/@openfn/language-common/node_modules/lodash/defaultsDeep.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/defer.js +0 -26
- package/node_modules/@openfn/language-common/node_modules/lodash/delay.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/difference.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/differenceBy.js +0 -44
- package/node_modules/@openfn/language-common/node_modules/lodash/differenceWith.js +0 -40
- package/node_modules/@openfn/language-common/node_modules/lodash/divide.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/drop.js +0 -38
- package/node_modules/@openfn/language-common/node_modules/lodash/dropRight.js +0 -39
- package/node_modules/@openfn/language-common/node_modules/lodash/dropRightWhile.js +0 -45
- package/node_modules/@openfn/language-common/node_modules/lodash/dropWhile.js +0 -45
- package/node_modules/@openfn/language-common/node_modules/lodash/each.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/eachRight.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/endsWith.js +0 -43
- package/node_modules/@openfn/language-common/node_modules/lodash/entries.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/entriesIn.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/eq.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/escape.js +0 -43
- package/node_modules/@openfn/language-common/node_modules/lodash/escapeRegExp.js +0 -32
- package/node_modules/@openfn/language-common/node_modules/lodash/every.js +0 -56
- package/node_modules/@openfn/language-common/node_modules/lodash/extend.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/extendWith.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fill.js +0 -45
- package/node_modules/@openfn/language-common/node_modules/lodash/filter.js +0 -52
- package/node_modules/@openfn/language-common/node_modules/lodash/find.js +0 -42
- package/node_modules/@openfn/language-common/node_modules/lodash/findIndex.js +0 -55
- package/node_modules/@openfn/language-common/node_modules/lodash/findKey.js +0 -44
- package/node_modules/@openfn/language-common/node_modules/lodash/findLast.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/findLastIndex.js +0 -59
- package/node_modules/@openfn/language-common/node_modules/lodash/findLastKey.js +0 -44
- package/node_modules/@openfn/language-common/node_modules/lodash/first.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/flake.lock +0 -40
- package/node_modules/@openfn/language-common/node_modules/lodash/flake.nix +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/flatMap.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/flatMapDeep.js +0 -31
- package/node_modules/@openfn/language-common/node_modules/lodash/flatMapDepth.js +0 -31
- package/node_modules/@openfn/language-common/node_modules/lodash/flatten.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/flattenDeep.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/flattenDepth.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/flip.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/floor.js +0 -26
- package/node_modules/@openfn/language-common/node_modules/lodash/flow.js +0 -27
- package/node_modules/@openfn/language-common/node_modules/lodash/flowRight.js +0 -26
- package/node_modules/@openfn/language-common/node_modules/lodash/forEach.js +0 -41
- package/node_modules/@openfn/language-common/node_modules/lodash/forEachRight.js +0 -31
- package/node_modules/@openfn/language-common/node_modules/lodash/forIn.js +0 -39
- package/node_modules/@openfn/language-common/node_modules/lodash/forInRight.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/forOwn.js +0 -36
- package/node_modules/@openfn/language-common/node_modules/lodash/forOwnRight.js +0 -34
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/F.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/T.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/__.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/_baseConvert.js +0 -569
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/_convertBrowser.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/_falseOptions.js +0 -7
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/_mapping.js +0 -358
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/_util.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/add.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/after.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/all.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/allPass.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/always.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/any.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/anyPass.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/apply.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/array.js +0 -2
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/ary.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/assign.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/assignAll.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/assignAllWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/assignIn.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/assignInAll.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/assignInAllWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/assignInWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/assignWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/assoc.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/assocPath.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/at.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/attempt.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/before.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/bind.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/bindAll.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/bindKey.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/camelCase.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/capitalize.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/castArray.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/ceil.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/chain.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/chunk.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/clamp.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/clone.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/cloneDeep.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/cloneDeepWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/cloneWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/collection.js +0 -2
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/commit.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/compact.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/complement.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/compose.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/concat.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/cond.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/conforms.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/conformsTo.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/constant.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/contains.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/convert.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/countBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/create.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/curry.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/curryN.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/curryRight.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/curryRightN.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/date.js +0 -2
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/debounce.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/deburr.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/defaultTo.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/defaults.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/defaultsAll.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/defaultsDeep.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/defaultsDeepAll.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/defer.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/delay.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/difference.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/differenceBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/differenceWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/dissoc.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/dissocPath.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/divide.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/drop.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/dropLast.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/dropLastWhile.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/dropRight.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/dropRightWhile.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/dropWhile.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/each.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/eachRight.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/endsWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/entries.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/entriesIn.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/eq.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/equals.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/escape.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/escapeRegExp.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/every.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/extend.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/extendAll.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/extendAllWith.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/extendWith.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/fill.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/filter.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/find.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/findFrom.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/findIndex.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/findIndexFrom.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/findKey.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/findLast.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/findLastFrom.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/findLastIndex.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/findLastIndexFrom.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/findLastKey.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/first.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/flatMap.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/flatMapDeep.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/flatMapDepth.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/flatten.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/flattenDeep.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/flattenDepth.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/flip.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/floor.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/flow.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/flowRight.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/forEach.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/forEachRight.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/forIn.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/forInRight.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/forOwn.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/forOwnRight.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/fromPairs.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/function.js +0 -2
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/functions.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/functionsIn.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/get.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/getOr.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/groupBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/gt.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/gte.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/has.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/hasIn.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/head.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/identical.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/identity.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/inRange.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/includes.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/includesFrom.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/indexBy.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/indexOf.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/indexOfFrom.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/init.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/initial.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/intersection.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/intersectionBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/intersectionWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/invert.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/invertBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/invertObj.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/invoke.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/invokeArgs.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/invokeArgsMap.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/invokeMap.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isArguments.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isArray.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isArrayBuffer.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isArrayLike.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isArrayLikeObject.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isBoolean.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isBuffer.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isDate.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isElement.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isEmpty.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isEqual.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isEqualWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isError.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isFinite.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isFunction.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isInteger.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isLength.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isMap.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isMatch.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isMatchWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isNaN.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isNative.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isNil.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isNull.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isNumber.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isObject.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isObjectLike.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isPlainObject.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isRegExp.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isSafeInteger.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isSet.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isString.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isSymbol.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isTypedArray.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isUndefined.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isWeakMap.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isWeakSet.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/iteratee.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/join.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/juxt.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/kebabCase.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/keyBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/keys.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/keysIn.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/lang.js +0 -2
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/last.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/lastIndexOf.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/lastIndexOfFrom.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/lowerCase.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/lowerFirst.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/lt.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/lte.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/map.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/mapKeys.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/mapValues.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/matches.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/matchesProperty.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/math.js +0 -2
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/max.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/maxBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/mean.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/meanBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/memoize.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/merge.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/mergeAll.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/mergeAllWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/mergeWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/method.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/methodOf.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/min.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/minBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/mixin.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/multiply.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/nAry.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/negate.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/next.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/noop.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/now.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/nth.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/nthArg.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/number.js +0 -2
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/object.js +0 -2
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/omit.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/omitAll.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/omitBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/once.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/orderBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/over.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/overArgs.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/overEvery.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/overSome.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/pad.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/padChars.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/padCharsEnd.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/padCharsStart.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/padEnd.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/padStart.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/parseInt.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/partial.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/partialRight.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/partition.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/path.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/pathEq.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/pathOr.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/paths.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/pick.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/pickAll.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/pickBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/pipe.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/placeholder.js +0 -6
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/plant.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/pluck.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/prop.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/propEq.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/propOr.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/property.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/propertyOf.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/props.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/pull.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/pullAll.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/pullAllBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/pullAllWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/pullAt.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/random.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/range.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/rangeRight.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/rangeStep.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/rangeStepRight.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/rearg.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/reduce.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/reduceRight.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/reject.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/remove.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/repeat.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/replace.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/rest.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/restFrom.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/result.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/reverse.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/round.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/sample.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/sampleSize.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/seq.js +0 -2
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/set.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/setWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/shuffle.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/size.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/slice.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/snakeCase.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/some.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/sortBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/sortedIndex.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/sortedIndexBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/sortedIndexOf.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/sortedLastIndex.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/sortedLastIndexBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/sortedLastIndexOf.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/sortedUniq.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/sortedUniqBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/split.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/spread.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/spreadFrom.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/startCase.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/startsWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/string.js +0 -2
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/stubArray.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/stubFalse.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/stubObject.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/stubString.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/stubTrue.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/subtract.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/sum.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/sumBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/symmetricDifference.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/symmetricDifferenceBy.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/symmetricDifferenceWith.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/tail.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/take.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/takeLast.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/takeLastWhile.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/takeRight.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/takeRightWhile.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/takeWhile.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/tap.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/template.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/templateSettings.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/throttle.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/thru.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/times.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/toArray.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/toFinite.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/toInteger.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/toIterator.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/toJSON.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/toLength.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/toLower.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/toNumber.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/toPairs.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/toPairsIn.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/toPath.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/toPlainObject.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/toSafeInteger.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/toString.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/toUpper.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/transform.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/trim.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/trimChars.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/trimCharsEnd.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/trimCharsStart.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/trimEnd.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/trimStart.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/truncate.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/unapply.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/unary.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/unescape.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/union.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/unionBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/unionWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/uniq.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/uniqBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/uniqWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/uniqueId.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/unnest.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/unset.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/unzip.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/unzipWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/update.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/updateWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/upperCase.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/upperFirst.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/useWith.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/util.js +0 -2
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/value.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/valueOf.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/values.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/valuesIn.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/where.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/whereEq.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/without.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/words.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/wrap.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/wrapperAt.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/wrapperChain.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/wrapperLodash.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/wrapperReverse.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/wrapperValue.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/xor.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/xorBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/xorWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/zip.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/zipAll.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/zipObj.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/zipObject.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/zipObjectDeep.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/zipWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp.js +0 -2
- package/node_modules/@openfn/language-common/node_modules/lodash/fromPairs.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/function.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/functions.js +0 -31
- package/node_modules/@openfn/language-common/node_modules/lodash/functionsIn.js +0 -31
- package/node_modules/@openfn/language-common/node_modules/lodash/get.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/groupBy.js +0 -41
- package/node_modules/@openfn/language-common/node_modules/lodash/gt.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/gte.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/has.js +0 -35
- package/node_modules/@openfn/language-common/node_modules/lodash/hasIn.js +0 -34
- package/node_modules/@openfn/language-common/node_modules/lodash/head.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/identity.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/inRange.js +0 -55
- package/node_modules/@openfn/language-common/node_modules/lodash/includes.js +0 -53
- package/node_modules/@openfn/language-common/node_modules/lodash/index.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/indexOf.js +0 -42
- package/node_modules/@openfn/language-common/node_modules/lodash/initial.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/intersection.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/intersectionBy.js +0 -45
- package/node_modules/@openfn/language-common/node_modules/lodash/intersectionWith.js +0 -41
- package/node_modules/@openfn/language-common/node_modules/lodash/invert.js +0 -42
- package/node_modules/@openfn/language-common/node_modules/lodash/invertBy.js +0 -56
- package/node_modules/@openfn/language-common/node_modules/lodash/invoke.js +0 -24
- package/node_modules/@openfn/language-common/node_modules/lodash/invokeMap.js +0 -41
- package/node_modules/@openfn/language-common/node_modules/lodash/isArguments.js +0 -36
- package/node_modules/@openfn/language-common/node_modules/lodash/isArray.js +0 -26
- package/node_modules/@openfn/language-common/node_modules/lodash/isArrayBuffer.js +0 -27
- package/node_modules/@openfn/language-common/node_modules/lodash/isArrayLike.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/isArrayLikeObject.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/isBoolean.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/isBuffer.js +0 -38
- package/node_modules/@openfn/language-common/node_modules/lodash/isDate.js +0 -27
- package/node_modules/@openfn/language-common/node_modules/lodash/isElement.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/isEmpty.js +0 -77
- package/node_modules/@openfn/language-common/node_modules/lodash/isEqual.js +0 -35
- package/node_modules/@openfn/language-common/node_modules/lodash/isEqualWith.js +0 -41
- package/node_modules/@openfn/language-common/node_modules/lodash/isError.js +0 -36
- package/node_modules/@openfn/language-common/node_modules/lodash/isFinite.js +0 -36
- package/node_modules/@openfn/language-common/node_modules/lodash/isFunction.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/isInteger.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/isLength.js +0 -35
- package/node_modules/@openfn/language-common/node_modules/lodash/isMap.js +0 -27
- package/node_modules/@openfn/language-common/node_modules/lodash/isMatch.js +0 -36
- package/node_modules/@openfn/language-common/node_modules/lodash/isMatchWith.js +0 -41
- package/node_modules/@openfn/language-common/node_modules/lodash/isNaN.js +0 -38
- package/node_modules/@openfn/language-common/node_modules/lodash/isNative.js +0 -40
- package/node_modules/@openfn/language-common/node_modules/lodash/isNil.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/isNull.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/isNumber.js +0 -38
- package/node_modules/@openfn/language-common/node_modules/lodash/isObject.js +0 -31
- package/node_modules/@openfn/language-common/node_modules/lodash/isObjectLike.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/isPlainObject.js +0 -62
- package/node_modules/@openfn/language-common/node_modules/lodash/isRegExp.js +0 -27
- package/node_modules/@openfn/language-common/node_modules/lodash/isSafeInteger.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/isSet.js +0 -27
- package/node_modules/@openfn/language-common/node_modules/lodash/isString.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/isSymbol.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/isTypedArray.js +0 -27
- package/node_modules/@openfn/language-common/node_modules/lodash/isUndefined.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/isWeakMap.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/isWeakSet.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/iteratee.js +0 -53
- package/node_modules/@openfn/language-common/node_modules/lodash/join.js +0 -26
- package/node_modules/@openfn/language-common/node_modules/lodash/kebabCase.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/keyBy.js +0 -36
- package/node_modules/@openfn/language-common/node_modules/lodash/keys.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/keysIn.js +0 -32
- package/node_modules/@openfn/language-common/node_modules/lodash/lang.js +0 -58
- package/node_modules/@openfn/language-common/node_modules/lodash/last.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/lastIndexOf.js +0 -46
- package/node_modules/@openfn/language-common/node_modules/lodash/lodash.js +0 -17209
- package/node_modules/@openfn/language-common/node_modules/lodash/lodash.min.js +0 -140
- package/node_modules/@openfn/language-common/node_modules/lodash/lowerCase.js +0 -27
- package/node_modules/@openfn/language-common/node_modules/lodash/lowerFirst.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/lt.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/lte.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/map.js +0 -53
- package/node_modules/@openfn/language-common/node_modules/lodash/mapKeys.js +0 -36
- package/node_modules/@openfn/language-common/node_modules/lodash/mapValues.js +0 -43
- package/node_modules/@openfn/language-common/node_modules/lodash/matches.js +0 -46
- package/node_modules/@openfn/language-common/node_modules/lodash/matchesProperty.js +0 -44
- package/node_modules/@openfn/language-common/node_modules/lodash/math.js +0 -17
- package/node_modules/@openfn/language-common/node_modules/lodash/max.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/maxBy.js +0 -34
- package/node_modules/@openfn/language-common/node_modules/lodash/mean.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/meanBy.js +0 -31
- package/node_modules/@openfn/language-common/node_modules/lodash/memoize.js +0 -73
- package/node_modules/@openfn/language-common/node_modules/lodash/merge.js +0 -39
- package/node_modules/@openfn/language-common/node_modules/lodash/mergeWith.js +0 -39
- package/node_modules/@openfn/language-common/node_modules/lodash/method.js +0 -34
- package/node_modules/@openfn/language-common/node_modules/lodash/methodOf.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/min.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/minBy.js +0 -34
- package/node_modules/@openfn/language-common/node_modules/lodash/mixin.js +0 -74
- package/node_modules/@openfn/language-common/node_modules/lodash/multiply.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/negate.js +0 -40
- package/node_modules/@openfn/language-common/node_modules/lodash/next.js +0 -35
- package/node_modules/@openfn/language-common/node_modules/lodash/noop.js +0 -17
- package/node_modules/@openfn/language-common/node_modules/lodash/now.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/nth.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/nthArg.js +0 -32
- package/node_modules/@openfn/language-common/node_modules/lodash/number.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/object.js +0 -49
- package/node_modules/@openfn/language-common/node_modules/lodash/omit.js +0 -57
- package/node_modules/@openfn/language-common/node_modules/lodash/omitBy.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/once.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/orderBy.js +0 -47
- package/node_modules/@openfn/language-common/node_modules/lodash/over.js +0 -24
- package/node_modules/@openfn/language-common/node_modules/lodash/overArgs.js +0 -61
- package/node_modules/@openfn/language-common/node_modules/lodash/overEvery.js +0 -34
- package/node_modules/@openfn/language-common/node_modules/lodash/overSome.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/package.json +0 -66
- package/node_modules/@openfn/language-common/node_modules/lodash/pad.js +0 -49
- package/node_modules/@openfn/language-common/node_modules/lodash/padEnd.js +0 -39
- package/node_modules/@openfn/language-common/node_modules/lodash/padStart.js +0 -39
- package/node_modules/@openfn/language-common/node_modules/lodash/parseInt.js +0 -43
- package/node_modules/@openfn/language-common/node_modules/lodash/partial.js +0 -50
- package/node_modules/@openfn/language-common/node_modules/lodash/partialRight.js +0 -49
- package/node_modules/@openfn/language-common/node_modules/lodash/partition.js +0 -43
- package/node_modules/@openfn/language-common/node_modules/lodash/pick.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/pickBy.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/plant.js +0 -48
- package/node_modules/@openfn/language-common/node_modules/lodash/property.js +0 -32
- package/node_modules/@openfn/language-common/node_modules/lodash/propertyOf.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/pull.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/pullAll.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/pullAllBy.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/pullAllWith.js +0 -32
- package/node_modules/@openfn/language-common/node_modules/lodash/pullAt.js +0 -43
- package/node_modules/@openfn/language-common/node_modules/lodash/random.js +0 -82
- package/node_modules/@openfn/language-common/node_modules/lodash/range.js +0 -46
- package/node_modules/@openfn/language-common/node_modules/lodash/rangeRight.js +0 -41
- package/node_modules/@openfn/language-common/node_modules/lodash/rearg.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/reduce.js +0 -51
- package/node_modules/@openfn/language-common/node_modules/lodash/reduceRight.js +0 -36
- package/node_modules/@openfn/language-common/node_modules/lodash/reject.js +0 -46
- package/node_modules/@openfn/language-common/node_modules/lodash/release.md +0 -48
- package/node_modules/@openfn/language-common/node_modules/lodash/remove.js +0 -53
- package/node_modules/@openfn/language-common/node_modules/lodash/repeat.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/replace.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/rest.js +0 -40
- package/node_modules/@openfn/language-common/node_modules/lodash/result.js +0 -56
- package/node_modules/@openfn/language-common/node_modules/lodash/reverse.js +0 -34
- package/node_modules/@openfn/language-common/node_modules/lodash/round.js +0 -26
- package/node_modules/@openfn/language-common/node_modules/lodash/sample.js +0 -24
- package/node_modules/@openfn/language-common/node_modules/lodash/sampleSize.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/seq.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/set.js +0 -35
- package/node_modules/@openfn/language-common/node_modules/lodash/setWith.js +0 -32
- package/node_modules/@openfn/language-common/node_modules/lodash/shuffle.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/size.js +0 -46
- package/node_modules/@openfn/language-common/node_modules/lodash/slice.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/snakeCase.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/some.js +0 -51
- package/node_modules/@openfn/language-common/node_modules/lodash/sortBy.js +0 -48
- package/node_modules/@openfn/language-common/node_modules/lodash/sortedIndex.js +0 -24
- package/node_modules/@openfn/language-common/node_modules/lodash/sortedIndexBy.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/sortedIndexOf.js +0 -31
- package/node_modules/@openfn/language-common/node_modules/lodash/sortedLastIndex.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/sortedLastIndexBy.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/sortedLastIndexOf.js +0 -31
- package/node_modules/@openfn/language-common/node_modules/lodash/sortedUniq.js +0 -24
- package/node_modules/@openfn/language-common/node_modules/lodash/sortedUniqBy.js +0 -26
- package/node_modules/@openfn/language-common/node_modules/lodash/split.js +0 -52
- package/node_modules/@openfn/language-common/node_modules/lodash/spread.js +0 -63
- package/node_modules/@openfn/language-common/node_modules/lodash/startCase.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/startsWith.js +0 -39
- package/node_modules/@openfn/language-common/node_modules/lodash/string.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/stubArray.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/stubFalse.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/stubObject.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/stubString.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/stubTrue.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/subtract.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/sum.js +0 -24
- package/node_modules/@openfn/language-common/node_modules/lodash/sumBy.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/tail.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/take.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/takeRight.js +0 -39
- package/node_modules/@openfn/language-common/node_modules/lodash/takeRightWhile.js +0 -45
- package/node_modules/@openfn/language-common/node_modules/lodash/takeWhile.js +0 -45
- package/node_modules/@openfn/language-common/node_modules/lodash/tap.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/template.js +0 -272
- package/node_modules/@openfn/language-common/node_modules/lodash/templateSettings.js +0 -67
- package/node_modules/@openfn/language-common/node_modules/lodash/throttle.js +0 -69
- package/node_modules/@openfn/language-common/node_modules/lodash/thru.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/times.js +0 -51
- package/node_modules/@openfn/language-common/node_modules/lodash/toArray.js +0 -58
- package/node_modules/@openfn/language-common/node_modules/lodash/toFinite.js +0 -42
- package/node_modules/@openfn/language-common/node_modules/lodash/toInteger.js +0 -36
- package/node_modules/@openfn/language-common/node_modules/lodash/toIterator.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/toJSON.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/toLength.js +0 -38
- package/node_modules/@openfn/language-common/node_modules/lodash/toLower.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/toNumber.js +0 -64
- package/node_modules/@openfn/language-common/node_modules/lodash/toPairs.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/toPairsIn.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/toPath.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/toPlainObject.js +0 -32
- package/node_modules/@openfn/language-common/node_modules/lodash/toSafeInteger.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/toString.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/toUpper.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/transform.js +0 -65
- package/node_modules/@openfn/language-common/node_modules/lodash/trim.js +0 -47
- package/node_modules/@openfn/language-common/node_modules/lodash/trimEnd.js +0 -41
- package/node_modules/@openfn/language-common/node_modules/lodash/trimStart.js +0 -43
- package/node_modules/@openfn/language-common/node_modules/lodash/truncate.js +0 -111
- package/node_modules/@openfn/language-common/node_modules/lodash/unary.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/unescape.js +0 -34
- package/node_modules/@openfn/language-common/node_modules/lodash/union.js +0 -26
- package/node_modules/@openfn/language-common/node_modules/lodash/unionBy.js +0 -39
- package/node_modules/@openfn/language-common/node_modules/lodash/unionWith.js +0 -34
- package/node_modules/@openfn/language-common/node_modules/lodash/uniq.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/uniqBy.js +0 -31
- package/node_modules/@openfn/language-common/node_modules/lodash/uniqWith.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/uniqueId.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/unset.js +0 -34
- package/node_modules/@openfn/language-common/node_modules/lodash/unzip.js +0 -45
- package/node_modules/@openfn/language-common/node_modules/lodash/unzipWith.js +0 -39
- package/node_modules/@openfn/language-common/node_modules/lodash/update.js +0 -35
- package/node_modules/@openfn/language-common/node_modules/lodash/updateWith.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/upperCase.js +0 -27
- package/node_modules/@openfn/language-common/node_modules/lodash/upperFirst.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/util.js +0 -34
- package/node_modules/@openfn/language-common/node_modules/lodash/value.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/valueOf.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/values.js +0 -34
- package/node_modules/@openfn/language-common/node_modules/lodash/valuesIn.js +0 -32
- package/node_modules/@openfn/language-common/node_modules/lodash/without.js +0 -31
- package/node_modules/@openfn/language-common/node_modules/lodash/words.js +0 -35
- package/node_modules/@openfn/language-common/node_modules/lodash/wrap.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/wrapperAt.js +0 -48
- package/node_modules/@openfn/language-common/node_modules/lodash/wrapperChain.js +0 -34
- package/node_modules/@openfn/language-common/node_modules/lodash/wrapperLodash.js +0 -147
- package/node_modules/@openfn/language-common/node_modules/lodash/wrapperReverse.js +0 -44
- package/node_modules/@openfn/language-common/node_modules/lodash/wrapperValue.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/xor.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/xorBy.js +0 -39
- package/node_modules/@openfn/language-common/node_modules/lodash/xorWith.js +0 -34
- package/node_modules/@openfn/language-common/node_modules/lodash/zip.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/zipObject.js +0 -24
- package/node_modules/@openfn/language-common/node_modules/lodash/zipObjectDeep.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/zipWith.js +0 -32
- package/node_modules/@openfn/language-common/package.json +0 -86
- package/node_modules/bignumber.js/CHANGELOG.md +0 -266
- package/node_modules/bignumber.js/LICENCE +0 -23
- package/node_modules/bignumber.js/README.md +0 -268
- package/node_modules/bignumber.js/bignumber.d.ts +0 -1829
- package/node_modules/bignumber.js/bignumber.js +0 -2902
- package/node_modules/bignumber.js/bignumber.min.js +0 -1
- package/node_modules/bignumber.js/bignumber.min.js.map +0 -1
- package/node_modules/bignumber.js/bignumber.mjs +0 -2888
- package/node_modules/bignumber.js/doc/API.html +0 -2237
- package/node_modules/bignumber.js/package.json +0 -72
- package/node_modules/core-util-is/LICENSE +0 -19
- package/node_modules/core-util-is/README.md +0 -3
- package/node_modules/core-util-is/float.patch +0 -604
- package/node_modules/core-util-is/lib/util.js +0 -107
- package/node_modules/core-util-is/package.json +0 -65
- package/node_modules/core-util-is/test.js +0 -68
- package/node_modules/inherits/LICENSE +0 -16
- package/node_modules/inherits/README.md +0 -42
- package/node_modules/inherits/inherits.js +0 -9
- package/node_modules/inherits/inherits_browser.js +0 -27
- package/node_modules/inherits/package.json +0 -68
- package/node_modules/isarray/.npmignore +0 -1
- package/node_modules/isarray/.travis.yml +0 -4
- package/node_modules/isarray/Makefile +0 -6
- package/node_modules/isarray/README.md +0 -60
- package/node_modules/isarray/component.json +0 -19
- package/node_modules/isarray/index.js +0 -5
- package/node_modules/isarray/package.json +0 -77
- package/node_modules/isarray/test.js +0 -20
- package/node_modules/json-sql/.jshintrc +0 -19
- package/node_modules/json-sql/.npmignore +0 -5
- package/node_modules/json-sql/LICENSE +0 -22
- package/node_modules/json-sql/README.md +0 -147
- package/node_modules/json-sql/lib/builder.js +0 -127
- package/node_modules/json-sql/lib/dialects/base/blocks.js +0 -430
- package/node_modules/json-sql/lib/dialects/base/index.js +0 -353
- package/node_modules/json-sql/lib/dialects/base/modifiers.js +0 -27
- package/node_modules/json-sql/lib/dialects/base/operators/comparison.js +0 -245
- package/node_modules/json-sql/lib/dialects/base/operators/fetching.js +0 -79
- package/node_modules/json-sql/lib/dialects/base/operators/index.js +0 -13
- package/node_modules/json-sql/lib/dialects/base/operators/logical.js +0 -36
- package/node_modules/json-sql/lib/dialects/base/operators/state.js +0 -15
- package/node_modules/json-sql/lib/dialects/base/templates.js +0 -243
- package/node_modules/json-sql/lib/dialects/mssql/index.js +0 -13
- package/node_modules/json-sql/lib/dialects/mysql/index.js +0 -16
- package/node_modules/json-sql/lib/dialects/postgresql/blocks.js +0 -63
- package/node_modules/json-sql/lib/dialects/postgresql/index.js +0 -44
- package/node_modules/json-sql/lib/dialects/postgresql/operators/comparison.js +0 -58
- package/node_modules/json-sql/lib/dialects/postgresql/operators/fetching.js +0 -10
- package/node_modules/json-sql/lib/dialects/postgresql/operators/index.js +0 -9
- package/node_modules/json-sql/lib/dialects/postgresql/templates.js +0 -49
- package/node_modules/json-sql/lib/dialects/sqlite/blocks.js +0 -15
- package/node_modules/json-sql/lib/dialects/sqlite/index.js +0 -17
- package/node_modules/json-sql/lib/index.js +0 -8
- package/node_modules/json-sql/lib/utils/object.js +0 -27
- package/node_modules/json-sql/lib/utils/templateChecks.js +0 -72
- package/node_modules/json-sql/lib/utils/valuesStore.js +0 -24
- package/node_modules/json-sql/node_modules/underscore/LICENSE +0 -23
- package/node_modules/json-sql/node_modules/underscore/README.md +0 -22
- package/node_modules/json-sql/node_modules/underscore/package.json +0 -76
- package/node_modules/json-sql/node_modules/underscore/underscore-min.js +0 -6
- package/node_modules/json-sql/node_modules/underscore/underscore-min.map +0 -1
- package/node_modules/json-sql/node_modules/underscore/underscore.js +0 -1536
- package/node_modules/json-sql/package.json +0 -66
- package/node_modules/mysql/Changes.md +0 -569
- package/node_modules/mysql/License +0 -19
- package/node_modules/mysql/Readme.md +0 -1548
- package/node_modules/mysql/index.js +0 -161
- package/node_modules/mysql/lib/Connection.js +0 -529
- package/node_modules/mysql/lib/ConnectionConfig.js +0 -209
- package/node_modules/mysql/lib/Pool.js +0 -294
- package/node_modules/mysql/lib/PoolCluster.js +0 -288
- package/node_modules/mysql/lib/PoolConfig.js +0 -32
- package/node_modules/mysql/lib/PoolConnection.js +0 -65
- package/node_modules/mysql/lib/PoolNamespace.js +0 -136
- package/node_modules/mysql/lib/PoolSelector.js +0 -31
- package/node_modules/mysql/lib/protocol/Auth.js +0 -168
- package/node_modules/mysql/lib/protocol/BufferList.js +0 -25
- package/node_modules/mysql/lib/protocol/PacketHeader.js +0 -5
- package/node_modules/mysql/lib/protocol/PacketWriter.js +0 -211
- package/node_modules/mysql/lib/protocol/Parser.js +0 -491
- package/node_modules/mysql/lib/protocol/Protocol.js +0 -463
- package/node_modules/mysql/lib/protocol/ResultSet.js +0 -7
- package/node_modules/mysql/lib/protocol/SqlString.js +0 -1
- package/node_modules/mysql/lib/protocol/Timer.js +0 -33
- package/node_modules/mysql/lib/protocol/constants/charsets.js +0 -262
- package/node_modules/mysql/lib/protocol/constants/client.js +0 -26
- package/node_modules/mysql/lib/protocol/constants/errors.js +0 -2476
- package/node_modules/mysql/lib/protocol/constants/field_flags.js +0 -18
- package/node_modules/mysql/lib/protocol/constants/server_status.js +0 -39
- package/node_modules/mysql/lib/protocol/constants/ssl_profiles.js +0 -1480
- package/node_modules/mysql/lib/protocol/constants/types.js +0 -72
- package/node_modules/mysql/lib/protocol/packets/AuthSwitchRequestPacket.js +0 -20
- package/node_modules/mysql/lib/protocol/packets/AuthSwitchResponsePacket.js +0 -14
- package/node_modules/mysql/lib/protocol/packets/ClientAuthenticationPacket.js +0 -54
- package/node_modules/mysql/lib/protocol/packets/ComChangeUserPacket.js +0 -26
- package/node_modules/mysql/lib/protocol/packets/ComPingPacket.js +0 -12
- package/node_modules/mysql/lib/protocol/packets/ComQueryPacket.js +0 -15
- package/node_modules/mysql/lib/protocol/packets/ComQuitPacket.js +0 -12
- package/node_modules/mysql/lib/protocol/packets/ComStatisticsPacket.js +0 -12
- package/node_modules/mysql/lib/protocol/packets/EmptyPacket.js +0 -9
- package/node_modules/mysql/lib/protocol/packets/EofPacket.js +0 -25
- package/node_modules/mysql/lib/protocol/packets/ErrorPacket.js +0 -35
- package/node_modules/mysql/lib/protocol/packets/Field.js +0 -26
- package/node_modules/mysql/lib/protocol/packets/FieldPacket.js +0 -93
- package/node_modules/mysql/lib/protocol/packets/HandshakeInitializationPacket.js +0 -103
- package/node_modules/mysql/lib/protocol/packets/LocalDataFilePacket.js +0 -15
- package/node_modules/mysql/lib/protocol/packets/LocalInfileRequestPacket.js +0 -21
- package/node_modules/mysql/lib/protocol/packets/OkPacket.js +0 -44
- package/node_modules/mysql/lib/protocol/packets/OldPasswordPacket.js +0 -14
- package/node_modules/mysql/lib/protocol/packets/ResultSetHeaderPacket.js +0 -14
- package/node_modules/mysql/lib/protocol/packets/RowDataPacket.js +0 -130
- package/node_modules/mysql/lib/protocol/packets/SSLRequestPacket.js +0 -27
- package/node_modules/mysql/lib/protocol/packets/StatisticsPacket.js +0 -20
- package/node_modules/mysql/lib/protocol/packets/UseOldPasswordPacket.js +0 -14
- package/node_modules/mysql/lib/protocol/packets/index.js +0 -23
- package/node_modules/mysql/lib/protocol/sequences/ChangeUser.js +0 -67
- package/node_modules/mysql/lib/protocol/sequences/Handshake.js +0 -126
- package/node_modules/mysql/lib/protocol/sequences/Ping.js +0 -19
- package/node_modules/mysql/lib/protocol/sequences/Query.js +0 -228
- package/node_modules/mysql/lib/protocol/sequences/Quit.js +0 -40
- package/node_modules/mysql/lib/protocol/sequences/Sequence.js +0 -125
- package/node_modules/mysql/lib/protocol/sequences/Statistics.js +0 -30
- package/node_modules/mysql/lib/protocol/sequences/index.js +0 -7
- package/node_modules/mysql/package.json +0 -100
- package/node_modules/process-nextick-args/index.js +0 -45
- package/node_modules/process-nextick-args/license.md +0 -19
- package/node_modules/process-nextick-args/package.json +0 -53
- package/node_modules/process-nextick-args/readme.md +0 -18
- package/node_modules/readable-stream/.travis.yml +0 -34
- package/node_modules/readable-stream/CONTRIBUTING.md +0 -38
- package/node_modules/readable-stream/GOVERNANCE.md +0 -136
- package/node_modules/readable-stream/LICENSE +0 -47
- package/node_modules/readable-stream/README.md +0 -58
- package/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +0 -60
- package/node_modules/readable-stream/duplex-browser.js +0 -1
- package/node_modules/readable-stream/duplex.js +0 -1
- package/node_modules/readable-stream/lib/_stream_duplex.js +0 -131
- package/node_modules/readable-stream/lib/_stream_passthrough.js +0 -47
- package/node_modules/readable-stream/lib/_stream_readable.js +0 -1019
- package/node_modules/readable-stream/lib/_stream_transform.js +0 -214
- package/node_modules/readable-stream/lib/_stream_writable.js +0 -687
- package/node_modules/readable-stream/lib/internal/streams/BufferList.js +0 -79
- package/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -74
- package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
- package/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
- package/node_modules/readable-stream/package.json +0 -85
- package/node_modules/readable-stream/passthrough.js +0 -1
- package/node_modules/readable-stream/readable-browser.js +0 -7
- package/node_modules/readable-stream/readable.js +0 -19
- package/node_modules/readable-stream/transform.js +0 -1
- package/node_modules/readable-stream/writable-browser.js +0 -1
- package/node_modules/readable-stream/writable.js +0 -8
- package/node_modules/safe-buffer/LICENSE +0 -21
- package/node_modules/safe-buffer/README.md +0 -584
- package/node_modules/safe-buffer/index.d.ts +0 -187
- package/node_modules/safe-buffer/index.js +0 -62
- package/node_modules/safe-buffer/package.json +0 -69
- package/node_modules/sqlstring/HISTORY.md +0 -43
- package/node_modules/sqlstring/LICENSE +0 -19
- package/node_modules/sqlstring/README.md +0 -206
- package/node_modules/sqlstring/index.js +0 -1
- package/node_modules/sqlstring/lib/SqlString.js +0 -237
- package/node_modules/sqlstring/package.json +0 -101
- package/node_modules/squel/CHANGELOG.md +0 -218
- package/node_modules/squel/CONTRIBUTING.md +0 -28
- package/node_modules/squel/LICENSE.md +0 -27
- package/node_modules/squel/README.md +0 -382
- package/node_modules/squel/RELEASE.md +0 -13
- package/node_modules/squel/dist/squel-basic.js +0 -3067
- package/node_modules/squel/dist/squel-basic.min.js +0 -2
- package/node_modules/squel/dist/squel.d.ts +0 -1750
- package/node_modules/squel/dist/squel.js +0 -3982
- package/node_modules/squel/dist/squel.min.js +0 -2
- package/node_modules/squel/gulpfile.js +0 -117
- package/node_modules/squel/package.json +0 -99
- package/node_modules/squel/performance/select.js +0 -22
- package/node_modules/string-escape/README.md +0 -352
- package/node_modules/string-escape/package.json +0 -60
- package/node_modules/string_decoder/.travis.yml +0 -50
- package/node_modules/string_decoder/LICENSE +0 -48
- package/node_modules/string_decoder/README.md +0 -47
- package/node_modules/string_decoder/lib/string_decoder.js +0 -296
- package/node_modules/string_decoder/package.json +0 -62
- package/node_modules/util-deprecate/History.md +0 -16
- package/node_modules/util-deprecate/LICENSE +0 -24
- package/node_modules/util-deprecate/README.md +0 -53
- package/node_modules/util-deprecate/browser.js +0 -67
- package/node_modules/util-deprecate/node.js +0 -6
- package/node_modules/util-deprecate/package.json +0 -59
|
@@ -1,1750 +0,0 @@
|
|
|
1
|
-
/* tslint:disable:max-file-line-count */
|
|
2
|
-
|
|
3
|
-
declare namespace squel {
|
|
4
|
-
type Flavour = "mssql" | "mysql" | "postgres";
|
|
5
|
-
|
|
6
|
-
type ValueHandler<T> = (value: T, asParam: boolean) => string | ParamString;
|
|
7
|
-
|
|
8
|
-
interface BuilderConstructor<B> {
|
|
9
|
-
new(options?: QueryBuilderOptions): B;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
/*
|
|
13
|
-
* ---------------------------------------------------------------------------------------------------------
|
|
14
|
-
* ---------------------------------------------------------------------------------------------------------
|
|
15
|
-
* Base classes
|
|
16
|
-
* ---------------------------------------------------------------------------------------------------------
|
|
17
|
-
* ---------------------------------------------------------------------------------------------------------
|
|
18
|
-
*/
|
|
19
|
-
|
|
20
|
-
interface ToParamOptions {
|
|
21
|
-
/**
|
|
22
|
-
* The index to start numbered parameter placeholders at. Default is `1`.
|
|
23
|
-
*/
|
|
24
|
-
numberedParametersStartAt: number;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Base class for cloneable builders
|
|
29
|
-
*/
|
|
30
|
-
interface Cloneable {
|
|
31
|
-
/**
|
|
32
|
-
* Clone this object instance.
|
|
33
|
-
*/
|
|
34
|
-
clone(): this;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
interface CompleteQueryBuilderOptions {
|
|
38
|
-
/**
|
|
39
|
-
* If `true` then table names will be rendered inside quotes. The quote character used is configurable via the
|
|
40
|
-
* `nameQuoteCharacter` option. `Default: (false)`.
|
|
41
|
-
*/
|
|
42
|
-
autoQuoteTableNames: boolean;
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* If `true` then field names will be rendered inside quotes. The quote character used is configurable via the
|
|
46
|
-
* `nameQuoteCharacter` option. `Default: (false)`.
|
|
47
|
-
*/
|
|
48
|
-
autoQuoteFieldNames: boolean;
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* If `true` then alias names will be rendered inside quotes. The quote character used is configurable via the
|
|
52
|
-
* `tableAliasQuoteCharacter` and `fieldAliasQuoteCharacter` options. `Default: (false)`.
|
|
53
|
-
*/
|
|
54
|
-
autoQuoteAliasNames: boolean;
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Use `AS` clause when outputting table aliases. `Default: (false)`.
|
|
58
|
-
*/
|
|
59
|
-
useAsForTableAliasNames: boolean;
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* The quote character used when quoting table and field names. <code>Default: (`)</code>.
|
|
63
|
-
*/
|
|
64
|
-
nameQuoteCharacter: string;
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* The quote character used when quoting table alias names. <code>Default: (`)</code>.
|
|
68
|
-
*/
|
|
69
|
-
tableAliasQuoteCharacter: string;
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* The quote character used when quoting field alias names. `Default: (")`.
|
|
73
|
-
*/
|
|
74
|
-
fieldAliasQuoteCharacter: string;
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Custom value type handlers for this builder. These override the handlers set for the given value types via
|
|
78
|
-
* [[Cls.registerValueHandler]] `Default: ([])`.
|
|
79
|
-
*/
|
|
80
|
-
valueHandlers: ValueHandler<any>[];
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* String used to represent a parameter value. `Default: (?)`.
|
|
84
|
-
*/
|
|
85
|
-
parameterCharacter: string;
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* Whether to use numbered parameters placeholders when building parameterized query strings.
|
|
89
|
-
* `Default: (false, postgres: true)`.
|
|
90
|
-
*/
|
|
91
|
-
numberedParameters: boolean;
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* Numbered parameters prefix character(s). `Default: ($)`.
|
|
95
|
-
*/
|
|
96
|
-
numberedParametersPrefix: string;
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* The index to start numbered parameter placeholders at. `Default: (1)`.
|
|
100
|
-
*/
|
|
101
|
-
numberedParametersStartAt: number;
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* Whether to replace single quotes within strings. The replacement is specified in
|
|
105
|
-
* `singleQuoteReplacement`. `Default: (false)`.
|
|
106
|
-
*/
|
|
107
|
-
replaceSingleQuotes: boolean;
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* What to replace single quotes with if replaceSingleQuotes is enabled. `Default: ('')`.
|
|
111
|
-
*/
|
|
112
|
-
singleQuoteReplacement: string;
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* String used to join individual blocks in a query when it is stringified. `Default: ( )`.
|
|
116
|
-
*/
|
|
117
|
-
separator: string;
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* Function to process string values, prior to insertion into a query string. `Default: (null)`.
|
|
121
|
-
*/
|
|
122
|
-
stringFormatter: any | null;
|
|
123
|
-
|
|
124
|
-
/**
|
|
125
|
-
* Whether to prevent the addition of brackets () when nesting this query builder's output. `Default: (false)`.
|
|
126
|
-
*/
|
|
127
|
-
rawNesting: boolean;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
type QueryBuilderOptions = Partial<CompleteQueryBuilderOptions>;
|
|
131
|
-
|
|
132
|
-
interface ParamString {
|
|
133
|
-
text: string;
|
|
134
|
-
values: any[];
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
export interface FormattingOptions {
|
|
138
|
-
// TODO
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
export interface BuildManyStringOptions {
|
|
142
|
-
/**
|
|
143
|
-
* Whether to build paramterized string. Default is false.
|
|
144
|
-
*/
|
|
145
|
-
buildParameterized?: boolean;
|
|
146
|
-
|
|
147
|
-
/**
|
|
148
|
-
* Whether this expression is nested within another.
|
|
149
|
-
*/
|
|
150
|
-
nested?: boolean;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
export interface BuildStringOptions extends BuildManyStringOptions {
|
|
154
|
-
/**
|
|
155
|
-
* Formatting options for values in query string.
|
|
156
|
-
*/
|
|
157
|
-
formattingOptions?: FormattingOptions;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
export interface FormatValueResult<T = any> {
|
|
161
|
-
formatted: boolean;
|
|
162
|
-
value: T;
|
|
163
|
-
rawNesting?: boolean;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* Base class for all builders
|
|
168
|
-
*/
|
|
169
|
-
interface BaseBuilder extends Cloneable {
|
|
170
|
-
options: CompleteQueryBuilderOptions;
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
* Register a custom value type handler. We may wish to use custom value types (e.g. `Date`) and have Squel
|
|
174
|
-
* automatically take care of formatting them when building the output query string.
|
|
175
|
-
*
|
|
176
|
-
* @param type The class object or `typeof` string representing the value type to handle
|
|
177
|
-
* @param handler The handler method to call when we wish to format this value for output in a query string
|
|
178
|
-
*/
|
|
179
|
-
registerValueHandler(type: {new(...args: any[]): any} | string, handler: ValueHandler<any>): this;
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* Build and return the final query string.
|
|
183
|
-
*/
|
|
184
|
-
toString(): string;
|
|
185
|
-
|
|
186
|
-
/**
|
|
187
|
-
* Build and return the final parameterized query string along with the list of formatted parameter values.
|
|
188
|
-
*
|
|
189
|
-
* @param options Additional options.
|
|
190
|
-
*/
|
|
191
|
-
toParam(options?: ToParamOptions): ParamString;
|
|
192
|
-
|
|
193
|
-
/**
|
|
194
|
-
* Sanitize given expression.
|
|
195
|
-
*
|
|
196
|
-
* Note: This ensures that the type is a string or BaseBuilder, else it throws an error
|
|
197
|
-
*/
|
|
198
|
-
_sanitizeExpression<T extends string | BaseBuilder>(expr: T): T;
|
|
199
|
-
|
|
200
|
-
/**
|
|
201
|
-
* Sanitize the given name.
|
|
202
|
-
*
|
|
203
|
-
* The 'type' parameter is used to construct a meaningful error message in case validation fails.
|
|
204
|
-
*/
|
|
205
|
-
_sanitizeName(value: string, type: string): string;
|
|
206
|
-
|
|
207
|
-
_sanitizeField<T extends string | BaseBuilder>(item: T): T;
|
|
208
|
-
|
|
209
|
-
_sanitizeBaseBuilder<T extends BaseBuilder>(item: T): T;
|
|
210
|
-
|
|
211
|
-
_sanitizeTable<T extends string | BaseBuilder>(item: T): T;
|
|
212
|
-
|
|
213
|
-
_sanitizeTableAlias(item: string): string;
|
|
214
|
-
|
|
215
|
-
_sanitizeFieldAlias(item: string): string;
|
|
216
|
-
|
|
217
|
-
/**
|
|
218
|
-
* Sanitize the given limit/offset value.
|
|
219
|
-
*/
|
|
220
|
-
_sanitizeLimitOffset(value: number): number;
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
* Santize the given field value
|
|
224
|
-
*/
|
|
225
|
-
_sanitizeValue<T>(item: T): T;
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
* Escape a string value, e.g. escape quotes and other characters within it.
|
|
229
|
-
*/
|
|
230
|
-
_escapeValue(value: string): string;
|
|
231
|
-
|
|
232
|
-
_formatTableName(item: string): string;
|
|
233
|
-
|
|
234
|
-
_formatFieldAlias(item: string): string;
|
|
235
|
-
|
|
236
|
-
_formatTableAlias(item: string): string;
|
|
237
|
-
|
|
238
|
-
_formatFieldName(item: string, formattingOptions?: {ignorePeriodsForFieldNameQuotes?: boolean}): string;
|
|
239
|
-
|
|
240
|
-
_formatCustomValue<T = any>(
|
|
241
|
-
value: T,
|
|
242
|
-
asParam: boolean,
|
|
243
|
-
formattingOptions?: FormattingOptions,
|
|
244
|
-
): FormatValueResult<T>;
|
|
245
|
-
|
|
246
|
-
// Note: this type definition does not handle multi-dimensional arrays
|
|
247
|
-
// TODO(demurgos): Handle multidimensional arrays
|
|
248
|
-
_formatValueForParamArray<T = any>(
|
|
249
|
-
value: T[],
|
|
250
|
-
formattingOptions?: FormattingOptions,
|
|
251
|
-
): FormatValueResult<T>[];
|
|
252
|
-
|
|
253
|
-
_formatValueForParamArray<T = any>(
|
|
254
|
-
value: T,
|
|
255
|
-
formattingOptions?: FormattingOptions,
|
|
256
|
-
): FormatValueResult<T>;
|
|
257
|
-
|
|
258
|
-
/**
|
|
259
|
-
* Format the given field value for inclusion into the query string
|
|
260
|
-
*/
|
|
261
|
-
_formatValueForQueryString(initialValue: any, formattingOptions?: FormattingOptions): string;
|
|
262
|
-
|
|
263
|
-
_applyNestingFormatting(str: string, nesting?: boolean): string;
|
|
264
|
-
|
|
265
|
-
/**
|
|
266
|
-
* Build given string and its corresponding parameter values into
|
|
267
|
-
* output.
|
|
268
|
-
*
|
|
269
|
-
* @param str
|
|
270
|
-
* @param values
|
|
271
|
-
* @param options Additional options.
|
|
272
|
-
*/
|
|
273
|
-
_buildString(str: string, values: any[], options?: BuildStringOptions): ParamString;
|
|
274
|
-
|
|
275
|
-
/**
|
|
276
|
-
* Build all given strings and their corresponding parameter values into
|
|
277
|
-
* output.
|
|
278
|
-
*
|
|
279
|
-
* @param strings
|
|
280
|
-
* @param strValues array of value arrays corresponding to each string.
|
|
281
|
-
* @param options Additional options.
|
|
282
|
-
*/
|
|
283
|
-
_buildManyStrings(strings: string[], strValues: any[][], options?: BuildManyStringOptions): ParamString;
|
|
284
|
-
|
|
285
|
-
_toParamString(options?: ToParamOptions): ParamString;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
/*
|
|
289
|
-
* ---------------------------------------------------------------------------------------------------------
|
|
290
|
-
* ---------------------------------------------------------------------------------------------------------
|
|
291
|
-
* Expression
|
|
292
|
-
* ---------------------------------------------------------------------------------------------------------
|
|
293
|
-
* ---------------------------------------------------------------------------------------------------------
|
|
294
|
-
*/
|
|
295
|
-
|
|
296
|
-
export interface ExpressionNode {
|
|
297
|
-
type: "AND" | "OR";
|
|
298
|
-
expr: string | BaseBuilder;
|
|
299
|
-
para: any[];
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
/**
|
|
303
|
-
* An SQL expression builder.
|
|
304
|
-
*
|
|
305
|
-
* SQL expressions are used in WHERE and ON clauses to filter data by various criteria.
|
|
306
|
-
*
|
|
307
|
-
* Expressions can be nested. Nested expression contains can themselves
|
|
308
|
-
* contain nested expressions. When rendered a nested expression will be
|
|
309
|
-
* fully contained within brackets.
|
|
310
|
-
*
|
|
311
|
-
* All the build methods in this object return the object instance for chained method calling purposes.
|
|
312
|
-
*/
|
|
313
|
-
interface Expression extends BaseBuilder {
|
|
314
|
-
_nodes: ExpressionNode[];
|
|
315
|
-
|
|
316
|
-
/**
|
|
317
|
-
* Add to the current expression using `AND`.
|
|
318
|
-
*
|
|
319
|
-
* @param expr The expression to add
|
|
320
|
-
* @param params The expression parameters supplied as additional arguments Default is `[]`.
|
|
321
|
-
*/
|
|
322
|
-
and(expr: string | Expression, ...params: any[]): this;
|
|
323
|
-
|
|
324
|
-
/**
|
|
325
|
-
* Add to the current expression using `OR`.
|
|
326
|
-
*
|
|
327
|
-
* @param expr The expression to add
|
|
328
|
-
* @param params The expression parameters supplied as additional arguments Default is `[]`.
|
|
329
|
-
*/
|
|
330
|
-
or(expr: string | Expression, ...params: any[]): this;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
/*
|
|
334
|
-
* ---------------------------------------------------------------------------------------------------------
|
|
335
|
-
* ---------------------------------------------------------------------------------------------------------
|
|
336
|
-
* Case
|
|
337
|
-
* ---------------------------------------------------------------------------------------------------------
|
|
338
|
-
* ---------------------------------------------------------------------------------------------------------
|
|
339
|
-
*/
|
|
340
|
-
|
|
341
|
-
export interface CaseItem {
|
|
342
|
-
expression: string;
|
|
343
|
-
values: any[];
|
|
344
|
-
result?: any;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
/**
|
|
348
|
-
* An SQL CASE expression builder.
|
|
349
|
-
*
|
|
350
|
-
* SQL cases are used to select proper values based on specific criteria.
|
|
351
|
-
*/
|
|
352
|
-
interface Case extends BaseBuilder {
|
|
353
|
-
_cases: CaseItem[];
|
|
354
|
-
_elseValue: any | null;
|
|
355
|
-
|
|
356
|
-
/**
|
|
357
|
-
* A `WHEN` clause
|
|
358
|
-
*
|
|
359
|
-
* @param expression The expression for the current case.
|
|
360
|
-
* @param values Additional arguments for parameter substitution. See guide for examples. Default is `null`.
|
|
361
|
-
*/
|
|
362
|
-
when(expression: string, ...values: any[]): this;
|
|
363
|
-
|
|
364
|
-
/**
|
|
365
|
-
* A THEN clause
|
|
366
|
-
*
|
|
367
|
-
* @param result The result for the current case.
|
|
368
|
-
*/
|
|
369
|
-
then(result: any): this;
|
|
370
|
-
|
|
371
|
-
/**
|
|
372
|
-
* An `ELSE` clause
|
|
373
|
-
*
|
|
374
|
-
* @param elseValue The else value for the current case.
|
|
375
|
-
*/
|
|
376
|
-
else(elseValue: any): this;
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
/*
|
|
380
|
-
* ---------------------------------------------------------------------------------------------------------
|
|
381
|
-
* ---------------------------------------------------------------------------------------------------------
|
|
382
|
-
* Building blocks
|
|
383
|
-
* ---------------------------------------------------------------------------------------------------------
|
|
384
|
-
* ---------------------------------------------------------------------------------------------------------
|
|
385
|
-
*/
|
|
386
|
-
|
|
387
|
-
/**
|
|
388
|
-
* A building block represents a single build-step within a query building process.
|
|
389
|
-
*
|
|
390
|
-
* Query builders consist of one or more building blocks which get run in a particular order. Building blocks can
|
|
391
|
-
* optionally specify methods to expose through the query builder interface. They can access all the input data for
|
|
392
|
-
* the query builder and manipulate it as necessary, as well as append to the final query string output.
|
|
393
|
-
*
|
|
394
|
-
* If you wish to customize how queries get built or add proprietary query phrases and content then it is
|
|
395
|
-
* recommended that you do so using one or more custom building blocks.
|
|
396
|
-
*
|
|
397
|
-
* Original idea posted in https://github.com/hiddentao/export/issues/10#issuecomment-15016427
|
|
398
|
-
*/
|
|
399
|
-
interface Block extends BaseBuilder {
|
|
400
|
-
/**
|
|
401
|
-
* Get input methods to expose within the query builder.
|
|
402
|
-
*
|
|
403
|
-
* By default all methods except the following get returned:
|
|
404
|
-
* methods prefixed with _
|
|
405
|
-
* constructor and toString()
|
|
406
|
-
*
|
|
407
|
-
* @return Object key -> function pairs
|
|
408
|
-
*/
|
|
409
|
-
exposedMethods(): {[key: string]: (...args: any[]) => any};
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
/**
|
|
413
|
-
* A fixed string which always gets output
|
|
414
|
-
*/
|
|
415
|
-
interface StringBlock extends Block {
|
|
416
|
-
_str: string;
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
interface StringBlockConstructor {
|
|
420
|
-
new(options: QueryBuilderOptions | undefined, str: string): StringBlock;
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
/**
|
|
424
|
-
* A function string block
|
|
425
|
-
*/
|
|
426
|
-
interface FunctionBlock extends Block {
|
|
427
|
-
_strings: string[];
|
|
428
|
-
_values: any[];
|
|
429
|
-
|
|
430
|
-
/**
|
|
431
|
-
* Insert a function value, see [[FunctionBlock]].
|
|
432
|
-
*/
|
|
433
|
-
function(str: string, ...value: any[]): void;
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
interface FunctionMixin {
|
|
437
|
-
/**
|
|
438
|
-
* Insert a function value, see [[FunctionBlock]].
|
|
439
|
-
*/
|
|
440
|
-
function(str: string, ...value: any[]): this;
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
export interface Table {
|
|
444
|
-
table: string | BaseBuilder;
|
|
445
|
-
alias: string | null;
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
interface TableBlockOptions extends QueryBuilderOptions {
|
|
449
|
-
/**
|
|
450
|
-
* If true then only allow one table spec.
|
|
451
|
-
*/
|
|
452
|
-
singleTable?: boolean;
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
interface AbstractTableBlock extends Block {
|
|
456
|
-
options: CompleteQueryBuilderOptions & TableBlockOptions;
|
|
457
|
-
|
|
458
|
-
_tables: Table[];
|
|
459
|
-
|
|
460
|
-
/**
|
|
461
|
-
* Update given table.
|
|
462
|
-
*
|
|
463
|
-
* An alias may also be specified for the table.
|
|
464
|
-
*
|
|
465
|
-
* Concrete subclasses should provide a method which calls this
|
|
466
|
-
*/
|
|
467
|
-
_table(table: string | BaseBuilder, alias?: string): void;
|
|
468
|
-
|
|
469
|
-
/**
|
|
470
|
-
* get whether a table has been set
|
|
471
|
-
*/
|
|
472
|
-
_hasTable(): boolean;
|
|
473
|
-
}
|
|
474
|
-
|
|
475
|
-
interface TargetTableBlock extends AbstractTableBlock {
|
|
476
|
-
target(table: string): void;
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
interface TargetTableMixin {
|
|
480
|
-
/**
|
|
481
|
-
* The actual target table whose data is to be deleted. Used in conjunction with `from()`.
|
|
482
|
-
*
|
|
483
|
-
* @param table Name of table.
|
|
484
|
-
*/
|
|
485
|
-
target(table: string): this;
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
interface UpdateTableBlock extends AbstractTableBlock {
|
|
489
|
-
table(name: string, alias?: string): void;
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
interface UpdateTableMixin {
|
|
493
|
-
/**
|
|
494
|
-
* A table to update.
|
|
495
|
-
*
|
|
496
|
-
* @param name Name of table.
|
|
497
|
-
* @param alias An alias by which to refer to this table. Default is `null`.
|
|
498
|
-
*/
|
|
499
|
-
table(name: string, alias?: string): this;
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
interface FromTableBlock extends AbstractTableBlock {
|
|
503
|
-
from(name: string | BaseBuilder, alias?: string): void;
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
interface FromTableMixin {
|
|
507
|
-
/**
|
|
508
|
-
* A table to select data from.
|
|
509
|
-
*
|
|
510
|
-
* @param name Name of table or a builder.
|
|
511
|
-
* @param alias An alias by which to refer to this table. Default is null.
|
|
512
|
-
*/
|
|
513
|
-
from(name: string | BaseBuilder, alias?: string): this;
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
interface IntoTableBlock extends AbstractTableBlock {
|
|
517
|
-
into(name: string): void;
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
interface IntoTableMixin {
|
|
521
|
-
/**
|
|
522
|
-
* The table to insert into.
|
|
523
|
-
*
|
|
524
|
-
* @param name Name of table.
|
|
525
|
-
*/
|
|
526
|
-
into(name: string): this;
|
|
527
|
-
}
|
|
528
|
-
|
|
529
|
-
interface FieldOptions {
|
|
530
|
-
/**
|
|
531
|
-
* When `autoQuoteFieldNames` is turned on this flag instructs it to ignore the period (.) character within field
|
|
532
|
-
* names. Default is `false`.
|
|
533
|
-
*/
|
|
534
|
-
ignorePeriodsForFieldNameQuotes?: boolean;
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
export interface Field {
|
|
538
|
-
alias: string | null;
|
|
539
|
-
field: string | BaseBuilder;
|
|
540
|
-
options: FieldOptions;
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
interface GetFieldBlock extends Block {
|
|
544
|
-
_fields: Field[];
|
|
545
|
-
|
|
546
|
-
/**
|
|
547
|
-
* Add the given field to the final result set.
|
|
548
|
-
*
|
|
549
|
-
* The 'field' parameter does not necessarily have to be a fieldname. It can use database functions too,
|
|
550
|
-
* e.g. DATE_FORMAT(a.started, "%H")
|
|
551
|
-
*
|
|
552
|
-
* An alias may also be specified for this field.
|
|
553
|
-
*/
|
|
554
|
-
field(name: string | BaseBuilder, alias?: string, options?: FieldOptions): this;
|
|
555
|
-
|
|
556
|
-
/**
|
|
557
|
-
* Add the given fields to the final result set.
|
|
558
|
-
*
|
|
559
|
-
* The parameter is an Object containing field names (or database functions) as the keys and aliases for the
|
|
560
|
-
* fields as the values. If the value for a key is null then no alias is set for that field.
|
|
561
|
-
*
|
|
562
|
-
* Internally this method simply calls the field() method of this block to add each individual field.
|
|
563
|
-
*/
|
|
564
|
-
fields(fields: {[field: string]: string} | string[], options?: FieldOptions): this;
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
interface GetFieldMixin {
|
|
568
|
-
/**
|
|
569
|
-
* Set a field to select data for.
|
|
570
|
-
*
|
|
571
|
-
* @param name Name of field OR an SQL expression such as `DATE_FORMAT` OR a builder.
|
|
572
|
-
* @param alias An alias by which to refer to this field. Default is `null`.
|
|
573
|
-
* @param options Additional options. Default is `null`.
|
|
574
|
-
*/
|
|
575
|
-
field(name: string | BaseBuilder, alias?: string, options?: FieldOptions): this;
|
|
576
|
-
|
|
577
|
-
/**
|
|
578
|
-
* Set fields to select data for.
|
|
579
|
-
*
|
|
580
|
-
* @param fields List of field:alias pairs OR Array of field names
|
|
581
|
-
* @param options Additional options. Default is `null`.
|
|
582
|
-
*/
|
|
583
|
-
fields(fields: {[field: string]: string} | string[], options?: FieldOptions): this;
|
|
584
|
-
}
|
|
585
|
-
|
|
586
|
-
/**
|
|
587
|
-
* Additional options for `update().set()`.
|
|
588
|
-
*/
|
|
589
|
-
interface SetOptions {
|
|
590
|
-
/**
|
|
591
|
-
* When `autoQuoteFieldNames` is turned on this flag instructs it to ignore the period (.) character within
|
|
592
|
-
* field names. Default is `false`.
|
|
593
|
-
*/
|
|
594
|
-
ignorePeriodsForFieldNameQuotes?: boolean;
|
|
595
|
-
|
|
596
|
-
/**
|
|
597
|
-
* If set and the value is a String then it will not be quoted in the output Default is `false`.
|
|
598
|
-
*/
|
|
599
|
-
dontQuote?: boolean;
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
/**
|
|
603
|
-
* Additional options for `update().setFields()`.
|
|
604
|
-
*/
|
|
605
|
-
interface SetFieldsOptions {
|
|
606
|
-
/**
|
|
607
|
-
* When `autoQuoteFieldNames` is turned on this flag instructs it to ignore the period (.) character within
|
|
608
|
-
* field names. Default is `false`.
|
|
609
|
-
*/
|
|
610
|
-
ignorePeriodsForFieldNameQuotes?: boolean;
|
|
611
|
-
}
|
|
612
|
-
|
|
613
|
-
interface AbstractSetFieldBlock extends Block {
|
|
614
|
-
_fields: (string | BaseBuilder)[];
|
|
615
|
-
_values: any[][];
|
|
616
|
-
_valueOptions: SetOptions[][];
|
|
617
|
-
|
|
618
|
-
_reset(): void;
|
|
619
|
-
|
|
620
|
-
/**
|
|
621
|
-
* Update the given field with the given value.
|
|
622
|
-
* This will override any previously set value for the given field.
|
|
623
|
-
*/
|
|
624
|
-
_set(field: string | BaseBuilder, value: any, options?: SetOptions): void;
|
|
625
|
-
|
|
626
|
-
/**
|
|
627
|
-
* Insert fields based on the key/value pairs in the given object
|
|
628
|
-
*/
|
|
629
|
-
_setFields(fields: {[field: string]: any}, options?: SetOptions): void;
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
interface SetFieldBlock extends AbstractSetFieldBlock {
|
|
633
|
-
set(name: string, value?: any, options?: SetOptions): this;
|
|
634
|
-
|
|
635
|
-
setFields(fields: {[field: string]: any}, options?: SetOptions): this;
|
|
636
|
-
|
|
637
|
-
/**
|
|
638
|
-
* Insert multiple rows for the given fields. Accepts an array of objects.
|
|
639
|
-
* This will override all previously set values for every field.
|
|
640
|
-
*/
|
|
641
|
-
setFieldsRows<T extends {[field: string]: any}>(fieldsRows: T[], options?: SetFieldsOptions): void;
|
|
642
|
-
}
|
|
643
|
-
|
|
644
|
-
interface SetFieldMixin {
|
|
645
|
-
/**
|
|
646
|
-
* Set a field to a value.
|
|
647
|
-
*
|
|
648
|
-
* @param name Name of field or an operation.
|
|
649
|
-
* @param value Value to set to field. Default is `undefined`.
|
|
650
|
-
* @param options Additional options. Default is `null`.
|
|
651
|
-
*/
|
|
652
|
-
set(name: string, value?: any, options?: SetOptions): this;
|
|
653
|
-
|
|
654
|
-
/**
|
|
655
|
-
* Set fields to given values.
|
|
656
|
-
*
|
|
657
|
-
* @param fields Field-value pairs.
|
|
658
|
-
* @param options Additional options. Default is `null`.
|
|
659
|
-
*/
|
|
660
|
-
setFields(fields: {[field: string]: any}, options?: SetFieldsOptions): this;
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
interface InsertFieldValueBlock extends AbstractSetFieldBlock {
|
|
664
|
-
set(name: string, value: any, options?: SetOptions): void;
|
|
665
|
-
|
|
666
|
-
setFields(name: {[field: string]: any}, options?: SetFieldsOptions): void;
|
|
667
|
-
|
|
668
|
-
setFieldsRows<T extends {[field: string]: any}>(fields: T[], options?: SetFieldsOptions): void;
|
|
669
|
-
}
|
|
670
|
-
|
|
671
|
-
interface InsertFieldValueMixin {
|
|
672
|
-
/**
|
|
673
|
-
* Set a field to a value.
|
|
674
|
-
*
|
|
675
|
-
* @param name Name of field.
|
|
676
|
-
* @param value Value to set to field.
|
|
677
|
-
* @param options Additional options. Default is `null`.
|
|
678
|
-
*/
|
|
679
|
-
set(name: string, value: any, options?: SetOptions): this;
|
|
680
|
-
|
|
681
|
-
/**
|
|
682
|
-
* Set fields to given values.
|
|
683
|
-
*
|
|
684
|
-
* @param name Field-value pairs.
|
|
685
|
-
* @param options Additional options. Default is `null`.
|
|
686
|
-
*/
|
|
687
|
-
setFields(name: {[field: string]: any}, options?: SetFieldsOptions): this;
|
|
688
|
-
|
|
689
|
-
/**
|
|
690
|
-
* Set fields to given values in the given rows (a multi-row insert).
|
|
691
|
-
*
|
|
692
|
-
* @param fields An array of objects, where each object is map of field-value pairs for that row
|
|
693
|
-
* @param options Additional options. Default is `null`.
|
|
694
|
-
*/
|
|
695
|
-
setFieldsRows<T extends {[field: string]: any}>(fields: T[], options?: SetFieldsOptions): this;
|
|
696
|
-
}
|
|
697
|
-
|
|
698
|
-
interface InsertFieldsFromQueryBlock extends Block {
|
|
699
|
-
_query: null | BaseBuilder;
|
|
700
|
-
|
|
701
|
-
fromQuery(columns: string[], selectQry: Select): void;
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
-
interface InsertFieldsFromQueryMixin {
|
|
705
|
-
/**
|
|
706
|
-
* Insert results of given `SELECT` query
|
|
707
|
-
*
|
|
708
|
-
* @param columns Names of columns to insert.
|
|
709
|
-
* @param selectQry The query to run.
|
|
710
|
-
*/
|
|
711
|
-
fromQuery(columns: string[], selectQry: Select): this;
|
|
712
|
-
}
|
|
713
|
-
|
|
714
|
-
interface DistinctBlock extends Block {
|
|
715
|
-
/**
|
|
716
|
-
* Add the DISTINCT keyword to the query.
|
|
717
|
-
*/
|
|
718
|
-
distinct(): void;
|
|
719
|
-
}
|
|
720
|
-
|
|
721
|
-
interface DistinctMixin {
|
|
722
|
-
/**
|
|
723
|
-
* Insert the DISTINCT keyword.
|
|
724
|
-
*/
|
|
725
|
-
distinct(): this;
|
|
726
|
-
}
|
|
727
|
-
|
|
728
|
-
interface GroupByBlock extends Block {
|
|
729
|
-
_groups: string[];
|
|
730
|
-
|
|
731
|
-
/**
|
|
732
|
-
* Add a GROUP BY transformation for the given field.
|
|
733
|
-
*/
|
|
734
|
-
group(field: string): this;
|
|
735
|
-
}
|
|
736
|
-
|
|
737
|
-
interface GroupByMixin {
|
|
738
|
-
/**
|
|
739
|
-
* Add an GROUP BY clause.
|
|
740
|
-
*
|
|
741
|
-
* @param field Name of field to group by.
|
|
742
|
-
*/
|
|
743
|
-
group(field: string): this;
|
|
744
|
-
}
|
|
745
|
-
|
|
746
|
-
interface VerbSingleValueBlockOptions extends QueryBuilderOptions {
|
|
747
|
-
/**
|
|
748
|
-
* The prefix verb string.
|
|
749
|
-
*/
|
|
750
|
-
verb?: string;
|
|
751
|
-
}
|
|
752
|
-
|
|
753
|
-
interface AbstractVerbSingleValueBlock extends Block {
|
|
754
|
-
options: CompleteQueryBuilderOptions & VerbSingleValueBlockOptions;
|
|
755
|
-
|
|
756
|
-
_value: number;
|
|
757
|
-
|
|
758
|
-
_setValue(value: number): void;
|
|
759
|
-
}
|
|
760
|
-
|
|
761
|
-
interface OffsetBlock extends AbstractVerbSingleValueBlock {
|
|
762
|
-
/**
|
|
763
|
-
* Set the OFFSET transformation.
|
|
764
|
-
*
|
|
765
|
-
* Call this will override the previously set offset for this query. Also note that Passing 0 for 'max' will
|
|
766
|
-
* remove the offset.
|
|
767
|
-
*/
|
|
768
|
-
offset(limit: number): void;
|
|
769
|
-
}
|
|
770
|
-
|
|
771
|
-
interface OffsetMixin {
|
|
772
|
-
/**
|
|
773
|
-
* Add an OFFSET clause.
|
|
774
|
-
*
|
|
775
|
-
* @param limit Index of record to start fetching from.
|
|
776
|
-
*/
|
|
777
|
-
offset(limit: number): this;
|
|
778
|
-
}
|
|
779
|
-
|
|
780
|
-
interface LimitBlock extends AbstractVerbSingleValueBlock {
|
|
781
|
-
/**
|
|
782
|
-
* Set the LIMIT transformation.
|
|
783
|
-
*
|
|
784
|
-
* Call this will override the previously set limit for this query. Also note that Passing 0 for 'max' will remove
|
|
785
|
-
* the limit.
|
|
786
|
-
*/
|
|
787
|
-
limit(limit: number): void;
|
|
788
|
-
}
|
|
789
|
-
|
|
790
|
-
interface LimitMixin {
|
|
791
|
-
/**
|
|
792
|
-
* Add a LIMIT clause.
|
|
793
|
-
*
|
|
794
|
-
* @param limit Number of records to limit the query to.
|
|
795
|
-
*/
|
|
796
|
-
limit(limit: number): this;
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
interface ConditionBlockOptions extends QueryBuilderOptions {
|
|
800
|
-
/**
|
|
801
|
-
* The condition verb.
|
|
802
|
-
*/
|
|
803
|
-
verb?: string;
|
|
804
|
-
}
|
|
805
|
-
|
|
806
|
-
interface Condition {
|
|
807
|
-
expr: string | Expression;
|
|
808
|
-
values: any[];
|
|
809
|
-
}
|
|
810
|
-
|
|
811
|
-
interface AbstractConditionBlock extends Block {
|
|
812
|
-
options: CompleteQueryBuilderOptions & ConditionBlockOptions;
|
|
813
|
-
|
|
814
|
-
_conditions: Condition[];
|
|
815
|
-
}
|
|
816
|
-
|
|
817
|
-
interface WhereBlock extends AbstractConditionBlock {
|
|
818
|
-
where(condition: string | Expression, ...args: any[]): void;
|
|
819
|
-
}
|
|
820
|
-
|
|
821
|
-
interface WhereMixin {
|
|
822
|
-
/**
|
|
823
|
-
* Add a WHERE condition.
|
|
824
|
-
*
|
|
825
|
-
* @param condition The condition expression.
|
|
826
|
-
* @param args Additional arguments for parameter substitution. See guide for examples. Default is `null`.
|
|
827
|
-
*/
|
|
828
|
-
where(condition: string | Expression, ...args: any[]): this;
|
|
829
|
-
}
|
|
830
|
-
|
|
831
|
-
interface HavingBlock extends AbstractConditionBlock {
|
|
832
|
-
having(condition: string | Expression, ...args: any[]): void;
|
|
833
|
-
}
|
|
834
|
-
|
|
835
|
-
interface HavingMixin {
|
|
836
|
-
/**
|
|
837
|
-
* Add a HAVING condition.
|
|
838
|
-
*
|
|
839
|
-
* @param condition The condition expression.
|
|
840
|
-
* @param args Additional arguments for parameter substitution. See guide for examples. Default
|
|
841
|
-
* is `null`.
|
|
842
|
-
*/
|
|
843
|
-
having(condition: string | Expression, ...args: any[]): this;
|
|
844
|
-
}
|
|
845
|
-
|
|
846
|
-
interface OrderByBlock extends Block {
|
|
847
|
-
/**
|
|
848
|
-
* Add an ORDER BY transformation for the given field in the given order.
|
|
849
|
-
*
|
|
850
|
-
* To specify descending order pass false for the 'dir' parameter.
|
|
851
|
-
*/
|
|
852
|
-
order(field: string, direction?: boolean | null, ...values: any[]): void;
|
|
853
|
-
}
|
|
854
|
-
|
|
855
|
-
interface OrderByMixin {
|
|
856
|
-
/**
|
|
857
|
-
* Add an ORDER BY clause.
|
|
858
|
-
*
|
|
859
|
-
* @param field Name of field to sort by.
|
|
860
|
-
* @param direction Sort direction. `true` = ascending, `false` = descending, `null` = no direction set.
|
|
861
|
-
* Default is `true`.
|
|
862
|
-
* @param values List of parameter values specified as additional arguments. Default is `[]`.
|
|
863
|
-
*/
|
|
864
|
-
order(field: string, direction?: boolean | null, ...values: any[]): this;
|
|
865
|
-
}
|
|
866
|
-
|
|
867
|
-
interface Join {
|
|
868
|
-
type: string;
|
|
869
|
-
table: string | BaseBuilder;
|
|
870
|
-
alias: string | null;
|
|
871
|
-
condition: string | Expression | null;
|
|
872
|
-
}
|
|
873
|
-
|
|
874
|
-
interface JoinBlock extends Block {
|
|
875
|
-
_joins: Join[];
|
|
876
|
-
|
|
877
|
-
/**
|
|
878
|
-
* Add a JOIN with the given table.
|
|
879
|
-
*
|
|
880
|
-
* 'table' is the name of the table to join with.
|
|
881
|
-
*
|
|
882
|
-
* 'alias' is an optional alias for the table name.
|
|
883
|
-
*
|
|
884
|
-
* 'condition' is an optional condition (containing an SQL expression) for the JOIN.
|
|
885
|
-
*
|
|
886
|
-
* 'type' must be either one of INNER, OUTER, LEFT or RIGHT. Default is 'INNER'.
|
|
887
|
-
*/
|
|
888
|
-
join(
|
|
889
|
-
name: string | BaseBuilder,
|
|
890
|
-
alias?: string,
|
|
891
|
-
condition?: string | Expression,
|
|
892
|
-
type?: "INNER" | "OUTER" | "LEFT" | "RIGHT",
|
|
893
|
-
): this;
|
|
894
|
-
|
|
895
|
-
left_join(name: string | BaseBuilder, alias?: string, condition?: string | Expression): this;
|
|
896
|
-
|
|
897
|
-
right_join(name: string | BaseBuilder, alias?: string, condition?: string | Expression): this;
|
|
898
|
-
|
|
899
|
-
outer_join(name: string | BaseBuilder, alias?: string, condition?: string | Expression): this;
|
|
900
|
-
|
|
901
|
-
cross_join(name: string | BaseBuilder, alias?: string, condition?: string | Expression): this;
|
|
902
|
-
}
|
|
903
|
-
|
|
904
|
-
interface JoinMixin {
|
|
905
|
-
/**
|
|
906
|
-
* Add an INNER JOIN.
|
|
907
|
-
*
|
|
908
|
-
* @param name The table to join on. Can be a a [[BaseBuilder]] instance.
|
|
909
|
-
* @param alias An alias by which to refer to this table. Default is `null`.
|
|
910
|
-
* @param condition A joining ON condition. Default is `null`.
|
|
911
|
-
*/
|
|
912
|
-
join(name: string | BaseBuilder, alias?: string, condition?: string | Expression): this;
|
|
913
|
-
|
|
914
|
-
/**
|
|
915
|
-
* Add a LEFT JOIN.
|
|
916
|
-
*
|
|
917
|
-
* @param name The table to join on. Can be a a [[cls.BaseBuilder]] instance.
|
|
918
|
-
* @param alias An alias by which to refer to this table. Default is `null`.
|
|
919
|
-
* @param condition A joining ON condition. Default is `null`.
|
|
920
|
-
*/
|
|
921
|
-
left_join(name: string | BaseBuilder, alias?: string, condition?: string | Expression): this;
|
|
922
|
-
|
|
923
|
-
/**
|
|
924
|
-
* Add a RIGHT JOIN.
|
|
925
|
-
*
|
|
926
|
-
* @param name The table to join on. Can be a a [[cls.BaseBuilder]] instance.
|
|
927
|
-
* @param alias An alias by which to refer to this table. Default is `null`.
|
|
928
|
-
* @param condition A joining ON condition. Default is `null`.
|
|
929
|
-
*/
|
|
930
|
-
right_join(name: string | BaseBuilder, alias?: string, condition?: string | Expression): this;
|
|
931
|
-
|
|
932
|
-
/**
|
|
933
|
-
* Add a OUTER JOIN.
|
|
934
|
-
*
|
|
935
|
-
* @param name The table to join on. Can be a a [[cls.BaseBuilder]] instance.
|
|
936
|
-
* @param alias An alias by which to refer to this table. Default is `null`.
|
|
937
|
-
* @param condition A joining ON condition. Default is `null`.
|
|
938
|
-
*/
|
|
939
|
-
outer_join(name: string | BaseBuilder, alias?: string, condition?: string | Expression): this;
|
|
940
|
-
|
|
941
|
-
/**
|
|
942
|
-
* Add a CROSS JOIN.
|
|
943
|
-
*
|
|
944
|
-
* @param name The table to join on. Can be a a [[cls.BaseBuilder]] instance.
|
|
945
|
-
* @param alias An alias by which to refer to this table. Default is `null`.
|
|
946
|
-
* @param condition A joining ON condition. Default is `null`.
|
|
947
|
-
*/
|
|
948
|
-
cross_join(name: string | BaseBuilder, alias?: string, condition?: string | Expression): this;
|
|
949
|
-
}
|
|
950
|
-
|
|
951
|
-
interface Union {
|
|
952
|
-
type: string;
|
|
953
|
-
table: QueryBuilder;
|
|
954
|
-
}
|
|
955
|
-
|
|
956
|
-
interface UnionBlock extends Block {
|
|
957
|
-
_unions: Union[];
|
|
958
|
-
|
|
959
|
-
/**
|
|
960
|
-
* Add a UNION with the given table/query.
|
|
961
|
-
*
|
|
962
|
-
* 'table' is the name of the table or query to union with.
|
|
963
|
-
*
|
|
964
|
-
* 'type' must be either one of UNION or UNION ALL.... Default is 'UNION'.
|
|
965
|
-
*/
|
|
966
|
-
union(table: QueryBuilder, type?: "UNION" | "UNION ALL"): void;
|
|
967
|
-
|
|
968
|
-
/**
|
|
969
|
-
* Add a UNION ALL with the given table/query.
|
|
970
|
-
*/
|
|
971
|
-
union_all(table: QueryBuilder): void;
|
|
972
|
-
}
|
|
973
|
-
|
|
974
|
-
interface UnionMixin {
|
|
975
|
-
/**
|
|
976
|
-
* Combine with another `SELECT` using `UNION`.
|
|
977
|
-
*
|
|
978
|
-
* @param query Another `SELECT` query to combine this query with.
|
|
979
|
-
*/
|
|
980
|
-
union(query: QueryBuilder): this;
|
|
981
|
-
|
|
982
|
-
/**
|
|
983
|
-
* Combine with another `SELECT` using `UNION ALL`.
|
|
984
|
-
*
|
|
985
|
-
* @param query Another `SELECT` query to combine this query with.
|
|
986
|
-
*/
|
|
987
|
-
union_all(query: QueryBuilder): this;
|
|
988
|
-
}
|
|
989
|
-
|
|
990
|
-
/* tslint:disable:member-ordering */
|
|
991
|
-
|
|
992
|
-
interface Cls {
|
|
993
|
-
/**
|
|
994
|
-
* Get whether obj is a query builder
|
|
995
|
-
*
|
|
996
|
-
* Note: this is a loose test checking for `_toParamString`
|
|
997
|
-
*/
|
|
998
|
-
isSquelBuilder(obj: any): obj is BaseBuilder;
|
|
999
|
-
|
|
1000
|
-
/**
|
|
1001
|
-
* Default configuration options for all query builders. These can be overridden in the query builder
|
|
1002
|
-
* constructors.
|
|
1003
|
-
*/
|
|
1004
|
-
DefaultQueryBuilderOptions: CompleteQueryBuilderOptions;
|
|
1005
|
-
|
|
1006
|
-
/**
|
|
1007
|
-
* Global custom value handlers for all instances of builder
|
|
1008
|
-
*/
|
|
1009
|
-
globalValueHandlers: ValueHandler<any>[];
|
|
1010
|
-
|
|
1011
|
-
/**
|
|
1012
|
-
* Register a custom value type handler. We may wish to use custom value types (e.g. `Date`) and have Squel
|
|
1013
|
-
* automatically take care of formatting them when building the output query string.
|
|
1014
|
-
*
|
|
1015
|
-
* @param type The class object or `typeof` string representing the value type to handle
|
|
1016
|
-
* @param handler The handler method to call when we wish to format this value for output in a query string
|
|
1017
|
-
*/
|
|
1018
|
-
registerValueHandler(type: {new(...args: any[]): any} | string, handler: ValueHandler<any>): void;
|
|
1019
|
-
|
|
1020
|
-
Cloneable: {new(): Cloneable};
|
|
1021
|
-
BaseBuilder: BuilderConstructor<BaseBuilder>;
|
|
1022
|
-
Expression: BuilderConstructor<Expression>;
|
|
1023
|
-
Case: {new(fieldName: string, options?: QueryBuilderOptions): Case};
|
|
1024
|
-
Block: BuilderConstructor<Block>;
|
|
1025
|
-
StringBlock: {new(options: QueryBuilderOptions | null, str: string): StringBlock};
|
|
1026
|
-
FunctionBlock: BuilderConstructor<FunctionBlock>;
|
|
1027
|
-
AbstractTableBlock: {new(options?: TableBlockOptions): AbstractTableBlock};
|
|
1028
|
-
TargetTableBlock: {new(options?: TableBlockOptions): TargetTableBlock};
|
|
1029
|
-
UpdateTableBlock: {new(options?: TableBlockOptions): UpdateTableBlock};
|
|
1030
|
-
FromTableBlock: {new(options?: TableBlockOptions): FromTableBlock};
|
|
1031
|
-
IntoTableBlock: {new(options?: TableBlockOptions): IntoTableBlock};
|
|
1032
|
-
GetFieldBlock: BuilderConstructor<GetFieldBlock>;
|
|
1033
|
-
AbstractSetFieldBlock: BuilderConstructor<AbstractSetFieldBlock>;
|
|
1034
|
-
SetFieldBlock: BuilderConstructor<SetFieldBlock>;
|
|
1035
|
-
InsertFieldValueBlock: BuilderConstructor<InsertFieldValueBlock>;
|
|
1036
|
-
InsertFieldsFromQueryBlock: BuilderConstructor<InsertFieldsFromQueryBlock>;
|
|
1037
|
-
DistinctBlock: BuilderConstructor<DistinctBlock>;
|
|
1038
|
-
GroupByBlock: BuilderConstructor<GroupByBlock>;
|
|
1039
|
-
AbstractVerbSingleValueBlock: {new(options?: VerbSingleValueBlockOptions): AbstractVerbSingleValueBlock};
|
|
1040
|
-
OffsetBlock: {new(options?: VerbSingleValueBlockOptions): OffsetBlock};
|
|
1041
|
-
LimitBlock: {new(options?: VerbSingleValueBlockOptions): LimitBlock};
|
|
1042
|
-
AbstractConditionBlock: {new(options?: ConditionBlockOptions): AbstractConditionBlock};
|
|
1043
|
-
WhereBlock: {new(options?: ConditionBlockOptions): WhereBlock};
|
|
1044
|
-
HavingBlock: {new(options?: ConditionBlockOptions): HavingBlock};
|
|
1045
|
-
OrderByBlock: BuilderConstructor<OrderByBlock>;
|
|
1046
|
-
JoinBlock: BuilderConstructor<JoinBlock>;
|
|
1047
|
-
UnionBlock: BuilderConstructor<UnionBlock>;
|
|
1048
|
-
|
|
1049
|
-
QueryBuilder: {
|
|
1050
|
-
new(options?: QueryBuilderOptions): QueryBuilder;
|
|
1051
|
-
new(options: QueryBuilderOptions | null, blocks: Block[]): QueryBuilder;
|
|
1052
|
-
};
|
|
1053
|
-
Select: {
|
|
1054
|
-
new(options?: QueryBuilderOptions): Select;
|
|
1055
|
-
new(options: QueryBuilderOptions | null, blocks: Block[]): QueryBuilder;
|
|
1056
|
-
};
|
|
1057
|
-
Update: {
|
|
1058
|
-
new(options?: QueryBuilderOptions): Update;
|
|
1059
|
-
new(options: QueryBuilderOptions | null, blocks: Block[]): QueryBuilder;
|
|
1060
|
-
};
|
|
1061
|
-
Delete: {
|
|
1062
|
-
new(options?: QueryBuilderOptions): Delete;
|
|
1063
|
-
new(options: QueryBuilderOptions | null, blocks: Block[]): QueryBuilder;
|
|
1064
|
-
};
|
|
1065
|
-
Insert: {
|
|
1066
|
-
new(options?: QueryBuilderOptions): Insert;
|
|
1067
|
-
new(options: QueryBuilderOptions | null, blocks: Block[]): QueryBuilder;
|
|
1068
|
-
};
|
|
1069
|
-
}
|
|
1070
|
-
|
|
1071
|
-
/* tslint:enable:member-ordering */
|
|
1072
|
-
|
|
1073
|
-
/*
|
|
1074
|
-
* ---------------------------------------------------------------------------------------------------------
|
|
1075
|
-
* ---------------------------------------------------------------------------------------------------------
|
|
1076
|
-
* Query builders
|
|
1077
|
-
* ---------------------------------------------------------------------------------------------------------
|
|
1078
|
-
* ---------------------------------------------------------------------------------------------------------
|
|
1079
|
-
*/
|
|
1080
|
-
|
|
1081
|
-
interface QueryBuilder extends BaseBuilder {
|
|
1082
|
-
blocks: Block[];
|
|
1083
|
-
|
|
1084
|
-
/**
|
|
1085
|
-
* Update query builder configuration options. This will pass on the options to all the registered
|
|
1086
|
-
* [[Block]] objects.
|
|
1087
|
-
*
|
|
1088
|
-
* @param options Options for configuring this query builder.
|
|
1089
|
-
*/
|
|
1090
|
-
updateOptions(options: QueryBuilderOptions): void;
|
|
1091
|
-
|
|
1092
|
-
getBlock<B extends Block = Block>(blockType: {new(...args: any[]): B}): B;
|
|
1093
|
-
}
|
|
1094
|
-
|
|
1095
|
-
/**
|
|
1096
|
-
* SELECT query builder.
|
|
1097
|
-
*/
|
|
1098
|
-
interface Select extends QueryBuilder,
|
|
1099
|
-
FunctionMixin,
|
|
1100
|
-
DistinctMixin,
|
|
1101
|
-
GetFieldMixin,
|
|
1102
|
-
FromTableMixin,
|
|
1103
|
-
JoinMixin,
|
|
1104
|
-
WhereMixin,
|
|
1105
|
-
GroupByMixin,
|
|
1106
|
-
HavingMixin,
|
|
1107
|
-
OrderByMixin,
|
|
1108
|
-
LimitMixin,
|
|
1109
|
-
OffsetMixin,
|
|
1110
|
-
UnionMixin {
|
|
1111
|
-
}
|
|
1112
|
-
|
|
1113
|
-
/**
|
|
1114
|
-
* UPDATE query builder.
|
|
1115
|
-
*/
|
|
1116
|
-
interface Update extends QueryBuilder,
|
|
1117
|
-
UpdateTableMixin,
|
|
1118
|
-
SetFieldMixin,
|
|
1119
|
-
WhereMixin,
|
|
1120
|
-
OrderByMixin,
|
|
1121
|
-
LimitMixin {
|
|
1122
|
-
}
|
|
1123
|
-
|
|
1124
|
-
/**
|
|
1125
|
-
* DELETE query builder.
|
|
1126
|
-
*/
|
|
1127
|
-
interface Delete extends QueryBuilder,
|
|
1128
|
-
TargetTableMixin,
|
|
1129
|
-
FromTableMixin,
|
|
1130
|
-
JoinMixin,
|
|
1131
|
-
WhereMixin,
|
|
1132
|
-
OrderByMixin,
|
|
1133
|
-
LimitMixin {
|
|
1134
|
-
}
|
|
1135
|
-
|
|
1136
|
-
/**
|
|
1137
|
-
* An INSERT query builder.
|
|
1138
|
-
*/
|
|
1139
|
-
interface Insert extends QueryBuilder,
|
|
1140
|
-
IntoTableMixin,
|
|
1141
|
-
InsertFieldValueMixin,
|
|
1142
|
-
InsertFieldsFromQueryMixin {
|
|
1143
|
-
}
|
|
1144
|
-
|
|
1145
|
-
/* tslint:disable:member-ordering */
|
|
1146
|
-
|
|
1147
|
-
interface Squel<S extends Select = Select,
|
|
1148
|
-
U extends Update = Update,
|
|
1149
|
-
D extends Delete = Delete,
|
|
1150
|
-
I extends Insert = Insert,
|
|
1151
|
-
C extends Case = Case> {
|
|
1152
|
-
/**
|
|
1153
|
-
* The version of Squel.
|
|
1154
|
-
*/
|
|
1155
|
-
readonly VERSION: string;
|
|
1156
|
-
|
|
1157
|
-
/**
|
|
1158
|
-
* The current "flavour" of this squel instance.
|
|
1159
|
-
*/
|
|
1160
|
-
readonly flavour: Flavour | null;
|
|
1161
|
-
|
|
1162
|
-
/**
|
|
1163
|
-
* Create a SELECT query builder instance.
|
|
1164
|
-
*
|
|
1165
|
-
* @param options Options for configuring this query builder. Default is [[DefaultQueryBuilderOptions]].
|
|
1166
|
-
*/
|
|
1167
|
-
select(options?: QueryBuilderOptions): S;
|
|
1168
|
-
|
|
1169
|
-
/**
|
|
1170
|
-
* Create a custom SELECT query builder instance.
|
|
1171
|
-
*
|
|
1172
|
-
* @param options Options for configuring this query builder. Default is [[DefaultQueryBuilderOptions]].
|
|
1173
|
-
* @param blocks List of [[Block]] objects which make up the functionality of this builder.
|
|
1174
|
-
*/
|
|
1175
|
-
select(options: QueryBuilderOptions | null, blocks: Block[]): QueryBuilder;
|
|
1176
|
-
|
|
1177
|
-
/**
|
|
1178
|
-
* Create an UPDATE query builder instance.
|
|
1179
|
-
*
|
|
1180
|
-
* @param options Options for configuring this query builder. Default is [[DefaultQueryBuilderOptions]].
|
|
1181
|
-
*/
|
|
1182
|
-
update(options?: QueryBuilderOptions): U;
|
|
1183
|
-
|
|
1184
|
-
/**
|
|
1185
|
-
* Create a custom UPDATE query builder instance.
|
|
1186
|
-
*
|
|
1187
|
-
* @param options Options for configuring this query builder. Default is [[DefaultQueryBuilderOptions]].
|
|
1188
|
-
* @param blocks List of [[Block]] objects which make up the functionality of this builder.
|
|
1189
|
-
*/
|
|
1190
|
-
update(options: QueryBuilderOptions | null, blocks: Block[]): QueryBuilder;
|
|
1191
|
-
|
|
1192
|
-
/**
|
|
1193
|
-
* Create a DELETE query builder instance.
|
|
1194
|
-
*
|
|
1195
|
-
* @param options Options for configuring this query builder. Default is [[DefaultQueryBuilderOptions]].
|
|
1196
|
-
*/
|
|
1197
|
-
delete(options?: QueryBuilderOptions): D;
|
|
1198
|
-
|
|
1199
|
-
/**
|
|
1200
|
-
* Create a custom DELETE query builder instance.
|
|
1201
|
-
*
|
|
1202
|
-
* @param options Options for configuring this query builder. Default is [[DefaultQueryBuilderOptions]].
|
|
1203
|
-
* @param blocks List of [[Block]] objects which make up the functionality of this builder.
|
|
1204
|
-
*/
|
|
1205
|
-
delete(options: QueryBuilderOptions | null, blocks: Block[]): QueryBuilder;
|
|
1206
|
-
|
|
1207
|
-
/**
|
|
1208
|
-
* Alias for [[delete]]
|
|
1209
|
-
*/
|
|
1210
|
-
remove(options?: QueryBuilderOptions): D;
|
|
1211
|
-
|
|
1212
|
-
/**
|
|
1213
|
-
* Alias for [[delete]]
|
|
1214
|
-
*/
|
|
1215
|
-
remove(options: QueryBuilderOptions | null, blocks: Block[]): QueryBuilder;
|
|
1216
|
-
|
|
1217
|
-
/**
|
|
1218
|
-
* Create an INSERT query builder instance.
|
|
1219
|
-
*
|
|
1220
|
-
* @param options Options for configuring this query builder. Default is [[DefaultQueryBuilderOptions]].
|
|
1221
|
-
*/
|
|
1222
|
-
insert(options?: QueryBuilderOptions): I;
|
|
1223
|
-
|
|
1224
|
-
/**
|
|
1225
|
-
* Create a custom INSERT query builder instance.
|
|
1226
|
-
*
|
|
1227
|
-
* @param options Options for configuring this query builder. Default is [[DefaultQueryBuilderOptions]].
|
|
1228
|
-
* @param blocks List of [[Block]] objects which make up the functionality of this builder.
|
|
1229
|
-
*/
|
|
1230
|
-
insert(options: QueryBuilderOptions | null, blocks: Block[]): QueryBuilder;
|
|
1231
|
-
|
|
1232
|
-
/**
|
|
1233
|
-
* Create an INSERT query builder instance.
|
|
1234
|
-
*
|
|
1235
|
-
* @param name Name of field. Default is `null`.
|
|
1236
|
-
* @param options Options for configuring this query builder. Default is [[DefaultQueryBuilderOptions]].
|
|
1237
|
-
*/
|
|
1238
|
-
case(name: string, options?: QueryBuilderOptions): C;
|
|
1239
|
-
|
|
1240
|
-
/**
|
|
1241
|
-
* Create a custom INSERT query builder instance.
|
|
1242
|
-
*
|
|
1243
|
-
* @param name Name of field. Default is `null`.
|
|
1244
|
-
* @param options Options for configuring this query builder. Default is [[DefaultQueryBuilderOptions]].
|
|
1245
|
-
* @param blocks List of [[Block]] objects which make up the functionality of this builder.
|
|
1246
|
-
*/
|
|
1247
|
-
case(name: string, options: QueryBuilderOptions | null, blocks: Block[]): QueryBuilder;
|
|
1248
|
-
|
|
1249
|
-
/**
|
|
1250
|
-
* Create an SQL expression query builder instance.
|
|
1251
|
-
*/
|
|
1252
|
-
expr(): Expression;
|
|
1253
|
-
|
|
1254
|
-
/**
|
|
1255
|
-
* Construct a [[FunctionBlock]] instance for inclusion within a query as a value.
|
|
1256
|
-
*
|
|
1257
|
-
* @param str The expression, with parameter placeholders.
|
|
1258
|
-
* @param values The parameter values
|
|
1259
|
-
*/
|
|
1260
|
-
str(str: string, ...values: any[]): FunctionBlock;
|
|
1261
|
-
|
|
1262
|
-
/**
|
|
1263
|
-
* Same as [[cls.str]] but with the `rawNesting` option turned on.
|
|
1264
|
-
*
|
|
1265
|
-
* @param str The expression, with parameter placeholders.
|
|
1266
|
-
* @param values The parameter values
|
|
1267
|
-
*/
|
|
1268
|
-
rstr(str: string, ...values: any[]): FunctionBlock;
|
|
1269
|
-
|
|
1270
|
-
/**
|
|
1271
|
-
* Register a custom value type handler. We may wish to use custom value types (e.g. `Date`) and have Squel
|
|
1272
|
-
* automatically take care of formatting them when building the output query string.
|
|
1273
|
-
*
|
|
1274
|
-
* @param type The class object or `typeof` string representing the value type to handle
|
|
1275
|
-
* @param handler The handler method to call when we wish to format this value for output in a query string
|
|
1276
|
-
*/
|
|
1277
|
-
registerValueHandler(type: {new(...args: any[]): any} | string, handler: ValueHandler<any>): void;
|
|
1278
|
-
|
|
1279
|
-
/**
|
|
1280
|
-
* Classes and global methods in Squel.
|
|
1281
|
-
*/
|
|
1282
|
-
cls: Cls;
|
|
1283
|
-
|
|
1284
|
-
/**
|
|
1285
|
-
* Available flavours
|
|
1286
|
-
*/
|
|
1287
|
-
readonly flavours: {[flavour: string]: (s: Squel) => void};
|
|
1288
|
-
|
|
1289
|
-
/**
|
|
1290
|
-
* Get an instance of Squel for the MS-SQL SQL flavour.
|
|
1291
|
-
*
|
|
1292
|
-
* @param flavour The flavour of SQL to use.
|
|
1293
|
-
*/
|
|
1294
|
-
useFlavour(flavour: "mssql"): MssqlSquel;
|
|
1295
|
-
|
|
1296
|
-
/**
|
|
1297
|
-
* Get an instance of Squel for the MySQL SQL flavour.
|
|
1298
|
-
*
|
|
1299
|
-
* @param flavour The flavour of SQL to use.
|
|
1300
|
-
*/
|
|
1301
|
-
useFlavour(flavour: "mysql"): MysqlSquel;
|
|
1302
|
-
|
|
1303
|
-
/**
|
|
1304
|
-
* Get an instance of Squel for the Postgres SQL flavour.
|
|
1305
|
-
*
|
|
1306
|
-
* @param flavour The flavour of SQL to use.
|
|
1307
|
-
*/
|
|
1308
|
-
useFlavour(flavour: "postgres"): PostgresSquel;
|
|
1309
|
-
}
|
|
1310
|
-
|
|
1311
|
-
/* tslint:enable:member-ordering */
|
|
1312
|
-
|
|
1313
|
-
/*
|
|
1314
|
-
* ---------------------------------------------------------------------------------------------------------
|
|
1315
|
-
* ---------------------------------------------------------------------------------------------------------
|
|
1316
|
-
* MS-SQL Flavour
|
|
1317
|
-
* ---------------------------------------------------------------------------------------------------------
|
|
1318
|
-
* ---------------------------------------------------------------------------------------------------------
|
|
1319
|
-
*/
|
|
1320
|
-
interface MssqlLimitOffsetTopBlock extends Block {
|
|
1321
|
-
_limits: null | number;
|
|
1322
|
-
_offsets: null | number;
|
|
1323
|
-
|
|
1324
|
-
ParentBlock: {new(parent: Block): MssqlLimitOffsetTopBlock.ParentBlock};
|
|
1325
|
-
LimitBlock: {new(parent: Block): MssqlLimitOffsetTopBlock.LimitBlock};
|
|
1326
|
-
TopBlock: {new(parent: Block): MssqlLimitOffsetTopBlock.TopBlock};
|
|
1327
|
-
OffsetBlock: {new(parent: Block): MssqlLimitOffsetTopBlock.OffsetBlock};
|
|
1328
|
-
|
|
1329
|
-
LIMIT(): MssqlLimitOffsetTopBlock.LimitBlock;
|
|
1330
|
-
|
|
1331
|
-
TOP(): MssqlLimitOffsetTopBlock.TopBlock;
|
|
1332
|
-
|
|
1333
|
-
OFFSET(): MssqlLimitOffsetTopBlock.OffsetBlock;
|
|
1334
|
-
}
|
|
1335
|
-
|
|
1336
|
-
namespace MssqlLimitOffsetTopBlock {
|
|
1337
|
-
|
|
1338
|
-
interface ParentBlock extends Block {
|
|
1339
|
-
_parent: Block;
|
|
1340
|
-
}
|
|
1341
|
-
|
|
1342
|
-
interface LimitBlock extends ParentBlock {
|
|
1343
|
-
limit(max: number): void;
|
|
1344
|
-
}
|
|
1345
|
-
|
|
1346
|
-
interface LimitMixin {
|
|
1347
|
-
/**
|
|
1348
|
-
* Add a LIMIT clause.
|
|
1349
|
-
*
|
|
1350
|
-
* @param limit Number of records to limit the query to.
|
|
1351
|
-
*/
|
|
1352
|
-
limit(limit: number): this;
|
|
1353
|
-
}
|
|
1354
|
-
|
|
1355
|
-
interface TopBlock extends ParentBlock {
|
|
1356
|
-
top(max: number): void;
|
|
1357
|
-
}
|
|
1358
|
-
|
|
1359
|
-
interface TopMixin {
|
|
1360
|
-
/**
|
|
1361
|
-
* Insert the `TOP` keyword to limit the number of rows returned.
|
|
1362
|
-
*
|
|
1363
|
-
* @param num Number of rows or percentage of rows to limit to
|
|
1364
|
-
*/
|
|
1365
|
-
top(num: number): this;
|
|
1366
|
-
}
|
|
1367
|
-
|
|
1368
|
-
interface OffsetBlock extends ParentBlock {
|
|
1369
|
-
offset(start: number): void;
|
|
1370
|
-
}
|
|
1371
|
-
|
|
1372
|
-
interface OffsetMixin {
|
|
1373
|
-
/**
|
|
1374
|
-
* Add an OFFSET clause.
|
|
1375
|
-
*
|
|
1376
|
-
* @param limit Index of record to start fetching from.
|
|
1377
|
-
*/
|
|
1378
|
-
offset(limit: number): this;
|
|
1379
|
-
}
|
|
1380
|
-
}
|
|
1381
|
-
|
|
1382
|
-
interface MssqlUpdateTopBlock extends Block {
|
|
1383
|
-
limit(max: number): void;
|
|
1384
|
-
|
|
1385
|
-
top(max: number): void;
|
|
1386
|
-
}
|
|
1387
|
-
|
|
1388
|
-
interface MssqlUpdateTopMixin {
|
|
1389
|
-
/**
|
|
1390
|
-
* Add a LIMIT clause.
|
|
1391
|
-
*
|
|
1392
|
-
* @param limit Number of records to limit the query to.
|
|
1393
|
-
*/
|
|
1394
|
-
limit(limit: number): this;
|
|
1395
|
-
|
|
1396
|
-
/**
|
|
1397
|
-
* Insert the `TOP` keyword to limit the number of rows returned.
|
|
1398
|
-
*
|
|
1399
|
-
* @param num Number of rows or percentage of rows to limit to
|
|
1400
|
-
*/
|
|
1401
|
-
top(num: number): this;
|
|
1402
|
-
}
|
|
1403
|
-
|
|
1404
|
-
interface MssqlInsertFieldValueBlock extends InsertFieldValueBlock {
|
|
1405
|
-
_outputs: string[];
|
|
1406
|
-
|
|
1407
|
-
/**
|
|
1408
|
-
* add fields to the output clause
|
|
1409
|
-
*/
|
|
1410
|
-
output(fields: string | string[]): void;
|
|
1411
|
-
}
|
|
1412
|
-
|
|
1413
|
-
interface MssqlInsertFieldValueMixin extends InsertFieldValueMixin {
|
|
1414
|
-
/**
|
|
1415
|
-
* Add field to OUTPUT clause.
|
|
1416
|
-
*
|
|
1417
|
-
* @param name Name of field or array of field names.
|
|
1418
|
-
*/
|
|
1419
|
-
output(name: string | string[]): this;
|
|
1420
|
-
}
|
|
1421
|
-
|
|
1422
|
-
interface Output {
|
|
1423
|
-
name: string;
|
|
1424
|
-
alias: string | null;
|
|
1425
|
-
}
|
|
1426
|
-
|
|
1427
|
-
interface MssqlUpdateDeleteOutputBlock extends Block {
|
|
1428
|
-
_outputs: Output[];
|
|
1429
|
-
|
|
1430
|
-
/**
|
|
1431
|
-
* Add the given field to the final result set.
|
|
1432
|
-
*
|
|
1433
|
-
* The 'field' parameter does not necessarily have to be a fieldname. It can use database functions too,
|
|
1434
|
-
* e.g. DATE_FORMAT(a.started, "%H")
|
|
1435
|
-
*
|
|
1436
|
-
* An alias may also be specified for this field.
|
|
1437
|
-
*/
|
|
1438
|
-
output(output: string, alias?: string): void;
|
|
1439
|
-
|
|
1440
|
-
/**
|
|
1441
|
-
* Add the given fields to the final result set.
|
|
1442
|
-
*
|
|
1443
|
-
* The parameter is an Object containing field names (or database functions) as the keys and aliases for the
|
|
1444
|
-
* fields as the values. If the value for a key is null then no alias is set for that field.
|
|
1445
|
-
*
|
|
1446
|
-
* Internally this method simply calls the field() method of this block to add each individual field.
|
|
1447
|
-
*/
|
|
1448
|
-
outputs(outputs: {[field: string]: any}): void;
|
|
1449
|
-
}
|
|
1450
|
-
|
|
1451
|
-
interface MssqlUpdateDeleteOutputMixin {
|
|
1452
|
-
/**
|
|
1453
|
-
* Add field to OUTPUT clause.
|
|
1454
|
-
*
|
|
1455
|
-
* @param name Name of field.
|
|
1456
|
-
* @param alias An alias by which to refer to this field. Default is null.
|
|
1457
|
-
*/
|
|
1458
|
-
output(name: string, alias?: string): this;
|
|
1459
|
-
|
|
1460
|
-
/**
|
|
1461
|
-
* Add fields to `OUTPUT` clause.
|
|
1462
|
-
*
|
|
1463
|
-
* @param fields List of field:alias pairs.
|
|
1464
|
-
*/
|
|
1465
|
-
outputs(fields: {[field: string]: any}): this;
|
|
1466
|
-
}
|
|
1467
|
-
|
|
1468
|
-
interface MssqlCls extends Cls {
|
|
1469
|
-
MssqlLimitOffsetTopBlock: BuilderConstructor<MssqlLimitOffsetTopBlock>;
|
|
1470
|
-
MssqlUpdateTopBlock: BuilderConstructor<MssqlUpdateTopBlock>;
|
|
1471
|
-
MssqlInsertFieldValueBlock: BuilderConstructor<MssqlInsertFieldValueBlock>;
|
|
1472
|
-
MssqlUpdateDeleteOutputBlock: BuilderConstructor<MssqlUpdateDeleteOutputBlock>;
|
|
1473
|
-
|
|
1474
|
-
Select: {
|
|
1475
|
-
new(options?: QueryBuilderOptions): MssqlSelect;
|
|
1476
|
-
new(options: QueryBuilderOptions | null, blocks: Block[]): QueryBuilder;
|
|
1477
|
-
};
|
|
1478
|
-
Update: {
|
|
1479
|
-
new(options?: QueryBuilderOptions): MssqlUpdate;
|
|
1480
|
-
new(options: QueryBuilderOptions | null, blocks: Block[]): QueryBuilder;
|
|
1481
|
-
};
|
|
1482
|
-
Delete: {
|
|
1483
|
-
new(options?: QueryBuilderOptions): MssqlDelete;
|
|
1484
|
-
new(options: QueryBuilderOptions | null, blocks: Block[]): QueryBuilder;
|
|
1485
|
-
};
|
|
1486
|
-
Insert: {
|
|
1487
|
-
new(options?: QueryBuilderOptions): MssqlInsert;
|
|
1488
|
-
new(options: QueryBuilderOptions | null, blocks: Block[]): QueryBuilder;
|
|
1489
|
-
};
|
|
1490
|
-
}
|
|
1491
|
-
|
|
1492
|
-
/**
|
|
1493
|
-
* MS-SQL SELECT query builder.
|
|
1494
|
-
*/
|
|
1495
|
-
interface MssqlSelect extends Select,
|
|
1496
|
-
MssqlLimitOffsetTopBlock.TopMixin,
|
|
1497
|
-
MssqlLimitOffsetTopBlock.LimitMixin,
|
|
1498
|
-
MssqlLimitOffsetTopBlock.OffsetMixin {
|
|
1499
|
-
}
|
|
1500
|
-
|
|
1501
|
-
/**
|
|
1502
|
-
* MS-SQL UPDATE query builder.
|
|
1503
|
-
*/
|
|
1504
|
-
interface MssqlUpdate extends Update,
|
|
1505
|
-
MssqlUpdateDeleteOutputMixin {
|
|
1506
|
-
}
|
|
1507
|
-
|
|
1508
|
-
/**
|
|
1509
|
-
* MS-SQL DELETE query builder.
|
|
1510
|
-
*/
|
|
1511
|
-
interface MssqlDelete extends Delete,
|
|
1512
|
-
MssqlUpdateDeleteOutputMixin {
|
|
1513
|
-
}
|
|
1514
|
-
|
|
1515
|
-
/**
|
|
1516
|
-
* MS-SQL INSERT query builder.
|
|
1517
|
-
*/
|
|
1518
|
-
interface MssqlInsert extends Insert,
|
|
1519
|
-
MssqlInsertFieldValueMixin {
|
|
1520
|
-
}
|
|
1521
|
-
|
|
1522
|
-
interface MssqlSquel extends Squel<MssqlSelect, MssqlUpdate, MssqlDelete, MssqlInsert> {
|
|
1523
|
-
cls: MssqlCls;
|
|
1524
|
-
flavour: "mssql";
|
|
1525
|
-
}
|
|
1526
|
-
|
|
1527
|
-
/*
|
|
1528
|
-
* ---------------------------------------------------------------------------------------------------------
|
|
1529
|
-
* ---------------------------------------------------------------------------------------------------------
|
|
1530
|
-
* MySQL Flavour
|
|
1531
|
-
* ---------------------------------------------------------------------------------------------------------
|
|
1532
|
-
* ---------------------------------------------------------------------------------------------------------
|
|
1533
|
-
*/
|
|
1534
|
-
|
|
1535
|
-
interface OnDupUpdateOptions {
|
|
1536
|
-
/**
|
|
1537
|
-
* When `autoQuoteFieldNames` is turned on this flag instructs it to ignore the period (.) character within field
|
|
1538
|
-
* names. Default is `false`.
|
|
1539
|
-
*/
|
|
1540
|
-
ignorePeriodsForFieldNameQuotes: boolean;
|
|
1541
|
-
|
|
1542
|
-
/**
|
|
1543
|
-
* If set and the value is a String then it will not be quoted in the output Default is `false`.
|
|
1544
|
-
*/
|
|
1545
|
-
dontQuote: boolean;
|
|
1546
|
-
}
|
|
1547
|
-
|
|
1548
|
-
interface MysqlOnDuplicateKeyUpdateBlock extends AbstractSetFieldBlock {
|
|
1549
|
-
onDupUpdate(name: string, value: any, options?: OnDupUpdateOptions): void;
|
|
1550
|
-
}
|
|
1551
|
-
|
|
1552
|
-
interface MysqlOnDuplicateKeyUpdateMixin {
|
|
1553
|
-
/**
|
|
1554
|
-
* Add an ON DUPLICATE KEY UPDATE clause for given field
|
|
1555
|
-
*
|
|
1556
|
-
* @param name Name of field.
|
|
1557
|
-
* @param value Value to set to field.
|
|
1558
|
-
* @param options
|
|
1559
|
-
*/
|
|
1560
|
-
onDupUpdate(name: string, value: any, options?: OnDupUpdateOptions): this;
|
|
1561
|
-
}
|
|
1562
|
-
|
|
1563
|
-
interface MysqlCls extends Cls {
|
|
1564
|
-
MysqlOnDuplicateKeyUpdateBlock: BuilderConstructor<MysqlOnDuplicateKeyUpdateBlock>;
|
|
1565
|
-
Insert: {
|
|
1566
|
-
new(options?: QueryBuilderOptions): MysqlInsert;
|
|
1567
|
-
new(options: QueryBuilderOptions | null, blocks: Block[]): QueryBuilder;
|
|
1568
|
-
};
|
|
1569
|
-
}
|
|
1570
|
-
|
|
1571
|
-
/**
|
|
1572
|
-
* MySQL INSERT query builder.
|
|
1573
|
-
*/
|
|
1574
|
-
interface MysqlInsert extends Insert,
|
|
1575
|
-
MysqlOnDuplicateKeyUpdateMixin {
|
|
1576
|
-
}
|
|
1577
|
-
|
|
1578
|
-
/**
|
|
1579
|
-
* MySQL REPLACE query builder.
|
|
1580
|
-
*/
|
|
1581
|
-
interface Replace extends QueryBuilder,
|
|
1582
|
-
IntoTableMixin,
|
|
1583
|
-
InsertFieldValueBlock,
|
|
1584
|
-
InsertFieldsFromQueryMixin {
|
|
1585
|
-
}
|
|
1586
|
-
|
|
1587
|
-
interface MysqlSquel extends Squel<Select, Update, Delete, MysqlInsert> {
|
|
1588
|
-
cls: MysqlCls;
|
|
1589
|
-
flavour: "mysql";
|
|
1590
|
-
|
|
1591
|
-
/**
|
|
1592
|
-
* Create a REPLACE query builder instance.
|
|
1593
|
-
*
|
|
1594
|
-
* @param options Options for configuring this query builder. Default is [[DefaultQueryBuilderOptions]].
|
|
1595
|
-
*/
|
|
1596
|
-
replace(options?: QueryBuilderOptions): Replace;
|
|
1597
|
-
|
|
1598
|
-
/**
|
|
1599
|
-
* Create a custom REPLACE query builder instance.
|
|
1600
|
-
*
|
|
1601
|
-
* @param options Options for configuring this query builder. Default is [[DefaultQueryBuilderOptions]].
|
|
1602
|
-
* @param blocks List of [[Block]] objects which make up the functionality of this builder.
|
|
1603
|
-
*/
|
|
1604
|
-
replace(options: QueryBuilderOptions | null, blocks: Block[]): QueryBuilder;
|
|
1605
|
-
}
|
|
1606
|
-
|
|
1607
|
-
/*
|
|
1608
|
-
* ---------------------------------------------------------------------------------------------------------
|
|
1609
|
-
* ---------------------------------------------------------------------------------------------------------
|
|
1610
|
-
* Postgres Flavour
|
|
1611
|
-
* ---------------------------------------------------------------------------------------------------------
|
|
1612
|
-
* ---------------------------------------------------------------------------------------------------------
|
|
1613
|
-
*/
|
|
1614
|
-
interface PostgresOnConflictKeyUpdateBlock extends AbstractSetFieldBlock {
|
|
1615
|
-
_onConflict?: boolean;
|
|
1616
|
-
_dupFields?: string[];
|
|
1617
|
-
|
|
1618
|
-
onConflict(conflictFields: string | string[], fields?: {[field: string]: any}): void;
|
|
1619
|
-
}
|
|
1620
|
-
|
|
1621
|
-
interface PostgresOnConflictKeyUpdateMixin {
|
|
1622
|
-
/**
|
|
1623
|
-
* Add `ON CONFLICT...DO UPDATE/DO NOTHING` clause.
|
|
1624
|
-
*
|
|
1625
|
-
* @param field Name of field. Default is `null`.
|
|
1626
|
-
* @param fieldsToSet Field-value pairs. Default is `null`.
|
|
1627
|
-
*/
|
|
1628
|
-
onConflict(field?: string, fieldsToSet?: {[field: string]: any}): this;
|
|
1629
|
-
}
|
|
1630
|
-
|
|
1631
|
-
interface ReturningBlock extends Block {
|
|
1632
|
-
_fields: Field[];
|
|
1633
|
-
|
|
1634
|
-
returning(name: string | BaseBuilder, alias?: string): void;
|
|
1635
|
-
}
|
|
1636
|
-
|
|
1637
|
-
interface ReturningMixin {
|
|
1638
|
-
/**
|
|
1639
|
-
* Add field to RETURNING clause.
|
|
1640
|
-
*
|
|
1641
|
-
* @param name Name of field OR an SQL output expression.
|
|
1642
|
-
* @param alias An alias by which to refer to this field. Default is `null`.
|
|
1643
|
-
*/
|
|
1644
|
-
returning(name: string | BaseBuilder, alias?: string): this;
|
|
1645
|
-
}
|
|
1646
|
-
|
|
1647
|
-
interface WithBlock extends Block {
|
|
1648
|
-
_tables: QueryBuilder[];
|
|
1649
|
-
|
|
1650
|
-
with(alias: string, table: QueryBuilder): void;
|
|
1651
|
-
}
|
|
1652
|
-
|
|
1653
|
-
interface WithMixin {
|
|
1654
|
-
/**
|
|
1655
|
-
* Combine with another query using a Common Table Expression (CTE), ie a `WITH` clause
|
|
1656
|
-
*
|
|
1657
|
-
* @param alias The alias that the table expression should use
|
|
1658
|
-
* @param table Another query to include as a Common Table Expression
|
|
1659
|
-
*/
|
|
1660
|
-
with(alias: string, table: QueryBuilder): this;
|
|
1661
|
-
}
|
|
1662
|
-
|
|
1663
|
-
interface DistinctOnBlock extends Block {
|
|
1664
|
-
_useDistinct?: boolean;
|
|
1665
|
-
_distinctFields: string[];
|
|
1666
|
-
|
|
1667
|
-
distinct(...fields: string[]): void;
|
|
1668
|
-
}
|
|
1669
|
-
|
|
1670
|
-
interface DistinctOnMixin {
|
|
1671
|
-
/**
|
|
1672
|
-
* Insert the DISTINCT keyword.
|
|
1673
|
-
*
|
|
1674
|
-
* @param fields One or more field names to use. If passed, this will insert a `DISTINCT ON` clause.
|
|
1675
|
-
* Default is `undefined`.
|
|
1676
|
-
*/
|
|
1677
|
-
distinct(...fields: string[]): this;
|
|
1678
|
-
}
|
|
1679
|
-
|
|
1680
|
-
interface PostgresCls extends Cls {
|
|
1681
|
-
PostgresOnConflictKeyUpdateBlock: BuilderConstructor<PostgresOnConflictKeyUpdateBlock>;
|
|
1682
|
-
ReturningBlock: BuilderConstructor<ReturningBlock>;
|
|
1683
|
-
WithBlock: BuilderConstructor<WithBlock>;
|
|
1684
|
-
DistinctOnBlock: BuilderConstructor<DistinctOnBlock>;
|
|
1685
|
-
|
|
1686
|
-
Select: {
|
|
1687
|
-
new(options?: QueryBuilderOptions): PostgresSelect;
|
|
1688
|
-
new(options: QueryBuilderOptions | null, blocks: Block[]): QueryBuilder;
|
|
1689
|
-
};
|
|
1690
|
-
Update: {
|
|
1691
|
-
new(options?: QueryBuilderOptions): PostgresUpdate;
|
|
1692
|
-
new(options: QueryBuilderOptions | null, blocks: Block[]): QueryBuilder;
|
|
1693
|
-
};
|
|
1694
|
-
Delete: {
|
|
1695
|
-
new(options?: QueryBuilderOptions): PostgresDelete;
|
|
1696
|
-
new(options: QueryBuilderOptions | null, blocks: Block[]): QueryBuilder;
|
|
1697
|
-
};
|
|
1698
|
-
Insert: {
|
|
1699
|
-
new(options?: QueryBuilderOptions): PostgresInsert;
|
|
1700
|
-
new(options: QueryBuilderOptions | null, blocks: Block[]): QueryBuilder;
|
|
1701
|
-
};
|
|
1702
|
-
}
|
|
1703
|
-
|
|
1704
|
-
interface PostgresSelect extends Select,
|
|
1705
|
-
WithMixin,
|
|
1706
|
-
DistinctOnMixin {
|
|
1707
|
-
/**
|
|
1708
|
-
* Insert the DISTINCT keyword.
|
|
1709
|
-
*
|
|
1710
|
-
* @param fields One or more field names to use. If passed, this will insert a `DISTINCT ON` clause.
|
|
1711
|
-
* Default is `undefined`.
|
|
1712
|
-
*/
|
|
1713
|
-
distinct(...fields: string[]): this;
|
|
1714
|
-
}
|
|
1715
|
-
|
|
1716
|
-
/**
|
|
1717
|
-
* Postgres INSERT query builder
|
|
1718
|
-
*/
|
|
1719
|
-
interface PostgresInsert extends Insert,
|
|
1720
|
-
PostgresOnConflictKeyUpdateMixin,
|
|
1721
|
-
WithMixin,
|
|
1722
|
-
ReturningMixin {
|
|
1723
|
-
}
|
|
1724
|
-
|
|
1725
|
-
/**
|
|
1726
|
-
* Postgres UPDATE query builder
|
|
1727
|
-
*/
|
|
1728
|
-
interface PostgresUpdate extends Update,
|
|
1729
|
-
WithMixin,
|
|
1730
|
-
ReturningMixin,
|
|
1731
|
-
FromTableMixin {
|
|
1732
|
-
}
|
|
1733
|
-
|
|
1734
|
-
/**
|
|
1735
|
-
* Postgres DELETE query builder
|
|
1736
|
-
*/
|
|
1737
|
-
interface PostgresDelete extends Delete,
|
|
1738
|
-
WithMixin,
|
|
1739
|
-
ReturningMixin {
|
|
1740
|
-
}
|
|
1741
|
-
|
|
1742
|
-
interface PostgresSquel extends Squel<PostgresSelect, PostgresUpdate, PostgresDelete, PostgresInsert> {
|
|
1743
|
-
cls: PostgresCls;
|
|
1744
|
-
flavour: "postgres";
|
|
1745
|
-
}
|
|
1746
|
-
}
|
|
1747
|
-
|
|
1748
|
-
declare const squel: squel.Squel & {flavour: null};
|
|
1749
|
-
|
|
1750
|
-
export = squel;
|