@websolutespa/payload-plugin-bowl 1.7.6 → 1.7.7
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 +225 -216
- package/dist/index.js +2 -2
- package/package.json +9 -8
- package/scss/styles.scss +10 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,216 +1,225 @@
|
|
|
1
|
-
# @websolutespa/payload-plugin-bowl
|
|
2
|
-
|
|
3
|
-
## 1.7.
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- Added:
|
|
8
|
-
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
1
|
+
# @websolutespa/payload-plugin-bowl
|
|
2
|
+
|
|
3
|
+
## 1.7.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Added: isomorphic-fetch
|
|
8
|
+
- Updating: dependencies
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
- @websolutespa/bom-core@1.7.3
|
|
11
|
+
|
|
12
|
+
## 1.7.6
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Added: beforeDuplicateCollectionHook
|
|
17
|
+
- Fixing: decorateNav\_ link href issue
|
|
18
|
+
|
|
19
|
+
## 1.7.5
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Modified: Label collection title -> text
|
|
24
|
+
|
|
25
|
+
## 1.7.4
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- Fixing: findRoute redirects
|
|
30
|
+
|
|
31
|
+
## 1.7.3
|
|
32
|
+
|
|
33
|
+
### Patch Changes
|
|
34
|
+
|
|
35
|
+
- Added: WhereService, StaticService, localize decorator
|
|
36
|
+
- Modified: withCollection, withStaticCollection, withAction, CollectionService, PageService
|
|
37
|
+
|
|
38
|
+
## 1.7.2
|
|
39
|
+
|
|
40
|
+
### Patch Changes
|
|
41
|
+
|
|
42
|
+
- Fixing: setMixerContext
|
|
43
|
+
|
|
44
|
+
## 1.7.1
|
|
45
|
+
|
|
46
|
+
### Patch Changes
|
|
47
|
+
|
|
48
|
+
- Fixing: MenuService & CategoryTree
|
|
49
|
+
|
|
50
|
+
## 1.7.0
|
|
51
|
+
|
|
52
|
+
### Minor Changes
|
|
53
|
+
|
|
54
|
+
- 28e86bd: Modified: IPage, Store services & decorators
|
|
55
|
+
- Updated dependencies [28e86bd]
|
|
56
|
+
- @websolutespa/bom-core@1.7.0
|
|
57
|
+
|
|
58
|
+
## 1.6.0
|
|
59
|
+
|
|
60
|
+
### Minor Changes
|
|
61
|
+
|
|
62
|
+
- 6707ca2: Upgrading Payload 2.11.2
|
|
63
|
+
|
|
64
|
+
### Patch Changes
|
|
65
|
+
|
|
66
|
+
- f664993: Added: useLivePreview
|
|
67
|
+
- Updated dependencies [6cbf4cb]
|
|
68
|
+
- @websolutespa/bom-core@0.6.7
|
|
69
|
+
|
|
70
|
+
## 1.3.6
|
|
71
|
+
|
|
72
|
+
### Patch Changes
|
|
73
|
+
|
|
74
|
+
- Fixing: afterPageReadHook
|
|
75
|
+
|
|
76
|
+
## 1.3.5
|
|
77
|
+
|
|
78
|
+
### Patch Changes
|
|
79
|
+
|
|
80
|
+
- Added: afterPageReadHook, MixerContext, getGlobalItems
|
|
81
|
+
- Modified: getCollectionItems, getCollectionItem
|
|
82
|
+
|
|
83
|
+
## 1.3.4
|
|
84
|
+
|
|
85
|
+
### Patch Changes
|
|
86
|
+
|
|
87
|
+
- Added: user roles and user actions
|
|
88
|
+
- Added: main menu sortByGroup
|
|
89
|
+
|
|
90
|
+
## 1.3.3
|
|
91
|
+
|
|
92
|
+
### Patch Changes
|
|
93
|
+
|
|
94
|
+
- Fixing: PageService decorators
|
|
95
|
+
|
|
96
|
+
## 1.3.2
|
|
97
|
+
|
|
98
|
+
### Patch Changes
|
|
99
|
+
|
|
100
|
+
- 8776e50b: Modified: PageService decorators
|
|
101
|
+
|
|
102
|
+
## 1.3.1
|
|
103
|
+
|
|
104
|
+
### Patch Changes
|
|
105
|
+
|
|
106
|
+
- Added: configuration option plugins
|
|
107
|
+
|
|
108
|
+
## 1.3.0
|
|
109
|
+
|
|
110
|
+
### Minor Changes
|
|
111
|
+
|
|
112
|
+
- c7a99a2b: Added tests
|
|
113
|
+
|
|
114
|
+
### Patch Changes
|
|
115
|
+
|
|
116
|
+
- dad63747: Added defaultMarket, defaultLocale
|
|
117
|
+
- 11b63e3b: Fixed test config
|
|
118
|
+
- c7a99a2b: Fixed collection bulk patch handler
|
|
119
|
+
- Updated dependencies [dad63747]
|
|
120
|
+
- @websolutespa/bom-core@0.6.1
|
|
121
|
+
|
|
122
|
+
## 1.2.0
|
|
123
|
+
|
|
124
|
+
### Minor Changes
|
|
125
|
+
|
|
126
|
+
- Added: MenuItem extra
|
|
127
|
+
|
|
128
|
+
## 1.1.0
|
|
129
|
+
|
|
130
|
+
### Minor Changes
|
|
131
|
+
|
|
132
|
+
- Updating: dependencies
|
|
133
|
+
|
|
134
|
+
## 1.0.6
|
|
135
|
+
|
|
136
|
+
### Patch Changes
|
|
137
|
+
|
|
138
|
+
- Fixing: validateHexColor import
|
|
139
|
+
|
|
140
|
+
## 1.0.5
|
|
141
|
+
|
|
142
|
+
### Patch Changes
|
|
143
|
+
|
|
144
|
+
- Fixing: check redirects by pattern
|
|
145
|
+
|
|
146
|
+
## 1.0.4
|
|
147
|
+
|
|
148
|
+
### Patch Changes
|
|
149
|
+
|
|
150
|
+
- Fixing: storeGet endpoint locale
|
|
151
|
+
|
|
152
|
+
## 1.0.3
|
|
153
|
+
|
|
154
|
+
### Patch Changes
|
|
155
|
+
|
|
156
|
+
- Modified: withPage preview, getApiUrl
|
|
157
|
+
|
|
158
|
+
## 1.0.2
|
|
159
|
+
|
|
160
|
+
### Patch Changes
|
|
161
|
+
|
|
162
|
+
- Added: duration to withStaticCollection
|
|
163
|
+
- Fixing: eachField
|
|
164
|
+
|
|
165
|
+
## 1.0.1
|
|
166
|
+
|
|
167
|
+
### Minor Changes
|
|
168
|
+
|
|
169
|
+
- Added: CategoryTree
|
|
170
|
+
- Fixing: sass
|
|
171
|
+
|
|
172
|
+
## 0.5.0
|
|
173
|
+
|
|
174
|
+
### Minor Changes
|
|
175
|
+
|
|
176
|
+
- Modified routes, added redirects
|
|
177
|
+
|
|
178
|
+
## 0.4.0
|
|
179
|
+
|
|
180
|
+
### Minor Changes
|
|
181
|
+
|
|
182
|
+
- Removed: external dependency @websolutespa/payload-plugin-localization
|
|
183
|
+
|
|
184
|
+
## 0.3.2
|
|
185
|
+
|
|
186
|
+
### Patch Changes
|
|
187
|
+
|
|
188
|
+
- Fixing: avoid categories circular reference
|
|
189
|
+
|
|
190
|
+
## 0.3.1
|
|
191
|
+
|
|
192
|
+
### Patch Changes
|
|
193
|
+
|
|
194
|
+
- Modified: ILocalizable
|
|
195
|
+
|
|
196
|
+
## 0.3.0
|
|
197
|
+
|
|
198
|
+
### Minor Changes
|
|
199
|
+
|
|
200
|
+
- Added: splat routes
|
|
201
|
+
|
|
202
|
+
## 0.2.0
|
|
203
|
+
|
|
204
|
+
### Minor Changes
|
|
205
|
+
|
|
206
|
+
- Added: menu, @websolutespa/bom-core
|
|
207
|
+
|
|
208
|
+
## 0.1.1
|
|
209
|
+
|
|
210
|
+
### Patch Changes
|
|
211
|
+
|
|
212
|
+
- Modified: route service
|
|
213
|
+
- Added: white label
|
|
214
|
+
|
|
215
|
+
## 0.1.0
|
|
216
|
+
|
|
217
|
+
### Minor Changes
|
|
218
|
+
|
|
219
|
+
- mock refactor
|
|
220
|
+
|
|
221
|
+
## 0.0.1
|
|
222
|
+
|
|
223
|
+
### Patch Changes
|
|
224
|
+
|
|
225
|
+
- Added: first release
|
package/dist/index.js
CHANGED
|
@@ -6200,11 +6200,11 @@ var withPage = /* @__PURE__ */ __name((config) => {
|
|
|
6200
6200
|
}, "withPage");
|
|
6201
6201
|
|
|
6202
6202
|
// src/core/collections/withStaticCollection.ts
|
|
6203
|
-
var
|
|
6203
|
+
var import_isomorphic_fetch = require("isomorphic-fetch");
|
|
6204
6204
|
var ID = 0;
|
|
6205
6205
|
var CACHE_3 = {};
|
|
6206
6206
|
async function getCollection(url) {
|
|
6207
|
-
const response = await
|
|
6207
|
+
const response = await fetch(url, { method: "GET" }).then((response2) => response2.json());
|
|
6208
6208
|
const items = response.data.items;
|
|
6209
6209
|
return items;
|
|
6210
6210
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@websolutespa/payload-plugin-bowl",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.7",
|
|
4
4
|
"description": "Bowl PayloadCms plugin of the BOM Repository",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"payload",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"@payloadcms/db-mongodb": ">= 1.2.0",
|
|
35
35
|
"@websolutespa/bom-core": "*",
|
|
36
|
-
"
|
|
37
|
-
"
|
|
36
|
+
"i18next": ">= 22.5.1",
|
|
37
|
+
"isomorphic-fetch": ">= 3.0.0",
|
|
38
38
|
"payload": ">= 2.11.2",
|
|
39
39
|
"react": ">= 18.2.0",
|
|
40
40
|
"uuid": ">= 9.0.1"
|
|
@@ -42,21 +42,22 @@
|
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/escape-html": "^1.0.2",
|
|
44
44
|
"@types/express": "^4.17.15",
|
|
45
|
+
"@types/isomorphic-fetch": "^0.0.39",
|
|
45
46
|
"@types/papaparse": "^5.3.7",
|
|
46
47
|
"@types/uuid": "^9.0.2",
|
|
47
48
|
"@websolutespa/bom-cli": "*",
|
|
48
49
|
"@websolutespa/test": "*",
|
|
49
50
|
"@websolutespa/tsconfig": "*",
|
|
50
|
-
"axios": "0.27.2",
|
|
51
51
|
"esbuild-sass-plugin": "^2.10.0",
|
|
52
52
|
"eslint-config-websolute": "*",
|
|
53
|
-
"eslint": "^
|
|
54
|
-
"i18next": "^22.
|
|
53
|
+
"eslint": "^9.0.0",
|
|
54
|
+
"i18next": "^22.5.1",
|
|
55
|
+
"isomorphic-fetch": "^3.0.0",
|
|
55
56
|
"mongodb-memory-server": "^8.13.0",
|
|
56
57
|
"react": "^18.2.0",
|
|
57
|
-
"ts-node": "^10.9.
|
|
58
|
+
"ts-node": "^10.9.2",
|
|
58
59
|
"tsup": "^6.7.0",
|
|
59
|
-
"typescript": "^5.
|
|
60
|
+
"typescript": "^5.4.5",
|
|
60
61
|
"uuid": "^9.0.1"
|
|
61
62
|
},
|
|
62
63
|
"publishConfig": {
|
package/scss/styles.scss
CHANGED