@iii-dev/helpers 0.22.1-alpha.13 → 0.22.1-alpha.17
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.
|
@@ -21,8 +21,9 @@ type AuthResult = {
|
|
|
21
21
|
* `match("svc::*")` spelling.
|
|
22
22
|
*
|
|
23
23
|
* The keys are also the namespaces the session may declare on
|
|
24
|
-
* `engine::workers::register`. Omit
|
|
25
|
-
* namespace, and only
|
|
24
|
+
* `engine::workers::register`. Omit this map to add no namespace-scoped
|
|
25
|
+
* grants: the session may declare any namespace, and only
|
|
26
|
+
* `allowed_functions` and `expose_functions` apply.
|
|
26
27
|
*/
|
|
27
28
|
namespaces?: Record<string, string[]>; /** Additional function IDs to allow beyond the `expose_functions` config, in the `default` namespace only. Put per-namespace grants in `namespaces`. Defaults to `[]` if omitted. */
|
|
28
29
|
allowed_functions?: string[]; /** Function IDs to deny even if they match `expose_functions`. Takes precedence over allowed. Defaults to `[]` if omitted. */
|
|
@@ -21,8 +21,9 @@ type AuthResult = {
|
|
|
21
21
|
* `match("svc::*")` spelling.
|
|
22
22
|
*
|
|
23
23
|
* The keys are also the namespaces the session may declare on
|
|
24
|
-
* `engine::workers::register`. Omit
|
|
25
|
-
* namespace, and only
|
|
24
|
+
* `engine::workers::register`. Omit this map to add no namespace-scoped
|
|
25
|
+
* grants: the session may declare any namespace, and only
|
|
26
|
+
* `allowed_functions` and `expose_functions` apply.
|
|
26
27
|
*/
|
|
27
28
|
namespaces?: Record<string, string[]>; /** Additional function IDs to allow beyond the `expose_functions` config, in the `default` namespace only. Put per-namespace grants in `namespaces`. Defaults to `[]` if omitted. */
|
|
28
29
|
allowed_functions?: string[]; /** Function IDs to deny even if they match `expose_functions`. Takes precedence over allowed. Defaults to `[]` if omitted. */
|