@meith/settings 0.26.0 → 0.27.0
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/package.json +3 -3
- package/src/definitions.ts +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meith/settings",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"zod": "^4.4.3",
|
|
23
|
-
"@meith/core": "0.
|
|
24
|
-
"@meith/i18n": "0.
|
|
23
|
+
"@meith/core": "0.27.0",
|
|
24
|
+
"@meith/i18n": "0.27.0"
|
|
25
25
|
}
|
|
26
26
|
}
|
package/src/definitions.ts
CHANGED
|
@@ -18,7 +18,6 @@ export type SettingGroup =
|
|
|
18
18
|
| 'antispam'
|
|
19
19
|
| 'push'
|
|
20
20
|
| 'legal'
|
|
21
|
-
| 'marketplace'
|
|
22
21
|
|
|
23
22
|
interface SettingDefinitionBase<T> {
|
|
24
23
|
readonly key: string
|
|
@@ -127,7 +126,7 @@ export const SETTING_DEFINITIONS = [
|
|
|
127
126
|
'says so instead of offering a form, and the action behind it refuses a ' +
|
|
128
127
|
'submission sent straight to it. Existing members sign in as before, the ' +
|
|
129
128
|
'installer still creates the first administrator, and ' +
|
|
130
|
-
'"
|
|
129
|
+
'"meith user:create" still works — closing the door is not the same ' +
|
|
131
130
|
'as locking yourself out.',
|
|
132
131
|
schema: z.boolean(),
|
|
133
132
|
default: true,
|
|
@@ -978,7 +977,7 @@ export const SETTING_DEFINITIONS = [
|
|
|
978
977
|
description:
|
|
979
978
|
'The board identifies itself to a push service with this key, and every ' +
|
|
980
979
|
'browser stores it when it subscribes. Generate the pair with ' +
|
|
981
|
-
'`
|
|
980
|
+
'`meith push:keys`. Replacing it invalidates every subscription ' +
|
|
982
981
|
'already stored, because the browsers hold the old one.',
|
|
983
982
|
schema: z.string().trim().max(200),
|
|
984
983
|
default: '',
|
|
@@ -1061,7 +1060,7 @@ export const SETTING_DEFINITIONS = [
|
|
|
1061
1060
|
|
|
1062
1061
|
define({
|
|
1063
1062
|
key: 'marketplace.feed_url',
|
|
1064
|
-
group: '
|
|
1063
|
+
group: 'board',
|
|
1065
1064
|
label: 'Catalog feed URL',
|
|
1066
1065
|
description:
|
|
1067
1066
|
'Where the daily catalog fetch and the Browse tab’s Refresh button read the ' +
|
|
@@ -1073,6 +1072,7 @@ export const SETTING_DEFINITIONS = [
|
|
|
1073
1072
|
.trim()
|
|
1074
1073
|
.refine(isUsableFeedUrl, 'Give an https URL — or http to a loopback address, for testing.'),
|
|
1075
1074
|
default: 'https://www.meith.dev/marketplace/v1.json',
|
|
1075
|
+
ui: { advanced: true },
|
|
1076
1076
|
}),
|
|
1077
1077
|
] as const
|
|
1078
1078
|
|