@baasix/types 1.0.13 → 1.1.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/dist/index.d.mts +5 -0
- package/dist/index.d.ts +5 -0
- package/package.json +1 -1
- package/src/auth.ts +1 -0
- package/src/query.ts +5 -0
package/dist/index.d.mts
CHANGED
|
@@ -218,6 +218,7 @@ interface MagicLinkOptions {
|
|
|
218
218
|
interface PasswordResetOptions {
|
|
219
219
|
email: string;
|
|
220
220
|
redirectUrl?: string;
|
|
221
|
+
mode?: "link" | "code";
|
|
221
222
|
}
|
|
222
223
|
/**
|
|
223
224
|
* Authentication mode for the SDK/app
|
|
@@ -738,6 +739,10 @@ interface QueryParams<T = unknown> {
|
|
|
738
739
|
* Fields to search in
|
|
739
740
|
*/
|
|
740
741
|
searchFields?: string[];
|
|
742
|
+
/**
|
|
743
|
+
* Fields to leave out of the search (applies to searchFields or the default set)
|
|
744
|
+
*/
|
|
745
|
+
excludeSearchFields?: string[];
|
|
741
746
|
/**
|
|
742
747
|
* Sort results by search relevance
|
|
743
748
|
* @default false
|
package/dist/index.d.ts
CHANGED
|
@@ -218,6 +218,7 @@ interface MagicLinkOptions {
|
|
|
218
218
|
interface PasswordResetOptions {
|
|
219
219
|
email: string;
|
|
220
220
|
redirectUrl?: string;
|
|
221
|
+
mode?: "link" | "code";
|
|
221
222
|
}
|
|
222
223
|
/**
|
|
223
224
|
* Authentication mode for the SDK/app
|
|
@@ -738,6 +739,10 @@ interface QueryParams<T = unknown> {
|
|
|
738
739
|
* Fields to search in
|
|
739
740
|
*/
|
|
740
741
|
searchFields?: string[];
|
|
742
|
+
/**
|
|
743
|
+
* Fields to leave out of the search (applies to searchFields or the default set)
|
|
744
|
+
*/
|
|
745
|
+
excludeSearchFields?: string[];
|
|
741
746
|
/**
|
|
742
747
|
* Sort results by search relevance
|
|
743
748
|
* @default false
|
package/package.json
CHANGED
package/src/auth.ts
CHANGED
package/src/query.ts
CHANGED
|
@@ -326,6 +326,11 @@ export interface QueryParams<T = unknown> {
|
|
|
326
326
|
*/
|
|
327
327
|
searchFields?: string[];
|
|
328
328
|
|
|
329
|
+
/**
|
|
330
|
+
* Fields to leave out of the search (applies to searchFields or the default set)
|
|
331
|
+
*/
|
|
332
|
+
excludeSearchFields?: string[];
|
|
333
|
+
|
|
329
334
|
/**
|
|
330
335
|
* Sort results by search relevance
|
|
331
336
|
* @default false
|