@artisan-commerce/builders 0.5.2-canary.2 → 0.6.0-canary.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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.6.0-canary.0](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/builders@0.5.2-canary.2...@artisan-commerce/builders@0.6.0-canary.0) (2021-03-18)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **artisa-commerce:** added code documentation for users lib and types refactor ([1d0acf7](https://bitbucket.org/tradesystem/artisan_monorepo/commit/1d0acf703c6a9b6e4c7cb157ef045c49e6579d3a))
|
|
12
|
+
* **artisan-commerce:** merge branch 'canary' into feature/document-users-code ([e18fe40](https://bitbucket.org/tradesystem/artisan_monorepo/commit/e18fe401542d38afd0599bc98b0924d6b44bd74a))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
6
16
|
### [0.5.2-canary.2](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/builders@0.5.2-canary.1...@artisan-commerce/builders@0.5.2-canary.2) (2021-03-18)
|
|
7
17
|
|
|
8
18
|
**Note:** Version bump only for package @artisan-commerce/builders
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { BillingData } from "@artisan-commerce/types";
|
|
2
|
-
export declare const buildBillingData: (overrides?: Partial<BillingData>) =>
|
|
2
|
+
export declare const buildBillingData: (overrides?: Partial<BillingData>) => BillingData;
|
|
@@ -6,6 +6,23 @@ export declare const genLongitude: () => string;
|
|
|
6
6
|
export declare const genFields: (quantity?: number | undefined) => {
|
|
7
7
|
id: string;
|
|
8
8
|
value: string;
|
|
9
|
+
label: string;
|
|
10
|
+
rules: {
|
|
11
|
+
max: number;
|
|
12
|
+
min: number;
|
|
13
|
+
};
|
|
14
|
+
messages: {
|
|
15
|
+
max: string;
|
|
16
|
+
min: string;
|
|
17
|
+
};
|
|
9
18
|
}[];
|
|
10
|
-
export declare const
|
|
11
|
-
|
|
19
|
+
export declare const genRules: () => {
|
|
20
|
+
max: number;
|
|
21
|
+
min: number;
|
|
22
|
+
};
|
|
23
|
+
export declare const genMessages: () => {
|
|
24
|
+
max: string;
|
|
25
|
+
min: string;
|
|
26
|
+
};
|
|
27
|
+
export declare const buildLivingPlace: (overrides?: Partial<LivingPlace>) => LivingPlace;
|
|
28
|
+
export declare const buildShippingAddress: (overrides?: Partial<ShippingAddress>) => ShippingAddress;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { User } from "@artisan-commerce/types";
|
|
2
|
-
export declare const buildUser: (overrides?: Partial<User>) =>
|
|
2
|
+
export declare const buildUser: (overrides?: Partial<User>) => User;
|