@stacksjs/faker 0.70.112 → 0.70.113

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +20 -1
  2. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -2,7 +2,26 @@ import { faker as baseFaker } from '@stacksjs/ts-faker';
2
2
  import type { Faker as BaseFaker } from '@stacksjs/ts-faker';
3
3
  // datatype module for boolean, number generation (compatibility with @faker-js/faker)
4
4
  declare const datatype: DatatypeCompatibility;
5
- // location module (alias to address for @faker-js/faker compatibility)
5
+ /**
6
+ * location module (alias to address for @faker-js/faker compatibility)
7
+ * @defaultValue
8
+ * ```ts
9
+ * {
10
+ * street: () => string,
11
+ * streetAddress: (useFullAddress?: boolean) => string,
12
+ * city: () => string,
13
+ * state: () => string,
14
+ * stateAbbr: () => string,
15
+ * country: () => string,
16
+ * countryCode: () => string,
17
+ * zipCode: () => string,
18
+ * latitude: (options?: { min?: number; max?: number; precision?: number }) => number,
19
+ * longitude: (options?: { min?: number; max?: number; precision?: number }) => number,
20
+ * direction: () => string,
21
+ * buildingNumber: () => string
22
+ * }
23
+ * ```
24
+ */
6
25
  declare const location: {
7
26
  street: () => string;
8
27
  streetAddress: (useFullAddress?: boolean) => string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/faker",
3
3
  "type": "module",
4
- "version": "0.70.112",
4
+ "version": "0.70.113",
5
5
  "description": "Faker functions.",
6
6
  "author": "Chris Breuer",
7
7
  "contributors": [
@@ -53,8 +53,8 @@
53
53
  "prepublishOnly": "bun run build"
54
54
  },
55
55
  "devDependencies": {
56
- "@stacksjs/cli": "0.70.112",
57
- "@stacksjs/config": "0.70.112",
56
+ "@stacksjs/cli": "0.70.113",
57
+ "@stacksjs/config": "0.70.113",
58
58
  "better-dx": "^0.2.16",
59
59
  "@stacksjs/ts-faker": "^0.1.7"
60
60
  },