inferred-types 0.43.6 → 0.44.0
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/constants/Network.d.ts +22 -0
- package/dist/constants/Network.d.ts.map +1 -0
- package/dist/constants/Network.js +21 -0
- package/dist/constants/RepoConstants.d.ts +31 -0
- package/dist/constants/RepoConstants.d.ts.map +1 -0
- package/dist/constants/RepoConstants.js +48 -0
- package/dist/constants/index.d.ts +2 -1
- package/dist/constants/index.d.ts.map +1 -1
- package/dist/constants/index.js +2 -1
- package/dist/constants/tsconfig.tsbuildinfo +1 -1
- package/dist/inferred-types/index.cjs +78 -14
- package/dist/inferred-types/tsconfig.tsbuildinfo +1 -1
- package/dist/runtime/dictionary/valuesOf.d.ts +1 -1
- package/dist/runtime/dictionary/valuesOf.d.ts.map +1 -1
- package/dist/runtime/tsconfig.tsbuildinfo +1 -1
- package/dist/runtime/type-guards/isUrl.d.ts +22 -4
- package/dist/runtime/type-guards/isUrl.d.ts.map +1 -1
- package/dist/runtime/type-guards/isUrl.js +29 -8
- package/dist/runtime/type-guards/repos.d.ts +45 -0
- package/dist/runtime/type-guards/repos.d.ts.map +1 -0
- package/dist/runtime/type-guards/repos.js +77 -0
- package/dist/types/{numeric-literals/ValueCallback.d.ts → api/api.d.ts} +1 -1
- package/dist/types/api/api.d.ts.map +1 -0
- package/dist/types/api/index.d.ts +2 -0
- package/dist/types/api/index.d.ts.map +1 -0
- package/dist/types/api/index.js +1 -0
- package/dist/types/boolean-logic/branching/OnPass.d.ts +29 -0
- package/dist/types/boolean-logic/branching/OnPass.d.ts.map +1 -0
- package/dist/types/boolean-logic/branching/OnPass.js +1 -0
- package/dist/types/boolean-logic/branching/index.d.ts +1 -0
- package/dist/types/boolean-logic/branching/index.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/index.js +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +1 -0
- package/dist/types/literals/ExpandRecursively.d.ts +7 -1
- package/dist/types/literals/ExpandRecursively.d.ts.map +1 -1
- package/dist/types/literals/Shape.d.ts +1 -1
- package/dist/types/literals/Shape.d.ts.map +1 -1
- package/dist/types/numeric-literals/index.d.ts +0 -1
- package/dist/types/numeric-literals/index.d.ts.map +1 -1
- package/dist/types/numeric-literals/index.js +0 -1
- package/dist/types/string-literals/character-sets/DomainName.d.ts +12 -3
- package/dist/types/string-literals/character-sets/DomainName.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/InlineSvg.d.ts +2 -2
- package/dist/types/string-literals/character-sets/InlineSvg.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/Repos.d.ts +108 -0
- package/dist/types/string-literals/character-sets/Repos.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/Repos.js +1 -0
- package/dist/types/string-literals/character-sets/Url.d.ts +160 -6
- package/dist/types/string-literals/character-sets/Url.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/index.d.ts +2 -0
- package/dist/types/string-literals/character-sets/index.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/index.js +2 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/dist/types/type-conversion/MergeObjects.d.ts.map +1 -1
- package/dist/types/type-conversion/RetainChars.d.ts +15 -0
- package/dist/types/type-conversion/RetainChars.d.ts.map +1 -0
- package/dist/types/type-conversion/RetainChars.js +1 -0
- package/dist/types/type-conversion/StripChars.d.ts +18 -0
- package/dist/types/type-conversion/StripChars.d.ts.map +1 -0
- package/dist/types/type-conversion/StripChars.js +1 -0
- package/dist/types/type-conversion/index.d.ts +2 -0
- package/dist/types/type-conversion/index.d.ts.map +1 -1
- package/dist/types/type-conversion/index.js +2 -0
- package/package.json +9 -9
- package/dist/constants/TCP_IP.d.ts +0 -11
- package/dist/constants/TCP_IP.d.ts.map +0 -1
- package/dist/constants/TCP_IP.js +0 -10
- package/dist/types/numeric-literals/ValueCallback.d.ts.map +0 -1
- /package/dist/types/{numeric-literals/ValueCallback.js → api/api.js} +0 -0
|
@@ -1,8 +1,132 @@
|
|
|
1
|
-
import { DomainName } from "
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { AlphaNumericChar, As, AsString, ExpandUnion, IsStringLiteral, IsTrue, StripAfter, StripBefore, StripChars, StripLeading, StripTrailing, TupleToUnion, DnsName, DomainName, Ip4Address, Mutable, Values, Flatten, EmptyObject } from "../../index";
|
|
2
|
+
import { NETWORK_PROTOCOL_LOOKUP } from "../../../constants/index";
|
|
3
|
+
export type NetworkProtocol = Exclude<TupleToUnion<Mutable<Flatten<Values<typeof NETWORK_PROTOCOL_LOOKUP>>>>, "">;
|
|
4
|
+
/**
|
|
5
|
+
* **NetworkProtocolPrefix**
|
|
6
|
+
*
|
|
7
|
+
* A type which tries to represent the _prefix_ of a URL/URI which
|
|
8
|
+
* indicates the network protocol.
|
|
9
|
+
*/
|
|
10
|
+
export type NetworkProtocolPrefix<T extends NetworkProtocol = NetworkProtocol> = `${T}://`;
|
|
11
|
+
export type PortSpecifierOptions = {
|
|
12
|
+
/**
|
|
13
|
+
* **portRequirement**
|
|
14
|
+
*
|
|
15
|
+
* Whether a _port_ is "required", "optional", or "not-allowed"
|
|
16
|
+
* for this protocol.
|
|
17
|
+
*
|
|
18
|
+
* @default "not-allowed"
|
|
19
|
+
*/
|
|
20
|
+
portRequirement?: "optional" | "required" | "not-allowed";
|
|
21
|
+
ports?: number;
|
|
22
|
+
};
|
|
23
|
+
type _Ports<TOpt extends PortSpecifierOptions> = TOpt["ports"] extends number ? `${TOpt["ports"]}` : `${number}`;
|
|
24
|
+
/**
|
|
25
|
+
* **PortSpecifier**`<TOpt>`
|
|
26
|
+
*
|
|
27
|
+
* Produces a string literal for the _port_ designation of
|
|
28
|
+
* many protocols. Basically just a `:${number}` and
|
|
29
|
+
* then possibly a space.
|
|
30
|
+
*
|
|
31
|
+
* - `TOpt` allows you to state whether the port should be:
|
|
32
|
+
* - `optional`
|
|
33
|
+
* - `required`
|
|
34
|
+
* - or `not-allowed`
|
|
35
|
+
*/
|
|
36
|
+
export type PortSpecifier<TOpt extends PortSpecifierOptions = {
|
|
37
|
+
portRequirement: "not-allowed";
|
|
38
|
+
ports: number;
|
|
39
|
+
}> = [TOpt["portRequirement"]] extends ["required"] ? `:${_Ports<TOpt>}` : [TOpt["portRequirement"]] extends ["optional"] ? "" | `:${_Ports<TOpt>}` : ``;
|
|
40
|
+
export type ProtocolOptions = {
|
|
41
|
+
/**
|
|
42
|
+
* whether the protocol prefix should be optional
|
|
43
|
+
* @default false
|
|
44
|
+
*/
|
|
45
|
+
optional?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* whether to allow for `http://` along with `https://`
|
|
48
|
+
* @default false
|
|
49
|
+
*/
|
|
50
|
+
allowInsecure?: boolean;
|
|
51
|
+
protocol?: "http" | "ws" | "both";
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* **HttpProtocol**`<[TOpt]>`
|
|
55
|
+
*
|
|
56
|
+
* A utility which provides different ways of
|
|
57
|
+
* requiring an **HTTP** based protocol string.
|
|
58
|
+
*
|
|
59
|
+
* - by default this only allows `https://`
|
|
60
|
+
* - you can choose to make the protocol _optional_
|
|
61
|
+
* or enable insure `http://` too.
|
|
62
|
+
*/
|
|
63
|
+
export type WebsocketProtocol<TOpt extends ProtocolOptions = EmptyObject> = IsTrue<TOpt["allowInsecure"]> extends true ? IsTrue<TOpt["optional"]> extends true ? `wss://` | `ws://` | "" : `wss://` | `ws://` : IsTrue<TOpt["optional"]> extends true ? `wss://` | "" : `wss://`;
|
|
64
|
+
/**
|
|
65
|
+
* **HttpProtocol**`<[TOpt]>`
|
|
66
|
+
*
|
|
67
|
+
* A utility which provides different ways of
|
|
68
|
+
* requiring an **HTTP** based protocol string.
|
|
69
|
+
*
|
|
70
|
+
* - by default this only allows `https://`
|
|
71
|
+
* - you can choose to make the protocol _optional_
|
|
72
|
+
* or enable insure `http://` too.
|
|
73
|
+
*/
|
|
74
|
+
export type HttpProtocol<TOpt extends ProtocolOptions = EmptyObject> = IsTrue<TOpt["allowInsecure"]> extends true ? IsTrue<TOpt["optional"]> extends true ? `https://` | `http://` | "" : `https://` | `http://` : IsTrue<TOpt["optional"]> extends true ? `https://` | "" : `https://`;
|
|
75
|
+
/**
|
|
76
|
+
* **RemoveHttpProtocol**`<T>`
|
|
77
|
+
*
|
|
78
|
+
* Removes both `http://` and `https://` prefixes to a string.
|
|
79
|
+
*/
|
|
80
|
+
export type RemoveHttpProtocol<T extends string> = T extends `http://${infer Insecure}` ? Insecure : T extends `https://${infer Secure}` ? Secure : T;
|
|
81
|
+
/**
|
|
82
|
+
* **RemoveNetworkProtocol**`<TContent,[TProtocol]>`
|
|
83
|
+
*
|
|
84
|
+
* Removes any _leading_ content which is a network protocol reference.
|
|
85
|
+
*
|
|
86
|
+
* - an example would be `https://` but so would `ftp://`
|
|
87
|
+
* - you can narrow the protocols it's looking to remove by modifying
|
|
88
|
+
* `TProtocol`
|
|
89
|
+
*/
|
|
90
|
+
export type RemoveNetworkProtocol<TContent extends string, TProtocol extends NetworkProtocol = NetworkProtocol> = TContent extends `${NetworkProtocolPrefix<TProtocol>}${infer Rest}` ? Rest : TContent;
|
|
91
|
+
/**
|
|
92
|
+
* **UrlPath**`<T>`
|
|
93
|
+
*
|
|
94
|
+
* A simple type that represents the _shape_ of a UrlPath
|
|
95
|
+
* when no generics are used (aka, `T` is defaulted to _null_).
|
|
96
|
+
*
|
|
97
|
+
* This type is either an empty string `''` or a string starting
|
|
98
|
+
* with a `/` character.
|
|
99
|
+
*
|
|
100
|
+
* If you want more detailed type checking of the path you can
|
|
101
|
+
* pass in a string to `T` and it will be validated and return
|
|
102
|
+
* `never` when an invalid character is used.
|
|
103
|
+
*/
|
|
104
|
+
export type UrlPath<T extends string | null = null> = T extends null ? "" | `/${AlphaNumericChar | "_"}${string}` : T extends string ? IsStringLiteral<T> extends true ? T extends `${string}/` ? never : StripChars<T, AlphaNumericChar | "/" | "_" | "." | "-"> extends "" ? T : never : never : never;
|
|
105
|
+
/**
|
|
106
|
+
* **GetUrlSource**`<T>`
|
|
107
|
+
*
|
|
108
|
+
* Extracts out the IP address or Domain Name from a URL-like string literal.
|
|
109
|
+
*
|
|
110
|
+
* - if _not_ a string literal then just proxies through `string`
|
|
111
|
+
* - if not able to find it then it returns the literal ''
|
|
112
|
+
*/
|
|
113
|
+
export type GetUrlSource<T extends string> = IsStringLiteral<T> extends true ? RemoveNetworkProtocol<T> extends `${infer Domain extends DnsName | Ip4Address}${"" | `/${string}`}` ? StripAfter<Domain, "/"> : "" : string;
|
|
114
|
+
type _GetUrlPath<T extends string> = StripAfter<As<StripBefore<RemoveNetworkProtocol<T>, "/">, string>, "?"> extends string ? StripAfter<As<StripBefore<RemoveNetworkProtocol<T>, "/">, string>, "?"> : never;
|
|
115
|
+
/**
|
|
116
|
+
* **GetUrlPath**`<T>`
|
|
117
|
+
*
|
|
118
|
+
* Extracts the URL's path from a full URL/URI.
|
|
119
|
+
*
|
|
120
|
+
* - removes any reference to the network protocol
|
|
121
|
+
* - removes the domain name or IP address
|
|
122
|
+
* - removes any trailing query parameters
|
|
123
|
+
*/
|
|
124
|
+
export type GetUrlPath<T extends string> = IsStringLiteral<T> extends true ? RemoveNetworkProtocol<T> extends `${string}/${string}` ? _GetUrlPath<RemoveNetworkProtocol<T>> extends "" ? "" : `/${_GetUrlPath<RemoveNetworkProtocol<T>>}` : "" : string;
|
|
125
|
+
type RelativeStart = `../` | `./`;
|
|
126
|
+
/**
|
|
127
|
+
* **RelativeUrl**
|
|
128
|
+
*/
|
|
129
|
+
export type RelativeUrl = `${RelativeStart}${UrlPath}`;
|
|
6
130
|
/**
|
|
7
131
|
* A literal variant of _string_ which forces a string to follow conventions
|
|
8
132
|
* for a fully qualified URL like `https://google.com`. It can't ensure the
|
|
@@ -10,5 +134,35 @@ export type RelativeUrl = `${VariableChar | "/"}`;
|
|
|
10
134
|
*/
|
|
11
135
|
export type FullyQualifiedUrl = `${NetworkProtocol}://${Ip4Address | DomainName}/${string}`;
|
|
12
136
|
export type UrlBuilder = (<P extends NetworkProtocol, D extends DomainName, B extends RelativeUrl>(protocol: P, domain: D, basePath: B) => `${P}://${D}/${B}`) | (<U extends RelativeUrl>(url: U) => U);
|
|
13
|
-
|
|
137
|
+
/**
|
|
138
|
+
* **Uri**
|
|
139
|
+
*
|
|
140
|
+
* A simple type to allow for any HTTP, File, or Websocket based URI.
|
|
141
|
+
*/
|
|
142
|
+
export type Uri<T extends NetworkProtocol = NetworkProtocol> = `${T}://${string}`;
|
|
143
|
+
/**
|
|
144
|
+
* **AddUrlPathSegment**`<TExisting, TAdd>`
|
|
145
|
+
*
|
|
146
|
+
* Adds a new URL path segment, ensuring that appropriate
|
|
147
|
+
* `/` representation is preserved.
|
|
148
|
+
*/
|
|
149
|
+
export type AddUrlPathSegment<TExisting extends string, TAdd extends string> = TExisting extends `${string}/` ? `${TExisting}${StripTrailing<StripLeading<TAdd, "/">, "/">}` : `${TExisting}/${StripTrailing<StripLeading<TAdd, "/">, "/">}`;
|
|
150
|
+
type _Path<T extends string> = GetUrlPath<T> extends UrlPath ? GetUrlPath<T> : never;
|
|
151
|
+
type _UrlsFromProtocol<TContent extends string, TProto extends WebsocketProtocol<TOpt> | HttpProtocol<TOpt>, TOpt extends ProtocolOptions & PortSpecifierOptions> = `${TProto}${GetUrlSource<TContent>}${PortSpecifier<TOpt>}${AddUrlPathSegment<_Path<TContent>, `${string}`>}` | `${TProto}${GetUrlSource<TContent>}${PortSpecifier<TOpt>}${_Path<TContent>}`;
|
|
152
|
+
type _UrlsFrom<T extends string, TOpt extends ProtocolOptions & PortSpecifierOptions = EmptyObject> = TOpt["protocol"] extends "ws" ? _UrlsFromProtocol<T, WebsocketProtocol<TOpt>, TOpt> : TOpt["protocol"] extends "both" ? _UrlsFromProtocol<T, WebsocketProtocol<TOpt>, TOpt> | _UrlsFromProtocol<T, HttpProtocol<TOpt>, TOpt> : _UrlsFromProtocol<T, HttpProtocol<TOpt>, TOpt>;
|
|
153
|
+
/**
|
|
154
|
+
* **UrlsFrom**`<T, [TOpt]>`
|
|
155
|
+
*
|
|
156
|
+
* Utility which generates a type for all valid URLs in the given
|
|
157
|
+
* partial URL.
|
|
158
|
+
*
|
|
159
|
+
* - you can configure whether the protocol should be _optional_
|
|
160
|
+
* and whether _insecure_ URL's should be allowed with `TOpt`
|
|
161
|
+
* - you can also switch the protocol between `http`,`ws`, or `both`
|
|
162
|
+
* - the default protocol is `http`
|
|
163
|
+
*/
|
|
164
|
+
export type UrlsFrom<T extends string | readonly string[], TOpt extends ProtocolOptions & PortSpecifierOptions = EmptyObject> = T extends string ? ExpandUnion<_UrlsFrom<T, TOpt>> : T extends readonly string[] ? TupleToUnion<{
|
|
165
|
+
[K in keyof T]: IsStringLiteral<T[K]> extends true ? ExpandUnion<_UrlsFrom<AsString<T[K]>, TOpt>> : never;
|
|
166
|
+
}> : never;
|
|
167
|
+
export {};
|
|
14
168
|
//# sourceMappingURL=Url.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Url.d.ts","sourceRoot":"","sources":["../../../../src/types/string-literals/character-sets/Url.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Url.d.ts","sourceRoot":"","sources":["../../../../src/types/string-literals/character-sets/Url.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,EAAE,EACF,QAAQ,EACR,WAAW,EACX,eAAe,EACf,MAAM,EACN,UAAU,EACV,WAAW,EACX,UAAU,EACV,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,OAAO,EAAE,UAAU,EACnB,UAAU,EACV,OAAO,EACP,MAAM,EACN,OAAO,EACP,WAAW,EACZ,oBAAwB;AACzB,OAAO,EAAE,uBAAuB,EAAE,iCAA4B;AAE9D,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,Y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,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,GAC5C,KAAK;CACV,CACF,GACC,KAAK,CAAC"}
|
|
@@ -23,6 +23,8 @@ export * from "./Consonants";
|
|
|
23
23
|
export * from "./PlusMinus";
|
|
24
24
|
export * from "./CSS";
|
|
25
25
|
export * from "./InlineSvg";
|
|
26
|
+
export * from "./Repos";
|
|
27
|
+
export * from "./Variable";
|
|
26
28
|
export * from "./brackets/index";
|
|
27
29
|
export * from "./quotation-marks/index";
|
|
28
30
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/string-literals/character-sets/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,OAAO,CAAC;AACtB,cAAc,OAAO,CAAC;AACtB,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/string-literals/character-sets/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,OAAO,CAAC;AACtB,cAAc,OAAO,CAAC;AACtB,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAE3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC"}
|
|
@@ -23,5 +23,7 @@ export * from "./Consonants.js";
|
|
|
23
23
|
export * from "./PlusMinus.js";
|
|
24
24
|
export * from "./CSS.js";
|
|
25
25
|
export * from "./InlineSvg.js";
|
|
26
|
+
export * from "./Repos.js";
|
|
27
|
+
export * from "./Variable.js";
|
|
26
28
|
export * from "./brackets/index.js";
|
|
27
29
|
export * from "./quotation-marks/index.js";
|