@farm.js/core 0.1.0-beta.4 → 0.1.0-beta.5

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.
Files changed (43) hide show
  1. package/dist/{chunk-AJWRO5WE.mjs → chunk-2NHCNRF6.mjs} +2 -2
  2. package/dist/{chunk-3U3ZUQAQ.mjs → chunk-7N62DNSO.mjs} +2 -2
  3. package/dist/{chunk-AOBXKNS5.mjs → chunk-A2LUXHD2.mjs} +2 -2
  4. package/dist/{chunk-W4UIVMVI.mjs → chunk-EEABSBKK.mjs} +2 -2
  5. package/dist/{chunk-W4UIVMVI.mjs.map → chunk-EEABSBKK.mjs.map} +1 -1
  6. package/dist/{chunk-SADGIRS2.mjs → chunk-J5YWQVI5.mjs} +2 -2
  7. package/dist/chunk-J5YWQVI5.mjs.map +1 -0
  8. package/dist/{chunk-VVKWFZAH.mjs → chunk-QTZZ2ISQ.mjs} +1 -1
  9. package/dist/{chunk-VVKWFZAH.mjs.map → chunk-QTZZ2ISQ.mjs.map} +1 -1
  10. package/dist/client.cjs +1 -1
  11. package/dist/client.cjs.map +1 -1
  12. package/dist/client.d.mts +1 -1
  13. package/dist/client.d.ts +1 -1
  14. package/dist/client.mjs +2 -2
  15. package/dist/index.cjs +2 -2
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.d.mts +4 -5
  18. package/dist/index.d.ts +4 -5
  19. package/dist/index.mjs +6 -6
  20. package/dist/internal/build-runtime.cjs +1 -1
  21. package/dist/internal/build-runtime.cjs.map +1 -1
  22. package/dist/internal/build-runtime.mjs +5 -5
  23. package/dist/navigation.cjs.map +1 -1
  24. package/dist/navigation.mjs +2 -2
  25. package/dist/plugin.cjs.map +1 -1
  26. package/dist/plugin.mjs +4 -4
  27. package/dist/server-query-client.cjs +1 -1
  28. package/dist/server-query-client.cjs.map +1 -1
  29. package/dist/server-query-client.mjs +1 -1
  30. package/dist/server.cjs +1 -1
  31. package/dist/server.cjs.map +1 -1
  32. package/dist/server.mjs +4 -4
  33. package/dist/version.cjs +1 -1
  34. package/dist/version.cjs.map +1 -1
  35. package/dist/version.mjs +1 -1
  36. package/dist/vite.cjs +1 -1
  37. package/dist/vite.cjs.map +1 -1
  38. package/dist/vite.mjs +4 -4
  39. package/package.json +1 -1
  40. package/dist/chunk-SADGIRS2.mjs.map +0 -1
  41. /package/dist/{chunk-AJWRO5WE.mjs.map → chunk-2NHCNRF6.mjs.map} +0 -0
  42. /package/dist/{chunk-3U3ZUQAQ.mjs.map → chunk-7N62DNSO.mjs.map} +0 -0
  43. /package/dist/{chunk-AOBXKNS5.mjs.map → chunk-A2LUXHD2.mjs.map} +0 -0
