@ainsleydev/payload-helper 0.0.34 → 0.0.36
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/LICENSE +28 -0
- package/dist/gen/types.js +0 -0
- package/dist/gen/types.js.map +0 -0
- package/dist/globals/Navigation.d.ts +4 -3
- package/dist/globals/Navigation.js +11 -9
- package/dist/globals/Navigation.js.map +1 -1
- package/package.json +81 -75
package/LICENSE
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
BSD 3-Clause License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025, ainsley.dev
|
|
4
|
+
|
|
5
|
+
Redistribution and use in source and binary forms, with or without
|
|
6
|
+
modification, are permitted provided that the following conditions are met:
|
|
7
|
+
|
|
8
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
9
|
+
list of conditions and the following disclaimer.
|
|
10
|
+
|
|
11
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
12
|
+
this list of conditions and the following disclaimer in the documentation
|
|
13
|
+
and/or other materials provided with the distribution.
|
|
14
|
+
|
|
15
|
+
3. Neither the name of the copyright holder nor the names of its
|
|
16
|
+
contributors may be used to endorse or promote products derived from
|
|
17
|
+
this software without specific prior written permission.
|
|
18
|
+
|
|
19
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
20
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
21
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
22
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
23
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
24
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
25
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
26
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
27
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
28
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
package/dist/gen/types.js
CHANGED
|
File without changes
|
package/dist/gen/types.js.map
CHANGED
|
File without changes
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type Field, type GlobalConfig, type Tab } from 'payload';
|
|
2
2
|
/**
|
|
3
3
|
* Navigation Configuration for the header and footer
|
|
4
4
|
* nav links.
|
|
5
5
|
*/
|
|
6
6
|
interface NavigationConfig {
|
|
7
|
+
overrides?: Partial<Omit<GlobalConfig, 'slug' | 'fields'>>;
|
|
7
8
|
includeFooter?: boolean;
|
|
8
9
|
header?: NavigationMenuConfig;
|
|
9
10
|
footer?: NavigationMenuConfig;
|
|
@@ -22,7 +23,7 @@ interface NavigationMenuConfig {
|
|
|
22
23
|
* Additional fields will be appended to each navigation item.
|
|
23
24
|
*
|
|
24
25
|
* @constructor
|
|
25
|
-
* @param
|
|
26
|
+
* @param args
|
|
26
27
|
*/
|
|
27
|
-
export declare const Navigation: (
|
|
28
|
+
export declare const Navigation: (args?: NavigationConfig) => GlobalConfig;
|
|
28
29
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { deepMerge } from 'payload';
|
|
1
2
|
/**
|
|
2
3
|
* Function to generate children structure recursively.
|
|
3
4
|
*
|
|
@@ -67,8 +68,8 @@
|
|
|
67
68
|
* Additional fields will be appended to each navigation item.
|
|
68
69
|
*
|
|
69
70
|
* @constructor
|
|
70
|
-
* @param
|
|
71
|
-
*/ export const Navigation = (
|
|
71
|
+
* @param args
|
|
72
|
+
*/ export const Navigation = (args)=>{
|
|
72
73
|
const tabs = [
|
|
73
74
|
{
|
|
74
75
|
label: 'Header',
|
|
@@ -89,14 +90,14 @@
|
|
|
89
90
|
},
|
|
90
91
|
fields: [
|
|
91
92
|
...navFields,
|
|
92
|
-
...
|
|
93
|
-
...
|
|
93
|
+
...args?.header?.maxDepth ? generateChildren(0, args.header.maxDepth, navFields) : [],
|
|
94
|
+
...args?.header?.additionalFields ? args.header.additionalFields : []
|
|
94
95
|
]
|
|
95
96
|
}
|
|
96
97
|
]
|
|
97
98
|
}
|
|
98
99
|
];
|
|
99
|
-
if (
|
|
100
|
+
if (args?.includeFooter) {
|
|
100
101
|
tabs.push({
|
|
101
102
|
label: 'Footer',
|
|
102
103
|
name: 'footer',
|
|
@@ -116,14 +117,14 @@
|
|
|
116
117
|
},
|
|
117
118
|
fields: [
|
|
118
119
|
...navFields,
|
|
119
|
-
...
|
|
120
|
-
...
|
|
120
|
+
...args?.footer?.maxDepth ? generateChildren(0, args.footer.maxDepth, navFields) : [],
|
|
121
|
+
...args?.footer?.additionalFields ? args.footer.additionalFields : []
|
|
121
122
|
]
|
|
122
123
|
}
|
|
123
124
|
]
|
|
124
125
|
});
|
|
125
126
|
}
|
|
126
|
-
|
|
127
|
+
const defaultConfig = {
|
|
127
128
|
slug: 'navigation',
|
|
128
129
|
typescript: {
|
|
129
130
|
interface: 'Navigation'
|
|
@@ -139,11 +140,12 @@
|
|
|
139
140
|
type: 'tabs',
|
|
140
141
|
tabs: [
|
|
141
142
|
...tabs,
|
|
142
|
-
...
|
|
143
|
+
...args?.additionalTabs ? args.additionalTabs : []
|
|
143
144
|
]
|
|
144
145
|
}
|
|
145
146
|
]
|
|
146
147
|
};
|
|
148
|
+
return deepMerge(defaultConfig, args?.overrides || {});
|
|
147
149
|
};
|
|
148
150
|
|
|
149
151
|
//# sourceMappingURL=Navigation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/globals/Navigation.ts"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"sources":["../../src/globals/Navigation.ts"],"sourcesContent":["import {\n\ttype ArrayField,\n\ttype Field,\n\ttype GlobalConfig,\n\ttype Tab,\n\ttype TabsField,\n\tdeepMerge,\n} from 'payload';\n\n/**\n * Navigation Configuration for the header and footer\n * nav links.\n */\ninterface NavigationConfig {\n\toverrides?: Partial<Omit<GlobalConfig, 'slug' | 'fields'>>;\n\tincludeFooter?: boolean;\n\theader?: NavigationMenuConfig;\n\tfooter?: NavigationMenuConfig;\n\tadditionalTabs?: Tab[];\n}\n\n/**\n * Navigation Menu Configuration defines the config for an\n * individual navigation menu, i.e Header or Footer.\n */\ninterface NavigationMenuConfig {\n\tmaxDepth?: number;\n\tadditionalFields?: Field[];\n}\n\n/**\n * Function to generate children structure recursively.\n *\n * @param depth Current depth\n * @param maxDepth Maximum depth to generate children\n * @param fields Fields to include at each level\n */\nconst generateChildren = (depth: number, maxDepth: number, fields: Field[]): Field[] => {\n\tif (depth >= maxDepth) {\n\t\treturn [];\n\t}\n\n\t// Only generate children if depth is less than maxDepth\n\tif (depth < maxDepth - 1) {\n\t\treturn [\n\t\t\t{\n\t\t\t\tname: 'children',\n\t\t\t\ttype: 'array',\n\t\t\t\tlabel: `Children Level ${depth + 1}`,\n\t\t\t\tfields: [...fields, ...generateChildren(depth + 1, maxDepth, fields)],\n\t\t\t},\n\t\t];\n\t}\n\n\treturn [];\n};\n\n/**\n * The default navigation field links.\n */\nconst navFields: Field[] = [\n\t{\n\t\ttype: 'row',\n\t\tfields: [\n\t\t\t{\n\t\t\t\tname: 'label',\n\t\t\t\tlabel: 'Label',\n\t\t\t\ttype: 'text',\n\t\t\t\trequired: true,\n\t\t\t\tadmin: {\n\t\t\t\t\twidth: '50%',\n\t\t\t\t\tdescription: 'Enter the text that will appear as a label for the link.',\n\t\t\t\t},\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'url',\n\t\t\t\tlabel: 'URL',\n\t\t\t\ttype: 'text',\n\t\t\t\trequired: true,\n\t\t\t\tadmin: {\n\t\t\t\t\twidth: '50%',\n\t\t\t\t\tdescription: 'Enter a URL where the link will direct too.',\n\t\t\t\t},\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tname: 'newTab',\n\t\tlabel: 'Open in a new tab?',\n\t\ttype: 'checkbox',\n\t\tdefaultValue: false,\n\t\tadmin: {\n\t\t\tdescription: 'Check this box if you would like the link to open in a new tab.',\n\t\t},\n\t},\n];\n\n/**\n * Navigation Global Configuration\n * Additional fields will be appended to each navigation item.\n *\n * @constructor\n * @param args\n */\nexport const Navigation = (args?: NavigationConfig): GlobalConfig => {\n\tconst tabs: Tab[] = [\n\t\t{\n\t\t\tlabel: 'Header',\n\t\t\tname: 'header',\n\t\t\tfields: [\n\t\t\t\t{\n\t\t\t\t\tname: 'items',\n\t\t\t\t\tlabel: 'Items',\n\t\t\t\t\ttype: 'array',\n\t\t\t\t\tinterfaceName: 'NavigationHeaderLinks',\n\t\t\t\t\tlabels: {\n\t\t\t\t\t\tsingular: 'Link',\n\t\t\t\t\t\tplural: 'Links',\n\t\t\t\t\t},\n\t\t\t\t\tadmin: {\n\t\t\t\t\t\tinitCollapsed: true,\n\t\t\t\t\t\tisSortable: true,\n\t\t\t\t\t},\n\t\t\t\t\tfields: [\n\t\t\t\t\t\t...navFields,\n\t\t\t\t\t\t...(args?.header?.maxDepth\n\t\t\t\t\t\t\t? generateChildren(0, args.header.maxDepth, navFields)\n\t\t\t\t\t\t\t: []),\n\t\t\t\t\t\t...(args?.header?.additionalFields ? args.header.additionalFields : []),\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t],\n\t\t} as ArrayField,\n\t];\n\n\tif (args?.includeFooter) {\n\t\ttabs.push({\n\t\t\tlabel: 'Footer',\n\t\t\tname: 'footer',\n\t\t\tfields: [\n\t\t\t\t{\n\t\t\t\t\tname: 'items',\n\t\t\t\t\tlabel: 'Items',\n\t\t\t\t\ttype: 'array',\n\t\t\t\t\tinterfaceName: 'NavigationFooterLinks',\n\t\t\t\t\tlabels: {\n\t\t\t\t\t\tsingular: 'Link',\n\t\t\t\t\t\tplural: 'Links',\n\t\t\t\t\t},\n\t\t\t\t\tadmin: {\n\t\t\t\t\t\tinitCollapsed: true,\n\t\t\t\t\t\tisSortable: true,\n\t\t\t\t\t},\n\t\t\t\t\tfields: [\n\t\t\t\t\t\t...navFields,\n\t\t\t\t\t\t...(args?.footer?.maxDepth\n\t\t\t\t\t\t\t? generateChildren(0, args.footer.maxDepth, navFields)\n\t\t\t\t\t\t\t: []),\n\t\t\t\t\t\t...(args?.footer?.additionalFields ? args.footer.additionalFields : []),\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t],\n\t\t} as ArrayField);\n\t}\n\n\tconst defaultConfig = {\n\t\tslug: 'navigation',\n\t\ttypescript: {\n\t\t\tinterface: 'Navigation',\n\t\t},\n\t\tgraphQL: {\n\t\t\tname: 'Navigation',\n\t\t},\n\t\taccess: {\n\t\t\tread: () => true,\n\t\t},\n\t\tfields: [\n\t\t\t{\n\t\t\t\ttype: 'tabs',\n\t\t\t\ttabs: [...tabs, ...(args?.additionalTabs ? args.additionalTabs : [])],\n\t\t\t} as TabsField,\n\t\t],\n\t};\n\n\treturn deepMerge(defaultConfig, args?.overrides || {});\n};\n"],"names":["deepMerge","generateChildren","depth","maxDepth","fields","name","type","label","navFields","required","admin","width","description","defaultValue","Navigation","args","tabs","interfaceName","labels","singular","plural","initCollapsed","isSortable","header","additionalFields","includeFooter","push","footer","defaultConfig","slug","typescript","interface","graphQL","access","read","additionalTabs","overrides"],"mappings":"AAAA,SAMCA,SAAS,QACH,UAAU;AAuBjB;;;;;;CAMC,GACD,MAAMC,mBAAmB,CAACC,OAAeC,UAAkBC;IAC1D,IAAIF,SAASC,UAAU;QACtB,OAAO,EAAE;IACV;IAEA,wDAAwD;IACxD,IAAID,QAAQC,WAAW,GAAG;QACzB,OAAO;YACN;gBACCE,MAAM;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|
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
|
-
|
|
2
|
+
"name": "@ainsleydev/payload-helper",
|
|
3
|
+
"version": "0.0.36",
|
|
4
|
+
"description": "Payload CMS utilities, collections and global types for ainsley.dev builds",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"payload",
|
|
9
|
+
"cms",
|
|
10
|
+
"plugin",
|
|
11
|
+
"typescript",
|
|
12
|
+
"react"
|
|
13
|
+
],
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "https://github.com/ainsleydev/webkit.git",
|
|
17
|
+
"directory": "packages/payload-helper"
|
|
18
|
+
},
|
|
19
|
+
"author": {
|
|
20
|
+
"name": "ainsley.dev",
|
|
21
|
+
"email": "hello@ainsley.dev",
|
|
22
|
+
"url": "https://ainsley.dev"
|
|
23
|
+
},
|
|
24
|
+
"main": "./dist/index.js",
|
|
25
|
+
"types": "./dist/types.d.ts",
|
|
26
|
+
"bin": {
|
|
27
|
+
"payload-helper": "bin.js"
|
|
28
|
+
},
|
|
29
|
+
"files": [
|
|
30
|
+
"dist",
|
|
31
|
+
"bin.js",
|
|
32
|
+
"types.js",
|
|
33
|
+
"types.ts",
|
|
34
|
+
"types.d.ts"
|
|
35
|
+
],
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"payload": "3.56.0",
|
|
38
|
+
"@payloadcms/db-sqlite": "3.56.0",
|
|
39
|
+
"@payloadcms/richtext-lexical": "3.56.0",
|
|
40
|
+
"@payloadcms/plugin-form-builder": "3.56.0",
|
|
41
|
+
"@payloadcms/plugin-seo": "3.56.0",
|
|
42
|
+
"@lexical/headless": "0.28.0",
|
|
43
|
+
"@lexical/html": "0.28.0",
|
|
44
|
+
"@nouance/payload-better-fields-plugin": "^1.4.1",
|
|
45
|
+
"@types/json-schema": "^7.0.15",
|
|
46
|
+
"chalk": "^5.3.0",
|
|
47
|
+
"commander": "^12.1.0",
|
|
48
|
+
"dotenv": "^16.4.5",
|
|
49
|
+
"jsdom": "^24.1.1",
|
|
50
|
+
"lexical": "0.28.0",
|
|
51
|
+
"mime-types": "^2.1.35"
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@jest/globals": "^29.7.0",
|
|
55
|
+
"@swc/cli": "^0.4.0",
|
|
56
|
+
"@swc/core": "^1.7.2",
|
|
57
|
+
"@types/jest": "^29.5.12",
|
|
58
|
+
"@types/jsdom": "^21.1.7",
|
|
59
|
+
"@types/mime-types": "^2.1.4",
|
|
60
|
+
"jest": "^29.7.0",
|
|
61
|
+
"json-schema": "^0.4.0",
|
|
62
|
+
"rimraf": "6.0.1",
|
|
63
|
+
"ts-jest": "^29.2.3",
|
|
64
|
+
"ts-node": "^10.9.2",
|
|
65
|
+
"typescript": "^5.5.4",
|
|
66
|
+
"@ainsleydev/eslint-config": "0.0.7"
|
|
67
|
+
},
|
|
68
|
+
"engines": {
|
|
69
|
+
"node": ">=18",
|
|
70
|
+
"pnpm": ">=9"
|
|
71
|
+
},
|
|
72
|
+
"scripts": {
|
|
73
|
+
"build": "pnpm clean && pnpm build:types && pnpm build:swc",
|
|
74
|
+
"build:swc": "swc ./src -d ./dist --config-file .swcrc --strip-leading-paths",
|
|
75
|
+
"build:types": "tsc --emitDeclarationOnly --outDir dist",
|
|
76
|
+
"format": "biome format --write . --apply-unsafe --organise-imports",
|
|
77
|
+
"lint": "biome lint --write .",
|
|
78
|
+
"release": "pnpm build && npm publish --access public",
|
|
79
|
+
"clean": "rimraf {dist,*.tsbuildinfo}",
|
|
80
|
+
"test": "jest"
|
|
81
|
+
}
|
|
82
|
+
}
|