From 5020bf7452ceeaa653b25efd43fe42b6f51f29ff Mon Sep 17 00:00:00 2001 From: sinclair Date: Wed, 29 Nov 2023 19:34:26 +0900 Subject: [PATCH] Revision 0.32.0 --- examples/index.ts | 7 +------ src/compiler/compiler.ts | 10 ++++++++-- src/type/any/any.ts | 2 +- src/type/any/index.ts | 2 +- src/type/array/array.ts | 2 +- src/type/array/index.ts | 2 +- src/type/async-iterator/async-iterator.ts | 2 +- src/type/async-iterator/index.ts | 2 +- src/type/awaited/awaited.ts | 2 +- src/type/awaited/index.ts | 2 +- src/type/bigint/bigint.ts | 2 +- src/type/bigint/index.ts | 2 +- src/type/boolean/boolean.ts | 2 +- src/type/boolean/index.ts | 2 +- src/type/builder/index.ts | 2 +- src/type/builder/javascript.ts | 2 +- src/type/builder/json.ts | 2 +- src/type/builder/type.ts | 2 +- src/type/clone/index.ts | 2 +- src/type/clone/type.ts | 2 +- src/type/clone/value.ts | 2 +- src/type/composite/composite.ts | 2 +- src/type/composite/index.ts | 2 +- src/type/const/const.ts | 2 +- src/type/const/index.ts | 2 +- .../constructor-parameters/constructor-parameters.ts | 2 +- src/type/constructor-parameters/index.ts | 2 +- src/type/constructor/constructor.ts | 2 +- src/type/constructor/index.ts | 2 +- src/type/date/date.ts | 2 +- src/type/date/index.ts | 2 +- src/type/deref/deref.ts | 2 +- src/type/deref/index.ts | 2 +- src/type/discard/discard.ts | 2 +- src/type/discard/index.ts | 2 +- src/type/distinct/distinct.ts | 2 +- src/type/distinct/index.ts | 2 +- src/type/enum/enum.ts | 2 +- src/type/enum/index.ts | 2 +- src/type/exclude/exclude.ts | 2 +- src/type/exclude/index.ts | 2 +- src/type/extends/extends-check.ts | 2 +- src/type/extends/extends-undefined.ts | 2 +- src/type/extends/extends.ts | 2 +- src/type/extends/index.ts | 2 +- src/type/extract/extract.ts | 2 +- src/type/extract/index.ts | 2 +- src/type/function/function.ts | 2 +- src/type/function/index.ts | 2 +- src/type/guard/index.ts | 2 +- src/type/guard/type.ts | 2 +- src/type/guard/value.ts | 2 +- src/type/helpers/helpers.ts | 2 +- src/type/helpers/index.ts | 2 +- src/type/index.ts | 2 +- src/type/indexed/index.ts | 2 +- src/type/indexed/indexed-key.ts | 2 +- src/type/indexed/indexed-type.ts | 2 +- src/type/indexed/indexed.ts | 2 +- src/type/instance-type/index.ts | 2 +- src/type/instance-type/instance-type.ts | 2 +- src/type/integer/index.ts | 2 +- src/type/integer/integer.ts | 2 +- src/type/intersect/index.ts | 2 +- src/type/intersect/intersect.ts | 2 +- src/type/intrinsic/index.ts | 2 +- src/type/intrinsic/intrinsic.ts | 2 +- src/type/iterator/index.ts | 2 +- src/type/iterator/iterator.ts | 2 +- src/type/keyof/index.ts | 2 +- src/type/keyof/keyof-string.ts | 2 +- src/type/keyof/keyof-type.ts | 2 +- src/type/keyof/keyof.ts | 2 +- src/type/literal/index.ts | 2 +- src/type/literal/literal.ts | 2 +- src/type/modifiers/index.ts | 2 +- src/type/modifiers/modifiers.ts | 2 +- src/type/never/index.ts | 3 +-- src/type/never/never.ts | 2 +- src/type/not/index.ts | 2 +- src/type/not/not.ts | 2 +- src/type/null/index.ts | 2 +- src/type/null/null.ts | 2 +- src/type/number/index.ts | 2 +- src/type/number/number.ts | 2 +- src/type/object/index.ts | 2 +- src/type/object/object.ts | 2 +- src/type/omit/index.ts | 2 +- src/type/omit/omit.ts | 2 +- src/type/operators/index.ts | 2 +- src/type/operators/operators.ts | 2 +- src/type/optional/index.ts | 2 +- src/type/optional/optional.ts | 2 +- src/type/parameters/index.ts | 2 +- src/type/parameters/parameters.ts | 2 +- src/type/partial/index.ts | 2 +- src/type/partial/partial.ts | 2 +- src/type/patterns/index.ts | 2 +- src/type/patterns/patterns.ts | 2 +- src/type/pick/index.ts | 2 +- src/type/pick/pick.ts | 2 +- src/type/promise/index.ts | 2 +- src/type/promise/promise.ts | 2 +- src/type/readonly-optional/index.ts | 2 +- src/type/readonly-optional/readonly-optional.ts | 2 +- src/type/readonly/index.ts | 2 +- src/type/readonly/readonly.ts | 2 +- src/type/record/index.ts | 2 +- src/type/record/record.ts | 2 +- src/type/recursive/index.ts | 2 +- src/type/recursive/recursive.ts | 2 +- src/type/ref/index.ts | 2 +- src/type/ref/ref.ts | 2 +- src/type/regexp/index.ts | 2 +- src/type/regexp/regexp.ts | 2 +- src/type/registry/format.ts | 2 +- src/type/registry/index.ts | 2 +- src/type/registry/type.ts | 2 +- src/type/required/index.ts | 2 +- src/type/required/required.ts | 2 +- src/type/rest/index.ts | 2 +- src/type/rest/rest.ts | 2 +- src/type/return-type/index.ts | 2 +- src/type/return-type/return-type.ts | 2 +- src/type/schema/anyschema.ts | 2 +- src/type/schema/index.ts | 2 +- src/type/schema/schema.ts | 2 +- src/type/static/index.ts | 2 +- src/type/static/static.ts | 2 +- src/type/strict/index.ts | 2 +- src/type/strict/strict.ts | 2 +- src/type/string/index.ts | 2 +- src/type/string/string.ts | 2 +- src/type/symbol/index.ts | 2 +- src/type/symbol/symbol.ts | 2 +- src/type/symbols/index.ts | 2 +- src/type/symbols/symbols.ts | 2 +- src/type/template-literal/finite.ts | 2 +- src/type/template-literal/generate.ts | 2 +- src/type/template-literal/index.ts | 2 +- src/type/template-literal/parser.ts | 2 +- src/type/template-literal/pattern.ts | 2 +- src/type/template-literal/syntax.ts | 2 +- src/type/template-literal/template-literal.ts | 2 +- src/type/template-literal/union.ts | 2 +- src/type/transform/index.ts | 2 +- src/type/transform/transform.ts | 2 +- src/type/tuple/index.ts | 2 +- src/type/tuple/tuple.ts | 2 +- src/type/uint8array/index.ts | 2 +- src/type/uint8array/uint8array.ts | 2 +- src/type/undefined/index.ts | 2 +- src/type/undefined/undefined.ts | 2 +- src/type/union/index.ts | 2 +- src/type/union/union.ts | 2 +- src/type/unknown/index.ts | 2 +- src/type/unknown/unknown.ts | 2 +- src/type/unsafe/index.ts | 2 +- src/type/unsafe/unsafe.ts | 2 +- src/type/void/index.ts | 2 +- src/type/void/void.ts | 2 +- 161 files changed, 168 insertions(+), 168 deletions(-) diff --git a/examples/index.ts b/examples/index.ts index da9870214..0fd46e8a9 100644 --- a/examples/index.ts +++ b/examples/index.ts @@ -1,8 +1,3 @@ import Type, { JavaScriptTypeBuilder, FormatRegistry, type Static } from '@sinclair/typebox' -import Value from '@sinclair/typebox/value' +import {} from '@sinclair/typebox/value' import { TypeCompiler } from '@sinclair/typebox/compiler' - - - -export class Foo extends JavaScriptTypeBuilder {} -const foo = new JavaScriptTypeBuilder() diff --git a/src/compiler/compiler.ts b/src/compiler/compiler.ts index 1edd337da..6f7805709 100644 --- a/src/compiler/compiler.ts +++ b/src/compiler/compiler.ts @@ -96,12 +96,18 @@ export class TypeCheck { public Check(value: unknown): value is Static { return this.checkFunc(value) } - /** Decodes a value or throws if error */ + /** + * Decodes a value or throws if error + * @deprecated Use raw `Decode` from `Value` module + */ public Decode(value: unknown): StaticDecode { if (!this.checkFunc(value)) throw new TransformDecodeCheckError(this.schema, value, this.Errors(value).First()!) return this.hasTransform ? TransformDecode(this.schema, this.references, value) : value } - /** Encodes a value or throws if error */ + /** + * Encodes a value or throws if error + * @deprecated Use raw `Encode` from `Value` module + */ public Encode(value: unknown): StaticEncode { const encoded = this.hasTransform ? TransformEncode(this.schema, this.references, value) : value if (!this.checkFunc(encoded)) throw new TransformEncodeCheckError(this.schema, value, this.Errors(value).First()!) diff --git a/src/type/any/any.ts b/src/type/any/any.ts index d492b8bcb..c5b166f80 100644 --- a/src/type/any/any.ts +++ b/src/type/any/any.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/any/index.ts b/src/type/any/index.ts index 7f038dec6..29688e122 100644 --- a/src/type/any/index.ts +++ b/src/type/any/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/array/array.ts b/src/type/array/array.ts index 5f1536a8b..02c0f0375 100644 --- a/src/type/array/array.ts +++ b/src/type/array/array.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/array/index.ts b/src/type/array/index.ts index a221390e9..ae02b63c0 100644 --- a/src/type/array/index.ts +++ b/src/type/array/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/async-iterator/async-iterator.ts b/src/type/async-iterator/async-iterator.ts index 9c8986d4b..476057f13 100644 --- a/src/type/async-iterator/async-iterator.ts +++ b/src/type/async-iterator/async-iterator.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/async-iterator/index.ts b/src/type/async-iterator/index.ts index 8ee80e658..d6bc7cb22 100644 --- a/src/type/async-iterator/index.ts +++ b/src/type/async-iterator/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/awaited/awaited.ts b/src/type/awaited/awaited.ts index 4c0b7357e..16a55c972 100644 --- a/src/type/awaited/awaited.ts +++ b/src/type/awaited/awaited.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/awaited/index.ts b/src/type/awaited/index.ts index a46d4bca0..26a23a571 100644 --- a/src/type/awaited/index.ts +++ b/src/type/awaited/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/bigint/bigint.ts b/src/type/bigint/bigint.ts index 91d83d259..976397d85 100644 --- a/src/type/bigint/bigint.ts +++ b/src/type/bigint/bigint.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/bigint/index.ts b/src/type/bigint/index.ts index 3b5095f8f..ce8f4fbf9 100644 --- a/src/type/bigint/index.ts +++ b/src/type/bigint/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/boolean/boolean.ts b/src/type/boolean/boolean.ts index 3c908ceaa..5516a07f2 100644 --- a/src/type/boolean/boolean.ts +++ b/src/type/boolean/boolean.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/boolean/index.ts b/src/type/boolean/index.ts index 11285b97c..aad153cb3 100644 --- a/src/type/boolean/index.ts +++ b/src/type/boolean/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/builder/index.ts b/src/type/builder/index.ts index 60f49c2ab..081b459d1 100644 --- a/src/type/builder/index.ts +++ b/src/type/builder/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/builder/javascript.ts b/src/type/builder/javascript.ts index f31f4a6f0..b45aeb229 100644 --- a/src/type/builder/javascript.ts +++ b/src/type/builder/javascript.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/builder/json.ts b/src/type/builder/json.ts index c0df71426..57fc9d21b 100644 --- a/src/type/builder/json.ts +++ b/src/type/builder/json.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/builder/type.ts b/src/type/builder/type.ts index 3abef6cf3..fc5081ccc 100644 --- a/src/type/builder/type.ts +++ b/src/type/builder/type.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/clone/index.ts b/src/type/clone/index.ts index 64b9339bd..44bd8cb28 100644 --- a/src/type/clone/index.ts +++ b/src/type/clone/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/clone/type.ts b/src/type/clone/type.ts index 5a44a99e0..08d1c3f43 100644 --- a/src/type/clone/type.ts +++ b/src/type/clone/type.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/clone/value.ts b/src/type/clone/value.ts index a60cb8612..0f2ea9450 100644 --- a/src/type/clone/value.ts +++ b/src/type/clone/value.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/composite/composite.ts b/src/type/composite/composite.ts index dfc9f6e8d..545464973 100644 --- a/src/type/composite/composite.ts +++ b/src/type/composite/composite.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/composite/index.ts b/src/type/composite/index.ts index f23607487..2fe294b71 100644 --- a/src/type/composite/index.ts +++ b/src/type/composite/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/const/const.ts b/src/type/const/const.ts index 515c81c10..3eea0c7d3 100644 --- a/src/type/const/const.ts +++ b/src/type/const/const.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/const/index.ts b/src/type/const/index.ts index e326da86c..f13d0f549 100644 --- a/src/type/const/index.ts +++ b/src/type/const/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/constructor-parameters/constructor-parameters.ts b/src/type/constructor-parameters/constructor-parameters.ts index 5aa791c5c..1ff7c55cb 100644 --- a/src/type/constructor-parameters/constructor-parameters.ts +++ b/src/type/constructor-parameters/constructor-parameters.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/constructor-parameters/index.ts b/src/type/constructor-parameters/index.ts index f78668167..23f9c265b 100644 --- a/src/type/constructor-parameters/index.ts +++ b/src/type/constructor-parameters/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/constructor/constructor.ts b/src/type/constructor/constructor.ts index f55012e03..3764e5558 100644 --- a/src/type/constructor/constructor.ts +++ b/src/type/constructor/constructor.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/constructor/index.ts b/src/type/constructor/index.ts index f98b707e4..8e75965f7 100644 --- a/src/type/constructor/index.ts +++ b/src/type/constructor/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/date/date.ts b/src/type/date/date.ts index 171688b00..a4bf5fa5a 100644 --- a/src/type/date/date.ts +++ b/src/type/date/date.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/date/index.ts b/src/type/date/index.ts index 58d0e375c..932ee5def 100644 --- a/src/type/date/index.ts +++ b/src/type/date/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/deref/deref.ts b/src/type/deref/deref.ts index 5dd8ef467..519725af2 100644 --- a/src/type/deref/deref.ts +++ b/src/type/deref/deref.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/deref/index.ts b/src/type/deref/index.ts index fdc0b4858..496b4d6f0 100644 --- a/src/type/deref/index.ts +++ b/src/type/deref/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/discard/discard.ts b/src/type/discard/discard.ts index a2a1a3b8c..537455b2c 100644 --- a/src/type/discard/discard.ts +++ b/src/type/discard/discard.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/discard/index.ts b/src/type/discard/index.ts index 73ff2051b..43fb9af56 100644 --- a/src/type/discard/index.ts +++ b/src/type/discard/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/distinct/distinct.ts b/src/type/distinct/distinct.ts index 87dcc7393..079dcab9e 100644 --- a/src/type/distinct/distinct.ts +++ b/src/type/distinct/distinct.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/distinct/index.ts b/src/type/distinct/index.ts index c3e7b0bde..2fcd7f1f3 100644 --- a/src/type/distinct/index.ts +++ b/src/type/distinct/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/enum/enum.ts b/src/type/enum/enum.ts index 29e9c98da..9740f9aaa 100644 --- a/src/type/enum/enum.ts +++ b/src/type/enum/enum.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/enum/index.ts b/src/type/enum/index.ts index 4cf2b91c2..d5dfd4a6f 100644 --- a/src/type/enum/index.ts +++ b/src/type/enum/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/exclude/exclude.ts b/src/type/exclude/exclude.ts index 7b39f1ab7..986816d7c 100644 --- a/src/type/exclude/exclude.ts +++ b/src/type/exclude/exclude.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/exclude/index.ts b/src/type/exclude/index.ts index e44c31822..4ed911329 100644 --- a/src/type/exclude/index.ts +++ b/src/type/exclude/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/extends/extends-check.ts b/src/type/extends/extends-check.ts index e9c26e68b..13fdfd736 100644 --- a/src/type/extends/extends-check.ts +++ b/src/type/extends/extends-check.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/extends/extends-undefined.ts b/src/type/extends/extends-undefined.ts index bfe19013e..f6c275c6a 100644 --- a/src/type/extends/extends-undefined.ts +++ b/src/type/extends/extends-undefined.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/extends/extends.ts b/src/type/extends/extends.ts index cdc1898c9..86e11c0ee 100644 --- a/src/type/extends/extends.ts +++ b/src/type/extends/extends.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/extends/index.ts b/src/type/extends/index.ts index 2ad012224..e1d7e7e76 100644 --- a/src/type/extends/index.ts +++ b/src/type/extends/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/extract/extract.ts b/src/type/extract/extract.ts index f065a21d6..19d873dfd 100644 --- a/src/type/extract/extract.ts +++ b/src/type/extract/extract.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/extract/index.ts b/src/type/extract/index.ts index 641cc9e74..7335c0f12 100644 --- a/src/type/extract/index.ts +++ b/src/type/extract/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/function/function.ts b/src/type/function/function.ts index 6d7f8a393..d03855159 100644 --- a/src/type/function/function.ts +++ b/src/type/function/function.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/function/index.ts b/src/type/function/index.ts index 4a8e31b9a..3399c7270 100644 --- a/src/type/function/index.ts +++ b/src/type/function/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/guard/index.ts b/src/type/guard/index.ts index 572e24f48..2e7cc05ad 100644 --- a/src/type/guard/index.ts +++ b/src/type/guard/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/guard/type.ts b/src/type/guard/type.ts index c4eff593f..388d66230 100644 --- a/src/type/guard/type.ts +++ b/src/type/guard/type.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/guard/value.ts b/src/type/guard/value.ts index ece58e873..90af43e55 100644 --- a/src/type/guard/value.ts +++ b/src/type/guard/value.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/helpers/helpers.ts b/src/type/helpers/helpers.ts index ddbb4f86c..d47ec65d2 100644 --- a/src/type/helpers/helpers.ts +++ b/src/type/helpers/helpers.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/helpers/index.ts b/src/type/helpers/index.ts index 0c6fb3f16..4d6559c8a 100644 --- a/src/type/helpers/index.ts +++ b/src/type/helpers/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/index.ts b/src/type/index.ts index bfdb0f989..067650859 100644 --- a/src/type/index.ts +++ b/src/type/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/indexed/index.ts b/src/type/indexed/index.ts index 7ab7ded97..77d2b3719 100644 --- a/src/type/indexed/index.ts +++ b/src/type/indexed/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/indexed/indexed-key.ts b/src/type/indexed/indexed-key.ts index d38663c34..17f470f63 100644 --- a/src/type/indexed/indexed-key.ts +++ b/src/type/indexed/indexed-key.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/indexed/indexed-type.ts b/src/type/indexed/indexed-type.ts index a9e058579..be88eb3ae 100644 --- a/src/type/indexed/indexed-type.ts +++ b/src/type/indexed/indexed-type.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/indexed/indexed.ts b/src/type/indexed/indexed.ts index 702bd59d8..c615d6d22 100644 --- a/src/type/indexed/indexed.ts +++ b/src/type/indexed/indexed.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/instance-type/index.ts b/src/type/instance-type/index.ts index b25c037d4..aa85b717a 100644 --- a/src/type/instance-type/index.ts +++ b/src/type/instance-type/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/instance-type/instance-type.ts b/src/type/instance-type/instance-type.ts index 50fff353a..ffc7093f5 100644 --- a/src/type/instance-type/instance-type.ts +++ b/src/type/instance-type/instance-type.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/integer/index.ts b/src/type/integer/index.ts index c48d28cc3..73513ebc8 100644 --- a/src/type/integer/index.ts +++ b/src/type/integer/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/integer/integer.ts b/src/type/integer/integer.ts index b6fe54a58..513d94c7c 100644 --- a/src/type/integer/integer.ts +++ b/src/type/integer/integer.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/intersect/index.ts b/src/type/intersect/index.ts index 841edd7a7..59135edfc 100644 --- a/src/type/intersect/index.ts +++ b/src/type/intersect/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/intersect/intersect.ts b/src/type/intersect/intersect.ts index 875da75a2..4fc3a4693 100644 --- a/src/type/intersect/intersect.ts +++ b/src/type/intersect/intersect.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/intrinsic/index.ts b/src/type/intrinsic/index.ts index d4522d5e0..6c20265fb 100644 --- a/src/type/intrinsic/index.ts +++ b/src/type/intrinsic/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/intrinsic/intrinsic.ts b/src/type/intrinsic/intrinsic.ts index 90dccc0e5..48daf0810 100644 --- a/src/type/intrinsic/intrinsic.ts +++ b/src/type/intrinsic/intrinsic.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/iterator/index.ts b/src/type/iterator/index.ts index f924c5475..8c41f54e3 100644 --- a/src/type/iterator/index.ts +++ b/src/type/iterator/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/iterator/iterator.ts b/src/type/iterator/iterator.ts index 9123caae3..66b75bfbc 100644 --- a/src/type/iterator/iterator.ts +++ b/src/type/iterator/iterator.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/keyof/index.ts b/src/type/keyof/index.ts index 910240612..61708fc40 100644 --- a/src/type/keyof/index.ts +++ b/src/type/keyof/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/keyof/keyof-string.ts b/src/type/keyof/keyof-string.ts index db15cf636..dd38ed96e 100644 --- a/src/type/keyof/keyof-string.ts +++ b/src/type/keyof/keyof-string.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/keyof/keyof-type.ts b/src/type/keyof/keyof-type.ts index 1900ac4e1..88ccb5b42 100644 --- a/src/type/keyof/keyof-type.ts +++ b/src/type/keyof/keyof-type.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/keyof/keyof.ts b/src/type/keyof/keyof.ts index f626bcb5d..2c0a4b35d 100644 --- a/src/type/keyof/keyof.ts +++ b/src/type/keyof/keyof.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/literal/index.ts b/src/type/literal/index.ts index afc98d28f..d4cb53ef2 100644 --- a/src/type/literal/index.ts +++ b/src/type/literal/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/literal/literal.ts b/src/type/literal/literal.ts index 4d3004739..8754ffd7c 100644 --- a/src/type/literal/literal.ts +++ b/src/type/literal/literal.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/modifiers/index.ts b/src/type/modifiers/index.ts index 483f9f7ef..e57239326 100644 --- a/src/type/modifiers/index.ts +++ b/src/type/modifiers/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/modifiers/modifiers.ts b/src/type/modifiers/modifiers.ts index f5bc49a2c..75387d047 100644 --- a/src/type/modifiers/modifiers.ts +++ b/src/type/modifiers/modifiers.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/never/index.ts b/src/type/never/index.ts index bb41eb5bb..913504405 100644 --- a/src/type/never/index.ts +++ b/src/type/never/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) @@ -25,5 +25,4 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ---------------------------------------------------------------------------*/ - export * from './never' diff --git a/src/type/never/never.ts b/src/type/never/never.ts index 5da0c57ec..89c73c925 100644 --- a/src/type/never/never.ts +++ b/src/type/never/never.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/not/index.ts b/src/type/not/index.ts index 1a5db6061..49cf9dca8 100644 --- a/src/type/not/index.ts +++ b/src/type/not/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/not/not.ts b/src/type/not/not.ts index d7e8361a4..71c1f3c44 100644 --- a/src/type/not/not.ts +++ b/src/type/not/not.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/null/index.ts b/src/type/null/index.ts index 058789896..281bef4f4 100644 --- a/src/type/null/index.ts +++ b/src/type/null/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/null/null.ts b/src/type/null/null.ts index 1fb05314a..6c0f5cf38 100644 --- a/src/type/null/null.ts +++ b/src/type/null/null.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/number/index.ts b/src/type/number/index.ts index 26b467504..c43f623c7 100644 --- a/src/type/number/index.ts +++ b/src/type/number/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/number/number.ts b/src/type/number/number.ts index 087f750e6..d047ea8ef 100644 --- a/src/type/number/number.ts +++ b/src/type/number/number.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/object/index.ts b/src/type/object/index.ts index 8e0ccedf6..5bebd5824 100644 --- a/src/type/object/index.ts +++ b/src/type/object/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/object/object.ts b/src/type/object/object.ts index cddb9fe4b..c47a039d2 100644 --- a/src/type/object/object.ts +++ b/src/type/object/object.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/omit/index.ts b/src/type/omit/index.ts index 83e5edd10..d1fc93833 100644 --- a/src/type/omit/index.ts +++ b/src/type/omit/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/omit/omit.ts b/src/type/omit/omit.ts index bf313a86a..2995c5176 100644 --- a/src/type/omit/omit.ts +++ b/src/type/omit/omit.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/operators/index.ts b/src/type/operators/index.ts index aa6325eaa..59a6c6925 100644 --- a/src/type/operators/index.ts +++ b/src/type/operators/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/operators/operators.ts b/src/type/operators/operators.ts index 29ad08996..927afb9a5 100644 --- a/src/type/operators/operators.ts +++ b/src/type/operators/operators.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/optional/index.ts b/src/type/optional/index.ts index 4cd5011be..637cf0620 100644 --- a/src/type/optional/index.ts +++ b/src/type/optional/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/optional/optional.ts b/src/type/optional/optional.ts index a1dfccadb..f55c77a2b 100644 --- a/src/type/optional/optional.ts +++ b/src/type/optional/optional.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/parameters/index.ts b/src/type/parameters/index.ts index 8ceae5140..195fafbb0 100644 --- a/src/type/parameters/index.ts +++ b/src/type/parameters/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/parameters/parameters.ts b/src/type/parameters/parameters.ts index f3895efd3..ab6ac76b0 100644 --- a/src/type/parameters/parameters.ts +++ b/src/type/parameters/parameters.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/partial/index.ts b/src/type/partial/index.ts index 72d4a26bd..ce37bcee5 100644 --- a/src/type/partial/index.ts +++ b/src/type/partial/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/partial/partial.ts b/src/type/partial/partial.ts index 0c97afd6b..e7d469d69 100644 --- a/src/type/partial/partial.ts +++ b/src/type/partial/partial.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/patterns/index.ts b/src/type/patterns/index.ts index f6b72e45c..7dbf0a210 100644 --- a/src/type/patterns/index.ts +++ b/src/type/patterns/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/patterns/patterns.ts b/src/type/patterns/patterns.ts index 08810ad6a..d9b9e8d79 100644 --- a/src/type/patterns/patterns.ts +++ b/src/type/patterns/patterns.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/pick/index.ts b/src/type/pick/index.ts index 3c47cf36d..9af323051 100644 --- a/src/type/pick/index.ts +++ b/src/type/pick/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/pick/pick.ts b/src/type/pick/pick.ts index fc574f5fa..8c34c033d 100644 --- a/src/type/pick/pick.ts +++ b/src/type/pick/pick.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/promise/index.ts b/src/type/promise/index.ts index eb024e0fa..55150952e 100644 --- a/src/type/promise/index.ts +++ b/src/type/promise/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/promise/promise.ts b/src/type/promise/promise.ts index 70c01d8f9..5ee1d225f 100644 --- a/src/type/promise/promise.ts +++ b/src/type/promise/promise.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/readonly-optional/index.ts b/src/type/readonly-optional/index.ts index 652e4f43a..3e44a84c0 100644 --- a/src/type/readonly-optional/index.ts +++ b/src/type/readonly-optional/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/readonly-optional/readonly-optional.ts b/src/type/readonly-optional/readonly-optional.ts index 2e37095e9..4f1ce9e8b 100644 --- a/src/type/readonly-optional/readonly-optional.ts +++ b/src/type/readonly-optional/readonly-optional.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/readonly/index.ts b/src/type/readonly/index.ts index 0a6b24667..ef48e5346 100644 --- a/src/type/readonly/index.ts +++ b/src/type/readonly/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/readonly/readonly.ts b/src/type/readonly/readonly.ts index 6405a50ee..b925a5a84 100644 --- a/src/type/readonly/readonly.ts +++ b/src/type/readonly/readonly.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/record/index.ts b/src/type/record/index.ts index f36ec97c8..10eb1ceb9 100644 --- a/src/type/record/index.ts +++ b/src/type/record/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/record/record.ts b/src/type/record/record.ts index 664d55a1c..ab543c227 100644 --- a/src/type/record/record.ts +++ b/src/type/record/record.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/recursive/index.ts b/src/type/recursive/index.ts index 3b4e17dd9..9bb19d9f4 100644 --- a/src/type/recursive/index.ts +++ b/src/type/recursive/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/recursive/recursive.ts b/src/type/recursive/recursive.ts index 6fbce1b5b..eda0ef279 100644 --- a/src/type/recursive/recursive.ts +++ b/src/type/recursive/recursive.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/ref/index.ts b/src/type/ref/index.ts index 847d754b6..1db9fa4e0 100644 --- a/src/type/ref/index.ts +++ b/src/type/ref/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/ref/ref.ts b/src/type/ref/ref.ts index 4ac95c239..8aacc2381 100644 --- a/src/type/ref/ref.ts +++ b/src/type/ref/ref.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/regexp/index.ts b/src/type/regexp/index.ts index 4dc7260ee..00fab30b4 100644 --- a/src/type/regexp/index.ts +++ b/src/type/regexp/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/regexp/regexp.ts b/src/type/regexp/regexp.ts index 28d97dca2..7db782682 100644 --- a/src/type/regexp/regexp.ts +++ b/src/type/regexp/regexp.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/registry/format.ts b/src/type/registry/format.ts index 96aeca4f5..ebcf3d74a 100644 --- a/src/type/registry/format.ts +++ b/src/type/registry/format.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/registry/index.ts b/src/type/registry/index.ts index dbe30d7c0..a0fb0e043 100644 --- a/src/type/registry/index.ts +++ b/src/type/registry/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/registry/type.ts b/src/type/registry/type.ts index 123fac9e3..78e313b4a 100644 --- a/src/type/registry/type.ts +++ b/src/type/registry/type.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/required/index.ts b/src/type/required/index.ts index 7958a5f81..74bb43b44 100644 --- a/src/type/required/index.ts +++ b/src/type/required/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/required/required.ts b/src/type/required/required.ts index 98208061d..761f0096e 100644 --- a/src/type/required/required.ts +++ b/src/type/required/required.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/rest/index.ts b/src/type/rest/index.ts index fcc6f7580..b1442f480 100644 --- a/src/type/rest/index.ts +++ b/src/type/rest/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/rest/rest.ts b/src/type/rest/rest.ts index 43df52a8f..6582bf84b 100644 --- a/src/type/rest/rest.ts +++ b/src/type/rest/rest.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/return-type/index.ts b/src/type/return-type/index.ts index 06602abd2..610d3adc0 100644 --- a/src/type/return-type/index.ts +++ b/src/type/return-type/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/return-type/return-type.ts b/src/type/return-type/return-type.ts index 993888908..0df3d4bbf 100644 --- a/src/type/return-type/return-type.ts +++ b/src/type/return-type/return-type.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/schema/anyschema.ts b/src/type/schema/anyschema.ts index eecc04312..8f646e823 100644 --- a/src/type/schema/anyschema.ts +++ b/src/type/schema/anyschema.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/schema/index.ts b/src/type/schema/index.ts index a107c6539..bfd714bb5 100644 --- a/src/type/schema/index.ts +++ b/src/type/schema/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/schema/schema.ts b/src/type/schema/schema.ts index 37e75f70f..45e276f81 100644 --- a/src/type/schema/schema.ts +++ b/src/type/schema/schema.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/static/index.ts b/src/type/static/index.ts index 04be51471..8f4f0c9dc 100644 --- a/src/type/static/index.ts +++ b/src/type/static/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/static/static.ts b/src/type/static/static.ts index ecf950710..55c3b9703 100644 --- a/src/type/static/static.ts +++ b/src/type/static/static.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/strict/index.ts b/src/type/strict/index.ts index 07a8fe6f1..caf80eab1 100644 --- a/src/type/strict/index.ts +++ b/src/type/strict/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/strict/strict.ts b/src/type/strict/strict.ts index a41a0675d..9e232424e 100644 --- a/src/type/strict/strict.ts +++ b/src/type/strict/strict.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/string/index.ts b/src/type/string/index.ts index e6f45947f..1c188b4fd 100644 --- a/src/type/string/index.ts +++ b/src/type/string/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/string/string.ts b/src/type/string/string.ts index 3a1c8acfb..5bcda7176 100644 --- a/src/type/string/string.ts +++ b/src/type/string/string.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/symbol/index.ts b/src/type/symbol/index.ts index f70c3772e..abd306265 100644 --- a/src/type/symbol/index.ts +++ b/src/type/symbol/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/symbol/symbol.ts b/src/type/symbol/symbol.ts index 2779f941e..f277df406 100644 --- a/src/type/symbol/symbol.ts +++ b/src/type/symbol/symbol.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/symbols/index.ts b/src/type/symbols/index.ts index 1ec60c708..bac16a322 100644 --- a/src/type/symbols/index.ts +++ b/src/type/symbols/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/symbols/symbols.ts b/src/type/symbols/symbols.ts index 1275140c1..dbb90a99a 100644 --- a/src/type/symbols/symbols.ts +++ b/src/type/symbols/symbols.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/template-literal/finite.ts b/src/type/template-literal/finite.ts index fc4f95d9c..5e01bb08a 100644 --- a/src/type/template-literal/finite.ts +++ b/src/type/template-literal/finite.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/template-literal/generate.ts b/src/type/template-literal/generate.ts index d002845ec..8993de63b 100644 --- a/src/type/template-literal/generate.ts +++ b/src/type/template-literal/generate.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/template-literal/index.ts b/src/type/template-literal/index.ts index 79501f952..95f5d55aa 100644 --- a/src/type/template-literal/index.ts +++ b/src/type/template-literal/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/template-literal/parser.ts b/src/type/template-literal/parser.ts index 02439de34..4af166869 100644 --- a/src/type/template-literal/parser.ts +++ b/src/type/template-literal/parser.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/template-literal/pattern.ts b/src/type/template-literal/pattern.ts index 56b8efa35..b75599011 100644 --- a/src/type/template-literal/pattern.ts +++ b/src/type/template-literal/pattern.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/template-literal/syntax.ts b/src/type/template-literal/syntax.ts index 1a034764a..63261505a 100644 --- a/src/type/template-literal/syntax.ts +++ b/src/type/template-literal/syntax.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/template-literal/template-literal.ts b/src/type/template-literal/template-literal.ts index f5391012d..5599cc516 100644 --- a/src/type/template-literal/template-literal.ts +++ b/src/type/template-literal/template-literal.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/template-literal/union.ts b/src/type/template-literal/union.ts index c39e6f7e0..58f42bcb1 100644 --- a/src/type/template-literal/union.ts +++ b/src/type/template-literal/union.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/transform/index.ts b/src/type/transform/index.ts index e0e666af4..4e6ab0218 100644 --- a/src/type/transform/index.ts +++ b/src/type/transform/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/transform/transform.ts b/src/type/transform/transform.ts index 357262f74..d7b981192 100644 --- a/src/type/transform/transform.ts +++ b/src/type/transform/transform.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/tuple/index.ts b/src/type/tuple/index.ts index 4a79c6155..c1eb788d2 100644 --- a/src/type/tuple/index.ts +++ b/src/type/tuple/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/tuple/tuple.ts b/src/type/tuple/tuple.ts index ee3cbbb64..1f462cc49 100644 --- a/src/type/tuple/tuple.ts +++ b/src/type/tuple/tuple.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/uint8array/index.ts b/src/type/uint8array/index.ts index 56012dcfe..4c2296a42 100644 --- a/src/type/uint8array/index.ts +++ b/src/type/uint8array/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/uint8array/uint8array.ts b/src/type/uint8array/uint8array.ts index b6a580885..095f7f7bb 100644 --- a/src/type/uint8array/uint8array.ts +++ b/src/type/uint8array/uint8array.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/undefined/index.ts b/src/type/undefined/index.ts index 0b169feb1..cbc1c28e3 100644 --- a/src/type/undefined/index.ts +++ b/src/type/undefined/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/undefined/undefined.ts b/src/type/undefined/undefined.ts index ff9d860dc..1e1e288e5 100644 --- a/src/type/undefined/undefined.ts +++ b/src/type/undefined/undefined.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/union/index.ts b/src/type/union/index.ts index 4d49fad47..337cd4a00 100644 --- a/src/type/union/index.ts +++ b/src/type/union/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/union/union.ts b/src/type/union/union.ts index a5b8b71af..129cd4d7b 100644 --- a/src/type/union/union.ts +++ b/src/type/union/union.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/unknown/index.ts b/src/type/unknown/index.ts index 06f9abe5f..7d9c7e293 100644 --- a/src/type/unknown/index.ts +++ b/src/type/unknown/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/unknown/unknown.ts b/src/type/unknown/unknown.ts index 70923fe23..cc1a7bc22 100644 --- a/src/type/unknown/unknown.ts +++ b/src/type/unknown/unknown.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/unsafe/index.ts b/src/type/unsafe/index.ts index 399385ed8..78141b392 100644 --- a/src/type/unsafe/index.ts +++ b/src/type/unsafe/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/unsafe/unsafe.ts b/src/type/unsafe/unsafe.ts index da7c06f93..a60b33a41 100644 --- a/src/type/unsafe/unsafe.ts +++ b/src/type/unsafe/unsafe.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/void/index.ts b/src/type/void/index.ts index 7787addaa..3b9bf5199 100644 --- a/src/type/void/index.ts +++ b/src/type/void/index.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT) diff --git a/src/type/void/void.ts b/src/type/void/void.ts index 5704f985b..8d742b89b 100644 --- a/src/type/void/void.ts +++ b/src/type/void/void.ts @@ -1,6 +1,6 @@ /*-------------------------------------------------------------------------- -@sinclair/typebox +@sinclair/typebox/type The MIT License (MIT)