@idp.global/interfaces 6.0.0 → 7.0.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/changelog.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 2026-06-24 - 7.0.0
4
+
5
+ ### Breaking Changes
6
+
7
+ - rename lole reception tag to backend service (tags)
8
+ - Renames ITag_LolePubapi to ITag_BackendService and changes the tag name from lole-reception to backend-service.
9
+ - Documents the dto namespace in package readmes.
10
+
3
11
  ## 2026-06-23 - 6.0.0
4
12
 
5
13
  ### Breaking Changes
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@idp.global/interfaces',
6
- version: '6.0.0',
6
+ version: '7.0.0',
7
7
  description: 'Shared TypeScript interfaces and TypedRequest contracts for the idp.global ecosystem.'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLE9BQU87SUFDaEIsV0FBVyxFQUFFLHVGQUF1RjtDQUNyRyxDQUFBIn0=
@@ -1,6 +1,6 @@
1
1
  import * as plugins from '../plugins.js';
2
- export interface ITag_LolePubapi extends plugins.typedRequestInterfaces.implementsTag<plugins.typedRequestInterfaces.ITag, ITag_LolePubapi> {
3
- name: 'lole-reception';
2
+ export interface ITag_BackendService extends plugins.typedRequestInterfaces.implementsTag<plugins.typedRequestInterfaces.ITag, ITag_BackendService> {
3
+ name: 'backend-service';
4
4
  payload: {
5
5
  backendToken: string;
6
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idp.global/interfaces",
3
- "version": "6.0.0",
3
+ "version": "7.0.0",
4
4
  "private": false,
5
5
  "description": "Shared TypeScript interfaces and TypedRequest contracts for the idp.global ecosystem.",
6
6
  "exports": {
package/readme.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Shared TypeScript interfaces and TypedRequest contracts for the idp.global ecosystem.
4
4
 
5
- This package contains only public data shapes, typed RPC request definitions, and shared tags used by the idp.global backend, browser client, CLI, web UI, and external integrations.
5
+ This package contains only public data shapes, DTOs, typed RPC request definitions, and shared tags used by the idp.global backend, browser client, CLI, web UI, and external integrations.
6
6
 
7
7
  ## Issue Reporting and Security
8
8
 
@@ -17,14 +17,15 @@ pnpm add @idp.global/interfaces
17
17
  ## Public API
18
18
 
19
19
  ```ts
20
- import { data, request, tags } from '@idp.global/interfaces';
20
+ import { data, dto, request, tags } from '@idp.global/interfaces';
21
21
  ```
22
22
 
23
- The root export exposes three namespaces:
23
+ The root export exposes four namespaces:
24
24
 
25
25
  ```ts
26
26
  export {
27
27
  data,
28
+ dto,
28
29
  request,
29
30
  tags,
30
31
  };
@@ -67,6 +68,10 @@ const payload: LoginRequest['request'] = {
67
68
 
68
69
  Request groups cover login, registration, JWT refresh, user/session queries, organization membership, invitations, apps, billing, admin actions, alerts, passport device flows, password reset, device IDs, and OIDC authorization.
69
70
 
71
+ ## DTO Contracts
72
+
73
+ Use `dto` for normalized transfer objects grouped by activity, alerts, apps, billing, invitations, MFA, organizations, passport, and users.
74
+
70
75
  ## Scope
71
76
 
72
77
  This package is intentionally contract-only. It does not open sockets, store auth state, talk to MongoDB, send email, or implement authentication logic.
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@idp.global/interfaces',
6
- version: '6.0.0',
6
+ version: '7.0.0',
7
7
  description: 'Shared TypeScript interfaces and TypedRequest contracts for the idp.global ecosystem.'
8
8
  }
package/ts/readme.md CHANGED
@@ -17,7 +17,7 @@ pnpm add @idp.global/interfaces
17
17
  ## Quick Start
18
18
 
19
19
  ```ts
20
- import { data, request, tags } from '@idp.global/interfaces';
20
+ import { data, dto, request, tags } from '@idp.global/interfaces';
21
21
 
22
22
  const loginRequest: request.IReq_LoginWithEmailOrUsernameAndPassword['request'] = {
23
23
  username: 'user@example.com',
@@ -70,6 +70,10 @@ The `request` export includes typed request contracts for:
70
70
  - alert and passport approval flows
71
71
  - OIDC authorization preparation and completion
72
72
 
73
+ ### `dto`
74
+
75
+ The `dto` export includes normalized transfer objects for activity, alerts, apps, billing, invitations, MFA, organizations, passport, and users.
76
+
73
77
  ### `tags`
74
78
 
75
79
  Shared tag exports live under `tags/`.
@@ -79,6 +83,7 @@ Shared tag exports live under `tags/`.
79
83
  | Path | Purpose |
80
84
  | --- | --- |
81
85
  | `data/index.ts` | Re-exports all shared data interfaces |
86
+ | `dto/index.ts` | Re-exports normalized transfer object interfaces |
82
87
  | `request/index.ts` | Re-exports all typed request contracts |
83
88
  | `tags/index.ts` | Re-exports shared tags |
84
89
 
package/ts/tags/index.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import * as plugins from '../plugins.js';
2
2
 
3
- export interface ITag_LolePubapi
3
+ export interface ITag_BackendService
4
4
  extends plugins.typedRequestInterfaces.implementsTag<
5
5
  plugins.typedRequestInterfaces.ITag,
6
- ITag_LolePubapi
6
+ ITag_BackendService
7
7
  > {
8
- name: 'lole-reception';
8
+ name: 'backend-service';
9
9
  payload: {
10
10
  backendToken: string;
11
11
  };