@baasix/types 1.0.2 → 1.0.3

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/index.d.mts CHANGED
@@ -152,6 +152,10 @@ interface LoginCredentials {
152
152
  email: string;
153
153
  password: string;
154
154
  tenantId?: string;
155
+ /** Authentication mode: 'jwt' for token-based or 'cookie' for cookie-based auth */
156
+ authMode?: "jwt" | "cookie";
157
+ /** Authentication type for session management (e.g., 'web', 'mobile', 'default') */
158
+ authType?: string;
155
159
  }
156
160
  /**
157
161
  * Registration data
package/dist/index.d.ts CHANGED
@@ -152,6 +152,10 @@ interface LoginCredentials {
152
152
  email: string;
153
153
  password: string;
154
154
  tenantId?: string;
155
+ /** Authentication mode: 'jwt' for token-based or 'cookie' for cookie-based auth */
156
+ authMode?: "jwt" | "cookie";
157
+ /** Authentication type for session management (e.g., 'web', 'mobile', 'default') */
158
+ authType?: string;
155
159
  }
156
160
  /**
157
161
  * Registration data
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baasix/types",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Shared TypeScript types for Baasix packages",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
package/src/auth.ts CHANGED
@@ -179,6 +179,10 @@ export interface LoginCredentials {
179
179
  email: string;
180
180
  password: string;
181
181
  tenantId?: string;
182
+ /** Authentication mode: 'jwt' for token-based or 'cookie' for cookie-based auth */
183
+ authMode?: "jwt" | "cookie";
184
+ /** Authentication type for session management (e.g., 'web', 'mobile', 'default') */
185
+ authType?: string;
182
186
  }
183
187
 
184
188
  /**