@forklaunch/internal 0.1.3 → 0.1.5
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/lib/index.d.mts +5 -4
- package/lib/index.d.ts +5 -4
- package/lib/index.js +4 -5
- package/lib/index.mjs +4 -5
- package/package.json +6 -6
package/lib/index.d.mts
CHANGED
|
@@ -29,10 +29,11 @@ type InjectiveWithoutFunction<O, T> = {
|
|
|
29
29
|
[K in keyof R]: true;
|
|
30
30
|
} ? true : false : false;
|
|
31
31
|
type EqualityWithoutFunction<T extends IdiomaticSchema<TypeboxSchemaValidator>, Z extends IdiomaticSchema<ZodSchemaValidator>> = Schema<T, TypeboxSchemaValidator> extends infer TypeboxSchema ? Schema<Z, ZodSchemaValidator> extends infer ZodSchema ? InjectiveWithoutFunction<TypeboxSchema, ZodSchema> extends InjectiveWithoutFunction<ZodSchema, TypeboxSchema> ? true : false : false : false;
|
|
32
|
-
declare
|
|
33
|
-
A
|
|
34
|
-
B
|
|
35
|
-
}
|
|
32
|
+
declare const DummyEnum: {
|
|
33
|
+
readonly A: "A";
|
|
34
|
+
readonly B: "B";
|
|
35
|
+
};
|
|
36
|
+
type DummyEnum = (typeof DummyEnum)[keyof typeof DummyEnum];
|
|
36
37
|
|
|
37
38
|
type SchemasByValidator<T extends AnySchemaValidator, TypeBoxSchemas extends (...args: never[]) => unknown, ZodSchemas extends (...args: never[]) => unknown> = T extends TypeboxSchemaValidator ? ReturnType<TypeBoxSchemas> : T extends ZodSchemaValidator ? ReturnType<ZodSchemas> : never;
|
|
38
39
|
|
package/lib/index.d.ts
CHANGED
|
@@ -29,10 +29,11 @@ type InjectiveWithoutFunction<O, T> = {
|
|
|
29
29
|
[K in keyof R]: true;
|
|
30
30
|
} ? true : false : false;
|
|
31
31
|
type EqualityWithoutFunction<T extends IdiomaticSchema<TypeboxSchemaValidator>, Z extends IdiomaticSchema<ZodSchemaValidator>> = Schema<T, TypeboxSchemaValidator> extends infer TypeboxSchema ? Schema<Z, ZodSchemaValidator> extends infer ZodSchema ? InjectiveWithoutFunction<TypeboxSchema, ZodSchema> extends InjectiveWithoutFunction<ZodSchema, TypeboxSchema> ? true : false : false : false;
|
|
32
|
-
declare
|
|
33
|
-
A
|
|
34
|
-
B
|
|
35
|
-
}
|
|
32
|
+
declare const DummyEnum: {
|
|
33
|
+
readonly A: "A";
|
|
34
|
+
readonly B: "B";
|
|
35
|
+
};
|
|
36
|
+
type DummyEnum = (typeof DummyEnum)[keyof typeof DummyEnum];
|
|
36
37
|
|
|
37
38
|
type SchemasByValidator<T extends AnySchemaValidator, TypeBoxSchemas extends (...args: never[]) => unknown, ZodSchemas extends (...args: never[]) => unknown> = T extends TypeboxSchemaValidator ? ReturnType<TypeBoxSchemas> : T extends ZodSchemaValidator ? ReturnType<ZodSchemas> : never;
|
|
38
39
|
|
package/lib/index.js
CHANGED
|
@@ -61,11 +61,10 @@ function testSchemaEquality() {
|
|
|
61
61
|
return isEqual;
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
|
-
var DummyEnum =
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
})(DummyEnum || {});
|
|
64
|
+
var DummyEnum = {
|
|
65
|
+
A: "A",
|
|
66
|
+
B: "B"
|
|
67
|
+
};
|
|
69
68
|
|
|
70
69
|
// src/serviceSchemaResolver.ts
|
|
71
70
|
var import_common2 = require("@forklaunch/common");
|
package/lib/index.mjs
CHANGED
|
@@ -34,11 +34,10 @@ function testSchemaEquality() {
|
|
|
34
34
|
return isEqual;
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
|
-
var DummyEnum =
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
})(DummyEnum || {});
|
|
37
|
+
var DummyEnum = {
|
|
38
|
+
A: "A",
|
|
39
|
+
B: "B"
|
|
40
|
+
};
|
|
42
41
|
|
|
43
42
|
// src/serviceSchemaResolver.ts
|
|
44
43
|
import { isNever } from "@forklaunch/common";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forklaunch/internal",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "Internal package for utilities and other internal code.",
|
|
5
5
|
"homepage": "https://github.com/forklaunch/forklaunch-js#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -29,20 +29,20 @@
|
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@mikro-orm/core": "^6.4.16",
|
|
32
|
-
"@forklaunch/common": "0.4.
|
|
33
|
-
"@forklaunch/validator": "0.7.
|
|
32
|
+
"@forklaunch/common": "0.4.3",
|
|
33
|
+
"@forklaunch/validator": "0.7.5"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@eslint/js": "^9.30.1",
|
|
37
|
-
"@types/node": "^24.0.
|
|
38
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
37
|
+
"@types/node": "^24.0.12",
|
|
38
|
+
"@typescript/native-preview": "7.0.0-dev.20250709.1",
|
|
39
39
|
"depcheck": "^1.4.7",
|
|
40
40
|
"eslint": "^9.30.1",
|
|
41
41
|
"globals": "^16.3.0",
|
|
42
42
|
"tsup": "^8.5.0",
|
|
43
43
|
"typedoc": "^0.28.7",
|
|
44
44
|
"typescript": "^5.8.3",
|
|
45
|
-
"typescript-eslint": "^8.
|
|
45
|
+
"typescript-eslint": "^8.36.0",
|
|
46
46
|
"vitest": "^3.2.4"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|