@artisan-commerce/types 0.13.0-canary.2 → 0.13.0-canary.4

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,23 @@
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.13.0-canary.4](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.13.0-canary.3...@artisan-commerce/types@0.13.0-canary.4) (2021-04-06)
7
+
8
+
9
+ ### Performance Improvements
10
+
11
+ * **global:** move typescript to be a global dependency ([32370e1](https://bitbucket.org/tradesystem/artisan_monorepo/commit/32370e134f1bcc4f79c55e2bae0ee22fee193e77))
12
+
13
+
14
+
15
+ ## [0.13.0-canary.3](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.13.0-canary.2...@artisan-commerce/types@0.13.0-canary.3) (2021-04-01)
16
+
17
+ **Note:** Version bump only for package @artisan-commerce/types
18
+
19
+
20
+
21
+
22
+
6
23
  ## [0.13.0-canary.2](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.13.0-canary.1...@artisan-commerce/types@0.13.0-canary.2) (2021-03-19)
7
24
 
8
25
  **Note:** Version bump only for package @artisan-commerce/types
package/build/index.d.ts CHANGED
@@ -5,6 +5,7 @@ export * from "./types/category.types";
5
5
  export * from "./types/channel.types";
6
6
  export * from "./types/common.types";
7
7
  export * from "./types/coupons.types";
8
+ export * from "./types/currency.types";
8
9
  export * from "./types/image.types";
9
10
  export * from "./types/product.types";
10
11
  export * from "./types/shippingCost.types";
package/build/index.js CHANGED
@@ -7,7 +7,7 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
7
7
  o[k2] = m[k];
8
8
  }));
9
9
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
13
  // Main
@@ -18,6 +18,7 @@ __exportStar(require("./types/category.types"), exports);
18
18
  __exportStar(require("./types/channel.types"), exports);
19
19
  __exportStar(require("./types/common.types"), exports);
20
20
  __exportStar(require("./types/coupons.types"), exports);
21
+ __exportStar(require("./types/currency.types"), exports);
21
22
  __exportStar(require("./types/image.types"), exports);
22
23
  __exportStar(require("./types/product.types"), exports);
