@onivoro/isomorphic-common 0.2.4 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/jest.config.d.ts +14 -0
- package/{src/index.ts → dist/esm/src/index.js} +0 -2
- package/dist/esm/src/lib/constants/millis-per-day.constant.d.ts +1 -0
- package/dist/esm/src/lib/constants/millis-per-hour.constant.d.ts +1 -0
- package/dist/esm/src/lib/constants/millis-per-minute.constant.d.ts +1 -0
- package/dist/esm/src/lib/functions/add-offset.function.d.ts +1 -0
- package/dist/esm/src/lib/functions/camel-case.function.d.ts +20 -0
- package/dist/esm/src/lib/functions/convert-object-to-literal.function.d.ts +1 -0
- package/dist/esm/src/lib/functions/from-boolean-string.function.d.ts +1 -0
- package/dist/esm/src/lib/functions/from-calendar-date.function.d.ts +1 -0
- package/dist/esm/src/lib/functions/from-csv-string.function.d.ts +1 -0
- package/dist/esm/src/lib/functions/get-tag.function.d.ts +1 -0
- package/dist/esm/src/lib/functions/is-symbol.function.d.ts +1 -0
- package/dist/esm/src/lib/functions/kebab-case.function.d.ts +1 -0
- package/dist/esm/src/lib/functions/parse-bool.function.d.ts +1 -0
- package/dist/esm/src/lib/functions/properties-to-array.function.d.ts +1 -0
- package/dist/esm/src/lib/functions/sanitize-filename.function.d.ts +1 -0
- package/{src/lib/functions/snake-case.function.ts → dist/esm/src/lib/functions/snake-case.function.d.ts} +1 -11
- package/dist/esm/src/lib/functions/subtract-offset.function.d.ts +1 -0
- package/dist/esm/src/lib/functions/subtract-offset.function.spec.d.ts +1 -0
- package/dist/esm/src/lib/functions/to-boolean-string.function.d.ts +1 -0
- package/dist/esm/src/lib/functions/to-calendar-date.function.d.ts +1 -0
- package/dist/esm/src/lib/functions/to-csv-string.function.d.ts +1 -0
- package/dist/esm/src/lib/functions/to-decimal-base.function.d.ts +1 -0
- package/dist/esm/src/lib/functions/to-dollars-and-cents.function.d.ts +1 -0
- package/dist/esm/src/lib/functions/to-dollars-and-cents.function.spec.d.ts +1 -0
- package/dist/esm/src/lib/functions/to-string.function.d.ts +1 -0
- package/dist/esm/src/lib/functions/to-unique-array.function.d.ts +1 -0
- package/dist/esm/src/lib/functions/to-unique-array.function.spec.d.ts +1 -0
- package/dist/esm/src/lib/functions/to-words.function.d.ts +1 -0
- package/dist/esm/src/lib/functions/to-words.function.spec.d.ts +1 -0
- package/dist/esm/src/lib/functions/try-parse-date.function.d.ts +1 -0
- package/dist/esm/src/lib/functions/try-parse-date.function.spec.d.ts +1 -0
- package/dist/esm/src/lib/functions/unicode-words.const.d.ts +8 -0
- package/dist/esm/src/lib/functions/upper-first.function.d.ts +1 -0
- package/dist/esm/src/lib/functions/upper-first.function.spec.d.ts +1 -0
- package/dist/esm/src/lib/functions/words.function.d.ts +17 -0
- package/{src/lib/interfaces/axios-wrapped-nest-exception.interface.ts → dist/esm/src/lib/interfaces/axios-wrapped-nest-exception.interface.d.ts} +1 -1
- package/dist/esm/src/lib/interfaces/axios-wrapped-nest-exception.interface.js +1 -0
- package/{src/lib/interfaces/entity-provider.interface.ts → dist/esm/src/lib/interfaces/entity-provider.interface.d.ts} +1 -1
- package/dist/esm/src/lib/interfaces/entity-provider.interface.js +1 -0
- package/dist/esm/src/lib/interfaces/keys-of.type.d.ts +3 -0
- package/dist/esm/src/lib/interfaces/keys-of.type.js +1 -0
- package/dist/types/jest.config.d.ts +14 -0
- package/dist/types/src/index.d.ts +29 -0
- package/dist/types/src/lib/constants/millis-per-day.constant.d.ts +1 -0
- package/dist/types/src/lib/constants/millis-per-hour.constant.d.ts +1 -0
- package/dist/types/src/lib/constants/millis-per-minute.constant.d.ts +1 -0
- package/dist/types/src/lib/functions/add-offset.function.d.ts +1 -0
- package/dist/types/src/lib/functions/add-offset.function.spec.d.ts +1 -0
- package/dist/types/src/lib/functions/camel-case.function.d.ts +20 -0
- package/dist/types/src/lib/functions/convert-object-to-literal.function.d.ts +1 -0
- package/dist/types/src/lib/functions/convert-object-to-literal.function.spec.d.ts +1 -0
- package/dist/types/src/lib/functions/from-boolean-string.function.d.ts +1 -0
- package/dist/types/src/lib/functions/from-calendar-date.function.d.ts +1 -0
- package/dist/types/src/lib/functions/from-calendar-date.function.spec.d.ts +1 -0
- package/dist/types/src/lib/functions/from-csv-string.function.d.ts +1 -0
- package/dist/types/src/lib/functions/get-tag.function.d.ts +1 -0
- package/dist/types/src/lib/functions/is-symbol.function.d.ts +1 -0
- package/dist/types/src/lib/functions/kebab-case.function.d.ts +1 -0
- package/dist/types/src/lib/functions/parse-bool.function.d.ts +1 -0
- package/dist/types/src/lib/functions/properties-to-array.function.d.ts +1 -0
- package/dist/types/src/lib/functions/sanitize-filename.function.d.ts +1 -0
- package/dist/types/src/lib/functions/snake-case.function.d.ts +24 -0
- package/dist/types/src/lib/functions/subtract-offset.function.d.ts +1 -0
- package/dist/types/src/lib/functions/subtract-offset.function.spec.d.ts +1 -0
- package/dist/types/src/lib/functions/to-boolean-string.function.d.ts +1 -0
- package/dist/types/src/lib/functions/to-calendar-date.function.d.ts +1 -0
- package/dist/types/src/lib/functions/to-csv-string.function.d.ts +1 -0
- package/dist/types/src/lib/functions/to-decimal-base.function.d.ts +1 -0
- package/dist/types/src/lib/functions/to-dollars-and-cents.function.d.ts +1 -0
- package/dist/types/src/lib/functions/to-dollars-and-cents.function.spec.d.ts +1 -0
- package/dist/types/src/lib/functions/to-string.function.d.ts +1 -0
- package/dist/types/src/lib/functions/to-unique-array.function.d.ts +1 -0
- package/dist/types/src/lib/functions/to-unique-array.function.spec.d.ts +1 -0
- package/dist/types/src/lib/functions/to-words.function.d.ts +1 -0
- package/dist/types/src/lib/functions/to-words.function.spec.d.ts +1 -0
- package/dist/types/src/lib/functions/try-parse-date.function.d.ts +1 -0
- package/dist/types/src/lib/functions/try-parse-date.function.spec.d.ts +1 -0
- package/dist/types/src/lib/functions/unicode-words.const.d.ts +8 -0
- package/dist/types/src/lib/functions/upper-first.function.d.ts +1 -0
- package/dist/types/src/lib/functions/upper-first.function.spec.d.ts +1 -0
- package/dist/types/src/lib/functions/words.function.d.ts +17 -0
- package/dist/types/src/lib/interfaces/axios-wrapped-nest-exception.interface.d.ts +5 -0
- package/dist/types/src/lib/interfaces/entity-provider.interface.d.ts +9 -0
- package/dist/types/src/lib/interfaces/keys-of.type.d.ts +3 -0
- package/package.json +16 -10
- package/dist +0 -20
- package/jest.config.ts +0 -17
- package/src/lib/constants/millis-per-day.constant.ts +0 -3
- package/src/lib/constants/millis-per-hour.constant.ts +0 -3
- package/src/lib/constants/millis-per-minute.constant.ts +0 -1
- package/src/lib/functions/__snapshots__/add-offset.function.spec.ts.snap +0 -5
- package/src/lib/functions/__snapshots__/convert-object-to-literal.function.spec.ts.snap +0 -3
- package/src/lib/functions/__snapshots__/from-calendar-date.function.spec.ts.snap +0 -3
- package/src/lib/functions/__snapshots__/subtract-offset.function.spec.ts.snap +0 -5
- package/src/lib/functions/__snapshots__/to-dollars-and-cents.function.spec.ts.snap +0 -3
- package/src/lib/functions/__snapshots__/to-words.function.spec.ts.snap +0 -3
- package/src/lib/functions/__snapshots__/try-parse-date.function.spec.ts.snap +0 -5
- package/src/lib/functions/__snapshots__/upper-first.function.spec.ts.snap +0 -13
- package/src/lib/functions/add-offset.function.spec.ts +0 -12
- package/src/lib/functions/add-offset.function.ts +0 -14
- package/src/lib/functions/camel-case.function.ts +0 -30
- package/src/lib/functions/convert-object-to-literal.function.spec.ts +0 -16
- package/src/lib/functions/convert-object-to-literal.function.ts +0 -10
- package/src/lib/functions/from-boolean-string.function.ts +0 -3
- package/src/lib/functions/from-calendar-date.function.spec.ts +0 -11
- package/src/lib/functions/from-calendar-date.function.ts +0 -5
- package/src/lib/functions/from-csv-string.function.ts +0 -3
- package/src/lib/functions/get-tag.function.ts +0 -10
- package/src/lib/functions/is-symbol.function.ts +0 -11
- package/src/lib/functions/kebab-case.function.ts +0 -5
- package/src/lib/functions/parse-bool.function.ts +0 -3
- package/src/lib/functions/properties-to-array.function.ts +0 -21
- package/src/lib/functions/sanitize-filename.function.ts +0 -9
- package/src/lib/functions/subtract-offset.function.spec.ts +0 -12
- package/src/lib/functions/subtract-offset.function.ts +0 -14
- package/src/lib/functions/to-boolean-string.function.ts +0 -3
- package/src/lib/functions/to-calendar-date.function.ts +0 -11
- package/src/lib/functions/to-csv-string.function.ts +0 -3
- package/src/lib/functions/to-decimal-base.function.ts +0 -23
- package/src/lib/functions/to-dollars-and-cents.function.spec.ts +0 -7
- package/src/lib/functions/to-dollars-and-cents.function.ts +0 -15
- package/src/lib/functions/to-string.function.ts +0 -25
- package/src/lib/functions/to-unique-array.function.spec.ts +0 -45
- package/src/lib/functions/to-unique-array.function.ts +0 -3
- package/src/lib/functions/to-words.function.spec.ts +0 -7
- package/src/lib/functions/to-words.function.ts +0 -105
- package/src/lib/functions/try-parse-date.function.spec.ts +0 -12
- package/src/lib/functions/try-parse-date.function.ts +0 -17
- package/src/lib/functions/unicode-words.const.ts +0 -70
- package/src/lib/functions/upper-first.function.spec.ts +0 -16
- package/src/lib/functions/upper-first.function.ts +0 -10
- package/src/lib/functions/words.function.ts +0 -38
- package/src/lib/interfaces/keys-of.type.ts +0 -1
- package/tsconfig.json +0 -16
- /package/{esm → dist/cjs}/jest.config.d.ts +0 -0
- /package/{cjs → dist/cjs}/jest.config.js +0 -0
- /package/{esm → dist/cjs}/src/index.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/index.js +0 -0
- /package/{esm → dist/cjs}/src/lib/constants/millis-per-day.constant.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/constants/millis-per-day.constant.js +0 -0
- /package/{esm → dist/cjs}/src/lib/constants/millis-per-hour.constant.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/constants/millis-per-hour.constant.js +0 -0
- /package/{esm → dist/cjs}/src/lib/constants/millis-per-minute.constant.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/constants/millis-per-minute.constant.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/add-offset.function.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/add-offset.function.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/add-offset.function.spec.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/add-offset.function.spec.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/camel-case.function.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/camel-case.function.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/convert-object-to-literal.function.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/convert-object-to-literal.function.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/convert-object-to-literal.function.spec.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/convert-object-to-literal.function.spec.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/from-boolean-string.function.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/from-boolean-string.function.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/from-calendar-date.function.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/from-calendar-date.function.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/from-calendar-date.function.spec.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/from-calendar-date.function.spec.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/from-csv-string.function.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/from-csv-string.function.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/get-tag.function.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/get-tag.function.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/is-symbol.function.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/is-symbol.function.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/kebab-case.function.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/kebab-case.function.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/parse-bool.function.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/parse-bool.function.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/properties-to-array.function.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/properties-to-array.function.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/sanitize-filename.function.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/sanitize-filename.function.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/snake-case.function.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/snake-case.function.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/subtract-offset.function.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/subtract-offset.function.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/subtract-offset.function.spec.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/subtract-offset.function.spec.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/to-boolean-string.function.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/to-boolean-string.function.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/to-calendar-date.function.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/to-calendar-date.function.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/to-csv-string.function.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/to-csv-string.function.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/to-decimal-base.function.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/to-decimal-base.function.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/to-dollars-and-cents.function.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/to-dollars-and-cents.function.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/to-dollars-and-cents.function.spec.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/to-dollars-and-cents.function.spec.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/to-string.function.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/to-string.function.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/to-unique-array.function.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/to-unique-array.function.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/to-unique-array.function.spec.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/to-unique-array.function.spec.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/to-words.function.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/to-words.function.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/to-words.function.spec.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/to-words.function.spec.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/try-parse-date.function.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/try-parse-date.function.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/try-parse-date.function.spec.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/try-parse-date.function.spec.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/unicode-words.const.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/unicode-words.const.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/upper-first.function.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/upper-first.function.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/upper-first.function.spec.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/upper-first.function.spec.js +0 -0
- /package/{esm → dist/cjs}/src/lib/functions/words.function.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/functions/words.function.js +0 -0
- /package/{esm → dist/cjs}/src/lib/interfaces/axios-wrapped-nest-exception.interface.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/interfaces/axios-wrapped-nest-exception.interface.js +0 -0
- /package/{esm → dist/cjs}/src/lib/interfaces/entity-provider.interface.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/interfaces/entity-provider.interface.js +0 -0
- /package/{esm → dist/cjs}/src/lib/interfaces/keys-of.type.d.ts +0 -0
- /package/{cjs → dist/cjs}/src/lib/interfaces/keys-of.type.js +0 -0
- /package/{esm → dist/esm}/jest.config.js +0 -0
- /package/{esm → dist/esm}/package.json +0 -0
- /package/{esm/src/index.js → dist/esm/src/index.d.ts} +0 -0
- /package/{esm → dist/esm}/src/lib/constants/millis-per-day.constant.js +0 -0
- /package/{esm → dist/esm}/src/lib/constants/millis-per-hour.constant.js +0 -0
- /package/{esm → dist/esm}/src/lib/constants/millis-per-minute.constant.js +0 -0
- /package/{esm → dist/esm}/src/lib/functions/add-offset.function.js +0 -0
- /package/{esm/src/lib/interfaces/axios-wrapped-nest-exception.interface.js → dist/esm/src/lib/functions/add-offset.function.spec.d.ts} +0 -0
- /package/{esm → dist/esm}/src/lib/functions/add-offset.function.spec.js +0 -0
- /package/{esm → dist/esm}/src/lib/functions/camel-case.function.js +0 -0
- /package/{esm → dist/esm}/src/lib/functions/convert-object-to-literal.function.js +0 -0
- /package/{esm/src/lib/interfaces/entity-provider.interface.js → dist/esm/src/lib/functions/convert-object-to-literal.function.spec.d.ts} +0 -0
- /package/{esm → dist/esm}/src/lib/functions/convert-object-to-literal.function.spec.js +0 -0
- /package/{esm → dist/esm}/src/lib/functions/from-boolean-string.function.js +0 -0
- /package/{esm → dist/esm}/src/lib/functions/from-calendar-date.function.js +0 -0
- /package/{esm/src/lib/interfaces/keys-of.type.js → dist/esm/src/lib/functions/from-calendar-date.function.spec.d.ts} +0 -0
- /package/{esm → dist/esm}/src/lib/functions/from-calendar-date.function.spec.js +0 -0
- /package/{esm → dist/esm}/src/lib/functions/from-csv-string.function.js +0 -0
- /package/{esm → dist/esm}/src/lib/functions/get-tag.function.js +0 -0
- /package/{esm → dist/esm}/src/lib/functions/is-symbol.function.js +0 -0
- /package/{esm → dist/esm}/src/lib/functions/kebab-case.function.js +0 -0
- /package/{esm → dist/esm}/src/lib/functions/parse-bool.function.js +0 -0
- /package/{esm → dist/esm}/src/lib/functions/properties-to-array.function.js +0 -0
- /package/{esm → dist/esm}/src/lib/functions/sanitize-filename.function.js +0 -0
- /package/{esm → dist/esm}/src/lib/functions/snake-case.function.js +0 -0
- /package/{esm → dist/esm}/src/lib/functions/subtract-offset.function.js +0 -0
- /package/{esm → dist/esm}/src/lib/functions/subtract-offset.function.spec.js +0 -0
- /package/{esm → dist/esm}/src/lib/functions/to-boolean-string.function.js +0 -0
- /package/{esm → dist/esm}/src/lib/functions/to-calendar-date.function.js +0 -0
- /package/{esm → dist/esm}/src/lib/functions/to-csv-string.function.js +0 -0
- /package/{esm → dist/esm}/src/lib/functions/to-decimal-base.function.js +0 -0
- /package/{esm → dist/esm}/src/lib/functions/to-dollars-and-cents.function.js +0 -0
- /package/{esm → dist/esm}/src/lib/functions/to-dollars-and-cents.function.spec.js +0 -0
- /package/{esm → dist/esm}/src/lib/functions/to-string.function.js +0 -0
- /package/{esm → dist/esm}/src/lib/functions/to-unique-array.function.js +0 -0
- /package/{esm → dist/esm}/src/lib/functions/to-unique-array.function.spec.js +0 -0
- /package/{esm → dist/esm}/src/lib/functions/to-words.function.js +0 -0
- /package/{esm → dist/esm}/src/lib/functions/to-words.function.spec.js +0 -0
- /package/{esm → dist/esm}/src/lib/functions/try-parse-date.function.js +0 -0
- /package/{esm → dist/esm}/src/lib/functions/try-parse-date.function.spec.js +0 -0
- /package/{esm → dist/esm}/src/lib/functions/unicode-words.const.js +0 -0
- /package/{esm → dist/esm}/src/lib/functions/upper-first.function.js +0 -0
- /package/{esm → dist/esm}/src/lib/functions/upper-first.function.spec.js +0 -0
- /package/{esm → dist/esm}/src/lib/functions/words.function.js +0 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
displayName: string;
|
|
3
|
+
preset: string;
|
|
4
|
+
globals: {};
|
|
5
|
+
testEnvironment: string;
|
|
6
|
+
transform: {
|
|
7
|
+
'^.+\\.[tj]sx?$': (string | {
|
|
8
|
+
tsconfig: string;
|
|
9
|
+
})[];
|
|
10
|
+
};
|
|
11
|
+
moduleFileExtensions: string[];
|
|
12
|
+
coverageDirectory: string;
|
|
13
|
+
};
|
|
14
|
+
export default _default;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export * from './lib/constants/millis-per-day.constant';
|
|
2
2
|
export * from './lib/constants/millis-per-hour.constant';
|
|
3
3
|
export * from './lib/constants/millis-per-minute.constant';
|
|
4
|
-
|
|
5
4
|
export * from './lib/functions/add-offset.function';
|
|
6
5
|
export * from './lib/functions/camel-case.function';
|
|
7
6
|
export * from './lib/functions/convert-object-to-literal.function';
|
|
@@ -25,7 +24,6 @@ export * from './lib/functions/try-parse-date.function';
|
|
|
25
24
|
export * from './lib/functions/unicode-words.const';
|
|
26
25
|
export * from './lib/functions/upper-first.function';
|
|
27
26
|
export * from './lib/functions/words.function';
|
|
28
|
-
|
|
29
27
|
export * from './lib/interfaces/axios-wrapped-nest-exception.interface';
|
|
30
28
|
export * from './lib/interfaces/entity-provider.interface';
|
|
31
29
|
export * from './lib/interfaces/keys-of.type';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MILLIS_PER_DAY: number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MILLIS_PER_HOUR: number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MILLIS_PER_MINUTE: number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function addOffset(input: string | Date | undefined | null): Date | undefined;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).
|
|
3
|
+
*
|
|
4
|
+
* @since 3.0.0
|
|
5
|
+
* @category String
|
|
6
|
+
* @param {string} [string=''] The string to convert.
|
|
7
|
+
* @returns {string} Returns the camel cased string.
|
|
8
|
+
* @see lowerCase, kebabCase, snakeCase, startCase, upperCase, upperFirst
|
|
9
|
+
* @example
|
|
10
|
+
*
|
|
11
|
+
* camelCase('Foo Bar')
|
|
12
|
+
* // => 'fooBar'
|
|
13
|
+
*
|
|
14
|
+
* camelCase('--foo-bar--')
|
|
15
|
+
* // => 'fooBar'
|
|
16
|
+
*
|
|
17
|
+
* camelCase('__FOO_BAR__')
|
|
18
|
+
* // => 'fooBar'
|
|
19
|
+
*/
|
|
20
|
+
export declare const camelCase: (string: string) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function convertObjectToLiteral(literalFn: (k: string, v: any) => string, delimiter: string, keyValuePairs: Record<string, any>): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function fromBooleanString(value?: string): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function fromCalendarDate(input: string | Date | undefined | null): Date | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function fromCsvString(value?: string): string[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getTag(value: any): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function isSymbol(value: any): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function kebabCase(string: any): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function parseBool(asc: string | boolean | null | undefined): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function propertiesToArray(obj: any): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function sanitizeFilename(filename: string): string;
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
// source https://github.com/lodash/lodash/blob/master/snakeCase.js
|
|
2
|
-
|
|
3
|
-
import { words } from "./words.function";
|
|
4
|
-
|
|
5
1
|
/**
|
|
6
2
|
* Converts `string` to
|
|
7
3
|
* [snake case](https://en.wikipedia.org/wiki/Snake_case).
|
|
@@ -25,10 +21,4 @@ import { words } from "./words.function";
|
|
|
25
21
|
* snakeCase('foo2bar')
|
|
26
22
|
* // => 'foo_2_bar'
|
|
27
23
|
*/
|
|
28
|
-
export function snakeCase(string)
|
|
29
|
-
return (
|
|
30
|
-
words(string.replace(/['\u2019]/g, '')).reduce((result, word, index) => (
|
|
31
|
-
result + (index ? '_' : '') + word.toLowerCase()
|
|
32
|
-
), '')
|
|
33
|
-
);
|
|
34
|
-
}
|
|
24
|
+
export declare function snakeCase(string: any): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function subtractOffset(input: string | Date | undefined | null): Date | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function toBooleanString(val?: boolean): "true" | "false";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function toCalendarDate(input: string | Date | undefined | null): string | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function toCsvString(val?: string[]): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function toDecimalBase(n: string | number, base?: number): number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function toDollarsAndCents(number: any): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function toString(value: any): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function toUniqueArray<TElement>(elements: TElement[]): TElement[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function toWords(number: any): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function tryParseDate(input: string | Date | undefined | null): Date | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function upperFirst(string: any): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Splits `string` into an array of its words.
|
|
3
|
+
*
|
|
4
|
+
* @since 3.0.0
|
|
5
|
+
* @category String
|
|
6
|
+
* @param {string} [string=''] The string to inspect.
|
|
7
|
+
* @param {RegExp|string} [pattern] The pattern to match words.
|
|
8
|
+
* @returns {Array} Returns the words of `string`.
|
|
9
|
+
* @example
|
|
10
|
+
*
|
|
11
|
+
* words('fred, barney, & pebbles')
|
|
12
|
+
* // => ['fred', 'barney', 'pebbles']
|
|
13
|
+
*
|
|
14
|
+
* words('fred, barney, & pebbles', /[^, ]+/g)
|
|
15
|
+
* // => ['fred', 'barney', '&', 'pebbles']
|
|
16
|
+
*/
|
|
17
|
+
export declare function words(string: string, pattern?: RegExp): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -6,4 +6,4 @@ export interface IEntityProvider<TEntity, TFindOneOptions, TFindManyOptions, TFi
|
|
|
6
6
|
delete: (options: TFindOptionsWhere) => Promise<void>;
|
|
7
7
|
put: (options: TFindOptionsWhere, body: TQueryDeepPartialEntity) => Promise<void>;
|
|
8
8
|
patch: (options: TFindOptionsWhere, body: TQueryDeepPartialEntity) => Promise<void>;
|
|
9
|
-
}
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
displayName: string;
|
|
3
|
+
preset: string;
|
|
4
|
+
globals: {};
|
|
5
|
+
testEnvironment: string;
|
|
6
|
+
transform: {
|
|
7
|
+
'^.+\\.[tj]sx?$': (string | {
|
|
8
|
+
tsconfig: string;
|
|
9
|
+
})[];
|
|
10
|
+
};
|
|
11
|
+
moduleFileExtensions: string[];
|
|
12
|
+
coverageDirectory: string;
|
|
13
|
+
};
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export * from './lib/constants/millis-per-day.constant';
|
|
2
|
+
export * from './lib/constants/millis-per-hour.constant';
|
|
3
|
+
export * from './lib/constants/millis-per-minute.constant';
|
|
4
|
+
export * from './lib/functions/add-offset.function';
|
|
5
|
+
export * from './lib/functions/camel-case.function';
|
|
6
|
+
export * from './lib/functions/convert-object-to-literal.function';
|
|
7
|
+
export * from './lib/functions/from-boolean-string.function';
|
|
8
|
+
export * from './lib/functions/from-calendar-date.function';
|
|
9
|
+
export * from './lib/functions/from-csv-string.function';
|
|
10
|
+
export * from './lib/functions/kebab-case.function';
|
|
11
|
+
export * from './lib/functions/parse-bool.function';
|
|
12
|
+
export * from './lib/functions/properties-to-array.function';
|
|
13
|
+
export * from './lib/functions/sanitize-filename.function';
|
|
14
|
+
export * from './lib/functions/snake-case.function';
|
|
15
|
+
export * from './lib/functions/subtract-offset.function';
|
|
16
|
+
export * from './lib/functions/to-boolean-string.function';
|
|
17
|
+
export * from './lib/functions/to-calendar-date.function';
|
|
18
|
+
export * from './lib/functions/to-csv-string.function';
|
|
19
|
+
export * from './lib/functions/to-decimal-base.function';
|
|
20
|
+
export * from './lib/functions/to-dollars-and-cents.function';
|
|
21
|
+
export * from './lib/functions/to-unique-array.function';
|
|
22
|
+
export * from './lib/functions/to-words.function';
|
|
23
|
+
export * from './lib/functions/try-parse-date.function';
|
|
24
|
+
export * from './lib/functions/unicode-words.const';
|
|
25
|
+
export * from './lib/functions/upper-first.function';
|
|
26
|
+
export * from './lib/functions/words.function';
|
|
27
|
+
export * from './lib/interfaces/axios-wrapped-nest-exception.interface';
|
|
28
|
+
export * from './lib/interfaces/entity-provider.interface';
|
|
29
|
+
export * from './lib/interfaces/keys-of.type';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MILLIS_PER_DAY: number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MILLIS_PER_HOUR: number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MILLIS_PER_MINUTE: number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function addOffset(input: string | Date | undefined | null): Date | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).
|
|
3
|
+
*
|
|
4
|
+
* @since 3.0.0
|
|
5
|
+
* @category String
|
|
6
|
+
* @param {string} [string=''] The string to convert.
|
|
7
|
+
* @returns {string} Returns the camel cased string.
|
|
8
|
+
* @see lowerCase, kebabCase, snakeCase, startCase, upperCase, upperFirst
|
|
9
|
+
* @example
|
|
10
|
+
*
|
|
11
|
+
* camelCase('Foo Bar')
|
|
12
|
+
* // => 'fooBar'
|
|
13
|
+
*
|
|
14
|
+
* camelCase('--foo-bar--')
|
|
15
|
+
* // => 'fooBar'
|
|
16
|
+
*
|
|
17
|
+
* camelCase('__FOO_BAR__')
|
|
18
|
+
* // => 'fooBar'
|
|
19
|
+
*/
|
|
20
|
+
export declare const camelCase: (string: string) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function convertObjectToLiteral(literalFn: (k: string, v: any) => string, delimiter: string, keyValuePairs: Record<string, any>): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function fromBooleanString(value?: string): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function fromCalendarDate(input: string | Date | undefined | null): Date | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function fromCsvString(value?: string): string[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getTag(value: any): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function isSymbol(value: any): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function kebabCase(string: any): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function parseBool(asc: string | boolean | null | undefined): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function propertiesToArray(obj: any): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function sanitizeFilename(filename: string): string;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Converts `string` to
|
|
3
|
+
* [snake case](https://en.wikipedia.org/wiki/Snake_case).
|
|
4
|
+
*
|
|
5
|
+
* @since 3.0.0
|
|
6
|
+
* @category String
|
|
7
|
+
* @param {string} [string=''] The string to convert.
|
|
8
|
+
* @returns {string} Returns the snake cased string.
|
|
9
|
+
* @see camelCase, lowerCase, kebabCase, startCase, upperCase, upperFirst
|
|
10
|
+
* @example
|
|
11
|
+
*
|
|
12
|
+
* snakeCase('Foo Bar')
|
|
13
|
+
* // => 'foo_bar'
|
|
14
|
+
*
|
|
15
|
+
* snakeCase('fooBar')
|
|
16
|
+
* // => 'foo_bar'
|
|
17
|
+
*
|
|
18
|
+
* snakeCase('--FOO-BAR--')
|
|
19
|
+
* // => 'foo_bar'
|
|
20
|
+
*
|
|
21
|
+
* snakeCase('foo2bar')
|
|
22
|
+
* // => 'foo_2_bar'
|
|
23
|
+
*/
|
|
24
|
+
export declare function snakeCase(string: any): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function subtractOffset(input: string | Date | undefined | null): Date | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function toBooleanString(val?: boolean): "true" | "false";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function toCalendarDate(input: string | Date | undefined | null): string | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function toCsvString(val?: string[]): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function toDecimalBase(n: string | number, base?: number): number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function toDollarsAndCents(number: any): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function toString(value: any): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function toUniqueArray<TElement>(elements: TElement[]): TElement[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function toWords(number: any): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function tryParseDate(input: string | Date | undefined | null): Date | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function upperFirst(string: any): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Splits `string` into an array of its words.
|
|
3
|
+
*
|
|
4
|
+
* @since 3.0.0
|
|
5
|
+
* @category String
|
|
6
|
+
* @param {string} [string=''] The string to inspect.
|
|
7
|
+
* @param {RegExp|string} [pattern] The pattern to match words.
|
|
8
|
+
* @returns {Array} Returns the words of `string`.
|
|
9
|
+
* @example
|
|
10
|
+
*
|
|
11
|
+
* words('fred, barney, & pebbles')
|
|
12
|
+
* // => ['fred', 'barney', 'pebbles']
|
|
13
|
+
*
|
|
14
|
+
* words('fred, barney, & pebbles', /[^, ]+/g)
|
|
15
|
+
* // => ['fred', 'barney', '&', 'pebbles']
|
|
16
|
+
*/
|
|
17
|
+
export declare function words(string: string, pattern?: RegExp): any;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface IEntityProvider<TEntity, TFindOneOptions, TFindManyOptions, TFindOptionsWhere, TQueryDeepPartialEntity> {
|
|
2
|
+
getOne: (options: TFindOneOptions) => Promise<TEntity>;
|
|
3
|
+
getMany: (options: TFindManyOptions) => Promise<TEntity[]>;
|
|
4
|
+
postOne: (body: Partial<TEntity>) => Promise<TEntity>;
|
|
5
|
+
postMany: (body: Partial<TEntity[]>) => Promise<TEntity[]>;
|
|
6
|
+
delete: (options: TFindOptionsWhere) => Promise<void>;
|
|
7
|
+
put: (options: TFindOptionsWhere, body: TQueryDeepPartialEntity) => Promise<void>;
|
|
8
|
+
patch: (options: TFindOptionsWhere, body: TQueryDeepPartialEntity) => Promise<void>;
|
|
9
|
+
}
|
package/package.json
CHANGED
|
@@ -1,20 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onivoro/isomorphic-common",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
3
|
+
"version": "0.3.1",
|
|
4
|
+
"main": "dist/index.cjs.js",
|
|
5
|
+
"module": "dist/index.esm.js",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist/*"
|
|
8
|
+
],
|
|
7
9
|
"scripts": {
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"push": "npm run ts && cp package.json dist && npm publish --access public"
|
|
10
|
+
"build": "onx Build",
|
|
11
|
+
"push": "onx Publish"
|
|
11
12
|
},
|
|
12
13
|
"exports": {
|
|
13
|
-
"
|
|
14
|
-
|
|
14
|
+
".": {
|
|
15
|
+
"types": "./dist/types/index.d.ts",
|
|
16
|
+
"require": "./dist/cjs/index.js",
|
|
17
|
+
"import": "./dist/esm/index.js",
|
|
18
|
+
"default": "./dist/esm/lib.js"
|
|
19
|
+
}
|
|
15
20
|
},
|
|
16
21
|
"devDependencies": {
|
|
22
|
+
"@onivoro/cli": "^0.0.23",
|
|
17
23
|
"@types/jest": "^29.5.12",
|
|
18
24
|
"typescript": "^5.3.3"
|
|
19
25
|
}
|
|
20
|
-
}
|
|
26
|
+
}
|
package/dist
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@onivoro/isomorphic-common",
|
|
3
|
-
"version": "0.2.4",
|
|
4
|
-
"module": "esm/src/index.js",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "cjs/index.js",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"esb": "npx esbuild src/index.ts --bundle --platform=node --target=node16.20.2 > dist/index.cjs.js",
|
|
9
|
-
"ts": "npx tsc --module es2022 --outDir esm/ && echo '{\"type\": \"module\"}' > esm/package.json",
|
|
10
|
-
"push": "npm run ts && cp package.json dist && npm publish --access public"
|
|
11
|
-
},
|
|
12
|
-
"exports": {
|
|
13
|
-
"require": "./cjs/index.js",
|
|
14
|
-
"import": "./esm/src/index.js"
|
|
15
|
-
},
|
|
16
|
-
"devDependencies": {
|
|
17
|
-
"@types/jest": "^29.5.12",
|
|
18
|
-
"typescript": "^5.3.3"
|
|
19
|
-
}
|
|
20
|
-
}
|
package/jest.config.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
export default {
|
|
3
|
-
displayName: 'isomorphic-common',
|
|
4
|
-
preset: '../../jest.preset.js',
|
|
5
|
-
globals: {},
|
|
6
|
-
testEnvironment: 'node',
|
|
7
|
-
transform: {
|
|
8
|
-
'^.+\\.[tj]sx?$': [
|
|
9
|
-
'ts-jest',
|
|
10
|
-
{
|
|
11
|
-
tsconfig: '<rootDir>/tsconfig.spec.json',
|
|
12
|
-
},
|
|
13
|
-
],
|
|
14
|
-
},
|
|
15
|
-
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
|
16
|
-
coverageDirectory: '../../coverage/libs/isomorphic-common',
|
|
17
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const MILLIS_PER_MINUTE = 1000 * 60;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`addOffset GIVEN input is partial or full ISO8601 "2023-12-23" 1`] = `2023-12-23T06:00:00.000Z`;
|
|
4
|
-
|
|
5
|
-
exports[`addOffset GIVEN input is partial or full ISO8601 "2023-12-23T00:00:00.000" 1`] = `2023-12-23T12:00:00.000Z`;
|