@sorrell/utilities 1.2.5 → 1.2.6
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/Distribution/PackageExports.Generated.json +132 -0
- package/Distribution/Types/Array/Array.Internal.Types.d.cts +43 -0
- package/Distribution/Types/Array/Array.Internal.Types.d.cts.map +10 -0
- package/Distribution/Types/Array/Array.Internal.Types.d.mts +43 -0
- package/Distribution/Types/Array/Array.Internal.Types.d.mts.map +10 -0
- package/Distribution/Types/Array/Array.Internal.Types.d.ts +43 -0
- package/Distribution/Types/Array/Array.Internal.Types.d.ts.map +1 -0
- package/Distribution/Types/Array/Array.Internal.d.cts +16 -0
- package/Distribution/Types/Array/Array.Internal.d.cts.map +10 -0
- package/Distribution/Types/Array/Array.Internal.d.mts +16 -0
- package/Distribution/Types/Array/Array.Internal.d.mts.map +10 -0
- package/Distribution/Types/Array/Array.Internal.d.ts +16 -0
- package/Distribution/Types/Array/Array.Internal.d.ts.map +1 -0
- package/Distribution/Types/Array/Array.Types.d.cts +92 -0
- package/Distribution/Types/Array/Array.Types.d.cts.map +10 -0
- package/Distribution/Types/Array/Array.Types.d.mts +92 -0
- package/Distribution/Types/Array/Array.Types.d.mts.map +10 -0
- package/Distribution/Types/Array/Array.Types.d.ts +92 -0
- package/Distribution/Types/Array/Array.Types.d.ts.map +1 -0
- package/Distribution/Types/Array/Array.d.cts +33 -0
- package/Distribution/Types/Array/Array.d.cts.map +10 -0
- package/Distribution/Types/Array/Array.d.mts +33 -0
- package/Distribution/Types/Array/Array.d.mts.map +10 -0
- package/Distribution/Types/Array/Array.d.ts +33 -0
- package/Distribution/Types/Array/Array.d.ts.map +1 -0
- package/Distribution/Types/Array/index.d.cts +9 -0
- package/Distribution/Types/Array/index.d.cts.map +10 -0
- package/Distribution/Types/Array/index.d.mts +9 -0
- package/Distribution/Types/Array/index.d.mts.map +10 -0
- package/Distribution/Types/Array/index.d.ts +9 -0
- package/Distribution/Types/Array/index.d.ts.map +1 -0
- package/Distribution/Types/Async/Async.Types.d.cts +150 -0
- package/Distribution/Types/Async/Async.Types.d.cts.map +10 -0
- package/Distribution/Types/Async/Async.Types.d.mts +150 -0
- package/Distribution/Types/Async/Async.Types.d.mts.map +10 -0
- package/Distribution/Types/Async/Async.Types.d.ts +150 -0
- package/Distribution/Types/Async/Async.Types.d.ts.map +1 -0
- package/Distribution/Types/Async/Async.d.cts +145 -0
- package/Distribution/Types/Async/Async.d.cts.map +10 -0
- package/Distribution/Types/Async/Async.d.mts +145 -0
- package/Distribution/Types/Async/Async.d.mts.map +10 -0
- package/Distribution/Types/Async/Async.d.ts +145 -0
- package/Distribution/Types/Async/Async.d.ts.map +1 -0
- package/Distribution/Types/Async/index.d.cts +9 -0
- package/Distribution/Types/Async/index.d.cts.map +10 -0
- package/Distribution/Types/Async/index.d.mts +9 -0
- package/Distribution/Types/Async/index.d.mts.map +10 -0
- package/Distribution/Types/Async/index.d.ts +9 -0
- package/Distribution/Types/Async/index.d.ts.map +1 -0
- package/Distribution/Types/Dependency/Dependency.Internal.d.cts +9 -0
- package/Distribution/Types/Dependency/Dependency.Internal.d.cts.map +10 -0
- package/Distribution/Types/Dependency/Dependency.Internal.d.mts +9 -0
- package/Distribution/Types/Dependency/Dependency.Internal.d.mts.map +10 -0
- package/Distribution/Types/Dependency/Dependency.Internal.d.ts +9 -0
- package/Distribution/Types/Dependency/Dependency.Internal.d.ts.map +1 -0
- package/Distribution/Types/Dependency/Dependency.d.cts +65 -0
- package/Distribution/Types/Dependency/Dependency.d.cts.map +10 -0
- package/Distribution/Types/Dependency/Dependency.d.mts +65 -0
- package/Distribution/Types/Dependency/Dependency.d.mts.map +10 -0
- package/Distribution/Types/Dependency/Dependency.d.ts +65 -0
- package/Distribution/Types/Dependency/Dependency.d.ts.map +1 -0
- package/Distribution/Types/Dependency/index.d.cts +13 -0
- package/Distribution/Types/Dependency/index.d.cts.map +10 -0
- package/Distribution/Types/Dependency/index.d.mts +13 -0
- package/Distribution/Types/Dependency/index.d.mts.map +10 -0
- package/Distribution/Types/Dependency/index.d.ts +13 -0
- package/Distribution/Types/Dependency/index.d.ts.map +1 -0
- package/Distribution/Types/Effect/Effect.Types.d.cts +16 -0
- package/Distribution/Types/Effect/Effect.Types.d.cts.map +10 -0
- package/Distribution/Types/Effect/Effect.Types.d.mts +16 -0
- package/Distribution/Types/Effect/Effect.Types.d.mts.map +10 -0
- package/Distribution/Types/Effect/Effect.Types.d.ts +16 -0
- package/Distribution/Types/Effect/Effect.Types.d.ts.map +1 -0
- package/Distribution/Types/Effect/Effect.d.cts +8 -0
- package/Distribution/Types/Effect/Effect.d.cts.map +10 -0
- package/Distribution/Types/Effect/Effect.d.mts +8 -0
- package/Distribution/Types/Effect/Effect.d.mts.map +10 -0
- package/Distribution/Types/Effect/Effect.d.ts +8 -0
- package/Distribution/Types/Effect/Effect.d.ts.map +1 -0
- package/Distribution/Types/Effect/Index.Effect.d.cts +10 -0
- package/Distribution/Types/Effect/Index.Effect.d.cts.map +10 -0
- package/Distribution/Types/Effect/Index.Effect.d.mts +10 -0
- package/Distribution/Types/Effect/Index.Effect.d.mts.map +10 -0
- package/Distribution/Types/Effect/Index.Effect.d.ts +10 -0
- package/Distribution/Types/Effect/Index.Effect.d.ts.map +1 -0
- package/Distribution/Types/Effect/index.d.cts +8 -0
- package/Distribution/Types/Effect/index.d.cts.map +10 -0
- package/Distribution/Types/Effect/index.d.mts +8 -0
- package/Distribution/Types/Effect/index.d.mts.map +10 -0
- package/Distribution/Types/Effect/index.d.ts +8 -0
- package/Distribution/Types/Effect/index.d.ts.map +1 -0
- package/Distribution/Types/FileSystem/FileSystem.Types.d.cts +8 -0
- package/Distribution/Types/FileSystem/FileSystem.Types.d.cts.map +10 -0
- package/Distribution/Types/FileSystem/FileSystem.Types.d.mts +8 -0
- package/Distribution/Types/FileSystem/FileSystem.Types.d.mts.map +10 -0
- package/Distribution/Types/FileSystem/FileSystem.Types.d.ts +8 -0
- package/Distribution/Types/FileSystem/FileSystem.Types.d.ts.map +1 -0
- package/Distribution/Types/FileSystem/FileSystem.d.cts +55 -0
- package/Distribution/Types/FileSystem/FileSystem.d.cts.map +10 -0
- package/Distribution/Types/FileSystem/FileSystem.d.mts +55 -0
- package/Distribution/Types/FileSystem/FileSystem.d.mts.map +10 -0
- package/Distribution/Types/FileSystem/FileSystem.d.ts +55 -0
- package/Distribution/Types/FileSystem/FileSystem.d.ts.map +1 -0
- package/Distribution/Types/FileSystem/index.d.cts +9 -0
- package/Distribution/Types/FileSystem/index.d.cts.map +10 -0
- package/Distribution/Types/FileSystem/index.d.mts +9 -0
- package/Distribution/Types/FileSystem/index.d.mts.map +10 -0
- package/Distribution/Types/FileSystem/index.d.ts +9 -0
- package/Distribution/Types/FileSystem/index.d.ts.map +1 -0
- package/Distribution/Types/Functional/Functional.Internal.Types.d.cts +9 -0
- package/Distribution/Types/Functional/Functional.Internal.Types.d.cts.map +10 -0
- package/Distribution/Types/Functional/Functional.Internal.Types.d.mts +9 -0
- package/Distribution/Types/Functional/Functional.Internal.Types.d.mts.map +10 -0
- package/Distribution/Types/Functional/Functional.Internal.Types.d.ts +9 -0
- package/Distribution/Types/Functional/Functional.Internal.Types.d.ts.map +1 -0
- package/Distribution/Types/Functional/Functional.Internal.d.cts +8 -0
- package/Distribution/Types/Functional/Functional.Internal.d.cts.map +10 -0
- package/Distribution/Types/Functional/Functional.Internal.d.mts +8 -0
- package/Distribution/Types/Functional/Functional.Internal.d.mts.map +10 -0
- package/Distribution/Types/Functional/Functional.Internal.d.ts +8 -0
- package/Distribution/Types/Functional/Functional.Internal.d.ts.map +1 -0
- package/Distribution/Types/Functional/Functional.Types.d.cts +28 -0
- package/Distribution/Types/Functional/Functional.Types.d.cts.map +10 -0
- package/Distribution/Types/Functional/Functional.Types.d.mts +28 -0
- package/Distribution/Types/Functional/Functional.Types.d.mts.map +10 -0
- package/Distribution/Types/Functional/Functional.Types.d.ts +28 -0
- package/Distribution/Types/Functional/Functional.Types.d.ts.map +1 -0
- package/Distribution/Types/Functional/Functional.d.cts +8 -0
- package/Distribution/Types/Functional/Functional.d.cts.map +10 -0
- package/Distribution/Types/Functional/Functional.d.mts +8 -0
- package/Distribution/Types/Functional/Functional.d.mts.map +10 -0
- package/Distribution/Types/Functional/Functional.d.ts +8 -0
- package/Distribution/Types/Functional/Functional.d.ts.map +1 -0
- package/Distribution/Types/Functional/index.d.cts +9 -0
- package/Distribution/Types/Functional/index.d.cts.map +10 -0
- package/Distribution/Types/Functional/index.d.mts +9 -0
- package/Distribution/Types/Functional/index.d.mts.map +10 -0
- package/Distribution/Types/Functional/index.d.ts +9 -0
- package/Distribution/Types/Functional/index.d.ts.map +1 -0
- package/Distribution/Types/Math/Complex.Internal.d.cts +8 -0
- package/Distribution/Types/Math/Complex.Internal.d.cts.map +10 -0
- package/Distribution/Types/Math/Complex.Internal.d.mts +8 -0
- package/Distribution/Types/Math/Complex.Internal.d.mts.map +10 -0
- package/Distribution/Types/Math/Complex.Internal.d.ts +8 -0
- package/Distribution/Types/Math/Complex.Internal.d.ts.map +1 -0
- package/Distribution/Types/Math/Complex.Types.d.cts +69 -0
- package/Distribution/Types/Math/Complex.Types.d.cts.map +10 -0
- package/Distribution/Types/Math/Complex.Types.d.mts +69 -0
- package/Distribution/Types/Math/Complex.Types.d.mts.map +10 -0
- package/Distribution/Types/Math/Complex.Types.d.ts +69 -0
- package/Distribution/Types/Math/Complex.Types.d.ts.map +1 -0
- package/Distribution/Types/Math/Complex.d.cts +63 -0
- package/Distribution/Types/Math/Complex.d.cts.map +10 -0
- package/Distribution/Types/Math/Complex.d.mts +63 -0
- package/Distribution/Types/Math/Complex.d.mts.map +10 -0
- package/Distribution/Types/Math/Complex.d.ts +63 -0
- package/Distribution/Types/Math/Complex.d.ts.map +1 -0
- package/Distribution/Types/Math/Index.Complex.d.cts +9 -0
- package/Distribution/Types/Math/Index.Complex.d.cts.map +10 -0
- package/Distribution/Types/Math/Index.Complex.d.mts +9 -0
- package/Distribution/Types/Math/Index.Complex.d.mts.map +10 -0
- package/Distribution/Types/Math/Index.Complex.d.ts +9 -0
- package/Distribution/Types/Math/Index.Complex.d.ts.map +1 -0
- package/Distribution/Types/Math/Index.Experimental.d.cts +10 -0
- package/Distribution/Types/Math/Index.Experimental.d.cts.map +10 -0
- package/Distribution/Types/Math/Index.Experimental.d.mts +10 -0
- package/Distribution/Types/Math/Index.Experimental.d.mts.map +10 -0
- package/Distribution/Types/Math/Index.Experimental.d.ts +10 -0
- package/Distribution/Types/Math/Index.Experimental.d.ts.map +1 -0
- package/Distribution/Types/Math/Math.Internal.Types.d.cts +47 -0
- package/Distribution/Types/Math/Math.Internal.Types.d.cts.map +10 -0
- package/Distribution/Types/Math/Math.Internal.Types.d.mts +47 -0
- package/Distribution/Types/Math/Math.Internal.Types.d.mts.map +10 -0
- package/Distribution/Types/Math/Math.Internal.Types.d.ts +47 -0
- package/Distribution/Types/Math/Math.Internal.Types.d.ts.map +1 -0
- package/Distribution/Types/Math/Math.Types.d.cts +98 -0
- package/Distribution/Types/Math/Math.Types.d.cts.map +10 -0
- package/Distribution/Types/Math/Math.Types.d.mts +98 -0
- package/Distribution/Types/Math/Math.Types.d.mts.map +10 -0
- package/Distribution/Types/Math/Math.Types.d.ts +98 -0
- package/Distribution/Types/Math/Math.Types.d.ts.map +1 -0
- package/Distribution/Types/Math/Math.d.cts +8 -0
- package/Distribution/Types/Math/Math.d.cts.map +10 -0
- package/Distribution/Types/Math/Math.d.mts +8 -0
- package/Distribution/Types/Math/Math.d.mts.map +10 -0
- package/Distribution/Types/Math/Math.d.ts +8 -0
- package/Distribution/Types/Math/Math.d.ts.map +1 -0
- package/Distribution/Types/Math/Vector.d.cts +102 -0
- package/Distribution/Types/Math/Vector.d.cts.map +10 -0
- package/Distribution/Types/Math/Vector.d.mts +102 -0
- package/Distribution/Types/Math/Vector.d.mts.map +10 -0
- package/Distribution/Types/Math/Vector.d.ts +102 -0
- package/Distribution/Types/Math/Vector.d.ts.map +1 -0
- package/Distribution/Types/Math/index.d.cts +15 -0
- package/Distribution/Types/Math/index.d.cts.map +10 -0
- package/Distribution/Types/Math/index.d.mts +15 -0
- package/Distribution/Types/Math/index.d.mts.map +10 -0
- package/Distribution/Types/Math/index.d.ts +15 -0
- package/Distribution/Types/Math/index.d.ts.map +1 -0
- package/Distribution/Types/Miscellaneous/Utility.Internal.d.cts +9 -0
- package/Distribution/Types/Miscellaneous/Utility.Internal.d.cts.map +10 -0
- package/Distribution/Types/Miscellaneous/Utility.Internal.d.mts +9 -0
- package/Distribution/Types/Miscellaneous/Utility.Internal.d.mts.map +10 -0
- package/Distribution/Types/Miscellaneous/Utility.Internal.d.ts +9 -0
- package/Distribution/Types/Miscellaneous/Utility.Internal.d.ts.map +1 -0
- package/Distribution/Types/Miscellaneous/Utility.Types.d.cts +104 -0
- package/Distribution/Types/Miscellaneous/Utility.Types.d.cts.map +10 -0
- package/Distribution/Types/Miscellaneous/Utility.Types.d.mts +104 -0
- package/Distribution/Types/Miscellaneous/Utility.Types.d.mts.map +10 -0
- package/Distribution/Types/Miscellaneous/Utility.Types.d.ts +104 -0
- package/Distribution/Types/Miscellaneous/Utility.Types.d.ts.map +1 -0
- package/Distribution/Types/Miscellaneous/index.d.cts +8 -0
- package/Distribution/Types/Miscellaneous/index.d.cts.map +10 -0
- package/Distribution/Types/Miscellaneous/index.d.mts +8 -0
- package/Distribution/Types/Miscellaneous/index.d.mts.map +10 -0
- package/Distribution/Types/Miscellaneous/index.d.ts +8 -0
- package/Distribution/Types/Miscellaneous/index.d.ts.map +1 -0
- package/Distribution/Types/Npm/Index.Effect.d.cts +9 -0
- package/Distribution/Types/Npm/Index.Effect.d.cts.map +10 -0
- package/Distribution/Types/Npm/Index.Effect.d.mts +9 -0
- package/Distribution/Types/Npm/Index.Effect.d.mts.map +10 -0
- package/Distribution/Types/Npm/Index.Effect.d.ts +9 -0
- package/Distribution/Types/Npm/Index.Effect.d.ts.map +1 -0
- package/Distribution/Types/Npm/Npm.Effect.Internal.d.cts +17 -0
- package/Distribution/Types/Npm/Npm.Effect.Internal.d.cts.map +10 -0
- package/Distribution/Types/Npm/Npm.Effect.Internal.d.mts +17 -0
- package/Distribution/Types/Npm/Npm.Effect.Internal.d.mts.map +10 -0
- package/Distribution/Types/Npm/Npm.Effect.Internal.d.ts +17 -0
- package/Distribution/Types/Npm/Npm.Effect.Internal.d.ts.map +1 -0
- package/Distribution/Types/Npm/Npm.Effect.Types.d.cts +12 -0
- package/Distribution/Types/Npm/Npm.Effect.Types.d.cts.map +10 -0
- package/Distribution/Types/Npm/Npm.Effect.Types.d.mts +12 -0
- package/Distribution/Types/Npm/Npm.Effect.Types.d.mts.map +10 -0
- package/Distribution/Types/Npm/Npm.Effect.Types.d.ts +12 -0
- package/Distribution/Types/Npm/Npm.Effect.Types.d.ts.map +1 -0
- package/Distribution/Types/Npm/Npm.Effect.d.cts +92 -0
- package/Distribution/Types/Npm/Npm.Effect.d.cts.map +10 -0
- package/Distribution/Types/Npm/Npm.Effect.d.mts +92 -0
- package/Distribution/Types/Npm/Npm.Effect.d.mts.map +10 -0
- package/Distribution/Types/Npm/Npm.Effect.d.ts +92 -0
- package/Distribution/Types/Npm/Npm.Effect.d.ts.map +1 -0
- package/Distribution/Types/Npm/Npm.Error.d.cts +36 -0
- package/Distribution/Types/Npm/Npm.Error.d.cts.map +10 -0
- package/Distribution/Types/Npm/Npm.Error.d.mts +36 -0
- package/Distribution/Types/Npm/Npm.Error.d.mts.map +10 -0
- package/Distribution/Types/Npm/Npm.Error.d.ts +36 -0
- package/Distribution/Types/Npm/Npm.Error.d.ts.map +1 -0
- package/Distribution/Types/Npm/Npm.d.cts +91 -0
- package/Distribution/Types/Npm/Npm.d.cts.map +10 -0
- package/Distribution/Types/Npm/Npm.d.mts +91 -0
- package/Distribution/Types/Npm/Npm.d.mts.map +10 -0
- package/Distribution/Types/Npm/Npm.d.ts +91 -0
- package/Distribution/Types/Npm/Npm.d.ts.map +1 -0
- package/Distribution/Types/Npm/index.d.cts +15 -0
- package/Distribution/Types/Npm/index.d.cts.map +10 -0
- package/Distribution/Types/Npm/index.d.mts +15 -0
- package/Distribution/Types/Npm/index.d.mts.map +10 -0
- package/Distribution/Types/Npm/index.d.ts +15 -0
- package/Distribution/Types/Npm/index.d.ts.map +1 -0
- package/Distribution/Types/Path/Path.d.cts +17 -0
- package/Distribution/Types/Path/Path.d.cts.map +10 -0
- package/Distribution/Types/Path/Path.d.mts +17 -0
- package/Distribution/Types/Path/Path.d.mts.map +10 -0
- package/Distribution/Types/Path/Path.d.ts +17 -0
- package/Distribution/Types/Path/Path.d.ts.map +1 -0
- package/Distribution/Types/Path/index.d.cts +8 -0
- package/Distribution/Types/Path/index.d.cts.map +10 -0
- package/Distribution/Types/Path/index.d.mts +8 -0
- package/Distribution/Types/Path/index.d.mts.map +10 -0
- package/Distribution/Types/Path/index.d.ts +8 -0
- package/Distribution/Types/Path/index.d.ts.map +1 -0
- package/Distribution/Types/Record/Record.Internal.Types.d.cts +32 -0
- package/Distribution/Types/Record/Record.Internal.Types.d.cts.map +10 -0
- package/Distribution/Types/Record/Record.Internal.Types.d.mts +32 -0
- package/Distribution/Types/Record/Record.Internal.Types.d.mts.map +10 -0
- package/Distribution/Types/Record/Record.Internal.Types.d.ts +32 -0
- package/Distribution/Types/Record/Record.Internal.Types.d.ts.map +1 -0
- package/Distribution/Types/Record/Record.Types.d.cts +78 -0
- package/Distribution/Types/Record/Record.Types.d.cts.map +10 -0
- package/Distribution/Types/Record/Record.Types.d.mts +78 -0
- package/Distribution/Types/Record/Record.Types.d.mts.map +10 -0
- package/Distribution/Types/Record/Record.Types.d.ts +78 -0
- package/Distribution/Types/Record/Record.Types.d.ts.map +1 -0
- package/Distribution/Types/Record/Record.d.cts +63 -0
- package/Distribution/Types/Record/Record.d.cts.map +10 -0
- package/Distribution/Types/Record/Record.d.mts +63 -0
- package/Distribution/Types/Record/Record.d.mts.map +10 -0
- package/Distribution/Types/Record/Record.d.ts +63 -0
- package/Distribution/Types/Record/Record.d.ts.map +1 -0
- package/Distribution/Types/Record/index.d.cts +9 -0
- package/Distribution/Types/Record/index.d.cts.map +10 -0
- package/Distribution/Types/Record/index.d.mts +9 -0
- package/Distribution/Types/Record/index.d.mts.map +10 -0
- package/Distribution/Types/Record/index.d.ts +9 -0
- package/Distribution/Types/Record/index.d.ts.map +1 -0
- package/Distribution/Types/String/String.d.cts +28 -0
- package/Distribution/Types/String/String.d.cts.map +10 -0
- package/Distribution/Types/String/String.d.mts +28 -0
- package/Distribution/Types/String/String.d.mts.map +10 -0
- package/Distribution/Types/String/String.d.ts +28 -0
- package/Distribution/Types/String/String.d.ts.map +1 -0
- package/Distribution/Types/String/index.d.cts +8 -0
- package/Distribution/Types/String/index.d.cts.map +10 -0
- package/Distribution/Types/String/index.d.mts +8 -0
- package/Distribution/Types/String/index.d.mts.map +10 -0
- package/Distribution/Types/String/index.d.ts +8 -0
- package/Distribution/Types/String/index.d.ts.map +1 -0
- package/Distribution/Types/index.d.cts +24 -0
- package/Distribution/Types/index.d.cts.map +10 -0
- package/Distribution/Types/index.d.mts +24 -0
- package/Distribution/Types/index.d.mts.map +10 -0
- package/Distribution/Types/index.d.ts +24 -0
- package/Distribution/Types/index.d.ts.map +1 -0
- package/Distribution/array.cjs +51 -0
- package/Distribution/array.cjs.map +7 -0
- package/Distribution/array.js +28 -0
- package/Distribution/array.js.map +7 -0
- package/Distribution/async.cjs +174 -0
- package/Distribution/async.cjs.map +7 -0
- package/Distribution/async.js +151 -0
- package/Distribution/async.js.map +7 -0
- package/Distribution/complex.cjs +97 -0
- package/Distribution/complex.cjs.map +7 -0
- package/Distribution/complex.js +74 -0
- package/Distribution/complex.js.map +7 -0
- package/Distribution/effect.cjs +63 -0
- package/Distribution/effect.cjs.map +7 -0
- package/Distribution/effect.js +58 -0
- package/Distribution/effect.js.map +7 -0
- package/Distribution/fs.cjs +128 -0
- package/Distribution/fs.cjs.map +7 -0
- package/Distribution/fs.js +95 -0
- package/Distribution/fs.js.map +7 -0
- package/Distribution/functional.cjs +49 -0
- package/Distribution/functional.cjs.map +7 -0
- package/Distribution/functional.js +26 -0
- package/Distribution/functional.js.map +7 -0
- package/Distribution/index.cjs +701 -0
- package/Distribution/index.cjs.map +7 -0
- package/Distribution/index.js +674 -0
- package/Distribution/index.js.map +7 -0
- package/Distribution/math.cjs +243 -0
- package/Distribution/math.cjs.map +7 -0
- package/Distribution/math.js +226 -0
- package/Distribution/math.js.map +7 -0
- package/Distribution/misc.cjs +45 -0
- package/Distribution/misc.cjs.map +7 -0
- package/Distribution/misc.js +22 -0
- package/Distribution/misc.js.map +7 -0
- package/Distribution/npm-effect.cjs +130 -0
- package/Distribution/npm-effect.cjs.map +7 -0
- package/Distribution/npm-effect.js +97 -0
- package/Distribution/npm-effect.js.map +7 -0
- package/Distribution/npm.cjs +106 -0
- package/Distribution/npm.cjs.map +7 -0
- package/Distribution/npm.js +73 -0
- package/Distribution/npm.js.map +7 -0
- package/Distribution/path.cjs +63 -0
- package/Distribution/path.cjs.map +7 -0
- package/Distribution/path.js +40 -0
- package/Distribution/path.js.map +7 -0
- package/Distribution/record.cjs +116 -0
- package/Distribution/record.cjs.map +7 -0
- package/Distribution/record.js +93 -0
- package/Distribution/record.js.map +7 -0
- package/package.json +11 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Math.Types.d.ts","sourceRoot":"","sources":["../../../Source/Math/Math.Types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,KAAK,aAAa,MAAM,0BAA0B,CAAC;AAC/D,OAAO,KAAK,EAAE,WAAW,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAE1G;;;;;;;;GAQG;AACH,MAAM,MAAM,qBAAqB,CAAC,UAAU,SAAS,MAAM,IACvD,GAAI,UAAW,EAAE,SAAS,IAAK,MAAO,EAAE,GAClC,KAAK,GACL,GAAI,UAAW,EAAE,SAAS,GAAI,MAAO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S,CAAC,CAAC;IAErD;;;;;OAKG;IACH,KAAY,GAAG,CAAC,OAAO,EAAE,OAAO,IAC5B,aAAa,CAAC,GAAG,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;CAC3C;AAED;;;;;GAKG;AACH,MAAM,MAAM,cAAc,CACtB,UAAU,SAAS,MAAM,EACzB,QAAQ,SAAS,MAAM,IAEvB,MAAM,SAAS,UAAU,GACnB,KAAK,GACL,MAAM,SAAS,QAAQ,GACnB,KAAK,GACL,qBAAqB,CAAC,UAAU,CAAC,SAAS,IAAI,GAC1C,qBAAqB,CAAC,QAAQ,CAAC,SAAS,IAAI,GACxC,kBAAkB,CAAC,UAAU,EAAE,QAAQ,CAAC,SAAS,IAAI,GACjD,wBAAwB,CAAC,WAAW,CAAC,UAAU,CAAC,EAAE,QAAQ,CAAC,GAC3D,KAAK,GACT,KAAK,GACT,KAAK,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Math.d.ts","sourceRoot":"","sources":["../../../Source/Math/Math.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,eAAO,MAAM,oBAAoB,EAAE,aAAsC,CAAC"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Vector.ts
|
|
3
|
+
* @author Gage Sorrell <gage@sorrell.sh>
|
|
4
|
+
* @copyright (c) 2026 Gage Sorrell
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
import { Operator } from "tsover-runtime";
|
|
8
|
+
/** A representation of elements in $\mathbf{R}^2$. */
|
|
9
|
+
export declare class FVector2D {
|
|
10
|
+
/** The $x$-component of this vector. */
|
|
11
|
+
readonly X: number;
|
|
12
|
+
/** The $y$-component of this vector. */
|
|
13
|
+
readonly Y: number;
|
|
14
|
+
/** The identity of $\mathbf{R}^2$ *wrt* addition. */
|
|
15
|
+
static Zero: FVector2D;
|
|
16
|
+
/**
|
|
17
|
+
* Construct a vector by specifying both components.
|
|
18
|
+
*
|
|
19
|
+
* @param Value - The value of both the {@link FVector2D!X | x}- and
|
|
20
|
+
* {@link FVector2D!Y ? y}-components.
|
|
21
|
+
*/
|
|
22
|
+
constructor(Value: number);
|
|
23
|
+
/**
|
|
24
|
+
* Construct a vector by specifying both components.
|
|
25
|
+
*
|
|
26
|
+
* @param X - The value of the {@link FVector2D!X} component.
|
|
27
|
+
* @param Y - The value of the {@link FVector2D!Y} component.
|
|
28
|
+
*/
|
|
29
|
+
constructor(X: number, Y: number);
|
|
30
|
+
/**
|
|
31
|
+
* Get a representation of this vector as a `string`.
|
|
32
|
+
*
|
|
33
|
+
* @returns {string} The string representation of this vector.
|
|
34
|
+
*/
|
|
35
|
+
toString(): string;
|
|
36
|
+
/**
|
|
37
|
+
* Perform per-component addition of two {@link FVector2D}s.
|
|
38
|
+
*
|
|
39
|
+
* @param Left - The left-hand operand.
|
|
40
|
+
* @param Right - The right-hand operand.
|
|
41
|
+
*
|
|
42
|
+
* @returns {FVector2D} The per-component sum of {@link Left} and {@link Right}.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* ```typescript
|
|
46
|
+
* "use tsover";
|
|
47
|
+
*
|
|
48
|
+
* const A: FVector2D = new FVector2D(1, -1);
|
|
49
|
+
* const B: FVector2D = new FVector2D(-3, 5);
|
|
50
|
+
*
|
|
51
|
+
* const C: FVector2D = A + B;
|
|
52
|
+
* // `C` <- `(-2, 4)`
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
[Operator.plus](Left: FVector2D, Right: FVector2D): FVector2D;
|
|
56
|
+
[Operator.minus](A: FVector2D, B: FVector2D): FVector2D;
|
|
57
|
+
[Operator.preMinus](Vector: FVector2D): FVector2D;
|
|
58
|
+
/**
|
|
59
|
+
* Perform scalar multiplication of an {@link FVector2D} and a `number` value.
|
|
60
|
+
* Exactly one of the two arguments must be a `number`, and the other an
|
|
61
|
+
* {@link FVector2D}.
|
|
62
|
+
*
|
|
63
|
+
* @param Left - The left-hand operand (either a `number` or an {@link FVector2D}).
|
|
64
|
+
* @param Left - The right-hand operand (either a `number` or an {@link FVector2D}).
|
|
65
|
+
*
|
|
66
|
+
* @returns {FVector2D} The per-component sum of {@link Left} and {@link Right}.
|
|
67
|
+
*/
|
|
68
|
+
[Operator.star](Left: number, Right: FVector2D): FVector2D;
|
|
69
|
+
[Operator.star](Left: FVector2D, Right: number): FVector2D;
|
|
70
|
+
get length(): number;
|
|
71
|
+
get Length(): number;
|
|
72
|
+
}
|
|
73
|
+
/** A representation of elements in $\mathbf{R}^3$. */
|
|
74
|
+
export declare class FVector {
|
|
75
|
+
readonly X: number;
|
|
76
|
+
readonly Y: number;
|
|
77
|
+
readonly Z: number;
|
|
78
|
+
/** Constructs the zero {@link FVector}. */
|
|
79
|
+
constructor();
|
|
80
|
+
/**
|
|
81
|
+
* Constructs an {@link FVector} with all components set to {@link Value}.
|
|
82
|
+
*
|
|
83
|
+
* @param Value - The value of all components of the new {@link FVector}.
|
|
84
|
+
*/
|
|
85
|
+
constructor(Value: number);
|
|
86
|
+
/**
|
|
87
|
+
* Constructs an {@link FVector} with all components set to {@link Value}.
|
|
88
|
+
*
|
|
89
|
+
* @param X - The value of the {@link FVector!X} component.
|
|
90
|
+
* @param Y - The value of the {@link FVector!Y} component.
|
|
91
|
+
* @param Z - The value of the {@link FVector!Z} component.
|
|
92
|
+
*/
|
|
93
|
+
constructor(X: number, Y: number, Z: number);
|
|
94
|
+
[Operator.plus](Left: FVector, Right: FVector): FVector;
|
|
95
|
+
[Operator.minus](A: FVector, B: FVector): FVector;
|
|
96
|
+
[Operator.preMinus](Vector: FVector): FVector;
|
|
97
|
+
[Operator.star](Left: number, Right: FVector): FVector;
|
|
98
|
+
[Operator.star](Left: FVector, Right: number): FVector;
|
|
99
|
+
get length(): number;
|
|
100
|
+
get Length(): number;
|
|
101
|
+
}
|
|
102
|
+
//# sourceMappingURL=Vector.d.cts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
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O;IAEhB,SAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,SAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,SAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,2CAA2C;;IAG3C;;;;OAIG;gBACgB,KAAK,EAAE,MAAM;IAEhC;;;;;;OAMG;gBACgB,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM;IASlD,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,GAAG,OAAO;IAKvD,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,GAAG,OAAO;IAKjD,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO;IAK7C,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,GAAG,OAAO;IACtD,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO;IAkBtD,IAAW,MAAM,IAAI,MAAM,CAG1B;IAED,IAAW,MAAM,IAAI,MAAM,CAG1B;CACJ"
|
|
10
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Vector.ts
|
|
3
|
+
* @author Gage Sorrell <gage@sorrell.sh>
|
|
4
|
+
* @copyright (c) 2026 Gage Sorrell
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
import { Operator } from "tsover-runtime";
|
|
8
|
+
/** A representation of elements in $\mathbf{R}^2$. */
|
|
9
|
+
export declare class FVector2D {
|
|
10
|
+
/** The $x$-component of this vector. */
|
|
11
|
+
readonly X: number;
|
|
12
|
+
/** The $y$-component of this vector. */
|
|
13
|
+
readonly Y: number;
|
|
14
|
+
/** The identity of $\mathbf{R}^2$ *wrt* addition. */
|
|
15
|
+
static Zero: FVector2D;
|
|
16
|
+
/**
|
|
17
|
+
* Construct a vector by specifying both components.
|
|
18
|
+
*
|
|
19
|
+
* @param Value - The value of both the {@link FVector2D!X | x}- and
|
|
20
|
+
* {@link FVector2D!Y ? y}-components.
|
|
21
|
+
*/
|
|
22
|
+
constructor(Value: number);
|
|
23
|
+
/**
|
|
24
|
+
* Construct a vector by specifying both components.
|
|
25
|
+
*
|
|
26
|
+
* @param X - The value of the {@link FVector2D!X} component.
|
|
27
|
+
* @param Y - The value of the {@link FVector2D!Y} component.
|
|
28
|
+
*/
|
|
29
|
+
constructor(X: number, Y: number);
|
|
30
|
+
/**
|
|
31
|
+
* Get a representation of this vector as a `string`.
|
|
32
|
+
*
|
|
33
|
+
* @returns {string} The string representation of this vector.
|
|
34
|
+
*/
|
|
35
|
+
toString(): string;
|
|
36
|
+
/**
|
|
37
|
+
* Perform per-component addition of two {@link FVector2D}s.
|
|
38
|
+
*
|
|
39
|
+
* @param Left - The left-hand operand.
|
|
40
|
+
* @param Right - The right-hand operand.
|
|
41
|
+
*
|
|
42
|
+
* @returns {FVector2D} The per-component sum of {@link Left} and {@link Right}.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* ```typescript
|
|
46
|
+
* "use tsover";
|
|
47
|
+
*
|
|
48
|
+
* const A: FVector2D = new FVector2D(1, -1);
|
|
49
|
+
* const B: FVector2D = new FVector2D(-3, 5);
|
|
50
|
+
*
|
|
51
|
+
* const C: FVector2D = A + B;
|
|
52
|
+
* // `C` <- `(-2, 4)`
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
[Operator.plus](Left: FVector2D, Right: FVector2D): FVector2D;
|
|
56
|
+
[Operator.minus](A: FVector2D, B: FVector2D): FVector2D;
|
|
57
|
+
[Operator.preMinus](Vector: FVector2D): FVector2D;
|
|
58
|
+
/**
|
|
59
|
+
* Perform scalar multiplication of an {@link FVector2D} and a `number` value.
|
|
60
|
+
* Exactly one of the two arguments must be a `number`, and the other an
|
|
61
|
+
* {@link FVector2D}.
|
|
62
|
+
*
|
|
63
|
+
* @param Left - The left-hand operand (either a `number` or an {@link FVector2D}).
|
|
64
|
+
* @param Left - The right-hand operand (either a `number` or an {@link FVector2D}).
|
|
65
|
+
*
|
|
66
|
+
* @returns {FVector2D} The per-component sum of {@link Left} and {@link Right}.
|
|
67
|
+
*/
|
|
68
|
+
[Operator.star](Left: number, Right: FVector2D): FVector2D;
|
|
69
|
+
[Operator.star](Left: FVector2D, Right: number): FVector2D;
|
|
70
|
+
get length(): number;
|
|
71
|
+
get Length(): number;
|
|
72
|
+
}
|
|
73
|
+
/** A representation of elements in $\mathbf{R}^3$. */
|
|
74
|
+
export declare class FVector {
|
|
75
|
+
readonly X: number;
|
|
76
|
+
readonly Y: number;
|
|
77
|
+
readonly Z: number;
|
|
78
|
+
/** Constructs the zero {@link FVector}. */
|
|
79
|
+
constructor();
|
|
80
|
+
/**
|
|
81
|
+
* Constructs an {@link FVector} with all components set to {@link Value}.
|
|
82
|
+
*
|
|
83
|
+
* @param Value - The value of all components of the new {@link FVector}.
|
|
84
|
+
*/
|
|
85
|
+
constructor(Value: number);
|
|
86
|
+
/**
|
|
87
|
+
* Constructs an {@link FVector} with all components set to {@link Value}.
|
|
88
|
+
*
|
|
89
|
+
* @param X - The value of the {@link FVector!X} component.
|
|
90
|
+
* @param Y - The value of the {@link FVector!Y} component.
|
|
91
|
+
* @param Z - The value of the {@link FVector!Z} component.
|
|
92
|
+
*/
|
|
93
|
+
constructor(X: number, Y: number, Z: number);
|
|
94
|
+
[Operator.plus](Left: FVector, Right: FVector): FVector;
|
|
95
|
+
[Operator.minus](A: FVector, B: FVector): FVector;
|
|
96
|
+
[Operator.preMinus](Vector: FVector): FVector;
|
|
97
|
+
[Operator.star](Left: number, Right: FVector): FVector;
|
|
98
|
+
[Operator.star](Left: FVector, Right: number): FVector;
|
|
99
|
+
get length(): number;
|
|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1D,IAAW,MAAM,IAAI,MAAM,CAG1B;IAED,IAAW,MAAM,IAAI,MAAM,CAG1B;CACJ;AAED,sDAAsD;AACtD,qBAAa,OAAO;IAEhB,SAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,SAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,SAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,2CAA2C;;IAG3C;;;;OAIG;gBACgB,KAAK,EAAE,MAAM;IAEhC;;;;;;OAMG;gBACgB,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM;IASlD,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,GAAG,OAAO;IAKvD,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,GAAG,OAAO;IAKjD,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO;IAK7C,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,GAAG,OAAO;IACtD,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO;IAkBtD,IAAW,MAAM,IAAI,MAAM,CAG1B;IAED,IAAW,MAAM,IAAI,MAAM,CAG1B;CACJ"
|
|
10
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Vector.ts
|
|
3
|
+
* @author Gage Sorrell <gage@sorrell.sh>
|
|
4
|
+
* @copyright (c) 2026 Gage Sorrell
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
import { Operator } from "tsover-runtime";
|
|
8
|
+
/** A representation of elements in $\mathbf{R}^2$. */
|
|
9
|
+
export declare class FVector2D {
|
|
10
|
+
/** The $x$-component of this vector. */
|
|
11
|
+
readonly X: number;
|
|
12
|
+
/** The $y$-component of this vector. */
|
|
13
|
+
readonly Y: number;
|
|
14
|
+
/** The identity of $\mathbf{R}^2$ *wrt* addition. */
|
|
15
|
+
static Zero: FVector2D;
|
|
16
|
+
/**
|
|
17
|
+
* Construct a vector by specifying both components.
|
|
18
|
+
*
|
|
19
|
+
* @param Value - The value of both the {@link FVector2D!X | x}- and
|
|
20
|
+
* {@link FVector2D!Y ? y}-components.
|
|
21
|
+
*/
|
|
22
|
+
constructor(Value: number);
|
|
23
|
+
/**
|
|
24
|
+
* Construct a vector by specifying both components.
|
|
25
|
+
*
|
|
26
|
+
* @param X - The value of the {@link FVector2D!X} component.
|
|
27
|
+
* @param Y - The value of the {@link FVector2D!Y} component.
|
|
28
|
+
*/
|
|
29
|
+
constructor(X: number, Y: number);
|
|
30
|
+
/**
|
|
31
|
+
* Get a representation of this vector as a `string`.
|
|
32
|
+
*
|
|
33
|
+
* @returns {string} The string representation of this vector.
|
|
34
|
+
*/
|
|
35
|
+
toString(): string;
|
|
36
|
+
/**
|
|
37
|
+
* Perform per-component addition of two {@link FVector2D}s.
|
|
38
|
+
*
|
|
39
|
+
* @param Left - The left-hand operand.
|
|
40
|
+
* @param Right - The right-hand operand.
|
|
41
|
+
*
|
|
42
|
+
* @returns {FVector2D} The per-component sum of {@link Left} and {@link Right}.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* ```typescript
|
|
46
|
+
* "use tsover";
|
|
47
|
+
*
|
|
48
|
+
* const A: FVector2D = new FVector2D(1, -1);
|
|
49
|
+
* const B: FVector2D = new FVector2D(-3, 5);
|
|
50
|
+
*
|
|
51
|
+
* const C: FVector2D = A + B;
|
|
52
|
+
* // `C` <- `(-2, 4)`
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
[Operator.plus](Left: FVector2D, Right: FVector2D): FVector2D;
|
|
56
|
+
[Operator.minus](A: FVector2D, B: FVector2D): FVector2D;
|
|
57
|
+
[Operator.preMinus](Vector: FVector2D): FVector2D;
|
|
58
|
+
/**
|
|
59
|
+
* Perform scalar multiplication of an {@link FVector2D} and a `number` value.
|
|
60
|
+
* Exactly one of the two arguments must be a `number`, and the other an
|
|
61
|
+
* {@link FVector2D}.
|
|
62
|
+
*
|
|
63
|
+
* @param Left - The left-hand operand (either a `number` or an {@link FVector2D}).
|
|
64
|
+
* @param Left - The right-hand operand (either a `number` or an {@link FVector2D}).
|
|
65
|
+
*
|
|
66
|
+
* @returns {FVector2D} The per-component sum of {@link Left} and {@link Right}.
|
|
67
|
+
*/
|
|
68
|
+
[Operator.star](Left: number, Right: FVector2D): FVector2D;
|
|
69
|
+
[Operator.star](Left: FVector2D, Right: number): FVector2D;
|
|
70
|
+
get length(): number;
|
|
71
|
+
get Length(): number;
|
|
72
|
+
}
|
|
73
|
+
/** A representation of elements in $\mathbf{R}^3$. */
|
|
74
|
+
export declare class FVector {
|
|
75
|
+
readonly X: number;
|
|
76
|
+
readonly Y: number;
|
|
77
|
+
readonly Z: number;
|
|
78
|
+
/** Constructs the zero {@link FVector}. */
|
|
79
|
+
constructor();
|
|
80
|
+
/**
|
|
81
|
+
* Constructs an {@link FVector} with all components set to {@link Value}.
|
|
82
|
+
*
|
|
83
|
+
* @param Value - The value of all components of the new {@link FVector}.
|
|
84
|
+
*/
|
|
85
|
+
constructor(Value: number);
|
|
86
|
+
/**
|
|
87
|
+
* Constructs an {@link FVector} with all components set to {@link Value}.
|
|
88
|
+
*
|
|
89
|
+
* @param X - The value of the {@link FVector!X} component.
|
|
90
|
+
* @param Y - The value of the {@link FVector!Y} component.
|
|
91
|
+
* @param Z - The value of the {@link FVector!Z} component.
|
|
92
|
+
*/
|
|
93
|
+
constructor(X: number, Y: number, Z: number);
|
|
94
|
+
[Operator.plus](Left: FVector, Right: FVector): FVector;
|
|
95
|
+
[Operator.minus](A: FVector, B: FVector): FVector;
|
|
96
|
+
[Operator.preMinus](Vector: FVector): FVector;
|
|
97
|
+
[Operator.star](Left: number, Right: FVector): FVector;
|
|
98
|
+
[Operator.star](Left: FVector, Right: number): FVector;
|
|
99
|
+
get length(): number;
|
|
100
|
+
get Length(): number;
|
|
101
|
+
}
|
|
102
|
+
//# sourceMappingURL=Vector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Vector.d.ts","sourceRoot":"","sources":["../../../Source/Math/Vector.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,sDAAsD;AACtD,qBAAa,SAAS;IAElB,wCAAwC;IACxC,SAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,wCAAwC;IACxC,SAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,qDAAqD;IACrD,OAAc,IAAI,EAAE,SAAS,CAAuB;IAEpD;;;;;OAKG;gBACgB,KAAK,EAAE,MAAM;IAEhC;;;;;OAKG;gBACgB,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM;IAQvC;;;;OAIG;IACI,QAAQ,IAAI,MAAM;IAKzB;;;;;;;;;;;;;;;;;;OAkBG;IACH,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,GAAG,SAAS;IAK7D,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,SAAS,GAAG,SAAS;IAKvD,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,MAAM,EAAE,SAAS,GAAG,SAAS;IAKjD;;;;;;;;;OASG;IACH,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,GAAG,SAAS;IAC1D,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS;IAkB1D,IAAW,MAAM,IAAI,MAAM,CAG1B;IAED,IAAW,MAAM,IAAI,MAAM,CAG1B;CACJ;AAED,sDAAsD;AACtD,qBAAa,OAAO;IAEhB,SAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,SAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,SAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,2CAA2C;;IAG3C;;;;OAIG;gBACgB,KAAK,EAAE,MAAM;IAEhC;;;;;;OAMG;gBACgB,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM;IASlD,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,GAAG,OAAO;IAKvD,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,GAAG,OAAO;IAKjD,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO;IAK7C,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,GAAG,OAAO;IACtD,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO;IAkBtD,IAAW,MAAM,IAAI,MAAM,CAG1B;IAED,IAAW,MAAM,IAAI,MAAM,CAG1B;CACJ"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file index.ts
|
|
3
|
+
* @author Gage Sorrell <gage@sorrell.sh>
|
|
4
|
+
* @copyright (c) 2026 Gage Sorrell
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* @module Math
|
|
9
|
+
* Functions, types, and classes for mathematical computations.
|
|
10
|
+
*/
|
|
11
|
+
export * as Complex from "./Index.Complex.cjs";
|
|
12
|
+
export * as Vector from "./Vector.cjs";
|
|
13
|
+
export * from "./Math.cjs";
|
|
14
|
+
export * from "./Math.Types.cjs";
|
|
15
|
+
//# sourceMappingURL=index.d.cts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"file": "index.d.cts",
|
|
4
|
+
"sourceRoot": "",
|
|
5
|
+
"sources": [
|
|
6
|
+
"../../../Source/Math/index.ts"
|
|
7
|
+
],
|
|
8
|
+
"names": [],
|
|
9
|
+
"mappings": "AAAA;;;;;GAKG;AAEH;;;GAGG;AAEH,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AACtC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC"
|
|
10
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file index.ts
|
|
3
|
+
* @author Gage Sorrell <gage@sorrell.sh>
|
|
4
|
+
* @copyright (c) 2026 Gage Sorrell
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* @module Math
|
|
9
|
+
* Functions, types, and classes for mathematical computations.
|
|
10
|
+
*/
|
|
11
|
+
export * as Complex from "./Index.Complex.mjs";
|
|
12
|
+
export * as Vector from "./Vector.mjs";
|
|
13
|
+
export * from "./Math.mjs";
|
|
14
|
+
export * from "./Math.Types.mjs";
|
|
15
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"file": "index.d.mts",
|
|
4
|
+
"sourceRoot": "",
|
|
5
|
+
"sources": [
|
|
6
|
+
"../../../Source/Math/index.ts"
|
|
7
|
+
],
|
|
8
|
+
"names": [],
|
|
9
|
+
"mappings": "AAAA;;;;;GAKG;AAEH;;;GAGG;AAEH,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AACtC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC"
|
|
10
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file index.ts
|
|
3
|
+
* @author Gage Sorrell <gage@sorrell.sh>
|
|
4
|
+
* @copyright (c) 2026 Gage Sorrell
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* @module Math
|
|
9
|
+
* Functions, types, and classes for mathematical computations.
|
|
10
|
+
*/
|
|
11
|
+
export * as Complex from "./Index.Complex.ts";
|
|
12
|
+
export * as Vector from "./Vector.ts";
|
|
13
|
+
export * from "./Math.ts";
|
|
14
|
+
export * from "./Math.Types.ts";
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../Source/Math/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;GAGG;AAEH,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AACtC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Utility.Internal.ts
|
|
3
|
+
* @author Gage Sorrell <gage@sorrell.sh>
|
|
4
|
+
* @copyright (c) 2026 Gage Sorrell
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
export declare const NoOptions: unique symbol;
|
|
8
|
+
export declare const DefaultTruthyValues: ReadonlyArray<string>;
|
|
9
|
+
//# sourceMappingURL=Utility.Internal.d.cts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"file": "Utility.Internal.d.cts",
|
|
4
|
+
"sourceRoot": "",
|
|
5
|
+
"sources": [
|
|
6
|
+
"../../../Source/Miscellaneous/Utility.Internal.ts"
|
|
7
|
+
],
|
|
8
|
+
"names": [],
|
|
9
|
+
"mappings": "AAAA;;;;;GAKG;AAKH,eAGA,MAAM,SAAS,EAAE,OAAO,MAA4B,CAAC;AAErD,eAGA,MAAM,mBAAmB,EAAE,aAAa,CAAC,MAAM,CAOjC,CAAC"
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Utility.Internal.ts
|
|
3
|
+
* @author Gage Sorrell <gage@sorrell.sh>
|
|
4
|
+
* @copyright (c) 2026 Gage Sorrell
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
export declare const NoOptions: unique symbol;
|
|
8
|
+
export declare const DefaultTruthyValues: ReadonlyArray<string>;
|
|
9
|
+
//# sourceMappingURL=Utility.Internal.d.mts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"file": "Utility.Internal.d.mts",
|
|
4
|
+
"sourceRoot": "",
|
|
5
|
+
"sources": [
|
|
6
|
+
"../../../Source/Miscellaneous/Utility.Internal.ts"
|
|
7
|
+
],
|
|
8
|
+
"names": [],
|
|
9
|
+
"mappings": "AAAA;;;;;GAKG;AAKH,eAGA,MAAM,SAAS,EAAE,OAAO,MAA4B,CAAC;AAErD,eAGA,MAAM,mBAAmB,EAAE,aAAa,CAAC,MAAM,CAOjC,CAAC"
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Utility.Internal.ts
|
|
3
|
+
* @author Gage Sorrell <gage@sorrell.sh>
|
|
4
|
+
* @copyright (c) 2026 Gage Sorrell
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
export declare const NoOptions: unique symbol;
|
|
8
|
+
export declare const DefaultTruthyValues: ReadonlyArray<string>;
|
|
9
|
+
//# sourceMappingURL=Utility.Internal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Utility.Internal.d.ts","sourceRoot":"","sources":["../../../Source/Miscellaneous/Utility.Internal.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH,eAGA,MAAM,SAAS,EAAE,OAAO,MAA4B,CAAC;AAErD,eAGA,MAAM,mBAAmB,EAAE,aAAa,CAAC,MAAM,CAOjC,CAAC"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Utility.Types.ts
|
|
3
|
+
* @author Gage Sorrell <gage@sorrell.sh>
|
|
4
|
+
* @copyright (c) 2026 Gage Sorrell
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
import type { NoOptions } from "./Utility.Internal.cjs";
|
|
8
|
+
import type TypeScript from "typescript";
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated Use {@link TMutable} instead.
|
|
11
|
+
*
|
|
12
|
+
* Defines a type that corresponds to {@link RecordLike}, such that every
|
|
13
|
+
* `readonly` modifier is removed, recursively.
|
|
14
|
+
*
|
|
15
|
+
* @template RecordLike - The type to make writeable.
|
|
16
|
+
*/
|
|
17
|
+
export type TDeepWriteable<RecordLike> = {
|
|
18
|
+
-readonly [Key in keyof RecordLike]: TDeepWriteable<RecordLike[Key]>;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Defines a type that corresponds to {@link RecordLike}, such that every
|
|
22
|
+
* `readonly` modifier is removed, recursively.
|
|
23
|
+
*
|
|
24
|
+
* @template RecordLike - The type to make writeable.
|
|
25
|
+
* @template ShallowOption - Whether the `readonly` modifier should be stripped recursively.
|
|
26
|
+
* If `true` (the default), then only the properties of the given type will have the `readonly`
|
|
27
|
+
* modifier stripped (that is, if any of these properties is a {@link Record} type with `readonly`
|
|
28
|
+
* modifiers, then those will *not* be removed if {@link ShallowOption} is `true`).
|
|
29
|
+
*/
|
|
30
|
+
export type TMutable<RecordLike, ShallowOption extends boolean = true> = ShallowOption extends false ? {
|
|
31
|
+
-readonly [Key in keyof RecordLike]: RecordLike[Key];
|
|
32
|
+
} : ShallowOption extends true ? {
|
|
33
|
+
-readonly [Key in keyof RecordLike]: TMutable<RecordLike[Key]>;
|
|
34
|
+
} : never;
|
|
35
|
+
/**
|
|
36
|
+
* Given a {@link RecordLike | record-like type}, this type is the union
|
|
37
|
+
* of the values of all properties in the {@link RecordLike | record-like type}.
|
|
38
|
+
*
|
|
39
|
+
* @template RecordLike - The record-like type from which this type extracts value types.
|
|
40
|
+
*/
|
|
41
|
+
export type TValues<RecordLike> = RecordLike[keyof RecordLike];
|
|
42
|
+
/**
|
|
43
|
+
* The element type of the return value of `Object.entries()`.
|
|
44
|
+
*
|
|
45
|
+
* @template RecordLike - The record-like type of the argument of `Object.entries()`.
|
|
46
|
+
* @template KeyType - The subset of keys used by this type.
|
|
47
|
+
*/
|
|
48
|
+
export type TEntry<RecordLike, KeyType extends keyof RecordLike = keyof RecordLike> = [KeyType, RecordLike[KeyType]];
|
|
49
|
+
/** The type used in `OptionsType`s when no options are specified. */
|
|
50
|
+
export type NoOptions = typeof NoOptions;
|
|
51
|
+
/**
|
|
52
|
+
* Define options for a given type as a union of `unique symbol` types.
|
|
53
|
+
* All options must be *optional* by the type that uses these options.
|
|
54
|
+
* The type that uses these options should have a type parameter `OptionsType`
|
|
55
|
+
* defined with `OptionsType extends TOptions = NoOptions`. You will have to import
|
|
56
|
+
* {@link NoOptions}, but this should be done anyway, since making all options types
|
|
57
|
+
* optional should be optional. For this reason {@link NoOptions} is exported from the
|
|
58
|
+
* same module as this type.
|
|
59
|
+
*
|
|
60
|
+
* @template OptionsType - The `unique symbol` types that act as options.
|
|
61
|
+
*
|
|
62
|
+
* @example * See the {@link Array.Options:type} type as an example.
|
|
63
|
+
*/
|
|
64
|
+
export type TOptions<OptionsType extends symbol = NoOptions> = OptionsType | NoOptions;
|
|
65
|
+
export type TNullable<Type> = Type | null | undefined;
|
|
66
|
+
/** An error that is thrown in default implementations of `abstract` `class`es. */
|
|
67
|
+
export declare class AbstractMethodCallError extends Error {
|
|
68
|
+
constructor(ClassName?: string);
|
|
69
|
+
}
|
|
70
|
+
/** The type corresponding to the schema of `tsconfig.json`. */
|
|
71
|
+
export interface FTsConfig {
|
|
72
|
+
extends?: string | Array<string>;
|
|
73
|
+
files?: Array<string>;
|
|
74
|
+
include?: Array<string>;
|
|
75
|
+
exclude?: Array<string>;
|
|
76
|
+
references?: Array<TypeScript.ProjectReference>;
|
|
77
|
+
compilerOptions?: FCompilerOptions;
|
|
78
|
+
watchOptions?: TypeScript.WatchOptions;
|
|
79
|
+
typeAcquisition?: TypeScript.TypeAcquisition;
|
|
80
|
+
compileOnSave?: boolean;
|
|
81
|
+
}
|
|
82
|
+
type FOverriddenCompilerOptions = "jsx" | "lib" | "module" | "moduleResolution" | "target";
|
|
83
|
+
type FCompilerOptions = Omit<TypeScript.server.protocol.CompilerOptions, FOverriddenCompilerOptions> & Partial<{
|
|
84
|
+
jsx: JsxEmit;
|
|
85
|
+
lib: Array<string>;
|
|
86
|
+
module: FModuleKind;
|
|
87
|
+
moduleResolution: FModuleResolutionKind;
|
|
88
|
+
target: FTarget;
|
|
89
|
+
}>;
|
|
90
|
+
type JsxEmit = "none" | "preserve" | "react-native" | "react" | "react-jsx" | "react-jsxdev";
|
|
91
|
+
type FModuleKind = "none" | "commonjs" | "amd" | "umd" | "system" | "es6" | "es2015" | "es2020" | "es2022" | "esnext" | "node16" | "node18" | "node20" | "nodenext" | "preserve";
|
|
92
|
+
type FModuleResolutionKind = "classic" | "node" | "node" | "node10" | "node16" | "nodenext" | "bundler";
|
|
93
|
+
type FTarget = "es3" | "es5" | "es6" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "es2023" | "es2024" | "es2025" | "esnext" | "json" | "esnext" | "es2025";
|
|
94
|
+
/**
|
|
95
|
+
* Maps a given {@link RecordLike} type to an identical {@link Record} type, but
|
|
96
|
+
* the properties are wrapped with {@link NonNullable}.
|
|
97
|
+
*
|
|
98
|
+
* @template RecordLike - The `Record`-like type from which this type is defined.
|
|
99
|
+
*/
|
|
100
|
+
export type TRecordNonNullable<RecordLike> = {
|
|
101
|
+
[Key in keyof RecordLike]: NonNullable<RecordLike[Key]>;
|
|
102
|
+
};
|
|
103
|
+
export {};
|
|
104
|
+
//# sourceMappingURL=Utility.Types.d.cts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"file": "Utility.Types.d.cts",
|
|
4
|
+
"sourceRoot": "",
|
|
5
|
+
"sources": [
|
|
6
|
+
"../../../Source/Miscellaneous/Utility.Types.ts"
|
|
7
|
+
],
|
|
8
|
+
"names": [],
|
|
9
|
+
"mappings": "AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,YAAY,CAAC;AAEzC;;;;;;;GAOG;AACH,MAAM,MAAM,cAAc,CAAC,UAAU,IACjC;IACI,CAAC,UAAW,GAAG,IAAI,MAAM,UAAU,GAAI,cAAc,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;CACzE,CAAC;AAEN;;;;;;;;;GASG;AACH,MAAM,MAAM,QAAQ,CAAC,UAAU,EAAE,aAAa,SAAS,OAAO,GAAG,IAAI,IACjE,aAAa,SAAS,KAAK,GACrB;IACE,CAAC,UAAW,GAAG,IAAI,MAAM,UAAU,GAAI,UAAU,CAAC,GAAG,CAAC;CACzD,GACC,aAAa,SAAS,IAAI,GACtB;IACE,CAAC,UAAW,GAAG,IAAI,MAAM,UAAU,GAAI,QAAQ,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;CACnE,GACC,KAAK,CAAC;AAEpB;;;;;GAKG;AACH,MAAM,MAAM,OAAO,CAAC,UAAU,IAAI,UAAU,CAAC,MAAM,UAA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