@idp.global/interfaces 25.2.0 → 25.2.1
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/changelog.md +10 -0
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/dto/activity.d.ts +1 -1
- package/package.json +1 -1
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/dto/activity.ts +20 -0
package/changelog.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2026-07-18 - 25.2.1
|
|
4
|
+
|
|
5
|
+
### Fixes
|
|
6
|
+
|
|
7
|
+
- include administrator recovery events in activity DTO union (activity-dto)
|
|
8
|
+
- Add administrator recovery DTO variants using the administrator_recovery target and null facts.
|
|
9
|
+
- Add a type-level guard so every activity action remains represented in TActivityEventDto.
|
|
10
|
+
- update pnpm to 11.14.0 (package-manager)
|
|
11
|
+
- Updates the packageManager field from pnpm@11.11.0 to pnpm@11.14.0.
|
|
12
|
+
|
|
3
13
|
## 2026-07-18 - 25.2.0
|
|
4
14
|
|
|
5
15
|
### Features
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@idp.global/interfaces',
|
|
6
|
-
version: '25.2.
|
|
6
|
+
version: '25.2.1',
|
|
7
7
|
description: 'Shared TypeScript interfaces and TypedRequest contracts for the idp.global ecosystem.'
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLHVGQUF1RjtDQUNyRyxDQUFBIn0=
|
|
@@ -24,7 +24,7 @@ export type TActivityEventDto = TActivityEventFor<'login', 'account', {
|
|
|
24
24
|
roleChange: TActivityRoleChange;
|
|
25
25
|
}> | TActivityEventFor<'org_app_role_mappings_updated', 'organization_role_mapping', null> | TActivityEventFor<'profile_updated', 'profile', null> | TActivityEventFor<'totp_enabled', 'mfa_method', null> | TActivityEventFor<'totp_disabled', 'mfa_method', null> | TActivityEventFor<'backup_codes_regenerated', 'mfa_method', null> | TActivityEventFor<'mfa_completed', 'mfa_method', {
|
|
26
26
|
factor: TActivityMfaFactor;
|
|
27
|
-
}> | TActivityEventFor<'passkey_registered', 'passkey', null> | TActivityEventFor<'passkey_revoked', 'passkey', null> | TActivityEventFor<'passkey_login', 'passkey', null> | TActivityEventFor<'app_connected', 'application_connection', null> | TActivityEventFor<'app_disconnected', 'application_connection', null> | TActivityEventFor<'user_suspended', 'account', null> | TActivityEventFor<'user_unsuspended', 'account', null> | TActivityEventFor<'global_admin_granted', 'account', null> | TActivityEventFor<'global_admin_removed', 'account', null> | TActivityEventFor<'global_capabilities_changed', 'account', null> | TActivityEventFor<'break_glass_requested', 'break_glass_access', null> | TActivityEventFor<'break_glass_activated', 'break_glass_access', null> | TActivityEventFor<'break_glass_used', 'break_glass_access', null> | TActivityEventFor<'break_glass_reviewed', 'break_glass_access', null> | TActivityEventFor<'account_deletion_requested', 'account', null> | TActivityEventFor<'account_deletion_cancelled', 'account', null> | TActivityEventFor<'account_purged', 'account', null> | TActivityEventFor<'sso_connection_created', 'sso_connection', {
|
|
27
|
+
}> | TActivityEventFor<'passkey_registered', 'passkey', null> | TActivityEventFor<'passkey_revoked', 'passkey', null> | TActivityEventFor<'passkey_login', 'passkey', null> | TActivityEventFor<'app_connected', 'application_connection', null> | TActivityEventFor<'app_disconnected', 'application_connection', null> | TActivityEventFor<'user_suspended', 'account', null> | TActivityEventFor<'user_unsuspended', 'account', null> | TActivityEventFor<'global_admin_granted', 'account', null> | TActivityEventFor<'global_admin_removed', 'account', null> | TActivityEventFor<'global_capabilities_changed', 'account', null> | TActivityEventFor<'break_glass_requested', 'break_glass_access', null> | TActivityEventFor<'break_glass_activated', 'break_glass_access', null> | TActivityEventFor<'break_glass_used', 'break_glass_access', null> | TActivityEventFor<'break_glass_reviewed', 'break_glass_access', null> | TActivityEventFor<'administrator_recovery_requested', 'administrator_recovery', null> | TActivityEventFor<'administrator_recovery_activated', 'administrator_recovery', null> | TActivityEventFor<'administrator_recovery_completed', 'administrator_recovery', null> | TActivityEventFor<'account_deletion_requested', 'account', null> | TActivityEventFor<'account_deletion_cancelled', 'account', null> | TActivityEventFor<'account_purged', 'account', null> | TActivityEventFor<'sso_connection_created', 'sso_connection', {
|
|
28
28
|
protocol: 'saml';
|
|
29
29
|
}> | TActivityEventFor<'sso_connection_updated', 'sso_connection', {
|
|
30
30
|
protocol: 'saml';
|
package/package.json
CHANGED
package/ts/00_commitinfo_data.ts
CHANGED
package/ts/dto/activity.ts
CHANGED
|
@@ -82,6 +82,21 @@ export type TActivityEventDto =
|
|
|
82
82
|
| TActivityEventFor<'break_glass_activated', 'break_glass_access', null>
|
|
83
83
|
| TActivityEventFor<'break_glass_used', 'break_glass_access', null>
|
|
84
84
|
| TActivityEventFor<'break_glass_reviewed', 'break_glass_access', null>
|
|
85
|
+
| TActivityEventFor<
|
|
86
|
+
'administrator_recovery_requested',
|
|
87
|
+
'administrator_recovery',
|
|
88
|
+
null
|
|
89
|
+
>
|
|
90
|
+
| TActivityEventFor<
|
|
91
|
+
'administrator_recovery_activated',
|
|
92
|
+
'administrator_recovery',
|
|
93
|
+
null
|
|
94
|
+
>
|
|
95
|
+
| TActivityEventFor<
|
|
96
|
+
'administrator_recovery_completed',
|
|
97
|
+
'administrator_recovery',
|
|
98
|
+
null
|
|
99
|
+
>
|
|
85
100
|
| TActivityEventFor<'account_deletion_requested', 'account', null>
|
|
86
101
|
| TActivityEventFor<'account_deletion_cancelled', 'account', null>
|
|
87
102
|
| TActivityEventFor<'account_purged', 'account', null>
|
|
@@ -147,3 +162,8 @@ export type TActivityEventDto =
|
|
|
147
162
|
>
|
|
148
163
|
| TActivityEventFor<'org_suspended', 'organization', null>
|
|
149
164
|
| TActivityEventFor<'org_unsuspended', 'organization', null>;
|
|
165
|
+
|
|
166
|
+
type TAssertNoMissingActivityActions<TValue extends never> = TValue;
|
|
167
|
+
type TActivityEventDtoHasEveryAction = TAssertNoMissingActivityActions<
|
|
168
|
+
Exclude<TActivityAction, TActivityEventDto['action']>
|
|
169
|
+
>;
|