package/dist/index.d.mts CHANGED
@@ -4,8 +4,7 @@ export { f as fileExists, g as globFiles, l as logger, m as matchRoute, p as par
4
4
  export { createFarmStorage, createStorageClient, databaseStorage, defineStorageClient, disposeStorage, driverStorage, getStorage, initStorage, libsqlStorage, localStorage, memoryStorage, mongodbStorage, mysql2Storage, mysqlStorage, netlifyBlobsStorage, pgStorage, pgliteStorage, planetscaleStorage, postgresStorage, redisStorage, resolveStorageRuntimeClient, s3Storage, sqliteStorage, upstashStorage, vercelBlobStorage, vercelKVStorage } from './storage.mjs';
5
5
  export { F as FarmIntegrationAPI, e as FarmIntegrationAPIBodyFormat, f as FarmIntegrationAPIMethod, a as FarmIntegrationAPIOperation, g as FarmIntegrationAPIResponseFormat, h as FarmIntegrationRouteOperationCarrier, I as InferIntegrationAPIFromRoutes, b as api, d as defineIntegrationAPI, c as defineIntegrationAPIOperation, i as endpoint } from './integration-api-CHT2OKAf.mjs';
6
6
  export { c as createFarmApp } from './app-CakAr8Be.mjs';
7
- import * as react_jsx_runtime from 'react/jsx-runtime';
8
- import { ReactNode } from 'react';
7
+ import React__default, { ReactNode } from 'react';
9
8
  export { ComponentType, FC, PropsWithChildren, ReactElement, ReactNode } from 'react';
10
9
  export { g as getCurrentRequest } from './request-BrFBuc8G.mjs';
11
10
  import { ViteDevServer } from 'vite';
@@ -72,7 +71,7 @@ interface FarmProviderProps {
72
71
  /**
73
72
  * Farm.js context provider for client-side components
74
73
  */
75
- declare function FarmProvider({ children, config }: FarmProviderProps): react_jsx_runtime.JSX.Element;
74
+ declare function FarmProvider({ children, config }: FarmProviderProps): React__default.JSX.Element;
76
75
 
77
76
  declare class HMRManager {
78
77
  private server;
@@ -260,7 +259,7 @@ interface ScalarAPIDocumentationProps {
260
259
  hideTryItPanel?: boolean;
261
260
  };
262
261
  }
263
- declare function ScalarAPIDocumentation({ spec, config }: ScalarAPIDocumentationProps): react_jsx_runtime.JSX.Element;
262
+ declare function ScalarAPIDocumentation({ spec, config }: ScalarAPIDocumentationProps): React__default.JSX.Element;
264
263
  declare global {
265
264
  interface Window {
266
265
  ScalarApiReference: (config: any) => void;
@@ -271,7 +270,7 @@ interface DocsRouteProps {
271
270
  spec: any;
272
271
  config?: any;
273
272
  }
274
- declare function DocsRoute({ spec, config }: DocsRouteProps): react_jsx_runtime.JSX.Element;
273
+ declare function DocsRoute({ spec, config }: DocsRouteProps): React__default.JSX.Element;
275
274
 
276
275
  interface GenerateFarmI18nTypesOptions {
277
276
  root: string;
package/dist/index.d.ts CHANGED
@@ -4,8 +4,7 @@ export { f as fileExists, g as globFiles, l as logger, m as matchRoute, p as par
4
4
  export { createFarmStorage, createStorageClient, databaseStorage, defineStorageClient, disposeStorage, driverStorage, getStorage, initStorage, libsqlStorage, localStorage, memoryStorage, mongodbStorage, mysql2Storage, mysqlStorage, netlifyBlobsStorage, pgStorage, pgliteStorage, planetscaleStorage, postgresStorage, redisStorage, resolveStorageRuntimeClient, s3Storage, sqliteStorage, upstashStorage, vercelBlobStorage, vercelKVStorage } from './storage.js';
5
5
  export { F as FarmIntegrationAPI, e as FarmIntegrationAPIBodyFormat, f as FarmIntegrationAPIMethod, a as FarmIntegrationAPIOperation, g as FarmIntegrationAPIResponseFormat, h as FarmIntegrationRouteOperationCarrier, I as InferIntegrationAPIFromRoutes, b as api, d as defineIntegrationAPI, c as defineIntegrationAPIOperation, i as endpoint } from './integration-api-CHT2OKAf.js';
6
6
  export { c as createFarmApp } from './app-BjN-da13.js';
7
- import * as react_jsx_runtime from 'react/jsx-runtime';
8
- import { ReactNode } from 'react';
7
+ import React__default, { ReactNode } from 'react';
9
8
  export { ComponentType, FC, PropsWithChildren, ReactElement, ReactNode } from 'react';
10
9
  export { g as getCurrentRequest } from './request-BslSZIRz.js';
11
10
  import { ViteDevServer } from 'vite';
@@ -72,7 +71,7 @@ interface FarmProviderProps {
72
71
  /**
73
72
  * Farm.js context provider for client-side components
74
73
  */
75
- declare function FarmProvider({ children, config }: FarmProviderProps): react_jsx_runtime.JSX.Element;
74
+ declare function FarmProvider({ children, config }: FarmProviderProps): React__default.JSX.Element;
76
75
 
77
76
  declare class HMRManager {
78
77
  private server;
@@ -260,7 +259,7 @@ interface ScalarAPIDocumentationProps {
260
259
  hideTryItPanel?: boolean;
261
260
  };
262
261
  }
263
- declare function ScalarAPIDocumentation({ spec, config }: ScalarAPIDocumentationProps): react_jsx_runtime.JSX.Element;
262
+ declare function ScalarAPIDocumentation({ spec, config }: ScalarAPIDocumentationProps): React__default.JSX.Element;
264
263
  declare global {
265
264
  interface Window {
266
265
  ScalarApiReference: (config: any) => void;
@@ -271,7 +270,7 @@ interface DocsRouteProps {
271
270
  spec: any;
272
271
  config?: any;
273
272
  }
274
- declare function DocsRoute({ spec, config }: DocsRouteProps): react_jsx_runtime.JSX.Element;
273
+ declare function DocsRoute({ spec, config }: DocsRouteProps): React__default.JSX.Element;
275
274
 
276
275
  interface GenerateFarmI18nTypesOptions {
277
276
  root: string;
package/dist/index.mjs CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-VCANOYFI.mjs";
10
10
  import {
11
11
  build
12
- } from "./chunk-AJWRO5WE.mjs";
12
+ } from "./chunk-2NHCNRF6.mjs";
13
13
  import "./chunk-SL6HTIOK.mjs";
14
14
  import "./chunk-4S3ORGFA.mjs";
15
15
  import {
@@ -108,7 +108,7 @@ import {
108
108
  fetchServerQuery,
109
109
  prefetchServerQuery,
110
110
  useServerQuery
111
- } from "./chunk-SADGIRS2.mjs";
111
+ } from "./chunk-J5YWQVI5.mjs";
112
112
  import {
113
113
  APIClientError,
114
114
  FARM_API_ROUTE_META_SYMBOL,
@@ -148,7 +148,7 @@ import {
148
148
  parseRouteRenderingDirective,
149
149
  resolveRouteRenderingConfig,
150
150
  resolveRouteRenderingConfigFromFile
151
- } from "./chunk-AOBXKNS5.mjs";
151
+ } from "./chunk-A2LUXHD2.mjs";
152
152
  import {
153
153
  APITypeGenerator
154
154
  } from "./chunk-LGHEOHBU.mjs";
@@ -162,7 +162,7 @@ import "./chunk-USWZZUEH.mjs";
162
162
  import {
163
163
  usePathname,
164
164
  useSearchParams
165
- } from "./chunk-3U3ZUQAQ.mjs";
165
+ } from "./chunk-7N62DNSO.mjs";
166
166
  import {
167
167
  getFarmRedirectError,
168
168
  isFarmNotFoundError,
@@ -381,7 +381,7 @@ import {
381
381
  getCurrentRequest
382
382
  } from "./chunk-RHIFZZUI.mjs";
383
383
  import "./chunk-LM2YNO4U.mjs";
384
- import "./chunk-W4UIVMVI.mjs";
384
+ import "./chunk-EEABSBKK.mjs";
385
385
  import {
386
386
  SPARouter,
387
387
  getRouter,
@@ -395,7 +395,7 @@ import {
395
395
  usePageState,
396
396
  useRouter,
397
397
  useScrollRestoration
398
- } from "./chunk-VVKWFZAH.mjs";
398
+ } from "./chunk-QTZZ2ISQ.mjs";
399
399
  import "./chunk-ITN462YM.mjs";
400
400
  import {
401
401
  FARM_DEPLOYMENT_COOKIE,
@@ -14921,7 +14921,7 @@ var init_type_artifacts = __esm({
14921
14921
  var version;
14922
14922
  var init_package = __esm({
14923
14923
  "package.json"() {
14924
- version = "0.1.0-beta.4";
14924
+ version = "0.1.0-beta.5";
14925
14925
  }
14926
14926
  });
14927
14927