@webiny/api-file-manager 6.0.0-rc.2 → 6.0.0-rc.3
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 +15 -15
- package/permissions/schema.d.ts +4 -12
- package/permissions/schema.js +1 -3
- package/permissions/schema.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/api-file-manager",
|
|
3
|
-
"version": "6.0.0-rc.
|
|
3
|
+
"version": "6.0.0-rc.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"keywords": [
|
|
@@ -19,25 +19,25 @@
|
|
|
19
19
|
],
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@webiny/api": "6.0.0-rc.
|
|
23
|
-
"@webiny/api-core": "6.0.0-rc.
|
|
24
|
-
"@webiny/api-headless-cms": "6.0.0-rc.
|
|
25
|
-
"@webiny/build-tools": "6.0.0-rc.
|
|
22
|
+
"@webiny/api": "6.0.0-rc.3",
|
|
23
|
+
"@webiny/api-core": "6.0.0-rc.3",
|
|
24
|
+
"@webiny/api-headless-cms": "6.0.0-rc.3",
|
|
25
|
+
"@webiny/build-tools": "6.0.0-rc.3",
|
|
26
26
|
"@webiny/di": "0.2.3",
|
|
27
|
-
"@webiny/error": "6.0.0-rc.
|
|
28
|
-
"@webiny/feature": "6.0.0-rc.
|
|
29
|
-
"@webiny/handler": "6.0.0-rc.
|
|
30
|
-
"@webiny/handler-graphql": "6.0.0-rc.
|
|
31
|
-
"@webiny/plugins": "6.0.0-rc.
|
|
32
|
-
"@webiny/wcp": "6.0.0-rc.
|
|
27
|
+
"@webiny/error": "6.0.0-rc.3",
|
|
28
|
+
"@webiny/feature": "6.0.0-rc.3",
|
|
29
|
+
"@webiny/handler": "6.0.0-rc.3",
|
|
30
|
+
"@webiny/handler-graphql": "6.0.0-rc.3",
|
|
31
|
+
"@webiny/plugins": "6.0.0-rc.3",
|
|
32
|
+
"@webiny/wcp": "6.0.0-rc.3",
|
|
33
33
|
"cache-control-parser": "2.2.0",
|
|
34
34
|
"zod": "3.25.76"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/object-hash": "3.0.6",
|
|
38
|
-
"@webiny/handler-aws": "6.0.0-rc.
|
|
39
|
-
"@webiny/project-utils": "6.0.0-rc.
|
|
40
|
-
"@webiny/utils": "6.0.0-rc.
|
|
38
|
+
"@webiny/handler-aws": "6.0.0-rc.3",
|
|
39
|
+
"@webiny/project-utils": "6.0.0-rc.3",
|
|
40
|
+
"@webiny/utils": "6.0.0-rc.3",
|
|
41
41
|
"@webiny/wcp": "0.0.0",
|
|
42
42
|
"rimraf": "6.1.3",
|
|
43
43
|
"typescript": "5.9.3"
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
]
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "228fe25e1a17f248d566bce1c33d11c291955513"
|
|
63
63
|
}
|
package/permissions/schema.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import type { Permissions } from "@webiny/api-core/features/security/permissions/index.js";
|
|
2
2
|
declare const schema: {
|
|
3
3
|
readonly prefix: "fm";
|
|
4
|
-
readonly fullAccess:
|
|
5
|
-
readonly name: "fm.*";
|
|
6
|
-
};
|
|
4
|
+
readonly fullAccess: true;
|
|
7
5
|
readonly entities: readonly [{
|
|
8
6
|
readonly id: "file";
|
|
9
7
|
readonly permission: "fm.file";
|
|
@@ -21,9 +19,7 @@ type FmSchema = typeof schema;
|
|
|
21
19
|
export declare const FmPermissions: {
|
|
22
20
|
Abstraction: import("@webiny/di").Abstraction<import("@webiny/api-core/features/security/permissions/types").PermissionsTyped<{
|
|
23
21
|
readonly prefix: "fm";
|
|
24
|
-
readonly fullAccess:
|
|
25
|
-
readonly name: "fm.*";
|
|
26
|
-
};
|
|
22
|
+
readonly fullAccess: true;
|
|
27
23
|
readonly entities: readonly [{
|
|
28
24
|
readonly id: "file";
|
|
29
25
|
readonly permission: "fm.file";
|
|
@@ -39,9 +35,7 @@ export declare const FmPermissions: {
|
|
|
39
35
|
}>>;
|
|
40
36
|
Implementation: import("@webiny/di").Constructor<import("@webiny/api-core/features/security/permissions/types").PermissionsTyped<{
|
|
41
37
|
readonly prefix: "fm";
|
|
42
|
-
readonly fullAccess:
|
|
43
|
-
readonly name: "fm.*";
|
|
44
|
-
};
|
|
38
|
+
readonly fullAccess: true;
|
|
45
39
|
readonly entities: readonly [{
|
|
46
40
|
readonly id: "file";
|
|
47
41
|
readonly permission: "fm.file";
|
|
@@ -57,9 +51,7 @@ export declare const FmPermissions: {
|
|
|
57
51
|
}>> & {
|
|
58
52
|
__abstraction: import("@webiny/di").Abstraction<import("@webiny/api-core/features/security/permissions/types").PermissionsTyped<{
|
|
59
53
|
readonly prefix: "fm";
|
|
60
|
-
readonly fullAccess:
|
|
61
|
-
readonly name: "fm.*";
|
|
62
|
-
};
|
|
54
|
+
readonly fullAccess: true;
|
|
63
55
|
readonly entities: readonly [{
|
|
64
56
|
readonly id: "file";
|
|
65
57
|
readonly permission: "fm.file";
|
package/permissions/schema.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["createPermissions","schema","prefix","fullAccess","
|
|
1
|
+
{"version":3,"names":["createPermissions","schema","prefix","fullAccess","entities","id","permission","scopes","actions","name","FmPermissions"],"sources":["schema.ts"],"sourcesContent":["import { createPermissions } from \"@webiny/api-core/features/security/permissions/index.js\";\nimport type { Permissions } from \"@webiny/api-core/features/security/permissions/index.js\";\n\nconst schema = {\n prefix: \"fm\",\n fullAccess: true,\n entities: [\n {\n id: \"file\",\n permission: \"fm.file\",\n scopes: [\"full\", \"own\"],\n actions: [{ name: \"rwd\" }]\n },\n {\n id: \"settings\",\n permission: \"fm.settings\",\n scopes: [\"full\"]\n }\n ]\n} as const;\n\ntype FmSchema = typeof schema;\n\nexport const FmPermissions = createPermissions(schema);\n\nexport namespace FmPermissions {\n export type Interface = Permissions<FmSchema>;\n}\n"],"mappings":"AAAA,SAASA,iBAAiB,QAAQ,yDAAyD;AAG3F,MAAMC,MAAM,GAAG;EACXC,MAAM,EAAE,IAAI;EACZC,UAAU,EAAE,IAAI;EAChBC,QAAQ,EAAE,CACN;IACIC,EAAE,EAAE,MAAM;IACVC,UAAU,EAAE,SAAS;IACrBC,MAAM,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC;IACvBC,OAAO,EAAE,CAAC;MAAEC,IAAI,EAAE;IAAM,CAAC;EAC7B,CAAC,EACD;IACIJ,EAAE,EAAE,UAAU;IACdC,UAAU,EAAE,aAAa;IACzBC,MAAM,EAAE,CAAC,MAAM;EACnB,CAAC;AAET,CAAU;AAIV,OAAO,MAAMG,aAAa,GAAGV,iBAAiB,CAACC,MAAM,CAAC","ignoreList":[]}
|