@warleon/n8n-nodes-payload-cms 1.2.7 → 1.2.9
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.
|
@@ -303,7 +303,7 @@ class PayloadCms {
|
|
|
303
303
|
method: "GET",
|
|
304
304
|
url: `${baseUrl}${reflectionEndpoint}`,
|
|
305
305
|
});
|
|
306
|
-
return response.collections;
|
|
306
|
+
return response.data.collections;
|
|
307
307
|
}
|
|
308
308
|
catch (error) {
|
|
309
309
|
// If that fails, we'll try some common collection names
|
|
@@ -321,7 +321,7 @@ class PayloadCms {
|
|
|
321
321
|
method: "GET",
|
|
322
322
|
url: `${baseUrl}${reflectionEndpoint}`,
|
|
323
323
|
});
|
|
324
|
-
return response.globals;
|
|
324
|
+
return response.data.globals;
|
|
325
325
|
}
|
|
326
326
|
catch (error) {
|
|
327
327
|
// If that fails, we'll try some common global names
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64" fill="none">
|
|
2
|
+
<g clip-path="url(#clip0_5502_5150)">
|
|
3
|
+
<path d="M31.6691 54.0945L13.0441 43.3445C12.8129 43.207 12.6691 42.9633 12.6691 42.6945V26.0945C12.6691 25.807 12.9816 25.6258 13.2316 25.7695L34.8566 38.257C35.1566 38.432 35.5379 38.2133 35.5379 37.8633V29.7633C35.5379 29.4383 35.3629 29.1445 35.0879 28.982L9.06289 13.9508C8.83164 13.8133 8.54414 13.8133 8.30664 13.9508L4.90039 15.9195C4.66914 16.057 4.52539 16.3008 4.52539 16.5695V47.4258C4.52539 47.6945 4.66914 47.9445 4.90039 48.0758L31.6191 63.5008C31.8504 63.6383 32.1379 63.6383 32.3754 63.5008L54.8129 50.5445C55.1129 50.3695 55.1129 49.9383 54.8129 49.7633L47.8129 45.7195C47.5316 45.557 47.1879 45.557 46.9066 45.7195L32.4191 54.082C32.1879 54.2195 31.9004 54.2195 31.6629 54.082L31.6691 54.0945Z" fill="white"/>
|
|
4
|
+
<path d="M59.0998 15.9187L32.3748 0.49375C32.1436 0.35625 31.8561 0.35625 31.6186 0.49375L17.4936 8.65C17.1936 8.825 17.1936 9.25625 17.4936 9.43125L24.4311 13.4375C24.7123 13.6 25.0561 13.6 25.3373 13.4375L31.6623 9.7875C31.8936 9.65 32.1811 9.65 32.4186 9.7875L51.0436 20.5375C51.2748 20.675 51.4186 20.9188 51.4186 21.1875V37.875C51.4186 38.2 51.5936 38.4937 51.8686 38.6562L58.7936 42.6562C59.0936 42.8313 59.4748 42.6125 59.4748 42.2625V16.575C59.4748 16.3063 59.3311 16.0562 59.0998 15.925V15.9187Z" fill="white"/>
|
|
5
|
+
</g>
|
|
6
|
+
<defs>
|
|
7
|
+
<clipPath id="clip0_5502_5150">
|
|
8
|
+
<rect width="64" height="64" fill="white"/>
|
|
9
|
+
</clipPath>
|
|
10
|
+
</defs>
|
|
11
|
+
</svg>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@warleon/n8n-nodes-payload-cms",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.9",
|
|
4
4
|
"description": "Dynamic n8n node for Payload CMS that auto-discovers collections and operations forked and extended from https://github.com/leadership-institute/n8n-payload-dynamic",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"author": "warleon",
|
|
@@ -27,7 +27,8 @@
|
|
|
27
27
|
"format": "prettier --write .",
|
|
28
28
|
"lint": "eslint .",
|
|
29
29
|
"test": "jest",
|
|
30
|
-
"prepublishOnly": "npm run build"
|
|
30
|
+
"prepublishOnly": "npm run build",
|
|
31
|
+
"postbuild": "copyfiles -u 1 \"src/**/*.svg\" dist/"
|
|
31
32
|
},
|
|
32
33
|
"keywords": [
|
|
33
34
|
"n8n",
|
|
@@ -51,6 +52,7 @@
|
|
|
51
52
|
},
|
|
52
53
|
"devDependencies": {
|
|
53
54
|
"@types/node": "^20.0.0",
|
|
55
|
+
"copyfiles": "^2.4.1",
|
|
54
56
|
"n8n-core": "^1.0.0",
|
|
55
57
|
"n8n-workflow": "^1.0.0",
|
|
56
58
|
"ts-essentials": "^10.1.1",
|