@almadar/std 16.120.0 → 16.121.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.
@@ -52,7 +52,7 @@
52
52
  },
53
53
  "resultActions": {
54
54
  "default": [],
55
- "description": "Optional per-row actions on a result (e.g. open).",
55
+ "description": "Optional per-row actions on a result, e.g. { label: \"View Details\", event: \"VIEW\" }.",
56
56
  "items": {
57
57
  "properties": {
58
58
  "confirm": {
@@ -67,12 +67,7 @@
67
67
  },
68
68
  "event": {
69
69
  "name": "event",
70
- "required": false,
71
- "type": "string"
72
- },
73
- "format": {
74
- "name": "format",
75
- "required": false,
70
+ "required": true,
76
71
  "type": "string"
77
72
  },
78
73
  "hidden": {
@@ -92,7 +87,7 @@
92
87
  },
93
88
  "label": {
94
89
  "name": "label",
95
- "required": false,
90
+ "required": true,
96
91
  "type": "string"
97
92
  },
98
93
  "payload": {
@@ -110,7 +105,7 @@
110
105
  },
111
106
  "label": "Result row actions",
112
107
  "tier": "presentation",
113
- "type": "[AppSearchFieldSpec]"
108
+ "type": "[AppSearchActionSpec]"
114
109
  },
115
110
  "resultFields": {
116
111
  "default": [
@@ -1964,7 +1964,10 @@
1964
1964
  "config": {
1965
1965
  "enabled": {
1966
1966
  "default": true,
1967
- "type": "unknown"
1967
+ "description": "When enabled, items must be approved before they become active.",
1968
+ "label": "Enable approval workflow",
1969
+ "tier": "policy",
1970
+ "type": "boolean"
1968
1971
  }
1969
1972
  },
1970
1973
  "events": {
@@ -1977,7 +1980,10 @@
1977
1980
  "config": {
1978
1981
  "enabled": {
1979
1982
  "default": false,
1980
- "type": "unknown"
1983
+ "description": "When enabled, admins can permanently erase items on request (e.g., GDPR right-to-be-forgotten).",
1984
+ "label": "Enable erasure workflow",
1985
+ "tier": "policy",
1986
+ "type": "boolean"
1981
1987
  },
1982
1988
  "targetEntity": {
1983
1989
  "default": "Item",
@@ -1991,7 +1997,10 @@
1991
1997
  "config": {
1992
1998
  "enabled": {
1993
1999
  "default": false,
1994
- "type": "unknown"
2000
+ "description": "When enabled, submitted items enter a moderation queue before publication.",
2001
+ "label": "Enable moderation queue",
2002
+ "tier": "policy",
2003
+ "type": "boolean"
1995
2004
  }
1996
2005
  },
1997
2006
  "name": "ItemModeration",
@@ -52,7 +52,7 @@
52
52
  },
53
53
  "resultActions": {
54
54
  "default": [],
55
- "description": "Optional per-row actions on a result (e.g. open).",
55
+ "description": "Optional per-row actions on a result, e.g. { label: \"View Details\", event: \"VIEW\" }.",
56
56
  "items": {
57
57
  "properties": {
58
58
  "confirm": {
@@ -67,12 +67,7 @@
67
67
  },
68
68
  "event": {
69
69
  "name": "event",
70
- "required": false,
71
- "type": "string"
72
- },
73
- "format": {
74
- "name": "format",
75
- "required": false,
70
+ "required": true,
76
71
  "type": "string"
77
72
  },
78
73
  "hidden": {
@@ -92,7 +87,7 @@
92
87
  },
93
88
  "label": {
94
89
  "name": "label",
95
- "required": false,
90
+ "required": true,
96
91
  "type": "string"
97
92
  },
98
93
  "payload": {
@@ -110,7 +105,7 @@
110
105
  },
111
106
  "label": "Result row actions",
112
107
  "tier": "presentation",
113
- "type": "[AppSearchFieldSpec]"
108
+ "type": "[AppSearchActionSpec]"
114
109
  },
115
110
  "resultFields": {
116
111
  "default": [
@@ -1964,7 +1964,10 @@
1964
1964
  "config": {
1965
1965
  "enabled": {
1966
1966
  "default": true,
1967
- "type": "unknown"
1967
+ "description": "When enabled, items must be approved before they become active.",
1968
+ "label": "Enable approval workflow",
1969
+ "tier": "policy",
1970
+ "type": "boolean"
1968
1971
  }
1969
1972
  },
1970
1973
  "events": {
@@ -1977,7 +1980,10 @@
1977
1980
  "config": {
1978
1981
  "enabled": {
1979
1982
  "default": false,
1980
- "type": "unknown"
1983
+ "description": "When enabled, admins can permanently erase items on request (e.g., GDPR right-to-be-forgotten).",
1984
+ "label": "Enable erasure workflow",
1985
+ "tier": "policy",
1986
+ "type": "boolean"
1981
1987
  },
1982
1988
  "targetEntity": {
1983
1989
  "default": "Item",
@@ -1991,7 +1997,10 @@
1991
1997
  "config": {
1992
1998
  "enabled": {
1993
1999
  "default": false,
1994
- "type": "unknown"
2000
+ "description": "When enabled, submitted items enter a moderation queue before publication.",
2001
+ "label": "Enable moderation queue",
2002
+ "tier": "policy",
2003
+ "type": "boolean"
1995
2004
  }
1996
2005
  },
1997
2006
  "name": "ItemModeration",
@@ -52,7 +52,7 @@
52
52
  },
53
53
  "resultActions": {
54
54
  "default": [],
55
- "description": "Optional per-row actions on a result (e.g. open).",
55
+ "description": "Optional per-row actions on a result, e.g. { label: \"View Details\", event: \"VIEW\" }.",
56
56
  "items": {
57
57
  "properties": {
58
58
  "confirm": {
@@ -67,12 +67,7 @@
67
67
  },
68
68
  "event": {
69
69
  "name": "event",
70
- "required": false,
71
- "type": "string"
72
- },
73
- "format": {
74
- "name": "format",
75
- "required": false,
70
+ "required": true,
76
71
  "type": "string"
77
72
  },
78
73
  "hidden": {
@@ -92,7 +87,7 @@
92
87
  },
93
88
  "label": {
94
89
  "name": "label",
95
- "required": false,
90
+ "required": true,
96
91
  "type": "string"
97
92
  },
98
93
  "payload": {
@@ -110,7 +105,7 @@
110
105
  },
111
106
  "label": "Result row actions",
112
107
  "tier": "presentation",
113
- "type": "[AppSearchFieldSpec]"
108
+ "type": "[AppSearchActionSpec]"
114
109
  },
115
110
  "resultFields": {
116
111
  "default": [
@@ -1964,7 +1964,10 @@
1964
1964
  "config": {
1965
1965
  "enabled": {
1966
1966
  "default": true,
1967
- "type": "unknown"
1967
+ "description": "When enabled, items must be approved before they become active.",
1968
+ "label": "Enable approval workflow",
1969
+ "tier": "policy",
1970
+ "type": "boolean"
1968
1971
  }
1969
1972
  },
1970
1973
  "events": {
@@ -1977,7 +1980,10 @@
1977
1980
  "config": {
1978
1981
  "enabled": {
1979
1982
  "default": false,
1980
- "type": "unknown"
1983
+ "description": "When enabled, admins can permanently erase items on request (e.g., GDPR right-to-be-forgotten).",
1984
+ "label": "Enable erasure workflow",
1985
+ "tier": "policy",
1986
+ "type": "boolean"
1981
1987
  },
1982
1988
  "targetEntity": {
1983
1989
  "default": "Item",
@@ -1991,7 +1997,10 @@
1991
1997
  "config": {
1992
1998
  "enabled": {
1993
1999
  "default": false,
1994
- "type": "unknown"
2000
+ "description": "When enabled, submitted items enter a moderation queue before publication.",
2001
+ "label": "Enable moderation queue",
2002
+ "tier": "policy",
2003
+ "type": "boolean"
1995
2004
  }
1996
2005
  },
1997
2006
  "name": "ItemModeration",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/std",
3
- "version": "16.120.0",
3
+ "version": "16.121.0",
4
4
  "description": "Standard library operators for Almadar (math, string, array, etc.)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",