Comparing version 0.4.0 to 0.4.1-next.1
@@ -36,3 +36,3 @@ import { SomeSchema, SomeSchemaDef } from '../../core/internal.js'; | ||
declare type Encoders<Names extends string[], V extends SomeStoredRecord> = Encoders_<{}, Names, V>; | ||
declare type Encoders_<Obj, Names extends string[], V extends SomeStoredRecord> = Names extends [] ? Obj : Decoders_<Obj & Encoder_<Names[0], V>, Rest<Names>, V>; | ||
declare type Encoders_<Obj, Names extends string[], V extends SomeStoredRecord> = Names extends [] ? Obj : Encoders_<Obj & Encoder_<Names[0], V>, Rest<Names>, V>; | ||
declare type Encoder_<Name extends string, V extends SomeStoredRecord> = { | ||
@@ -39,0 +39,0 @@ [N in Name]: Encoder<V>; |
@@ -36,3 +36,3 @@ import { SomeSchema, SomeSchemaDef } from '../../core/internal.js'; | ||
declare type Encoders<Names extends string[], V extends SomeStoredRecord> = Encoders_<{}, Names, V>; | ||
declare type Encoders_<Obj, Names extends string[], V extends SomeStoredRecord> = Names extends [] ? Obj : Decoders_<Obj & Encoder_<Names[0], V>, Rest<Names>, V>; | ||
declare type Encoders_<Obj, Names extends string[], V extends SomeStoredRecord> = Names extends [] ? Obj : Encoders_<Obj & Encoder_<Names[0], V>, Rest<Names>, V>; | ||
declare type Encoder_<Name extends string, V extends SomeStoredRecord> = { | ||
@@ -39,0 +39,0 @@ [N in Name]: Encoder<V>; |
{ | ||
"name": "alge", | ||
"version": "0.4.0", | ||
"version": "0.4.1-next.1", | ||
"repository": "git@github.com:jasonkuhrt/alge.git", | ||
"author": "Jason Kuhrt", | ||
"packageManager": "pnpm@7.9.0", | ||
"packageManager": "pnpm@7.9.3", | ||
"license": "MIT", | ||
@@ -53,16 +53,16 @@ "files": [ | ||
"@prisma-labs/prettier-config": "0.1.0", | ||
"@swc/core": "1.2.224", | ||
"@swc/helpers": "0.4.3", | ||
"@swc/core": "1.2.241", | ||
"@swc/helpers": "0.4.7", | ||
"@swc/jest": "0.2.22", | ||
"@tsconfig/node16": "1.0.3", | ||
"@tsconfig/recommended": "1.0.1", | ||
"@types/jest": "28.1.6", | ||
"@types/jest": "28.1.7", | ||
"@types/lodash.ismatch": "4.4.7", | ||
"@types/node": "17.0.39", | ||
"@types/semver": "7.3.10", | ||
"@types/semver": "7.3.12", | ||
"@types/semver-utils": "1.1.1", | ||
"@typescript-eslint/eslint-plugin": "5.32.0", | ||
"@typescript-eslint/parser": "5.32.0", | ||
"@typescript-eslint/eslint-plugin": "5.33.1", | ||
"@typescript-eslint/parser": "5.33.1", | ||
"dripip": "0.10.0", | ||
"eslint": "8.21.0", | ||
"eslint": "8.22.0", | ||
"eslint-config-prettier": "8.5.0", | ||
@@ -84,3 +84,3 @@ "eslint-plugin-codegen": "0.16.1", | ||
"semver-utils": "1.1.4", | ||
"ts-jest": "28.0.7", | ||
"ts-jest": "28.0.8", | ||
"ts-node": "10.9.1", | ||
@@ -87,0 +87,0 @@ "tsd": "0.22.0", |
@@ -46,3 +46,3 @@ import { SomeSchema, SomeSchemaDef } from '../../core/internal.js' | ||
? Obj | ||
: Decoders_<Obj & Encoder_<Names[0], V>, Rest<Names>, V> | ||
: Encoders_<Obj & Encoder_<Names[0], V>, Rest<Names>, V> | ||
@@ -49,0 +49,0 @@ type Encoder_<Name extends string, V extends SomeStoredRecord> = { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
279007