@artisan-commerce/types 0.14.0-canary.7 → 0.14.0-canary.72

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 (87) hide show
  1. package/dist/bundle.d.ts +3811 -0
  2. package/package.json +24 -28
  3. package/CHANGELOG.md +0 -364
  4. package/build/index.d.ts +0 -26
  5. package/build/index.js +0 -40
  6. package/build/index.js.map +0 -1
  7. package/build/types/account.types.d.ts +0 -17
  8. package/build/types/account.types.js +0 -4
  9. package/build/types/account.types.js.map +0 -1
  10. package/build/types/app.types.d.ts +0 -153
  11. package/build/types/app.types.js +0 -4
  12. package/build/types/app.types.js.map +0 -1
  13. package/build/types/artisnDB.types.d.ts +0 -29
  14. package/build/types/artisnDB.types.js +0 -4
  15. package/build/types/artisnDB.types.js.map +0 -1
  16. package/build/types/banner.types.d.ts +0 -97
  17. package/build/types/banner.types.js +0 -4
  18. package/build/types/banner.types.js.map +0 -1
  19. package/build/types/billingData.types.d.ts +0 -39
  20. package/build/types/billingData.types.js +0 -4
  21. package/build/types/billingData.types.js.map +0 -1
  22. package/build/types/catalogue.types.d.ts +0 -16
  23. package/build/types/catalogue.types.js +0 -4
  24. package/build/types/catalogue.types.js.map +0 -1
  25. package/build/types/category.types.d.ts +0 -33
  26. package/build/types/category.types.js +0 -4
  27. package/build/types/category.types.js.map +0 -1
  28. package/build/types/common.types.d.ts +0 -42
  29. package/build/types/common.types.js +0 -4
  30. package/build/types/common.types.js.map +0 -1
  31. package/build/types/country.types.d.ts +0 -143
  32. package/build/types/country.types.js +0 -4
  33. package/build/types/country.types.js.map +0 -1
  34. package/build/types/coupon.types.d.ts +0 -112
  35. package/build/types/coupon.types.js +0 -4
  36. package/build/types/coupon.types.js.map +0 -1
  37. package/build/types/currency.types.d.ts +0 -7
  38. package/build/types/currency.types.js +0 -4
  39. package/build/types/currency.types.js.map +0 -1
  40. package/build/types/fulfillment.types.d.ts +0 -218
  41. package/build/types/fulfillment.types.js +0 -4
  42. package/build/types/fulfillment.types.js.map +0 -1
  43. package/build/types/http.types.d.ts +0 -64
  44. package/build/types/http.types.js +0 -4
  45. package/build/types/http.types.js.map +0 -1
  46. package/build/types/image.types.d.ts +0 -82
  47. package/build/types/image.types.js +0 -4
  48. package/build/types/image.types.js.map +0 -1
  49. package/build/types/livingPlace.types.d.ts +0 -92
  50. package/build/types/livingPlace.types.js +0 -4
  51. package/build/types/livingPlace.types.js.map +0 -1
  52. package/build/types/notification.types.d.ts +0 -21
  53. package/build/types/notification.types.js +0 -4
  54. package/build/types/notification.types.js.map +0 -1
  55. package/build/types/order.types.d.ts +0 -602
  56. package/build/types/order.types.js +0 -3
  57. package/build/types/order.types.js.map +0 -1
  58. package/build/types/payment.types.d.ts +0 -97
  59. package/build/types/payment.types.js +0 -4
  60. package/build/types/payment.types.js.map +0 -1
  61. package/build/types/product.types.d.ts +0 -299
  62. package/build/types/product.types.js +0 -4
  63. package/build/types/product.types.js.map +0 -1
  64. package/build/types/settings.types.d.ts +0 -23
  65. package/build/types/settings.types.js +0 -4
  66. package/build/types/settings.types.js.map +0 -1
  67. package/build/types/shippingAddress.types.d.ts +0 -79
  68. package/build/types/shippingAddress.types.js +0 -4
  69. package/build/types/shippingAddress.types.js.map +0 -1
  70. package/build/types/shippingCost.types.d.ts +0 -54
  71. package/build/types/shippingCost.types.js +0 -4
  72. package/build/types/shippingCost.types.js.map +0 -1
  73. package/build/types/shoppingCart.types.d.ts +0 -124
  74. package/build/types/shoppingCart.types.js +0 -4
  75. package/build/types/shoppingCart.types.js.map +0 -1
  76. package/build/types/store.types.d.ts +0 -198
  77. package/build/types/store.types.js +0 -4
  78. package/build/types/store.types.js.map +0 -1
  79. package/build/types/user.types.d.ts +0 -115
  80. package/build/types/user.types.js +0 -4
  81. package/build/types/user.types.js.map +0 -1
  82. package/build/types/vendor.types.d.ts +0 -23
  83. package/build/types/vendor.types.js +0 -3
  84. package/build/types/vendor.types.js.map +0 -1
  85. package/build/vendors.d.ts +0 -1
  86. package/build/vendors.js +0 -4
  87. package/build/vendors.js.map +0 -1
