go-mokapi 0.27.0 → 0.27.2
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.
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
package/types/faker.d.ts
CHANGED
|
@@ -13,9 +13,13 @@
|
|
|
13
13
|
export function fake(schema: Schema | JSONSchema): any;
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
|
-
* Retrieves a node from the faker tree by its name.
|
|
16
|
+
* Retrieves a node from the faker tree by its name or path.
|
|
17
17
|
*
|
|
18
|
-
*
|
|
18
|
+
* A node can be referenced either by its simple name (e.g. `"name"`) or by a path
|
|
19
|
+
* that describes its location in the tree (e.g. `"/person/name"` for an absolute
|
|
20
|
+
* path from the root, or `"middle/name"` for a relative path).
|
|
21
|
+
*
|
|
22
|
+
* @param name name - The name or path of the node to find.
|
|
19
23
|
* @returns The matching {@link Node} from the faker tree.
|
|
20
24
|
*
|
|
21
25
|
* @example
|