We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8164953 commit 5770997Copy full SHA for 5770997
src/types/ProfilePolicy.ts
@@ -24,17 +24,19 @@ export type ProfilePolicy = {
24
/**
25
* Optional array of restrictions on which the rights are gonne be applied
26
*/
27
- restrictedTo?: {
28
- /**
29
- * Index name.
30
- * Rights will only be applied on this index.
31
- */
32
- index: string;
+ restrictedTo?: [
+ {
+ /**
+ * Index name.
+ * Rights will only be applied on this index.
+ */
33
+ index: string;
34
35
- * Collection names.
36
- * Rights will only be applied on those collections.
37
38
- collections?: Array<string>;
39
- };
+ * Collection names.
+ * Rights will only be applied on those collections.
+ collections?: Array<string>;
40
+ }
41
+ ];
42
};
0 commit comments