package/package.json CHANGED
@@ -1,16 +1,18 @@
1
1
  {
2
2
  "name": "@artisan-commerce/types",
3
3
  "description": "Artisn's types and interfaces library",
4
- "version": "0.14.0-canary.7",
5
- "main": "./build/index.js",
6
- "types": "./build/index.d.ts",
4
+ "type": "module",
5
+ "version": "0.14.0-canary.72",
6
+ "types": "./dist/bundle.d.ts",
7
7
  "files": [
8
- "build/",
9
- "LICENSE",
10
- "README.md"
8
+ "dist"
11
9
  ],
10
+ "sideEffects": false,
12
11
  "scripts": {
13
- "compile": "tsc --declaration",
12
+ "compile": "rollup -c",
13
+ "dev": "yarn compile -w",
14
+ "clean": "rimraf dist",
15
+ "prebuild": "yarn clean",
14
16
  "build": "yarn compile",
15
17
  "check-types": "tsc --noEmit",
16
18
  "lint": "eslint --ignore-path .gitignore --ext .ts,.tsx .",
@@ -22,25 +24,19 @@
22
24
  },
23
25
  "author": "Luis Eduardo Andrade",
24
26
  "license": "MIT",
25
- "devDependencies": {
26
- "@types/node": "^14.0.24",
27
- "@typescript-eslint/eslint-plugin": "^3.7.0",
28
- "@typescript-eslint/parser": "^3.7.0",
29
- "eslint": "^7.5.0",
30
- "eslint-config-prettier": "^6.11.0",
31
- "eslint-config-react-app": "^5.2.1",
32
- "eslint-config-universe": "^4.0.0",
33
- "eslint-plugin-cypress": "^2.11.1",
34
- "eslint-plugin-flowtype": "^5.2.0",
35
- "eslint-plugin-import": "^2.22.0",
36
- "eslint-plugin-jsx-a11y": "^6.3.1",
37
- "eslint-plugin-react": "^7.20.3",
38
- "eslint-plugin-react-hooks": "^4.0.8",
39
- "firebase": "^8.1.1",
40
- "jest-extended": "^0.11.5",
41
- "npm-run-all": "^4.1.5",
42
- "prettier": "^2.1.2",
43
- "webpack-bundle-analyzer": "^3.9.0"
44
- },
45
- "gitHead": "75a9a60090216dd64b4b84cdba5122457e31857b"
27
+ "gitHead": "5fc6713052c1bed29f55cb0c09f1fc445f51b7bb",
28
+ "nx": {
29
+ "targets": {
30
+ "build": {
31
+ "outputs": [
32
+ "{projectRoot}/dist"
33
+ ]
34
+ },
35
+ "compile": {
36
+ "outputs": [
37
+ "{projectRoot}/dist"
38
+ ]
39
+ }
40
+ }
41
+ }
46
42
  }
