identity-admin 1.7.0 → 1.9.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.
- package/lib/types/IResourceFile.d.ts +30 -0
- package/package.json +1 -1
|
@@ -72,18 +72,48 @@ interface ICrudOperations {
|
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
74
|
export interface ActionData {
|
|
75
|
+
/**
|
|
76
|
+
* Record document
|
|
77
|
+
*/
|
|
75
78
|
record: any;
|
|
79
|
+
/**
|
|
80
|
+
* Current user data
|
|
81
|
+
*/
|
|
76
82
|
currentUser: Document;
|
|
83
|
+
/**
|
|
84
|
+
* Resource data to which this record belongs
|
|
85
|
+
*/
|
|
77
86
|
resource: {
|
|
87
|
+
/**
|
|
88
|
+
* Model name of this table.
|
|
89
|
+
*/
|
|
78
90
|
name: string;
|
|
91
|
+
/**
|
|
92
|
+
* Path of the resource to which you can redirect.
|
|
93
|
+
*/
|
|
79
94
|
path: string;
|
|
95
|
+
/**
|
|
96
|
+
* Repository of this resource.
|
|
97
|
+
*/
|
|
80
98
|
repository: any;
|
|
81
99
|
};
|
|
82
100
|
}
|
|
83
101
|
interface IFilters {
|
|
102
|
+
/**
|
|
103
|
+
* Scope filter props. If used you should override the scope filter function in the controller of this resource. This filter is not accessible by default
|
|
104
|
+
*/
|
|
84
105
|
scopes?: {
|
|
106
|
+
/**
|
|
107
|
+
* Specify if this filter is accessible or not
|
|
108
|
+
*/
|
|
85
109
|
isAccessible: boolean;
|
|
110
|
+
/**
|
|
111
|
+
* Automatic scope that filters by the specified key with one of the given options
|
|
112
|
+
*/
|
|
86
113
|
auto?: IAutoScope;
|
|
114
|
+
/**
|
|
115
|
+
* Manual scope by using a handler
|
|
116
|
+
*/
|
|
87
117
|
manual?: IManualScope;
|
|
88
118
|
};
|
|
89
119
|
searchBar?: {
|