@jsfsi-core/ts-crossplatform 1.1.43 → 2.0.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/index.cjs +30 -5
- package/dist/index.mjs +1271 -933
- package/dist/src/configuration/configuration.d.ts +1 -1
- package/dist/src/datetime/datetime.d.ts +1 -1
- package/dist/src/http/index.d.ts +1 -1
- package/dist/src/index.d.ts +5 -5
- package/dist/src/paging/Page.d.ts +1 -1
- package/package.json +11 -11
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ZodType, z } from 'zod';
|
|
2
2
|
export declare const parseConfig: <T extends ZodType>(configSchema: T, env?: unknown) => z.infer<T>;
|
|
@@ -12,4 +12,4 @@ export type DateRange = {
|
|
|
12
12
|
startDate: Date;
|
|
13
13
|
endDate: Date;
|
|
14
14
|
};
|
|
15
|
-
export declare function convertDateInfoToDateRange({ allDay, startDate, startTime, endTime
|
|
15
|
+
export declare function convertDateInfoToDateRange({ allDay, startDate, startTime, endTime }: DateInfo): DateRange;
|
package/dist/src/http/index.d.ts
CHANGED
package/dist/src/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export * from './mocks/mock';
|
|
2
|
-
export * from './partials/RecursivePartial';
|
|
3
|
-
export * from './result/result';
|
|
4
|
-
export * from './failures';
|
|
5
1
|
export * from './configuration/configuration';
|
|
6
2
|
export * from './datetime/datetime';
|
|
3
|
+
export * from './failures';
|
|
7
4
|
export * from './guid/Guid';
|
|
8
|
-
export * from './paging';
|
|
9
5
|
export * from './http';
|
|
6
|
+
export * from './mocks/mock';
|
|
7
|
+
export * from './paging';
|
|
8
|
+
export * from './partials/RecursivePartial';
|
|
9
|
+
export * from './result/result';
|
|
10
10
|
export * from './validation';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsfsi-core/ts-crossplatform",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,22 +26,22 @@
|
|
|
26
26
|
"build": "npm run lint && tsc --noEmit && vite build",
|
|
27
27
|
"build:watch": "tsc && (tsc --watch & vite build --watch)",
|
|
28
28
|
"clean": "rm -rf dist && rm -rf node_modules && rm -rf coverage",
|
|
29
|
-
"format": "
|
|
30
|
-
"lint": "
|
|
31
|
-
"lint:fix": "
|
|
29
|
+
"format": "biome format --write src",
|
|
30
|
+
"lint": "biome check --write src",
|
|
31
|
+
"lint:fix": "biome check --write src",
|
|
32
32
|
"test": "vitest run",
|
|
33
33
|
"test:coverage": "vitest run --coverage",
|
|
34
34
|
"test:watch": "vitest"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"uuid": "14.0.
|
|
38
|
-
"zod": "4.3
|
|
37
|
+
"uuid": "14.0.1",
|
|
38
|
+
"zod": "4.4.3"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@vitest/coverage-v8": "4.1.
|
|
42
|
-
"nock": "14.0.
|
|
43
|
-
"vite": "8.
|
|
44
|
-
"vite-plugin-dts": "
|
|
45
|
-
"vitest": "4.1.
|
|
41
|
+
"@vitest/coverage-v8": "4.1.10",
|
|
42
|
+
"nock": "14.0.16",
|
|
43
|
+
"vite": "8.1.4",
|
|
44
|
+
"vite-plugin-dts": "5.0.3",
|
|
45
|
+
"vitest": "4.1.10"
|
|
46
46
|
}
|
|
47
47
|
}
|