@railway-ts/pipelines 0.1.20 → 0.1.21
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/schema/index.cjs +11 -0
- package/dist/schema/index.cjs.map +1 -1
- package/dist/schema/index.d.cts +13 -1
- package/dist/schema/index.d.ts +13 -1
- package/dist/schema/index.mjs +11 -1
- package/dist/schema/index.mjs.map +1 -1
- package/docs/API.md +8 -0
- package/package.json +1 -1
package/docs/API.md
CHANGED
|
@@ -878,6 +878,14 @@ function email(message?: string): Validator<string>;
|
|
|
878
878
|
|
|
879
879
|
Ensure a string is a valid email address.
|
|
880
880
|
|
|
881
|
+
#### `url`
|
|
882
|
+
|
|
883
|
+
```typescript
|
|
884
|
+
function url(message?: string): Validator<string>;
|
|
885
|
+
```
|
|
886
|
+
|
|
887
|
+
Ensure a string is a valid URL. Uses the WHATWG URL parser.
|
|
888
|
+
|
|
881
889
|
#### `phoneNumber`
|
|
882
890
|
|
|
883
891
|
```typescript
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@railway-ts/pipelines",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.21",
|
|
4
4
|
"description": "Railway-oriented pipelines for TypeScript: a lightweight fp-style Result/Option and schema layer for handling errors and validating boundaries.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|