@mionjs/run-types 0.13.0 → 0.14.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 +3 -3
- package/dist/builders/atomic.js.map +1 -1
- package/dist/builders/compose.js.map +1 -1
- package/dist/builders/index.js.map +1 -1
- package/dist/builders/static.js.map +1 -1
- package/dist/builders/utility.js.map +1 -1
- package/dist/createRTFunctions.js.map +1 -1
- package/dist/enrich/createFriendlyText.js.map +1 -1
- package/dist/enrich/friendlyText.js.map +1 -1
- package/dist/enrich/mockData.js.map +1 -1
- package/dist/fnHash.js.map +1 -1
- package/dist/formats/bigintFormats.js.map +1 -1
- package/dist/formats/datetime/dateFormats.js.map +1 -1
- package/dist/formats/datetime/dateTime-pure-fns.d.ts +21 -21
- package/dist/formats/datetime/dateTime-pure-fns.js +7 -0
- package/dist/formats/datetime/dateTime-pure-fns.js.map +1 -1
- package/dist/formats/datetime/dateTimeParams.js.map +1 -1
- package/dist/formats/datetime/stringDateTimeFormats.js.map +1 -1
- package/dist/formats/datetime/temporalFormats.js.map +1 -1
- package/dist/formats/index.js.map +1 -1
- package/dist/formats/numberFormats.js.map +1 -1
- package/dist/formats/refineFormat.js.map +1 -1
- package/dist/formats/scalars.js.map +1 -1
- package/dist/formats/string/credit-card-pure-fns.d.ts +4 -4
- package/dist/formats/string/credit-card-pure-fns.js.map +1 -1
- package/dist/formats/string/string-formats-pure-fns.d.ts +12 -12
- package/dist/formats/string/string-formats-pure-fns.js +9 -0
- package/dist/formats/string/string-formats-pure-fns.js.map +1 -1
- package/dist/formats/string/string-patterns.js.map +1 -1
- package/dist/formats/string/stringFormats.js.map +1 -1
- package/dist/formats/structural.js.map +1 -1
- package/dist/getRunType.js.map +1 -1
- package/dist/go-generated/fnHashes.generated.js.map +1 -1
- package/dist/go-generated/formatErrorKeys.generated.js.map +1 -1
- package/dist/go-generated/runTypeKind.generated.js.map +1 -1
- package/dist/go-generated/typeFormats.generated.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/markers.js.map +1 -1
- package/dist/mion-pure-fns/_rt/-yTRFuK01Y.js +2 -0
- package/dist/mion-pure-fns/_rt/0yJQ37XnmN.js +2 -0
- package/dist/mion-pure-fns/_rt/2xtQHAMu-y.js +1 -0
- package/dist/mion-pure-fns/_rt/3RndhrueRD.js +2 -0
- package/dist/mion-pure-fns/_rt/5oCqd7YyfA.js +1 -0
- package/dist/mion-pure-fns/_rt/6E7qWsIwaF.js +1 -0
- package/dist/mion-pure-fns/_rt/8AgZCCAhyw.js +1 -0
- package/dist/mion-pure-fns/_rt/AmEsDA-eXW.js +2 -0
- package/dist/mion-pure-fns/_rt/D503ooPt08.js +2 -0
- package/dist/mion-pure-fns/_rt/GA20s6bj41.js +1 -0
- package/dist/mion-pure-fns/_rt/GaLOTE4b_F.js +2 -0
- package/dist/mion-pure-fns/_rt/ICDNQUtC8e.js +1 -0
- package/dist/mion-pure-fns/_rt/IyjvBbz0zS.js +1 -0
- package/dist/mion-pure-fns/_rt/Nnf7kyDfjI.js +2 -0
- package/dist/mion-pure-fns/_rt/OCJ1B0-ZCA.js +1 -0
- package/dist/mion-pure-fns/_rt/OXVO2EpSFv.js +1 -0
- package/dist/mion-pure-fns/_rt/PZzwu-J2YB.js +2 -0
- package/dist/mion-pure-fns/_rt/Qd_9GJQlOC.js +1 -0
- package/dist/mion-pure-fns/_rt/T48n0wyjPx.js +2 -0
- package/dist/mion-pure-fns/_rt/VJiknJ2exR.js +1 -0
- package/dist/mion-pure-fns/_rt/Z2sc5xQPKB.js +1 -0
- package/dist/mion-pure-fns/_rt/ZPLfUKoTJQ.js +1 -0
- package/dist/mion-pure-fns/_rt/_abcB3do2M.js +1 -0
- package/dist/mion-pure-fns/_rt/cK87_2eKQW.js +1 -0
- package/dist/mion-pure-fns/_rt/cgwpjq6rGs.js +1 -0
- package/dist/mion-pure-fns/_rt/d8U9HjmMsN.js +1 -0
- package/dist/mion-pure-fns/_rt/eglb1lzTW9.js +1 -0
- package/dist/mion-pure-fns/_rt/eupKgBrCGt.js +2 -0
- package/dist/mion-pure-fns/_rt/gNpMnJMAUE.js +4 -0
- package/dist/mion-pure-fns/_rt/hiotRbfSKF.js +1 -0
- package/dist/mion-pure-fns/_rt/i-jWpjiwhL.js +1 -0
- package/dist/mion-pure-fns/_rt/iFXkEtW54e.js +1 -0
- package/dist/mion-pure-fns/_rt/jKlKNzqG2-.js +1 -0
- package/dist/mion-pure-fns/_rt/kSLD_nEHux.js +1 -0
- package/dist/mion-pure-fns/_rt/lBHf1kg5nQ.js +1 -0
- package/dist/mion-pure-fns/_rt/lFYcgG5ZSI.js +1 -0
- package/dist/mion-pure-fns/_rt/nLaf1XVvS4.js +2 -0
- package/dist/mion-pure-fns/_rt/n_ZOWff4X3.js +1 -0
- package/dist/mion-pure-fns/_rt/nsU8QeJCuC.js +1 -0
- package/dist/mion-pure-fns/_rt/oUfCfYMODo.js +2 -0
- package/dist/mion-pure-fns/_rt/t3CflNaUUJ.js +2 -0
- package/dist/mion-pure-fns/_rt/tfRjnFZVF8.js +1 -0
- package/dist/mion-pure-fns/_rt/u0Mw9bizvB.js +1 -0
- package/dist/mion-pure-fns/_rt/vPNeWxcCkj.js +3 -0
- package/dist/mion-pure-fns/_rt/wSBaXrUNw9.js +1 -0
- package/dist/mion-pure-fns/_rt/zaCgqTB_lJ.js +5 -0
- package/dist/mion-pure-fns/index.json +114 -114
- package/dist/mocking/childMatch.js.map +1 -1
- package/dist/mocking/constants.mock.d.ts +0 -1
- package/dist/mocking/constants.mock.js +0 -1
- package/dist/mocking/constants.mock.js.map +1 -1
- package/dist/mocking/createMockData.js.map +1 -1
- package/dist/mocking/index.js.map +1 -1
- package/dist/mocking/isMultipleOf.js.map +1 -1
- package/dist/mocking/mockBigIntFormat.js.map +1 -1
- package/dist/mocking/mockDateTimeBounds.js.map +1 -1
- package/dist/mocking/mockInvalid.js.map +1 -1
- package/dist/mocking/mockNumberFormat.js.map +1 -1
- package/dist/mocking/mockRandom.js.map +1 -1
- package/dist/mocking/mockRegistry.js.map +1 -1
- package/dist/mocking/mockStringFormat.js +1 -1
- package/dist/mocking/mockStringFormat.js.map +1 -1
- package/dist/mocking/mockTemporal.js.map +1 -1
- package/dist/mocking/mockType.js.map +1 -1
- package/dist/mocking/mockTypes.js.map +1 -1
- package/dist/mocking/structuralFormat.js.map +1 -1
- package/dist/modelTypes.js.map +1 -1
- package/dist/overrideRTFunctions.js.map +1 -1
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtypes/builderCore.js.map +1 -1
- package/dist/runtypes/builderTypes.js.map +1 -1
- package/dist/runtypes/circular-pure-fns.d.ts +1 -1
- package/dist/runtypes/circular-pure-fns.js.map +1 -1
- package/dist/runtypes/circular.js.map +1 -1
- package/dist/runtypes/classSerializerRegistry.js.map +1 -1
- package/dist/runtypes/dataOnly.js.map +1 -1
- package/dist/runtypes/entryTuple.js +30 -3
- package/dist/runtypes/entryTuple.js.map +1 -1
- package/dist/runtypes/formatAnnotation.js.map +1 -1
- package/dist/runtypes/formatErrors.js.map +1 -1
- package/dist/runtypes/formatPattern.js.map +1 -1
- package/dist/runtypes/jsonShape.js.map +1 -1
- package/dist/runtypes/pure-fn-ids.generated.d.ts +47 -47
- package/dist/runtypes/pure-fn-ids.generated.js +47 -47
- package/dist/runtypes/pure-fn-ids.generated.js.map +1 -1
- package/dist/runtypes/pure-fns-utils.d.ts +8 -8
- package/dist/runtypes/pure-fns-utils.js +0 -1
- package/dist/runtypes/pure-fns-utils.js.map +1 -1
- package/dist/runtypes/pureFn.js.map +1 -1
- package/dist/runtypes/rtUtils.js +16 -3
- package/dist/runtypes/rtUtils.js.map +1 -1
- package/dist/runtypes/sentinelKeys.js.map +1 -1
- package/dist/runtypes/stripRunTypeMeta.js.map +1 -1
- package/dist/runtypes/typeFormat.js.map +1 -1
- package/dist/runtypes/types.js.map +1 -1
- package/dist/standard/createJsonSchemaFn.js.map +1 -1
- package/dist/standard/createStandardSchema.js.map +1 -1
- package/dist/standard/issueMapping.js +2 -0
- package/dist/standard/issueMapping.js.map +1 -1
- package/dist/standard/jsonSchemaDoc.js.map +1 -1
- package/dist/standard/spec.js.map +1 -1
- package/package.json +21 -58
- package/dist/cjs/builders/atomic.d.ts +0 -12
- package/dist/cjs/builders/atomic.js +0 -43
- package/dist/cjs/builders/compose.d.ts +0 -60
- package/dist/cjs/builders/compose.js +0 -122
- package/dist/cjs/builders/index.d.ts +0 -5
- package/dist/cjs/builders/index.js +0 -48
- package/dist/cjs/builders/static.d.ts +0 -137
- package/dist/cjs/builders/static.js +0 -2
- package/dist/cjs/builders/utility.d.ts +0 -12
- package/dist/cjs/builders/utility.js +0 -43
- package/dist/cjs/createRTFunctions.d.ts +0 -90
- package/dist/cjs/createRTFunctions.js +0 -38
- package/dist/cjs/enrich/createFriendlyText.d.ts +0 -25
- package/dist/cjs/enrich/createFriendlyText.js +0 -275
- package/dist/cjs/enrich/friendlyText.d.ts +0 -56
- package/dist/cjs/enrich/friendlyText.js +0 -2
- package/dist/cjs/enrich/mockData.d.ts +0 -53
- package/dist/cjs/enrich/mockData.js +0 -2
- package/dist/cjs/fnHash.d.ts +0 -8
- package/dist/cjs/fnHash.js +0 -41
- package/dist/cjs/formats/bigintFormats.d.ts +0 -41
- package/dist/cjs/formats/bigintFormats.js +0 -10
- package/dist/cjs/formats/datetime/dateFormats.d.ts +0 -10
- package/dist/cjs/formats/datetime/dateFormats.js +0 -2
- package/dist/cjs/formats/datetime/dateTime-pure-fns.d.ts +0 -21
- package/dist/cjs/formats/datetime/dateTime-pure-fns.js +0 -405
- package/dist/cjs/formats/datetime/dateTimeParams.d.ts +0 -14
- package/dist/cjs/formats/datetime/dateTimeParams.js +0 -2
- package/dist/cjs/formats/datetime/stringDateTimeFormats.d.ts +0 -33
- package/dist/cjs/formats/datetime/stringDateTimeFormats.js +0 -2
- package/dist/cjs/formats/datetime/temporalFormats.d.ts +0 -84
- package/dist/cjs/formats/datetime/temporalFormats.js +0 -23
- package/dist/cjs/formats/index.d.ts +0 -18
- package/dist/cjs/formats/index.js +0 -88
- package/dist/cjs/formats/numberFormats.d.ts +0 -82
- package/dist/cjs/formats/numberFormats.js +0 -16
- package/dist/cjs/formats/refineFormat.d.ts +0 -24
- package/dist/cjs/formats/refineFormat.js +0 -2
- package/dist/cjs/formats/scalars.d.ts +0 -32
- package/dist/cjs/formats/scalars.js +0 -30
- package/dist/cjs/formats/string/credit-card-pure-fns.d.ts +0 -26
- package/dist/cjs/formats/string/credit-card-pure-fns.js +0 -151
- package/dist/cjs/formats/string/string-formats-pure-fns.d.ts +0 -12
- package/dist/cjs/formats/string/string-formats-pure-fns.js +0 -517
- package/dist/cjs/formats/string/string-patterns.d.ts +0 -111
- package/dist/cjs/formats/string/string-patterns.js +0 -115
- package/dist/cjs/formats/string/stringFormats.d.ts +0 -489
- package/dist/cjs/formats/string/stringFormats.js +0 -84
- package/dist/cjs/formats/structural.d.ts +0 -105
- package/dist/cjs/formats/structural.js +0 -7
- package/dist/cjs/getRunType.d.ts +0 -4
- package/dist/cjs/getRunType.js +0 -20
- package/dist/cjs/go-generated/fnHashes.generated.d.ts +0 -196
- package/dist/cjs/go-generated/fnHashes.generated.js +0 -78
- package/dist/cjs/go-generated/formatErrorKeys.generated.d.ts +0 -78
- package/dist/cjs/go-generated/formatErrorKeys.generated.js +0 -40
- package/dist/cjs/go-generated/runTypeKind.generated.d.ts +0 -62
- package/dist/cjs/go-generated/runTypeKind.generated.js +0 -61
- package/dist/cjs/go-generated/typeFormats.generated.d.ts +0 -104
- package/dist/cjs/go-generated/typeFormats.generated.js +0 -30
- package/dist/cjs/index.d.ts +0 -28
- package/dist/cjs/index.js +0 -47
- package/dist/cjs/markers.d.ts +0 -33
- package/dist/cjs/markers.js +0 -14
- package/dist/cjs/mocking/childMatch.d.ts +0 -3
- package/dist/cjs/mocking/childMatch.js +0 -357
- package/dist/cjs/mocking/constants.mock.d.ts +0 -7
- package/dist/cjs/mocking/constants.mock.js +0 -87
- package/dist/cjs/mocking/createMockData.d.ts +0 -8
- package/dist/cjs/mocking/createMockData.js +0 -53
- package/dist/cjs/mocking/index.d.ts +0 -4
- package/dist/cjs/mocking/index.js +0 -9
- package/dist/cjs/mocking/isMultipleOf.d.ts +0 -2
- package/dist/cjs/mocking/isMultipleOf.js +0 -11
- package/dist/cjs/mocking/mockBigIntFormat.d.ts +0 -1
- package/dist/cjs/mocking/mockBigIntFormat.js +0 -38
- package/dist/cjs/mocking/mockDateTimeBounds.d.ts +0 -13
- package/dist/cjs/mocking/mockDateTimeBounds.js +0 -277
- package/dist/cjs/mocking/mockInvalid.d.ts +0 -15
- package/dist/cjs/mocking/mockInvalid.js +0 -233
- package/dist/cjs/mocking/mockNumberFormat.d.ts +0 -1
- package/dist/cjs/mocking/mockNumberFormat.js +0 -56
- package/dist/cjs/mocking/mockRandom.d.ts +0 -20
- package/dist/cjs/mocking/mockRandom.js +0 -106
- package/dist/cjs/mocking/mockRegistry.d.ts +0 -7
- package/dist/cjs/mocking/mockRegistry.js +0 -11
- package/dist/cjs/mocking/mockStringFormat.d.ts +0 -5
- package/dist/cjs/mocking/mockStringFormat.js +0 -238
- package/dist/cjs/mocking/mockTemporal.d.ts +0 -13
- package/dist/cjs/mocking/mockTemporal.js +0 -233
- package/dist/cjs/mocking/mockType.d.ts +0 -3
- package/dist/cjs/mocking/mockType.js +0 -810
- package/dist/cjs/mocking/mockTypes.d.ts +0 -54
- package/dist/cjs/mocking/mockTypes.js +0 -2
- package/dist/cjs/mocking/structuralFormat.d.ts +0 -5
- package/dist/cjs/mocking/structuralFormat.js +0 -82
- package/dist/cjs/modelTypes.d.ts +0 -11
- package/dist/cjs/modelTypes.js +0 -2
- package/dist/cjs/overrideRTFunctions.d.ts +0 -9
- package/dist/cjs/overrideRTFunctions.js +0 -20
- package/dist/cjs/package.json +0 -3
- package/dist/cjs/runtime/index.d.ts +0 -10
- package/dist/cjs/runtime/index.js +0 -25
- package/dist/cjs/runtypes/builderCore.d.ts +0 -7
- package/dist/cjs/runtypes/builderCore.js +0 -39
- package/dist/cjs/runtypes/builderTypes.d.ts +0 -51
- package/dist/cjs/runtypes/builderTypes.js +0 -2
- package/dist/cjs/runtypes/circular-pure-fns.d.ts +0 -11
- package/dist/cjs/runtypes/circular-pure-fns.js +0 -117
- package/dist/cjs/runtypes/circular.d.ts +0 -6
- package/dist/cjs/runtypes/circular.js +0 -25
- package/dist/cjs/runtypes/classSerializerRegistry.d.ts +0 -28
- package/dist/cjs/runtypes/classSerializerRegistry.js +0 -141
- package/dist/cjs/runtypes/dataOnly.d.ts +0 -29
- package/dist/cjs/runtypes/dataOnly.js +0 -2
- package/dist/cjs/runtypes/entryTuple.d.ts +0 -101
- package/dist/cjs/runtypes/entryTuple.js +0 -395
- package/dist/cjs/runtypes/formatAnnotation.d.ts +0 -4
- package/dist/cjs/runtypes/formatAnnotation.js +0 -2
- package/dist/cjs/runtypes/formatErrors.d.ts +0 -18
- package/dist/cjs/runtypes/formatErrors.js +0 -2
- package/dist/cjs/runtypes/formatPattern.d.ts +0 -20
- package/dist/cjs/runtypes/formatPattern.js +0 -17
- package/dist/cjs/runtypes/jsonShape.d.ts +0 -22
- package/dist/cjs/runtypes/jsonShape.js +0 -2
- package/dist/cjs/runtypes/pure-fn-ids.generated.d.ts +0 -47
- package/dist/cjs/runtypes/pure-fn-ids.generated.js +0 -50
- package/dist/cjs/runtypes/pure-fns-utils.d.ts +0 -8
- package/dist/cjs/runtypes/pure-fns-utils.js +0 -147
- package/dist/cjs/runtypes/pureFn.d.ts +0 -7
- package/dist/cjs/runtypes/pureFn.js +0 -52
- package/dist/cjs/runtypes/rtUtils.d.ts +0 -45
- package/dist/cjs/runtypes/rtUtils.js +0 -218
- package/dist/cjs/runtypes/sentinelKeys.d.ts +0 -7
- package/dist/cjs/runtypes/sentinelKeys.js +0 -2
- package/dist/cjs/runtypes/stripRunTypeMeta.d.ts +0 -53
- package/dist/cjs/runtypes/stripRunTypeMeta.js +0 -2
- package/dist/cjs/runtypes/typeFormat.d.ts +0 -14
- package/dist/cjs/runtypes/typeFormat.js +0 -2
- package/dist/cjs/runtypes/types.d.ts +0 -114
- package/dist/cjs/runtypes/types.js +0 -2
- package/dist/cjs/standard/createJsonSchemaFn.d.ts +0 -8
- package/dist/cjs/standard/createJsonSchemaFn.js +0 -16
- package/dist/cjs/standard/createStandardSchema.d.ts +0 -18
- package/dist/cjs/standard/createStandardSchema.js +0 -30
- package/dist/cjs/standard/issueMapping.d.ts +0 -12
- package/dist/cjs/standard/issueMapping.js +0 -36
- package/dist/cjs/standard/jsonSchemaDoc.d.ts +0 -7
- package/dist/cjs/standard/jsonSchemaDoc.js +0 -95
- package/dist/cjs/standard/spec.d.ts +0 -47
- package/dist/cjs/standard/spec.js +0 -2
- package/dist/mion-pure-fns/@mionjs/run-types/-y__pOnrgnvRMz.js +0 -2
- package/dist/mion-pure-fns/@mionjs/run-types/0ofEnb55W0BDIY.js +0 -2
- package/dist/mion-pure-fns/@mionjs/run-types/18wDCH5CXZoQKV.js +0 -2
- package/dist/mion-pure-fns/@mionjs/run-types/2xtQHAMu-yOBo6.js +0 -1
- package/dist/mion-pure-fns/@mionjs/run-types/5oCqd7YyfA9rEw.js +0 -1
- package/dist/mion-pure-fns/@mionjs/run-types/6E7qWsIwaFRGn6.js +0 -1
- package/dist/mion-pure-fns/@mionjs/run-types/6xkN1Qfs9nqO79.js +0 -1
- package/dist/mion-pure-fns/@mionjs/run-types/8Mj42N3ytEEn67.js +0 -1
- package/dist/mion-pure-fns/@mionjs/run-types/A3KjzpjelkcBST.js +0 -2
- package/dist/mion-pure-fns/@mionjs/run-types/AgOXcprpjsrTKk.js +0 -1
- package/dist/mion-pure-fns/@mionjs/run-types/E29ul2pUOyD_Ay.js +0 -1
- package/dist/mion-pure-fns/@mionjs/run-types/EG8OkOOSnT9bZn.js +0 -1
- package/dist/mion-pure-fns/@mionjs/run-types/EYsxRHRDgAykA_.js +0 -3
- package/dist/mion-pure-fns/@mionjs/run-types/Eube1z0GFHuqlM.js +0 -2
- package/dist/mion-pure-fns/@mionjs/run-types/GA20s6bj41GC1A.js +0 -1
- package/dist/mion-pure-fns/@mionjs/run-types/GfQK19ktpvibuZ.js +0 -2
- package/dist/mion-pure-fns/@mionjs/run-types/IyjvBbz0zSlgCJ.js +0 -1
- package/dist/mion-pure-fns/@mionjs/run-types/LqTR2O-h6MYq9J.js +0 -4
- package/dist/mion-pure-fns/@mionjs/run-types/MnJ72PqkyXHiSP.js +0 -1
- package/dist/mion-pure-fns/@mionjs/run-types/NJ9TCGDnkv_9Mn.js +0 -2
- package/dist/mion-pure-fns/@mionjs/run-types/OCJ1B0-ZCAwagS.js +0 -1
- package/dist/mion-pure-fns/@mionjs/run-types/PQVLEBllZckw8I.js +0 -2
- package/dist/mion-pure-fns/@mionjs/run-types/Qd_9GJQlOCVqDe.js +0 -1
- package/dist/mion-pure-fns/@mionjs/run-types/R0IFkkw4SM2gvv.js +0 -2
- package/dist/mion-pure-fns/@mionjs/run-types/THkAA-KNR1HeAe.js +0 -1
- package/dist/mion-pure-fns/@mionjs/run-types/VJiknJ2exR2oMF.js +0 -1
- package/dist/mion-pure-fns/@mionjs/run-types/XYGjy-tcgDROBw.js +0 -2
- package/dist/mion-pure-fns/@mionjs/run-types/Z2sc5xQPKB0oav.js +0 -1
- package/dist/mion-pure-fns/@mionjs/run-types/_3Pmrr5aNmyNi4.js +0 -2
- package/dist/mion-pure-fns/@mionjs/run-types/cgwpjq6rGsI8jb.js +0 -1
- package/dist/mion-pure-fns/@mionjs/run-types/d8U9HjmMsNFd6Z.js +0 -1
- package/dist/mion-pure-fns/@mionjs/run-types/fL3v1v6aVZwJ7-.js +0 -1
- package/dist/mion-pure-fns/@mionjs/run-types/gFl-yXbCxJqWgQ.js +0 -2
- package/dist/mion-pure-fns/@mionjs/run-types/hiotRbfSKFAuK4.js +0 -1
- package/dist/mion-pure-fns/@mionjs/run-types/lFYcgG5ZSI-8em.js +0 -1
- package/dist/mion-pure-fns/@mionjs/run-types/n_ZOWff4X3qBMQ.js +0 -1
- package/dist/mion-pure-fns/@mionjs/run-types/ndkQPoji6DFHx2.js +0 -2
- package/dist/mion-pure-fns/@mionjs/run-types/nsU8QeJCuCF8Kr.js +0 -1
- package/dist/mion-pure-fns/@mionjs/run-types/qMsNYN8hy_sC8i.js +0 -1
- package/dist/mion-pure-fns/@mionjs/run-types/rXVwGkGDX08BsQ.js +0 -1
- package/dist/mion-pure-fns/@mionjs/run-types/rgWveqNi_HeFF8.js +0 -5
- package/dist/mion-pure-fns/@mionjs/run-types/s-tZDRlQfCG5m2.js +0 -1
- package/dist/mion-pure-fns/@mionjs/run-types/t-ntJ9S0FuxkC2.js +0 -1
- package/dist/mion-pure-fns/@mionjs/run-types/tfRjnFZVF8lqI_.js +0 -1
- package/dist/mion-pure-fns/@mionjs/run-types/vLId7t0J8HNWlN.js +0 -1
- package/dist/mion-pure-fns/@mionjs/run-types/zXMPEMyjGR4ZRc.js +0 -1
|
@@ -1,405 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.relativeNowKey = exports.timeStrToMs = exports.dateStrToMs = exports.isTimeString_mmss = exports.isTimeString_HHmm = exports.isTimeString_HHmmss = exports.isTimeString_ISO_TZ = exports.isTimeString_ISO = exports.isTimeZone = exports.isSecondsWithLeap = exports.isSecondsWithMs = exports.isSeconds = exports.isMinutes = exports.isHours = exports.isDateString_DM = exports.isDateString_MD = exports.isDateString_YM = exports.isDateString_MDY = exports.isDateString_DMY = exports.isDateString_YMD = exports.isDateString = void 0;
|
|
4
|
-
const pureFn_ts_1 = require("../../runtypes/pureFn.js");
|
|
5
|
-
const pure_fn_ids_generated_ts_1 = require("../../runtypes/pure-fn-ids.generated.js");
|
|
6
|
-
exports.isDateString = (0, pureFn_ts_1.registerPureFnFactory)(null /** pure_fn_ids_generated_ts_1.isDateStringId hollowed — body ships on demand
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
*/);
|
|
40
|
-
exports.isDateString_YMD = (0, pureFn_ts_1.registerPureFnFactory)(null /** pure_fn_ids_generated_ts_1.isDateString_YMDId hollowed — body ships on demand
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
*/);
|
|
47
|
-
exports.isDateString_DMY = (0, pureFn_ts_1.registerPureFnFactory)(null /** pure_fn_ids_generated_ts_1.isDateString_DMYId hollowed — body ships on demand
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
*/);
|
|
54
|
-
exports.isDateString_MDY = (0, pureFn_ts_1.registerPureFnFactory)(null /** pure_fn_ids_generated_ts_1.isDateString_MDYId hollowed — body ships on demand
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
*/);
|
|
61
|
-
exports.isDateString_YM = (0, pureFn_ts_1.registerPureFnFactory)(null /** pure_fn_ids_generated_ts_1.isDateString_YMId hollowed — body ships on demand
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
*/);
|
|
68
|
-
exports.isDateString_MD = (0, pureFn_ts_1.registerPureFnFactory)(null /** pure_fn_ids_generated_ts_1.isDateString_MDId hollowed — body ships on demand
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
*/);
|
|
75
|
-
exports.isDateString_DM = (0, pureFn_ts_1.registerPureFnFactory)(null /** pure_fn_ids_generated_ts_1.isDateString_DMId hollowed — body ships on demand
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
*/);
|
|
82
|
-
exports.isHours = (0, pureFn_ts_1.registerPureFnFactory)(null /** pure_fn_ids_generated_ts_1.isHoursId hollowed — body ships on demand
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
*/);
|
|
91
|
-
exports.isMinutes = (0, pureFn_ts_1.registerPureFnFactory)(null /** pure_fn_ids_generated_ts_1.isMinutesId hollowed — body ships on demand
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
*/);
|
|
100
|
-
exports.isSeconds = (0, pureFn_ts_1.registerPureFnFactory)(null /** pure_fn_ids_generated_ts_1.isSecondsId hollowed — body ships on demand
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
*/);
|
|
109
|
-
exports.isSecondsWithMs = (0, pureFn_ts_1.registerPureFnFactory)(null /** pure_fn_ids_generated_ts_1.isSecondsWithMsId hollowed — body ships on demand
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
*/);
|
|
129
|
-
exports.isSecondsWithLeap = (0, pureFn_ts_1.registerPureFnFactory)(null /** pure_fn_ids_generated_ts_1.isSecondsWithLeapId hollowed — body ships on demand
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
*/);
|
|
150
|
-
exports.isTimeZone = (0, pureFn_ts_1.registerPureFnFactory)(null /** pure_fn_ids_generated_ts_1.isTimeZoneId hollowed — body ships on demand
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
*/);
|
|
160
|
-
exports.isTimeString_ISO = (0, pureFn_ts_1.registerPureFnFactory)(null /** pure_fn_ids_generated_ts_1.isTimeString_ISOId hollowed — body ships on demand
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
*/);
|
|
182
|
-
exports.isTimeString_ISO_TZ = (0, pureFn_ts_1.registerPureFnFactory)(null /** pure_fn_ids_generated_ts_1.isTimeString_ISO_TZId hollowed — body ships on demand
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
*/);
|
|
242
|
-
exports.isTimeString_HHmmss = (0, pureFn_ts_1.registerPureFnFactory)(null /** pure_fn_ids_generated_ts_1.isTimeString_HHmmssId hollowed — body ships on demand
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
*/);
|
|
257
|
-
exports.isTimeString_HHmm = (0, pureFn_ts_1.registerPureFnFactory)(null /** pure_fn_ids_generated_ts_1.isTimeString_HHmmId hollowed — body ships on demand
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
*/);
|
|
267
|
-
exports.isTimeString_mmss = (0, pureFn_ts_1.registerPureFnFactory)(null /** pure_fn_ids_generated_ts_1.isTimeString_mmssId hollowed — body ships on demand
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
*/);
|
|
277
|
-
exports.dateStrToMs = (0, pureFn_ts_1.registerPureFnFactory)(null /** pure_fn_ids_generated_ts_1.dateStrToMsId hollowed — body ships on demand
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
*/);
|
|
316
|
-
exports.timeStrToMs = (0, pureFn_ts_1.registerPureFnFactory)(null /** pure_fn_ids_generated_ts_1.timeStrToMsId hollowed — body ships on demand
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
*/);
|
|
360
|
-
exports.relativeNowKey = (0, pureFn_ts_1.registerPureFnFactory)(null /** pure_fn_ids_generated_ts_1.relativeNowKeyId hollowed — body ships on demand
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
*/);
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export type RelativeNow = 'now' | `now+P${string}` | `now-P${string}`;
|
|
2
|
-
export type DateBound = string;
|
|
3
|
-
export type TimeBound = string;
|
|
4
|
-
export type DateTimeBound = string;
|
|
5
|
-
export interface MinMax<Bound extends string = string> {
|
|
6
|
-
min?: Bound;
|
|
7
|
-
max?: Bound;
|
|
8
|
-
gt?: Bound;
|
|
9
|
-
lt?: Bound;
|
|
10
|
-
minimum?: Bound;
|
|
11
|
-
maximum?: Bound;
|
|
12
|
-
exclusiveMinimum?: Bound;
|
|
13
|
-
exclusiveMaximum?: Bound;
|
|
14
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { TypeFormat } from '../../runtypes/typeFormat.ts';
|
|
2
|
-
import type { MinMax, DateBound, TimeBound, DateTimeBound } from './dateTimeParams.ts';
|
|
3
|
-
export type DateFmt = 'ISO' | 'YYYY-MM-DD' | 'DD-MM-YYYY' | 'MM-DD-YYYY' | 'YYYY-MM' | 'MM-DD' | 'DD-MM';
|
|
4
|
-
export interface DateParams extends MinMax<DateBound> {
|
|
5
|
-
format: DateFmt;
|
|
6
|
-
}
|
|
7
|
-
export type DEFAULT_DATE_PARAMS = {
|
|
8
|
-
format: 'ISO';
|
|
9
|
-
};
|
|
10
|
-
export type StringDate<P extends Partial<DateParams> = DEFAULT_DATE_PARAMS> = TypeFormat<string, 'date', P, never>;
|
|
11
|
-
export type TimeFmt = 'ISO' | 'HH:mm:ss[.mmm]TZ' | 'HH:mm:ss[.mmm]' | 'HH:mm:ss' | 'HH:mm' | 'mm:ss' | 'HH' | 'mm' | 'ss';
|
|
12
|
-
export interface TimeParams extends MinMax<TimeBound> {
|
|
13
|
-
format: TimeFmt;
|
|
14
|
-
}
|
|
15
|
-
export type DEFAULT_TIME_FORMAT_PARAMS = {
|
|
16
|
-
format: 'ISO';
|
|
17
|
-
};
|
|
18
|
-
export type StringTime<P extends Partial<TimeParams> = DEFAULT_TIME_FORMAT_PARAMS> = TypeFormat<string, 'time', P, never>;
|
|
19
|
-
export interface DateTimeParams extends MinMax<DateTimeBound> {
|
|
20
|
-
date: DateParams;
|
|
21
|
-
time: TimeParams;
|
|
22
|
-
splitChar: string;
|
|
23
|
-
}
|
|
24
|
-
export type DEFAULT_DATE_TIME_PARAMS = {
|
|
25
|
-
date: {
|
|
26
|
-
format: 'ISO';
|
|
27
|
-
};
|
|
28
|
-
time: {
|
|
29
|
-
format: 'ISO';
|
|
30
|
-
};
|
|
31
|
-
splitChar: 'T';
|
|
32
|
-
};
|
|
33
|
-
export type StringDateTime<P extends Partial<DateTimeParams> = DEFAULT_DATE_TIME_PARAMS> = TypeFormat<string, 'dateTime', P, never>;
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import type { __rtFormatName, __rtFormatParams } from '../../runtypes/sentinelKeys.ts';
|
|
2
|
-
import type { MinMax } from './dateTimeParams.ts';
|
|
3
|
-
import type { TemporalBuilderFn, TemporalInstanceBuilderFn } from '../../runtypes/builderTypes.ts';
|
|
4
|
-
type TemporalInstanceOf<K extends string> = typeof globalThis extends {
|
|
5
|
-
Temporal: Record<K, {
|
|
6
|
-
prototype: infer I;
|
|
7
|
-
}>;
|
|
8
|
-
} ? I : unknown;
|
|
9
|
-
type TemporalInstanceOrNever<K extends string> = typeof globalThis extends {
|
|
10
|
-
Temporal: Record<K, {
|
|
11
|
-
prototype: infer I;
|
|
12
|
-
}>;
|
|
13
|
-
} ? I : never;
|
|
14
|
-
type TInstant = TemporalInstanceOf<'Instant'>;
|
|
15
|
-
type TZonedDateTime = TemporalInstanceOf<'ZonedDateTime'>;
|
|
16
|
-
type TPlainDate = TemporalInstanceOf<'PlainDate'>;
|
|
17
|
-
type TPlainTime = TemporalInstanceOf<'PlainTime'>;
|
|
18
|
-
type TPlainDateTime = TemporalInstanceOf<'PlainDateTime'>;
|
|
19
|
-
type TPlainYearMonth = TemporalInstanceOf<'PlainYearMonth'>;
|
|
20
|
-
type TPlainMonthDay = TemporalInstanceOf<'PlainMonthDay'>;
|
|
21
|
-
type TDuration = TemporalInstanceOf<'Duration'>;
|
|
22
|
-
export type Instant<P extends MinMax = MinMax> = TInstant & {
|
|
23
|
-
readonly [__rtFormatName]?: 'temporalInstant';
|
|
24
|
-
readonly [__rtFormatParams]?: P;
|
|
25
|
-
};
|
|
26
|
-
export type ZonedDateTime<P extends MinMax = MinMax> = TZonedDateTime & {
|
|
27
|
-
readonly [__rtFormatName]?: 'temporalZonedDateTime';
|
|
28
|
-
readonly [__rtFormatParams]?: P;
|
|
29
|
-
};
|
|
30
|
-
export type PlainDate<P extends MinMax = MinMax> = TPlainDate & {
|
|
31
|
-
readonly [__rtFormatName]?: 'temporalPlainDate';
|
|
32
|
-
readonly [__rtFormatParams]?: P;
|
|
33
|
-
};
|
|
34
|
-
export type PlainTime<P extends MinMax = MinMax> = TPlainTime & {
|
|
35
|
-
readonly [__rtFormatName]?: 'temporalPlainTime';
|
|
36
|
-
readonly [__rtFormatParams]?: P;
|
|
37
|
-
};
|
|
38
|
-
export type PlainDateTime<P extends MinMax = MinMax> = TPlainDateTime & {
|
|
39
|
-
readonly [__rtFormatName]?: 'temporalPlainDateTime';
|
|
40
|
-
readonly [__rtFormatParams]?: P;
|
|
41
|
-
};
|
|
42
|
-
export type PlainYearMonth<P extends MinMax = MinMax> = TPlainYearMonth & {
|
|
43
|
-
readonly [__rtFormatName]?: 'temporalPlainYearMonth';
|
|
44
|
-
readonly [__rtFormatParams]?: P;
|
|
45
|
-
};
|
|
46
|
-
export interface TemporalBaseByFormatName {
|
|
47
|
-
temporalInstant: TInstant;
|
|
48
|
-
temporalZonedDateTime: TZonedDateTime;
|
|
49
|
-
temporalPlainDate: TPlainDate;
|
|
50
|
-
temporalPlainTime: TPlainTime;
|
|
51
|
-
temporalPlainDateTime: TPlainDateTime;
|
|
52
|
-
temporalPlainYearMonth: TPlainYearMonth;
|
|
53
|
-
temporalPlainMonthDay: TPlainMonthDay;
|
|
54
|
-
temporalDuration: TDuration;
|
|
55
|
-
}
|
|
56
|
-
export interface TemporalFormatParamsByName {
|
|
57
|
-
temporalInstant: MinMax;
|
|
58
|
-
temporalZonedDateTime: MinMax;
|
|
59
|
-
temporalPlainDate: MinMax;
|
|
60
|
-
temporalPlainTime: MinMax;
|
|
61
|
-
temporalPlainDateTime: MinMax;
|
|
62
|
-
temporalPlainYearMonth: MinMax;
|
|
63
|
-
}
|
|
64
|
-
declare module '../../runtypes/dataOnly.ts' {
|
|
65
|
-
interface DataOnlyNativeExtra {
|
|
66
|
-
temporalInstant: TemporalInstanceOrNever<'Instant'>;
|
|
67
|
-
temporalZonedDateTime: TemporalInstanceOrNever<'ZonedDateTime'>;
|
|
68
|
-
temporalPlainDate: TemporalInstanceOrNever<'PlainDate'>;
|
|
69
|
-
temporalPlainTime: TemporalInstanceOrNever<'PlainTime'>;
|
|
70
|
-
temporalPlainDateTime: TemporalInstanceOrNever<'PlainDateTime'>;
|
|
71
|
-
temporalPlainYearMonth: TemporalInstanceOrNever<'PlainYearMonth'>;
|
|
72
|
-
temporalPlainMonthDay: TemporalInstanceOrNever<'PlainMonthDay'>;
|
|
73
|
-
temporalDuration: TemporalInstanceOrNever<'Duration'>;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
export declare const instant: TemporalBuilderFn<"temporal.instant">;
|
|
77
|
-
export declare const zonedDateTime: TemporalBuilderFn<"temporal.zonedDateTime">;
|
|
78
|
-
export declare const plainDate: TemporalBuilderFn<"temporal.plainDate">;
|
|
79
|
-
export declare const plainTime: TemporalBuilderFn<"temporal.plainTime">;
|
|
80
|
-
export declare const plainDateTime: TemporalBuilderFn<"temporal.plainDateTime">;
|
|
81
|
-
export declare const plainYearMonth: TemporalBuilderFn<"temporal.plainYearMonth">;
|
|
82
|
-
export declare const plainMonthDay: TemporalInstanceBuilderFn<"temporal.plainMonthDay">;
|
|
83
|
-
export declare const duration: TemporalInstanceBuilderFn<"temporal.duration">;
|
|
84
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.duration = exports.plainMonthDay = exports.plainYearMonth = exports.plainDateTime = exports.plainTime = exports.plainDate = exports.zonedDateTime = exports.instant = void 0;
|
|
4
|
-
const builderCore_ts_1 = require("../../runtypes/builderCore.js");
|
|
5
|
-
function temporalBuilder(tag) {
|
|
6
|
-
const build = (formatParamsOrId, id) => {
|
|
7
|
-
const formatParams = typeof formatParamsOrId === 'object' ? formatParamsOrId : {};
|
|
8
|
-
const injectedId = typeof formatParamsOrId === 'string' ? formatParamsOrId : id;
|
|
9
|
-
return (0, builderCore_ts_1.builderResult)(injectedId, { type: tag, formatParams });
|
|
10
|
-
};
|
|
11
|
-
return build;
|
|
12
|
-
}
|
|
13
|
-
function temporalInstanceBuilder(tag) {
|
|
14
|
-
return ((id) => (0, builderCore_ts_1.builderResult)(id, { type: tag, formatParams: {} }));
|
|
15
|
-
}
|
|
16
|
-
exports.instant = temporalBuilder('temporal.instant');
|
|
17
|
-
exports.zonedDateTime = temporalBuilder('temporal.zonedDateTime');
|
|
18
|
-
exports.plainDate = temporalBuilder('temporal.plainDate');
|
|
19
|
-
exports.plainTime = temporalBuilder('temporal.plainTime');
|
|
20
|
-
exports.plainDateTime = temporalBuilder('temporal.plainDateTime');
|
|
21
|
-
exports.plainYearMonth = temporalBuilder('temporal.plainYearMonth');
|
|
22
|
-
exports.plainMonthDay = temporalInstanceBuilder('temporal.plainMonthDay');
|
|
23
|
-
exports.duration = temporalInstanceBuilder('temporal.duration');
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import './string/string-formats-pure-fns.ts';
|
|
2
|
-
import './string/credit-card-pure-fns.ts';
|
|
3
|
-
import './datetime/dateTime-pure-fns.ts';
|
|
4
|
-
export type * from './string/stringFormats.ts';
|
|
5
|
-
export type * from './string/credit-card-pure-fns.ts';
|
|
6
|
-
export type * from './datetime/dateTimeParams.ts';
|
|
7
|
-
export type * from './datetime/stringDateTimeFormats.ts';
|
|
8
|
-
export type * from './datetime/dateFormats.ts';
|
|
9
|
-
export type * from './numberFormats.ts';
|
|
10
|
-
export type * from './bigintFormats.ts';
|
|
11
|
-
export type * from './refineFormat.ts';
|
|
12
|
-
export type { FormatBrand, NominalBrand } from '../runtypes/typeFormat.ts';
|
|
13
|
-
export type { FormattedArray, FormattedObject, FormattedSet, FormattedMap, FormattedCollectionParams, FormattedMapParams, FormattedObjectParams, FormattedCollectionParamsValueFirst, FormattedMapParamsValueFirst, FormattedObjectParamsValueFirst, StructuralBrand, } from './structural.ts';
|
|
14
|
-
export { string, number, currency, bigInt, date, brand } from './scalars.ts';
|
|
15
|
-
export { alpha, alphaNumeric, numeric, base64, base32, base16, jsonContent, jsonContentBase64, lowercase, uppercase, capitalize, transform, uuid, uuidv4, uuidv7, ip, ipv4, ipv6, ipWithPort, ipv4WithPort, ipv6WithPort, uri, uriReference, iri, iriReference, uriTemplate, hostname, idnHostname, stringDuration, regexString, jsonPointer, relativeJsonPointer, domain, domainUnicode, domainPunycode, domainParts, email, emailAddress, idnEmail, emailPunycode, emailParts, stringUrl, stringUrlHttp, stringUrlFile, url, urlHttp, urlFile, stringDate, stringTime, stringDateTime, } from './string/stringFormats.ts';
|
|
16
|
-
export { creditCard, CARD_NETWORKS } from './string/credit-card-pure-fns.ts';
|
|
17
|
-
export { integer, float, positive, negative, positiveInt, negativeInt, int8, int16, int32, uint8, uint16, uint32, } from './numberFormats.ts';
|
|
18
|
-
export { bigPositive, bigNegative, bigPositiveInt, bigNegativeInt, bigInt64, bigUInt64 } from './bigintFormats.ts';
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.stringUrlFile = exports.stringUrlHttp = exports.stringUrl = exports.emailParts = exports.emailPunycode = exports.idnEmail = exports.emailAddress = exports.email = exports.domainParts = exports.domainPunycode = exports.domainUnicode = exports.domain = exports.relativeJsonPointer = exports.jsonPointer = exports.regexString = exports.stringDuration = exports.idnHostname = exports.hostname = exports.uriTemplate = exports.iriReference = exports.iri = exports.uriReference = exports.uri = exports.ipv6WithPort = exports.ipv4WithPort = exports.ipWithPort = exports.ipv6 = exports.ipv4 = exports.ip = exports.uuidv7 = exports.uuidv4 = exports.uuid = exports.transform = exports.capitalize = exports.uppercase = exports.lowercase = exports.jsonContentBase64 = exports.jsonContent = exports.base16 = exports.base32 = exports.base64 = exports.numeric = exports.alphaNumeric = exports.alpha = exports.brand = exports.date = exports.bigInt = exports.currency = exports.number = exports.string = void 0;
|
|
4
|
-
exports.bigUInt64 = exports.bigInt64 = exports.bigNegativeInt = exports.bigPositiveInt = exports.bigNegative = exports.bigPositive = exports.uint32 = exports.uint16 = exports.uint8 = exports.int32 = exports.int16 = exports.int8 = exports.negativeInt = exports.positiveInt = exports.negative = exports.positive = exports.float = exports.integer = exports.CARD_NETWORKS = exports.creditCard = exports.stringDateTime = exports.stringTime = exports.stringDate = exports.urlFile = exports.urlHttp = exports.url = void 0;
|
|
5
|
-
require("./string/string-formats-pure-fns.js");
|
|
6
|
-
require("./string/credit-card-pure-fns.js");
|
|
7
|
-
require("./datetime/dateTime-pure-fns.js");
|
|
8
|
-
var scalars_ts_1 = require("./scalars.js");
|
|
9
|
-
Object.defineProperty(exports, "string", { enumerable: true, get: function () { return scalars_ts_1.string; } });
|
|
10
|
-
Object.defineProperty(exports, "number", { enumerable: true, get: function () { return scalars_ts_1.number; } });
|
|
11
|
-
Object.defineProperty(exports, "currency", { enumerable: true, get: function () { return scalars_ts_1.currency; } });
|
|
12
|
-
Object.defineProperty(exports, "bigInt", { enumerable: true, get: function () { return scalars_ts_1.bigInt; } });
|
|
13
|
-
Object.defineProperty(exports, "date", { enumerable: true, get: function () { return scalars_ts_1.date; } });
|
|
14
|
-
Object.defineProperty(exports, "brand", { enumerable: true, get: function () { return scalars_ts_1.brand; } });
|
|
15
|
-
var stringFormats_ts_1 = require("./string/stringFormats.js");
|
|
16
|
-
Object.defineProperty(exports, "alpha", { enumerable: true, get: function () { return stringFormats_ts_1.alpha; } });
|
|
17
|
-
Object.defineProperty(exports, "alphaNumeric", { enumerable: true, get: function () { return stringFormats_ts_1.alphaNumeric; } });
|
|
18
|
-
Object.defineProperty(exports, "numeric", { enumerable: true, get: function () { return stringFormats_ts_1.numeric; } });
|
|
19
|
-
Object.defineProperty(exports, "base64", { enumerable: true, get: function () { return stringFormats_ts_1.base64; } });
|
|
20
|
-
Object.defineProperty(exports, "base32", { enumerable: true, get: function () { return stringFormats_ts_1.base32; } });
|
|
21
|
-
Object.defineProperty(exports, "base16", { enumerable: true, get: function () { return stringFormats_ts_1.base16; } });
|
|
22
|
-
Object.defineProperty(exports, "jsonContent", { enumerable: true, get: function () { return stringFormats_ts_1.jsonContent; } });
|
|
23
|
-
Object.defineProperty(exports, "jsonContentBase64", { enumerable: true, get: function () { return stringFormats_ts_1.jsonContentBase64; } });
|
|
24
|
-
Object.defineProperty(exports, "lowercase", { enumerable: true, get: function () { return stringFormats_ts_1.lowercase; } });
|
|
25
|
-
Object.defineProperty(exports, "uppercase", { enumerable: true, get: function () { return stringFormats_ts_1.uppercase; } });
|
|
26
|
-
Object.defineProperty(exports, "capitalize", { enumerable: true, get: function () { return stringFormats_ts_1.capitalize; } });
|
|
27
|
-
Object.defineProperty(exports, "transform", { enumerable: true, get: function () { return stringFormats_ts_1.transform; } });
|
|
28
|
-
Object.defineProperty(exports, "uuid", { enumerable: true, get: function () { return stringFormats_ts_1.uuid; } });
|
|
29
|
-
Object.defineProperty(exports, "uuidv4", { enumerable: true, get: function () { return stringFormats_ts_1.uuidv4; } });
|
|
30
|
-
Object.defineProperty(exports, "uuidv7", { enumerable: true, get: function () { return stringFormats_ts_1.uuidv7; } });
|
|
31
|
-
Object.defineProperty(exports, "ip", { enumerable: true, get: function () { return stringFormats_ts_1.ip; } });
|
|
32
|
-
Object.defineProperty(exports, "ipv4", { enumerable: true, get: function () { return stringFormats_ts_1.ipv4; } });
|
|
33
|
-
Object.defineProperty(exports, "ipv6", { enumerable: true, get: function () { return stringFormats_ts_1.ipv6; } });
|
|
34
|
-
Object.defineProperty(exports, "ipWithPort", { enumerable: true, get: function () { return stringFormats_ts_1.ipWithPort; } });
|
|
35
|
-
Object.defineProperty(exports, "ipv4WithPort", { enumerable: true, get: function () { return stringFormats_ts_1.ipv4WithPort; } });
|
|
36
|
-
Object.defineProperty(exports, "ipv6WithPort", { enumerable: true, get: function () { return stringFormats_ts_1.ipv6WithPort; } });
|
|
37
|
-
Object.defineProperty(exports, "uri", { enumerable: true, get: function () { return stringFormats_ts_1.uri; } });
|
|
38
|
-
Object.defineProperty(exports, "uriReference", { enumerable: true, get: function () { return stringFormats_ts_1.uriReference; } });
|
|
39
|
-
Object.defineProperty(exports, "iri", { enumerable: true, get: function () { return stringFormats_ts_1.iri; } });
|
|
40
|
-
Object.defineProperty(exports, "iriReference", { enumerable: true, get: function () { return stringFormats_ts_1.iriReference; } });
|
|
41
|
-
Object.defineProperty(exports, "uriTemplate", { enumerable: true, get: function () { return stringFormats_ts_1.uriTemplate; } });
|
|
42
|
-
Object.defineProperty(exports, "hostname", { enumerable: true, get: function () { return stringFormats_ts_1.hostname; } });
|
|
43
|
-
Object.defineProperty(exports, "idnHostname", { enumerable: true, get: function () { return stringFormats_ts_1.idnHostname; } });
|
|
44
|
-
Object.defineProperty(exports, "stringDuration", { enumerable: true, get: function () { return stringFormats_ts_1.stringDuration; } });
|
|
45
|
-
Object.defineProperty(exports, "regexString", { enumerable: true, get: function () { return stringFormats_ts_1.regexString; } });
|
|
46
|
-
Object.defineProperty(exports, "jsonPointer", { enumerable: true, get: function () { return stringFormats_ts_1.jsonPointer; } });
|
|
47
|
-
Object.defineProperty(exports, "relativeJsonPointer", { enumerable: true, get: function () { return stringFormats_ts_1.relativeJsonPointer; } });
|
|
48
|
-
Object.defineProperty(exports, "domain", { enumerable: true, get: function () { return stringFormats_ts_1.domain; } });
|
|
49
|
-
Object.defineProperty(exports, "domainUnicode", { enumerable: true, get: function () { return stringFormats_ts_1.domainUnicode; } });
|
|
50
|
-
Object.defineProperty(exports, "domainPunycode", { enumerable: true, get: function () { return stringFormats_ts_1.domainPunycode; } });
|
|
51
|
-
Object.defineProperty(exports, "domainParts", { enumerable: true, get: function () { return stringFormats_ts_1.domainParts; } });
|
|
52
|
-
Object.defineProperty(exports, "email", { enumerable: true, get: function () { return stringFormats_ts_1.email; } });
|
|
53
|
-
Object.defineProperty(exports, "emailAddress", { enumerable: true, get: function () { return stringFormats_ts_1.emailAddress; } });
|
|
54
|
-
Object.defineProperty(exports, "idnEmail", { enumerable: true, get: function () { return stringFormats_ts_1.idnEmail; } });
|
|
55
|
-
Object.defineProperty(exports, "emailPunycode", { enumerable: true, get: function () { return stringFormats_ts_1.emailPunycode; } });
|
|
56
|
-
Object.defineProperty(exports, "emailParts", { enumerable: true, get: function () { return stringFormats_ts_1.emailParts; } });
|
|
57
|
-
Object.defineProperty(exports, "stringUrl", { enumerable: true, get: function () { return stringFormats_ts_1.stringUrl; } });
|
|
58
|
-
Object.defineProperty(exports, "stringUrlHttp", { enumerable: true, get: function () { return stringFormats_ts_1.stringUrlHttp; } });
|
|
59
|
-
Object.defineProperty(exports, "stringUrlFile", { enumerable: true, get: function () { return stringFormats_ts_1.stringUrlFile; } });
|
|
60
|
-
Object.defineProperty(exports, "url", { enumerable: true, get: function () { return stringFormats_ts_1.url; } });
|
|
61
|
-
Object.defineProperty(exports, "urlHttp", { enumerable: true, get: function () { return stringFormats_ts_1.urlHttp; } });
|
|
62
|
-
Object.defineProperty(exports, "urlFile", { enumerable: true, get: function () { return stringFormats_ts_1.urlFile; } });
|
|
63
|
-
Object.defineProperty(exports, "stringDate", { enumerable: true, get: function () { return stringFormats_ts_1.stringDate; } });
|
|
64
|
-
Object.defineProperty(exports, "stringTime", { enumerable: true, get: function () { return stringFormats_ts_1.stringTime; } });
|
|
65
|
-
Object.defineProperty(exports, "stringDateTime", { enumerable: true, get: function () { return stringFormats_ts_1.stringDateTime; } });
|
|
66
|
-
var credit_card_pure_fns_ts_1 = require("./string/credit-card-pure-fns.js");
|
|
67
|
-
Object.defineProperty(exports, "creditCard", { enumerable: true, get: function () { return credit_card_pure_fns_ts_1.creditCard; } });
|
|
68
|
-
Object.defineProperty(exports, "CARD_NETWORKS", { enumerable: true, get: function () { return credit_card_pure_fns_ts_1.CARD_NETWORKS; } });
|
|
69
|
-
var numberFormats_ts_1 = require("./numberFormats.js");
|
|
70
|
-
Object.defineProperty(exports, "integer", { enumerable: true, get: function () { return numberFormats_ts_1.integer; } });
|
|
71
|
-
Object.defineProperty(exports, "float", { enumerable: true, get: function () { return numberFormats_ts_1.float; } });
|
|
72
|
-
Object.defineProperty(exports, "positive", { enumerable: true, get: function () { return numberFormats_ts_1.positive; } });
|
|
73
|
-
Object.defineProperty(exports, "negative", { enumerable: true, get: function () { return numberFormats_ts_1.negative; } });
|
|
74
|
-
Object.defineProperty(exports, "positiveInt", { enumerable: true, get: function () { return numberFormats_ts_1.positiveInt; } });
|
|
75
|
-
Object.defineProperty(exports, "negativeInt", { enumerable: true, get: function () { return numberFormats_ts_1.negativeInt; } });
|
|
76
|
-
Object.defineProperty(exports, "int8", { enumerable: true, get: function () { return numberFormats_ts_1.int8; } });
|
|
77
|
-
Object.defineProperty(exports, "int16", { enumerable: true, get: function () { return numberFormats_ts_1.int16; } });
|
|
78
|
-
Object.defineProperty(exports, "int32", { enumerable: true, get: function () { return numberFormats_ts_1.int32; } });
|
|
79
|
-
Object.defineProperty(exports, "uint8", { enumerable: true, get: function () { return numberFormats_ts_1.uint8; } });
|
|
80
|
-
Object.defineProperty(exports, "uint16", { enumerable: true, get: function () { return numberFormats_ts_1.uint16; } });
|
|
81
|
-
Object.defineProperty(exports, "uint32", { enumerable: true, get: function () { return numberFormats_ts_1.uint32; } });
|
|
82
|
-
var bigintFormats_ts_1 = require("./bigintFormats.js");
|
|
83
|
-
Object.defineProperty(exports, "bigPositive", { enumerable: true, get: function () { return bigintFormats_ts_1.bigPositive; } });
|
|
84
|
-
Object.defineProperty(exports, "bigNegative", { enumerable: true, get: function () { return bigintFormats_ts_1.bigNegative; } });
|
|
85
|
-
Object.defineProperty(exports, "bigPositiveInt", { enumerable: true, get: function () { return bigintFormats_ts_1.bigPositiveInt; } });
|
|
86
|
-
Object.defineProperty(exports, "bigNegativeInt", { enumerable: true, get: function () { return bigintFormats_ts_1.bigNegativeInt; } });
|
|
87
|
-
Object.defineProperty(exports, "bigInt64", { enumerable: true, get: function () { return bigintFormats_ts_1.bigInt64; } });
|
|
88
|
-
Object.defineProperty(exports, "bigUInt64", { enumerable: true, get: function () { return bigintFormats_ts_1.bigUInt64; } });
|