@firecms/core 3.0.0-canary.259 → 3.0.0-canary.260
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/dist/types/roles.d.ts
CHANGED
|
@@ -23,6 +23,9 @@ export type Role = {
|
|
|
23
23
|
* @see stripCollectionPath
|
|
24
24
|
*/
|
|
25
25
|
collectionPermissions?: Record<string, Permissions>;
|
|
26
|
+
/**
|
|
27
|
+
* Permissions related to editing the collections
|
|
28
|
+
*/
|
|
26
29
|
config?: {
|
|
27
30
|
createCollections?: boolean;
|
|
28
31
|
editCollections?: boolean | "own";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firecms/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.0.0-canary.
|
|
4
|
+
"version": "3.0.0-canary.260",
|
|
5
5
|
"description": "Awesome Firebase/Firestore-based headless open-source CMS",
|
|
6
6
|
"funding": {
|
|
7
7
|
"url": "https://github.com/sponsors/firecmsco"
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
"@dnd-kit/core": "^6.3.1",
|
|
54
54
|
"@dnd-kit/modifiers": "^9.0.0",
|
|
55
55
|
"@dnd-kit/sortable": "^10.0.0",
|
|
56
|
-
"@firecms/editor": "^3.0.0-canary.
|
|
57
|
-
"@firecms/formex": "^3.0.0-canary.
|
|
58
|
-
"@firecms/ui": "^3.0.0-canary.
|
|
56
|
+
"@firecms/editor": "^3.0.0-canary.260",
|
|
57
|
+
"@firecms/formex": "^3.0.0-canary.260",
|
|
58
|
+
"@firecms/ui": "^3.0.0-canary.260",
|
|
59
59
|
"@radix-ui/react-portal": "^1.1.3",
|
|
60
60
|
"clsx": "^2.1.1",
|
|
61
61
|
"date-fns": "^3.6.0",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"dist",
|
|
108
108
|
"src"
|
|
109
109
|
],
|
|
110
|
-
"gitHead": "
|
|
110
|
+
"gitHead": "7aaa0b7c9b66161c75aebbf6660d1fd838ffb342",
|
|
111
111
|
"publishConfig": {
|
|
112
112
|
"access": "public"
|
|
113
113
|
},
|
|
@@ -179,10 +179,15 @@ function buildBottomActions<M extends object>({
|
|
|
179
179
|
|
|
180
180
|
{pluginActions}
|
|
181
181
|
|
|
182
|
-
<Button variant="text"
|
|
182
|
+
<Button variant="text"
|
|
183
|
+
color="primary"
|
|
184
|
+
disabled={disabled || isSubmitting}
|
|
185
|
+
type="reset">
|
|
183
186
|
{status === "existing" ? "Discard" : "Clear"}
|
|
184
187
|
</Button>
|
|
185
|
-
<Button variant={canClose ? "text" : "filled"}
|
|
188
|
+
<Button variant={canClose ? "text" : "filled"}
|
|
189
|
+
color="primary"
|
|
190
|
+
type="submit"
|
|
186
191
|
disabled={disabled || isSubmitting}
|
|
187
192
|
onClick={() => {
|
|
188
193
|
sideDialogContext.setPendingClose(false);
|