@supatype/types 0.1.6 → 0.1.9
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/.turbo/turbo-build.log +1 -1
- package/.turbo/turbo-test.log +9 -7
- package/.turbo/turbo-typecheck.log +2 -2
- package/LICENSE +21 -0
- package/dist/index.d.ts +445 -39
- package/dist/index.d.ts.map +1 -1
- package/package.json +3 -2
- package/src/index.ts +537 -83
- package/tests/modifier-unwrap.test.ts +41 -0
- package/tests/primitives.test.ts +52 -85
- package/tests/relation-cycles.test.ts +50 -0
- package/tsconfig.test.json +26 -0
- package/tsconfig.tsbuildinfo +1 -1
package/.turbo/turbo-build.log
CHANGED
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
|
|
2
|
-
> @supatype/types@0.1.
|
|
2
|
+
> @supatype/types@0.1.9 test /home/runner/work/supatype/supatype/packages/types
|
|
3
3
|
> vitest run
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
[1m[46m RUN [49m[22m [36mv4.0.18 [39m[90m/home/runner/work/supatype/supatype/packages/types[39m
|
|
7
7
|
|
|
8
|
+
[32m✓[39m tests/relation-cycles.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m 16[2mms[22m[39m
|
|
9
|
+
[32m✓[39m tests/primitives.test.ts [2m([22m[2m15 tests[22m[2m)[22m[32m 30[2mms[22m[39m
|
|
10
|
+
[32m✓[39m tests/optional-model-spread.test.ts [2m([22m[2m5 tests[22m[2m)[22m[32m 20[2mms[22m[39m
|
|
8
11
|
[32m✓[39m tests/primitives.test.js [2m([22m[2m3 tests[22m[2m)[22m[32m 15[2mms[22m[39m
|
|
9
|
-
[32m✓[39m tests/
|
|
10
|
-
[32m✓[39m tests/optional-model-spread.test.ts [2m([22m[2m5 tests[22m[2m)[22m[32m 10[2mms[22m[39m
|
|
12
|
+
[32m✓[39m tests/modifier-unwrap.test.ts [2m([22m[2m4 tests[22m[2m)[22m[32m 7[2mms[22m[39m
|
|
11
13
|
|
|
12
|
-
[2m Test Files [22m [1m[
|
|
13
|
-
[2m Tests [22m [1m[
|
|
14
|
-
[2m Start at [22m
|
|
15
|
-
[2m Duration [22m
|
|
14
|
+
[2m Test Files [22m [1m[32m5 passed[39m[22m[90m (5)[39m
|
|
15
|
+
[2m Tests [22m [1m[32m29 passed[39m[22m[90m (29)[39m
|
|
16
|
+
[2m Start at [22m 21:59:05
|
|
17
|
+
[2m Duration [22m 2.13s[2m (transform 445ms, setup 0ms, import 864ms, tests 88ms, environment 1ms)[22m
|
|
16
18
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
> @supatype/types@0.1.
|
|
3
|
-
> tsc --project tsconfig.json --noEmit
|
|
2
|
+
> @supatype/types@0.1.9 typecheck /home/runner/work/supatype/supatype/packages/types
|
|
3
|
+
> tsc --project tsconfig.json --noEmit && tsc --project tsconfig.test.json
|
|
4
4
|
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Supatype
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|