@softr/sdk 1.4.0-se22529.0 → 1.4.0-se22529.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/dist/auth/isomorphic.d.ts +4 -4
- package/dist/mcp.d.ts +2 -2
- package/dist/package.js +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import { Formatting } from "../formatting.js";
|
|
|
3
3
|
import { SoftrContext } from "./context.js";
|
|
4
4
|
import * as react0 from "react";
|
|
5
5
|
import { ReactNode } from "react";
|
|
6
|
-
import * as
|
|
6
|
+
import * as _tanstack_react_start0 from "@tanstack/react-start";
|
|
7
7
|
|
|
8
8
|
//#region src/auth/isomorphic.d.ts
|
|
9
9
|
|
|
@@ -21,7 +21,7 @@ import * as _tanstack_react_start1 from "@tanstack/react-start";
|
|
|
21
21
|
* requestMiddleware: [softrAuthMiddleware()],
|
|
22
22
|
* }))
|
|
23
23
|
*/
|
|
24
|
-
declare function softrAuthMiddleware():
|
|
24
|
+
declare function softrAuthMiddleware(): _tanstack_react_start0.RequestMiddlewareAfterServer<{}, readonly [_tanstack_react_start0.RequestMiddlewareAfterServer<{}, undefined, undefined>, _tanstack_react_start0.RequestMiddlewareAfterServer<{}, undefined, undefined>, _tanstack_react_start0.RequestMiddlewareAfterServer<{}, undefined, undefined>, _tanstack_react_start0.RequestMiddlewareAfterServer<{}, undefined, undefined>, _tanstack_react_start0.RequestMiddlewareAfterServer<{}, undefined, undefined>, _tanstack_react_start0.RequestMiddlewareAfterServer<{}, undefined, undefined>, _tanstack_react_start0.RequestMiddlewareAfterServer<{}, undefined, undefined>], {
|
|
25
25
|
user: User | null;
|
|
26
26
|
permissions: {
|
|
27
27
|
datasources: {};
|
|
@@ -37,7 +37,7 @@ declare function softrAuthMiddleware(): _tanstack_react_start1.RequestMiddleware
|
|
|
37
37
|
* beforeLoad: async () => await getSoftrContext(),
|
|
38
38
|
* })
|
|
39
39
|
*/
|
|
40
|
-
declare const getSoftrContext:
|
|
40
|
+
declare const getSoftrContext: _tanstack_react_start0.OptionalFetcher<undefined, undefined, Promise<SoftrContext>>;
|
|
41
41
|
/**
|
|
42
42
|
* The context to hand `createRouter`, before any request has resolved one.
|
|
43
43
|
*
|
|
@@ -92,7 +92,7 @@ type AuthOptions = {
|
|
|
92
92
|
* staleTime: 60_000,
|
|
93
93
|
* })
|
|
94
94
|
*/
|
|
95
|
-
declare const getAuthSettings:
|
|
95
|
+
declare const getAuthSettings: _tanstack_react_start0.OptionalFetcher<undefined, undefined, Promise<AuthOptions>>;
|
|
96
96
|
/**
|
|
97
97
|
* Makes the auth options readable with {@link useAuthSettings} anywhere below.
|
|
98
98
|
*
|
package/dist/mcp.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DatasourceAction } from "./action.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _tanstack_react_start10 from "@tanstack/react-start";
|
|
3
3
|
|
|
4
4
|
//#region src/mcp.d.ts
|
|
5
5
|
|
|
@@ -31,6 +31,6 @@ type SoftrMcpOptions = {
|
|
|
31
31
|
* ],
|
|
32
32
|
* }))
|
|
33
33
|
*/
|
|
34
|
-
declare function softrMcpMiddleware(options?: SoftrMcpOptions):
|
|
34
|
+
declare function softrMcpMiddleware(options?: SoftrMcpOptions): _tanstack_react_start10.RequestMiddlewareAfterServer<{}, undefined, undefined>;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { softrMcpMiddleware };
|
package/dist/package.js
CHANGED