better-call 1.1.0-beta.1 → 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/client.cjs.map +1 -1
- package/dist/client.d.cts +5 -1
- package/dist/client.d.ts +5 -1
- package/dist/client.js.map +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js.map +1 -1
- package/dist/node.d.cts +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/{router-DguGh6Qa.d.cts → router-DgnLO11b.d.ts} +6 -1
- package/dist/{router-EvGJRGFD.d.ts → router-DxkLDx_d.d.cts} +6 -1
- package/package.json +1 -1
package/dist/node.d.cts
CHANGED
package/dist/node.d.ts
CHANGED
|
@@ -934,6 +934,11 @@ interface EndpointBaseOptions {
|
|
|
934
934
|
* @deprecated Use path-less endpoints instead
|
|
935
935
|
*/
|
|
936
936
|
SERVER_ONLY?: boolean;
|
|
937
|
+
/**
|
|
938
|
+
* If enabled, endpoint won't be exposed as an action to the client
|
|
939
|
+
* @deprecated Use path-less endpoints instead
|
|
940
|
+
*/
|
|
941
|
+
isAction?: boolean;
|
|
937
942
|
/**
|
|
938
943
|
* Defines the places where the endpoint will be available
|
|
939
944
|
*
|
|
@@ -1305,4 +1310,4 @@ declare const createRouter: <E extends Record<string, Endpoint>, Config extends
|
|
|
1305
1310
|
type Router = ReturnType<typeof createRouter>;
|
|
1306
1311
|
//#endregion
|
|
1307
1312
|
export { APIError, BetterCallError, CookieOptions, CookiePrefixOptions, Endpoint, EndpointBaseOptions, EndpointBodyMethodOptions, EndpointContext, EndpointOptions, HTTPMethod, HasRequiredKeys, InferBody, InferBodyInput, InferHeaders, InferHeadersInput, InferInputMethod, InferMethod, InferMiddlewareBody, InferMiddlewareQuery, InferParam, InferParamInput, InferParamPath, InferParamWildCard, InferQuery, InferQueryInput, InferRequest, InferRequestInput, InferUse, InputContext, IsEmptyObject, MergeObject, Method, Middleware, MiddlewareContext, MiddlewareInputContext, MiddlewareOptions, MiddlewareResponse, OpenAPIParameter, OpenAPISchemaType, Path$1 as Path, Prettify, RequiredKeysOf, Router, RouterConfig, StandardSchemaV1, Status, StrictEndpoint, UnionToIntersection, createEndpoint, createInternalContext, createMiddleware, createRouter, generator, getCookieKey, getHTML, hideInternalStackFrames, makeErrorForHideStackFrame, parseCookies, serializeCookie, serializeSignedCookie, statusCodes };
|
|
1308
|
-
//# sourceMappingURL=router-
|
|
1313
|
+
//# sourceMappingURL=router-DgnLO11b.d.ts.map
|
|
@@ -934,6 +934,11 @@ interface EndpointBaseOptions {
|
|
|
934
934
|
* @deprecated Use path-less endpoints instead
|
|
935
935
|
*/
|
|
936
936
|
SERVER_ONLY?: boolean;
|
|
937
|
+
/**
|
|
938
|
+
* If enabled, endpoint won't be exposed as an action to the client
|
|
939
|
+
* @deprecated Use path-less endpoints instead
|
|
940
|
+
*/
|
|
941
|
+
isAction?: boolean;
|
|
937
942
|
/**
|
|
938
943
|
* Defines the places where the endpoint will be available
|
|
939
944
|
*
|
|
@@ -1305,4 +1310,4 @@ declare const createRouter: <E extends Record<string, Endpoint>, Config extends
|
|
|
1305
1310
|
type Router = ReturnType<typeof createRouter>;
|
|
1306
1311
|
//#endregion
|
|
1307
1312
|
export { APIError, BetterCallError, CookieOptions, CookiePrefixOptions, Endpoint, EndpointBaseOptions, EndpointBodyMethodOptions, EndpointContext, EndpointOptions, HTTPMethod, HasRequiredKeys, InferBody, InferBodyInput, InferHeaders, InferHeadersInput, InferInputMethod, InferMethod, InferMiddlewareBody, InferMiddlewareQuery, InferParam, InferParamInput, InferParamPath, InferParamWildCard, InferQuery, InferQueryInput, InferRequest, InferRequestInput, InferUse, InputContext, IsEmptyObject, MergeObject, Method, Middleware, MiddlewareContext, MiddlewareInputContext, MiddlewareOptions, MiddlewareResponse, OpenAPIParameter, OpenAPISchemaType, Path$1 as Path, Prettify, RequiredKeysOf, Router, RouterConfig, StandardSchemaV1, Status, StrictEndpoint, UnionToIntersection, createEndpoint, createInternalContext, createMiddleware, createRouter, generator, getCookieKey, getHTML, hideInternalStackFrames, makeErrorForHideStackFrame, parseCookies, serializeCookie, serializeSignedCookie, statusCodes };
|
|
1308
|
-
//# sourceMappingURL=router-
|
|
1313
|
+
//# sourceMappingURL=router-DxkLDx_d.d.cts.map
|