@anzusystems/common-admin 1.47.0-beta.dev-1790102667 → 1.47.0-beta.dev-1790143991

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/labs.d.ts CHANGED
@@ -1005,8 +1005,16 @@ declare type __VLS_Props_18 = {
1005
1005
  declare type __VLS_Props_19 = {
1006
1006
  client: AxiosClientFn;
1007
1007
  system: string;
1008
- entity?: string | undefined;
1009
- endPoint?: string | undefined;
1008
+ /**
1009
+ * Where the grants editor reads the permission config -- `GET /adm/v1/permissions/config` when
1010
+ * left out, which every backend has.
1011
+ *
1012
+ * Named for what it is, and deliberately not `endPoint`: a page holding the permission-group
1013
+ * endpoint passed it here as `endPoint`, the editor fetched the group list as its config and
1014
+ * crashed -- and, the config store being keyed by system, left that system's user pages broken
1015
+ * until reload. A stray `end-point` now falls through as an attribute and changes nothing.
1016
+ */
1017
+ permissionConfigEndPoint?: string | undefined;
1010
1018
  };
1011
1019
 
1012
1020
  declare type __VLS_Props_2 = {
@@ -1017,8 +1025,16 @@ declare type __VLS_Props_20 = {
1017
1025
  client: AxiosClientFn;
1018
1026
  /** Backend identity for the permission config fetch, not the i18n namespace below. */
1019
1027
  system: string;
1020
- entity?: string | undefined;
1021
- endPoint?: string | undefined;
1028
+ /**
1029
+ * Where the grants editor reads the permission config -- `GET /adm/v1/permissions/config` when
1030
+ * left out, which every backend has.
1031
+ *
1032
+ * Named for what it is, and deliberately not `endPoint`: a page holding the permission-group
1033
+ * endpoint passed it here as `endPoint`, the editor fetched the group list as its config and
1034
+ * crashed -- and, the config store being keyed by system, left that system's user pages broken
1035
+ * until reload. A stray `end-point` now falls through as an attribute and changes nothing.
1036
+ */
1037
+ permissionConfigEndPoint?: string | undefined;
1022
1038
  };
1023
1039
 
1024
1040
  declare type __VLS_Props_21 = {
@@ -5147,10 +5163,10 @@ export declare interface UserMetadataValidationOptions {
5147
5163
  * e-mail; `true` also requires first name, last name, full name, avatar text and avatar colour.
5148
5164
  * It applies the same way to creating and to editing -- within a system it is one rule.
5149
5165
  */
5150
- required: boolean;
5166
+ required: MaybeRefOrGetter<boolean>;
5151
5167
  /** Whether the id is a field at all. When it is, and this is a create, it is required. */
5152
- idInput: boolean;
5153
- isEdit: boolean;
5168
+ idInput: MaybeRefOrGetter<boolean>;
5169
+ isEdit: MaybeRefOrGetter<boolean>;
5154
5170
  /** Scope key, so an owning form can validate its own fields alongside the app's system fields. */
5155
5171
  scope?: string | symbol | false;
5156
5172
  }