23
24
  __exportStar(require("./types/shippingCost.types"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO;AACP,oDAAkC;AAClC,wDAAsC;AACtC,0DAAwC;AACxC,yDAAuC;AACvC,wDAAsC;AACtC,uDAAqC;AACrC,wDAAsC;AACtC,sDAAoC;AACpC,wDAAsC;AACtC,6DAA2C;AAC3C,6DAA2C;AAC3C,sDAAoC;AACpC,uDAAqC;AACrC,qDAAmC;AACnC,qDAAmC;AACnC,4DAA0C;AAC1C,4DAA0C;AAC1C,gEAA8C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO;AACP,oDAAkC;AAClC,wDAAsC;AACtC,0DAAwC;AACxC,yDAAuC;AACvC,wDAAsC;AACtC,uDAAqC;AACrC,wDAAsC;AACtC,yDAAuC;AACvC,sDAAoC;AACpC,wDAAsC;AACtC,6DAA2C;AAC3C,6DAA2C;AAC3C,sDAAoC;AACpC,uDAAqC;AACrC,qDAAmC;AACnC,qDAAmC;AACnC,4DAA0C;AAC1C,4DAA0C;AAC1C,gEAA8C"}
@@ -2,7 +2,6 @@
2
2
  * Representation of a Customer Account
3
3
  *
4
4
  * @interface Account
5
- * @author Luis Eduardo Andrade
6
5
  * @since 0.5.14
7
6
  * @property {number} accountId artisan's account unique identifier.
8
7
  * @property {string} name account's name.
@@ -4,7 +4,6 @@ export declare type ArtisanApp = ArtisanAppWeb | ArtisanAppRN;
4
4
  * The ArtisanAppWeb orchestrate the connections of the app with the DB, server and its settings.
5
5
  *
6
6
  * @interface ArtisanAppWeb
7
- * @author Luis Eduardo Andrade
8
7
  * @since 0.5.14
9
8
  * @property {string} name app's name
10
9
  * @property {string} apiURL artisan's account API URL
@@ -21,7 +20,6 @@ export interface ArtisanAppWeb {
21
20
  * The ArtisanAppRN orchestrate the connections of the app with the DB, server and its settings.
22
21
  *
23
22
  * @interface ArtisanAppRN
24
- * @author John Arias
25
23
  * @since 0.5.14
26
24
  * @property {string} name app's name
27
25
  * @property {string} apiURL artisan's account API URL
@@ -38,7 +36,6 @@ export interface ArtisanAppRN {
38
36
  * Settings to configure the Firabse Instance.
39
37
  *
40
38
  * @interface RNFirebaseInstance
41
- * @author John Arias
42
39
  * @since 0.5.14
43
40
  * @property {aut} auth auth package from react-native-auth
44
41
  * @property {firestore} firestore firestore package from react-native-auth
@@ -52,7 +49,6 @@ export interface RNFirebaseInstance {
52
49
  * Settings to configure the Artisan app.
53
50
  *
54
51
  * @interface ArtisanSettings
55
- * @author Luis Eduardo Andrade
56
52
  * @since 0.5.14
57
53
  * @property {number} accountId artisan's account unique identifier
58
54
  * @property {ArtisanPlatform} platform app's running on platform
@@ -77,7 +73,6 @@ export interface ArtisanSettingsRN {
77
73
  * Artisan app's allowed platforms to run on.
78
74
  *
79
75
  * @typedef ArtisanPlatform
80
- * @author Luis Eduardo Andrade
81
76
  * @since 0.5.14
82
77
  */
83
78
  export declare type ArtisanPlatform = "web" | "ios" | "android" | "windows" | "macos" | "call center";
@@ -85,7 +80,6 @@ export declare type ArtisanPlatform = "web" | "ios" | "android" | "windows" | "m
85
80
  * Artisan's auth instance is the intance of the internal auth object.
86
81
  *
87
82
  * @typedef AritsanInstanceAuth
88
- * @author Luis Eduardo Andrade
89
83
  * @since 0.5.14
90
84
  */
91
85
  export declare type AritsanInstanceAuth = typeof firebase.auth;
@@ -93,7 +87,6 @@ export declare type AritsanInstanceAuth = typeof firebase.auth;
93
87
  * Artisan's auth object to handle providers authentication.
94
88
  *
95
89
  * @typedef ArtisanAuth
96
- * @author Luis Eduardo Andrade
97
90
  * @since 0.5.14
98
91
  */
99
92
  export interface ArtisanAuth extends firebase.auth.Auth {
@@ -102,7 +95,6 @@ export interface ArtisanAuth extends firebase.auth.Auth {
102
95
  * Main artisan commerce filters.
103
96
  *
104
97
  * @interface ArtisanHints
105
- * @author Luis Eduardo Andrade
106
98
  * @since 0.5.14
107
99
  * @property {string|number} accountId artisan's account unique identifier
108
100
  * @property {string|number} vendorId vendor's id
@@ -123,7 +115,6 @@ export interface ArtisanHints {
123
115
  * Unrestricted allowed Artisan SDK rest api headers.
124
116
  *
125
117
  * @interface ArtisanHeaders
126
- * @author Luis Eduardo Andrade
127
118
  * @since 0.5.14
128
119
  * @property {ArtisanPlatform} Platform app's running on platform
129
120
  * @property {string|number} account account's id
@@ -137,7 +128,6 @@ export interface ArtisanHeaders {
137
128
  *
138
129
  * @interface ArtisanRestrictedHeaders
139
130
  * @extends ArtisanHeaders
140
- * @author Luis Eduardo Andrade
141
131
  * @since 0.5.14
142
132
  * @property {ArtisanPlatform} Authorization app's authentication token
143
133
  */
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Artisan's supported currency codes.
3
+ *
4
+ * @typedef CurrencyCodes
5
+ * @since 0.5.14
6
+ */
7
+ export declare type CurrencyCodes = "USD" | "ARS" | "COP" | "CLP" | "VES";
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // Currency types and interfaces
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=currency.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"currency.types.js","sourceRoot":"","sources":["../../src/types/currency.types.ts"],"names":[],"mappings":";AAAA,gCAAgC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@artisan-commerce/types",
3
3
  "description": "Artisan's types and interfaces library",
4
- "version": "0.13.0-canary.2",
4
+ "version": "0.13.0-canary.4",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
7
7
  "files": [
@@ -41,8 +41,7 @@
41
41
  "jest-extended": "^0.11.5",
42
42
  "npm-run-all": "^4.1.5",
43
43
  "prettier": "^2.1.2",
44
- "typescript": "^3.9.7",
45
44
  "webpack-bundle-analyzer": "^3.9.0"
46
45
  },
47
- "gitHead": "c87d45ac8d2dd963d404ecfd45824af1d5c130b0"
46
+ "gitHead": "0164bdce85dc4dc2fce585bb788ae3adb1850fac"
48
47
  }