package/CHANGELOG.md DELETED
@@ -1,364 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ## [0.14.0-canary.7](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/types@0.14.0-canary.6...@artisan-commerce/types@0.14.0-canary.7) (2021-08-24)
7
-
8
- **Note:** Version bump only for package @artisan-commerce/types
9
-
10
-
11
-
12
-
13
-
14
- ## [0.14.0-canary.6](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/types@0.14.0-canary.5...@artisan-commerce/types@0.14.0-canary.6) (2021-08-23)
15
-
16
-
17
- ### Bug Fixes
18
-
19
- * **global:** add missing properties to order interfaces and types ([757157f](https://bitbucket.org/tradesystem/artisn_sdk/commit/757157fbb2dd25d04efc791cd9b9511e41685471))
20
-
21
-
22
-
23
- ## [0.14.0-canary.5](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/types@0.14.0-canary.4...@artisan-commerce/types@0.14.0-canary.5) (2021-08-23)
24
-
25
-
26
- ### Bug Fixes
27
-
28
- * **global:** add missing properties to shipping address and complete document type ([c9156f6](https://bitbucket.org/tradesystem/artisn_sdk/commit/c9156f6db3e55f23479484577760f5196e112afc))
29
-
30
-
31
-
32
- ## [0.14.0-canary.4](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/types@0.14.0-canary.3...@artisan-commerce/types@0.14.0-canary.4) (2021-08-12)
33
-
34
-
35
- ### Bug Fixes
36
-
37
- * **global:** add CountryCode type and update user builder ([f94eb5d](https://bitbucket.org/tradesystem/artisn_sdk/commit/f94eb5d38e0725bd157398e3c51b3bb8b2592abc))
38
-
39
-
40
-
41
- ## [0.14.0-canary.3](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/types@0.14.0-canary.2...@artisan-commerce/types@0.14.0-canary.3) (2021-08-12)
42
-
43
-
44
- ### Bug Fixes
45
-
46
- * **image-builders:** make bucket not use undefined ([5f7e95d](https://bitbucket.org/tradesystem/artisn_sdk/commit/5f7e95d6b0b4d4d1e47e38400b126a0ee9aa3478))
47
-
48
-
49
-
50
- ## [0.14.0-canary.2](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/types@0.14.0-canary.1...@artisan-commerce/types@0.14.0-canary.2) (2021-08-11)
51
-
52
-
53
- ### Features
54
-
55
- * **global:** rebrand artisan-commerce to artisn ([b2688b1](https://bitbucket.org/tradesystem/artisn_sdk/commit/b2688b107757ed82791c0be49439e9fb28f78b6d))
56
-
57
-
58
-
59
- ## [0.14.0-canary.1](https://bitbucket.org/tradesystem/artisan_sdk/compare/@artisan-commerce/types@0.14.0-canary.0...@artisan-commerce/types@0.14.0-canary.1) (2021-08-06)
60
-
61
-
62
- ### Features
63
-
64
- * **builders:** add missing builders and delete unused type ([361abac](https://bitbucket.org/tradesystem/artisan_sdk/commit/361abac9996fef1b0c308b1bd940f19379f8842a))
65
-
66
-
67
-
68
- ## [0.14.0-canary.0](https://bitbucket.org/tradesystem/artisan_sdk/compare/@artisan-commerce/types@0.13.0...@artisan-commerce/types@0.14.0-canary.0) (2021-08-04)
69
-
70
-
71
- ### Features
72
-
73
- * **global:** add and export missing builders and types ([67ad6ac](https://bitbucket.org/tradesystem/artisan_sdk/commit/67ad6ac8e563aa53c2c62dac86b65f3435a0b16a))
74
-
75
-
76
-
77
- ## [0.13.0](https://bitbucket.org/tradesystem/artisan_sdk/compare/@artisan-commerce/types@0.13.0-canary.10...@artisan-commerce/types@0.13.0) (2021-07-30)
78
-
79
-
80
- ### Features
81
-
82
- * **global:** fix percentage type on country ([b4920f2](https://bitbucket.org/tradesystem/artisan_sdk/commit/b4920f2021d4b3e5e1ea9cfd2423d98c122ae5ea))
83
-
84
-
85
-
86
- ## [0.13.0-canary.10](https://bitbucket.org/tradesystem/artisan_sdk/compare/@artisan-commerce/types@0.13.0-canary.9...@artisan-commerce/types@0.13.0-canary.10) (2021-07-26)
87
-
88
-
89
- ### Features
90
-
91
- * **global:** anonymous shopping cart ([99762c1](https://bitbucket.org/tradesystem/artisan_sdk/commit/99762c1ee8e2bce47eb936b3f76a280048579916))
92
-
93
-
94
-
95
- ## [0.13.0-canary.9](https://bitbucket.org/tradesystem/artisan_sdk/compare/@artisan-commerce/types@0.13.0-canary.8...@artisan-commerce/types@0.13.0-canary.9) (2021-06-18)
96
-
97
-
98
- ### Bug Fixes
99
-
100
- * **global:** fix remove benefit method ([a6cb684](https://bitbucket.org/tradesystem/artisan_sdk/commit/a6cb68453250ca855d8609b9f3c8de8c0d5d9b90))
101
-
102
-
103
-
104
- ## [0.13.0-canary.8](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.13.0-canary.7...@artisan-commerce/types@0.13.0-canary.8) (2021-06-10)
105
-
106
-
107
- ### Features
108
-
109
- * **global:** coupons functionality ([6a538c4](https://bitbucket.org/tradesystem/artisan_monorepo/commit/6a538c40d7e0eb380c6bbb274bd640b591787bc8))
110
- * **global:** coupons functionality ([33117c2](https://bitbucket.org/tradesystem/artisan_monorepo/commit/33117c27c0e9f2d5e28705934abd1597fc92092e))
111
- * **global:** coupons functionality ([2202f0d](https://bitbucket.org/tradesystem/artisan_monorepo/commit/2202f0dd41a393eca7697d056df6f75f80748bb1))
112
-
113
-
114
-
115
- ## [0.13.0-canary.7](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.13.0-canary.6...@artisan-commerce/types@0.13.0-canary.7) (2021-04-22)
116
-
117
-
118
- ### Features
119
-
120
- * **types:** add country types and interfaces ([f73fabd](https://bitbucket.org/tradesystem/artisan_monorepo/commit/f73fabd5615ae1bb39c9ca59a8b79a5437eca9d1))
121
-
122
-
123
-
124
- ## [0.13.0-canary.6](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.13.0-canary.5...@artisan-commerce/types@0.13.0-canary.6) (2021-04-21)
125
-
126
-
127
- ### Features
128
-
129
- * **global:** update account types and add account builders ([4a6fecd](https://bitbucket.org/tradesystem/artisan_monorepo/commit/4a6fecdc45b363f068a6089eccbf36483f517288))
130
-
131
-
132
-
133
- ## [0.13.0-canary.5](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.13.0-canary.4...@artisan-commerce/types@0.13.0-canary.5) (2021-04-16)
134
-
135
- **Note:** Version bump only for package @artisan-commerce/types
136
-
137
-
138
-
139
-
140
-
141
- ## [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)
142
-
143
-
144
- ### Performance Improvements
145
-
146
- * **global:** move typescript to be a global dependency ([32370e1](https://bitbucket.org/tradesystem/artisan_monorepo/commit/32370e134f1bcc4f79c55e2bae0ee22fee193e77))
147
-
148
-
149
-
150
- ## [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)
151
-
152
- **Note:** Version bump only for package @artisan-commerce/types
153
-
154
-
155
-
156
-
157
-
158
- ## [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)
159
-
160
- **Note:** Version bump only for package @artisan-commerce/types
161
-
162
-
163
-
164
-
165
-
166
- ## [0.13.0-canary.1](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.13.0-canary.0...@artisan-commerce/types@0.13.0-canary.1) (2021-03-19)
167
-
168
-
169
- ### Features
170
-
171
- * **types:** add init-rn types ([e4f44c4](https://bitbucket.org/tradesystem/artisan_monorepo/commit/e4f44c484e8d223a1716daf4cf0ec098dfde620a))
172
-
173
-
174
-
175
- ## [0.13.0-canary.0](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.12.2-canary.2...@artisan-commerce/types@0.13.0-canary.0) (2021-03-18)
176
-
177
-
178
- ### Features
179
-
180
- * **artisa-commerce:** added code documentation for users lib and types refactor ([1d0acf7](https://bitbucket.org/tradesystem/artisan_monorepo/commit/1d0acf703c6a9b6e4c7cb157ef045c49e6579d3a))
181
- * **artisan-commerce:** merge branch 'canary' into feature/document-users-code ([e18fe40](https://bitbucket.org/tradesystem/artisan_monorepo/commit/e18fe401542d38afd0599bc98b0924d6b44bd74a))
182
-
183
-
184
-
185
- ### [0.12.2-canary.2](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.12.2-canary.1...@artisan-commerce/types@0.12.2-canary.2) (2021-03-18)
186
-
187
-
188
- ### Bug Fixes
189
-
190
- * **types:** update image type ([c461609](https://bitbucket.org/tradesystem/artisan_monorepo/commit/c461609e3aab757a4722d7a820a765a96588d94c))
191
-
192
-
193
-
194
- ### [0.12.2-canary.1](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.12.2-canary.0...@artisan-commerce/types@0.12.2-canary.1) (2021-03-18)
195
-
196
- **Note:** Version bump only for package @artisan-commerce/types
197
-
198
-
199
-
200
-
201
-
202
- ### [0.12.2-canary.0](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.12.1...@artisan-commerce/types@0.12.2-canary.0) (2021-03-12)
203
-
204
- **Note:** Version bump only for package @artisan-commerce/types
205
-
206
-
207
-
208
-
209
-
210
- ### [0.12.1](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.12.1-canary.1...@artisan-commerce/types@0.12.1) (2021-03-02)
211
-
212
- **Note:** Version bump only for package @artisan-commerce/types
213
-
214
-
215
-
216
-
217
-
218
- ### [0.12.1-canary.1](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.12.1-canary.0...@artisan-commerce/types@0.12.1-canary.1) (2021-02-25)
219
-
220
- **Note:** Version bump only for package @artisan-commerce/types
221
-
222
-
223
-
224
-
225
-
226
- ### [0.12.1-canary.0](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.12.0...@artisan-commerce/types@0.12.1-canary.0) (2021-02-25)
227
-
228
- **Note:** Version bump only for package @artisan-commerce/types
229
-
230
-
231
-
232
-
233
-
234
- ## [0.12.0](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.12.0-canary.1...@artisan-commerce/types@0.12.0) (2021-02-25)
235
-
236
- **Note:** Version bump only for package @artisan-commerce/types
237
-
238
-
239
-
240
-
241
-
242
- ## [0.12.0-canary.1](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.11.0-canary.12...@artisan-commerce/types@0.12.0-canary.1) (2021-02-25)
243
-
244
- **Note:** Version bump only for package @artisan-commerce/types
245
-
246
-
247
-
248
-
249
-
250
- ## [0.11.0-canary.12](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.11.0-canary.11...@artisan-commerce/types@0.11.0-canary.12) (2021-02-23)
251
-
252
-
253
- ### Features
254
-
255
- * added billing data and shipping address builders ([6a9eaa9](https://bitbucket.org/tradesystem/artisan_monorepo/commit/6a9eaa921bab2367171473565de0ce6d662bd7c0))
256
-
257
-
258
- ### Bug Fixes
259
-
260
- * fixed yarn.lock and package.json ([f485433](https://bitbucket.org/tradesystem/artisan_monorepo/commit/f485433b750e8012ec543cc00f6cb2e016d77361))
261
-
262
-
263
-
264
- ## [0.11.0-canary.11](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.11.0-canary.10...@artisan-commerce/types@0.11.0-canary.11) (2021-02-12)
265
-
266
- **Note:** Version bump only for package @artisan-commerce/types
267
-
268
-
269
-
270
-
271
-
272
- ## [0.11.0-canary.10](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.11.0-canary.9...@artisan-commerce/types@0.11.0-canary.10) (2021-02-08)
273
-
274
-
275
- ### Features
276
-
277
- * **products:** support custome types on modifier groups and normal modifers ([dda6c03](https://bitbucket.org/tradesystem/artisan_monorepo/commit/dda6c03ee8241a5719dcf1745c6a7def83650bda))
278
-
279
-
280
-
281
- ## [0.11.0-canary.9](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.11.0-canary.8...@artisan-commerce/types@0.11.0-canary.9) (2021-02-05)
282
-
283
- **Note:** Version bump only for package @artisan-commerce/types
284
-
285
-
286
-
287
-
288
-
289
- ## [0.11.0-canary.8](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.11.0-canary.7...@artisan-commerce/types@0.11.0-canary.8) (2021-02-05)
290
-
291
- **Note:** Version bump only for package @artisan-commerce/types
292
-
293
-
294
-
295
-
296
-
297
- ## [0.11.0-canary.7](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.11.0-canary.6...@artisan-commerce/types@0.11.0-canary.7) (2021-02-05)
298
-
299
- **Note:** Version bump only for package @artisan-commerce/types
300
-
301
-
302
-
303
-
304
-
305
- ## [0.11.0-canary.6](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.11.0-canary.5...@artisan-commerce/types@0.11.0-canary.6) (2021-02-05)
306
-
307
- **Note:** Version bump only for package @artisan-commerce/types
308
-
309
-
310
-
311
-
312
-
313
- ## [0.11.0-canary.5](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.11.0-canary.4...@artisan-commerce/types@0.11.0-canary.5) (2021-02-04)
314
-
315
- **Note:** Version bump only for package @artisan-commerce/types
316
-
317
-
318
-
319
-
320
-
321
- ## [0.11.0-canary.4](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.11.0-canary.3...@artisan-commerce/types@0.11.0-canary.4) (2021-02-04)
322
-
323
- **Note:** Version bump only for package @artisan-commerce/types
324
-
325
-
326
-
327
-
328
-
329
- ## [0.11.0-canary.3](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.11.0-canary.2...@artisan-commerce/types@0.11.0-canary.3) (2021-02-04)
330
-
331
- **Note:** Version bump only for package @artisan-commerce/types
332
-
333
-
334
-
335
-
336
-
337
- ## [0.11.0-canary.2](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.11.0-canary.1...@artisan-commerce/types@0.11.0-canary.2) (2021-02-04)
338
-
339
- **Note:** Version bump only for package @artisan-commerce/types
340
-
341
-
342
-
343
-
344
-
345
- ## [0.11.0-canary.1](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.11.0-canary.0...@artisan-commerce/types@0.11.0-canary.1) (2021-02-04)
346
-
347
- **Note:** Version bump only for package @artisan-commerce/types
348
-
349
-
350
-
351
-
352
-
353
- ## [0.11.0-canary.0](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.10.6-canary.0...@artisan-commerce/types@0.11.0-canary.0) (2021-02-03)
354
-
355
-
356
- ### Features
357
-
358
- * **types:** add user interface skeleton ([6d26c1e](https://bitbucket.org/tradesystem/artisan_monorepo/commit/6d26c1e7d09ee34f67c580b494235d791f286ee6))
359
-
360
-
361
-
362
- ## [0.10.6-canary.0](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.10.5...@artisan-commerce/types@0.10.6-canary.0) (2021-02-03)
363
-
364
- **Note:** Version bump only for package @artisan-commerce/types
package/build/index.d.ts DELETED
@@ -1,26 +0,0 @@
1
- export * from "./types/account.types";
2
- export * from "./types/app.types";
3
- export * from "./types/artisnDB.types";
4
- export * from "./types/banner.types";
5
- export * from "./types/billingData.types";
6
- export * from "./types/catalogue.types";
7
- export * from "./types/category.types";
8
- export * from "./types/common.types";
9
- export * from "./types/country.types";
10
- export * from "./types/coupon.types";
11
- export * from "./types/currency.types";
12
- export * from "./types/fulfillment.types";
13
- export * from "./types/http.types";
14
- export * from "./types/image.types";
15
- export * from "./types/livingPlace.types";
16
- export * from "./types/notification.types";
17
- export * from "./types/order.types";
18
- export * from "./types/payment.types";
19
- export * from "./types/product.types";
20
- export * from "./types/settings.types";
21
- export * from "./types/shippingAddress.types";
22
- export * from "./types/shippingCost.types";
23
- export * from "./types/shoppingCart.types";
24
- export * from "./types/store.types";
25
- export * from "./types/vendor.types";
26
- export * from "./types/user.types";
package/build/index.js DELETED
@@ -1,40 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- // Main
14
- __exportStar(require("./types/account.types"), exports);
15
- __exportStar(require("./types/app.types"), exports);
16
- __exportStar(require("./types/artisnDB.types"), exports);
17
- __exportStar(require("./types/banner.types"), exports);
18
- __exportStar(require("./types/billingData.types"), exports);
19
- __exportStar(require("./types/catalogue.types"), exports);
20
- __exportStar(require("./types/category.types"), exports);
21
- __exportStar(require("./types/common.types"), exports);
22
- __exportStar(require("./types/country.types"), exports);
23
- __exportStar(require("./types/coupon.types"), exports);
24
- __exportStar(require("./types/currency.types"), exports);
25
- __exportStar(require("./types/fulfillment.types"), exports);
26
- __exportStar(require("./types/http.types"), exports);
27
- __exportStar(require("./types/image.types"), exports);
28
- __exportStar(require("./types/livingPlace.types"), exports);
29
- __exportStar(require("./types/notification.types"), exports);
30
- __exportStar(require("./types/order.types"), exports);
31
- __exportStar(require("./types/payment.types"), exports);
32
- __exportStar(require("./types/product.types"), exports);
33
- __exportStar(require("./types/settings.types"), exports);
34
- __exportStar(require("./types/shippingAddress.types"), exports);
35
- __exportStar(require("./types/shippingCost.types"), exports);
36
- __exportStar(require("./types/shoppingCart.types"), exports);
37
- __exportStar(require("./types/store.types"), exports);
38
- __exportStar(require("./types/vendor.types"), exports);
39
- __exportStar(require("./types/user.types"), exports);
40
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO;AACP,wDAAsC;AACtC,oDAAkC;AAClC,yDAAuC;AACvC,uDAAqC;AACrC,4DAA0C;AAC1C,0DAAwC;AACxC,yDAAuC;AACvC,uDAAqC;AACrC,wDAAsC;AACtC,uDAAqC;AACrC,yDAAuC;AACvC,4DAA0C;AAC1C,qDAAmC;AACnC,sDAAoC;AACpC,4DAA0C;AAC1C,6DAA2C;AAC3C,sDAAoC;AACpC,wDAAsC;AACtC,wDAAsC;AACtC,yDAAuC;AACvC,gEAA8C;AAC9C,6DAA2C;AAC3C,6DAA2C;AAC3C,sDAAoC;AACpC,uDAAqC;AACrC,qDAAmC"}
@@ -1,17 +0,0 @@
1
- import { CDNImage } from "./image.types";
2
- /**
3
- * Representation of a Commerce Account.
4
- *
5
- * @interface Account
6
- * @since 0.5.14
7
- */
8
- export interface Account {
9
- /** Artisn's account unique identifier */
10
- accountId: number;
11
- /** Account's name */
12
- name: string;
13
- /** Account's description */
14
- description?: string;
15
- /** Account's images, see {@link CDNImage} for further information */
16
- images: CDNImage[];
17
- }
@@ -1,4 +0,0 @@
1
- "use strict";
2
- // Account types and interfaces
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- //# sourceMappingURL=account.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"account.types.js","sourceRoot":"","sources":["../../src/types/account.types.ts"],"names":[],"mappings":";AAAA,+BAA+B"}
@@ -1,153 +0,0 @@
1
- import firebase from "firebase";
2
- /**
3
- * The ArtisnApp controls the app connection with the DBs and its settings.
4
- *
5
- * @typedef ArtisnApp
6
- * @since 0.5.14
7
- */
8
- export declare type ArtisnApp = ArtisnAppWeb | ArtisnAppRN;
9
- /**
10
- * The ArtisnAppWeb orchestrate the connections of the app with the DB, server and its settings.
11
- *
12
- * @interface ArtisnAppWeb
13
- * @since 0.5.14
14
- */
15
- export interface ArtisnAppWeb {
16
- /** App's name */
17
- name: firebase.app.App["name"];
18
- /** Artisn's account API URL */
19
- apiURL: string;
20
- /** Artisn app settings configuration, see {@link ArtisnSettings} */
21
- settings: ArtisnSettings;
22
- /** Internal configuration of App and databases */
23
- __internals__: firebase.app.App;
24
- /** ArtisnApp object internal instance */
25
- __instance__: typeof firebase;
26
- }
27
- /**
28
- * The ArtisnAppRN orchestrate the connections of the app with the DB, server and its settings.
29
- *
30
- * @interface ArtisnAppRN
31
- * @since 0.5.14
32
- */
33
- export interface ArtisnAppRN {
34
- /** Artisn's account API URL */
35
- apiURL: string;
36
- /** Internal configuration of App and databases */
37
- __internals__: RNFirebaseInstance;
38
- /** ArtisnApp object internal instance */
39
- __instance__: RNFirebaseInstance;
40
- /** Artisn app settings configuration, see {@link ArtisnSettings} */
41
- settings: ArtisnSettings;
42
- /** App's name */
43
- name: string;
44
- }
45
- /**
46
- * Settings to configure the Firebase Instance.
47
- *
48
- * @interface RNFirebaseInstance
49
- * @since 0.5.14
50
- */
51
- export interface RNFirebaseInstance {
52
- /** Auth package from react-native-auth */
53
- auth: any;
54
- /** Firestore package from react-native-auth */
55
- firestore: any;
56
- }
57
- /**
58
- * Settings to configure the Artisn app.
59
- *
60
- * @interface ArtisnSettings
61
- * @since 0.5.14
62
- */
63
- export interface ArtisnSettings {
64
- /** Artisn's account unique identifier */
65
- accountId?: number;
66
- /** Platform where the app is running, see {@link ArtisnPlatform} */
67
- platform?: ArtisnPlatform;
68
- /** App's project id */
69
- projectId: string;
70
- /** App's API key */
71
- apiKey: string;
72
- /** App's external app id */
73
- appId?: string;
74
- /** App's auth domain url */
75
- authDomain: string;
76
- }
77
- /**
78
- * Settings to configure the Artisn app react-native.
79
- *
80
- * @interface ArtisnSettingsRN
81
- * @since 0.5.14
82
- */
83
- export interface ArtisnSettingsRN {
84
- /** Platform where the app is running, see {@link ArtisnPlatform} */
85
- platform: ArtisnPlatform;
86
- /** Artisn's account unique identifier */
87
- accountId?: number;
88
- }
89
- /**
90
- * Artisn app's allowed platforms to run on.
91
- *
92
- * @typedef ArtisnPlatform
93
- * @since 0.5.14
94
- */
95
- export declare type ArtisnPlatform = "web" | "ios" | "android" | "windows" | "macos" | "call center";
96
- /**
97
- * Artisn's auth instance is the instance of the internal auth object.
98
- *
99
- * @typedef ArtisnInstanceAuth
100
- * @since 0.5.14
101
- */
102
- export declare type ArtisnInstanceAuth = typeof firebase.auth;
103
- /**
104
- * Artisn's auth object to handle providers authentication.
105
- *
106
- * @typedef ArtisnAuth
107
- * @since 0.5.14
108
- */
109
- export interface ArtisnAuth extends firebase.auth.Auth {
110
- }
111
- /**
112
- * Main artisn commerce filters.
113
- *
114
- * @interface ArtisnHints
115
- * @since 0.5.14
116
- */
117
- export interface ArtisnHints {
118
- /** Artisn's account unique identifier */
119
- accountId: string | number;
120
- /** Artisn's vendor unique identifier */
121
- vendorId?: string | number;
122
- /** Artisn's catalogue unique identifier */
123
- catalogueId?: string | number;
124
- /** Artisn's store unique identifier */
125
- storeId?: number;
126
- /** Artisn's category unique identifier */
127
- categoryId?: string | number;
128
- /** Artisn's productId unique identifier */
129
- productId?: string | number;
130
- }
131
- /**
132
- * Unrestricted allowed Artisn SDK rest api headers.
133
- *
134
- * @interface ArtisnHeaders
135
- * @since 0.5.14
136
- */
137
- export interface ArtisnHeaders {
138
- /** Platform where the app is running, see {@link ArtisnPlatform} */
139
- Platform: ArtisnPlatform;
140
- /** Artisn's account unique identifier */
141
- account: string;
142
- }
143
- /**
144
- * Restricted allowed Artisn SDK rest api headers.
145
- *
146
- * @interface ArtisnRestrictedHeaders
147
- * @since 0.5.14
148
- * @extends {{@link ArtisnHeaders}
149
- */
150
- export interface ArtisnRestrictedHeaders extends ArtisnHeaders {
151
- /** Authorization app's authentication token */
152
- Authorization: string;
153
- }